Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 343 for found$ (0.13 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      }
    
      std::vector<int> indices;
      indices.reserve(tensor_names.size());
    
      for (const auto& name : tensor_names) {
        auto found = name_to_index.find(name);
        if (found != name_to_index.end()) {
          indices.push_back(found->second);
        } else {
          return errors::InvalidArgument("could not find tensor in subgraph: ",
                                         name);
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/pv_controller.go

    					return err
    				}
    				found = !apierrors.IsNotFound(err)
    				if !found {
    					obj, err = ctrl.kubeClient.CoreV1().PersistentVolumeClaims(volume.Spec.ClaimRef.Namespace).Get(ctx, volume.Spec.ClaimRef.Name, metav1.GetOptions{})
    					if err != nil && !apierrors.IsNotFound(err) {
    						return err
    					}
    					found = !apierrors.IsNotFound(err)
    				}
    			}
    		}
    		if !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/VersionCatalogExtensionIntegrationTest.groovy

                            println("Found plugin: '\${it.get().toString()}'.")
                        }
                    }
                }
            """
    
            when:
            run 'printCatalog'
    
            then:
            outputContains "Found version: '1.5'."
            outputContains "Found dependency: 'org:test:1.0'."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 77.8K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    	for _, tt := range cutTests {
    		if before, after, found := Cut([]byte(tt.s), []byte(tt.sep)); string(before) != tt.before || string(after) != tt.after || found != tt.found {
    			t.Errorf("Cut(%q, %q) = %q, %q, %v, want %q, %q, %v", tt.s, tt.sep, before, after, found, tt.before, tt.after, tt.found)
    		}
    	}
    }
    
    var cutPrefixTests = []struct {
    	s, sep string
    	after  string
    	found  bool
    }{
    	{"abc", "a", "bc", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. pkg/controller/history/controller_history_test.go

    	}
    	testFn := func(test *testcase, t *testing.T) {
    		found := FindEqualRevisions(test.revisions, test.revision)
    		if len(found) != len(test.want) {
    			t.Errorf("%s: want %d revisions found %d", test.name, len(test.want), len(found))
    		}
    		for i := range found {
    			if !test.want[found[i].Name] {
    				t.Errorf("%s: wanted %s not found", test.name, found[i].Name)
    			}
    
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    		}
    		// If there is an item present in the patch but not in the retainKeys list,
    		// the patch is invalid.
    		if _, found := m[k]; !found {
    			return mergepatch.ErrBadPatchFormatForRetainKeys
    		}
    	}
    
    	// clear not present fields
    	for k := range original {
    		if _, found := m[k]; !found {
    			delete(original, k)
    		}
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  7. tests/migrate_test.go

    		}
    		var found gorm.ColumnType
    		for _, columnType := range columnTypes {
    			if columnType.Name() == fieldName {
    				found = columnType
    			}
    		}
    		if found == nil {
    			t.Fatalf("%v: failed to find column type %q", utils.FileWithLineNum(), fieldName)
    		}
    		if actualUnique, ok := found.Unique(); !ok || actualUnique != unique {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  8. cmd/iam.go

    func (sys *IAMSys) IsTempUser(name string) (bool, string, error) {
    	if !sys.Initialized() {
    		return false, "", errServerNotInitialized
    	}
    
    	u, found := sys.store.GetUser(name)
    	if !found {
    		return false, "", errNoSuchUser
    	}
    	cred := u.Credentials
    	if cred.IsTemp() {
    		return true, cred.ParentUser, nil
    	}
    
    	return false, "", nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  9. pkg/scheduler/internal/cache/cache_test.go

    			if _, err := cache.GetPod(tc.podToUpdate); err == nil {
    				t.Error("expected error, no error found")
    			}
    
    			// trying to update an unknown pod should return an error
    			// pod has not been added yet
    			if err := cache.UpdatePod(logger, tc.pod, tc.podToUpdate); err == nil {
    				t.Error("expected error, no error found")
    			}
    
    			if err := tc.handler(logger, cache, tc.pod); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    	}
    	// removing the disk, used to recreate disk not found error.
    	os.RemoveAll(diskPath)
    
    	// TestXLStorage for delete on an removed disk.
    	// should fail with disk not found.
    	err = xlStorageDeletedStorage.DeleteVol(context.Background(), "Del-Vol", false)
    	if err != errDiskNotFound {
    		t.Errorf("Expected: \"Drive not found\", got \"%s\"", err)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top