自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(40)
  • 资源 (14)
  • 收藏
  • 关注

原创 在 android 开发中的 EGL

EGL 是 Khronos 渲染 API(如OpenGL ES 或 OpenVG)和底层本机平台窗口系统(the underlying native platform window system)之间的一个中间接口层。它处理图形上下文管理、表面/缓冲区( surface/buffer )绑定和渲染同步,并使用其他 Khronos api 实现高性能、加速、混合模式的2D和3D渲染。EGL 还提供了 Khronos 之间的互操作功能,以实现 api 之间的有效数据传输。

2023-06-22 18:44:32 209

转载 Getting started with Android’s intent filters

activity= null) {) {...intent?.let {...

2023-03-09 17:48:39 98

原创 java 的内存一致性

此文是目前本人对 java 的内存一致性 的认识与理解,随着本人技术的成长,我将不断完善对它的理解与使用。针对网上各种各样的,杂乱随意的描述,我将尽最大努力,对其进行相应的描述。阐述过程中尽最大努力做到,描述准确,语义明确,简洁易读,容易理解。欢迎各位同道中人批评、讨论,加关注。Java 语言规范里的 Happens-before 顺序,定义了,诸如对共享变量的读取和写入等内存操作的 happens-before 关系。只有当写操作发生在读操作之前,一个线程写的结果才能保证对另一个线程的读是可见的。Java

2022-06-19 10:58:10 237

原创 java final 关键字的使用,第一部分 final 数据(final data)

Java 的 final 关键字根据上下文应用场景的不同而含义略有不同,但总的来说,用它修饰定义,则表示被修饰的目标不可更改。通常出于两个原因想要禁止目标的更改:设计或效率。因

2022-06-19 09:53:18 336

原创 c语言中的静态全局变量和全局变量以及静态局部变量和局部变量

全局变量 静态全局变量 局部变量 静态局部变量

2022-06-08 20:40:02 563

转载 C - Bit Fields

bit field

2022-06-04 17:11:33 105

原创 c语言中结构体定义中的“冒号”

bit fields 位域

2022-06-04 00:23:17 1021

转载 #if 0 to block out code sections

If there are sections of code that you are considering removing or want to temporarily disable, you can comment it out with a block comment.However, if the source code you have surrounded with a block comment has block style comments in the source, the

2022-06-03 18:30:16 55

原创 你对 sizeof 有多了解

sizeof

2022-06-02 23:33:33 110

原创 Undefined symbols for architecture x86_64: in mac OS

_pcre2_code_free_8_pcre2_general_context_create_8

2022-06-01 14:38:26 1289

转载 Use struct Alignment and Padding in C

reference:Use struct Alignment and Padding in C | Delft StackThis article will explain several methods of how to usestructalignment and padding in C.Understand the Basics of Alignment and Padding in CAll objects in memory are represented as the pr...

2022-05-22 00:35:12 132

转载 Data Structure alignment

Data structure alignment is the way data is arranged and accessed in computer memory. Data alignment and Data structure padding are two different issues but are related to each other and together known as Data Structure alignment.Data alignment: Data alig.

2022-05-21 19:43:42 96

原创 c 语言中的 posix_memalign

请注意,此文主要是针对BSD 系统的调用。

2022-05-21 18:08:14 616

原创 java Class ConcurrentLinkedDeque

ConcurrentLinkedDeque

2022-05-09 19:41:52 341

原创 java Class LinkedBlockingDeque

LinkedBlockingDeque

2022-05-09 17:38:17 237

原创 java Class LinkedList

Class LinkedList<E>

2022-05-05 20:56:52 550

原创 Java Class ArrayDeque

让我们再了解一下ArrayDeque,容量限制ArrayDeque没有容量限制;它们会根据需要增长以支持使用。线程安全它们并不是线程安全的;在没有外部同步的情况下,它们不支持多线程并发访问。

2022-05-04 21:57:19 384

原创 java Deque 接口

怎样才能完全了解这个java接口呢。。。首先,概括的说,它是一个支持从两端进行插入和移除元素的线性集合。再看它的命名,deque是英文"double ended queue"的简写,知道来源,便于理解记忆,意思是“双端队列”,前两个单词取首字母,最后一个单词取前3个字母。读音可以一般读作"deck"。............

2022-04-30 21:27:45 440

原创 了解一下mmap函数

这是一个c标准库(libc, -lc)里的函数。它的主要功能,概括的说,就是分配内存,或将文件或设备映射到内存中去。在使用此函数前,你需要引入头文件,#include <sys/mman.h>,函数声明是这样的,void * mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset);下面我们来详细的了解一下此函数,对 mmap() 系统调用,将产生,从地址 addr 开始,并持续最多 len

2022-04-29 16:26:37 2870

原创 use PhpStorm port安装php80 in mac OSX

1. 系统环境的php版本为PHP 7.1.33 (cli) (built: Jan 26 2020 22:52:32) ( NTS )Copyright (c) 1997-2018 The PHP GroupZend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies2. 现安装php8.0megumikichikus-MacBook-Pro:~ xxxx$ sudo port install phpPassword

2022-04-06 19:42:44 412

转载 Package java.util.concurrent

concurrent

2022-03-14 19:06:27 137

转载 Outline of the Collections Framework 集合框架大纲

The collections framework consists of:Collection interfaces- The primary means by which collections are manipulated. Collection- A group of objects. No assumptions are made about the order of the collection (if any) or whether it can contain duplicat..

2022-03-14 18:44:10 93

原创 port install apache2 for mac

megumikichikus-MacBook-Pro:~ xxxx$ sudo port install apache2Password:---> Computing dependencies for apache2The following dependencies will be installed:aprapr-utilContinue? [Y/n]: y---> Fetching archive for apr---> Attempting t...

2021-11-27 22:32:52 496

转载 Command go

Start a bug report Compile packages and dependencies Remove object files and cached files Show documentation for package or symbol Print Go environment information Update packages to use new APIs Gofmt (reformat) package sources...

2021-10-10 15:53:07 1189

转载 How to Write Go Code

How to Write Go Code Introduction Code organization Workspaces The GOPATH environment variable Package paths Your first program Your first library Package names Testing Remote packages What's next Getting he

2021-10-10 15:47:28 81

原创 MongoDB 如何查找指定范围内的坐标点

MongoDB 地理信息建索引 后方可以查找指定范围内的坐标点,db.vehicle.ensureIndex({'coordinate':'2dsphere'})db.vehicle.insert({coordinate:{longitude:116.40244,latitude:39.963175},phoneno:"18501053571",description:"Some goods here!!",address:"ShangDi”})db.vehicle.ensureIndex.

2021-10-10 11:23:24 667

原创 About MongoDB Run MongoDB

Run MongoDB.To run MongoDB, run themongodprocess at the system prompt. If necessary, specify the path of themongodor the data directory. See the following examples.Run without specifying pathsIf your systemPATHvariable includes the location of...

2021-10-10 11:15:26 63

原创 研究生课程汇总

计算机科学与技术 研究生课程数据结构 微型计算机系统接口技术 智能控制 知识工程 语音信号数字处理 多媒体计算机技术 超大规模集成电路布图理论与算法 超大规模集成电路布图理论与算法 数字系统自动设计 算法与算法复杂性理论 计算机支持的协同工作CSCW 微计算机系统设计 计算机网络和计算机系统的性能评价 并行计算 计算智能及机器人学 现代优化算法――设计与实践 计算科学与工程中的并行编程技术 下一代互联网 网格计算 计算机网络前沿.

2021-10-10 11:11:42 80

原创 xcode c++ 编程使用 protobuf

1、我当前使用的mac OS系统是:macOS MojaveVersion 10.14.62、Command Line Tools:Xcode Version 11.3.1 (11C504)3、安装protobuf,如果你愿意,可以选择源码安装,我的开发环境采用port管理维护,所以port安装(Centos下使用yum,Ubuntu使用sudo apt-get),安装 protobuf-cprotobuf3-cpp,执行命令:macbook-pro:~ username..

2021-10-08 21:18:15 732

转载 Demystifying The Restrict Keyword

By Mike Acton onMay 29, 2006 10:38 PMUPDATED! More examples! More detailed explainations!CONTRACTThe restrict keyword can be considered an extension to the strict aliasing rule. It allows the programmer to declare that pointers which share the same..

2021-10-06 20:30:46 117

原创 port install cmake in mac osx

192:share hostname$ sudo port install cmakePassword:---> Computing dependencies for cmakeThe following dependencies will be installed:libarchivelibuvlzo2Continue? [Y/n]: y---> Fetching archive for lzo2---> Attempting to fetch ...

2021-10-04 11:45:32 651

原创 Install protobuf in mac OSx

install protobufprotobuf-cprotobuf3-cppmacbook-pro:UseKQueue hostname$ sudo port install protobuf-c---> Computing dependencies for protobuf-cThe following dependencies will be installed: protobuf3-cppContinue? [Y/n]: Y---> Fetching ...

2021-10-04 11:36:35 116

原创 ‘google/protobuf/io/zero_copy_stream.h‘ file not found

Mac osx 环境,当引入#include <google/protobuf/io/zero_copy_stream.h>时,显示'google/protobuf/io/zero_copy_stream.h' file not found错误,解决方法:macbook-pro:UseKQueue 192.168.0.11$ sudo port install protobuf-c---> Computing dependencies for protobuf-c.

2021-09-28 18:42:34 584

原创 我的编程常用

BSD Library Functions ManualSYNOPSIS#include <execinfo.h> int backtrace(void** array, int size); char** backtrace_symbols(void* const* array, int size); void backtrace_symbols_fd(void* const* array, int size, i...

2021-04-22 11:35:15 144

翻译 关键字constexpr(C++)

关键字constexpr是在C++11中引入的,并且在C++14中得到了改进。像const一样,它可以应用于变量:当任何代码试图去修改该值时,都会引发编译器错误;与const不同,constexpr也可以应用于函数和类构造函数。constexpr表示该值或返回值是恒定的,并在可能的情况下在编译时进行计算。constexpr整数值可在需要const整数的任何地方使用,例如,在模板参数和数组声明中。当在编译时而不是运行时计算一个值时,它可以帮助您的程序更快地运行并使用更少的内存。 为了限制编译时常..

2021-03-02 21:50:12 2181

原创 常用检测内存错误的工具

1.valgrind2. dmalloc3. efence上3工具可达到相同的目的

2021-02-28 19:53:43 325

原创 Install Boost_1_75_0 in Centos7.9.2009

在centos系统,如果你想使用Boost的二进制库(Boost Library Binary),你就需要安装boost_1_75_0,1、下载安装包boost_1_75_0.tar.bz2,并解压放至你想放至的目录(don't type$; that represents the shell's prompt),$ tar --bzip2 -xf /path/to/boost_1_75_0.tar.bz22、进入解压目录,运行如下命令,$ cd path/to/boost_1_75..

2020-12-23 18:26:41 804

原创 聊聊java多线程

本篇文章,为本人在某一阶段对此问题的个人理解总结,欢迎高手评论。对java中线程同步的理解对于这个话题,我们可以从两个方面去拆解,思考, 首先,我需要知道线程同步的概念,什么是线程同步呢?为了充分利用硬件资源(对应多cpu单核、单cup多核、多cpu多核)去更高效的去完成一项工作内容,通常,我们将一份整体的工作内容拆解成可并行执行的多个单一工作任务,然后,启用多个线程(t1、t2...tn)去执行拆解后的每一个工作任务,以达成最终的目标。在整个执行过程中,多个线程之间免不了在某些个...

2020-08-04 20:37:03 106

原创 Macosx 系统port安装 opencv

1、首先对port本身进行升级,megumikichikus-MacBook-Pro:~ huixizhu$ sudo port selfupdate2、将使用port安装的软件进行升级,megumikichikus-MacBook-Pro:~ huixizhu$ sudo port upgrade outdated3、安装cctools,megumikichikus-MacBook-Pro:~ huixizhu$ sudo port install cctools---> .

2020-07-27 16:00:27 458

原创 Macosx 系统编译安装 redis-6.0.5

问题,编译安装 redis-6.0.5,megumikichikus-MacBook-Pro:redis-6.0.5 ~ $ makecd src && /Applications/Xcode.app/Contents/Developer/usr/bin/make all CC Makefile.dep CC adlist.o CC quicklist.o CC ae.o CC anet.o CC dict.o C...

2020-07-24 19:29:11 720

google-chrome-stable-current-x86-64.rpm

google-chrome-stable-current-x86-64.rpm

2024-02-12

python-beginners.pdf

适合初学者 帮助初学者用重要的时间解决主要的问题

2023-03-10

The GNU C Reference Manual.pdf

The GNU C Reference Manual.pdf

2022-05-29

ARM汇编语言官方手册.pdf

ARM汇编语言官方手册.pdf

2022-05-29

proactor originate

proactor originate

2022-05-16

lib std c++ api

lib std c++ api

2022-05-16

guava-11.0.2-sources.jar

guava-11.0.2.jar 可用资源,有问题请及时反馈。 发布时间:2012-02-22 22:02:16文件大小:1.6 MB

2020-06-19

sun misc BASE64Decoder.zip

便携式 sun.misc.BASE64Decoder 和 sun.misc.BASE64Encoder

2019-08-10

flowplayer.commercial-3.2.18.swf

flowplayer.commercial-3.2.18.swf 亲测可用,随便使用

2019-07-08

alipay-sdk-java-1.0.0.jar AND alipay-trade-sdk-1.0.0.jar

alipay-sdk-java-1.0.0.jar和alipay-trade-sdk-1.0.0.jar方便导入使用

2019-05-08

Effective Java Third Edition

这本书真的只适合那些深入了解Java的开发人员。它汇集了78种不可或缺的程序员经验法则:为你每天在工作中都会遇到的编程挑战,提出了实践的最佳解决方案。

2019-01-14

The JavaTM Language Specification Third Edition

Java编程规范,作者为Java的发明者,这本书不仅提供了完整和准确的语言覆盖范围,还包含了实际编译行为时的正式语言规则。虽然阅读这本书不能让你学到什么技能,但是如果你想在Java VM更进一步的话,那就非读不可。

2019-01-14

mysql workbench for centos

mysql workbench for centos,是centos下桌面可视化环境中的mysql管理工具

2018-10-31

chrome for centos installation

Centos 6.5-6.9及以上 安装 chrome浏览器,注意根据系统提示自行安装依赖

2018-10-31

maven 3.3.9

latest tool for java code management and compiler

2016-02-20

openssh-4.7p1.tar.gz

openssh-4.7p1.tar.gz软件,它可以将你所有传输的数据进行加密 资源分:3分

2009-06-02

空空如也

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

TA关注的人

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