Deprecated
Use GitHub One Dark Theme instead.
FORMATS | |
EntryLo0 & EntryLo1: | |
00 pppppppppppppppppppppppp ccc d v g | |
(32-bit: 2.24.3.1.1.1) | |
p = Page frame number; the upper bits of the physical address. | |
c = Specifies the TLB page coherency attribute. (See below) | |
d = Dirty. If this bit is set, the page is marked as dirty and, therefore, writable | |
This bit is actually a write-protect bit that software can use to prevent alteration |
package main | |
import "fmt" | |
// fibonacci is a function that returns | |
// a function that returns an int. | |
func fibonacci() func() int { | |
x, y := 0, 1 | |
return func() int { | |
x, y = y, x + y |
Use GitHub One Dark Theme instead.
[2019-09-10T06:47:33Z TRACE wgpu_native::command::allocator] recycling comb submitted in 194 when 194 is done | |
[2019-09-10T06:47:33Z TRACE wgpu_native::command::allocator] recycling comb submitted in 193 when 194 is done | |
[2019-09-10T06:47:33Z TRACE winit::platform_impl::platform::window_delegate] Triggered `windowWillEnterFullscreen:` | |
[2019-09-10T06:47:33Z TRACE winit::platform_impl::platform::window_delegate] Locked shared state in `window_will_enter_fullscreen` | |
[2019-09-10T06:47:33Z TRACE winit::platform_impl::platform::window_delegate] Unlocked shared state in `window_will_enter_fullscreen` | |
[2019-09-10T06:47:33Z TRACE winit::platform_impl::platform::window_delegate] Completed `windowWillEnterFullscreen:` | |
[2019-09-10T06:47:33Z TRACE winit::platform_impl::platform::window_delegate] Triggered `windowDidResize:` | |
[2019-09-10T06:47:33Z INFO shadow::framework] Resizing to PhysicalSize { width: 3840.0, height: 2400.0 } | |
[2019-09-10T06:47:33Z INFO wgpu_native::device] creating swap chain SwapChainDescriptor { usage |
$ RUST_LOG=info cargo run --bin colour-uniform --features metal | |
Compiling hal-examples v0.1.0 (/Users/parasyte/other-projects/gfx/examples) | |
Finished dev [unoptimized + debuginfo] target(s) in 11.09s | |
Running `/Users/parasyte/other-projects/gfx/target/debug/colour-uniform` | |
Chosen: AdapterInfo { name: "AMD Radeon Pro 560", vendor: 0, device: 0, device_type: DiscreteGpu } | |
AdapterInfo { name: "Intel(R) HD Graphics 630", vendor: 0, device: 0, device_type: IntegratedGpu } | |
Limits { max_image_1d_size: 16384, max_image_2d_size: 16384, max_image_3d_size: 2048, max_image_cube_size: 16384, max_image_array_layers: 2048, max_texel_elements: 268435456, max_uniform_buffer_range: 1073741824, max_storage_buffer_range: 1073741824, max_push_constants_size: 4096, max_memory_allocation_count: 4096, max_sampler_allocation_count: 18446744073709551615, max_bound_descriptor_sets: 8, max_framebuffer_layers: 2048, max_per_stage_descriptor_samplers: 16, max_per_stage_descriptor_uniform_buffers: 31, max_per_stage_descriptor_sto |
Given the sequence A000045 and an input parameter n, produce the Nth number in the sequence.
/* | |
* Copyright (c) 2014, Jay Oster | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* 1. Redistributions of source code must retain the above copyright notice, | |
* this list of conditions and the following disclaimer. | |
* 2. Redistributions in binary form must reproduce the above copyright notice, |
#!/usr/bin/env bash | |
# With revisions from @parasyte for macOS compatibility | |
# Requires bash >= 5 (mapfile) | |
if [[ "$1" == "--keep-versions" ]]; then | |
keep_versions="1" | |
fi | |
purple="\e[0;35m" | |
reset="\e[0m" |
*) Bugfix: socket leak when using HTTP/2.
*) Bugfix: in the $realip_remote_addr variable.
I assume no responsibility for the use of these instructions, or any negative impact they may have. You probably shouldn't do this. (Unless you really, truly hate vile cruftware like Java.)
⌘ + R
until Apple Logo appears.