Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 127 for set_resource (2.67 sec)

  1. src/main/java/org/codelibs/core/io/ResourceUtil.java

         *
         * @param path
         *            リソースのパス。{@literal null}や空文字列であってはいけません
         * @return リソースの{@link URL}
         * @see #getResource(String, String)
         */
        public static URL getResource(final String path) {
            assertArgumentNotEmpty("path", path);
    
            return getResource(path, null);
        }
    
        /**
         * コンテキストクラスローダからリソースを返します。
         *
         * @param path
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/S3ClientIntegrationTest.groovy

            metadata.getETag() ==~ /\w{32}/
    
            when:
            server.stubGetFile(file, "/${bucketName}/maven/release/$FILE_NAME")
    
            then:
            S3Object object = s3Client.getResource(uri)
            IoActions.withResource(object, {
                object.metadata.getContentLength() == fileContents.length()
                object.metadata.getETag() ==~ /\w{32}/
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. src/cmd/trace/gen.go

    type stackSampleGenerator[R resource] struct {
    	// getResource is a function to extract a resource ID from a stack sample event.
    	getResource func(*trace.Event) R
    }
    
    // StackSample implements a stack sample event handler. It expects ev to be one such event.
    func (g *stackSampleGenerator[R]) StackSample(ctx *traceContext, ev *trace.Event) {
    	id := g.getResource(ev)
    	if id == R(noResource) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. plugin/pkg/admission/gc/gc_admission_test.go

    		}
    		if a.GetAPIGroup() == "*" && a.GetResource() == "*" { // this user does not have full rights
    			return authorizer.DecisionNoOpinion, "", nil
    		}
    		return authorizer.DecisionAllow, "", nil
    	}
    
    	if username == "non-pod-deleter" {
    		if a.GetVerb() == "delete" && a.GetResource() == "pods" {
    			return authorizer.DecisionNoOpinion, "", nil
    		}
    		if a.GetVerb() == "update" && a.GetResource() == "pods" && a.GetSubresource() == "finalizers" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/apiclient/dryrunclient.go

    func logDryRunAction(action core.Action, w io.Writer, marshalFunc MarshalFunc) {
    
    	group := action.GetResource().Group
    	if len(group) == 0 {
    		group = "core"
    	}
    	fmt.Fprintf(w, "[dryrun] Would perform action %s on resource %q in API group \"%s/%s\"\n", strings.ToUpper(action.GetVerb()), action.GetResource().Resource, group, action.GetResource().Version)
    
    	namedAction, ok := action.(actionWithName)
    	if ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 21 09:49:59 UTC 2022
    - 10.3K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/testing/testing.go

    		return true, nil, apierrors.NewNotFound(action.GetResource().GroupResource(), name)
    
    	case action.Matches("delete", "persistentvolumes"):
    		name := action.(core.DeleteAction).GetName()
    		logger.V(4).Info("Deleted volume", "volumeName", name)
    		obj, found := r.volumes[name]
    		if found {
    			delete(r.volumes, name)
    			for _, w := range r.getWatches(action.GetResource(), action.GetNamespace()) {
    				w.Delete(obj)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  7. platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/SigningFixtures.groovy

            return publicKey
        }
    
        static PGPSecretKey readAsciiArmoredSecretKey(String resource) {
            requireNonNull(SigningFixtures.class.getResource(resource), "Resource '$resource' does not exist.")
            PGPSecretKey secretKey = null
            SigningFixtures.class.getResource(resource).withInputStream { input ->
                try (InputStream decoderStream = PGPUtil.getDecoderStream(input)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

      Output a = ops::_Arg(root.WithOpName("A"), DT_RESOURCE, 0);
      std::vector<NodeBuilder::NodeOut> inputs({NodeBuilder::NodeOut(a.node())});
    
      Node* call;
      NameAttrList f_name_attr;
      f_name_attr.set_name(fd.signature().name());
      TF_ASSERT_OK(
          NodeBuilder("B", "StatefulPartitionedCall", &root.graph()->flib_def())
              .Input(inputs)
              .Attr("Tin", {DT_RESOURCE})
              .Attr("Tout", {DT_RESOURCE})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-10/plexus-classworlds-1.2-alpha-10.jar

    Class loadClass(String) throws ClassNotFoundExcepti; public java.net.URL getResource(String); public java.util.Enumeration findResources(String) throws java.io.IOException; } org/codehaus/plexus/classworlds/strategy/Strategy.class package org.codehaus.plexus.classworlds.strategy; public abstract interface Strategy { public abstract Class loadClass(String) throws ClassNotFoundExcepti; public abstract java.net.URL getResource(String); public abstract java.io.InputStream getResourceAsStream(String);...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 41.5K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar

    Class loadClass(String) throws ClassNotFoundExcepti; public java.net.URL getResource(String); public java.util.Enumeration findResources(String) throws java.io.IOException; } org/codehaus/plexus/classworlds/strategy/Strategy.class package org.codehaus.plexus.classworlds.strategy; public abstract interface Strategy { public abstract Class loadClass(String) throws ClassNotFoundExcepti; public abstract java.net.URL getResource(String); public abstract java.io.InputStream getResourceAsStream(String);...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 41.6K bytes
    - Viewed (0)
Back to top