- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 138 for Reconstruct (0.17 sec)
-
cmd/erasure_test.go
if test.reconstructParity { for j := range decoded { if decoded[j] == nil { t.Errorf("Test %d: failed to reconstruct shard %d", i, j) } } } else { for j := range decoded[:test.dataBlocks] { if decoded[j] == nil { t.Errorf("Test %d: failed to reconstruct data shard %d", i, j) } } } decodedData := new(bytes.Buffer)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jul 25 19:37:26 GMT 2022 - 4.8K bytes - Viewed (0) -
docs/erasure/README.md
## What is Erasure Code?
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Sep 29 04:28:45 GMT 2022 - 4.1K bytes - Viewed (0) -
cmd/erasure-coding.go
// It returns an error if the decoding failed. func (e *Erasure) DecodeDataAndParityBlocks(ctx context.Context, data [][]byte) error { return e.encoder().Reconstruct(data) } // ShardSize - returns actual shared size from erasure blockSize. func (e *Erasure) ShardSize() int64 { return ceilFrac(e.blockSize, int64(e.dataBlocks)) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 8.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
t.Errorf(format, args...) } pList.Firstpc, ok = parser.Parse() if !ok || failed { t.Errorf("asm: %s assembly failed", goarch) return } output := strings.Split(testOut.String(), "\n") // Reconstruct expected output by independently "parsing" the input. data, err := os.ReadFile(input) if err != nil { t.Error(err) return } lineno := 0 seq := 0 hexByLine := map[string]string{}
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Dec 07 18:42:59 GMT 2023 - 11.6K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
if err := rs.ReconstructData(split); err == nil { fmt.Println("Could reconstruct completely") for i, data := range split[:k] { start := i * len(data) copy(mapped[start:], data) } lastValid = size - 1 missing = 0 } else { fmt.Println("Could NOT reconstruct:", err) } } } if lastValid == 0 { return errors.New("no valid data found") }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 17:56:22 GMT 2024 - 20.2K bytes - Viewed (1) -
cmd/erasure-decode.go
return -1, err } bytesWritten += n } if bytesWritten != length { return bytesWritten, errLessData } return bytesWritten, derr } // Heal reads from readers, reconstruct shards and writes the data to the writers. func (e Erasure) Heal(ctx context.Context, writers []io.Writer, readers []io.ReaderAt, totalLength int64, prefer []bool) (derr error) { if len(writers) != e.parityBlocks+e.dataBlocks {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 16:44:59 GMT 2024 - 9.4K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
* to custom TypeVariable implementations. As a result, we need to make sure our TypeVariable * implementation respects symmetry. Moreover, we don't want to reconstruct a native type variable * {@code <A>} using our implementation unless some of its bounds have changed in resolution. This * avoids creating unequal TypeVariable implementation unnecessarily. When the bounds do change,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
import jcifs.netbios.NbtAddress; import jcifs.netbios.UniAddress; /** * * * This mainly tracks two locations: * - canonical URL path: path component of the URL: this is used to reconstruct URLs to resources and is not adjusted by * DFS referrals. (E.g. a resource with a DFS root's parent will still point to the DFS root not the share it's actually * located in).
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Jul 20 08:24:53 GMT 2019 - 23.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* serialization). This has been measured to save at least 400 bytes compared to regular * serialization. * * <p>Use {@linkplain #readFrom(InputStream, Funnel)} to reconstruct the written BloomFilter. */ public void writeTo(OutputStream out) throws IOException { // Serial form: // 1 signed byte for the strategy // 1 unsigned byte for the number of hash functions
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
void* device_info); // Method to execute an operation. // // Arguments provide enough information to reconstruct the original `TFE_Op`, // or construct a transformed version, by inspecting the passed `op`. // // TFE_OpGetDevice(op) records the original placement of the operation. It may
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0)