Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for male (0.17 sec)

  1. src/bufio/bufio_test.go

    		return read, io.EOF
    	}
    
    	return read, nil
    }
    
    func TestPartialReadEOF(t *testing.T) {
    	src := make([]byte, 10)
    	eofR := &eofReader{buf: src}
    	r := NewReader(eofR)
    
    	// Start by reading 5 of the 10 available bytes.
    	dest := make([]byte, 5)
    	read, err := r.Read(dest)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if n := len(dest); read != n {
    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

    	}
    }
    
    func TestInvalidFiles(t *testing.T) {
    	const size = 1024 * 70 // 70kb
    	b := make([]byte, size)
    
    	// zeroes
    	_, err := NewReader(bytes.NewReader(b), size)
    	if err != ErrFormat {
    		t.Errorf("zeroes: error=%v, want %v", err, ErrFormat)
    	}
    
    	// repeated directoryEndSignatures
    	sig := make([]byte, 4)
    	binary.LittleEndian.PutUint32(sig, directoryEndSignature)
    	for i := 0; i < size-4; i += 4 {
    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/asm/internal/asm/testdata/amd64enc_extra.s

    	VPERMPD $216, Y7, Y7 // c4e3fd01ffd8
    	// Check that LEAL is permitted to use overflowing offset.
    	LEAL 2400959708(BP)(R10*1), BP // 428dac15dcbc1b8f
    	LEAL 3395469782(AX)(R10*1), AX // 428d8410d6c162ca
    	// Make sure MOV CR/DR continues to work after changing its movtabs.
    	MOVQ CR0, AX // 0f20c0
    	MOVQ CR0, DX // 0f20c2
    	MOVQ CR4, DI // 0f20e7
    	MOVQ AX, CR0 // 0f22c0
    	MOVQ DX, CR0 // 0f22c2
    	MOVQ DI, CR4 // 0f22e7
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 57.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    // The same dwarf.StructType pointer will always get the same tag.
    var anonymousStructTag = make(map[*dwarf.StructType]string)
    
    func (c *typeConv) Init(ptrSize, intSize int64) {
    	c.ptrSize = ptrSize
    	c.intSize = intSize
    	c.m = make(map[string]*Type)
    	c.ptrs = make(map[string][]*Type)
    	c.getTypeIDs = make(map[string]bool)
    	c.incompleteStructs = make(map[string]bool)
    	c.bool = c.Ident("bool")
    	c.byte = c.Ident("byte")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    	if allocs > 0 {
    		t.Errorf("Equal allocated %v times", allocs)
    	}
    }
    
    func TestEqualExhaustive(t *testing.T) {
    	var size = 128
    	if testing.Short() {
    		size = 32
    	}
    	a := make([]byte, size)
    	b := make([]byte, size)
    	b_init := make([]byte, size)
    	// randomish but deterministic data
    	for i := 0; i < size; i++ {
    		a[i] = byte(17 * i)
    		b_init[i] = byte(23*i + 100)
    	}
    
    	for len := 0; len <= size; len++ {
    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/arm64.s

    	VREV32	V5.B16, V5.B16                  // a508206e
    	VREV64	V2.S2, V3.S2                    // 4308a00e
    	VREV64	V2.S4, V3.S4                    // 4308a04e
    
    // logical ops
    //
    // make sure constants get encoded into an instruction when it could
    	AND	R1@>33, R2
    	AND	$(1<<63), R1                        // AND	$-9223372036854775808, R1       // 21004192
    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