Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for Size (0.14 sec)

  1. 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)
  2. src/bufio/bufio.go

    	if ok && len(b.buf) >= size {
    		return b
    	}
    	r := new(Reader)
    	r.reset(make([]byte, max(size, minReadBufferSize)), rd)
    	return r
    }
    
    // NewReader returns a new [Reader] whose buffer has the default size.
    func NewReader(rd io.Reader) *Reader {
    	return NewReaderSize(rd, defaultBufSize)
    }
    
    // Size returns the size of the underlying buffer in bytes.
    func (b *Reader) Size() int { return len(b.buf) }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  3. src/archive/zip/writer.go

    			// 32 bit size fields (and offset later) to signal that the
    			// zip64 extra header should be used.
    			b.uint32(uint32max) // compressed size
    			b.uint32(uint32max) // uncompressed size
    
    			// append a zip64 extra block to Extra
    			var buf [28]byte // 2x uint16 + 3x uint64
    			eb := writeBuf(buf[:])
    			eb.uint16(zip64ExtraID)
    			eb.uint16(24) // size = 3x uint64
    			eb.uint64(h.UncompressedSize64)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. src/archive/tar/reader.go

    	if name := hdr.PAXRecords[paxGNUSparseName]; name != "" {
    		hdr.Name = name
    	}
    	size := hdr.PAXRecords[paxGNUSparseSize]
    	if size == "" {
    		size = hdr.PAXRecords[paxGNUSparseRealSize]
    	}
    	if size != "" {
    		n, err := strconv.ParseInt(size, 10, 64)
    		if err != nil {
    			return nil, ErrHeader
    		}
    		hdr.Size = n
    	}
    
    	// Read the sparse map according to the appropriate format.
    	if is1x0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  5. src/archive/tar/writer_test.go

    		switch maker := v.maker.(type) {
    		case makeReg:
    			fw = &regFileWriter{w, maker.size}
    			wantStr = maker.wantStr
    		case makeSparse:
    			if !validateSparseEntries(maker.sph, maker.size) {
    				t.Fatalf("invalid sparse map: %v", maker.sph)
    			}
    			spd := invertSparseEntries(maker.sph, maker.size)
    			fw = &regFileWriter{w, maker.makeReg.size}
    			fw = &sparseFileWriter{fw, spd, 0}
    			wantStr = maker.makeReg.wantStr
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  6. doc/go_spec.html

    make(T, n)       channel      buffered channel of type T, buffer size n
    </pre>
    
    <p>
    Each of the size arguments <code>n</code> and <code>m</code> must be of <a href="#Numeric_types">integer type</a>,
    have a <a href="#Interface_types">type set</a> containing only integer types,
    or be an untyped <a href="#Constants">constant</a>.
    A constant size argument must be non-negative and <a href="#Representability">representable</a>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. api/go1.16.txt

    pkg debug/elf, const DT_MIPS_AUX_DYNAMIC DynTag
    pkg debug/elf, const DT_MIPS_BASE_ADDRESS = 1879048198
    pkg debug/elf, const DT_MIPS_BASE_ADDRESS DynTag
    pkg debug/elf, const DT_MIPS_COMPACT_SIZE = 1879048239
    pkg debug/elf, const DT_MIPS_COMPACT_SIZE DynTag
    pkg debug/elf, const DT_MIPS_CONFLICT = 1879048200
    pkg debug/elf, const DT_MIPS_CONFLICT DynTag
    pkg debug/elf, const DT_MIPS_CONFLICTNO = 1879048203
    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)
  8. api/go1.4.txt

    pkg syscall (linux-arm-cgo), type SysProcAttr struct, GidMappings []SysProcIDMap
    pkg syscall (linux-arm-cgo), type SysProcAttr struct, UidMappings []SysProcIDMap
    pkg syscall (linux-arm-cgo), type SysProcIDMap struct
    pkg syscall (linux-arm-cgo), type SysProcIDMap struct, ContainerID int
    pkg syscall (linux-arm-cgo), type SysProcIDMap struct, HostID int
    pkg syscall (linux-arm-cgo), type SysProcIDMap struct, Size int
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Viewed (0)
  9. misc/cgo/gmp/gmp.go

    	typedef unsigned long int mp_limb_t;
    
    	typedef struct
    	{
    		int _mp_alloc;
    		int _mp_size;
    		mp_limb_t *_mp_d;
    	} __mpz_struct;
    
    	typedef __mpz_struct mpz_t[1];
    
    Cgo generates:
    
    	type _C_int int32
    	type _C_mp_limb_t uint64
    	type _C___mpz_struct struct {
    		_mp_alloc _C_int;
    		_mp_size _C_int;
    		_mp_d *_C_mp_limb_t;
    	}
    	type _C_mpz_t [1]_C___mpz_struct
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  10. api/go1.14.txt

    pkg hash/maphash, method (*Hash) BlockSize() int
    pkg hash/maphash, method (*Hash) Reset()
    pkg hash/maphash, method (*Hash) Seed() Seed
    pkg hash/maphash, method (*Hash) SetSeed(Seed)
    pkg hash/maphash, method (*Hash) Size() int
    pkg hash/maphash, method (*Hash) Sum([]uint8) []uint8
    pkg hash/maphash, method (*Hash) Sum64() uint64
    pkg hash/maphash, method (*Hash) Write([]uint8) (int, error)
    pkg hash/maphash, method (*Hash) WriteByte(uint8) error
    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)
Back to top