Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Hare (0.15 sec)

  1. src/bufio/bufio_test.go

    		}
    	}
    }
    
    // Test that UnreadRune fails if the preceding operation was not a ReadRune.
    func TestUnreadRuneError(t *testing.T) {
    	buf := make([]byte, 3) // All runes in this test are 3 bytes long
    	r := NewReader(&StringReader{data: []string{"日本語日本語日本語"}})
    	if r.UnreadRune() == nil {
    		t.Error("expected error on UnreadRune from fresh buffer")
    	}
    	_, _, err := r.ReadRune()
    	if err != nil {
    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/archive/zip/reader_test.go

    		return
    	}
    
    	// bail if file is not zip
    	if err == ErrFormat {
    		return
    	}
    
    	// bail here if no Files expected to be tested
    	// (there may actually be files in the zip, but we don't care)
    	if zt.File == nil {
    		return
    	}
    
    	if z.Comment != zt.Comment {
    		t.Errorf("comment=%q, want %q", z.Comment, zt.Comment)
    	}
    	if len(z.File) != len(zt.File) {
    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)
  3. src/cmd/cgo/gcc.go

    // white space characters while taking into account quotes and escaping, and
    // returns an array of substrings of s or an empty list if s contains only white space.
    // Single quotes and double quotes are recognized to prevent splitting within the
    // quoted region, and are removed from the resulting substrings. If a quote in s
    // isn't closed err will be set and r will have the unclosed argument as the
    // last element. The backslash is used for escaping.
    //
    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/arm.s

    	RET
    
    // More B/BL cases, and canonical names JMP, CALL.
    
    	BEQ	2(PC)
    	B	foo(SB) // JMP foo(SB)
    	BL	foo(SB) // CALL foo(SB)
    	BEQ	2(PC)
    	JMP	foo(SB)
    	CALL	foo(SB)
    
    // CMPF and CMPD are special.
    	CMPF F1, F2
    	CMPD F1, F2
    
    // AND
    	AND	$255, R0, R1         // ff1000e2
    	AND	$4278190080, R0, R1  // ff1400e2
    	AND.S	$255, R0, R1         // ff1010e2
    	AND.S	$4278190080, R0, R1  // ff1410e2
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 15 20:51:01 GMT 2023
    - 69K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    }
    
    func sliceOfString(s [][]byte) []string {
    	result := make([]string, len(s))
    	for i, v := range s {
    		result[i] = string(v)
    	}
    	return result
    }
    
    // For ease of reading, the test cases use strings that are converted to byte
    // slices before invoking the functions.
    
    var abcd = "abcd"
    var faces = "☺☻☹"
    var commas = "1,2,3,4"
    var dots = "1....2....3....4"
    
    type BinOpTest struct {
    	a string
    	b string
    	i int
    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)
  6. src/cmd/asm/internal/asm/testdata/ppc64.s

    	// and accept the same constants.
    	MOVW $2147483648, R5            // 64058000
    	MOVWZ $-2147483648, R5          // 3ca08000
    
    	// TODO: These are preprocessed by the assembler into MOVD $const>>shift, R5; SLD $shift, R5.
    	//       This only captures the MOVD. Should the SLD be appended to the encoding by the test?
    	// Hex constant 0x20004000000
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
Back to top