Collections in Java

Collections in Java A collection is like a shopping cart that stores all purchased goods in a single shopping cart The concept of sets Real life: many things come together Sets in Mathematics: The Overall of Things with Common Attributes Collection class in Java: is a tool class, a container that can store any number of classes with the ...

Posted by Buyocat on Tue, 28 Jan 2020 18:52:43 +0100

6. iOS underlying analysis - message sending (objc \ msgesend) analysis

Debugging analysis How are methods in OC called? Before checking the data, we know that the method call of OC is in the form of message sending, so let's explore the source code LGPerson *person = [[LGPerson alloc] init]; Class pClass = [LGPerson class]; [person sayNB]; Assembly vi ...

Posted by MissiCoola on Mon, 20 Jan 2020 15:13:10 +0100

"Glossary" based on Python 3

51. Programming: Instructions for the computer to execute. 52. Code: Commands to be executed by a computer. 53. The underlying programming language: Compared with advanced languages, it is closer to binary languages. 54. Advanced programming languages: It reads like an easy-to-understand language in English. 55. Assembly ...

Posted by mooler on Tue, 13 Aug 2019 15:38:53 +0200

C++ Generic Programming (Template)

1. Overview of Templates background Sometimes the logical structure of many functions or subroutines is the same, but the data types to be processed are different. Sometimes many classes have the same logical member function and member variable, but the data type of member variable and the parameter type of member function are different ...

Posted by shavas on Wed, 22 May 2019 00:08:03 +0200

C Pointer Principle - AT&T Assembly

Assembly is more significant in LINUX system than in WINDOWS system. The code of LINUX kernel is compiled in assembly. Then, most Linux programmers have only been exposed to assembly language under DOS/Windows before, and these assembly codes are all Intel-style. But in Unix and Linux systems, AT&T format is more used. There are great diff ...

Posted by northstjarna on Fri, 17 May 2019 17:05:51 +0200

ARM Linux Crash Analysis-Application Segmentation fault Analysis

I. Test Code The test code is as follows: #include <stdio.h> #include <string.h> #include <stdlib.h> void getmemory(char *p) { p=(char *)malloc(100); strcpy(p,"helloworld"); return; } void test1_printf() { printf("aefawfaeeaa /n"); return; } void test1_printf2() { int bbb = 0x5555; printf("test ...

Posted by dadamssg on Wed, 08 May 2019 22:09:07 +0200