- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 349 for uint16 (0.16 sec)
-
src/internal/zstd/literals.go
} streamSize1 := binary.LittleEndian.Uint16(data[off:]) streamSize2 := binary.LittleEndian.Uint16(data[off+2:]) streamSize3 := binary.LittleEndian.Uint16(data[off+4:]) off += 6 tot := uint64(streamSize1) + uint64(streamSize2) + uint64(streamSize3) if tot > uint64(totalStreamsSize)-6 { return nil, r.makeEOFError(off) } streamSize4 := uint32(totalStreamsSize) - 6 - uint32(tot) off--
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 14:30:10 UTC 2023 - 8.8K bytes - Viewed (0) -
test/typeparam/list.go
// license that can be found in the LICENSE file. package main import ( "fmt" ) type Ordered interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ~float32 | ~float64 | ~string } // _List is a linked list of ordered values of type T. type _List[T Ordered] struct { next *_List[T] val T }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Dec 03 17:08:51 UTC 2022 - 2.4K bytes - Viewed (0) -
pkg/proxy/ipvs/util/ipvs_linux.go
} // stringToProtocolType returns the protocol type for the given name func stringToProtocol(protocol string) uint16 { switch strings.ToLower(protocol) { case "tcp": return uint16(unix.IPPROTO_TCP) case "udp": return uint16(unix.IPPROTO_UDP) case "sctp": return uint16(unix.IPPROTO_SCTP) } return uint16(0) } // protocolTypeToString returns the name for the given protocol.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 9K bytes - Viewed (0) -
src/encoding/gob/decgen.go
state.b.Drop(n)`, }, { "uint", "Uint", `x := state.decodeUint() /*TODO if math.MaxUint32 < x { error_(ovfl) }*/ slice[i] = uint(x)`, }, { "uint16", "Uint16", `x := state.decodeUint() if math.MaxUint16 < x { error_(ovfl) } slice[i] = uint16(x)`, }, { "uint32", "Uint32", `x := state.decodeUint()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 14:15:38 UTC 2024 - 5.3K bytes - Viewed (0) -
src/testing/cover.go
// It is not covered (yet) by the Go 1 compatibility guidelines. type CoverBlock struct { Line0 uint32 // Line number for block start. Col0 uint16 // Column number for block start. Line1 uint32 // Line number for block end. Col1 uint16 // Column number for block end. Stmts uint16 // Number of statements included in this block. } var cover Cover
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:37:31 UTC 2023 - 3.4K bytes - Viewed (0) -
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"`
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 5.5K bytes - Viewed (0) -
src/net/dnsclient.go
s += "." } return s } // An SRV represents a single DNS SRV record. type SRV struct { Target string Port uint16 Priority uint16 Weight uint16 } // byPriorityWeight sorts SRV records by ascending priority and weight. type byPriorityWeight []*SRV // shuffleByWeight shuffles SRV records by weight using the algorithm
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 5.7K bytes - Viewed (0) -
utils/utils_test.go
{"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"}, {"uint64", uint64(math.MaxUint64), "18446744073709551615"},
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Feb 19 03:42:25 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/arithBoundaryGen.go
func (s tmplData) SymFirst() string { return string(s.Symbol[0]) } // ucast casts an unsigned int to the size in s func ucast(i uint64, s sizedTestData) uint64 { switch s.name { case "uint32": return uint64(uint32(i)) case "uint16": return uint64(uint16(i)) case "uint8": return uint64(uint8(i)) } return i } // icast casts a signed int to the size in s func icast(i int64, s sizedTestData) int64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 5.5K bytes - Viewed (0) -
src/syscall/netlink_linux.go
} func (rr *NetlinkRouteRequest) toWireFormat() []byte { b := make([]byte, rr.Header.Len) *(*uint32)(unsafe.Pointer(&b[0:4][0])) = rr.Header.Len *(*uint16)(unsafe.Pointer(&b[4:6][0])) = rr.Header.Type *(*uint16)(unsafe.Pointer(&b[6:8][0])) = rr.Header.Flags *(*uint32)(unsafe.Pointer(&b[8:12][0])) = rr.Header.Seq *(*uint32)(unsafe.Pointer(&b[12:16][0])) = rr.Header.Pid b[16] = rr.Data.Family return b }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 20:01:34 UTC 2023 - 4.8K bytes - Viewed (0)