[C + + learning] IO Library

Part II C + + standard library The core of the standard library is many container classes and a family of generic algorithms. These facilities can help us write concise and efficient programs. The standard library will pay attention to the details of bookkeeping operations, especially memory management, so that our programs can devote all thei ...

Posted by clodagh2000 on Mon, 29 Nov 2021 20:56:48 -0800

Complexity analysis of algorithm (time complexity and space complexity)

1. Algorithm complexity: The time complexity and space complexity of the algorithm are collectively referred to as the complexity of the algorithm. Time complexity: time complexity refers to the calculation workload required to execute the algorithm; Space complexity: it is a measure of the amount of storage space temporarily occupied by ...

Posted by maca134 on Mon, 29 Nov 2021 20:45:55 -0800

In depth understanding of computer systems (Third Edition) - Chapter 6 - cache lab

The experiment in this chapter is quite interesting. Simply record the practice. 1, partA partA is relatively simple. It should be noted that the use of LRU and different lines in the same set do not store continuous addresses. Take s = 1, E = 2, b = 1 as an example: the first row of the first set stores 0x2 0xa ···, ...

Posted by Ghostgator on Mon, 29 Nov 2021 20:21:47 -0800

51 single chip microcomputer communicates simply with mobile phone through esp8266 (the first time)

Recently, 8266 has been used in the school single chip microcomputer course design experiment. The requirement is to use 51 single chip microcomputer to interact with mobile phone. In the past, I used a 32 single-chip microcomputer to connect to the cloud through 8266. At the beginning, I also wanted to upload data to the mobile app through the ...

Posted by gemmerz on Mon, 29 Nov 2021 20:18:59 -0800

python magic function

preface This blog mainly introduces Python's magic functions. In depth learning or python programming, python class writing will be more or less involved, including Python magic functions. For example, when writing a data loading generator, it may be involved__ next__,__ iter__ Function. Of course, the generator may be done with the keywo ...

Posted by lizard on Mon, 29 Nov 2021 20:15:32 -0800

07_JavaScript data structure and algorithm bidirectional linked list

JavaScript data structure and algorithm (VII) bidirectional linked list One way linked list and two-way linked list Unidirectional linked list You can only traverse from beginning to end or from end to end (generally from beginning to end).The linked list connection process is one-way. The implementation principle is that there is a referenc ...

Posted by foolguitardude on Mon, 29 Nov 2021 20:13:01 -0800

Reverse mine clearance

1. Sample overview one point one   Application information Application Name: mine clearance Size: 119808 bytes File version: 5.1.2600.0 (xpclient.010817-1148) Revised on: November 29, 2021, 8:34:38 MD5: 16A4FD569A3EB5CEBEB3DA99EF1D17E1 SHA1: 31A1A89BA067EA95F117754818429D6D8E8E59CF CRC32: 43242150 Brief function introduc ...

Posted by monicka87 on Mon, 29 Nov 2021 20:12:44 -0800

Practice of analyzing network jitter based on BPF

IntroductionWith the increasing complexity and diversity of cloud computing network environment, the problem of occasional network jitter has become a major problem for cloud services. However, when dealing with such problems, the traditional network performance tools (sar, ss, tcpdump, etc.) based on kernel internal statistics and network pack ...

Posted by timmerk on Mon, 29 Nov 2021 19:48:47 -0800

Queue of data structure, detailed knowledge

catalog:What is a queue?What are the characteristics of queues?Queue noun descriptionDetailed explanation of queue typesQueue operationText:What is a queue?Queue is a special linear table, which is only allowed at the front of the table( front)Delete, but at the back end of the table( rear)Like the stack, a queue is a linear table with restrict ...

Posted by plaggypig on Mon, 29 Nov 2021 19:47:13 -0800

Development framework to be mastered in front-end development React

About React   Basic use of React <div id="test"></div> <script type="text/javascript" src="../js/react.development.js"></script> <script type="text/javascript" src="../js/react-dom.development.js"></script> <script type="text/javascript" src="../js/babel.min.js"></script> <script type= ...

Posted by lajkonik86 on Mon, 29 Nov 2021 19:35:04 -0800