Android processes and threads (understand > use > common interview questions)

🔥 concept 💥 process The basic unit of program operation. The basic unit of system resource allocation and scheduling. Has its own independent address space. Multiple processes can execute concurrently. Thread container 💥 thread The smallest unit of program execution. The basic unit of CPU scheduling and dispatch. There is ...

Posted by pinacoladaxb on Mon, 18 Oct 2021 14:59:13 -0700

The leader asked me to study Eureka source code | startup process

Startup process of Eureka source code Hello, I'm Wukong. Recently, I was tossing Eureka source code. Because the environment is too voluminous, I have to roll up the source code. In addition, being able to read the source code of open source projects and solve the problems encountered in the project is a symbol of strength, isn't it? If you o ...

Posted by ababmxking on Mon, 18 Oct 2021 10:34:34 -0700

2021-10-14 Swordfinger offer 2:37~48 Topics + Thoughts + Multiple Solutions

Write before This article uses python as the programming language and the author practices it by himself. The list of topics is: Swordfinger Offer (2nd Edition) ""Swordfinger Offer (2nd Edition)"passes through the world's classic secrets for programmer interviews. Analyse typical programming interviews, collate the basic kno ...

Posted by Journey44 on Sun, 17 Oct 2021 09:42:20 -0700

[intermediate and advanced front end] necessary, 30 + high-frequency handwritten questions and detailed answers (10000 words long text). See how "you" can embarrass me

preface ❝ Write a quick row. Can you write a Promise A deep copy... I believe you have encountered such problems in the interview or daily business more than once. You feel familiar when writing code on site, but even if you can't write it, the expected offer is far away from us o(╥﹏╥) o. Come on, guys, roll up. The daily plan is not enou ...

Posted by radstorm on Thu, 14 Oct 2021 14:48:38 -0700

Concurrent programming - detailed analysis of ReentrantLock lock unlock source code

AQS When we construct a ReentrantLock object, we can specify a fair lock or an unfair lock by passing in a Boolean value. After entering the source code, we can find that new has different sync objects public ReentrantLock(boolean fair) { sync = fair ? new FairSync() : new NonfairSync(); } Click on the source code of FairSyn ...

Posted by [L3]sPARTAN on Thu, 14 Oct 2021 14:16:30 -0700

JavaSE_ Knowledge point (lower 1) (set, IO stream)

Java -- collection, IO stream 1. Set (java.util. *) (1) 1. Overview I. a set is actually a container (carrier) that can store multiple objects; (array is the simplest set); II. The basic data type and java object cannot be stored in the collection, but the memory address of the java object is stored; III. the bottom layer of each diff ...

Posted by rotwyla98 on Wed, 13 Oct 2021 22:17:09 -0700

Thread instance analysis - comprehensive application of threads (wizard thread, multithreading, interrupt, communication) [java]

Java learning punch in: day 28 Java cultivation program (punch in day 28) Content management: today's sharing is mainly about three threads. Later, we will consolidate the File class Thread instance analysis Q1: application of threads and wizard threads Title Content: Create a thread containing instance variable i. after the ...

Posted by rachae1 on Mon, 11 Oct 2021 11:06:34 -0700

JAVA foundation [day12]: exception

I can't do too many things in my life, so everything should be wonderful-------- Steve Jobs abnormal (1) Abnormal conditions in the program. (2) Abnormal system Throwable |– Error is a serious problem and we won't deal with it. |–Exception |– RuntimeException is a runtime exception. We need to correct the code |– non ...

Posted by AliasXNeo on Sat, 09 Oct 2021 02:51:24 -0700

Java source code - experience summary: various lock usage scenarios and details at work

No, let's start! Guiding language Some interviewers like to ask students to rewrite a new lock after they have finished the principle of lock, and ask them to write the general idea and code logic on the whiteboard. This kind of interview topic is very difficult. Personally, I think its focus is mainly on two parts: Check how you understand ...

Posted by weazy on Thu, 07 Oct 2021 17:16:24 -0700

Come and do two front-end interview questions when you are free. You are the next big man (summary)

From the column "front end interview questions" preface ❤️ Author home page: https://hongweblog.blog.csdn.net/ ❤️ Introduction: there is no lofty ideal. Just do what you like~ ❤️ Scan code concerns WeChat official account: > Dianc assistant ❤️ Front end learning roadmap, interview question brushing, collect ...

Posted by magic-eyes on Thu, 07 Oct 2021 13:29:00 -0700