Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for rebear (0.15 sec)

  1. src/bufio/bufio_test.go

    	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)
    	}
    	io.Copy(b0, onlyReader{strings.NewReader(strings.Repeat("x", 30))})
    	if w0 != 0 {
    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/bytes/bytes_test.go

    func TestRepeat(t *testing.T) {
    	for _, tt := range RepeatTests {
    		tin := []byte(tt.in)
    		tout := []byte(tt.out)
    		a := Repeat(tin, tt.count)
    		if !Equal(a, tout) {
    			t.Errorf("Repeat(%q, %d) = %q; want %q", tin, tt.count, a, tout)
    			continue
    		}
    	}
    }
    
    func repeat(b []byte, count int) (err error) {
    	defer func() {
    		if r := recover(); r != nil {
    			switch v := r.(type) {
    			case error:
    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)
  3. src/cmd/cgo/gcc.go

    			// type and source locations of constant strings)
    			// like the second arg in the call below:
    			//
    			//     myfunction(42, "foo")
    			//
    			// If a var has no name we won't see attempts to
    			// refer to it via "C.<name>", so skip these vars
    			//
    			// See issue 53000 for more context.
    			if name == "" {
    				break
    			}
    			typOff, _ := e.Val(dwarf.AttrType).(dwarf.Offset)
    			if typOff == 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/arm64.s

    	MSR	R4, PMXEVTYPER_EL0                 // 249d1bd5
    	MRS	REVIDR_EL1, R29                    // dd0038d5
    	MRS	RMR_EL1, R4                        // 44c038d5
    	MSR	R0, RMR_EL1                        // 40c018d5
    	MRS	RVBAR_EL1, R7                      // 27c038d5
    	MRS	SCTLR_EL1, R8                      // 081038d5
    	MSR	R0, SCTLR_EL1                      // 001018d5
    	MRS	SCTLR_EL1, R30                     // 1e1038d5
    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)
Back to top