SpringBoot: related system requirements, HelloWord, dependency management, automatic configuration (shallow)---- 2
system requirements
The differences between different versions of ssdss can be seen as follows: ssdss1, look for the corresponding version, such as the latest version is 2.5.6, so we have to look at the requirements of the corresponding version. ssdss2, click "Getting Started" to view related system requirements ssdss 3. We fo ...
Posted by visonardo on Sun, 31 Oct 2021 13:58:07 -0700
4. Basic data types for getting started with Python syntax
An introduction
We learn variables so that the computer can remember a certain state of things like people, and the value of variables is used to store the state of things. Obviously, the state of things is divided into different types (such as people's age, height, position, salary, etc.), so the value of variables should also have dif ...
Posted by dzelenika on Sun, 31 Oct 2021 11:21:46 -0700
Class 05 and object 1_ encapsulation
1, Process oriented and object oriented
The programmer has changed from a process oriented executor to an object-oriented commander
2, Creation and use of classes and objects
Class definition
Modifier keyword class name{
Properties and fields;
method();
}
//For example, we create a Person class
class Person{
//Human char ...
Posted by FFFF on Sun, 31 Oct 2021 11:03:07 -0700
System call I/O (file I/O)
File descriptor
By opening a FILE with the open function, you can get a structure that stores all the attributes of the FILE (similar to the FILE of standard io), but not exactly like standard io. The open of system io will store the pointer of the structure in an array, and then return the subscript of the pointer in the array, but an int ...
Posted by FuzziNectar on Sun, 31 Oct 2021 09:40:35 -0700
Java learning 07 multithreading
Multithreading
1, Process and Thread
A program is an ordered collection of instructions and data. It has no running meaning and is static A program in process execution is a dynamic concept. It is the unit of system resource allocation Usually, a process can contain multiple threads. There is at least one thread in a process. Thread is the ...
Posted by beezza on Sun, 31 Oct 2021 09:22:55 -0700
[introduction to C language] Note 8
Exercise 7-8
The square matrix moves to the right. Read in two positive integers m and n (1 ≤ n ≤ 6), then read in the n-order square matrix a, and move each element in the square matrix to the right by m positions, that is, columns 0, 1,..., n-1 are transposed into columns N-M, n-m+1,..., n-1, 0, 1,..., n-m-1. The moved square matrix ca ...
Posted by parkej60 on Sun, 31 Oct 2021 06:49:25 -0700
Java thread API, article summary
Thread creation
Inherit Thread class
You can create a Thread by inheriting the Thread class and creating an object through new.
public class MyThread extends Thread {
private int count = 5;
@Override
synchronized public void run() {
super.run();
count--;
System.out.println("from " + this.curre ...
Posted by stevel on Sun, 31 Oct 2021 02:38:49 -0700
Synchronized minimalist introduction to "principles of properties"
Synchronized property
Reentrant
Reentrant refers to the outer function of the same thread. After obtaining the lock, the inner function can obtain it again. What people say is:
If a thread gets a lock, it can continue to use it once it gets the lock. After the outer function obtains the lock, the inner function can continue to use the loc ...
Posted by gtanzer on Sun, 31 Oct 2021 01:52:56 -0700
[Linux high concurrency server] producer and consumer model
[Linux high concurrency server] producer and consumer model
Article overview
This article is a personal note of Niuke C + + project course: Linux high concurrency server, which records some knowledge points of producer and consumer model
Author information
NEFU 2020 zsl ID: fishingrod / fishing rod Email: 851892190@qq.com You are welcome ...
Posted by findshorty on Sun, 31 Oct 2021 00:48:23 -0700
Synchronized brief introduction to "usage"
Two uses of Synchronized
Object lock
It includes method lock (the default lock object is this, that is, the current instance object) and synchronous code block lock (specify the lock object yourself)
Class lock
A Synchronized method that modifies a static or specifies a lock as a Class object
Example
No synchronization effect
public clas ...
Posted by mike_y on Sat, 30 Oct 2021 23:11:35 -0700