Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for Uint16 (0.21 sec)

  1. utils/utils_test.go

    		{"int", math.MaxInt64, "9223372036854775807"},
    		{"int8", int8(math.MaxInt8), "127"},
    		{"int16", int16(math.MaxInt16), "32767"},
    		{"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"},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Feb 19 03:42:25 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. cmd/os-dirent_namelen_linux.go

    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))
    	limit := dirent.Reclen - fixedHdr
    	if limit > nameBufLen {
    		limit = nameBufLen
    	}
    	// Avoid bugs in long file names
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/api.go

    	DestinationIps      []string      `json:"destinationIps,omitempty"`
    	NotDestinationIps   []string      `json:"notDestinationIps,omitempty"`
    	DestinationPorts    []uint16      `json:"destinationPorts,omitempty"`
    	NotDestinationPorts []uint16      `json:"notDestinationPorts,omitempty"`
    }
    
    type StringMatch struct {
    	Exact    string `json:"Exact,omitempty"`
    	Suffix   string `json:"Suffix,omitempty"`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 02:16:06 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. cmd/stserrorcode_string.go

    var _STSErrorCode_index = [...]uint16{0, 7, 22, 41, 65, 91, 118, 145, 171, 192, 219, 236, 256, 272, 288}
    
    func (i STSErrorCode) String() string {
    	if i < 0 || i >= STSErrorCode(len(_STSErrorCode_index)-1) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 03 20:24:25 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  5. docs/debugging/inspect/export.go

    	}
    
    	if bytes.Equal(buf[4:8], []byte("1   ")) {
    		// Set as 1,0.
    		major, minor = 1, 0
    	} else {
    		major, minor = binary.LittleEndian.Uint16(buf[4:6]), binary.LittleEndian.Uint16(buf[6:8])
    	}
    	if major > xlVersionMajor {
    		return buf[8:], major, minor, fmt.Errorf("xlMeta: unknown major version %d found", major)
    	}
    
    	return buf[8:], major, minor, nil
    }
    
    const xlMetaInlineDataVer = 1
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 08 15:58:02 GMT 2022
    - 9.1K bytes
    - Viewed (0)
  6. cmd/bucket-metadata.go

    	}
    	// Read header
    	switch binary.LittleEndian.Uint16(data[0:2]) {
    	case bucketMetadataFormat:
    	default:
    		return b, fmt.Errorf("loadBucketMetadata: unknown format: %d", binary.LittleEndian.Uint16(data[0:2]))
    	}
    	switch binary.LittleEndian.Uint16(data[2:4]) {
    	case bucketMetadataVersion:
    	default:
    		return b, fmt.Errorf("loadBucketMetadata: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/arch/arm64.go

    func ARM64RegisterShift(reg, op, count int16) (int64, error) {
    	// the base register of shift operations must be general register.
    	if reg > arm64.REG_R31 || reg < arm64.REG_R0 {
    		return 0, errors.New("invalid register for shift operation")
    	}
    	return int64(reg&31)<<16 | int64(op)<<22 | int64(uint16(count)), nil
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  8. docs/bucket/versioning/DESIGN.md

    | Entry          | Encoding       | Content
    | ---------------|----------------|----------------------------------------
    | xlHeader       | [4]byte        | `'X', 'L', '2', ' '`
    | xlVersionMajor | uint16         | Major xl-meta version.
    | xlVersionMinor | uint16         | Minor xl-meta version.
    | xlMetaV2       | msgp bin array | Bin array with serialized metadata
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 5.8K bytes
    - Viewed (1)
  9. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -     __extension__ __STRING2_SMALL_GET32 (src, 4)
    -#  endif
    -__STRING_INLINE char *__strcpy_small (char *, __uint16_t, __uint16_t,
    -				      __uint32_t, __uint32_t, size_t);
     __STRING_INLINE char *
     __strcpy_small (char *__dest,
     		__uint16_t __src0_2, __uint16_t __src4_2,
    @@ -482,42 +257,6 @@ __strcpy_small (char *__dest,
       return __dest;
     }
     # else
    -#  ifndef _FORCE_INLINES
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
  10. src/archive/zip/writer_test.go

    		testReadFile(t, r.File[i], &wt)
    	}
    }
    
    func TestWriterCreateRaw(t *testing.T) {
    	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,
    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