Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for int64 (0.19 sec)

  1. src/cmd/api/testdata/src/pkg/p1/p1.go

    // Deprecated: use TMethod.
    func (s *S2) SMethod(x int8, y int16, z int64) {}
    
    type s struct{}
    
    func (s) method()
    func (s) Method()
    
    func (S) StructValueMethod()
    func (ignored S) StructValueMethodNamedRecv()
    
    func (s *S2) unexported(x int8, y int16, z int64) {}
    
    func Bar(x int8, y int16, z int64)                  {}
    func Bar1(x int8, y int16, z int64) uint64          {}
    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)
  2. 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)
  3. 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)
  4. src/archive/zip/zip_test.go

    type suffixSaver struct {
    	keep  int
    	buf   []byte
    	start int
    	size  int64
    }
    
    func (ss *suffixSaver) Size() int64 { return ss.size }
    
    var errDiscardedBytes = errors.New("ReadAt of discarded bytes")
    
    func (ss *suffixSaver) ReadAt(p []byte, off int64) (n int, err error) {
    	back := ss.size - off
    	if back > int64(ss.keep) {
    		return 0, errDiscardedBytes
    	}
    	suf := ss.Suffix()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/bytes/reader.go

    	}
    	r.i = int64(r.prevRune)
    	r.prevRune = -1
    	return nil
    }
    
    // Seek implements the [io.Seeker] interface.
    func (r *Reader) Seek(offset int64, whence int) (int64, error) {
    	r.prevRune = -1
    	var abs int64
    	switch whence {
    	case io.SeekStart:
    		abs = offset
    	case io.SeekCurrent:
    		abs = r.i + offset
    	case io.SeekEnd:
    		abs = int64(len(r.s)) + offset
    	default:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. api/go1.3.txt

    pkg syscall (openbsd-amd64), type Dirent struct, Fileno uint64
    pkg syscall (openbsd-amd64), type Dirent struct, Off int64
    pkg syscall (openbsd-amd64), type Dirent struct, X__d_padding [4]uint8
    pkg syscall (openbsd-amd64), type FdSet struct, Bits [32]uint32
    pkg syscall (openbsd-amd64), type Kevent_t struct, Data int64
    pkg syscall (openbsd-amd64), type Kevent_t struct, Ident uint64
    pkg syscall (openbsd-amd64), type Mclpool struct, Grown int32
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  7. src/archive/tar/writer.go

    			spb = append(strconv.AppendInt(spb, int64(len(spd)), 10), '\n')
    			for _, s := range spd {
    				hdr.Size += s.Length
    				spb = append(strconv.AppendInt(spb, s.Offset, 10), '\n')
    				spb = append(strconv.AppendInt(spb, s.Length, 10), '\n')
    			}
    			pad := blockPadding(int64(len(spb)))
    			spb = append(spb, zeroBlock[:pad]...)
    			hdr.Size += int64(len(spb)) // Accounts for encoded sparse map
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  8. src/bytes/buffer_test.go

    	}
    }
    
    func TestWriteAppend(t *testing.T) {
    	var got Buffer
    	var want []byte
    	for i := 0; i < 1000; i++ {
    		b := got.AvailableBuffer()
    		b = strconv.AppendInt(b, int64(i), 10)
    		want = strconv.AppendInt(want, int64(i), 10)
    		got.Write(b)
    	}
    	if !Equal(got.Bytes(), want) {
    		t.Fatalf("Bytes() = %q, want %q", got, want)
    	}
    
    	// With a sufficiently sized buffer, there should be no allocations.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  9. src/archive/tar/strconv_test.go

    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestFitsInBase256(t *testing.T) {
    	vectors := []struct {
    		in    int64
    		width int
    		ok    bool
    	}{
    		{+1, 8, true},
    		{0, 8, true},
    		{-1, 8, true},
    		{1 << 56, 8, false},
    		{(1 << 56) - 1, 8, true},
    		{-1 << 56, 8, true},
    		{(-1 << 56) - 1, 8, false},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/parse.go

    	return 0
    }
    
    // positiveAtoi returns an int64 that must be >= 0.
    func (p *Parser) positiveAtoi(str string) int64 {
    	value, err := strconv.ParseInt(str, 0, 64)
    	if err != nil {
    		p.errorf("%s", err)
    	}
    	if value < 0 {
    		p.errorf("%s overflows int64", str)
    	}
    	return value
    }
    
    func (p *Parser) atoi(str string) uint64 {
    	value, err := strconv.ParseUint(str, 0, 64)
    	if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top