Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 1004 (0.27 sec)

  1. src/bufio/bufio_test.go

    // avoided.
    func TestWriterReadFromCounts(t *testing.T) {
    	var w0 writeCountingDiscard
    	b0 := NewWriterSize(&w0, 1234)
    	b0.WriteString(strings.Repeat("x", 1000))
    	if w0 != 0 {
    		t.Fatalf("write 1000 'x's: got %d writes, want 0", w0)
    	}
    	b0.WriteString(strings.Repeat("x", 200))
    	if w0 != 0 {
    		t.Fatalf("write 1200 'x's: got %d writes, want 0", w0)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
Back to top