[RT thread learning notes] learn the C language coding specification of RT thread together
preface
Recently, bloggers are learning about RT thread, an open source project, and began to slowly learn and understand its open source code, and slowly began to contact its code specifications. In my opinion, the first step to participate in an open source project is to understand its specifications, of which the code writing specific ...
Posted by dr.wong on Tue, 30 Nov 2021 16:39:11 -0800
Given three numbers, find their maximum or minimum (tentative)
Given three numbers, find their maximum or minimum (tentative)
cause
Recently, I found this kind of question type in brushing questions and laying the foundation Title Description Write a program, input a, b and c, and output the maximum value. input A row array, a b c output a b c where the largest number sample input 10 20 30 sample output ...
Posted by webster08 on Tue, 30 Nov 2021 16:22:28 -0800
2021SC@SDUSC PALISADE open source library CKKS code analysis Advanced Code steps
2021SC@SDUSC
catalogue
introduce
General steps
1. Enable TIC-TOC timing measurement
2. Define the functions and methods to be used
3. "EXACTRESCALE" and "APPROXRESCALE"
4.HYBRID switching technology
5. Zoom operation
6. Manual readjustment demonstration
introduce
&n ...
Posted by CFennell on Tue, 30 Nov 2021 16:18:26 -0800
shell learning notes git related use
Excerpt from Chapter 6 warehouse management of Linux Shell script introduction
brief introduction
Git is already included in most Linux distributions. If it is not installed on your system, you can get it from yum (Redhat or SuSE) or apt get (Debian or Ubuntu)
$ sudo yum install git-all
$ sudo apt-get install git-all
Create a new git repos ...
Posted by apw on Tue, 30 Nov 2021 16:03:40 -0800
Multithreaded learning four
Navigation
1,Multithreaded learning one
6. No lock of shared model
In this chapter, we will implement concurrency control through non blocking optimistic locks
6.1 problem raising
There are the following requirements to ensure the thread safety of the account.withdraw withdrawal method Test5.java
public class Test5 {
public static vo ...
Posted by BigMonkey on Tue, 30 Nov 2021 15:56:11 -0800
Gazebo robot simulation learning notes
Gazebo robot simulation learning notes
1, Experimental preparation
Refer to the video tutorial: 70 minute quick start Gazebo robot simulation. Experimental function Pack:
git clone https://gitee.com/bingda-robot/bingda_tutorials
Some third-party feature packs
2, world model building
1) Install the official model library of Gazebo
gi ...
Posted by Residue on Tue, 30 Nov 2021 15:50:29 -0800
It took him a month to install himself into the OLED using micro python
Introduction: The complete open source code and migration instructions are being sorted out. Establish a common ecosystem to enable more people to join the application module, enrich their wings and strengthen their muscles and bones. Let more non professionals experience the happiness of programming. Keywords: MM32, micropathon, OLED
...
Posted by thegame261 on Tue, 30 Nov 2021 15:32:42 -0800
[data structure] two way circular linked list
Structure of bidirectional linked list
1. Each node of the bidirectional circular linked list includes the following parts: 2. The data field in the header node has no practical significance
3. Bidirectional circular linked list For example:
Basic operation
data structure
typedef int LTDataType;
typedef struct ListNode
{
LTDataType ...
Posted by spillage on Tue, 30 Nov 2021 15:27:55 -0800
Tree dp learning notes
This paper mainly summarizes some difficulties and details of tree dp.
What is a tree dp
As the name suggests, it is a dp that looks like a tree structure and is carried out on a tree.
The tree dp has a more routine state definition, that is to define \ (dp[i] \) to represent the maximum / minimum value of the subtree with \ (I \) as the root n ...
Posted by agsparta on Tue, 30 Nov 2021 15:23:11 -0800
Do you really know arrow functions
highlight: a11y-dark theme: channing-cyan
Arrow function
🙊 I believe everyone has used the arrow function. People who can use it have tried it repeatedly. They are afraid that if they use it wrong, they may choose not to use it. It is a matter of multiple codes and a few lines of words. But people who have used it say it's really cool. Then ...
Posted by madmindz on Tue, 30 Nov 2021 15:19:53 -0800