Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,670 for MethodC (0.19 sec)

  1. 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)
  2. 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)
  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. 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)
  5. 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)
  6. 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)
  7. src/cmd/link/internal/ld/deadcode.go

    //  3. reflect.Value.Method (or MethodByName), or reflect.Type.Method
    //     (or MethodByName)
    //
    // The first case is handled by the flood fill, a directly called method
    // is marked as reachable.
    //
    // The second case is handled by decomposing all reachable interface
    // types into method signatures. Each encountered method is compared
    // against the interface method signatures, if it matches it is marked
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       {@code cls}, no test is performed.
       *   <li>Equality test is not performed on method return values unless the method is a non-private
       *       static factory method whose return type is {@code cls} or {@code cls}'s subtype.
       *   <li>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. 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)
  10. src/go/types/typeset.go

    	})
    }
    
    // NumMethods returns the number of methods available.
    func (s *_TypeSet) NumMethods() int { return len(s.methods) }
    
    // Method returns the i'th method of type set s for 0 <= i < s.NumMethods().
    // The methods are ordered by their unique ID.
    func (s *_TypeSet) Method(i int) *Func { return s.methods[i] }
    
    // LookupMethod returns the index of and method with matching package and name, or (-1, nil).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top