Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 180 for _Equal (0.11 sec)

  1. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

    // [start_index, 0, ...0], with size [size, -1, ...-1].
    //
    // Requires that `start_index` and `size` are scalar tensors and
    // `item_position_shape` is a 1-D tensor with only one element equal to the rank
    // of an item in the tensorlist.
    TF::SliceOp CreateSliceOpForTensorList(Location loc, Value input_list,
                                           Value start_index, Value size,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    		}
    	}
    
    	assertCacherInternalState := func(expectedWatchersCounter, expectedValueWatchersCounter int) {
    		cacher.Lock()
    		defer cacher.Unlock()
    
    		require.Equal(t, expectedWatchersCounter, len(cacher.watchers.allWatchers))
    		require.Equal(t, expectedValueWatchersCounter, len(cacher.watchers.valueWatchers))
    	}
    	assertCacherInternalState(0, 0)
    
    	var forgetWatcherFn func(bool)
    	var forgetCounter int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/ARM.rules

    (CvtBoolToUint8 ...) => (Copy ...)
    
    // fused-multiply-add
    (FMA x y z) => (FMULAD z x y)
    
    // comparisons
    (Eq8 x y)  => (Equal (CMP (ZeroExt8to32 x) (ZeroExt8to32 y)))
    (Eq16 x y) => (Equal (CMP (ZeroExt16to32 x) (ZeroExt16to32 y)))
    (Eq32 x y) => (Equal (CMP x y))
    (EqPtr x y) => (Equal (CMP x y))
    (Eq(32|64)F x y) => (Equal (CMP(F|D) x y))
    
    (Neq8 x y)  => (NotEqual (CMP (ZeroExt8to32 x) (ZeroExt8to32 y)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    		// as well as common modtime, if modtime is not possible
    		// verify if it has common "etag" at least.
    		if onlineMeta[i].IsValid() && onlineMeta[i].Erasure.Equal(fi.Erasure) {
    			ok := onlineMeta[i].ModTime.Equal(modTime)
    			if modTime.IsZero() || modTime.Equal(timeSentinel) {
    				ok = etag != "" && etag == fi.Metadata["etag"]
    			}
    			if ok {
    				continue
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		out.Neg()
    		if out.Cmp(item.a) == 0 {
    			t.Errorf("%d: negating an item should not mutate the source: %s", i, out.String())
    		}
    		if out.String() != item.out {
    			t.Errorf("%d: negating did not equal exact value: %s", i, out.String())
    		}
    	}
    }
    
    func TestQuantityString(t *testing.T) {
    	table := []struct {
    		in        Quantity
    		expect    string
    		alternate string
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * [Set]. Doing so is both inefficient because equality may require a DNS lookup, and incorrect
     * because unequal URLs may be equal because of how they are hosted.
     *
     * ### Equal URLs should be equal
     *
     * These two URLs are semantically identical, but `java.net.URI` disagrees:
     *
     *  * http://host:80/
     *
     *  * http://host
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  7. src/encoding/json/decode_test.go

    			if tt.err == nil {
    				enc, err := Marshal(v.Interface())
    				if err != nil {
    					t.Fatalf("%s: Marshal error after roundtrip: %v", tt.Where, err)
    				}
    				if tt.golden && !bytes.Equal(enc, in) {
    					t.Errorf("%s: Marshal:\n\tgot:  %s\n\twant: %s", tt.Where, enc, in)
    				}
    				vv := reflect.New(reflect.TypeOf(tt.ptr).Elem())
    				dec = NewDecoder(bytes.NewReader(enc))
    				if tt.useNumber {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  8. src/net/http/fs_test.go

    		MethodGet,
    		MethodPost,
    		MethodPut,
    		MethodPatch,
    		MethodDelete,
    		MethodOptions,
    		MethodTrace,
    	} {
    		req.Method = method
    		_, body := getBody(t, method, req, c)
    		if !bytes.Equal(body, file) {
    			t.Fatalf("body mismatch for %v request: got %q, want %q", method, body, file)
    		}
    	}
    
    	// HEAD request.
    	req.Method = MethodHead
    	resp, body := getBody(t, "HEAD", req, c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		{
    			name:   "filter returns two items, page size equal to total list size",
    			prefix: "/pods",
    			pred: storage.SelectionPredicate{
    				Field: fields.OneTermEqualSelector("metadata.name", "foo"),
    				Label: labels.Everything(),
    				Limit: 5,
    			},
    			expectedOut: []example.Pod{*preset[2], *preset[4]},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

    		},
    	}
    
    	for i, tc := range testCases {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			got := ExpectedExpiryTime(tc.modTime, int(tc.days))
    			if !got.Equal(tc.expected) {
    				t.Fatalf("Expected %v to be equal to %v", got, tc.expected)
    			}
    		})
    	}
    }
    
    func TestEval(t *testing.T) {
    	testCases := []struct {
    		inputConfig            string
    		objectName             string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top