Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 60 for _Equal (0.18 sec)

  1. pkg/scheduler/schedule_one_test.go

    					t.Errorf("err \nWANT=%+v,\nGOT=%+v", item.expectError, gotErr)
    				}
    			} else if gotErr != nil {
    				t.Errorf("err \nWANT=%+v,\nGOT=%+v", item.expectError, gotErr)
    			}
    			if !cmp.Equal(item.expectPodBind, gotBind) {
    				t.Errorf("err \nWANT=%+v,\nGOT=%+v", item.expectPodBind, gotBind)
    			}
    
    			if item.expectAssumeCalled != fakeVolumeBinder.AssumeCalled {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  2. src/net/http/transport_test.go

    	// run on an old connection. This function is synchronous.
    	ExportCloseTransportConnsAbruptly(c.Transport.(*Transport))
    
    	body3 := fetch(3, 5)
    
    	if body1 != body2 {
    		t.Errorf("expected body1 and body2 to be equal")
    	}
    	if body2 == body3 {
    		t.Errorf("expected body2 and body3 to be different")
    	}
    }
    
    // Test for https://golang.org/issue/2616 (appropriate issue number)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

    func.func @testStaticAndIdenticalTypeForEqualOp(%arg0: tensor<2xi32>, %arg1: tensor<2xi32>) -> tensor<2xi1> {
      // CHECK:      "tf.Equal"(%arg0, %arg1)
      // CHECK-SAME:   incompatible_shape_error = true
      // CHECK-SAME:   device = "/job:localhost/replica:0/task:0/device:GPU:0"
      %0 = "tf.Equal"(%arg0, %arg1) {incompatible_shape_error = false, device = "/job:localhost/replica:0/task:0/device:GPU:0"} : (tensor<2xi32>, tensor<2xi32>) -> tensor<2xi1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  4. cluster/gce/util.sh

      # Each MIG must have at least one node, so the min number of nodes
      # must be greater or equal to the number of migs.
      if [[ ${AUTOSCALER_MIN_NODES} -lt 0 ]]; then
        echo "AUTOSCALER_MIN_NODES must be greater or equal 0"
        exit 2
      fi
    
      # Each MIG must have at least one node, so the min number of nodes
      # must be greater or equal to the number of migs.
      if [[ ${AUTOSCALER_MAX_NODES} -lt ${NUM_MIGS} ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

      if (mlir::cast<ShapedType>(conv_op.getWindowStrides().value().getType())
              .getRank() != 1)
        return rewriter.notifyMatchFailure(
            conv_op, "requires window_strides to equal to one");
    
      int num_spatial_dims = dnums.getInputSpatialDimensions().size();
      if (num_spatial_dims != 2)
        return rewriter.notifyMatchFailure(conv_op, "doesn't support more than 2D");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  6. pkg/apis/apps/validation/validation_test.go

    						RollingUpdate: &apps.RollingUpdateDaemonSet{
    							MaxUnavailable: intstr.FromInt32(1),
    						},
    					},
    				},
    			},
    		},
    		"unchanged templateGeneration upon semantically equal template update": {
    			old: apps.DaemonSet{
    				ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault},
    				Spec: apps.DaemonSetSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        // Update the result type of this op with the resource's type. We only use
        // the resource subtype of the first user since shapes from all the users
        // should be equal or compatible.
        return UpdateTypeAndInsertIncompatibleUseCasts(subtype, op->getResult(0));
      }
      return false;
    }
    
    // Helper structure to capture shapes & types for Dataset input.
    struct DatasetInput {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/gateway_test.go

    				}
    			}
    
    			if !maps.EqualFunc(tt.expectedVirtualHosts, vh, slices.Equal) {
    				t.Errorf("got unexpected virtual hosts. Expected: %v, Got: %v", tt.expectedVirtualHosts, vh)
    			}
    			if !maps.Equal(tt.expectedHTTPRoutes, hr) {
    				t.Errorf("got unexpected number of http routes. Expected: %v, Got: %v", tt.expectedHTTPRoutes, hr)
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  9. src/net/http/serve_test.go

    			t.Errorf("Body read: %v", err)
    			return
    		}
    		if len(slurp) != len(requestBody) {
    			t.Errorf("Backend read %d request body bytes; want %d", len(slurp), len(requestBody))
    			return
    		}
    		if !bytes.Equal(slurp, requestBody) {
    			t.Error("Backend read wrong request body.") // 1MB; omitting details
    			return
    		}
    		bodyOkay <- true
    		<-gone
    		gotCloseNotify <- true
    	})).ts
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	}
    
    	// get the object
    	checkobj, err := registry.Get(testContext, podA.Name, &metav1.GetOptions{})
    	if err != nil {
    		t.Errorf("Unexpected error: %v", err)
    	}
    
    	// verify objects are equal
    	if e, a := objA, checkobj; !reflect.DeepEqual(e, a) {
    		t.Errorf("Expected %#v, got %#v", e, a)
    	}
    
    	// now try to create the second pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
Back to top