A preliminary analysis of Java internal class knowledge
We all know that Java is composed of classes. There may be other classes in Java classes, which is the internal class in Java. However, there is more than one internal class in Java. There are four internal classes: ① member internal class, ② static internal class, ③ local internal class and ④ anonymous internal class. The functions of each int ...
Posted by abhi on Fri, 11 Feb 2022 23:07:43 +0100
scapy dual thread, blocking, monitoring, contracting, shaking hands, sending http requests
Involving knowledge
1. The essence of handshake and wave
In fact, I think waving and shaking hands are completely confusing concepts. The change of serial number and verification number completely depends on whether you are the data sender or receiver.
The data here only refers to the data carried in the application layer http, excludin ...
Posted by bluedogatdingdong on Fri, 11 Feb 2022 22:57:41 +0100
Notes of the fifth web front-end training (basic syntax of JavarScript)
1.JavaScript
1.1.JavaScript composition
ECMAScript (basic syntax): describes the basic language and objects of the language
DOM (document object model): describes the methods and interfaces for processing web page content
BOM (browser object model): describes the methods and interfaces for interacting with the browser
1.2. Basic Usage ...
Posted by love_php on Fri, 11 Feb 2022 22:51:41 +0100
JVM Chapter 9_ Method area
1. Interaction among stack, heap and method area
The method area is also a very important structure in addition to the heap space In terms of memory structure, this is the complete structure in a runtime data area
We need to understand how these iterations are allocated to the stack, heap and method area, and how they cooperate
From the pers ...
Posted by 86Stang on Fri, 11 Feb 2022 22:36:15 +0100
Construction process analysis of three trees in fluent
introductionIn fluent, many people know the three trees, and the most familiar one is the Widget tree, which is also the most commonly used thing in the process of normal development. Do you know what the other two trees are and their construction process?Widget treeIn the development process, widgets are closely related to us. Almost all pages ...
Posted by mrsocks on Fri, 11 Feb 2022 22:27:56 +0100
Discussion of some issues with Spring transactions
When a spring transaction is mentioned, it is reminiscent of four basic characteristics, five isolation levels and seven communication characteristics. I'm sure most people know this, but knowing it's one thing, and using it well is another. When using Spring transactions, I've encountered several serious issues, so I'll make a self-summary her ...
Posted by Kibit on Fri, 11 Feb 2022 22:24:52 +0100
Roommate taught me quick sort (C)
1. Sorting principle
Quick sort is an exchange sort method of binary tree structure proposed by Hoare in 1962. Its basic idea is: any element in the element sequence to be sorted is taken as the reference value, and the set to be sorted is divided into two subsequences according to the sort code. All elements in the left subsequence are less t ...
Posted by munsiem on Fri, 11 Feb 2022 22:21:46 +0100
ffmpeg learning source code compilation, NVIDIA hardware acceleration
When using CPU for soft coding and decoding, the CPU efficiency is low and the occupation is high. Using hardware acceleration can significantly reduce the occupation of CPU. See blog ffmpeg learning (16) AVDevice usage . Here, take the h264 codec acceleration using NVIDIA gpu as an example, which is similar to other platforms.
1. Winows har ...
Posted by nishanthc12 on Fri, 11 Feb 2022 22:21:05 +0100
Linux kernel eBPF Foundation: perf: perf_ Initialization of event in kernel
Linux kernel eBPF Foundation
perf(1): perf_ Initialization of event in kernel
Rong Tao
May 12, 2021
Relevant note code of this article: https://github.com/Rtoax/linux-5.10.13
1. Initialize function call relationship
1.1. start_kernel
See Linux startup process (10): start_kernel initialization (to the initial stage of setu ...
Posted by NoviceJ on Fri, 11 Feb 2022 22:18:55 +0100
Notes on in-depth design mode - creation mode II. Factory method mode
Abstract factory pattern
Also known as Abstract Factory
intention
Abstract factory pattern is a creative design pattern, which can create a series of related objects without specifying their specific classes.
problem
Suppose you are developing a furniture store simulator. Your code includes classes that represent: 1. A range of related pr ...
Posted by TheCase on Fri, 11 Feb 2022 22:13:51 +0100