Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for 5000 (0.17 sec)

  1. src/archive/tar/tar_test.go

    		wantInverted: []sparseEntry{{0, 2000}, {4000, 1000}},
    	}, {
    		in: []sparseEntry{{0, 2000}, {8000, 2000}}, size: 10000,
    		wantValid:    true,
    		wantAligned:  []sparseEntry{{0, 1536}, {8192, 1808}},
    		wantInverted: []sparseEntry{{2000, 6000}, {10000, 0}},
    	}, {
    		in: []sparseEntry{{0, 2000}, {2000, 2000}, {4000, 0}, {4000, 3000}, {7000, 1000}, {8000, 0}, {8000, 2000}}, size: 10000,
    		wantValid:    true,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    	// that fails and replaced ever char through numbers to anonymize the sample.
    	longName := "/0000_0000000/00000-000000000/0000_0000000/00000-0000000000000/0000_0000000/00000-0000000-00000000/0000_0000000/00000000/0000_0000000/000/0000_0000000/00000000v00/0000_0000000/000000/0000_0000000/0000000/0000_0000000/00000y-00/0000/0000/00000000/0x000000/"
    	hdr.Name = longName
    
    	hdr.Size = 0
    	var buf bytes.Buffer
    	writer := NewWriter(&buf)
    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)
  3. src/bytes/buffer_test.go

    	n := testing.AllocsPerRun(100, func() {
    		got.Reset()
    		for i := 0; i < 1000; i++ {
    			b := got.AvailableBuffer()
    			b = strconv.AppendInt(b, int64(i), 10)
    			got.Write(b)
    		}
    	})
    	if n > 0 {
    		t.Errorf("allocations occurred while appending")
    	}
    }
    
    func TestRuneIO(t *testing.T) {
    	const NRune = 1000
    	// Built a test slice while we write the data
    	b := make([]byte, utf8.UTFMax*NRune)
    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)
  4. 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)
  5. 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)
  6. src/archive/zip/reader_test.go

    0000460 18 a6 83 1b e3 9f ad 79 fe fd 1b 8b f1 fc 41 6f
    0000470 d4 13 1f e3 b8 83 ba 64 92 e7 eb e4 77 05 8f ba
    0000480 fa 3b 00 00 ff ff 50 4b 07 08 a6 18 b1 91 5e 04
    0000490 00 00 e4 47 00 00 50 4b 01 02 14 00 14 00 08 00
    00004a0 08 00 00 00 00 00 a6 18 b1 91 5e 04 00 00 e4 47
    00004b0 00 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00
    00004c0 00 00 00 00 62 69 67 67 65 72 2e 7a 69 70 50 4b
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    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
    -1e-1000            float64     -1e-1000 rounds to IEEE -0.0 which is further simplified to 0.0
    0i                  int         0 is an integer value
    (42 + 0i)           float32     42.0 (with zero imaginary part) is in the set of float32 values
    </pre>
    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)
  8. src/cmd/asm/internal/asm/testdata/arm64.s

    	FSTPS	(F3, F4), 11(RSP)   // fb2f00916313002d
    	FSTPS	(F3, F4), 1024(RSP) // fb0310916313002d
    	FSTPS	(F3, F4), x(SB)
    	FSTPS	(F3, F4), x+8(SB)
    
    // FLDPQ/FSTPQ
    	FLDPQ   -4000(R0), (F1, F2)  // 1b803ed1610b40ad
    	FLDPQ	-1024(R0), (F1, F2)  // 010860ad
    	FLDPQ	(R0), (F1, F2)       // 010840ad
    	FLDPQ	16(R0), (F1, F2)     // 018840ad
    	FLDPQ	-16(R0), (F1, F2)    // 01887fad
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
  9. 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)
  10. src/bytes/bytes_test.go

    		if got := IndexRune([]byte(tt.in), tt.rune); got != tt.want {
    			t.Errorf("IndexRune(%q, %d) = %v; want %v", tt.in, tt.rune, got, tt.want)
    		}
    	}
    
    	haystack := []byte("test世界")
    	allocs := testing.AllocsPerRun(1000, func() {
    		if i := IndexRune(haystack, 's'); i != 2 {
    			t.Fatalf("'s' at %d; want 2", i)
    		}
    		if i := IndexRune(haystack, '世'); i != 4 {
    			t.Fatalf("'世' at %d; want 4", i)
    		}
    	})
    	if allocs != 0 {
    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)
Back to top