Tag:grey
-
Golang’s GC recovery mechanism
Golang’s GC recovery mechanism Conditions triggered by GC Threshold: double the default memory size and start GC Periodic: default2minTrigger GC once,src/runtime/proc.go:forcegcperiod Manual:runtime.gc() v1. 3 version mark removal method The first step is to find out the unreachable objects and mark them. The second part is to recycle unmarked objects. Disadvantages: STW (stop the world) will […]
-
Relationship between header files in keil
Header file order in source file There are several header file relationships to look at: Inclusion relation: it is complex and requires relation order Independent relationship: it doesn’t matter who is in the front and who is in the back In the header file under KEIL, the conditional compilation display (gray or normal) is not […]
-
Several postures of the interceptor of the springboot series injected into the bean
Previously, I introduced the basic posture of Interceptor:[web series] Introduction to the use posture of interceptor of springboot interceptor In springboot, by implementingWebMvcConfigurerofaddInterceptorsMethod to register the interceptor, so how can we adjust it when we want to use bean in our interceptor? <!– more –> 1. Project construction The project relies onSpringBoot 2.2.1.RELEASE + maven […]
-
[fishing essentials] configure VSC Netease music and unblocknetease music to listen to Netease cloud graying songs
bullshit Have you ever encountered the situation that Netease cloud client cannot be installed? Have you ever encountered a situation where you can’t play grayed out songs using Netease cloud? As a geek, do you think it’s cool to listen to songs with vs Code? Let’s introduce the best scheme for fishing and listening to […]
-
Analysis of width and height limitation of contractor component in fluent
notes preceding the text of a book or following the title of an article——Holding the sword at the end of the world, start with your bit by bit accumulation. You must strive for perfection wherever you can, that is, tossing every day. ** You may need CSDN Netease cloud classroom tutorial Nuggets Edu college course […]
-
Several postures of bean injected by interceptors of springboot series
Previously, I introduced the basic use posture of Interceptor: [web series] Introduction to the use posture of interceptor of springboot interceptor In springboot, by implementingWebMvcConfigurerofaddInterceptorsMethod to register the interceptor, so how can we adjust it when we want to use beans in our interceptor? <!– more –> 1. Project construction The project relies onSpringBoot 2.2.1.RELEASE […]
-
[springboot + mybatis series] several methods of mapper interface registration
[springboot + mybatis series] several methods of mapper interface registration In the springboot project, the database is operated with the help of mybatis, which is no stranger to most small partners of the Java technology stack; As we know, using mybatis, there are generally the following Entity: database entity class Mapper: DB operation interface Service: […]
-
[springboot mybatis series] mappermapper interface and SQL bind several postures
[DB series] the mapper interface of the spring boot series mybatis binds several postures to SQL Usually when we use Mybatis to develop, we will choose XML file to write corresponding SQL, then establish the binding relation between Mapper interface and XML file of SQL, then we can execute SQL by calling mapper interface in […]
-
Springboot series mybatis custom type conversion typehandler
Springboot series mybatis custom type conversion typehandler When using mybatis for DB operation, one of the things we often do is to map the fields in DB to Java beans, which we usually useResultMapTo implement the mapping. The binding relationship between the two can be specified through this tag. What should be done if the […]
-
Several postures of parameter transfer of mybatis in springboot series
Several postures of parameter transfer of mybatis in springboot series In the daily development of mybatis, how do the parameters defined in the mapper interface map to the parameters in XML? In addition to our [email protected] are the other ways besides annotation? What happens to the default scenario without annotations? What should I do if […]
-
How to set the input box to non editable state (four methods)
Method 1:readonlyIt is specified that the input field is read-only and can be copied. However, the user can use the tab key to switch to this field, select, receive focus, and select or copy its text. (status: the input box will turn gray) <input type=”text” value=”hello JavaScript” readonly=”readonly”> Method 2:disabledThe disabled input element can be […]