C++20's be/WX3OmVu4lAs) • time_zone and time_zone_link (https://youtu.be/MODhhr7m-5s) • system_clock::now(), file_clock, leap second awareness (https://youtu.be/c7DT28TV0AY)9 Part II: Calendrical Types10 Calendrical ([time.clock]) Existing clocks (pre-C++20) • system_clock • (file_clock) New clocks (in C++20) • utc_clock • tai_clock • gps_clock • (file_clock)21 C++20’s chrono adds several new clocks ([time.clock]) clock]) Existing clocks (pre-C++20) • system_clock • (file_clock) New clocks (in C++20) • utc_clock • tai_clock • gps_clock • (file_clock)22 Why have all these different clocks? Clock Epoch General0 码力 | 55 页 | 8.67 MB | 6 月前3
C++20: An (Almost) Complete Overviewof module imports is not important8 Modules Create a module: // cppcon.cppm – Module Interface File export module cppcon; // Module declaration namespace CppCon { auto GetWelcomeHelper() { return since 00:00:00, 6 January 1980 UTC, it does not include leap seconds file_clock: alias for the clock used for std::filesystem::file_time_type, epoch is unspecified63 Calendars & Timezones New type 2020"); // ====CppCon 2020==== cout << format("Read {0} bytes from {1}", n, "file1.txt"); cout << format(" 从 {1} 中读取 {0} 个字节。 ", n, "file1.txt"); “C++20 String Formatting Library: An Overview and Use with Custom0 码力 | 85 页 | 512.18 KB | 6 月前3
whats new in visual studioBuild Debug Edit Find in Files 1.8x faster 1 2 0 5 10 15 20 25 30 35 40 45 50 47 27 Series1 Open C++ File 2.4x faster 1 2 0 0.5 1 1.5 2 2.5 2.02 0.82 Series1 IntelliSense Ready* 1.9x faster *) Colorization Visual Studio Developer inner-loop Build Debug Edit Find in Files 1.8x faster Open C++ File 2.4x faster IntelliSense Ready* 1.9x faster *) Colorization + Member List Open Member List 29% At CppCon last year Developer inner-loop Build Debug Edit Find in Files 1.8x faster Open C++ File 2.4x faster IntelliSense Ready* 1.9x faster *) Colorization + Member List Open Member List 29%0 码力 | 42 页 | 19.02 MB | 6 月前3
基于Rust-vmm实现Kubernetes运行时Isolation Challenges • Noisy neighbor −Impact performance on CPU, Memory, Bandwidth, Buffer IO, PIDs, File descriptors # kubectl run --rm -it bb --image=busybox sh / # f(){ f|f& };f # WARNING: Agent gVisor Guest Kernel O C I Gofer container container Pod Sandbox Sentry KVM/ptrace File Access OCI Implementation Limited Syscall H O S T K E R N E L Comparison Solution Typical vm-memory acpi linux-loader kvm-ioctls vm-virtio vsock net VFIO APIC vhost Cloud Hypervisor KVM File System Device Driver Host Linux Kernel vCPU block Memory Guest VM containerd + Kata-runtime create0 码力 | 27 页 | 34.17 MB | 1 年前3
C++高性能并行编程与优化 - 课件 - 16 现代 CMake 模块化项目管理指南里指定的路径都是相对路径 ,所以这里指定 src 实际上是:根 /biology/src 。 复习: GLOB 和 GLOB_RECRUSE 的区别 • file (GLOB myvar CONFIGURE_DEPENDS src/*.cpp) • file (GLOB_RECURSE myvar CONFIGURE_DEPENDS src/*.cpp) • 疑问 1 :都是按照通配符批量匹配文件,有什么区别? CONFIG REQUIRED) 避免被 CMake 自带的 Find 文件误导找到别的地方(而非 vcpkg 安装的那个)的库。 • 另外注意 vcpkg 需要的 CMAKE_TOOLCHAIN_FILE 如果你用 set 设置,必须在 project 命令前面,并且修改这个变量后要删除 build 目录重新 cmake -B build 一遍才能 生效(否则会在旧的环境里找,找不到 vcpkg0 码力 | 56 页 | 6.87 MB | 1 年前3
sync clickhouse with mysql mongodb○ Not suitable for multi-column primary key Our Solution: PTS Key Features ● Only one config file needed for a new Clickhouse table ● Init and keep syncing data in one app for a table ● Sync multiple because of SQL length (Put ids in a Memory Engine temp table) Final Product ● Only one config file needed for a new Clickhouse table ● Init and keep syncing data in one app for a table ● Sync multiple0 码力 | 38 页 | 2.25 MB | 1 年前3
Автоматизация управления ClickHouse-кластерами в Kubernetesoperator – управление кластером как ОДНИМ РЕСУРСОМ ClickHouse Operator ClickHouseInstallation YAML file Лицензия: Apache 2.0, Распространяется как Docker image ClickHouse cluster resources kubectl Operator = deployment + monitoring + operation ClickHouse Operator ClickHouseInstallation YAML file ClickHouse cluster resources Kubernetes API zz zz Monitoring Healthchecks План работ ● Наследование0 码力 | 44 页 | 2.24 MB | 1 年前3
应用 waPC (rust) 做软件测试工具x86_64, … cargo build —target wasm- unknown-unknown waPC Host (Go) waPC Guest Rust • Read wasm file • Select engine • Wazero • Wasmer-go • Wasmertime-go • Define hostcall capability • Instantiate send to wasm mock server • Let Wasm Mock Server send http request • 升级平台能解决不一致的问题 • Each rust file can be compiled into wasm separately • Won’t exhaust memory • A test suite panic will not implicate0 码力 | 30 页 | 2.50 MB | 1 年前3
Visualize Time Enabled Data using ArcGIS Qt (C++) and Toolkithttps://github.com/Esri/arcgis-runtime-toolkit-qt • How: - Clone the repository and import the path in .pro file in Qt Creator - Register your components in main.cppArcGIS Runtime Toolkit for Qt • Time slider0 码力 | 10 页 | 734.09 KB | 6 月前3
Harbor Deep Dive - Open source trusted cloud native registrycomponents SQL Database Key/Value Storage Persistence components Local or Remote Storage (block, file, object) Users (GUI/API) Container Schedulers/Runtimes Consumers LDAP/Active Directory Supporting0 码力 | 15 页 | 8.40 MB | 1 年前3
共 22 条
- 1
- 2
- 3













