Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 118 for Nash (0.37 sec)

  1. istioctl/pkg/util/formatting/formatter.go

    		diag.Warning: "\033[33m",   // yellow
    		diag.Error:   "\033[1;31m", // bold red
    	}
    )
    
    // render turns a Message instance into a string with an option of colored bash output
    func render(m diag.Message, colorize bool) string {
    	return fmt.Sprintf("%s%v%s [%v]%s %s",
    		colorPrefix(m, colorize), m.Type.Level(), colorSuffix(colorize),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common_test.go

    			t.Errorf("Drive erroneously filtered, driveIndex: %d", diskIndex)
    		}
    	}
    	partsMetadata[1] = partsMetadataBackup // Revert before going to the next test
    
    	// Test 4: key = disk index, value = part name with hash mismatch
    	diskFailures := make(map[int]string)
    	diskFailures[0] = "part.1"
    	diskFailures[3] = "part.1"
    	diskFailures[15] = "part.1"
    
    	for diskIndex, partName := range diskFailures {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  3. internal/event/target/elasticsearch.go

    		return
    	}
    
    	switch {
    	case majorVersion <= 6:
    		res = ESSUnsupported
    	default:
    		res = ESSSupported
    	}
    	return
    }
    
    // magic HH-256 key as HH-256 hash of the first 100 decimals of π as utf-8 string with a zero key.
    var magicHighwayHash256Key = []byte("\x4b\xe7\x34\xfa\x8e\x23\x8a\xcd\x26\x3e\x83\xe6\xbb\x96\x85\x52\x04\x0f\x93\x5d\xa3\x9f\x44\x14\x97\xe0\x9d\x13\x22\xde\x36\xa0")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-utils_test.go

    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    	}
    	xl := xlMetaV2{}
    	var versions []FileInfo
    	var freeVersionIDs []string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 02 14:49:24 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. internal/crypto/key.go

    package crypto
    
    import (
    	"bytes"
    	"context"
    	"crypto/hmac"
    	"crypto/rand"
    	"encoding/binary"
    	"errors"
    	"io"
    	"path"
    
    	"github.com/minio/minio/internal/fips"
    	"github.com/minio/minio/internal/hash/sha256"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/sio"
    )
    
    // ObjectKey is a 256 bit secret key used to encrypt the object.
    // It must never be stored in plaintext.
    type ObjectKey [32]byte
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. cmd/object-api-datatypes.go

    package cmd
    
    import (
    	"io"
    	"math"
    	"net/http"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/minio/minio/internal/hash"
    )
    
    //go:generate msgp -file $GOFILE -io=false -tests=false -unexported=false
    
    // BackendType - represents different backend types.
    type BackendType int
    
    // Enum for different backend types.
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  7. cmd/signature-v4_test.go

    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	// sha256 hash of "payload"
    	payloadSHA256 := "239f59ed55e737c77147cf55ad0c1b030b6d7ee748a7426952f9b852d5a935e5"
    	now := UTCNow()
    	credentialTemplate := "%s/%s/%s/s3/aws4_request"
    
    	region := globalSite.Region
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  8. cmd/endpoint-ellipses.go

    		}
    
    		h := xxhash.New()
    		for _, s := range setArgs {
    			for _, d := range s {
    				h.WriteString(d)
    			}
    		}
    
    		layout.pools = append(layout.pools, poolDisksLayout{
    			cmdline: fmt.Sprintf("hash:%x", h.Sum(nil)),
    			layout:  setArgs,
    		})
    	}
    	return
    }
    
    // mergeDisksLayoutFromArgs supports with and without ellipses transparently.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. internal/grid/connection.go

    		}
    	}
    	defer PutByteBuffer(msg.Payload)
    	dst := GetByteBufferCap(msg.Msgsize())
    	dst, err := msg.MarshalMsg(dst)
    	if err != nil {
    		return err
    	}
    	if msg.Flags&FlagCRCxxh3 != 0 {
    		h := xxh3.Hash(dst)
    		dst = binary.LittleEndian.AppendUint32(dst, uint32(h))
    	}
    	return c.send(c.ctx, dst)
    }
    
    // sendMsg will send
    func (c *Connection) sendMsg(conn net.Conn, msg message, payload msgp.MarshalSizer) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    			}
    		}
    	}()
    
    	var (
    		hr    *hash.Reader
    		pInfo minio.ObjectPart
    	)
    
    	var objectSize int64
    	for _, partInfo := range objInfo.Parts {
    		if crypto.SSEC.IsEncrypted(objInfo.UserDefined) {
    			hr, err = hash.NewReader(ctx, io.LimitReader(r, partInfo.Size), partInfo.Size, "", "", partInfo.ActualSize)
    		} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top