Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,866 for checkSeq (0.19 sec)

  1. guava/src/com/google/common/collect/AbstractSortedMultiset.java

          @ParametricNullness E fromElement,
          BoundType fromBoundType,
          @ParametricNullness 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: Mon Jun 26 21:02:13 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. 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)
  3. src/internal/types/testdata/check/cycles4.go

    type T interface {
    	m() interface {T}
    	E
    }
    
    var _ int = T.m(nil).m().e()
    
    type E interface {
    	e() int
    }
    
    // Check that unresolved forward chains are followed
    // (see also comment in resolver.go, checker.typeDecl).
    
    var _ int = C.m(nil).m().e()
    
    type A B
    
    type B interface {
    	m() interface{C}
    	E
    }
    
    type C A
    
    // Check that interface type comparison for identity
    // does not recur endlessly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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
    - 14.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_test_util.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(op, a, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
      TFE_OpSetAttrType(op, "T", TFE_TensorHandleDataType(a));
    
      return op;
    }
    
    TFE_Op* ShapeOp(TFE_Context* ctx, TFE_TensorHandle* a) {
      TF_Status* status = TF_NewStatus();
    
      TFE_Op* op = TFE_NewOp(ctx, "Shape", status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

    import java.util.concurrent.Executor;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Implementations of {@code Futures.transform*}. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings("nullness") // TODO(b/147136275): Remove once our checker understands & and |.
    abstract class AbstractTransformFuture<
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top