Composing Ancient Mathematical Knowledge Into Powerful Bit-fiddling
Composing Ancient Mathematical Knowledge Into Powerful Bit-fiddling techniques Jamie Pond -- CppCon 2024TLDW; New insights from Ancient Egyptian Multiplication gives us the freedom of synthesising iterationCount ← number of bits in type T result ← 0 while true do if most significant bit of multiplier is 1 then result ← result + multiplicand end if iterationCount lots of bit manipulation, but these operations are very cheap! ● Superscalar CPUs do speculative, out of order, parallel instruction execution via multiple execution units. ● Adding 8 8-bit ints takes0 码力 | 73 页 | 947.99 KB | 5 月前3Unity for Human Beings
have learned and mash it all together and create an application with it. The scripting is a little bit more involved than with section 2’s scripts. So, not only will my code be commented, but I will discuss the name Samples in it. The original sample rate is 12 and if you play the animation, it is going a bit too fast. Let’s change the sample rate from 12 to 5. Go back to the scene view and press specific buttons on the keyboard, I felt that controlling the sprite by mouse movement would be a bit more fun to code. Input is a utility built directly into MonoDevelop and does not use the built in0 码力 | 239 页 | 27.39 MB | 10 月前3Template Metaprogramming: Type Traits
beginner oriented: shallow depth, slow current 3Intended Audience • Beginner/Intermediate • Gentle entry: swimming pool to river • Part 1 is beginner oriented: shallow depth, slow current • Not necessarily Beginner/Intermediate • Gentle entry: swimming pool to river • Part 1 is beginner oriented: shallow depth, slow current • Not necessarily beginner to C++, but beginner to traditional template metaprogramming Beginner/Intermediate • Gentle entry: swimming pool to river • Part 1 is beginner oriented: shallow depth, slow current • Not necessarily beginner to C++, but beginner to traditional template metaprogramming0 码力 | 403 页 | 5.30 MB | 5 月前3Oracle VM VirtualBox 4.3.36 User Manual
45 3.1.1 Mac OS X guests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 3.1.2 64-bit guests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 3.2 Emulated hardware guest services on Linux . . . . . . . . . . . . . 165 9.4.2 Guest graphics and mouse driver setup in depth . . . . . . . . . . . . . 165 9.5 CPU hot-plugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220 12.5.1 Older Solaris 10 releases crash in 64-bit mode . . . . . . . . . . . . . . 220 12.5.2 Solaris 8 5/01 and earlier may crash on startup . . .0 码力 | 380 页 | 3.79 MB | 5 月前3Oracle VM VirtualBox 4.2.32 User Manual
44 3.1.1 Mac OS X guests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 3.1.2 64-bit guests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 3.2 Emulated hardware guest services on Linux . . . . . . . . . . . . . 157 9.4.2 Guest graphics and mouse driver setup in depth . . . . . . . . . . . . . 157 9.5 CPU hot-plugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 12.5.1 Older Solaris 10 releases hang in 64-bit mode . . . . . . . . . . . . . . 209 12.6 Windows hosts . . . . . . . . . . . . . . . . . . . . .0 码力 | 348 页 | 5.93 MB | 5 月前3Oracle VM VirtualBox 5.2.40 User Manual
47 3.1.1 Mac OS X guests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.1.2 64-bit guests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.2 Unattended guest installation guest services on Linux . . . . . . . . . . . . . 200 9.4.2 Guest graphics and mouse driver setup in depth . . . . . . . . . . . . . 200 9.5 CPU hot-plugging . . . . . . . . . . . . . . . . . . . . . . . record bluescreen information from Windows guests . . . . . . 266 12.3.6 PCnet driver failure in 32-bit Windows Server 2003 guests . . . . . . . 267 12.3.7 No networking in Windows Vista guests . . . .0 码力 | 387 页 | 4.27 MB | 5 月前3Oracle VM VirtualBox 5.2.12 User Manual
47 3.1.1 Mac OS X guests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.1.2 64-bit guests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.2 Unattended guest installation guest services on Linux . . . . . . . . . . . . . 199 9.4.2 Guest graphics and mouse driver setup in depth . . . . . . . . . . . . . 199 9.5 CPU hot-plugging . . . . . . . . . . . . . . . . . . . . . . . record bluescreen information from Windows guests . . . . . . 265 12.3.6 PCnet driver failure in 32-bit Windows Server 2003 guests . . . . . . . 266 12.3.7 No networking in Windows Vista guests . . . .0 码力 | 380 页 | 4.23 MB | 5 月前3Comprehensive Rust(English) 202412
up in class. 12 Chapter 1 Running the Course This page is for the course instructor. Here is a bit of background information about how we've been running the course internally at Google. We typically application processors are covered. For the microcontroller part, you will need to buy the BBC micro:bit v2 development board ahead of time. Everybody will need to install a number of packages as described Server Protocol support. Do not spend much time here. All of these points will be covered in more depth later. Make sure to ask the class which languages they have experience with. Depending on the answer0 码力 | 382 页 | 1.00 MB | 10 月前3Tracy: A Profiler You Don't Want to Miss
scope • zone name is inferred (enclosing function name) • zone color is automatic (per-thread and depth) 22 thread timeline zone statistics Tracy Zoning 101 int foo() { ZoneScoped; ... ... } } • ZoneScopedN • only 1 zone per scope • zone color is automatic (per-thread and depth) • you name it! (must be persistent string literal)• ZoneScoped[N]C • only 1 zone per scope • you the host application (e.g., a plugin)• ZoneScopedS(depth) • captures callstack • adds some overhead • useful for code exploration • max callstack depth: ~60 • (enables selective sampling profiling) • ZoneScoped[N|C|S]0 码力 | 85 页 | 6.51 MB | 5 月前3Oracle VM VirtualBox 4.1.40 User Manual
42 3.1.1 Mac OS X Server guests . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3.1.2 64-bit guests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3.2 Emulated hardware guest services on Linux . . . . . . . . . . . . . 148 9.4.2 Guest graphics and mouse driver setup in depth . . . . . . . . . . . . . 148 9.5 CPU hot-plugging . . . . . . . . . . . . . . . . . . . . . . . for understanding the following chapters of this documentation), it helps to acquaint oneself with a bit of crucial terminology, especially the following terms: Host operating system (host OS). This is the0 码力 | 310 页 | 4.87 MB | 5 月前3
共 282 条
- 1
- 2
- 3
- 4
- 5
- 6
- 29