- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 437 for uint16 (0.22 sec)
-
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) -
test/zerodivide.go
var ( i, j, k int = 0, 0, 1 i8, j8, k8 int8 = 0, 0, 1 i16, j16, k16 int16 = 0, 0, 1 i32, j32, k32 int32 = 0, 0, 1 i64, j64, k64 int64 = 0, 0, 1 bb = []int16{2, 0} u, v, w uint = 0, 0, 1 u8, v8, w8 uint8 = 0, 0, 1 u16, v16, w16 uint16 = 0, 0, 1 u32, v32, w32 uint32 = 0, 0, 1 u64, v64, w64 uint64 = 0, 0, 1 up, vp, wp uintptr = 0, 0, 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 06 15:53:04 UTC 2021 - 5.7K bytes - Viewed (0) -
test/typeparam/issue50121.dir/a.go
// license that can be found in the LICENSE file. package a import ( "math/rand" ) type Integer interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr } type Builder[T Integer] struct{} func (r Builder[T]) New() T { return T(rand.Int()) } var IntBuilder = Builder[int]{} func BuildInt() int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 03 03:13:33 UTC 2022 - 495 bytes - Viewed (0) -
test/typeparam/issue50121b.dir/a.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package a type Integer interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr } type Builder[T Integer] struct{} func (r Builder[T]) New() T { return T(42)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 03 03:13:33 UTC 2022 - 379 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) -
test/typeparam/absdiff.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main type Numeric interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ~float32 | ~float64 | ~complex64 | ~complex128 } // numericAbs matches numeric types with an Abs method. type numericAbs[T any] interface { Numeric Abs() T
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 2.9K 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)