- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 110 for is16 (0.04 sec)
-
src/unicode/letter.go
) // linearMax is the maximum size table for linear search for non-Latin1 rune. // Derived by running 'go test -calibrate'. const linearMax = 18 // is16 reports whether r is in the sorted slice of 16-bit ranges. func is16(ranges []Range16, r uint16) bool { if len(ranges) <= linearMax || r <= MaxLatin1 { for i := range ranges { range_ := &ranges[i] if r < range_.Lo { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 20:02:46 UTC 2023 - 10K bytes - Viewed (0) -
src/net/netip/netip_test.go
} for _, tt := range tests { got4 := tt.ip.Is4() if got4 != tt.is4 { t.Errorf("Is4(%q) = %v; want %v", tt.ip, got4, tt.is4) } got6 := tt.ip.Is6() if got6 != tt.is6 { t.Errorf("Is6(%q) = %v; want %v", tt.ip, got6, tt.is6) } } } func TestIs4In6(t *testing.T) { tests := []struct { ip Addr want bool wantUnmap Addr }{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 54.3K bytes - Viewed (0) -
src/cmd/compile/internal/test/float_test.go
t.Errorf("float32(u8) != su8") } if float32(i64) != si64 { t.Errorf("float32(i64) != si64") } if float32(i32) != si32 { t.Errorf("float32(i32) != si32") } if float32(i16) != si16 { t.Errorf("float32(i16) != si16") } if float32(i8) != si8 { t.Errorf("float32(i8) != si8") } // float to integer if uint64(du64) != u64 { t.Errorf("uint64(du64) != u64") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 12.5K bytes - Viewed (0) -
cni/pkg/ipset/ipset.go
// We have already Unmap'd, so we can do a simple IsV6 y/n check now if ipToInsert.Is6() { return m.Deps.addIP(m.V6Name, ipToInsert, ipProto, comment, replace) } return m.Deps.addIP(m.V4Name, ipToInsert, ipProto, comment, replace) } func (m *IPSet) DeleteIP(ip netip.Addr, ipProto uint8) error { ipToDel := ip.Unmap() // We have already Unmap'd, so we can do a simple IsV6 y/n check now if ipToDel.Is6() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 3.9K bytes - Viewed (0) -
src/cmd/compile/internal/test/abiutils_test.go
// (r1 [7]*s1, r2 float64, r3 int64) i16 := types.Types[types.TINT16] i64 := types.Types[types.TINT64] f64 := types.Types[types.TFLOAT64] s1 := mkstruct(i16, i16, i16) ps1 := types.NewPtr(s1) a7 := types.NewArray(ps1, 7) ft := mkFuncType(s1, []*types.Type{ps1, a7, f64, i16, i16, i16}, []*types.Type{a7, f64, i64}) exp := makeExpectedDump(`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 15:11:40 UTC 2023 - 14.2K bytes - Viewed (0) -
src/net/netip/netip.go
type addrDetail struct { IsV6 bool // IPv4 is false, IPv6 is true. ZoneV6 string // != "" only if IsV6 is true. } // z0, z4, and z6noz are sentinel Addr.z values. // See the Addr type's field docs. var ( z0 unique.Handle[addrDetail] z4 = unique.Make(addrDetail{}) z6noz = unique.Make(addrDetail{IsV6: true}) )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 43.2K bytes - Viewed (0) -
pkg/util/iptree/iptree.go
parent.mergeChild() } } return true } // for testing, returns the number of public nodes in the tree. func (t *Tree[T]) Len(isV6 bool) int { count := 0 t.DepthFirstWalk(isV6, func(k netip.Prefix, v T) bool { count++ return false }) return count } // WalkFn is used when walking the tree. Takes a // key and value, returning if iteration should
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 17.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/add_functions_for_exported_names.mlir
tensor<i16> {tf_saved_model.index_path = [0]}) attributes {tf_saved_model.exported_names = ["a", "b", "c"]} { %0 = "tf.Const"() {value = dense<42> : tensor<i8>} : () -> tensor<i8> %1 = "tf.Const"() {value = dense<4242> : tensor<i16>} : () -> tensor<i16> return %0, %1: tensor<i8>, tensor<i16> } } // ----- // CHECK-LABEL: @export_as_self
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 06 22:55:17 UTC 2023 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/prepare-quantize-post-training-16bits.mlir
func.return %2 : tensor<1x1xf32> // CHECK: %[[q1:.*]] = "tfl.quantize"(%arg0) <{qtype = tensor<1x1x!quant.uniform<i16:f32, {{.*}}>>}> {volatile} : (tensor<1x1xf32>) -> tensor<1x1x!quant.uniform<i16:f32, {{.*}}>> // CHECK-NEXT: %[[dq1:.*]] = "tfl.dequantize"(%[[q1]]) : (tensor<1x1x!quant.uniform<i16:f32, {{.*}}>>) -> tensor<1x1xf32> // CHECK-NEXT: %[[sm:.*]] = "tfl.softmax"(%[[dq1]]) <{{{.*}}}> : (tensor<1x1xf32>) -> tensor<1x1xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 26.1K bytes - Viewed (0) -
src/net/addrselect.go
scopeGlobal scope = 0xe ) func classifyScope(ip netip.Addr) scope { if ip.IsLoopback() || ip.IsLinkLocalUnicast() { return scopeLinkLocal } ipv6 := ip.Is6() && !ip.Is4In6() ipv6AsBytes := ip.As16() if ipv6 && ip.IsMulticast() { return scope(ipv6AsBytes[1] & 0xf) } // Site-local addresses are defined in RFC 3513 section 2.5.6 // (and deprecated in RFC 3879).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 00:24:06 UTC 2024 - 9.7K bytes - Viewed (0)