自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

天使之翼

一个技术男的书房

  • 博客(9)
  • 资源 (12)
  • 问答 (1)
  • 收藏
  • 关注

原创 leetcode 5654. 盒子中小球的最大数量

你在一家生产小球的玩具厂工作,有 n 个小球,编号从 lowLimit 开始,到 highLimit 结束(包括 lowLimit 和 highLimit ,即 n == highLimit - lowLimit + 1)。另有无限数量的盒子,编号从 1 到 infinity 。你的工作是将每个小球放入盒子中,其中盒子的编号应当等于小球编号上每位数字的和。例如,编号 321 的小球应当放入编号 3 + 2 + 1 = 6 的盒子,而编号 10 的小球应当放入编号 1 + 0 = 1 的盒子。给你两个整数

2021-01-31 18:25:48 328

转载 leetcode 1114. 按序打印

我们提供了一个类:public class Foo { public void first() { print("first"); } public void second() { print("second"); } public void third() { print("third"); }}三个不同的线程将会共用一个 Foo 实例。线程 A 将会调用 first() 方法线程 B 将会调用 second() 方法线程 C 将会调用 third() 方法请设计修改程序,以确

2021-01-30 22:46:00 217

原创 leetcode 724. 寻找数组的中心索引

给定一个整数类型的数组 nums,请编写一个能够返回数组 “中心索引” 的方法。我们是这样定义数组 中心索引 的:数组中心索引的左侧所有元素相加的和等于右侧所有元素相加的和。如果数组不存在中心索引,那么我们应该返回 -1。如果数组有多个中心索引,那么我们应该返回最靠近左边的那一个。示例 1:输入:nums = [1, 7, 3, 6, 5, 6]输出:3解释:索引 3 (nums[3] = 6) 的左侧数之和 (1 + 7 + 3 = 11),与右侧数之和 (5 + 6 = 11) 相等。

2021-01-29 09:31:57 198

转载 ARM Parameters in general-purpose registers

转载自:https://developer.arm.com/documentation/den0024/a/The-ABI-for-ARM-64-bit-Architecture/Register-use-in-the-AArch64-Procedure-Call-Standard/Parameters-in-general-purpose-registersFor the purposes of function calls, the general-purpose registers are div

2021-01-25 10:49:11 351

原创 leetcode 5661. 替换隐藏数字得到的最晚时间

给你一个字符串 time ,格式为 hh:mm(小时:分钟),其中某几位数字被隐藏(用 ? 表示)。有效的时间为 00:00 到 23:59 之间的所有时间,包括 00:00 和 23:59 。替换 time 中隐藏的数字,返回你可以得到的最晚有效时间。示例 1:输入:time = "2?:?0"输出:"23:50"解释:以数字 '2' 开头的最晚一小时是 23 ,以 '0' 结尾的最晚一分钟是 50 。示例 2:输入:time = "0?:3?"输出:"09:39"示例 3:输入

2021-01-24 17:16:35 302

原创 leetcode 989. 数组形式的整数加法

对于非负整数 X 而言,X 的数组形式是每位数字按从左到右的顺序形成的数组。例如,如果 X = 1231,那么其数组形式为 [1,2,3,1]。给定非负整数 X 的数组形式 A,返回整数 X+K 的数组形式。示例 1:输入:A = [1,2,0,0], K = 34输出:[1,2,3,4]解释:1200 + 34 = 1234示例 2:输入:A = [2,7,4], K = 181输出:[4,5,5]解释:274 + 181 = 455示例 3:输入:A = [2,1,5], K

2021-01-22 18:10:42 163

原创 leetcode 1018. 可被 5 整除的二进制前缀

给定由若干 0 和 1 组成的数组 A。我们定义 N_i:从 A[0] 到 A[i] 的第 i 个子数组被解释为一个二进制数(从最高有效位到最低有效位)。返回布尔值列表 answer,只有当 N_i 可以被 5 整除时,答案 answer[i] 为 true,否则为 false。示例 1:输入:[0,1,1]输出:[true,false,false]解释:输入数字为 0, 01, 011;也就是十进制中的 0, 1, 3 。只有第一个数可以被 5 整除,因此 answer[0] 为真。示例

2021-01-15 21:11:38 196

原创 Wireshark设置显示报文的时间

