Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 387 for Kata (0.2 sec)

  1. cmd/data-scanner.go

    )
    
    // initDataScanner will start the scanner in the background.
    func initDataScanner(ctx context.Context, objAPI ObjectLayer) {
    	go func() {
    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    		// Run the data scanner in a loop
    		for {
    			runDataScanner(ctx, objAPI)
    			duration := time.Duration(r.Float64() * float64(scannerCycle.Load()))
    			if duration < time.Second {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 09:40:19 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  2. cmd/data-usage.go

    Anis Eleuch <******@****.***> 1712232280 +0100
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. cmd/data-scanner-metric.go

    Klaus Post <******@****.***> 1695618931 -0700
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    		hashPathCutSet = dataUsageRoot + string(filepath.Separator)
    	}
    }
    
    // hashPath calculates a hash of the provided string.
    func hashPath(data string) dataUsageHash {
    	if data != dataUsageRoot {
    		data = strings.Trim(data, hashPathCutSet)
    	}
    	return dataUsageHash(path.Clean(data))
    }
    
    //msgp:ignore dataUsageHashMap
    type dataUsageHashMap map[string]struct{}
    
    // DecodeMsg implements msgp.Decodable
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  5. cmd/data-usage-cache_test.go

    Krishnan Parthasarathi <******@****.***> 1705132268 -0800
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  6. cmd/data-usage-cache_gen_test.go

    Krishnan Parthasarathi <******@****.***> 1705132268 -0800
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  7. internal/jwt/parser_test.go

    }
    
    func TestParserParse(t *testing.T) {
    	// Iterate over test data set and run tests
    	for _, data := range jwtTestData {
    		data := data
    		t.Run(data.name, func(t *testing.T) {
    			// Parse the token
    			var err error
    
    			// Figure out correct claims type
    			switch claims := data.claims.(type) {
    			case *MapClaims:
    				if data.tokenString == "" {
    					data.tokenString = mapClaimsToken(claims)
    				}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 6K bytes
    - Viewed (0)
  8. cmd/erasure_test.go

    }
    
    func TestErasureEncodeDecode(t *testing.T) {
    	data := make([]byte, 256)
    	if _, err := io.ReadFull(rand.Reader, data); err != nil {
    		t.Fatalf("Failed to read random data: %v", err)
    	}
    	for i, test := range erasureEncodeDecodeTests {
    		buffer := make([]byte, len(data), 2*len(data))
    		copy(buffer, data)
    
    		erasure, err := NewErasure(context.Background(), test.dataBlocks, test.parityBlocks, blockSizeV2)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jul 25 19:37:26 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  9. internal/event/name_test.go

    	}
    
    	for i, testCase := range testCases {
    		data, err := xml.Marshal(testCase.name)
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
    		}
    
    		if !testCase.expectErr {
    			if !reflect.DeepEqual(data, testCase.expectedData) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. cmd/api-response.go

    		versions = append(versions, content)
    	}
    
    	data.Name = bucket
    	data.Versions = versions
    	data.EncodingType = encodingType
    	data.Prefix = s3EncodeName(prefix, encodingType)
    	data.KeyMarker = s3EncodeName(marker, encodingType)
    	data.Delimiter = s3EncodeName(delimiter, encodingType)
    	data.MaxKeys = maxKeys
    
    	data.NextKeyMarker = s3EncodeName(resp.NextMarker, encodingType)
    	data.NextVersionIDMarker = resp.NextVersionIDMarker
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
Back to top