- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for 01234567 (0.1 sec)
-
src/cmd/compile/internal/test/testdata/copy_test.go
mid [7]byte post [8]byte } //go:noinline func t7copy_ssa(y, x *[7]byte) { *y = *x } func testCopy7(t *testing.T) { a := T7{[8]byte{201, 202, 203, 204, 205, 206, 207, 208}, [7]byte{0, 1, 2, 3, 4, 5, 6}, [8]byte{211, 212, 213, 214, 215, 216, 217, 218}} x := [7]byte{100, 101, 102, 103, 104, 105, 106} t7copy_ssa(&a.mid, &x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 150.2K bytes - Viewed (0) -
doc/go1.17_spec.html
copy(dst, src []T) int copy(dst []byte, src string) int </pre> <p> Examples: </p> <pre> var a = [...]int{0, 1, 2, 3, 4, 5, 6, 7} var s = make([]int, 6) var b = make([]byte, 5) n1 := copy(s, a[0:]) // n1 == 6, s == []int{0, 1, 2, 3, 4, 5} n2 := copy(s, s[2:]) // n2 == 4, s == []int{2, 3, 4, 5, 4, 5} n3 := copy(b, "Hello, World!") // n3 == 5, b == []byte("Hello") </pre>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
src/reflect/all_test.go
} } }) } } var _i = 7 var valueToStringTests = []pair{ {123, "123"}, {123.5, "123.5"}, {byte(123), "123"}, {"abc", "abc"}, {T{123, 456.75, "hello", &_i}, "reflect_test.T{123, 456.75, hello, *int(&7)}"}, {new(chan *T), "*chan *reflect_test.T(&chan *reflect_test.T)"}, {[10]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, "[10]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux.go
LINUX_REBOOT_CMD_HALT = 0xcdef0123 LINUX_REBOOT_CMD_KEXEC = 0x45584543 LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc LINUX_REBOOT_CMD_RESTART = 0x1234567 LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4 LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2 LINUX_REBOOT_MAGIC1 = 0xfee1dead
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 185.8K bytes - Viewed (0) -
src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2
the same sort of Rays at equal Angles of Incidence on any thin transparent Plate, is alternately reflected and transmitted for many Successions accordingly as the thickness of the Plate increases in arithmetical Progression of the Numbers, 0, 1, 2, 3, 4, 5, 6, 7, 8, &c. so that if the first Reflexion (that which makes the first or innermost of the Rings of Colours there described) be made at the thickness 1, the Rays shall be transmitted at the thicknesses 0, 2, 4, 6, 8, 10, 12, &c. and thereby make...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 24 18:26:02 UTC 2018 - 129.4K bytes - Viewed (0)