Using the Microsoft Graph API to get Office 365 data in your mobile apps
Using the Microsoft Graph API to get Office 365 data in your mobile apps Alex Ziskind Technical Director @digitalix www.nuvious.com Hi, I’m Alex From + 750 Million 50 Million per month Problems0 码力 | 15 页 | 7.00 MB | 1 年前3Lock-Free Atomic Shared Pointers Without a Split Reference Count? It Can Be Done!
Atomics and concurrency patterns • How existing atomicare implemented (the split reference count technique) • Deferred reclamation, i.e., garbage collection in C++ Some assumed knowledge Atomics and concurrency patterns • How existing atomic are implemented (the split reference count technique) • Deferred reclamation, i.e., garbage collection in C++ Some assumed knowledge control_block pointer as a lock26 Daniel Anderson -- danielanderson.net Solution #2: The split reference count • Used by Folly (Facebook open-source library, used in production), • Used by JustThreads 0 码力 | 45 页 | 5.12 MB | 5 月前3C++23: An Overview of Almost All New and Updated Features
2nd, 3rd, 4th, and 5th Edition Co-author of C++ Standard Library Quick Reference& C++17 Standard Library Quick Reference Founder of the Belgian C++ Users Group (BeCPP) C++204 Agenda C++23 a value, false otherwise value(): returns reference to the contained value, or throws bad_expected_access if no value error(): returns reference to the error91 Agenda C++23 Core Language fails: std::cout << Process([p = std::make_unique(42)] { return *p; }); “Attempting to reference a deleted function” The copy ctor of the std::function tries to copy the lambda, which is not 0 码力 | 105 页 | 759.96 KB | 5 月前3Visualize Time Enabled Data using ArcGIS Qt (C++) and Toolkit
elementsResources • ArcGIS Runtime API for Qt - https://developers.arcgis.com/qt/ • ArcGIS Runtime Toolkit for Qt API reference - https://developers.arcgis.com/qt/toolkit/api-reference/ • ArcGIS Runtime Toolkit0 码力 | 10 页 | 734.09 KB | 5 月前3Making Libraries Consumable for Non-C++ Developers
“width”. Explicitly state/document/reference function conventions. • Defining a macro for calling conventions is a great start. For example, MYLIB_CCONV. • Reference: llvm - CallingConv.h • Don’t throw memory management”. - Reference counted - C++ – std::shared_ptr- Python - Objective-C (manual or automatic – see ARC) - Swift - COM – AddRef()/Release() - Non-Reference counted - .NET - JVM have been deleted here, if allocator was known.Memory model – Reference Counted Memory lifetime is tracked explicitly through reference counting. This typically means allocation locations are static 0 码力 | 29 页 | 1.21 MB | 5 月前3Working with Asynchrony Generically: A Tour of C++ Executors
*/ } Because of the nested scopes, it’s safe to pass locals by reference to callees... … no dynamic allocation or reference counting needed.64 SENDER/RECEIVER IS ALSO STRUCTURED CONCURRENCY Profit!84 Step 1: Model key click as a sender85 MODEL KEYCLICK AS SENDER: STRATEGY 1. Assume system API for registering keyboard callback 2. Write a keyboard sender and op state such that: • ...the function stores the returned object in the operation state91 “SYSTEM” API FOR REGISTERING KEYBOARD CALLBACK // Fake system API for registering keyboard input callback: void register_keyboard_callback(void0 码力 | 121 页 | 7.73 MB | 5 月前3新一代分布式高性能图数据库的构建 - 沈游人
(or classes) of vertices and edges Labels 查询语言:基于 Cypher 贴合 ISO GQL Standard • Incorporate by reference specifications from SQL/Framework and SQL/Foundation • Capabilities needed by both SQL/PGQ (Property Cypher AST Unresolved Logical Plan Logical Plan Optimized Logical Plan Physical Plan Program API Analysis rules Optimization rules: MATCH -> pushdown Planning Strategies Graph Execution Code0 码力 | 38 页 | 24.68 MB | 1 年前3C++高性能并行编程与优化 - 课件 - 03 现代 C++ 进阶:模板元编程
constexpr 函数,可以放心大胆在模板尖括号内使用。 模板的难题:移到另一个文件中定义 • 如果我们试着像传统函数那样分离模板函数的声明与实现: • 就会出现 undefined reference 错误: 模板的难题:移到另一个文件中定义(续) • 这是因为编译器对模板的编译是惰性的,即只有当前 .cpp 文件用到了这个模板,该模板 里的函数才会被定义。而我们的 sumto.cpp 或者 int(*)(int) 即可。 • 函数指针效率更高一些,但是 [] 就没办法 捕获局部变量了(全局变量还是可以的) 。 • 最大的好处是可以伺候一些只接受函数指 针的 C 语言的 API 比如 pthread 和 atexit 。 lambda + 模板:双倍快乐 • 可以将 lambda 表达式的参数声明为 auto ,声明为 auto 的参数会自动根据调 用者给的参数推导类型,基本上和0 码力 | 82 页 | 12.15 MB | 1 年前3C++20: An (Almost) Complete Overview
Edition (C++20) coming later this year Co-author of C++ Standard Library Quick Reference& C++17 Standard Library Quick Reference Founder of the Belgian C++ Users Group (BeCPP)3 C++20 C++20 is big! Lots C++11: remove "atomic_" and use special // functions every time you touch head public: class reference { shared_ptrp; }; auto find(T t) const { auto p = head.load(); atomic_load(&head) while (p && p->t != t) p = p->next; return reference(move(p)); } auto front() const { return reference(head); } void push_front(T t) { auto p = make_shared (); 0 码力 | 85 页 | 512.18 KB | 5 月前3A Crash Course in Calendars, Dates, Time, and Time Zones
2nd, 3rd, 4th, and 5th Edition Co-author of C++ Standard Library Quick Reference& C++17 Standard Library Quick Reference Founder of the Belgian C++ Users Group (BeCPP) C++203 Agenda Compile-Time0 码力 | 43 页 | 551.60 KB | 5 月前3
共 33 条
- 1
- 2
- 3
- 4
相关搜索词
alexziskindpptxLockFreeAtomicSharedPointersWithoutSplitReferenceCountItCanBeDoneC++23AnOverviewofAlmostAllNewandUpdatedFeaturesVisualizeTimeEnabledDatausingArcGISQtToolkitMakingLibrariesConsumableforNonDevelopersWorkingwithAsynchronyGenericallyTourExecutors游人RustCCAtlasGraph高性性能高性能并行编程优化课件0320CompleteCrashCourseinCalendarsDatesZones