Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for desc3 (0.32 sec)

  1. tensorflow/c/c_api_test.cc

      TF_ColocateWith(desc_, feed2_);
      FinishAndVerify(desc_, {"loc:@feed1", "loc:@feed2"});
    }
    
    TEST_F(CApiColocationTest, Proto_StringList) {
      SetViaProto(desc_, {"loc:@feed1"});
      SetViaStringList(desc_, {"loc:@feed2"});
      FinishAndVerify(desc_, {"loc:@feed2"});
    }
    
    TEST_F(CApiColocationTest, StringList_Proto) {
      SetViaStringList(desc_, {"loc:@feed1"});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  2. pkg/kubelet/nodestatus/setters_test.go

    	)
    
    	cases := []struct {
    		desc           string
    		maxImages      int32
    		imageList      []kubecontainer.Image
    		imageListError error
    		expectError    error
    	}{
    		{
    			desc:      "max images enforced",
    			maxImages: 1,
    			imageList: makeImageList(2, 1, minImageSize, maxImageSize),
    		},
    		{
    			desc:      "no max images cap for -1",
    			maxImages: -1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    	testCases := []struct {
    		desc    string
    		config  string
    		want    []healthChecker
    		wantErr string
    		kmsv2   bool
    		kmsv1   bool
    	}{
    		{
    			desc:    "Invalid config file path",
    			config:  "invalid/path",
    			want:    nil,
    			wantErr: `error reading encryption provider configuration file "invalid/path"`,
    		},
    		{
    			desc:    "Empty config file content",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  4. pkg/kubelet/pod_workers_test.go

    		expectGracePeriod                  int64
    		expectPending                      *UpdatePodOptions
    	}{
    		{
    			desc: "finished worker",
    			podSyncStatus: &podSyncStatus{
    				finished: true,
    			},
    			removed: true,
    		},
    		{
    			desc: "waiting to start worker because of another started pod with the same fullname",
    			podSyncStatus: &podSyncStatus{
    				finished: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  5. pkg/kubelet/stats/cri_stats_provider_test.go

    	var value2 uint64 = 188427786383
    
    	tests := []struct {
    		desc          string
    		cpuUsageCache map[string]*cpuUsageRecord
    		stats         *runtimeapi.ContainerStats
    		expected      *uint64
    	}{
    		{
    			desc:          "should return nil if stats is nil",
    			cpuUsageCache: map[string]*cpuUsageRecord{},
    		},
    		{
    			desc:          "should return nil if cpu stats is nil",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Preconditions.java

      public static int checkElementIndex(int index, int size, String desc) {
        // Carefully optimized for execution by hotspot (explanatory comment above)
        if (index < 0 || index >= size) {
          throw new IndexOutOfBoundsException(badElementIndex(index, size, desc));
        }
        return index;
      }
    
      private static String badElementIndex(int index, int size, String desc) {
        if (index < 0) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Preconditions.java

      public static int checkElementIndex(int index, int size, String desc) {
        // Carefully optimized for execution by hotspot (explanatory comment above)
        if (index < 0 || index >= size) {
          throw new IndexOutOfBoundsException(badElementIndex(index, size, desc));
        }
        return index;
      }
    
      private static String badElementIndex(int index, int size, String desc) {
        if (index < 0) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  8. pkg/volume/csi/csi_mounter_test.go

    	}
    	defer os.RemoveAll(existingMountPath)
    
    	tests := []struct {
    		desc           string
    		dir            string
    		expectedResult bool
    	}{
    		{
    			desc:           "NotExist dir",
    			dir:            "/tmp/NotExist",
    			expectedResult: false,
    		},
    		{
    			desc:           "Existing dir",
    			dir:            existingMountPath,
    			expectedResult: false,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  9. tests/query_test.go

    	}
    
    	result = dryDB.Order("age desc, name").Find(&User{})
    	if !regexp.MustCompile("SELECT \\* FROM .*users.* ORDER BY age desc, name").MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("Build Order condition, but got %v", result.Statement.SQL.String())
    	}
    
    	result = dryDB.Order("age desc").Order("name").Find(&User{})
    	if !regexp.MustCompile("SELECT \\* FROM .*users.* ORDER BY age desc,name").MatchString(result.Statement.SQL.String()) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  10. pkg/kubelet/server/server_test.go

    	}
    
    	for desc := range tests {
    		test := tests[desc]
    		t.Run(desc, func(t *testing.T) {
    			ss, err := newTestStreamingServer(0)
    			require.NoError(t, err)
    			defer ss.testHTTPServer.Close()
    			fw := newServerTestWithDebug(true, ss)
    			defer fw.testHTTPServer.Close()
    			fmt.Println(desc)
    
    			podNamespace := "other"
    			podName := "foo"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top