Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,066 for readOp (0.15 sec)

  1. .github/workflows/multipart/migrate.sh

    sleep 30s
    
    ./mc alias set site1 http://site1-nginx:9001 minioadmin minioadmin --api s3v4
    ./mc alias set site2 http://site2-nginx:9002 minioadmin minioadmin --api s3v4
    
    ./mc ready site1/
    ./mc ready site2/
    
    ./mc admin replicate add site1 site2
    ./mc mb site1/testbucket/
    ./mc cp -r --quiet /usr/bin site1/testbucket/
    
    sleep 5
    
    ./s3-check-md5 -h
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/archive/zip/testdata/zip64.zip

    README This small file is in ZIP64 format....
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 242 bytes
    - Viewed (0)
  3. internal/bucket/replication/replication.go

    }
    
    // Maximum 2MiB size per replication config.
    const maxReplicationConfigSize = 2 << 20
    
    // ParseConfig parses ReplicationConfiguration from xml
    func ParseConfig(reader io.Reader) (*Config, error) {
    	config := Config{}
    	if err := xml.NewDecoder(io.LimitReader(reader, maxReplicationConfigSize)).Decode(&config); err != nil {
    		return nil, err
    	}
    	// By default, set replica modification to enabled if unset.
    	for i := range config.Rules {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. internal/crypto/key.go

    // and a source of randomness. If random is nil the default PRNG of the
    // system (crypto/rand) is used.
    func GenerateKey(extKey []byte, random io.Reader) (key ObjectKey) {
    	if random == nil {
    		random = rand.Reader
    	}
    	if len(extKey) != 32 { // safety check
    		logger.CriticalIf(context.Background(), errors.New("crypto: invalid key length"))
    	}
    	var nonce [32]byte
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Mar 19 20:28:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. cmd/main.go

    	fmt.Fprintln(banner, color.Blue("Version:")+color.Bold(" %s (%s %s/%s)", ReleaseTag, runtime.Version(), runtime.GOOS, runtime.GOARCH))
    }
    
    func versionBanner(c *cli.Context) io.Reader {
    	banner := &strings.Builder{}
    	fmt.Fprintln(banner, color.Bold("%s version %s (commit-id=%s)", c.App.Name, c.App.Version, CommitID))
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jul 30 22:59:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. internal/ioutil/ioutil_test.go

    	if string(b) != expected {
    		t.Errorf("AppendFile() failed, expected: %s, got %s", expected, string(b))
    	}
    }
    
    func TestSkipReader(t *testing.T) {
    	testCases := []struct {
    		src      io.Reader
    		skipLen  int64
    		expected string
    	}{
    		{bytes.NewBuffer([]byte("")), 0, ""},
    		{bytes.NewBuffer([]byte("")), 1, ""},
    		{bytes.NewBuffer([]byte("abc")), 0, "abc"},
    		{bytes.NewBuffer([]byte("abc")), 1, "bc"},
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. cmd/bucket-metadata.go

    	if err != nil {
    		return
    	}
    
    	outbuf := bytes.NewBuffer(nil)
    	objectKey := crypto.GenerateKey(key.Plaintext, rand.Reader)
    	sealedKey := objectKey.Seal(key.Plaintext, crypto.GenerateIV(rand.Reader), crypto.S3.String(), bucket, "")
    	crypto.S3.CreateMetadata(metadata, key.KeyID, key.Ciphertext, sealedKey)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. internal/bucket/replication/datatypes_gen.go

    package replication
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *StatusType) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 string
    		zb0001, err = dc.ReadString()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = StatusType(zb0001)
    	}
    	return
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/archive/zip/testdata/zip64-2.zip

    README This small file is in ZIP64 format....
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 266 bytes
    - Viewed (0)
  10. cmd/batch-job-common-types_gen.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *BatchJobKV) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
Back to top