Making notes on the simple video player for the summer primary school class of senior Xuelei
Because the direction of the paper is divided (yes, it is divided, not chosen by oneself, there are many reasons. Postgraduate students, at the very beginning, in December, the reply was done in content development. Although it was very hopeless, it still needs to be done a little bit. The direction of ...
Posted by Cinds on Wed, 23 Oct 2019 09:45:03 -0700
Optimization method of command code processing based on function matrix
switch optimization method based on function matrix
Definition of command code
Advantage
expectation
proposal
Definition of command code
During the development of c language, the following situations are often encountered (such as command code mechanism of modem bus protocol):
#define PFUN_REQ_C ...
Posted by bsfischer on Mon, 21 Oct 2019 15:17:05 -0700
Comparison of traversal performance between ArrayList and LinkedList
An example is used to test the traversal performance of ArrayList and LinkedList.
Structural differences:
There are two kinds of lists commonly used by us, ArrayList and LinkedList. Although both are list, the performance of different traversal methods varies greatly due to different internal storage structures.
Characteristics of Lis t storage ...
Posted by tress on Thu, 17 Oct 2019 07:12:41 -0700
Porting kfifo based on Linux to STM32 (supporting mutually exclusive access of os)
Porting kfifo based on Linux to STM32 (supporting mutually exclusive access of os)
About kfifo
Kfifo is a First In First Out data structure in the kernel, which uses the data structure of circular queue to realize; it provides a boundless byte stream service, and the most important point is that it uses the parallel lock free programming techno ...
Posted by regiemon on Wed, 16 Oct 2019 09:58:49 -0700
Learn FreeRTOS - (Create Tasks) - 2 from 0
supplement
Before we begin today's content, let's add the last article. From Single Chip Microcomputer to Operating System-1 A little missing knowledge.
BaseType_t xTaskCreate( TaskFunction_t pvTaskCode,
const char * const pcName,
uint16_t usStackDepth,
...
Posted by avvllvva on Mon, 14 Oct 2019 23:22:31 -0700
NAT Unique Quintuple Selection
When using iptable for nat settings, you can use the following extension options:
# SNAT Source Address Translation, Used in POSTROUTING, INPUT Chain
--to-source [<ipaddr>[-<ipaddr>]][:port[-port]]
--random # Mapping to random port number,
--random-fully # Mapping to Random Port Number (PRNG Completely Randomized)
--persiste ...
Posted by jmosterb on Wed, 09 Oct 2019 12:37:41 -0700
Introduction to C Language - String
Still continue to study and encourage yourself every day.
Character array
char word[] = {'H','e','l','l','o'};
This is not a string in c language. It can't be computed in the way of a string.
I. Strings
char word[] = {'H','e','l','l','o','\0'};
The difference is that there is an extra zero at the end, which becomes a string.
A string of charac ...
Posted by superhaggis on Mon, 07 Oct 2019 00:59:07 -0700
Data Structure Algorithms Learning-Sorting-Quick Sorting
sort
Re-adjust the order of a set of ordered elements by size (as long as the definition returns true or false comparisons, not necessarily numerical comparisons).
Quick sort
Quick sorting is similar to merge sorting, but merge sorting is to sort and merge elements in array length (1,2...n/4,n/2,n) sequentially, first sorting in a small range ( ...
Posted by The Wise One on Sun, 06 Oct 2019 08:00:06 -0700
C++ C++ Type Conversion
C++ Type Conversion
static_cast Universal
const_cast de-constant
dynamic_cast subclass type to parent type (converting an object to its actual type is unsuccessful to NULL)
The pointer transformation of reinterpret_cast function does not have portability
Primitive type conversion, all of whi ...
Posted by townclown on Sun, 06 Oct 2019 03:56:36 -0700
Link List Full Resolution (C Language)
I. Storage of nodes in linked list
The left part of the node in the list is the stored data, and the right part is the address of the subsequent pointer pointing to the next node. C language usually defines a structure type to store a node, as follows:
struct node
{
int data;
struce node *next; //The type of the next node is also ...
Posted by revez2002 on Sat, 05 Oct 2019 11:30:20 -0700