Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,547 for methods_ (0.18 sec)

  1. 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)
  2. src/cmd/compile/internal/types2/named.go

    	}
    
    	assert(t.inst != nil) // only instances should have incomplete methods
    	orig := t.inst.orig
    
    	t.mu.Lock()
    	defer t.mu.Unlock()
    
    	if len(t.methods) != len(orig.methods) {
    		assert(len(t.methods) == 0)
    		t.methods = make([]*Func, len(orig.methods))
    	}
    
    	if t.methods[i] == nil {
    		assert(t.inst.ctxt != nil) // we should still have a context remaining from the resolution phase
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K 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. src/go/types/named.go

    	}
    
    	assert(t.inst != nil) // only instances should have incomplete methods
    	orig := t.inst.orig
    
    	t.mu.Lock()
    	defer t.mu.Unlock()
    
    	if len(t.methods) != len(orig.methods) {
    		assert(len(t.methods) == 0)
    		t.methods = make([]*Func, len(orig.methods))
    	}
    
    	if t.methods[i] == nil {
    		assert(t.inst.ctxt != nil) // we should still have a context remaining from the resolution phase
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. 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)
  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. 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)
  10. tests/integration/security/testdata/authz/jwt.yaml.tmpl

        - operation:
            paths: ["/token1"]
            methods: ["GET"]
        from:
        - source:
            requestPrincipals: ["******@****.***/sub-1"]
      - to:
        - operation:
            paths: ["/token2"]
            methods: ["GET"]
        when:
        - key: request.auth.claims[groups]
          values: ["group-2"]
      - to:
        - operation:
            paths: ["/tokenAny"]
            methods: ["GET"]
        from:
        - source:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top