java foundation Object class

  catalog 1. getClass method 2. equals method 3. hashCode() method 4. toString method 5. clone method 6. Grammar sugar: automatic packing and unpacking The Object class is the root of all Java class inheritance systems. All Java classes, including arrays, inherit from the Object class. There ...

Posted on Sun, 28 Jun 2020 00:21:02 -0400 by jswinkelman

Golang net/rpc package learning

golang provides an out of the box RPC service, which is simple but not simple. RPC introduction Remote Procedure Call (RPC) is a kind of computer communication protocol. It allows programs running on another computer to call subroutines in another address space (generally a computer in an open network), while programmers are just like calling l ...

Posted on Sat, 27 Jun 2020 23:01:36 -0400 by lasith

Dirty_COW_Race_Condition_Attack

Article catalog preface 1. Summary & & summary 2. Preparations 2.1 mmap function 2.1.1 application of MMAP function 2.2.2 difference between MMAP and normal file operation 2.2 copy on write mechanism 2.2.1 mmap function MAP_PRIVATE parameter 2.2.2 madwise function 3. Dirty COW 4. Result ...

Posted on Sat, 27 Jun 2020 22:04:03 -0400 by AceE

[ asp.net Core series] 14 IOC in. Net core

0. Preface Through the previous articles, we learned how to implement the basic architecture of the project: data source, routing settings, encryption and authentication. In the implementation, we will encounter such a problem: when we have more and more business classes and data sources, we can't assign values to each instance through common m ...

Posted on Sat, 27 Jun 2020 21:48:42 -0400 by truman

Understand interpreter patterns of 23 design patterns

Understand interpreter patterns of 23 design patterns What is an interpreter The definition, characteristics and structure of interpreter code implementation Application scenario of interpreter mode Extension of Interpreter pattern What is an interpreter Interpreter mode, also known as interp ...

Posted on Sat, 27 Jun 2020 04:15:20 -0400 by andrewgarn

Project Reactor responsive programming

introduce "In computers, Reactive Programming or Reactive Programming is a programming paradigm for data flow and change propagation. This means that static or dynamic data flow can be easily expressed in programming language, and the relevant calculation model will automatically propagate the ch ...

Posted on Sat, 27 Jun 2020 03:53:49 -0400 by Iokina

Beauty of Mybatis source code: 2.13. Parse the databaseIdProvider element and configure the database type unique flag generator

Parse the databaseIdProvider element and configure the database type unique flag generator An interface named DatabaseIdProvider is defined in mybatis. The function of this interface is to obtain the unique flag of different data sources in mybatis. DatabaseIdProvider defines two methods, setProperties() method is used to configure custom prope ...

Posted on Sat, 27 Jun 2020 02:10:05 -0400 by PHPoracle

Spring Boot integrates Dubbo and uses zookeeper as the registry

Spring Boot integrates Dubbo and uses zookeeper as the registry preface The whole process of this article is under the operation of windows. The general operation is the same as that of Linux. Please Baidu for details and Google if you have conditions! Knowledge points to understand Dubbo and zookeeper environments and what they are Spring Boo ...

Posted on Sat, 27 Jun 2020 01:53:36 -0400 by son.of.the.morning

DSP28335 basic course - GPIO output (water lamp experiment)

0 foreword Some time ago, I was really busy writing papers and doing experiments in the laboratory, but I haven't updated them for a long time. Recently, some students often ask if there are any permanent magnet synchronous motor series experimental courses??? Considering that DSP programming is needed for motor control, it is very difficul ...

Posted on Sat, 27 Jun 2020 00:41:44 -0400 by mwkemo

Data structure big job space and text query efficiency analysis

Article catalog preface Task 1 merchant location point query Topic Thinking design Implementation code hash_(sequential / binary)_search Binary_search_tree Data analysis Task 2 t o p − k top-k top − K merchant query Question surface Thinking design Implementation code Book s ...

Posted on Sat, 27 Jun 2020 00:03:02 -0400 by 2DaysAway