Memory Management-Manual Memory Management in MRC Era
Manual Memory Management in MRC Era
In iOS, the memory of OC objects is managed by reference counting.
A newly created OC object reference count defaults to 1. When the reference count is reduced to 0, the OC object will be destroyed and its occup ...
Posted by nileshkulkarni on Thu, 29 Aug 2019 22:39:37 -0700
New features of lambda expression, thread library and atomic operation Library
C++11
10. lambda expression []
grammar
Capture list
Comparison of function object and lambda expression
11. Thread Library
Thread Startup
End of thread
Atomic Operating Library
10. lambda expression []
For example, in C++98, if you want ...
Posted by mgmoses on Thu, 29 Aug 2019 04:28:30 -0700
d3.js Making Connected Animation Diagram and Editor
The effect is shown in the figure above.This project uses the main d3.jsv4 production, divided into two parts, one is the actual display of the animation map, the other is managers use the mouse to edit the link page. For d3.js how to introduce pictures, how to draw lines and other basic functions, here is no longer introduced, you can find s ...
Posted by Jim on Thu, 29 Aug 2019 03:07:09 -0700
OpenGl Displays 2D Images
Understanding Opengl
Opengl is more efficient in displaying 2D images than using interfaces on the platform, because less CPU runtime is used.
It's not long to learn Opengl, just know the method of pipeline, Shade's method has time to learn; O ...
Posted by x2fusion on Thu, 29 Aug 2019 01:55:49 -0700
Understanding and use of AntDesign form
Basic Introduction
Although react does not have built-in form validation logic, we can do this using the form component Form in the react component library AntDesign s.
Specifically, the form component Form in AntDesign is used in conjunction with the form field Form.Item, a container that encapsulates any input control:
...
Posted by Avimander on Wed, 28 Aug 2019 19:53:57 -0700
Installation of oracle database kernel parameters under Linux
The following kernel parameters need to be configured when installing the database:
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wm ...
Posted by leszczu on Wed, 28 Aug 2019 08:14:45 -0700
Linux - Advanced Instructions
Advanced instruction
df
free
head
tail
less
wc
date
cal instruction
clear /ctrl+L
The Conduit
df
Directive: df (view disk space)
Grammar: df-h (Readable Display)
[root@JueChen linux]# df -h
Filesystem Size Used Avail Use% Mounted on
root ...
Posted by vlcinsky on Wed, 28 Aug 2019 06:30:48 -0700
Common Classes Based on JAVA
Common Basic Classes
1. Date class
Date represents a specific instant, accurate to milliseconds. Most methods in the Date class have been replaced by methods in the Calendar class.
Membership methods in the Date class:
1. Judging the front and b ...
Posted by roots on Wed, 28 Aug 2019 06:15:34 -0700
Using "cross-observer" as a baby, it is easy to realize lazy loading, top suction and bottom touching.
Let's first look at the introduction in MDN:
The Intersection Observer interface provides an asynchronous way to observe the intersection state of the target element with its ancestor element or top-level document viewport, which is called root.
Directly into the topic, Intersection Observer translates as "cross-observer". Its task is ...
Posted by Popple3 on Wed, 28 Aug 2019 04:21:27 -0700
Handler Method ArgumentResolver: Controller Method Input into Automatic Packager
Every sentence
Your work is efficient and your boss will think you are not strong enough. You have many bug s in your code and fire fighting in various production environments. The boss will think you are the core member of the team.
Preface
When enjoying the convenience of Spring MVC, have you ever wondered whether the handler method parameter ...
Posted by spivey on Wed, 28 Aug 2019 01:08:45 -0700