Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 6,733 for Method3 (0.18 sec)

  1. src/internal/types/testdata/check/decls2/decls2a.go

    func (a, b, c /* ERROR "method has multiple receivers" */ T3) _() {}
    
    // Methods associated with non-local or unnamed types.
    func (int /* ERROR "cannot define new methods on non-local type int" */ ) m() {}
    func ([ /* ERROR "invalid receiver" */ ]int) m() {}
    func (time /* ERROR "cannot define new methods on non-local type time.Time" */ .Time) m() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          assertTrue(desc, isBoolean(method));
          assertFalse(desc, isInterruptible(method));
        } else if (isWaitFor(method)) {
          assertTrue(desc, isGuarded(method));
          assertEquals(desc, isTimed(method), isBoolean(method));
        } else { // any other enterXxx method
          assertEquals(desc, isTimed(method), isBoolean(method));
        }
      }
    
      /** Generates all test cases appropriate for the given method. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
    
        Method[] methods = Monitor.class.getMethods();
        sortMethods(methods);
        for (Method method : methods) {
          if (isAnyEnter(method) || isWaitFor(method)) {
            validateMethod(method);
            addTests(suite, method);
          }
        }
    
        assertEquals(980, suite.testCount());
    
        return suite;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top