Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for corrente (0.19 sec)

  1. cmd/peer-rest-server.go

    			ReplicationStats: v,
    			ProxyStats:       globalReplicationStats.getProxyStats(k),
    		}
    	}
    	return &BucketStatsMap{Stats: bucketStatsMap, Timestamp: time.Now()}, nil
    }
    
    // GetBucketStatsHandler - fetches current in-memory bucket stats, currently only
    // returns BucketStats, that currently includes ReplicationStats.
    func (s *peerRESTServer) GetBucketStatsHandler(vars *grid.MSS) (*BucketStats, *grid.RemoteErr) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	}
    	return newTestSignedRequestV4(method, urlStr, contentLength, body, accessKey, secretKey, nil)
    }
    
    // Returns request with correct signature but with incorrect SHA256.
    func newTestSignedBadSHARequest(method, urlStr string, contentLength int64, body io.ReadSeeker, accessKey, secretKey string, signer signerType) (*http.Request, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    			}
    		}
    	}
    }
    
    // test a small index across all page offsets
    func TestIndexByteSmall(t *testing.T) {
    	b := make([]byte, 5015) // bigger than a page
    	// Make sure we find the correct byte even when straddling a page.
    	for i := 0; i <= len(b)-15; i++ {
    		for j := 0; j < 15; j++ {
    			b[i+j] = byte(100 + j)
    		}
    		for j := 0; j < 15; j++ {
    			p := IndexByte(b[i:i+15], byte(100+j))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	defer xioutil.SafeClose(updates)
    	var lc *lifecycle.Lifecycle
    
    	// Check if the current bucket has a configured lifecycle policy
    	if globalLifecycleSys != nil {
    		lc, err = globalLifecycleSys.Get(cache.Info.Name)
    		if err == nil && lc.HasActiveRules("") {
    			cache.Info.lifeCycle = lc
    		}
    	}
    
    	// Check if the current bucket has replication configuration
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    	//
    	// 1. Remove the group from each user's list of memberships.
    	// 2. Add the group to each member's list of memberships.
    	//
    	// This ensures that regardless of members being added or
    	// removed, the cache stays current.
    	cache.removeGroupFromMembershipsMap(group)
    	cache.updateGroupMembershipsMap(group, &gi)
    	cache.updatedAt = time.Now()
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. cmd/object-api-multipart_test.go

    			}
    		}
    		// Test passes as expected, but the output values are verified for correctness here.
    		if actualErr == nil && testCase.shouldPass {
    			// Asserting whether the md5 output is correct.
    			if testCase.inputMd5 != actualInfo.ETag {
    				t.Errorf("Test %d: %s: Calculated Md5 different from the actual one %s.", i+1, instanceType, actualInfo.ETag)
    			}
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  7. tests/migrate_test.go

    					t.Fatalf("column id primary key should be correct, name: %v, column: %#v", columnType.Name(),
    						columnType)
    				}
    			case "name":
    				dataType := DB.Dialector.DataTypeOf(stmt.Schema.LookUpField(columnType.Name()))
    				if !strings.Contains(strings.ToUpper(dataType), strings.ToUpper(columnType.DatabaseTypeName())) {
    					t.Fatalf("column name type should be correct, name: %v, length: %v, expects: %v, column: %#v",
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidObjectState: {
    		Code:           "InvalidObjectState",
    		Description:    "The operation is not valid for the current state of the object.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrAuthorizationHeaderMalformed: {
    		Code:           "AuthorizationHeaderMalformed",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  9. cmd/erasure-object.go

    	}
    
    	var healOnce sync.Once
    
    	for ; partIndex <= lastPartIndex; partIndex++ {
    		if length == totalBytesRead {
    			break
    		}
    
    		partNumber := fi.Parts[partIndex].Number
    
    		// Save the current part name and size.
    		partSize := fi.Parts[partIndex].Size
    
    		partLength := partSize - partOffset
    		// partLength should be adjusted so that we don't write more data than what was requested.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  10. cmd/erasure-server-pool.go

    		serverPools[i] = poolAvailableSpace{
    			Index:      i,
    			Available:  available,
    			MaxUsedPct: maxUsedPct,
    		}
    	}
    	return serverPools
    }
    
    // PoolObjInfo represents the state of current object version per pool
    type PoolObjInfo struct {
    	Index   int
    	ObjInfo ObjectInfo
    	Err     error
    }
    
    type poolErrs struct {
    	Index int
    	Err   error
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
Back to top