Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 55 of 55 for Tata (0.13 sec)

  1. cmd/erasure.go

    	if len(buckets) == 0 {
    		return nil
    	}
    
    	// Collect disks we can use.
    	disks, healing := er.getOnlineDisksWithHealing(false)
    	if len(disks) == 0 {
    		scannerLogIf(ctx, errors.New("data-scanner: all drives are offline or being healed, skipping scanner cycle"))
    		return nil
    	}
    
    	// Load bucket totals
    	oldCache := dataUsageCache{}
    	if err := oldCache.load(ctx, er, dataUsageCacheName); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  2. src/bytes/buffer_test.go

    			t.Errorf("expected error %v, got %v", test.err, err)
    		}
    	}
    }
    
    func BenchmarkReadString(b *testing.B) {
    	const n = 32 << 10
    
    	data := make([]byte, n)
    	data[n-1] = 'x'
    	b.SetBytes(int64(n))
    	for i := 0; i < b.N; i++ {
    		buf := NewBuffer(data)
    		_, err := buf.ReadString('x')
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func TestGrow(t *testing.T) {
    	x := []byte{'x'}
    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)
  3. cmd/main.go

    	app := cli.NewApp()
    	app.Name = name
    	app.Author = "MinIO, Inc."
    	app.Version = ReleaseTag
    	app.Usage = "High Performance Object Storage"
    	app.Description = `Build high performance data infrastructure for machine learning, analytics and application data workloads with MinIO`
    	app.Flags = GlobalFlags
    	app.HideHelpCommand = true // Hide `help, h` command, we already have `minio --help`.
    	app.Commands = commands
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. cmd/utils.go

    	return p.stopFn()
    }
    
    // Extension returns the extension without dot prefix.
    func (p profilerWrapper) Extension() string {
    	return p.ext
    }
    
    // Returns current profile data, returns error if there is no active
    // profiling in progress. Stops an active profile.
    func getProfileData() (map[string][]byte, error) {
    	globalProfilerMu.Lock()
    	defer globalProfilerMu.Unlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. cmd/erasure-metadata_test.go

    			t.Fatalf("%+v: expected = %d, got: %d", testCase, testCase.expectedIndex, index)
    		}
    	}
    }
    
    // Test objectPartIndex(). generates a sample FileInfo data and asserts
    // the output of objectPartIndex() with the expected value.
    func TestObjectPartIndex(t *testing.T) {
    	testCases := []struct {
    		partNum       int
    		expectedIndex int
    	}{
    		{2, 1},
    		{1, 0},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top