Quick understanding thread

For example, when you turn on the computer and listen to music, and you are still chatting with your girlfriend QQ (oh! You don't have a girlfriend), you can think that there are two processes. For single core CPU, concurrent operation is the illusion given to us by the rapid polling and scheduling of CPU time clock, and for multi-core CPU, it ...

Added by ridgerunner on Tue, 08 Mar 2022 05:15:04 +0200

Inheritance, derivation and container of C + + language

This is the author's note when learning C + + language on March 7, 2022. If it helps you, the author will be honored! If you find the author's mistake, I am also very happy to communicate with you! At the beginning of the class, LDM teacher reviewed the concept of reference in C + + and used a lowercase to uppercase program as an example. voi ...

Added by wes007 on Mon, 07 Mar 2022 17:57:53 +0200

Java project is divided into modules and jar packages

During this time, I received a task, which is to jar the project according to the module. The purpose is: 1. Package according to modules to facilitate upgrading 2. After the module is subcontracted, which module is modified, update the corresponding module separately. There is no need to worry about the abnormal operation of the project due ...

Added by lances on Sat, 05 Mar 2022 05:41:15 +0200

Chapter V list

1, First acquaintance list 1. Understanding of lists A variable can store an element, while a list is a "big container", which can store n more elements. The program can easily operate these data as a whole. A list is equivalent to an array in other languages, and a list is equivalent to a schoolbag containing many "books" ...

Added by nthomp on Sat, 05 Mar 2022 00:24:30 +0200

Algorithm-simulation

Preface: The so-called "simulation algorithm" used in the so-called simulation problems does not have a completely accurate definition. The analog algorithm, as the old saying goes, "Paint the ladle according to the gourd"; The official interpretation is that key elements are filtered and extracted according to the title de ...

Added by The Silent on Thu, 03 Mar 2022 19:06:03 +0200

Fifth stop: operator

1. Introduction to various operators. 2. Expression evaluation catalogue 1. Operator classification: 2. Arithmetic operator 3. Shift operator 3.1 shift left operator 3.2 shift right operator 4. Bitwise operator 5. Assignment operator 6. Monocular operator 6.1 introduction to monocular operators 6.2 sizeof and array 7. Relational op ...

Added by conor.higgins on Thu, 03 Mar 2022 16:28:34 +0200

Data structure -- binary tree

1. Tree structure: a tree is a finite set T of n (n > = 0) nodes. When n=0, it is called an empty tree; When n > 0, the set satisfies the following conditions: (1) there must be a specific node called root, which has no direct precursor but 0 or more direct successors. (2) the remaining n-1 nodes can be divided into m (M > = 0) disjoin ...

Added by cheikhbouchihda on Wed, 02 Mar 2022 17:10:04 +0200

Grey correlation method -- matlab

catalogue 1. Introduction 2. Detailed explanation of algorithm 2.1 data standardization 2.2} calculate the grey correlation coefficient 2.3 calculation of grey correlation coefficient 3. Case analysis 3.1 reading data 3.2 data standardization 3.3} draw the broken line diagram of x1, x4, X5, X6 and X7 3.4 grey correlation coefficient ...

Added by christh on Thu, 24 Feb 2022 15:56:49 +0200

Flink Sql With 1.14 query - window functions (TVFs)

Streaming media Windows is the core of handling infinite streams. Windows divides streams into "buckets" of limited size, on which we can apply calculations. This document focuses on how to perform windowing in Flink SQL and how programmers can get the most from the functions they provide. Apache Flink provides several window table ...

Added by mattsutton on Wed, 23 Feb 2022 18:08:35 +0200

De duplication of generics, ArrayList, LinkedList and LinkedList

catalogue generic paradigm Generic mechanism Characteristics of generics Generic class generic interface ArrayList ArrayList stores strings and iterates through them ArrayList stores custom objects and traverses them Unique functions of Vector Implementation of the unique function of Vector Unique features of LinkedList Implement ...

Added by stenk on Sun, 20 Feb 2022 06:48:47 +0200