Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,851 for methods_ (0.27 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultTestSpec.java

            return includeMethods(cls, Collections.singletonList(method));
        }
    
        @Override
        public TestSpec includeMethods(String clazz, Collection<String> newMethods) {
            List<String> methods = this.methods.get(clazz);
            if (methods == null) {
                methods = new ArrayList<String>(newMethods.size());
                this.methods.put(clazz, methods);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/named_test.go

    			for j := range methods {
    				methods[j] = T.Method(j).Name()
    			}
    		} else {
    			// successive rounds: methods must appear in the same order
    			if got := T.NumMethods(); got != len(methods) {
    				t.Errorf("got %d methods, want %d", got, len(methods))
    				continue
    			}
    			for j, m := range methods {
    				if got := T.Method(j).Name(); got != m {
    					t.Errorf("got method %s, want %s", got, m)
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 21:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/testdata/authorizationpolicies.yaml

                principals: ["cluster.local/ns/default/sa/sleep"]
            - source:
                namespaces: ["httpbin"] # Namespace exists
          to:
            - operation:
                methods: ["GET"]
                paths: ["/info*"]
            - operation:
                methods: ["POST"]
                paths: ["/data"]
          when:
            - key: request.auth.claims[iss]
              values: ["https://accounts.google.com"]
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 08 14:14:46 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/interface.go

    // NumMethods returns the total number of methods of interface t.
    func (t *Interface) NumMethods() int { return t.typeSet().NumMethods() }
    
    // Method returns the i'th method of interface t for 0 <= i < t.NumMethods().
    // The methods are ordered by their unique Id.
    func (t *Interface) Method(i int) *Func { return t.typeSet().Method(i) }
    
    // Empty reports whether t is the empty interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/JavaMethod.java

        }
    
        public JavaMethod(Class<R> returnType, Method method) {
            this.returnType = returnType;
            this.method = method;
            method.setAccessible(true);
        }
    
        private static Method findMethod(Class<?> target, String name, boolean allowStatic, Class<?>[] paramTypes) {
            // First try to find a method from all public methods
            Method method = findMethodFrom(target.getMethods(), name, allowStatic, paramTypes);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 20 11:07:38 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ModelSchemaUtilsTest.groovy

            Object doSomething() { null }
        }
    
        def "overridden methods retain annotations"() {
            when:
            def methods = ModelSchemaUtils.getCandidateMethods(Child)
    
            then:
            methods.methodNames() == (["doSomething"] as Set)
            methods.allMethods().values().flatten()*.name == ["doSomething", "doSomething"]
            methods.allMethods().values().flatten()*.declaringClass == [Child, Base]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectCollectionSpec.groovy

            then:
            noExceptionThrown()
    
            where:
            methods << getQueryMethods() + getMutatingMethods()
        }
    
        def "allow common querying and mutating methods when #methods.key within getByName configuration action on filtered container by spec"() {
            setupContainerDefaults()
            addToContainer(a)
            Closure method = bind(methods.value)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  8. src/go/types/named_test.go

    			for j := range methods {
    				methods[j] = T.Method(j).Name()
    			}
    		} else {
    			// successive rounds: methods must appear in the same order
    			if got := T.NumMethods(); got != len(methods) {
    				t.Errorf("got %d methods, want %d", got, len(methods))
    				continue
    			}
    			for j, m := range methods {
    				if got := T.Method(j).Name(); got != m {
    					t.Errorf("got method %s, want %s", got, m)
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 16:29:58 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/go/internal/gccgoimporter/parser_test.go

    			}
    		}
    
    		if test.methods != "" {
    			nt := typ.(*types.Named)
    			var buf bytes.Buffer
    			for i := 0; i != nt.NumMethods(); i++ {
    				buf.WriteString(nt.Method(i).String())
    			}
    			methods := buf.String()
    			if methods != test.methods {
    				t.Errorf("got methods %q, expected %q", methods, test.methods)
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 26 20:35:55 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  10. testing/architecture-test/src/changes/archunit-store/stored.rules

    methods\ that\ are\ mutable\ public\ API\ properties\ should\ not\ have\ raw\ return\ type\ org.gradle.api.resources.TextResource=public-api-mutable-text-resource.txt
    methods\ that\ are\ public\ API\ methods\ should\ have\ only\ arguments\ or\ return\ types\ that\ are\ Gradle\ public\ API\ or\ primitive\ or\ built-in\ JDK\ classes\ or\ Kotlin\ classes=public-api-methods-return-allowed-types.txt
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top