Wireshark默认情况下显示的时间是秒数,在分析交互报文的时候比较麻烦,可以通过如下的设置去显示咱们的常规习惯看的时间格式:试图 ------> 时间显示格式 -----> 日期和时间(1970-01-01 01:02:03.123456)下图是操作的截图是设置显示时间格式的图:...

2021-01-14 16:00:01 13500 1

转载 COAP协议全面分析

COAP协议全面分析转载自:https://blog.csdn.net/robert_tina/article/details/78864345##HTTP与COAP 请求与响应示例###HTTP请求(文本格式)POST https://getman.cn/echo HTTP/1.1User-Agent: FiddlerHost: getman.cnContent-Length: 9{temp:22}###HTTP响应(文本格式)HTTP/1.1 200 OKServer: NWS

2021-01-13 09:58:49 1189

virtio-v1.1-csprd01.pdf

virtio-v1.1-csprd01.pdf

2022-08-24

virtio-v1.1.pdf

半虚拟化virtio协议的官方文档

2022-08-23

CoAP_rfc7252.pdf

The Constrained Application Protocol (CoAP) is a specialized web transfer protocol for use with constrained nodes and constrained (e.g., low-power, lossy) networks.

2020-12-04

openocd-2020-12-23.pdf

Open On-Chip Debugger:OpenOCD User’s Guide This User’s Guide documents release 0.10.0+dev, dated 23 November 2020, of the Open On-Chip Debugger (OpenOCD). • Copyright c 2008 The OpenOCD Project • Copyright c 2007-2008 Spencer Oliver spen@spen-soft.co.uk • Copyright c 2008-2010 Oyvind Harboe oyvin

2020-11-24

_install.tar.gz

这个_install是我基于busybox-1.31.0编译的arm64的版本,这个可以直接下载下来拿到linux4.0的低版本上直接去使用,需要注意的是,如果修改该压缩包里面的文件,则需要重新编译内核才会生效。

2020-07-08

busybox-1.31.0.tar.bz2

busybox的下载地址:https://busybox.net/downloads/,稍后我上传一个编译好的arm64的busybox _install_arm64

2020-07-08

Real-Time Embedded Multithreading--Using ThreadX.7z

1,Real-Time Embedded Multithreading Using ThreadX and MIPS 2,Real-Time_Embedded_Multithreading_Using_ThreadX 3,Real-Time Embedded Multithreading Using ThreadX and ARM 4,eetop.cn_Real-Time.Embedded.Multithreading-Using.ThreadX.and.MIPS 5,(CMP) Real-Time Embedded Multithreading--Using ThreadX & ARM

2019-08-20

简明 Python 教程_cn_en

A Byte of Python》 是一本由 Swaroop C H 编写, 旨在于介绍如何使用 Python 语言进行编 程的自由图书。 它以教材与指南的形式为入门者介绍 Python 语言。 如果你对电脑知识的了解 仅限于如何保存文本文件的话, 那这本书就是为你准备的。 2005 年, 沈洁元将本书的 1.20 版引进中国, 并完成了全本翻译, 将本书的译名定为《简明 Python 教程》 。 2017年, 漠伦基于原书 4.0 版重新翻译, 制作了本版全新译本, 并沿用同样 的译名。 向大神们致敬

2018-09-04

Inside the C++ Object Model_english&chinese;

Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritance, and "the virtuals"-virtual functions and virtual inheritance. This book shows how your understanding the underlying implementation models can help you code more efficiently and with greater confidence. Lippman dispells the misinformation and myths about the overhead and complexity associated with C++, while pointing out areas in which costs and trade offs, sometimes hidden, do exist. He then explains how the various implementation models arose, points out areas in which they are likely to evolve, and why they are what they are. He covers the semantic implications of the C++ object model and how that model affects your programs.

2018-07-27

See mips run

In manyways, the first edition of See MIPS Run was a ground-breaking book on the MIPS architecture and its implementations. While other books covered similar material, See MIPS Run focused on what the programmer needed to understand of the architecture and the software environment in order to effectively program a MIPS chip.

2018-03-17

vi编辑器的一些配置文件

这个是vim的配置文件,在家目录下直接解压即可使用。

2014-09-16

vim工具使用

一个关于vim的资料,资料在家目录直接解压之后就可以使用,当你用vi或者vim得时候就可以看到效果。

2014-09-07

vim配置信息

vim配置脚本。有了它对于应用开发有很大的好处。

2014-09-03

python在linux下的路径

1,python的资料。 2,linux下的python下的资料。

2014-04-26

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除