Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for noises (0.18 sec)

  1. src/bytes/example_test.go

    	fmt.Printf("%s", bytes.Title([]byte("her royal highness")))
    	// Output: Her Royal Highness
    }
    
    func ExampleToTitle() {
    	fmt.Printf("%s\n", bytes.ToTitle([]byte("loud noises")))
    	fmt.Printf("%s\n", bytes.ToTitle([]byte("хлеб")))
    	// Output:
    	// LOUD NOISES
    	// ХЛЕБ
    }
    
    func ExampleToTitleSpecial() {
    	str := []byte("ahoj vývojári golang")
    	totitle := bytes.ToTitleSpecial(unicode.AzeriCase, str)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  2. cmd/object-api-utils.go

    	}
    
    	var available uint64
    	var total uint64
    	var nDisks int
    	for _, disk := range di {
    		if disk == nil || disk.Total == 0 {
    			// Disk offline, no inodes or something else is wrong.
    			continue
    		}
    		nDisks++
    		total += disk.Total
    		available += disk.Total - disk.Used
    	}
    
    	if nDisks < len(di)/2 || nDisks <= 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  3. cmd/format-erasure_test.go

    }
    
    func BenchmarkInitStorageDisksMax(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 32*204)
    }
    
    func benchmarkInitStorageDisksN(b *testing.B, nDisks int) {
    	b.ResetTimer()
    	b.ReportAllocs()
    
    	fsDirs, err := getRandomDisks(nDisks)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	endpoints := mustGetNewEndpoints(0, 16, fsDirs...)
    	b.RunParallel(func(pb *testing.PB) {
    		endpoints := endpoints
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest_shared_test.go

    	// istioctl install
    	cmdApply cmdType = "istioctl install"
    	// in-cluster controller
    	cmdController cmdType = "operator controller"
    )
    
    // Golden output files add a lot of noise to pull requests. Use a unique suffix so
    // we can hide them by default. This should match one of the `linuguist-generated=true`
    // lines in istio.io/istio/.gitattributes.
    const (
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  5. src/archive/zip/zip_test.go

    	}
    	s := buf.String()
    	zr, err := NewReader(strings.NewReader(s), int64(len(s)))
    	if err != nil {
    		t.Fatalf("NewReader: %v", err)
    	}
    	if got := len(zr.File); got != nFiles {
    		t.Fatalf("File contains %d files, want %d", got, nFiles)
    	}
    	for i := 0; i < nFiles; i++ {
    		want := fmt.Sprintf("%d.dat", i)
    		if zr.File[i].Name != want {
    			t.Fatalf("File(%d) = %q, want %q", i, zr.File[i].Name, want)
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  6. cmd/data-usage_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    }
    
    // generateUsageTestFiles create nFolders * nFiles files of size bytes each.
    func generateUsageTestFiles(t *testing.T, base, bucket string, nFolders, nFiles, size int) {
    	pl := make([]byte, size)
    	for i := 0; i < nFolders; i++ {
    		name := filepath.Join(base, bucket, fmt.Sprint(i), "0.txt")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. cmd/erasure-healing_test.go

    	defer func() {
    		globalStorageClass.Update(saveSC)
    	}()
    	globalStorageClass.Update(storageclass.Config{
    		Standard: storageclass.StorageClass{
    			Parity: 4,
    		},
    	})
    
    	nDisks := 16
    	fsDirs, err := getRandomDisks(nDisks)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	defer removeRoots(fsDirs)
    
    	// Everything is fine, should return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 47.6K bytes
    - Viewed (0)
Back to top