Summary of common categories of a Xin, a rookie
Summary of common categories (I)
Object:
java.lang.Object
Object:Java All classes in (custom class, class provided by jdk) inherit from object (all root classes)
public int hashCode() returns the hash code value of the object (the hash code value of each object in memory is different). It has a relat ...
Posted by rel on Fri, 19 Jun 2020 22:37:43 -0700
Uboot 1.3.4 learning notes uboot configuration process
/mkconfig file analysis:
Six important parameters of mkconfig script:
Configure in the main makefile file:
x210_sd_config : unconfig
#$(@:_ config =) for the target_ config is replaced by "" to get x210_sd
@$(MKCONFIG) $(@:_config=) arm s5pc11x x210 samsung s5pc110
#Output TEXT_BASE variab ...
Posted by jtapoling on Fri, 19 Jun 2020 22:28:33 -0700
Sword finger offer week 5 incomplete
Sword finger offer week 5 incomplete
73. Two numbers that only appear once in the array
Except for two numbers in an integer array, other numbers appear twice.
Please write a program to find out the two numbers that only appear once.
You can assume that these two numbers must exist.
Example
Input: ...
Posted by pixy on Fri, 19 Jun 2020 21:35:32 -0700
Inside of Rust async/.await
In this tutorial, we will analyze the internal running mechanism of async/.await in detail. We will use the async STD library instead of tokio, because this is the first t rust library that supports async/.await syntax. The tutorial of async/.await principle analysis is divided into two parts, which is the first part.
Blockchain development tu ...
Posted by Imad on Thu, 18 Jun 2020 20:06:38 -0700
day03 switch & loop statement
1. switch statement
1.1 branch statement switch statement
format
switch (expression){
case 1:
Statement body 1;
break;
case 2:
Statement body 2;
break;
...
default:
Statement body n+1;
break;
}
Execution process:
First calculate the value of the expression
Secondly, compare wit ...
Posted by gobbly2100 on Wed, 17 Jun 2020 23:56:25 -0700
For a while, a dynamic thread pool was created, and the source code was put on Github, which suddenly caught fire
From: ape world, address:
https://juejin.im/post/5ee9a2e7e51d457423261adb
Explain the background
Thread pool is still used in daily work. When asynchronous and batch processing tasks are needed, we will define a thread pool to handle them.
There are some problems in the process of using thread p ...
Posted by knetcozd on Wed, 17 Jun 2020 20:45:16 -0700
day8-python tuples, dictionaries, collections.
Article Directory
Tuples, Dictionaries and Collections
1. Tuples
1. What is a tuple
1) Empty tuples: ()
2) Tuples of a single element: (element)
3) Tuples of multiple elements:
2. Get the elements in the tuple
1) List of ways to get elements tuple support
2) Other ways (the same applies to lists) ...
Posted by suresh_m76 on Wed, 17 Jun 2020 09:25:45 -0700
Implementation of menu bar recursively by Vue combined with routing configuration
Author: little potato biubiubiu
Blog Park: https://www.cnblogs.com/HouJiao/
Nuggets: https://juejin.im/user/58c61b4361ff4b005d9e894d
The official account of WeChat: the idea of a broken potato (scanning the code, attracting a cat, listening to stories together, learning front-end technology)
The content of the author's article comes from his ...
Posted by ultimachris on Mon, 15 Jun 2020 20:45:51 -0700
django-rest_framework - Request and response
Requests and responses
Request object
The REST framework introduces a Request object, which extends the ordinary HttpRequest and provides more flexible and clear parsing. The core function of the Request object is request.data Property, which corresponds to the request.POST Similar, but more useful ...
Posted by NFD on Sun, 14 Jun 2020 01:32:55 -0700
Stream stream of learning notes
Stream stream
experience
Requirements: complete the creation and traversal of the collection according to the following requirements
Create a collection to store the string elements
Store all elements in the collection that begin with "Zhang" into a new collection
Store the 3-length elements in the set beginning with "Zhang&quo ...
Posted by peter_anderson on Sat, 13 Jun 2020 02:47:55 -0700