Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 4,373 for Method1 (0.25 sec)

  1. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        checkState(method == null);
        Method[] methods = getClass().getMethods();
        Arrays.sort(
            methods,
            new Comparator<Method>() {
              @Override
              public int compare(Method a, Method b) {
                return a.getName().compareTo(b.getName());
              }
            });
        for (Method method : methods) {
          if (method.isAnnotationPresent(TestSubtype.class)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. 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)
  3. testing/architecture-test/src/changes/archunit-store/stored.rules

    (String)\ or\ should\ call\ method\ RoleBasedConfigurationContainerInternal.resolvableDependencyScopeUnlocked(String,\ Action)\ or\ should\ call\ method\ RoleBasedConfigurationContainerInternal.maybeCreateResolvableUnlocked(String)\ or\ should\ call\ method\ RoleBasedConfigurationContainerInternal.maybeCreateConsumableUnlocked(String)\ or\ should\ call\ method\ RoleBasedConfigurationContainerInternal.maybeCreateDependencyScopeUnlocked(String)\ or\ should\ call\ method\ RoleBasedConfigurationCont...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractPolymorphicDomainObjectContainerSpec.groovy

            ]
        }
    
        def "allow query and mutating methods from create with type using #methods.key"() {
            setupContainerDefaults()
            String methodUnderTest = methods.key
            Closure method = bind(methods.value)
    
            when:
            container.create("a", container.type, method)
            then:
            noExceptionThrown()
    
            where:
            methods << getQueryMethods() + getMutatingMethods()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/TestSpec.java

        /**
         * Adds the target test methods to the test execution.
         *
         * @see #includeMethod(String, String)
         * @param cls The fully-qualified name of the class containing the method.
         * @param methods The name of the target methods.
         * @return this
         */
        TestSpec includeMethods(String cls, Collection<String> methods);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. src/go/types/interface.go

    	if len(methods) == 0 && len(embeddeds) == 0 {
    		return &emptyInterface
    	}
    
    	// set method receivers if necessary
    	typ := (*Checker)(nil).newInterface()
    	for _, m := range methods {
    		if sig := m.typ.(*Signature); sig.recv == nil {
    			sig.recv = NewVar(m.pos, m.pkg, "", typ)
    		}
    	}
    
    	// sort for API stability
    	sortMethods(methods)
    
    	typ.methods = methods
    	typ.embeddeds = embeddeds
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectContainerSpec.groovy

            ]
        }
    
        def "allow query and mutating methods from create using #methods.key"() {
            setupContainerDefaults()
            Closure method = bind(methods.value)
    
            when:
            container.create("a", method)
            then:
            noExceptionThrown()
    
            where:
            methods << getQueryMethods() + getMutatingMethods()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/go/types/methodset.go

    // license that can be found in the LICENSE file.
    
    // This file implements method sets.
    
    package types
    
    import (
    	"fmt"
    	"sort"
    	"strings"
    )
    
    // A MethodSet is an ordered set of concrete or abstract (interface) methods;
    // a method is a [MethodVal] selection, and they are ordered by ascending m.Obj().Id().
    // The zero value for a MethodSet is a ready-to-use empty method set.
    type MethodSet struct {
    	list []*Selection
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName);
                if (methods.isEmpty()) {
                    throw new RuntimeException(String.format("No metadata for method '%s.%s()'. Available methods: %s", classDoc.getName(), methodName, classDoc.getClassMetaData().getDeclaredMethodNames()));
                }
                for (MethodMetaData method : methods) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  10. 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)
Back to top