Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for _Equal (0.13 sec)

  1. pkg/controller/garbagecollector/garbagecollector_test.go

    		t.Fatal(err)
    	}
    	assert.Equal(t, 0, len(gc.dependencyGraphBuilder.monitors))
    
    	// Make sure resource monitor syncing creates and stops resource monitors.
    	tweakableRM.Add(schema.GroupVersionKind{Group: "tpr.io", Version: "v1", Kind: "unknown"}, nil)
    	err = gc.resyncMonitors(logger, twoResources)
    	if err != nil {
    		t.Errorf("Failed adding a monitor: %v", err)
    	}
    	assert.Equal(t, 2, len(gc.dependencyGraphBuilder.monitors))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/ops.mlir

      // CHECK: "tfl.equal"(%arg0, %arg1)
      %0 = "tfl.equal"(%arg0, %arg1) : (tensor<? x f32>, tensor<? x f32>) -> tensor<? x i1>
      func.return %0#0 : tensor<? x i1>
    }
    
    // CHECK-LABEL: testEqualInt16
    func.func @testEqualInt16(tensor<? x i16>, tensor<? x i16>) -> tensor<? x i1> {
    ^bb0(%arg0: tensor<? x i16>, %arg1: tensor<? x i16>):
      // CHECK: "tfl.equal"(%arg0, %arg1)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  3. src/database/sql/sql_test.go

    	}
    	err = rows.Err()
    	if err != nil {
    		t.Fatalf("Err: %v", err)
    	}
    	want := []row{
    		{age: 1, name: "Alice"},
    		{age: 2, name: "Bob"},
    		{age: 3, name: "Chris"},
    	}
    	if !slices.Equal(got, want) {
    		t.Errorf("mismatch.\n got: %#v\nwant: %#v", got, want)
    	}
    
    	// And verify that the final rows.Next() call, which hit EOF,
    	// also closed the rows connection.
    	if n := db.numFreeConns(); n != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    			latestID = dID
    			latestPeers = ps.Peers
    		}
    	}
    	latestPeerName = info.Sites[latestID].Name
    
    	for dID, ps := range info.PeerStates {
    		// If latest peers ILM expiry flags are equal to current peer, no need to heal
    		flagEqual := true
    		for id, peer := range latestPeers {
    			if !(ps.Peers[id].ReplicateILMExpiry == peer.ReplicateILMExpiry) {
    				flagEqual = false
    				break
    			}
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    		if err != nil {
    			t.Fatalf("Test %d: %s: Failed reading response body: <ERROR> %v", i+1, instanceType, err)
    		}
    
    		if rec.Code == http.StatusOK || rec.Code == http.StatusPartialContent {
    			if !bytes.Equal(testCase.expectedContent, actualContent) {
    				t.Errorf("Test %d: %s: Object content differs from expected value %s, got %s", i+1, instanceType, testCase.expectedContent, string(actualContent))
    			}
    			continue
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      }];
    }
    
    def TFL_EqualOp: TFL_Op<"equal", [
        Commutative,
        Pure,
        ResultsBroadcastableShape,
        TFL_OperandsHaveSameShapesOrBroadcastableShape<[0, 1], 4>,
        QuantizableResult,
        ComparisonOpSameElementTypeConstraint]> {
      let summary = "Equal operator";
    
      let description = [{
        Returns the truth element of x == y element-wise
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  7. pkg/controller/daemon/daemon_controller_test.go

    	key, quit := dsc.queue.Get()
    	if quit {
    		t.Fatal("Queue is shutting down!")
    	}
    	dsc.queue.Done(key)
    	if key != oldDSKey {
    		t.Fatal("Keys should be equal!")
    	}
    
    	expectStableQueueLength(0)
    
    	newDS := oldDS.DeepCopy()
    	newDS.UID = uuid.NewUUID()
    	newDS, err = client.AppsV1().DaemonSets(newDS.Namespace).Create(context.Background(), newDS, metav1.CreateOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    }
    
    func.func @equal(%arg0: tensor<8x16xf32>, %arg1: tensor<8x16xf32>) -> tensor<8x16xi1> {
      %0 = "tf.Equal"(%arg0, %arg1) : (tensor<8x16xf32>, tensor<8x16xf32>) -> tensor<8x16xi1>
      func.return %0 : tensor<8x16xi1>
    
    // CHECK-LABEL: equal
    // CHECK:  "tfl.equal"(%arg0, %arg1) : (tensor<8x16xf32>, tensor<8x16xf32>) -> tensor<8x16xi1>
    // CHECK:  return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	var buffer bytes.Buffer
    	// extract the body of the response.
    	responseBody, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	// assert the http response body content.
    	c.Assert(true, bytes.Equal(responseBody, buffer.Bytes()))
    }
    
    func (s *TestSuiteCommon) TestBucket(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  10. pkg/proxy/nftables/proxier_test.go

    	proxier = &Proxier{ipFamily: v1.IPv4Protocol}
    	proxier.OnServiceCIDRsChanged([]string{"172.30.0.0/16", "fd00:10:96::/112"})
    	assert.Equal(t, proxier.serviceCIDRs, "172.30.0.0/16")
    
    	proxier.OnServiceCIDRsChanged([]string{"172.30.0.0/16", "172.50.0.0/16", "fd00:10:96::/112", "fd00:172:30::/112"})
    	assert.Equal(t, proxier.serviceCIDRs, "172.30.0.0/16,172.50.0.0/16")
    
    	proxier = &Proxier{ipFamily: v1.IPv6Protocol}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
Back to top