- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 170 for _Equal (0.77 sec)
-
pkg/controller/endpointslice/endpointslice_controller_test.go
} for i := 0; i < num; i++ { relativePos := len(actions) - i - 1 assert.Equal(t, verb, actions[relativePos].GetVerb(), "Expected action -%d verb to be %s", i, verb) assert.Equal(t, resource, actions[relativePos].GetResource().Resource, "Expected action -%d resource to be %s", i, resource) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
src/time/time.go
return +1 } return 0 } // Equal reports whether t and u represent the same time instant. // Two times can be equal even if they are in different locations. // For example, 6:00 +0200 and 4:00 UTC are Equal. // See the documentation on the Time type for the pitfalls of using == with // Time values; most code should use Equal instead. func (t Time) Equal(u Time) bool { if t.wall&u.wall&hasMonotonic != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir
func.func @div_no_nan(%arg0: tensor<*xf32>, %arg1: tensor<*xf32>) -> tensor<*xf32> { // CHECK: %[[ZERO:.*]] = "tf.Const"() <{value = dense<0.000000e+00> : tensor<f32>}> : () -> tensor<f32> // CHECK: %[[IS_ZERO:.*]] = "tf.Equal"(%[[Y]], %[[ZERO]]) <{incompatible_shape_error = true}> : (tensor<*xf32>, tensor<f32>) -> tensor<*xi1> // CHECK: %[[DIV:.*]] = "tf.Div"(%[[X]], %[[Y]]) : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 05 18:35:42 UTC 2024 - 92K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
g.Expect(serviceNames(si.exportedToNamespace["namespace"])).To(Equal([]string{"svc-namespace"})) g.Expect(serviceNames(si.public)).To(Equal([]string{"svc-public", "svc-unset"})) // Should just have "test1" g.Expect(si.privateByNamespace).To(HaveLen(1)) g.Expect(serviceNames(si.privateByNamespace["test1"])).To(Equal([]string{"svc-private"})) } func TestIsServiceVisible(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
pilot/pkg/model/virtualservice_test.go
}, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { got, _ := mergeVirtualServicesIfNeeded(tc.virtualServices, tc.defaultExportTo) assert.Equal(t, got, tc.expectedVirtualServices) }) } t.Run("test merge order", func(t *testing.T) { root := rootVs.DeepCopy() delegate := delegateVs.DeepCopy() normal := independentVs.DeepCopy()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 60.6K bytes - Viewed (0) -
src/crypto/tls/handshake_client_test.go
o.all = append(o.all, data...) for { line, next, ok := bytes.Cut(o.line, []byte("\n")) if !ok { break } if bytes.Equal([]byte(opensslEndOfHandshake), line) { o.handshakeComplete <- struct{}{} } if bytes.Equal([]byte(opensslReadKeyUpdate), line) { o.readKeyUpdate <- struct{}{} } o.line = next } return len(data), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/PPC64.rules
(Eq(8|16) x y) && x.Type.IsSigned() && y.Type.IsSigned() => (Equal (CMPW (SignExt(8|16)to32 x) (SignExt(8|16)to32 y))) (Eq(8|16) x y) => (Equal (CMPW (ZeroExt(8|16)to32 x) (ZeroExt(8|16)to32 y))) (Eq(32|64|Ptr) x y) => (Equal ((CMPW|CMP|CMP) x y)) (Eq(32|64)F x y) => (Equal (FCMPU x y)) (NeqB ...) => (XOR ...) // Like Eq8 and Eq16, prefer sign extension likely to enable later elision.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 53.2K bytes - Viewed (0) -
src/os/os_test.go
} defer func() { if err := file.Close(); err != nil { t.Error(err) } }() n, err := io.Copy(io.Discard, file) if err != nil { t.Fatal(err) } return n } func equal(name1, name2 string) (r bool) { switch runtime.GOOS { case "windows": r = strings.EqualFold(name1, name2) default: r = name1 == name2 } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
// Pattern targetted here is as follows- // [input, lhr, rhs] == [<1x1024x128>, <1x1024x8x16>, <1x1x8x16xf32>] // This is valid only when the- // 1.last dimension of lhs is equal to the number of elements in constant rhs. // 2.Reduded shape of rhs, here <8x16> is equal to last dimensions of lhs. // Therefore, after transformation broadcast of binary op is always // applied to the last dimension of $input.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
src/strings/strings_test.go
t.Error("rune count wrong in upper:", n) } if n := utf8.RuneCountInString(lower); n != numRunes { t.Error("rune count wrong in lower:", n) } if !equal("ToUpper(upper)", ToUpper(upper), upper, t) { t.Error("ToUpper(upper) consistency fail") } if !equal("ToLower(lower)", ToLower(lower), lower, t) { t.Error("ToLower(lower) consistency fail") } /*
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 53K bytes - Viewed (0)