Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for uint64_t (0.17 sec)

  1. src/archive/zip/reader.go

    	d := &directoryEnd{
    		diskNbr:            uint32(b.uint16()),
    		dirDiskNbr:         uint32(b.uint16()),
    		dirRecordsThisDisk: uint64(b.uint16()),
    		directoryRecords:   uint64(b.uint16()),
    		directorySize:      uint64(b.uint32()),
    		directoryOffset:    uint64(b.uint32()),
    		commentLen:         b.uint16(),
    	}
    	l := int(d.commentLen)
    	if l > len(b) {
    		return nil, 0, errors.New("zip: invalid comment length")
    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. src/archive/zip/struct.go

    	return fh, nil
    }
    
    type directoryEnd struct {
    	diskNbr            uint32 // unused
    	dirDiskNbr         uint32 // unused
    	dirRecordsThisDisk uint64 // unused
    	directoryRecords   uint64
    	directorySize      uint64
    	directoryOffset    uint64 // relative to file
    	commentLen         uint16
    	comment            string
    }
    
    // timeZone returns a *time.Location based on the provided offset.
    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)
  3. lib/time/mkzip.go

    		}
    		name := filepath.ToSlash(path)
    		w, err := zw.CreateRaw(&zip.FileHeader{
    			Name:               name,
    			Method:             zip.Store,
    			CompressedSize64:   uint64(len(data)),
    			UncompressedSize64: uint64(len(data)),
    			CRC32:              crc32.ChecksumIEEE(data),
    		})
    		if err != nil {
    			log.Fatal(err)
    		}
    		if _, err := w.Write(data); err != nil {
    			log.Fatal(err)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/archive/zip/zip_test.go

    	if testing.Short() {
    		t.Skip("skipping in short mode")
    	}
    	t.Parallel()
    	const filename = "huge.txt"
    	gen := func(wantOff uint64) func(*Writer) {
    		return func(w *Writer) {
    			w.testHookCloseSizeOffset = func(size, off uint64) {
    				if off != wantOff {
    					t.Errorf("central directory offset = %d (%x); want %d", off, off, wantOff)
    				}
    			}
    			f, err := w.CreateHeader(&FileHeader{
    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/builtin/builtin.go

    // Range: 0 through 65535.
    type uint16 uint16
    
    // uint32 is the set of all unsigned 32-bit integers.
    // Range: 0 through 4294967295.
    type uint32 uint32
    
    // uint64 is the set of all unsigned 64-bit integers.
    // Range: 0 through 18446744073709551615.
    type uint64 uint64
    
    // int8 is the set of all signed 8-bit integers.
    // Range: -128 through 127.
    type int8 int8
    
    // int16 is the set of all signed 16-bit integers.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    // much practical consequence because the expressions we
    // see in assembly code are simple, but for the record:
    //
    // 1) Evaluation uses uint64; the old one used int64.
    // 2) Precedence uses Go rules not C rules.
    
    // expr = term | term ('+' | '-' | '|' | '^') term.
    func (p *Parser) expr() uint64 {
    	value := p.term()
    	for {
    		switch p.peek() {
    		case '+':
    			p.next()
    			value += p.term()
    		case '-':
    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)
  7. src/cmd/api/testdata/src/pkg/p1/p1.go

    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          {}
    func Bar2(x int8, y int16, z int64) (uint8, uint64) {}
    func BarE() Error                                   {}
    
    func unexported(x int8, y int16, z int64) {}
    
    func TakesFunc(f func(dontWantName int) int)
    
    type Codec struct {
    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)
  8. src/archive/zip/reader_test.go

    	// but will bypass the decompressing of the actual data.
    	// This last option is used for testing very large (multi-GB) compressed files.
    	ContentErr error
    	Content    []byte
    	File       string
    	Size       uint64
    }
    
    var tests = []ZipTest{
    	{
    		Name:    "test.zip",
    		Comment: "This is a zipfile comment.",
    		File: []ZipTestFile{
    			{
    				Name:     "test.txt",
    				Content:  []byte("This is a test text file.\n"),
    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)
  9. src/cmd/cgo/gcc.go

    		}
    		bo := f.ByteOrder
    		symtab, err := f.Symbols()
    		if err == nil {
    			// Check for use of -fsanitize=hwaddress (issue 53285).
    			removeTag := func(v uint64) uint64 { return v }
    			if goarch == "arm64" {
    				for i := range symtab {
    					if symtab[i].Name == "__hwasan_init" {
    						// -fsanitize=hwaddress on ARM
    						// uses the upper byte of a
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. src/archive/zip/writer_test.go

    	files := []struct {
    		name             string
    		content          []byte
    		method           uint16
    		flags            uint16
    		crc32            uint32
    		uncompressedSize uint64
    		compressedSize   uint64
    	}{
    		{
    			name:    "small store w desc",
    			content: []byte("gophers"),
    			method:  Store,
    			flags:   0x8,
    		},
    		{
    			name:    "small deflate wo desc",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
Back to top