- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for Reconstruct (0.05 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)Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 4.8K bytes - Viewed (0) -
docs/erasure/README.md
## What is Erasure Code?
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 4.2K 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)) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 8.5K bytes - Viewed (0) -
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 {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java
} /** * Construct a new <code>MojoExecutionException</code> exception wrapping an underlying <code>Exception</code> * and providing a <code>message</code>. * * @param message * @param cause */ public MojoExecutionException(String message, Exception cause) { super(message, cause); } /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java
this.source = source; this.longMessage = longMessage; } /** * Construct a new <code>MojoFailureException</code> exception providing a message. * * @param message */ public MojoFailureException(String message) { super(message); } /** * Construct a new <code>MojoFailureException</code> exception wrapping an underlying <code>Throwable</code>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/graph/GraphConstants.java
"Nodes %s and %s are already connected by a different edge. To construct a graph " + "that allows parallel edges, call allowsParallelEdges(true) on the Builder."; static final String SELF_LOOPS_NOT_ALLOWED = "Cannot add self-loop edge on node %s, as self-loops are not allowed. To construct a graph " + "that allows self-loops, call allowsSelfLoops(true) on the Builder.";
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
mockedStaticAuthData.when(() -> KerberosAuthData.parse(anyInt(), any(byte[].class), any(Map.class))) .thenReturn(Collections.singletonList(mockAuthData)); // Construct a valid ASN.1 sequence for KerberosRelevantAuthData ASN1EncodableVector authVector = new ASN1EncodableVector(); ASN1EncodableVector elementVector = new ASN1EncodableVector();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractGraphBuilder.java
* limitations under the License. */ package com.google.common.graph; import com.google.common.base.Optional; /** * A base class for builders that construct graphs with user-defined properties. * * @author James Sexton */ abstract class AbstractGraphBuilder<N> { final boolean directed; boolean allowsSelfLoops = false;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractGraphBuilder.java
* limitations under the License. */ package com.google.common.graph; import com.google.common.base.Optional; /** * A base class for builders that construct graphs with user-defined properties. * * @author James Sexton */ abstract class AbstractGraphBuilder<N> { final boolean directed; boolean allowsSelfLoops = false;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.4K bytes - Viewed (0)