Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Lyding (0.2 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. docs/debugging/healing-bin/main.go

    	app.HideVersion = true
    	app.HideHelpCommand = true
    	app.CustomAppHelpTemplate = `NAME:
      {{.Name}} - {{.Usage}}
    
    USAGE:
      {{.Name}} {{if .VisibleFlags}}[FLAGS]{{end}} [HEALINGBINFILE|INSPECTZIPFILE]
    
    files ending in '.zip' will be searched for '.healing.bin files recursively and
    printed together as a single JSON.
    
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}
    `
    	app.Flags = []cli.Flag{}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  6. cni/pkg/ipset/ipset.go

    // and iptables will be smart enough to pick the correct underlying set (v4 or v6, based on context),
    // reducing the # of rules we need.
    //
    // BUT netlink lib doesn't support adding things to `list:set` types yet, and current tagged release
    // doesn't support creating `list:set` types yet (is in main branch tho).
    // So this will actually create 2 underlying ipsets, one for v4 and one for v6
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. cmd/bucket-notification-handlers.go

    		arnErr, ok := err.(*event.ErrARNNotFound)
    		if ok {
    			for i, queue := range config.QueueList {
    				// Remove ARN not found queues, because we previously allowed
    				// adding unexpected entries into the config.
    				//
    				// With newer config disallowing changing / turning off
    				// notification targets without removing ARN in notification
    				// configuration we won't see this problem anymore.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  8. operator/cmd/mesh/shared.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    )
    
    // installerScope is the scope for all commands in the mesh package.
    var installerScope = log.RegisterScope("installer", "installer")
    
    func init() {
    	// adding to remove message about the controller-runtime logs not getting displayed
    	// We cannot do this in the `log` package since it would place a runtime dependency on controller-runtime for all binaries.
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. internal/config/lambda/target/webhook.go

    	if err != nil {
    		return nil, err
    	}
    
    	// Verify if the authToken already contains
    	// <Key> <Token> like format, if this is
    	// already present we can blindly use the
    	// authToken as is instead of adding 'Bearer'
    	tokens := strings.Fields(target.args.AuthToken)
    	switch len(tokens) {
    	case 2:
    		req.Header.Set("Authorization", target.args.AuthToken)
    	case 1:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Nov 17 20:02:26 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  10. cmd/tier-journal_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    // TestJEntryReadOldToNew1 - tests that adding the RemoteVersionID parameter to the
    // jentry struct does not cause unexpected errors when reading the serialized
    // old version into new version.
    func TestJEntryReadOldToNew1(t *testing.T) {
    	readOldToNewCases := []struct {
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jun 03 21:26:51 GMT 2021
    - 3.2K bytes
    - Viewed (0)
Back to top