Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 127 for set_resource (0.19 sec)

  1. plugin/pkg/admission/gc/gc_admission.go

    			User:            attributes.GetUserInfo(),
    			Verb:            "delete",
    			Namespace:       attributes.GetNamespace(),
    			APIGroup:        attributes.GetResource().Group,
    			APIVersion:      attributes.GetResource().Version,
    			Resource:        attributes.GetResource().Resource,
    			Subresource:     attributes.GetSubresource(),
    			Name:            attributes.GetName(),
    			ResourceRequest: true,
    			Path:            "",
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/FilteringClassLoaderTest.groovy

        }
    
        void cannotSeeResource(String name) {
            assert classLoader.getResource(name) == null
            assert classLoader.getResourceAsStream(name) == null
            assert !classLoader.getResources(name).hasMoreElements()
        }
    
        void canSeeResource(String name) {
            assert classLoader.getResource(name) != null
            def instr = classLoader.getResourceAsStream(name)
            assert instr != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectoryTest.groovy

            when:
            def homes = jdkCacheDirectory.listJavaHomes()
    
            then:
            homes.isEmpty()
        }
    
        def "provisions jdk from tar.gz archive"() {
            def jdkArchive = resources.getResource("jdk.tar.gz")
            def jdkCacheDirectory = new DefaultJdkCacheDirectory(newHomeDirProvider(), TestFiles.fileOperations(temporaryFolder, tmpFileProvider()), mockLockManager(), mockDetector(), tmpFileProvider())
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 06:41:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc

          var_handle_shared_names->emplace_back(name);
          auto resource_type = var_handle_op.getResource().getType();
          func_arg_types.push_back(resource_type);
          var_handle_op.getResource().replaceAllUsesWith(
              block.addArgument(resource_type, var_handle_op.getLoc()));
        } else {
          var_handle_op.getResource().replaceAllUsesWith(
              block.getArgument(it.first->getSecond()));
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top