Analyze java assembly instructions through javap command
1, javap command Brief
javap is the jdk's own anti parsing tool. Its function is to inverse parse the code area (assembly instruction), local variable table, exception table, code line offset mapping table, constant pool and other information corresponding to the current class according to the class bytecode file. Of course, some of these info ...
Posted by nick_whitmarsh on Thu, 28 Oct 2021 22:29:38 -0700
Abstract factory pattern
The relationship between abstract factory patterns can be explained by the following figure. A super factory has multiple sub factories. Each sub factory can produce different products, but the products belong to different product families
As an example, we use code to implement a factory pattern
There are two product levels of mobile p ...
Posted by nogray on Thu, 28 Oct 2021 22:04:55 -0700
Python Quick Start Manual for Matlab users
What is Matlab? It is the classic VB in the field of computing. They are at the bottom of the contempt chain in their respective fields.
Of course, this disdain chain is the disdain chain of programmers. For those who do not want to have an in-depth understanding of programming, they can ignore it, and there is no need to continue reading ...
Posted by nosher on Thu, 28 Oct 2021 21:33:28 -0700
Linux command artifact: lsof
lsof is system management/ security Uber tools. Call this tool lsof a real name, because it means "lists open files". One thing to remember is that in Unix, everything (including network sockets) is a file.
Interestingly, lsof is also one of the Linux/Unix commands with the most switches. It has so many switches, and it has many opti ...
Posted by joesaddigh on Thu, 28 Oct 2021 21:29:15 -0700
Fault manager of Hongmeng light kernel M core: fault exception handling
Abstract: This paper first briefly introduces the Fault exception type, vector table and its code, exception handling C language program, and then analyzes the implementation code of exception handling assembly function in detail.
This article is shared from Huawei cloud community< Hongmeng light kernel M kernel source code analysis serie ...
Posted by kampbell411 on Thu, 28 Oct 2021 20:40:55 -0700
Hash table of data structure
1, Basic introduction
1. Basic introduction Hash table (also known as hash table) is a data structure that is accessed directly according to the Key value. In other words, it accesses records by mapping key values to a position in the table to speed up the search. This mapping function is called hash function, and the array storing records is ...
Posted by thenature4u on Thu, 28 Oct 2021 20:36:02 -0700
c basic knowledge: detailed explanation of multidimensional array
If an array has more than one dimension, it can be called a multidimensional array. Let's take a specific look at the relevant knowledge of multidimensional arrays.
1. How to initialize multidimensional arrays
int days[4][3];
As above, a two-dimensional array is defined. It can be regarded as an array of one-dimensional arrays. We can initi ...
Posted by gtibok on Thu, 28 Oct 2021 20:12:18 -0700
gearman implements task distribution
I found this gearman by chance and thought it was very useful and very suitable for PHP to run some businesses.
Don't say much. Install it.
Find using apt
sudo apt search gearman
Found this
gearman/bionic,bionic 1.1.18+ds-1 all
Distributed job queue
OK, start the installation
sudo apt-get install gearman
OK, the installation is complete ...
Posted by Gump on Thu, 28 Oct 2021 20:10:36 -0700
Using the Kubernetes series from 0 to 1: building the first application
Traditional Kubernetes application building
Create Namespace
In a Kubernetes cluster, you can create multiple namespaces for "environment isolation". When there are many projects and personnel, you can consider dividing different namespaces according to the actual situation of the project (such as production, testing and development). ...
Posted by xenooreo on Thu, 28 Oct 2021 20:05:23 -0700
MySql database Basics
MySql database is a relational database MySQL database is not case sensitive
Some grammars in this article, such as goudan, dachui and Cuihua, are not fixed grammars and can be named arbitrarily
data typeintegerint(m) m indicates the lengthLong integerbigint(m)Floating point numberdouble(m,d) m represents the total length d and the decimal po ...
Posted by Randomizer on Thu, 28 Oct 2021 20:03:13 -0700