Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for u_size (0.26 sec)

  1. src/bufio/bufio_test.go

    	}
    
    	if got, want := rfw.writeBytes, bufsize; got != want {
    		t.Errorf("wrote %v bytes with Write, want %v", got, want)
    	}
    	if got, want := rfw.readFromBytes, len(input)-bufsize; got != want {
    		t.Errorf("wrote %v bytes with ReadFrom, want %v", got, want)
    	}
    }
    
    func TestReadZero(t *testing.T) {
    	for _, size := range []int{100, 2} {
    		t.Run(fmt.Sprintf("bufsize=%d", size), func(t *testing.T) {
    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/cgo/gcc.go

    			Elt: sub.Go,
    		}
    		// Recalculate t.Size now that we know sub.Size.
    		t.Size = count * sub.Size
    		t.C.Set("__typeof__(%s[%d])", sub.C, dt.Count)
    
    	case *dwarf.BoolType:
    		t.Go = c.bool
    		t.Align = 1
    
    	case *dwarf.CharType:
    		if t.Size != 1 {
    			fatalf("%s: unexpected: %d-byte char type - %s", lineno(pos), t.Size, dtype)
    		}
    		t.Go = c.int8
    		t.Align = 1
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. api/go1.16.txt

    pkg syscall (darwin-arm64), const CS7 ideal-int
    pkg syscall (darwin-arm64), const CS8 = 768
    pkg syscall (darwin-arm64), const CS8 ideal-int
    pkg syscall (darwin-arm64), const CSIZE = 768
    pkg syscall (darwin-arm64), const CSIZE ideal-int
    pkg syscall (darwin-arm64), const CSTART = 17
    pkg syscall (darwin-arm64), const CSTART ideal-int
    pkg syscall (darwin-arm64), const CSTATUS = 20
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  4. api/go1.14.txt

    pkg syscall (freebsd-arm64), const CS7 ideal-int
    pkg syscall (freebsd-arm64), const CS8 = 768
    pkg syscall (freebsd-arm64), const CS8 ideal-int
    pkg syscall (freebsd-arm64), const CSIZE = 768
    pkg syscall (freebsd-arm64), const CSIZE ideal-int
    pkg syscall (freebsd-arm64), const CSTART = 17
    pkg syscall (freebsd-arm64), const CSTART ideal-int
    pkg syscall (freebsd-arm64), const CSTATUS = 20
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  5. doc/asm.html

    Constants are of the form <code>const_<i>name</i></code>.
    For example, given the Go declaration <code>const bufSize =
    1024</code>, assembly code can refer to the value of this constant
    as <code>const_bufSize</code>.
    </p>
    
    <p>
    Field offsets are of the form <code><i>type</i>_<i>field</i></code>.
    Struct sizes are of the form <code><i>type</i>__size</code>.
    For example, consider the following Go definition:
    </p>
    
    <pre>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. src/bufio/scan.go

    )
    
    const (
    	// MaxScanTokenSize is the maximum size used to buffer a token
    	// unless the user provides an explicit buffer with [Scanner.Buffer].
    	// The actual maximum token size may be smaller as the buffer
    	// may need to include, for instance, a newline.
    	MaxScanTokenSize = 64 * 1024
    
    	startBufSize = 4096 // Size of initial allocation for buffer.
    )
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  7. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const CS8 = 768 #53466
    pkg syscall (freebsd-riscv64), const CS8 ideal-int #53466
    pkg syscall (freebsd-riscv64), const CSIZE = 768 #53466
    pkg syscall (freebsd-riscv64), const CSIZE ideal-int #53466
    pkg syscall (freebsd-riscv64), const CSTART = 17 #53466
    pkg syscall (freebsd-riscv64), const CSTART ideal-int #53466
    pkg syscall (freebsd-riscv64), const CSTATUS = 20 #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg crypto/md5, const BlockSize = 64
    pkg crypto/md5, const Size = 16
    pkg crypto/sha1, const BlockSize = 64
    pkg crypto/sha1, const Size = 20
    pkg crypto/sha256, const BlockSize = 64
    pkg crypto/sha256, const Size = 32
    pkg crypto/sha256, const Size224 = 28
    pkg crypto/sha512, const BlockSize = 128
    pkg crypto/sha512, const Size = 64
    pkg crypto/sha512, const Size384 = 48
    pkg crypto/tls, const NoClientCert = 0
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/arm64.go

    	case "S2":
    		curSize = 2
    		curQ = 0
    	case "S4":
    		curSize = 2
    		curQ = 1
    	case "D1":
    		curSize = 3
    		curQ = 0
    	case "D2":
    		curSize = 3
    		curQ = 1
    	default:
    		return 0, errors.New("invalid arrangement in ARM64 register list")
    	}
    	return (int64(curQ) & 1 << 30) | (int64(curSize&3) << 10), nil
    }
    
    // ARM64RegisterListOffset generates offset encoding according to AArch64 specification.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  10. src/archive/tar/tar_test.go

    		wantValid:    true,
    		wantInverted: []sparseEntry{{0, 5000}},
    	}, {
    		in: []sparseEntry{{1, 0}}, size: 0,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{-1, 0}}, size: 100,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{0, -1}}, size: 100,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{0, 0}}, size: -100,
    		wantValid: false,
    	}, {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top