- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for 01234 (0.02 seconds)
-
src/archive/tar/reader_test.go
wantSize: 01234, }, { input: makeInput(FormatGNU, "1234", append(makeSparseStrings(sparseDatas{{0, 0}, {1, 1}}), []string{"", "blah"}...)...), wantMap: sparseDatas{{0, 0}, {1, 1}}, wantSize: 01234, }, { input: makeInput(FormatGNU, "3333", makeSparseStrings(sparseDatas{{0, 1}, {2, 1}, {4, 1}, {6, 1}})...), wantMap: sparseDatas{{0, 1}, {2, 1}, {4, 1}, {6, 1}}, wantSize: 03333, }, {Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 47.5K bytes - Click Count (0) -
src/bytes/buffer_test.go
var buf Buffer buf.WriteRune(r) check(t, fmt.Sprintf("TestWriteInvalidRune (%d)", r), &buf, "\uFFFD") } } func TestNext(t *testing.T) { b := []byte{0, 1, 2, 3, 4} tmp := make([]byte, 5) for i := 0; i <= 5; i++ { for j := i; j <= 5; j++ { for k := 0; k <= 6; k++ { // 0 <= i <= j <= 5; 0 <= k <= 6 // Check that if we start with a buffer
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/ppc64_p10.s
PLHA 1234(R1), $0, R3 // 06000000a86104d2 PLHZ 1234(R1), $0, R3 // 06000000a06104d2 PLQ 1234(R1), $0, R4 // 04000000e08104d2 PLWA 1234(R1), $0, R3 // 04000000a46104d2 PLWZ 1234567890(R4), $0, R3 // 06004996806402d2 PLWZ 1234567890(R0), $1, R3 // 06104996806002d2 PLXSD 1234(R1), $0, V1 // 04000000a82104d2
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Mar 23 20:52:57 GMT 2023 - 14.3K bytes - Click Count (0) -
cmd/post-policy_test.go
// Add the credential string, only accept the credential passed. credentialConditionStr := fmt.Sprintf(`["eq", "$x-amz-credential", "%s"]`, credential) // Add the meta-uuid string, set to 1234 uuidConditionStr := fmt.Sprintf(`["eq", "$x-amz-meta-uuid", "%s"]`, "1234") // Add the content-encoding string, set to gzip. contentEncodingConditionStr := fmt.Sprintf(`["eq", "$content-encoding", "%s"]`, "gzip") // Combine all conditions into one string.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 30.6K bytes - Click Count (0) -
src/archive/zip/zip_test.go
UncompressedSize: 987654321, ModifiedTime: 1234, ModifiedDate: 5678, } testHeaderRoundTrip(fh, fh.UncompressedSize, uint64(fh.UncompressedSize), t) } func TestFileHeaderRoundTrip64(t *testing.T) { fh := &FileHeader{ Name: "foo.txt", UncompressedSize64: 9876543210, ModifiedTime: 1234, ModifiedDate: 5678, }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu May 23 01:00:11 GMT 2024 - 19.6K bytes - Click Count (0) -
cmd/endpoint_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.9K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer_test.go
t.Fatalf("expect free 0 bytes but got %d. r.w=%d, r.r=%d", rb.Free(), rb.w, rb.r) } if !bytes.Equal(append(buf, rb.Bytes(nil)...), []byte(strings.Repeat("abcd", 16)+strings.Repeat("1234", 4))) { t.Fatalf("expect 16 abcd and 4 1234 but got %s. r.w=%d, r.r=%d", rb.Bytes(nil), rb.w, rb.r) } } func TestRingBuffer_WriteBlocking(t *testing.T) { rb := New(64).SetBlocking(true) // check empty or full if !rb.IsEmpty() {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
src/bytes/example_test.go
var buf bytes.Buffer for i := 0; i < 4; i++ { b := buf.AvailableBuffer() b = strconv.AppendInt(b, int64(i), 10) b = append(b, ' ') buf.Write(b) } os.Stdout.Write(buf.Bytes()) // Output: 0 1 2 3 } func ExampleBuffer_Cap() { buf1 := bytes.NewBuffer(make([]byte, 10)) buf2 := bytes.NewBuffer(make([]byte, 0, 10)) fmt.Println(buf1.Cap()) fmt.Println(buf2.Cap()) // Output: // 10 // 10 }Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon May 12 16:07:54 GMT 2025 - 16.5K bytes - Click Count (0) -
src/archive/tar/strconv_test.go
{"320330\x00 ", 0320330, true}, {"0000660\x00 ", 0660, true}, {"\x00 0000660\x00 ", 0660, true}, {"0123456789abcdef", 0, false}, {"0123456789\x00abcdef", 0, false}, {"01234567\x0089abcdef", 342391, true}, {"0123\x7e\x5f\x264123", 0, false}, } for _, v := range vectors { var p parser got := p.parseNumeric([]byte(v.in)) ok := (p.err == nil) if ok != v.ok { if v.ok {Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 11 17:52:43 GMT 2025 - 15K bytes - Click Count (0) -
src/archive/zip/writer_test.go
func TestWriterDirAttributes(t *testing.T) { var buf bytes.Buffer w := NewWriter(&buf) if _, err := w.CreateHeader(&FileHeader{ Name: "dir/", Method: Deflate, CompressedSize64: 1234, UncompressedSize64: 5678, }); err != nil { t.Fatal(err) } if err := w.Close(); err != nil { t.Fatal(err) } b := buf.Bytes() var sig [4]byte
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 14.4K bytes - Click Count (0)