- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for takeError (0.2 sec)
-
tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc
CHECK(status.ok()) << "Failed to setup request context: " << status.message(); auto req_ctx = std::move(builder).build(); if (auto err = req_ctx.takeError()) LOG(FATAL) << "Failed to build a request context"; exec_ctx_ = std::make_unique<tfrt::ExecutionContext>(std::move(*req_ctx)); } void RuntimeFallbackExecutor::Prepare(llvm::StringRef mlir_input) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 9.1K bytes - Viewed (0) -
src/internal/zstd/bits.go
} // backup steps back to the last byte we used. func (br *bitReader) backup() { for br.cnt >= 8 { br.off-- br.cnt -= 8 } } // makeError returns an error at the current offset wrapping a string. func (br *bitReader) makeError(msg string) error { return br.r.makeError(int(br.off), msg) } // reverseBitReader reads a bit stream in reverse. type reverseBitReader struct { r *Reader // for error reporting
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:13 UTC 2023 - 3.3K bytes - Viewed (0) -
src/internal/zstd/huff.go
if w > 12 { return 0, 0, r.makeError(off, "Huffman weight overflow") } weightMark[w]++ if w > 0 { weightMask += 1 << (w - 1) } } if weightMask == 0 { return 0, 0, r.makeError(off, "bad Huffman weights") } tableBits = 32 - bits.LeadingZeros32(weightMask) if tableBits > maxHuffmanBits { return 0, 0, r.makeError(off, "bad Huffman weights") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:13 UTC 2023 - 4.7K bytes - Viewed (0) -
src/internal/zstd/fse.go
} else { remaining-- } if sym >= 256 { return 0, 0, br.makeError("FSE sym overflow") } norm[uint8(sym)] = int16(count) sym++ prev0 = count == 0 for remaining < threshold { bitsNeeded-- threshold >>= 1 } } if remaining != 1 { return 0, 0, br.makeError("too many symbols in FSE table") } for ; sym <= maxSym; sym++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 16:44:06 UTC 2023 - 12.2K bytes - Viewed (0) -
src/internal/zstd/block.go
r.buffer = append(r.buffer, litbuf...) if rbr.cnt != 0 { return r.makeError(off, "extraneous data after sequences") } return nil } // Copy match bytes from the decoded output, or the window, at offset. func (r *Reader) copyFromWindow(rbr *reverseBitReader, offset, match uint32) error { if offset == 0 { return rbr.makeError("invalid zero offset") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 28 17:57:43 UTC 2023 - 10.2K bytes - Viewed (0) -
src/internal/zstd/literals.go
// The maximum size of one decompressed block is 128K, // so we can't have more literals than that. if regeneratedSize > 128<<10 { return 0, nil, r.makeError(off, "literal size too large") } if raw { // RFC 3.1.1.3.1.2. if off+regeneratedSize > len(data) { return 0, nil, r.makeError(off, "raw literal size too large") } outbuf = append(outbuf, data[off:off+regeneratedSize]...) off += regeneratedSize } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 14:30:10 UTC 2023 - 8.8K bytes - Viewed (0) -
src/internal/zstd/zstd.go
return r.makeError(relativeOffset, "windowSize too large") } } // Dictionary_ID. RFC 3.1.1.1.3. if dictionaryIdSize != 0 { dictionaryId := r.scratch[windowDescriptorSize : windowDescriptorSize+dictionaryIdSize] // Allow only zero Dictionary ID. for _, b := range dictionaryId { if b != 0 { return r.makeError(relativeOffset, "dictionaries are not supported") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 04:10:45 UTC 2024 - 12.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/idempotency_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 33.2K bytes - Viewed (0) -
src/database/sql/fakedb_test.go
useRawBytes atomic.Bool mu sync.Mutex tables map[string]*table badConn bool allowAny bool } type fakeError struct { Message string Wrapped error } func (err fakeError) Error() string { return err.Message } func (err fakeError) Unwrap() error { return err.Wrapped } type table struct { mu sync.Mutex colname []string coltype []string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0)