Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 140 for set_resource (0.27 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

          auto info_it =
              var_access_info.per_resource_info.find(read_op.getResource());
          bool is_merge_candidate =
              info_it != var_access_info.per_resource_info.end();
    
          if (is_merge_candidate &&
              !IsResourceSafeForMerge(read_op.getResource(), resource_analysis_info,
                                      var_access_info, resource_ids,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/FilteringClassLoader.java

                }
            }
            return packages.toArray(new Package[0]);
        }
    
        @Override
        public URL getResource(String name) {
            if (isResourceAllowed(name)) {
                return super.getResource(name);
            }
            return EXT_CLASS_LOADER.getResource(name);
        }
    
        @Override
        public Enumeration<URL> getResources(String name) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  3. pkg/kubelet/certificate/bootstrap/bootstrap_test.go

    	switch opts.failureType {
    	case createError:
    		f.PrependReactor("create", "certificatesigningrequests", func(action clienttesting.Action) (handled bool, ret runtime.Object, err error) {
    			switch action.GetResource().Version {
    			case "v1":
    				return true, nil, fmt.Errorf("create error")
    			default:
    				return true, nil, apierrors.NewNotFound(certificatesv1.Resource("certificatesigningrequests"), "")
    			}
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 14:24:11 UTC 2023
    - 13K bytes
    - Viewed (0)
  4. plugin/pkg/admission/certificates/ctbattest/admission_test.go

    	}
    	if a.GetAPIVersion() != "*" {
    		return authorizer.DecisionDeny, fmt.Sprintf("unrecognised apiVersion '%s'", a.GetAPIVersion()), nil
    	}
    	if a.GetResource() != "signers" {
    		return authorizer.DecisionDeny, fmt.Sprintf("unrecognised resource '%s'", a.GetResource()), nil
    	}
    	if a.GetName() != f.allowedName {
    		return authorizer.DecisionDeny, fmt.Sprintf("unrecognised resource name '%s'", a.GetName()), nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestTaskIntegrationTest.groovy

                ${testFrameworkImports}
    
                public class MyTest {
                   @Test
                   public void test() {
                      assertNotNull(getClass().getResource("dependency/foo.properties"));
                   }
                }
            """.stripIndent()
    
            def resourceFile = file("dependency/src/main/resources/dependency/foo.properties")
            resourceFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

      // Reorders the arguments.
      std::sort(args.begin(), args.end(), [&](Node* a, Node* b) {
        // Non-resources appear before resources
        bool a_is_resource = (a->output_type(0) == DT_RESOURCE);
        bool b_is_resource = (b->output_type(0) == DT_RESOURCE);
        // Uses the name as a tiebreaker so the output is deterministic.
        StringPiece a_name(a->name());
        StringPiece b_name(b->name());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. pilot/pkg/leaderelection/k8sleaderelection/leaderelection_test.go

    			reactors: []Reactor{
    				{
    					verb: "get",
    					reaction: func(action fakeclient.Action) (handled bool, ret runtime.Object, err error) {
    						return true, nil, errors.NewNotFound(action.(fakeclient.GetAction).GetResource().GroupResource(), action.(fakeclient.GetAction).GetName())
    					},
    				},
    				{
    					verb: "create",
    					reaction: func(action fakeclient.Action) (handled bool, ret runtime.Object, err error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 23 16:39:43 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GroovyScriptClassCompiler.java

        ) {
            assert source.getResource().isContentCached();
            if (source.getResource().getHasEmptyContent()) {
                return new EmptyCompiledScript<>(operation);
            }
    
            String templateId = operation.getId();
            // TODO: Figure if execution engine should calculate the source hash on its own
            HashCode sourceHashCode = source.getResource().getContentHash();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:23:24 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc

        if (!assign_var || assign_var.getValue() != result) continue;
        auto partitioned_input =
            llvm::dyn_cast_or_null<TF::TPUPartitionedInputV2Op>(
                assign_var.getResource().getDefiningOp());
        if (!partitioned_input ||
            !AllResourceTypesHaveSubtypes(partitioned_input.getInputs().getTypes()))
          continue;
    
        const auto inputs = partitioned_input.getInputs();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. pkg/controller/podautoscaler/metrics/client_test.go

    	} else if isExternal {
    		fakeEMClient.AddReactor("list", "*", func(action core.Action) (handled bool, ret runtime.Object, err error) {
    			listAction := action.(core.ListAction)
    			assert.Equal(t, tc.metricName, listAction.GetResource().Resource, "the metric requested should have matched the one specified.")
    			assert.Equal(t, tc.metricLabelSelector, listAction.GetListRestrictions().Labels, "the metric selector should have matched the one specified")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 02:34:54 UTC 2021
    - 16.4K bytes
    - Viewed (0)
Back to top