Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 237 for notFound (0.21 sec)

  1. cmd/erasure-healing.go

    func isObjectDirDangling(errs []error) (ok bool) {
    	var found int
    	var notFound int
    	var foundNotEmpty int
    	var otherFound int
    	for _, readErr := range errs {
    		switch {
    		case readErr == nil:
    			found++
    		case readErr == errFileNotFound || readErr == errVolumeNotFound:
    			notFound++
    		case readErr == errVolumeNotEmpty:
    			foundNotEmpty++
    		default:
    			otherFound++
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  2. pkg/controller/namespace/deletion/namespaced_resources_deleter.go

    	if err == nil {
    		return true, nil
    	}
    
    	// this is strange, but we need to special case for both MethodNotSupported and NotFound errors
    	// TODO: https://github.com/kubernetes/kubernetes/issues/22413
    	// we have a resource returned in the discovery API that supports no top-level verbs:
    	//  /apis/extensions/v1beta1/namespaces/default/replicationcontrollers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/DefaultNamedDomainObjectCollection.java

            }
    
            @Override
            public DynamicInvokeResult tryGetProperty(String name) {
                T t = findByName(name);
                return t == null ? DynamicInvokeResult.notFound() : DynamicInvokeResult.found(t);
            }
    
            @Override
            public Map<String, T> getProperties() {
                return getAsMap();
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 16:54:51 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental.cc

                                   TF_Buffer* buf, TF_Status* status) {
      auto* function_def = tensorflow::unwrap(ctx)->FindFunctionDef(function_name);
      if (function_def == nullptr) {
        status->status = tensorflow::errors::NotFound(
            "Unable to find FunctionDef with name: ", function_name);
        return;
      }
      string str = function_def->SerializeAsString();
      void* data = tensorflow::port::Malloc(str.length());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/python/mlir.cc

      FunctionLibraryDefinition& flib_def = *cpp_context->FuncLibDef();
      const tensorflow::FunctionDef* fdef = flib_def.Find(function_name);
      if (fdef == nullptr) {
        s = tensorflow::errors::NotFound("Cannot find function ", function_name);
        tsl::Set_TF_Status_from_Status(status, s);
        return "// error";
      }
    
      std::unique_ptr<tensorflow::FunctionBody> fbody;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    		return storage.NewInternalError(err.Error())
    	}
    	span.AddEvent("TransformToStorage succeeded")
    
    	startTime := time.Now()
    	txnResp, err := s.client.KV.Txn(ctx).If(
    		notFound(preparedKey),
    	).Then(
    		clientv3.OpPut(preparedKey, string(newData), opts...),
    	).Commit()
    	metrics.RecordEtcdRequest("create", s.groupResourceString, err, startTime)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/CachingModuleComponentRepository.java

                            for (String location : cached.attemptedLocations()) {
                                result.attempted(location);
                            }
                            result.notFound(artifact.getId());
                        }
                    } else {
                        File cachedArtifactFile = cached.getCachedFile();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  8. pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go

    	}
    	_, ctx := ktesting.NewTestContext(t)
    	d := NewNamespacedResourcesDeleter(ctx, mockClient.CoreV1().Namespaces(), mockMetadataClient, mockClient.CoreV1(), resourcesFn, v1.FinalizerKubernetes)
    
    	// Delete ns1 and get NotFound errors for the flakes resource
    	mockMetadataClient.ClearActions()
    	if err := d.Delete(ctx, ns1.Name); err != nil {
    		t.Fatal(err)
    	}
    	if len(mockMetadataClient.Actions()) != 3 ||
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/apiclient/wait.go

    				if pod.Status.Phase != v1.PodRunning {
    					return false, nil
    				}
    			}
    
    			return true, nil
    		})
    }
    
    // WaitForPodToDisappear blocks until it timeouts or gets a "NotFound" response from the API Server when getting the Static Pod in question
    func (w *KubeWaiter) WaitForPodToDisappear(podName string) error {
    	return wait.PollUntilContextTimeout(context.Background(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/net/conf.go

    	// sources for "hosts", assume Go's DNS will work fine.
    	if errors.Is(nss.err, fs.ErrNotExist) || (nss.err == nil && len(srcs) == 0) {
    		if canUseCgo && c.goos == "solaris" {
    			// illumos defaults to
    			// "nis [NOTFOUND=return] files",
    			// which the go resolver doesn't support.
    			return hostLookupCgo, dnsConf
    		}
    
    		return hostLookupFilesDNS, dnsConf
    	}
    	if nss.err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top