Correct stopping of multithreading based on Concurrency
Principle introduction Use interrupt to notify instead of force. It's easy to start a thread in JAVA, but when we stop a thread we don't sto...
Java abstract classes and interfaces, this is enough
This article talks about Java's abstract classes and interfaces. In the short song line, Cao Cao made an advertisement worth 100 million yuan for...
Forged form data part of form builder random vehicle license plate
A few days ago, I recorded the mongodb part of the form data storage structure of the form builder, and then I wanted to forge some data. Why forge da...
100 python hands-on small programs -- a shortcut for python to get started quickly
Address: https://www.runoob.com/python/python-100-examples.html T1: Topic: there are four numbers: 1, 2, 3 and 4. How many three digits that are diff...
The design of Java immutable class
1.1 immutable class Immutable class refers to a class whose state cannot be modified after an instance is created. Their instance information is prov...
Regular expression and document editor sed of Linux O & M Yunsheng notes
Overview of regular expressions It uses a single character to describe and match a series of strings that conform to the rules of a statement. It is ...
[CH4201] Loulan Totem
I use tree array to solve this problem After we read in the data, we analyze the problem and solve two problems: the number of '^' and the n...
go process control
if if conditional statements in Go do not need parentheses. A variable can be declared in conditional statements. Any variable declared here can be us...
Deep analysis of thread pool in java thread series
(it's more convenient to see the source code on the horizontal screen of mobile phone) Note: java source code analysis part is based on java ver...
Ranking analysis of application access regions
Application access region ranking Topic content: given Nginx AccessLog (multiple files, estimated to be about 66G) for a period of time, find the five...
java array definition, usage, and array memory analysis
Preface This paper is mainly from the concept of container to the concept of array to the three definitions of array and the analysis of array memory ...
Mengxin's 2019 Hackergame trip to CUHK
Mengxin's 2019 Hackergame trip to CUHK Sign in problem White and night ~~Cyberpunk ~ ~ information security 2077 The ultimate problem of the uni...
Exploration of Golang Source Code (3) Realization Principle of GC
Golang has introduced tricolor GC since 1.5. After several improvements, the current 1.9 version of GC pause time can be very short. The reduction of ...
MFC uses ADO to connect to SQL Server database
VC uses ADO to access the database. This paper introduces the various objects and methods that VC uses ADO to access the database. It is very classica...
Use of HttpClient and Notices
First, introduce some good websites: Introduction to httpclient: http://www.ibm.com/developerworks/cn/opensource/os-httpclient/ HTTP client certificat...