Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 691 for checkSeq (0.14 sec)

  1. src/go/types/lookup.go

    // x is of interface type V).
    func MissingMethod(V Type, T *Interface, static bool) (method *Func, wrongType bool) {
    	return (*Checker)(nil).missingMethod(V, T, static, Identical, nil)
    }
    
    // missingMethod is like MissingMethod but accepts a *Checker as receiver,
    // a comparator equivalent for type comparison, and a *string for error causes.
    // The receiver may be nil if missingMethod is invoked through an exported
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. android/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)
  3. guava/src/com/google/common/base/Suppliers.java

        public T get() {
          // A 2-field variant of Double Checked Locking.
          if (!initialized) {
            synchronized (this) {
              if (!initialized) {
                T t = delegate.get();
                value = t;
                initialized = true;
                return t;
              }
            }
          }
          // This is safe because we checked `initialized`.
          return uncheckedCastNullableTToT(value);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      int num_devices = TF_DeviceListCount(devices);
      for (int d = 0; d < num_devices; ++d) {
        const char* name = TF_DeviceListName(devices, d, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_TensorHandle* copy = TFE_TensorHandleCopyToDevice(m, ctx, name, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/signature.go

    			// Blank identifiers don't get declared, so naive type-checking of the
    			// receiver type expression would fail in Checker.collectParams below,
    			// when Checker.ident cannot resolve the _ to a type.
    			//
    			// Checker.recvTParamMap maps these blank identifiers to their type parameter
    			// types, so that they may be resolved in Checker.ident when they fail
    			// lookup in the scope.
    			for i, p := range rparams {
    				if p.Value == "_" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental_test.cc

      // Prepare some tensors for shape.
      TF_Tensor* tensor_1X6 = Int32Tensor({1, 6});
      CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
      TF_Tensor* tensor_1X1X6 = Int32Tensor({1, 1, 6});
      CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
    
      TFE_Op* reshape_op = TFE_NewOp(tfe_context_, "Reshape", status_);
      CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
      TFE_OpSetAttrType(reshape_op, "T", TF_FLOAT);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Suppliers.java

        public T get() {
          // A 2-field variant of Double Checked Locking.
          if (!initialized) {
            synchronized (this) {
              if (!initialized) {
                T t = delegate.get();
                value = t;
                initialized = true;
                return t;
              }
            }
          }
          // This is safe because we checked `initialized`.
          return uncheckedCastNullableTToT(value);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. src/go/types/signature.go

    			// Blank identifiers don't get declared, so naive type-checking of the
    			// receiver type expression would fail in Checker.collectParams below,
    			// when Checker.ident cannot resolve the _ to a type.
    			//
    			// Checker.recvTParamMap maps these blank identifiers to their type parameter
    			// types, so that they may be resolved in Checker.ident when they fail
    			// lookup in the scope.
    			for i, p := range rparams {
    				if p.Name == "_" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go

    	"k8s.io/klog/v2"
    )
    
    // HealthChecker is a named healthz checker.
    type HealthChecker interface {
    	Name() string
    	Check(req *http.Request) error
    }
    
    // PingHealthz returns true automatically when checked
    var PingHealthz HealthChecker = ping{}
    
    // ping implements the simplest possible healthz checker.
    type ping struct{}
    
    func (ping) Name() string {
    	return "ping"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/stmt.go

    			}
    		}
    	}
    }
    
    func (check *Checker) openScope(node syntax.Node, comment string) {
    	check.openScopeUntil(node, syntax.EndPos(node), comment)
    }
    
    func (check *Checker) openScopeUntil(node syntax.Node, end syntax.Pos, comment string) {
    	scope := NewScope(check.scope, node.Pos(), end, comment)
    	check.recordScope(node, scope)
    	check.scope = scope
    }
    
    func (check *Checker) closeScope() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top