Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 180 for _Equal (0.24 sec)

  1. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    				t.Errorf("State is not equal, got: %v, want: %v", newState.antiAffinityCounts, test.expectedAntiAffinity)
    			}
    
    			if !reflect.DeepEqual(newState.affinityCounts, test.expectedAffinity) {
    				t.Errorf("State is not equal, got: %v, want: %v", newState.affinityCounts, test.expectedAffinity)
    			}
    
    			if !reflect.DeepEqual(allPodsState, state) {
    				t.Errorf("State is not equal, got: %v, want: %v", state, allPodsState)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
  2. 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)
  3. cmd/kube-controller-manager/app/options/options_test.go

    			expectErrors:           true,
    			expectedErrorSubString: "concurrent-job-syncs must be greater than 0",
    			options: &JobControllerOptions{
    				&jobconfig.JobControllerConfiguration{
    					ConcurrentJobSyncs: 0,
    				},
    			},
    		},
    		{
    			name:                   "CronJobControllerOptions ConcurrentCronJobSyncs equal 0",
    			expectErrors:           true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. src/runtime/map.go

    					break bucketloop
    				}
    				continue
    			}
    			k := add(unsafe.Pointer(b), dataOffset+i*uintptr(t.KeySize))
    			if t.IndirectKey() {
    				k = *((*unsafe.Pointer)(k))
    			}
    			if t.Key.Equal(key, k) {
    				e := add(unsafe.Pointer(b), dataOffset+abi.MapBucketCount*uintptr(t.KeySize)+i*uintptr(t.ValueSize))
    				if t.IndirectElem() {
    					e = *((*unsafe.Pointer)(e))
    				}
    				return e
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      private static <E> List<E> list(E... elements) {
        return ImmutableList.copyOf(elements);
      }
    
      /**
       * Utility method to verify that the given LinkedHashSet is equal to and hashes identically to a
       * set constructed with the elements in the given collection. Also verifies that the ordering in
       * the set is the same as the ordering of the given contents.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    			name:                      "equal edge case",
    			wantInsufficientResources: []InsufficientResource{},
    		},
    		{
    			pod: newResourceInitPod(newResourcePod(framework.Resource{MilliCPU: 4, Memory: 1}), framework.Resource{MilliCPU: 5, Memory: 1}),
    			nodeInfo: framework.NewNodeInfo(
    				newResourcePod(framework.Resource{MilliCPU: 5, Memory: 19})),
    			name:                      "equal edge case for init container",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  7. tensorflow/cc/gradients/math_grad.cc

      //                              [g2]]
      auto grad = Reshape(scope, grad_inputs[0], output_shape_kept_dims);
    
      // indicators = equal(y, input)
      //  = equal([[5],   [[5, 5, 5],
      //           [-3]],  [1, 2, -3]])
      //  = [[1, 1, 1],
      //     [0, 0, 1]]
      auto indicators = Cast(scope, Equal(scope, y, input), grad_inputs[0].type());
    
      // [[3],
      //  [1]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  8. cmd/erasure-healing_test.go

    	nfi, err := getLatestFileInfo(ctx, fileInfos, er.defaultParityCount, errs)
    	if err != nil {
    		t.Fatalf("Failed to getLatestFileInfo - %v", err)
    	}
    
    	if !reflect.DeepEqual(fi, nfi) {
    		t.Fatalf("FileInfo not equal after healing: %v != %v", fi, nfi)
    	}
    
    	err = firstDisk.Delete(context.Background(), bucket, pathJoin(object, fi.DataDir, "part.1"), DeleteOptions{
    		Recursive: false,
    		Immediate: false,
    	})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  9. src/crypto/tls/tls_test.go

    	select {
    	case <-childDone:
    		return
    	case serverTLSUniquesValue = <-serverTLSUniques:
    	}
    
    	if !bytes.Equal(conn.ConnectionState().TLSUnique, serverTLSUniquesValue) {
    		t.Error("client and server channel bindings differ")
    	}
    	if serverTLSUniquesValue == nil || bytes.Equal(serverTLSUniquesValue, make([]byte, 12)) {
    		t.Error("tls-unique is empty or zero")
    	}
    	conn.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  10. tensorflow/c/kernels_test.cc

        TF_OpKernelConstruction_GetAttrInt64List(ctx, "Attr", values, list_size,
                                                 status);
        EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        EXPECT_TRUE(
            std::equal(std::begin(list), std::end(list), std::begin(values)));
        TF_DeleteStatus(status);
        return static_cast<void*>(s);
      };
    
      AttrValue v;
      int64_t attr_in[] = {1, 2, 3, 4};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
Back to top