Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for Int64 (0.51 sec)

  1. src/archive/zip/reader.go

    	// just ignore these.
    
    	return nil
    }
    
    func readDirectoryEnd(r io.ReaderAt, size int64) (dir *directoryEnd, baseOffset int64, err error) {
    	// look for directoryEndSignature in the last 1k, then in the last 65k
    	var buf []byte
    	var directoryEndOffset int64
    	for i, bLen := range []int64{1024, 65 * 1024} {
    		if bLen > size {
    			bLen = size
    		}
    		buf = make([]byte, int(bLen))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  2. api/go1.8.txt

    pkg database/sql, func Named(string, interface{}) NamedArg
    pkg database/sql, method (*ColumnType) DatabaseTypeName() string
    pkg database/sql, method (*ColumnType) DecimalSize() (int64, int64, bool)
    pkg database/sql, method (*ColumnType) Length() (int64, bool)
    pkg database/sql, method (*ColumnType) Name() string
    pkg database/sql, method (*ColumnType) Nullable() (bool, bool)
    pkg database/sql, method (*ColumnType) ScanType() reflect.Type
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Dec 21 05:25:57 GMT 2016
    - 16.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/expr_test.go

    	"strings"
    	"testing"
    	"text/scanner"
    )
    
    type exprTest struct {
    	input  string
    	output int64
    	atEOF  bool
    }
    
    var exprTests = []exprTest{
    	// Simple
    	{"0", 0, true},
    	{"3", 3, true},
    	{"070", 8 * 7, true},
    	{"0x0f", 15, true},
    	{"0xFF", 255, true},
    	{"9223372036854775807", 9223372036854775807, true}, // max int64
    	// Unary
    	{"-0", 0, true},
    	{"~0", -1, true},
    	{"~0*0", 0, true},
    	{"+3", 3, true},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/api/testdata/src/pkg/p1/p1.go

    }
    
    type S2 struct {
    	// Deprecated: use T.
    	S
    	Extra bool
    }
    
    var X0 int64
    
    var (
    	Y int
    	X I
    )
    
    type Namer interface {
    	Name() string
    }
    
    type I interface {
    	Namer
    	ptwo.Twoer
    	Set(name string, balance int64)
    	// Deprecated: use GetNamed.
    	Get(string) int64
    	GetNamed(string) (balance int64)
    	private()
    }
    
    type Public interface {
    	X()
    	Y()
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  5. src/archive/tar/format.go

    // signed byte values.
    // We compute and return both.
    func (b *block) computeChecksum() (unsigned, signed int64) {
    	for i, c := range b {
    		if 148 <= i && i < 156 {
    			c = ' ' // Treat the checksum field itself as all spaces.
    		}
    		unsigned += int64(c)
    		signed += int64(int8(c))
    	}
    	return unsigned, signed
    }
    
    // reset clears the block with all zeros.
    func (b *block) reset() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  6. api/next/50102.txt

    pkg archive/tar, type FileInfoNames interface, Mode() fs.FileMode #50102
    pkg archive/tar, type FileInfoNames interface, Name() string #50102
    pkg archive/tar, type FileInfoNames interface, Size() int64 #50102
    pkg archive/tar, type FileInfoNames interface, Sys() interface{} #50102
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 686 bytes
    - Viewed (0)
  7. misc/cgo/gmp/fib.go

    // concurrency, just threads and synchronization
    // and foreign code on multiple pthreads.
    
    package main
    
    import (
    	big "."
    	"runtime"
    )
    
    func fibber(c chan *big.Int, out chan string, n int64) {
    	// Keep the fibbers in dedicated operating system
    	// threads, so that this program tests coordination
    	// between pthreads and not just goroutines.
    	runtime.LockOSThread()
    
    	i := big.NewInt(n)
    	if n == 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 10 22:32:35 GMT 2023
    - 919 bytes
    - Viewed (0)
  8. src/archive/zip/struct.go

    type headerFileInfo struct {
    	fh *FileHeader
    }
    
    func (fi headerFileInfo) Name() string { return path.Base(fi.fh.Name) }
    func (fi headerFileInfo) Size() int64 {
    	if fi.fh.UncompressedSize64 > 0 {
    		return int64(fi.fh.UncompressedSize64)
    	}
    	return int64(fi.fh.UncompressedSize)
    }
    func (fi headerFileInfo) IsDir() bool { return fi.Mode().IsDir() }
    func (fi headerFileInfo) ModTime() time.Time {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  9. api/go1.5.txt

    pkg go/types, type Sizes interface, Alignof(Type) int64
    pkg go/types, type Sizes interface, Offsetsof([]*Var) []int64
    pkg go/types, type Sizes interface, Sizeof(Type) int64
    pkg go/types, type Slice struct
    pkg go/types, type StdSizes struct
    pkg go/types, type StdSizes struct, MaxAlign int64
    pkg go/types, type StdSizes struct, WordSize int64
    pkg go/types, type Struct struct
    pkg go/types, type Tuple struct
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  10. src/archive/zip/reader_test.go

    }
    
    func messWith(fileName string, corrupter func(b []byte)) (r io.ReaderAt, size int64) {
    	data, err := os.ReadFile(filepath.Join("testdata", fileName))
    	if err != nil {
    		panic("Error reading " + fileName + ": " + err.Error())
    	}
    	corrupter(data)
    	return bytes.NewReader(data), int64(len(data))
    }
    
    func returnCorruptCRC32Zip() (r io.ReaderAt, size int64) {
    	return messWith("go-with-datadesc-sig.zip", func(b []byte) {
    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)
Back to top