Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 118 for ErrorIs (0.23 sec)

  1. tensorflow/c/c_api.cc

    using tensorflow::string;
    using tensorflow::Tensor;
    using tensorflow::TensorId;
    using tensorflow::TensorShapeProto;
    using tensorflow::VersionDef;
    using tensorflow::errors::FailedPrecondition;
    using tensorflow::errors::InvalidArgument;
    using tensorflow::errors::OutOfRange;
    using tensorflow::gtl::ArraySlice;
    using tensorflow::strings::StrCat;
    
    extern "C" {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

          if (ret_node) {
            return errors::Internal("Multiple return node for loop cond function ",
                                    loop_cond_func->name(), ": ",
                                    ret_node->DebugString(), " and ",
                                    n->DebugString());
          } else {
            ret_node = n;
          }
        }
      }
      if (!ret_node) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    	storage.checkContext(ctx)
    	if id == "binary" {
    		return storage.stream, storage.errors["get"]
    	}
    	return storage.item.DeepCopy(), storage.errors["get"]
    }
    
    func (storage *SimpleRESTStorage) checkContext(ctx context.Context) {
    	storage.actualNamespace, storage.namespacePresent = request.NamespaceFrom(ctx)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  4. pkg/apis/batch/validation/validation_test.go

    			indexesString: "0,1-3, 5",
    			completions:   6,
    			wantTotal:     0,
    			wantError:     errors.New(`cannot convert string to integer for index: " 5"`),
    		},
    		"invalid due to too large index": {
    			indexesString: "0,1-3,5",
    			completions:   5,
    			wantTotal:     0,
    			wantError:     errors.New(`too large index: "5"`),
    		},
    		"invalid due to non-increasing order of intervals": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    )
    
    var (
    	errSRCannotJoin = SRError{
    		Cause: errors.New("this site is already configured for site-replication"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRDuplicateSites = SRError{
    		Cause: errors.New("duplicate sites provided for site-replication"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRSelfNotFound = SRError{
    		Cause: errors.New("none of the given sites correspond to the current one"),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  6. src/database/sql/sql_test.go

    		return errors.New(want)
    	}
    	defer func() { rowsCursorNextHook = nil }()
    
    	err := db.QueryRow("SELECT|people|name|").Scan(&v)
    	if err == nil || err.Error() != want {
    		t.Errorf("error = %q; want %q", err, want)
    	}
    	rowsCursorNextHook = nil
    
    	want = "error in rows.Close"
    	setRowsCloseHook(func(rows *Rows, err *error) {
    		*err = errors.New(want)
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  7. src/net/http/server.go

    	// declared size and then attempted to write more bytes than
    	// declared.
    	ErrContentLength = errors.New("http: wrote more than the declared Content-Length")
    
    	// Deprecated: ErrWriteAfterFlush is no longer returned by
    	// anything in the net/http package. Callers should not
    	// compare errors against this variable.
    	ErrWriteAfterFlush = errors.New("unused")
    )
    
    // A Handler responds to an HTTP request.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  8. src/net/http/transport_test.go

    			tr.DialContext = func(_ context.Context, network, addr string) (net.Conn, error) {
    				// Connection immediately returns errors.
    				return &funcConn{
    					read: func([]byte) (int, error) {
    						return 0, errors.New("error")
    					},
    					write: func([]byte) (int, error) {
    						return 0, errors.New("error")
    					},
    				}, nil
    			}
    		},
    	).ts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  9. src/net/http/serve_test.go

    			check: func(got, logs string) error {
    				if !strings.Contains(got, "Content-Length:") {
    					return errors.New("no content-length")
    				}
    				if !strings.Contains(got, "Content-Type: some/type") {
    					return errors.New("wrong content-type")
    				}
    				if strings.Contains(got, "Too-Late") {
    					return errors.New("don't want too-late header")
    				}
    				return nil
    			},
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/exec.go

    	if p.Error != nil {
    		// Don't try to build anything for packages with errors. There may be a
    		// problem with the inputs that makes the package unsafe to build.
    		return p.Error
    	}
    
    	if p.BinaryOnly {
    		p.Stale = true
    		p.StaleReason = "binary-only packages are no longer supported"
    		if b.IsCmdList {
    			return nil
    		}
    		return errors.New("binary-only packages are no longer supported")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top