Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,252 for checkSeq (0.19 sec)

  1. guava/src/com/google/common/util/concurrent/LazyLogger.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.logging.Logger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A holder for a {@link Logger} that is initialized only when requested. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class LazyLogger {
      private final String loggerName;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultComponentSelectionRulesTest.groovy

            "com.gradle" | "api" | false
        }
    
        def "mutation is checked for public API"() {
            def checker = Mock(MutationValidator)
            rules.setMutationValidator(checker)
    
            when: rules.all(Actions.doNothing())
            then: 1 * checker.validateMutation(STRATEGY)
    
            when: rules.all(Closure.IDENTITY)
            then: 1 * checker.validateMutation(STRATEGY)
    
            when: rules.all(ruleSource)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. src/go/types/typexpr.go

    		check.errorf(e, NotAType, "%s is not a type", obj.Name())
    		// avoid "declared but not used" errors
    		// (don't use Checker.use - we don't want to evaluate too much)
    		if v, _ := obj.(*Var); v != nil && v.pkg == check.pkg /* see Checker.use1 */ {
    			v.used = true
    		}
    		return
    	}
    
    	// Type-check the object.
    	// Only call Checker.objDecl if the object doesn't have a type yet
    	// (in which case we must actually determine it) or the object is a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

     * ExecutionException} when the exception thrown by a task is an unchecked exception. However, it
     * may also wrap a checked exception in some cases.
     *
     * <p>When wrapping an {@code Error} from another thread, prefer {@link ExecutionError}. When
     * wrapping a checked exception, prefer {@code ExecutionException}.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/resolver.go

    func (check *Checker) packageObjects() {
    	// process package objects in source order for reproducible results
    	objList := make([]Object, len(check.objMap))
    	i := 0
    	for obj := range check.objMap {
    		objList[i] = obj
    		i++
    	}
    	sort.Sort(inSourceOrder(objList))
    
    	// add new methods to already type-checked types (from a prior Checker.Files call)
    	for _, obj := range objList {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.logging.Logger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A holder for a {@link Logger} that is initialized only when requested. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class LazyLogger {
      private final String loggerName;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractBiMap.java

         */
    
        @Override
        @ParametricNullness
        K checkKey(@ParametricNullness K key) {
          return inverse.checkValue(key);
        }
    
        @Override
        @ParametricNullness
        V checkValue(@ParametricNullness V value) {
          return inverse.checkKey(value);
        }
    
        /**
         * @serialData the forward bimap
         */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  8. src/go/types/eval.go

    // set.
    //
    // The meaning of the parameters fset, pkg, and pos is the
    // same as in [CheckExpr]. An error is returned if expr cannot
    // be parsed successfully, or the resulting expr AST cannot be
    // type-checked.
    func Eval(fset *token.FileSet, pkg *Package, pos token.Pos, expr string) (_ TypeAndValue, err error) {
    	// parse expressions
    	node, err := parser.ParseExprFrom(fset, "eval", expr, 0)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/typexpr.go

    		check.errorf(e, NotAType, "%s is not a type", obj.Name())
    		// avoid "declared but not used" errors
    		// (don't use Checker.use - we don't want to evaluate too much)
    		if v, _ := obj.(*Var); v != nil && v.pkg == check.pkg /* see Checker.use1 */ {
    			v.used = true
    		}
    		return
    	}
    
    	// Type-check the object.
    	// Only call Checker.objDecl if the object doesn't have a type yet
    	// (in which case we must actually determine it) or the object is a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/go/types/expr.go

    	"go/internal/typeparams"
    	"go/token"
    	. "internal/types/errors"
    	"strings"
    )
    
    /*
    Basic algorithm:
    
    Expressions are checked recursively, top down. Expression checker functions
    are generally of the form:
    
      func f(x *operand, e *ast.Expr, ...)
    
    where e is the expression to be checked, and x is the result of the check.
    The check performed by f may fail in which case x.mode == invalid, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
Back to top