Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 60 for 1001 (0.15 sec)

  1. cmd/xl-storage-format-v2_test.go

    	vObj := xlMetaV2ShallowVersion{header: xlMetaV2VersionHeader{
    		VersionID: [16]byte{1},
    		ModTime:   1000,
    		Signature: [4]byte{1, 2, 3, 4},
    		Type:      ObjectType,
    		Flags:     xlFlagUsesDataDir | xlFlagInlineData,
    	}}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  2. cmd/notification.go

    	// TX saturating, however there are situations where a RX might also saturate.
    	// To avoid these problems we must split the work at scale. With 1000 node
    	// setup becoming a reality we must try to shard the work properly such as
    	// pick 10 nodes that precisely can send those 100 requests the first node
    	// in the 10 node shard would coordinate between other 9 shards to get the
    	// rest of the `99*9` requests.
    	//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    			expectedRespStatus: http.StatusNotFound,
    		},
    		// Test case - 3.
    		// Requesting from range 10-100.
    		{
    			bucketName: bucketName,
    			objectName: objectName,
    			byteRange:  "bytes=10-100",
    			accessKey:  credentials.AccessKey,
    			secretKey:  credentials.SecretKey,
    
    			expectedContent:    bytesData[0].byteData[10:101],
    			expectedRespStatus: http.StatusPartialContent,
    		},
    		// Test case - 4.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  4. cmd/local-locker_test.go

    	rng := rand.New(rand.NewSource(0))
    	// Numbers of unique locks
    	for _, locks := range []int{100, 1000, 1e6} {
    		if testing.Short() && locks > 100 {
    			continue
    		}
    		t.Run(fmt.Sprintf("%d-locks", locks), func(t *testing.T) {
    			// Number of readers per lock...
    			for _, readers := range []int{1, 10, 100} {
    				if locks > 1000 && readers > 1 {
    					continue
    				}
    				if testing.Short() && readers > 10 {
    					continue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  5. src/archive/tar/strconv_test.go

    		{"-0.1", time.Unix(-0, -1e8), true},
    		{"-0.01", time.Unix(-0, -1e7), true},
    		{"-0.99", time.Unix(-0, -99e7), true},
    		{"-0.98", time.Unix(-0, -98e7), true},
    		{"-1.1", time.Unix(-1, -1e8), true},
    		{"-1.01", time.Unix(-1, -1e7), true},
    		{"-2.99", time.Unix(-2, -99e7), true},
    		{"-5.98", time.Unix(-5, -98e7), true},
    		{"-", time.Time{}, false},
    		{"+", time.Time{}, false},
    		{"-1.-1", time.Time{}, false},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  6. internal/bucket/replication/replication.go

    			}
    		}
    	}
    	return &config, nil
    }
    
    // Validate - validates the replication configuration
    func (c Config) Validate(bucket string, sameTarget bool) error {
    	// replication config can't have more than 1000 rules
    	if len(c.Rules) > 1000 {
    		return errReplicationTooManyRules
    	}
    	// replication config should have at least one rule
    	if len(c.Rules) == 0 {
    		return errReplicationNoRule
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. src/bytes/buffer_test.go

    	tmp := make([]byte, 72)
    	for _, growLen := range []int{0, 100, 1000, 10000, 100000} {
    		for _, startLen := range []int{0, 100, 1000, 10000, 100000} {
    			xBytes := Repeat(x, startLen)
    
    			buf := NewBuffer(xBytes)
    			// If we read, this affects buf.off, which is good to test.
    			readBytes, _ := buf.Read(tmp)
    			yBytes := Repeat(y, growLen)
    			allocs := testing.AllocsPerRun(100, func() {
    				buf.Grow(growLen)
    				buf.Write(yBytes)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. cmd/bucket-listobjects-handlers.go

    }
    
    // ListObjectsV2MHandler - GET Bucket (List Objects) Version 2 with metadata.
    // --------------------------
    // This implementation of the GET operation returns some or all (up to 1000)
    // of the objects in a bucket. You can use the request parameters as selection
    // criteria to return a subset of the objects in a bucket.
    //
    // NOTE: It is recommended that this API to be used for application development.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  9. cmd/api-resources_test.go

    				"uploadId":           []string{"11123-11312312311231-12313"},
    				"part-number-marker": []string{"1"},
    				"max-parts":          []string{"1000"},
    				"encoding-type":      []string{"gzip"},
    			},
    			uploadID:         "11123-11312312311231-12313",
    			partNumberMarker: 1,
    			maxParts:         1000,
    			encodingType:     "gzip",
    		},
    	}
    
    	for i, testCase := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue18146.go

    		t.Skipf("skipping flaky test on %s; see golang.org/issue/18202", runtime.GOOS)
    	}
    
    	if runtime.GOARCH == "mips" || runtime.GOARCH == "mips64" {
    		t.Skipf("skipping on %s", runtime.GOARCH)
    	}
    
    	attempts := 1000
    	threads := 4
    
    	// Restrict the number of attempts based on RLIMIT_NPROC.
    	// Tediously, RLIMIT_NPROC was left out of the syscall package,
    	// probably because it is not in POSIX.1, so we define it here.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
Back to top