Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for respondsTo (0.28 sec)

  1. testing/performance/src/templates/task-creation/build.gradle

     */
    
    @groovy.transform.CompileStatic
    void createTasks(Project p, int iterations) {
        for (int i=0; i<iterations; i++) {
            p.task("foo\$i", type: Copy)
        }
    }
    
    if (tasks.metaClass.respondsTo(tasks, "register")) {
        for (int i=0; i<$taskCount; i++) {
           project.tasks.register("foo\$i", Copy)
        }
    } else {
        createTasks(project, $taskCount)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 974 bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/CallInterceptingMetaClass.java

         */
        @Override
        public List<MetaMethod> respondsTo(Object obj, String name, Object[] argTypes) {
            return Cast.uncheckedNonnullCast(super.respondsTo(obj, name, argTypes));
        }
    
        /**
         * This is overridden just to make the compiler happy about the unchecked conversions.
         */
        @Override
        public List<MetaMethod> respondsTo(Object obj, String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/GroovyCodecs.kt

                }
                scriptReferenced()
            }
    
            override fun invokeMethod(name: String, args: Any): Any {
                // See above for why this check happens
                if (targetMetadata.respondsTo(null, name).isEmpty()) {
                    throw MissingMethodException(name, Project::class.java, arrayOf())
                }
                scriptReferenced()
            }
    
            private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy

            this.stderr = stderr
            this.stdout = stdout
            this.dist = dist
            this.useSeparateDaemonBaseDir = DefaultGradleConnector.metaClass.respondsTo(null, "daemonBaseDir")
            this.gradleUserHomeDir = context.gradleUserHomeDir
            this.daemonBaseDir = context.daemonBaseDir
            this.requiresDaemon = !GradleContextualExecuter.embedded
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:23 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

                }
                throw err.build()
            }
    
            void validate(String expectedOperationDisplayName) {
                if (testDisplayName != null && parent.respondsTo("getTestDisplayName")) {
                    assert testDisplayName == ((TestOperationDescriptor) parent).testDisplayName
                }
                if (operationDisplayName != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

                    return DynamicInvokeResult.found(metaMethod.doMethodInvoke(bean, arguments));
                }
    
                if (argsTransformer.canTransform(arguments)) {
                    List<MetaMethod> metaMethods = metaClass.respondsTo(bean, name);
                    for (MetaMethod method : metaMethods) {
                        if (method.getParameterTypes().length != arguments.length) {
                            continue;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  7. src/net/http/pprof/pprof.go

    }
    
    type profileEntry struct {
    	Name  string
    	Href  string
    	Desc  string
    	Count int
    }
    
    // Index responds with the pprof-formatted profile named by the request.
    // For example, "/debug/pprof/heap" serves the "heap" profile.
    // Index responds to a request for "/debug/pprof/" with an HTML page
    // listing the available profiles.
    func Index(w http.ResponseWriter, r *http.Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:34:05 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. pilot/pkg/xds/nds.go

    	"istio.io/istio/pkg/config/schema/kind"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // NdsGenerator generates config for Nds i.e. Name Discovery Service. Istio agents
    // send NDS requests to istiod and istiod responds with a list of services and their
    // associated IPs (including service entries).
    // The agent then updates its internal DNS based on this data. If DNS capture is enabled
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 15:58:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. cmd/acl-handlers.go

    	} `xml:"AccessControlList"`
    }
    
    // PutBucketACLHandler - PUT Bucket ACL
    // -----------------
    // This operation uses the ACL subresource
    // to set ACL for a bucket, this is a dummy call
    // only responds success if the ACL is private.
    func (api objectAPIHandlers) PutBucketACLHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketACL")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. src/net/rpc/jsonrpc/server.go

    	// Package rpc expects uint64 request IDs.
    	// We assign uint64 sequence numbers to incoming requests
    	// but save the original request ID in the pending map.
    	// When rpc responds, we use the sequence number in
    	// the response to find the original request ID.
    	mutex   sync.Mutex // protects seq, pending
    	seq     uint64
    	pending map[uint64]*json.RawMessage
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top