Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 254 for blocks (0.2 sec)

  1. cmd/erasure-utils.go

    	"github.com/klauspost/reedsolomon"
    )
    
    // getDataBlockLen - get length of data blocks from encoded blocks.
    func getDataBlockLen(enBlocks [][]byte, dataBlocks int) int {
    	size := 0
    	// Figure out the data block length.
    	for _, block := range enBlocks[:dataBlocks] {
    		size += len(block)
    	}
    	return size
    }
    
    // Writes all the data blocks from encoded blocks until requested
    // outSize length. Provides a way to skip bytes until the offset.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassExtensionDoc.groovy

        }
    
        List<BlockDoc> getExtensionBlocks() {
            List<BlockDoc> blocks = []
            mixinClasses.each { mixin ->
                mixin.classBlocks.each { block ->
                    blocks << block.forClass(targetClass)
                }
            }
            extraBlocks.each { block->
                blocks << block.forClass(targetClass)
            }
            return blocks.sort { it.name }
        }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v1.go

    	Distribution []int `json:"distribution"`
    	// Checksums holds all bitrot checksums of all erasure encoded blocks
    	Checksums []ChecksumInfo `json:"checksum,omitempty"`
    }
    
    // Equal equates current erasure info with newer erasure info.
    // returns false if one of the following check fails
    // - erasure algorithm is different
    // - data blocks are different
    // - parity blocks are different
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. cmd/erasure-encode.go

    func (p *parallelWriter) Write(ctx context.Context, blocks [][]byte) error {
    	var wg sync.WaitGroup
    
    	for i := range p.writers {
    		if p.writers[i] == nil {
    			p.errs[i] = errDiskNotFound
    			continue
    		}
    		if p.errs[i] != nil {
    			continue
    		}
    		wg.Add(1)
    		go func(i int) {
    			defer wg.Done()
    			var n int
    			n, p.errs[i] = p.writers[i].Write(blocks[i])
    			if p.errs[i] == nil {
    				if n != len(blocks[i]) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlocksRenderer.java

            parent.appendChild(summarySection);
    
            Element title = document.createElement("title");
            summarySection.appendChild(title);
            title.appendChild(document.createTextNode("Script blocks"));
    
            Collection<BlockDoc> classBlocks = classDoc.getClassBlocks();
            if (!classBlocks.isEmpty()) {
                Element table = document.createElement("table");
                summarySection.appendChild(table);
    
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ExtensionBlocksSummaryRenderer.java

            parent.appendChild(section);
    
            Element title = document.createElement("title");
            section.appendChild(title);
            title.appendChild(document.createTextNode("Script blocks added by the "));
            Element literal = document.createElement("literal");
            title.appendChild(literal);
            literal.appendChild(document.createTextNode(extension.getPluginId()));
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Viewed (0)
  7. docs/erasure/README.md

    a mathematical algorithm to reconstruct missing or corrupted data. MinIO uses Reed-Solomon code to shard objects into variable data and parity blocks. For example, in a 12 drive setup, an object can be sharded to a variable number of data and parity blocks across all the drives - ranging from six data and six parity blocks to ten data and two parity blocks.
    
    By default, MinIO shards the objects across N/2 data and N/2 parity drives. Though, you can use [storage classes](https://github.com/m...
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  8. cmd/namespace-lock_test.go

    		nsLk.lockMapMutex.Lock()
    
    		// lk3 blocks.
    		lk3ch := make(chan bool)
    		go func() {
    			lk3ch <- nsLk.lock(ctx, "volume", "path", "source", "opsID", false, 0)
    		}()
    
    		// lk4, blocks.
    		lk4ch := make(chan bool)
    		go func() {
    			lk4ch <- nsLk.lock(ctx, "volume", "path", "source", "opsID", false, 0)
    		}()
    		runtime.Gosched()
    
    		// unlock the manual lock
    		nsLk.lockMapMutex.Unlock()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlockTableRenderer.java

    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    public class BlockTableRenderer {
        public void renderTo(Iterable<BlockDoc> blocks, Element parent) {
            Document document = parent.getOwnerDocument();
    
            // <thead>
            //   <tr>
            //     <td>Block</td>
            //     <td>Description</td>
            //   </tr>
            // </thead>
            Element thead = document.createElement("thead");
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  10. internal/lsync/lrwmutex.go

    }
    
    // RLock holds a read lock on lm.
    //
    // If one or more read lock are already in use, it will grant another lock.
    // Otherwise the calling go routine blocks until the mutex is available.
    func (lm *LRWMutex) RLock() {
    	const isWriteLock = false
    	lm.lockLoop(context.Background(), lm.id, lm.source, 1<<63-1, isWriteLock)
    }
    
    // GetRLock tries to get a read lock on lm before the timeout occurs.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
Back to top