Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 74 for set_resource (0.76 sec)

  1. tensorflow/compiler/jit/compilability_check_util.cc

    #include "tensorflow/core/public/version.h"
    #include "tensorflow/core/util/dump_graph.h"
    
    namespace tensorflow {
    
    namespace {
    
    bool HasResourceInput(const Node& node) {
      return absl::c_count(node.input_types(), DT_RESOURCE) != 0;
    }
    
    void LogNotCompilable(const Node& node, absl::string_view reason = "") {
      VLOG(3) << "Found uncompilable node " << node.name() << " (op "
              << node.type_string() << ")" << (reason.empty() ? "" : ": ")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_pod_control_test.go

    	fakeClient.AddReactor("get", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) {
    		return true, nil, apierrors.NewNotFound(action.GetResource().GroupResource(), action.GetResource().Resource)
    	})
    	fakeClient.AddReactor("create", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) {
    		create := action.(core.CreateAction)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  3. cmd/handler-utils.go

    	}
    }
    
    func collectAPIStats(api string, f http.HandlerFunc) http.HandlerFunc {
    	return func(w http.ResponseWriter, r *http.Request) {
    		resource, err := getResource(r.URL.Path, r.Host, globalDomainNames)
    		if err != nil {
    			defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    
    			apiErr := errorCodes.ToAPIErr(ErrUnsupportedHostHeader)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go

    				},
    			}
    			ctx := context.TODO()
    			var budget int64 = celconfig.RuntimeCELCostBudget
    			if tc.costBudget != 0 {
    				budget = tc.costBudget
    			}
    			validateResult := v.Validate(ctx, fakeVersionedAttr.GetResource(), fakeVersionedAttr, nil, nil, budget, nil)
    
    			require.Equal(t, len(validateResult.Decisions), len(tc.policyDecision))
    
    			for i, policyDecision := range tc.policyDecision {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. pkg/controller/servicecidrs/servicecidrs_controller_test.go

    		if action.GetVerb() != verb {
    			t.Errorf("Expected action %d verb to be %s, got %s", i, verb, action.GetVerb())
    		}
    		resource := expected[i][1]
    		if action.GetResource().Resource != resource {
    			t.Errorf("Expected action %d resource to be %s, got %s", i, resource, action.GetResource().Resource)
    		}
    		subresource := expected[i][2]
    		if action.GetSubresource() != subresource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 22K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go

    			Namespace:   attr.GetNamespace(),
    			Verb:        attr.GetVerb(),
    			Group:       attr.GetAPIGroup(),
    			Version:     attr.GetAPIVersion(),
    			Resource:    attr.GetResource(),
    			Subresource: attr.GetSubresource(),
    			Name:        attr.GetName(),
    		}
    	} else {
    		r.Spec.NonResourceAttributes = &authorizationv1.NonResourceAttributes{
    			Path: attr.GetPath(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    func (e *quotaEvaluator) checkRequest(quotas []corev1.ResourceQuota, a admission.Attributes) ([]corev1.ResourceQuota, error) {
    	evaluator := e.registry.Get(a.GetResource().GroupResource())
    	if evaluator == nil {
    		return quotas, nil
    	}
    	return CheckRequest(quotas, a, evaluator, e.config.LimitedResources)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_cluster_util.cc

    }
    
    bool HasResourceInputOrOutput(const Node& node) {
      return std::find(node.input_types().begin(), node.input_types().end(),
                       DT_RESOURCE) != node.input_types().end() ||
             std::find(node.output_types().begin(), node.output_types().end(),
                       DT_RESOURCE) != node.output_types().end();
    }
    
    void RemoveFromXlaCluster(NodeDef* node_def) {
      node_def->mutable_attr()->erase(kXlaClusterAttr);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. pkg/kubelet/server/server.go

    			klog.ErrorS(err, "Authorization error", "user", attrs.GetUser().GetName(), "verb", attrs.GetVerb(), "resource", attrs.GetResource(), "subresource", attrs.GetSubresource())
    			msg := fmt.Sprintf("Authorization error (user=%s, verb=%s, resource=%s, subresource=%s)", attrs.GetUser().GetName(), attrs.GetVerb(), attrs.GetResource(), attrs.GetSubresource())
    			resp.WriteErrorString(http.StatusInternalServerError, msg)
    			return
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/GeneratePluginAdaptersTask.java

                }
            }
            if (!validationErrors.isEmpty()) {
                throw new LocationAwareException(new IllegalArgumentException(String.join("\n", validationErrors)),
                    scriptPlugin.getBodySource().getResource().getLocation().getDisplayName(),
                    pluginRequests.iterator().next().getLineNumber());
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 22:50:50 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top