Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for Lyding (0.16 sec)

  1. cmd/erasure-coding.go

    				panic(err)
    			}
    			enc = e
    		})
    		return enc
    	}
    	return
    }
    
    // EncodeData encodes the given data and returns the erasure-coded data.
    // It returns an error if the erasure coding failed.
    func (e *Erasure) EncodeData(ctx context.Context, data []byte) ([][]byte, error) {
    	if len(data) == 0 {
    		return make([][]byte, e.dataBlocks+e.parityBlocks), nil
    	}
    	encoded, err := e.encoder().Split(data)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. internal/store/batch_test.go

    	}
    	keys, items, err = batch.GetAll()
    	if err != nil {
    		t.Fatalf("unable to get the items from the batch; %v", err)
    	}
    	if len(items) != 1 {
    		t.Fatalf("Expected length of the batch items to be 1 but got %v", len(items))
    	}
    	if len(keys) != 1 {
    		t.Fatalf("Expected length of the batch keys to be 1 but got %v", len(items))
    	}
    	// try adding again after Get.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v1.go

    }
    
    // ErasureInfo holds erasure coding and bitrot related information.
    type ErasureInfo struct {
    	// Algorithm is the string representation of erasure-coding-algorithm
    	Algorithm string `json:"algorithm"`
    	// DataBlocks is the number of data blocks for erasure-coding
    	DataBlocks int `json:"data"`
    	// ParityBlocks is the number of parity blocks for erasure-coding
    	ParityBlocks int `json:"parity"`
    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. internal/config/errors.go

    	)
    
    	ErrInvalidNumberOfErasureEndpoints = newErrFn(
    		"Invalid total number of endpoints for erasure mode",
    		"Please provide number of endpoints greater or equal to 2",
    		"For more information, please refer to https://min.io/docs/minio/linux/operations/concepts/erasure-coding.html",
    	)
    
    	ErrStorageClassValue = newErrFn(
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    		w.compressors = make(map[uint16]Compressor)
    	}
    	w.compressors[method] = comp
    }
    
    // AddFS adds the files from fs.FS to the archive.
    // It walks the directory tree starting at the root of the filesystem
    // adding each file to the zip using deflate while maintaining the directory structure.
    func (w *Writer) AddFS(fsys fs.FS) error {
    	return fs.WalkDir(fsys, ".", func(name string, d fs.DirEntry, err error) error {
    		if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers.go

    			if wasReady != nil && isReady != nil && isAnnotated {
    				log.Infof("Pod %s update event skipped, added/labeled by CNI plugin", pod.Name)
    				return nil
    			}
    
    			log.Debugf("Pod %s now matches, adding to mesh", newPod.Name)
    			// netns == ""; at this point netns should have been added via the initial snapshot,
    			// or via the cni plugin. If it happens to get here before the cni plugin somehow,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. cmd/object-api-interface.go

    	IndexCB func() []byte
    
    	// InclFreeVersions indicates that free versions need to be included
    	// when looking up a version by fi.VersionID
    	InclFreeVersions bool
    	// SkipFreeVersion skips adding a free version when a tiered version is
    	// being 'replaced'
    	// Note: Used only when a tiered object is being expired.
    	SkipFreeVersion bool
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  8. internal/config/config.go

    		// Fix `vs` when default.
    		if v == kv.Value {
    			vs = ValueSourceDef
    		}
    
    		if redactSecrets && isRedacted {
    			// Skip adding redacted secrets to the output.
    			continue
    		}
    
    		r = append(r, KVSrc{
    			Key:   kv.Key,
    			Value: v,
    			Src:   vs,
    		})
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    // assuming that skipped regions are filled with NULs.
    // This always writes the last byte to ensure w is the right size.
    //
    // TODO(dsnet): Re-export this when adding sparse file support.
    // See https://golang.org/issue/22735
    func (tr *Reader) writeTo(w io.Writer) (int64, error) {
    	if tr.err != nil {
    		return 0, tr.err
    	}
    	n, err := tr.curr.WriteTo(w)
    	if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    			// Object info is the same in all disks, so we can pick
    			// the first meta from online disk
    			fi = partsMetadata[i]
    			break
    		}
    	}
    
    	// we are adding a new version to this object under the namespace lock, so this is the latest version.
    	fi.IsLatest = true
    
    	// Success, return object info.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
Back to top