Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 951 for checkDep (0.12 sec)

  1. src/go/types/api.go

    // Package types declares the data types and implements
    // the algorithms for type-checking of Go packages. Use
    // [Config.Check] to invoke the type checker for a package.
    // Alternatively, create a new type checker with [NewChecker]
    // and invoke it incrementally by calling [Checker.Files].
    //
    // Type-checking consists of several interdependent phases:
    //
    // Name resolution maps each identifier ([ast.Ident]) in the program
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/AbstractSortedMultiset.java

        }
        return null;
      }
    
      @Override
      public SortedMultiset<E> subMultiset(
          E fromElement, BoundType fromBoundType, E toElement, BoundType toBoundType) {
        // These are checked elsewhere, but NullPointerTester wants them checked eagerly.
        checkNotNull(fromBoundType);
        checkNotNull(toBoundType);
        return tailMultiset(fromElement, fromBoundType).headMultiset(toElement, toBoundType);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/go/types/decl.go

    	}
    	check.initConst(obj, &x)
    }
    
    func (check *Checker) varDecl(obj *Var, lhs []*Var, typ, init ast.Expr) {
    	assert(obj.typ == nil)
    
    	// determine type, if any
    	if typ != nil {
    		obj.typ = check.varType(typ)
    		// We cannot spread the type to all lhs variables if there
    		// are more than one since that would mark them as checked
    		// (see Checker.objDecl) and the assignment of init exprs,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go

    	var check checker
    	check.init(pass)
    	defer check.finish()
    
    	// We cannot use the Go parser, since this may not be a Go source file.
    	// Read the raw bytes instead.
    	content, tf, err := analysisutil.ReadFile(pass, filename)
    	if err != nil {
    		return err
    	}
    
    	check.file(token.Pos(tf.Base()), string(content))
    	return nil
    }
    
    type checker struct {
    	pass         *analysis.Pass
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/expr.go

    	"fmt"
    	"go/constant"
    	"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 *syntax.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
    - 51.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Closer.java

       * IOException}, {@code RuntimeException}, {@code Error} or a checked exception of the given type.
       * Otherwise, it will be rethrown wrapped in a {@code RuntimeException}. <b>Note:</b> Be sure to
       * declare all of the checked exception types your try block can throw when calling an overload of
       * this method so as to avoid losing the original exception type.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top