Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for Reconstruct (0.12 sec)

  1. 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(m.mapped[start:], data)
    				}
    				lastValid = m.size - 1
    				missing = 0
    			} else {
    				fmt.Println("Could NOT reconstruct:", err)
    			}
    		}
    	}
    	if lastValid == 0 {
    		return errors.New("no valid data found")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  2. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. docs/erasure/README.md

    ## What is Erasure Code?
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/Types.java

       * 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/PathValidator.java

                // Validate path component
                String path = url.getPath();
                if (path != null && !path.isEmpty()) {
                    validatePath(path);
                }
    
                // Reconstruct normalized URL
                StringBuilder normalized = new StringBuilder("smb://");
    
                // Add credentials if present
                String userInfo = url.getUserInfo();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SIDTest.java

            void testTextualConstructorAndToString() throws Exception {
                // Arrange
                SID sid = new SID("S-1-5-21-1-2-3-1029");
    
                // Act & Assert
                // toString should reconstruct exact textual form
                assertEquals("S-1-5-21-1-2-3-1029", sid.toString());
                // RID is the last subauthority
                assertEquals(1029, sid.getRid());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Types.java

       * 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  10. 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).
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top