Device driver model of linux kernel
Device driver model of linux kernel
Preface
1, The cornerstone of equipment model -- kobject subsystem
Two. General framework of device model -- bus, device and driver model
3, About the drive's virtual memory file system -- Sysfs system
Preface
At the end of the day, LDD3 was basically finish ...
Posted by rocklv on Sat, 08 Feb 2020 05:35:17 -0800
java programming foundation chapter five summary and exercises
(1) . summary
1, Classification of loop statements
1. while loop
The while cycle first checks the cycle continuation condition. If the condition is true, the loop body is executed; if the condition is false, the loop ends
2. do - while loop
Similar to the while loop, only the do ...
Posted by ryankentp on Sat, 08 Feb 2020 02:49:57 -0800
Simple use of C++ STL heap correlation function
Simple use of C++ STL heap correlation function
A brief introduction to the use of heap related functions
Heap is not a container, but a special way to organize container elements.
Only the scope of the heap can be determined, that is, the scope specified by the start and end iterators.
This means th ...
Posted by TechGnome on Fri, 07 Feb 2020 01:46:47 -0800
Including source code analysis, in-depth Java thread pool principle
From the pool technology to the bottom layer implementation, an article takes you through the thread pool technology.
1. Introduction to pool technology
In the process of system development, we often use pooling technology to reduce system consumption and improve system performance. In the field of prog ...
Posted by adren on Thu, 06 Feb 2020 23:46:43 -0800
Leftovers algorithm note-BFPRT algorithm
Solve the problem: Find the k th smallest number in an unordered array
Fast Solution:
Randomly select a number and use the Dutch flag problem to divide the data into less than or equal to more than three pieces
Calculate the length with a well-differentiated array to see if it hit or not, or in whi ...
Posted by imtaqi on Thu, 06 Feb 2020 20:56:49 -0800
Brush Title: skills learned by a new JAVA player
Recently, I was brushing some questions of PAT with algorithm notes, and I was going to take a CSP test with JAVA. I found that there are not many JAVA players in algorithm questions, and there are few online guides for JAVA players, so I sorted out some skills I found and learned these days
If you have ...
Posted by mrfruits on Thu, 06 Feb 2020 04:58:28 -0800
Take a look at the read-write lock ReentantReadWriteLock
We saw ReentrantLock earlier. In fact, this lock is only applicable to write more and read less, that is, when multiple threads modify a data, it is suitable to use this lock. However, if multiple threads read a data and use this lock, it will reduce efficiency, because only one thread can read at the same time!
This time, let's look at the Ree ...
Posted by young_coder on Thu, 06 Feb 2020 04:15:57 -0800
The interface of futures CTP C + + source code and C application program
As you know, the CTP interface of futures is provided by the technology company of the previous period. The source code and examples it provides are written in C + + language, which is not convenient to use. For example, I need a database, a program, a K-line chart, and functions like this. I need to do ...
Posted by Psyche on Thu, 06 Feb 2020 03:01:41 -0800
Reading notes of Dahua data structure -- the fifth chapter series
Article directory
5.2 definition of string
5.3 comparison of strings
5.4 abstract data types of strings
5.5 storage structure of string
5.5.1 sequential storage structure of strings
5.5.2 chain storage structure of string
5.6 simple pattern matching algorithm
5.7 KMP pattern matching algorithm
5.7 ...
Posted by delboy1978uk on Wed, 05 Feb 2020 23:53:11 -0800
Binary sort tree (BST)
Binary sort tree (BST)
Introduction of topics
Requirements: efficient query and addition of sequence {7, 3, 10, 12, 1, 5, 9}.
Analysis:
Use array: the array is unsorted, and the advantages are added directly at the end. It is fast and slow to find: the array is sorted, and binary search is fast, ...
Posted by feest on Wed, 05 Feb 2020 19:50:24 -0800