Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 574 for UInt64 (0.18 sec)

  1. 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)
  2. internal/bpool/bpool_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package bpool
    
    import "testing"
    
    // Tests - bytePool functionality.
    func TestBytePool(t *testing.T) {
    	size := uint64(4)
    	width := 1024
    	capWidth := 2048
    
    	bufPool := NewBytePoolCap(size, width, capWidth)
    
    	// Check the width
    	if bufPool.Width() != width {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 19:13:27 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. internal/store/queuestore.go

    // QueueStore - Filestore for persisting items.
    type QueueStore[_ any] struct {
    	sync.RWMutex
    	entryLimit uint64
    	directory  string
    	fileExt    string
    
    	entries map[string]int64 // key -> modtime as unix nano
    }
    
    // NewQueueStore - Creates an instance for QueueStore.
    func NewQueueStore[I any](directory string, limit uint64, ext string) *QueueStore[I] {
    	if limit == 0 {
    		limit = defaultLimit
    	}
    
    	if ext == "" {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. cmd/encryption-v1.go

    	var sizes []int64
    	var decObjSize int64 // decrypted total object size
    	if o.isMultipart() {
    		sizes = make([]int64, len(o.Parts))
    		for i, part := range o.Parts {
    			var partSize uint64
    			partSize, err = sio.DecryptedSize(uint64(part.Size))
    			if err != nil {
    				err = errObjectTampered
    				return
    			}
    			sizes[i] = int64(partSize)
    			decObjSize += int64(partSize)
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  5. 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)
  6. internal/pubsub/pubsub.go

    	combined.Merge(Mask(mask.Mask()))
    	atomic.StoreUint64(&ps.types, uint64(combined))
    
    	go func() {
    		<-doneCh
    
    		ps.Lock()
    		defer ps.Unlock()
    		var remainTypes Mask
    		for i, s := range ps.subs {
    			if s == sub {
    				ps.subs = append(ps.subs[:i], ps.subs[i+1:]...)
    			} else {
    				remainTypes.Merge(s.types)
    			}
    		}
    		atomic.StoreUint64(&ps.types, uint64(remainTypes))
    		atomic.AddInt32(&ps.numSubscribers, -1)
    	}()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, const StrConst = "foo"
    pkg p1, const StrConst ideal-string
    pkg p1, func Bar(int8, int16, int64)
    pkg p1, func Bar1(int8, int16, int64) uint64
    pkg p1, func Bar2(int8, int16, int64) (uint8, uint64)
    pkg p1, func BarE() Error
    pkg p1, func Now() Time
    pkg p1, func PlainFunc(int, int, string) (*B, error)
    pkg p1, func TakesFunc(func(int) int)
    pkg p1, method (*B) JustOnB()
    pkg p1, method (*B) OnBothTandBPtr()
    pkg p1, method (*Embedded) OnEmbedded()
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  8. cmd/erasure-metadata-utils.go

    func reduceCommonVersions(diskVersions [][]byte, writeQuorum int) (versions []byte) {
    	diskVersionsCount := make(map[uint64]int)
    	for _, versions := range diskVersions {
    		if len(versions) > 0 {
    			diskVersionsCount[binary.BigEndian.Uint64(versions)]++
    		}
    	}
    
    	var commonVersions uint64
    	max := 0
    	for versions, count := range diskVersionsCount {
    		if max < count {
    			max = count
    			commonVersions = versions
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  9. utils/utils_test.go

    		{"int32", int32(math.MaxInt32), "2147483647"},
    		{"int64", int64(math.MaxInt64), "9223372036854775807"},
    		{"uint", uint(math.MaxUint64), "18446744073709551615"},
    		{"uint8", uint8(math.MaxUint8), "255"},
    		{"uint16", uint16(math.MaxUint16), "65535"},
    		{"uint32", uint32(math.MaxUint32), "4294967295"},
    		{"uint64", uint64(math.MaxUint64), "18446744073709551615"},
    		{"string", "abc", "abc"},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Feb 19 03:42:25 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. cmd/os-dirent_namelen_linux.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"fmt"
    	"syscall"
    	"unsafe"
    )
    
    func direntNamlen(dirent *syscall.Dirent) (uint64, error) {
    	const fixedHdr = uint16(unsafe.Offsetof(syscall.Dirent{}.Name))
    	nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0]))
    	const nameBufLen = uint16(len(nameBuf))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.5K bytes
    - Viewed (0)
Back to top