摘要: Sysinternals Utilities - Sysinternals | Microsoft Learn ProcDumpv11.0 (November 3, 2022)This command-line utility is aimed at capturing process dumps 阅读全文
posted @ 2023-05-25 14:22 Bigben 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 规范上,子类构造函数肯定是会调父类的构造函数。 如果代码中没写,就会隐含调用父类的默认构造函数(即那个无参构造函数)。如果父类没有,编译报错。 1,展示了当子类要调用父类中带参数的构造函数 时: #include <iostream> #include <cstdio> class A { publ 阅读全文
posted @ 2023-05-19 11:45 Bigben 阅读(12) 评论(0) 推荐(0) 编辑
摘要: linux sar命令详解 Ranger ​关注他 3 人赞同了该文章 sar(System Activity Reporter系统活动情况报告)是目前 Linux 上最为全面的系统性能分析工具之一,可以从多方面对系统的活动进行报告,包括:文件的读写情况、系统调用的使用情况、磁盘I/O、CPU效率、 阅读全文
posted @ 2023-05-19 09:26 Bigben 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 在chromium源码中,blink有 Member<AgentGroupScheduler> agent_group_scheduler_; Member<PageAnimator> animator_; const Member<AutoscrollController> autoscroll_ 阅读全文
posted @ 2023-05-17 16:37 Bigben 阅读(10) 评论(0) 推荐(0) 编辑
摘要: Threejs实现酷炫3D地球技术点汇总 - 知乎 (zhihu.com) Threejs 3D 酷炫地球在线预览 | 嘟先生学WebGL (joy1412.cn) WebGL之3D地球 - 掘金 (juejin.cn) Talk is cheap show the code! github项目源码 阅读全文
posted @ 2023-05-15 15:28 Bigben 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 总结: 智能指针在enscripten里面,会自动生成 delete() 方法。这个delete方法必须手动调用释放!!??。(应该一般不需要:在js代码里面,如果变量不用了,就调一下delete。)requestAnimation可能是递归栈的,所以需要手动调用 delete。 如果在js中函数返 阅读全文
posted @ 2023-04-24 17:05 Bigben 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 1,编译出来: autoninja -C out\Default courgette 2,使用 e:\\chromium\src\out\Default>courgette64.exe First argument must be one of: -supported, -asm, -dis, -d 阅读全文
posted @ 2023-04-11 18:37 Bigben 阅读(16) 评论(0) 推荐(0) 编辑
摘要: v8::MaybeLocal<v8::Value> maybe_result; if (V8ScriptRunner::CompileScript(script_state, *classic_script, compile_options, no_cache_reason, host_define 阅读全文
posted @ 2023-03-23 16:00 Bigben 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 1,访问网址 https://www.cursor.so/ 下载cursor安装后打开。 2,根据界面里提示,按 ctrl+k,键入你想产生的代码 3, 4,结果我无语了 阅读全文
posted @ 2023-03-21 15:26 Bigben 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 这是另外一个,可以直接使用:https://www.phind.com/ 1、首先,必须可以访问外网,比如google。后面的操作全部要用代理。 2、获得试用资格。如果没有申请,可以下载edge dev,国际英文版。然后安装,新注册微软账号申请试用资格,据说很快获批的。 这里必须用国际版英文的edg 阅读全文
posted @ 2023-03-16 21:53 Bigben 阅读(1926) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2023-03-02 15:37 Bigben 阅读(0) 评论(0) 推荐(0) 编辑
摘要: #include "include/core/SkTypes.h" class SkNextID { public: /** * Shared between SkPixelRef's generationID and SkImage's uniqueID */ static uint32_t Im 阅读全文
posted @ 2023-02-23 17:19 Bigben 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 如下的源码: template<typename T, typename U = int> class S{ //#1 public: void f1(){}; }; template<> class S<void> { //#2 public: void f2(){}; }; int main() 阅读全文
posted @ 2022-12-24 17:56 Bigben 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Android应用程序UI硬件加速渲染技术简要介绍和学习计划 罗升阳 Android系统的流畅性一直被拿来与iOS比较,并且认为不如后者。这一方面与Android设备硬件质量参差不齐有关,另一方面也与Android系统的实现有关。例如在3.0前,Android应用程序UI绘制不支持硬件加速。不过从4 阅读全文
posted @ 2022-12-23 18:25 Bigben 阅读(187) 评论(0) 推荐(0) 编辑
摘要: https://chromium.googlesource.com/chromium/src/+/HEAD/third_party/blink/renderer/platform/graphics/compositing/README.md Source/platform/graphics/comp 阅读全文
posted @ 2022-12-16 18:25 Bigben 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 对类型编写,由于c++不存在 if(type == xxx) {} 这种语法。 类型计算可以使用: 1,重载。 2,虚函数。继承。 3,c语言中利用 Union 查看代码 struct Variant { union { int x; float y; } data; uint32 typeId; 阅读全文
posted @ 2022-10-04 11:40 Bigben 阅读(46) 评论(0) 推荐(0) 编辑
摘要: src\third_party\skia\docs\examples 在 gpu 上绘制,然后用surface的snapshot获取 图片; skimage也可以直接从texture // Copyright 2019 Google LLC. // Use of this source code i 阅读全文
posted @ 2022-09-06 17:44 Bigben 阅读(160) 评论(0) 推荐(0) 编辑
摘要: chrome trace 官方文档:https://www.chromium.org/developers/how-tos/trace-event-profiling-tool/ Limboy 强大的可视化利器 Chrome Trace Viewer 使用详解 2020-03-21 最近研究了下 C 阅读全文
posted @ 2022-08-30 10:22 Bigben 阅读(345) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-08-26 18:10 Bigben 阅读(0) 评论(0) 推荐(0) 编辑
摘要: wasm的 surface.makeSurface js中: CanvasKit.Surface.prototype.makeSurface = function(imageInfo) { CanvasKit.setCurrentContext(this._context); var s = thi 阅读全文
posted @ 2022-08-18 17:31 Bigben 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 作曲 : Jerad Charles Atherton I count on every word you said 你的每句话 我深信不疑 In the back of my mind I repeat them 心中反复默念 One by one 一一铭记 I need you when I′m 阅读全文
posted @ 2022-08-05 21:35 Bigben 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 作词 : Brent Kutzle/Tyler Spry/Steven Mudd/Ryan Tedder/Josh Varnadore 作曲 : Brent Kutzle/Tyler Spry/Steven Mudd/Ryan Tedder/Josh Varnadore Somedays I'm t 阅读全文
posted @ 2022-08-05 21:35 Bigben 阅读(68) 评论(0) 推荐(0) 编辑
摘要: Through Different Eyes CHPTRS - Through Different Eyes - EP 作曲 : Jerad Charles Atherton Got our start on the bright side 我们的出发点是好的 Caught a glimpse of 阅读全文
posted @ 2022-08-05 21:29 Bigben 阅读(55) 评论(0) 推荐(0) 编辑
摘要: Obvious (Alternate Version) CHPTRS - Chapter Three (Alternate Versions) 作曲 : Jerad Charles Atherton Don’t tell me to calm down 不要说什么冷静下来这样的话 Look all  阅读全文
posted @ 2022-08-05 21:28 Bigben 阅读(111) 评论(0) 推荐(0) 编辑
摘要: CHPTRS - Last Chance Wash over meLead me far from my surroundingTake over meOver every rushing memoryIf only for a momentOh, this could be my last cha 阅读全文
posted @ 2022-08-05 21:28 Bigben 阅读(93) 评论(0) 推荐(0) 编辑
摘要: The Light CHPTRS - Chapter Five 作曲 : Jerad Charles Atherton Well you looked me in the eyes 当你和我相视 And you said it 你说了 And your face can say it all 你的表 阅读全文
posted @ 2022-08-05 21:27 Bigben 阅读(76) 评论(0) 推荐(0) 编辑
摘要: chromium大学 chromium doc 现代浏览器内部揭秘 [译] 现代浏览器内部揭秘(第一部分) - 掘金 (juejin.cn) [译] 现代浏览器内部揭秘(第二部分) - 掘金 (juejin.cn) [译] 现代浏览器内部揭秘(第三部分) - 掘金 (juejin.cn) [译] 现 阅读全文
posted @ 2022-07-05 09:59 Bigben 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 完整参考:Control Docker with systemd | Docker Documentation sudo mkdir -p /etc/systemd/system/docker.service.d Create a file named /etc/systemd/system/doc 阅读全文
posted @ 2022-07-04 16:15 Bigben 阅读(502) 评论(0) 推荐(0) 编辑
摘要: 1,下面编译运行没问题 #include <iostream> #include <unordered_map> #include <functional> using namespace std; void solve() { int x=100; typedef int (*MyType)(in 阅读全文
posted @ 2022-06-04 22:34 Bigben 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 汇编语言一发入魂 – 杨河老李 (kviccn.github.io) 阅读全文
posted @ 2022-05-10 21:14 Bigben 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 函数可以看作是一个普通变量。可被存储在集合或结构中,作为参数传递给其他函数,或作为函数的返回值。 高阶函数:能够接收函数作为参数或者返回函数作为结果的函数。 filter:过滤后集合类型不变 一个类型:T 包含T类型的集合:Collection<T> or C<T> filter函数原型就可以写作: 阅读全文
posted @ 2022-05-04 16:43 Bigben 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 一、以前的类前缀 Render 都被替换成了 Layout?? (比如 core/dom/RenderTreeBuilder.cpp 换成了 \third_party\blink\renderer\core\dom\layout_tree_builder.cc LayoutObject,以前是 Re 阅读全文
posted @ 2022-03-30 16:03 Bigben 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 利用wasm绘制图的一些参考: fhtr.org/gravityring/sprites.html 用Canvas + WASM画一个迷宫 - 知乎 (zhihu.com) WebGL 重置画布尺寸 (webglfundamentals.org) canvaskit demo https://dem 阅读全文
posted @ 2022-03-10 09:26 Bigben 阅读(581) 评论(0) 推荐(0) 编辑
摘要: class A { public: void test() { std::cout << "test" << std::endl; } }; class B : public A { public: void test2() { std::cout << "test2" << std::endl; 阅读全文
posted @ 2022-01-18 18:44 Bigben 阅读(159) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-01-06 14:57 Bigben 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-01-06 14:55 Bigben 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 开启drawf这种调试文件后,可以调试。 在docker中运行,或者远程机器运行时,源码不在本地。需要利用源码路径重映射。将wasm里面显示的file://路径,重新指定成本地复制的源码路径: 在扩展c++ devtools 的选项中设置路径映射: WebAssembly debugging sup 阅读全文
posted @ 2021-12-31 15:29 Bigben 阅读(148) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/a/1190000040867861 最近在研究 WebAssembly,也写了几篇全面介绍的文章: 高级前端进阶:我是如何把 C/C++ 代码跑在浏览器上的? 快 11K Star 的 WebAssembly,你应该这样学 本文是学习 WebAss 阅读全文
posted @ 2021-12-31 15:13 Bigben 阅读(2196) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-12-30 17:47 Bigben 阅读(0) 评论(0) 推荐(0) 编辑
摘要: gcc -o、-g选项 -O设置一共有五种:-O0、-O1、-O2、-O3和-Os。你只能在/etc/make.conf里面设置其中的一种。 除了-O0以外,每一个-O设置都会多启用几个选项,请查阅gcc手册的优化选项章节,以便了解每个-O等级启用了哪些选项及它们有何作用。 让我们来逐一考察各个优化 阅读全文
posted @ 2021-12-30 15:20 Bigben 阅读(181) 评论(0) 推荐(0) 编辑