- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for 1004 (0.28 sec)
-
src/bytes/buffer_test.go
tmp := make([]byte, 72) for _, growLen := range []int{0, 100, 1000, 10000, 100000} { for _, startLen := range []int{0, 100, 1000, 10000, 100000} { xBytes := Repeat(x, startLen) buf := NewBuffer(xBytes) // If we read, this affects buf.off, which is good to test. readBytes, _ := buf.Read(tmp) yBytes := Repeat(y, growLen) allocs := testing.AllocsPerRun(100, func() { buf.Grow(growLen) buf.Write(yBytes)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue18146.go
t.Skipf("skipping flaky test on %s; see golang.org/issue/18202", runtime.GOOS) } if runtime.GOARCH == "mips" || runtime.GOARCH == "mips64" { t.Skipf("skipping on %s", runtime.GOARCH) } attempts := 1000 threads := 4 // Restrict the number of attempts based on RLIMIT_NPROC. // Tediously, RLIMIT_NPROC was left out of the syscall package, // probably because it is not in POSIX.1, so we define it here.
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Sep 05 23:35:32 GMT 2023 - 2.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/operand_test.go
{"$0x02", "$2"}, {"$0x04", "$4"}, {"$0x3FE", "$1022"}, {"$0x7fffffe00000", "$140737486258176"}, {"$0xfffffffffffff001", "$-4095"}, {"$1", "$1"}, {"$1.0", "$(1.0)"}, {"$10", "$10"}, {"$1000", "$1000"}, {"$1000000", "$1000000"}, {"$1000000000", "$1000000000"}, {"$__tsan_func_enter(SB)", "$__tsan_func_enter(SB)"}, {"$main(SB)", "$main(SB)"}, {"$masks<>(SB)", "$masks<>(SB)"},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 23.9K bytes - Viewed (0) -
doc/go1.17_spec.html
1024 int16 1024 is in the set of 16-bit integers 42.0 byte 42 is in the set of unsigned 8-bit integers 1e10 uint64 10000000000 is in the set of unsigned 64-bit integers 2.718281828459045 float32 2.718281828459045 rounds to 2.7182817 which is in the set of float32 values
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
api/next/62254.txt
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Feb 20 06:04:31 GMT 2024 - 758 bytes - Viewed (0) -
src/archive/tar/format.go
} // reset clears the block with all zeros. func (b *block) reset() { *b = block{} } type headerV7 [blockSize]byte func (h *headerV7) name() []byte { return h[000:][:100] } func (h *headerV7) mode() []byte { return h[100:][:8] } func (h *headerV7) uid() []byte { return h[108:][:8] } func (h *headerV7) gid() []byte { return h[116:][:8] } func (h *headerV7) size() []byte { return h[124:][:12] }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 11.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/ppc64.s
ADDEX R3, R5, $3, R6 // 7cc32f54 ADDEX R3, $3, R5, R6 // 7cc32f54 ADDIS $8, R3 // 3c630008 ADD $524288, R3 // 3c630008 ADDIS $1000, R3, R4 // 3c8303e8 ANDCC $1, R3 // 70630001 ANDCC $1, R3, R4 // 70640001 ANDCC $-1, R4 // 3be0ffff7fe42039
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Apr 24 15:53:25 GMT 2024 - 49K bytes - Viewed (0) -
src/bytes/bytes_test.go
for i := 0; i <= len(b)-15; i++ { for j := 0; j < 15; j++ { b[i+j] = byte(100 + j) } for j := 0; j < 15; j++ { p := IndexByte(b[i:i+15], byte(100+j)) if p != j { t.Errorf("IndexByte(%q, %d) = %d", b[i:i+15], 100+j, p) } } for j := 0; j < 15; j++ { b[i+j] = 0 } } // Make sure matches outside the slice never trigger.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
doc/go_spec.html
1024 int16 1024 is in the set of 16-bit integers 42.0 byte 42 is in the set of unsigned 8-bit integers 1e10 uint64 10000000000 is in the set of unsigned 64-bit integers 2.718281828459045 float32 2.718281828459045 rounds to 2.7182817 which is in the set of float32 values
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0) -
src/archive/tar/writer_test.go
{Offset: 0e10, Length: 1e10 - 100}, {Offset: 1e10, Length: 1e10 - 100}, {Offset: 2e10, Length: 1e10 - 100}, {Offset: 3e10, Length: 1e10 - 100}, {Offset: 4e10, Length: 1e10 - 100}, {Offset: 5e10, Length: 1e10 - 100}, }, }, nil}, testReadFrom{fileOps{ int64(1e10 - blockSize), strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 27 16:39:23 GMT 2024 - 38.7K bytes - Viewed (0)