Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 1,615 for var0 (0.04 seconds)

  1. cmd/data-usage-cache_test.go

    				"BETWEEN_64_KB_AND_256_KB": 1,
    				"BETWEEN_1024B_AND_1_MB":   2,
    				"BETWEEN_10_MB_AND_64_MB":  1,
    			},
    		},
    	}
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("Test-%d", i), func(t *testing.T) {
    			var h sizeHistogram
    			for _, sz := range test.sizes {
    				h.add(sz)
    			}
    			got := h.toMap()
    			exp := test.want
    			// what is in exp is in got
    			for k := range exp {
    				if exp[k] != got[k] {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  2. internal/grid/handlers_string.go

    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[handlerInvalid-0]
    	_ = x[HandlerLockLock-1]
    	_ = x[HandlerLockRLock-2]
    	_ = x[HandlerLockUnlock-3]
    	_ = x[HandlerLockRUnlock-4]
    	_ = x[HandlerLockRefresh-5]
    	_ = x[HandlerLockForceUnlock-6]
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Dec 12 05:50:57 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  3. cmd/benchmark-utils_test.go

    )
    
    // Benchmark utility functions for ObjectLayer.PutObject().
    // Creates Object layer setup ( MakeBucket ) and then runs the PutObject benchmark.
    func runPutObjectBenchmark(b *testing.B, obj ObjectLayer, objSize int) {
    	var err error
    	// obtains random bucket name.
    	bucket := getRandomBucketName()
    	// create bucket.
    	err = obj.MakeBucket(b.Context(), bucket, MakeBucketOptions{})
    	if err != nil {
    		b.Fatal(err)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  4. cmd/storage-datatypes_test.go

    	"encoding/gob"
    	"io"
    	"testing"
    	"time"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func BenchmarkDecodeVolInfoMsgp(b *testing.B) {
    	v := VolInfo{
    		Name:    "uuid",
    		Created: time.Now(),
    	}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.Log("Size:", buf.Len(), "bytes")
    	b.SetBytes(1)
    	b.ReportAllocs()
    
    	for b.Loop() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. .ci/jobs.t/elastic+elasticsearch+periodic+ear-trigger.yml

    ---
    jjbb-template: periodic-trigger-lgc.yml
    vars:
      - periodic-job: elastic+elasticsearch+%BRANCH%+periodic+ear
      - lgc-job: elastic+elasticsearch+%BRANCH%+intake
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 188 bytes
    - Click Count (0)
  6. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

    internal fun mergeAdjacentRanges(mappings: List<Mapping>): List<Mapping> {
      var index = 0
      val result = mutableListOf<Mapping>()
    
      while (index < mappings.size) {
        val mapping = mappings[index]
        val type = canonicalizeType(mapping.type)
        val mappedTo = mapping.mappedTo
    
        var unionWith: Mapping = mapping
        index++
    
        while (index < mappings.size) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  7. .ci/jobs.t/elastic+elasticsearch+periodic+release-tests-trigger.yml

    ---
    jjbb-template: periodic-trigger-lgc.yml
    vars:
      - periodic-job: elastic+elasticsearch+%BRANCH%+periodic+release-tests
      - lgc-job: elastic+elasticsearch+%BRANCH%+intake
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 198 bytes
    - Click Count (0)
  8. .ci/jobs.t/elastic+elasticsearch+periodic+java-fips-matrix-trigger.yml

    ---
    jjbb-template: periodic-trigger-lgc.yml
    vars:
      - periodic-job: elastic+elasticsearch+%BRANCH%+periodic+java-fips-matrix
      - lgc-job: elastic+elasticsearch+%BRANCH%+intake
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 201 bytes
    - Click Count (0)
  9. cmd/metacache-walk_gen_test.go

    	v := WalkDirOptions{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	en := msgp.NewWriter(msgp.Nowhere)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.EncodeMsg(en)
    	}
    	en.Flush()
    }
    
    func BenchmarkDecodeWalkDirOptions(b *testing.B) {
    	v := WalkDirOptions{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. cmd/tier_gen_test.go

    	v := TierConfigMgr{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	en := msgp.NewWriter(msgp.Nowhere)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.EncodeMsg(en)
    	}
    	en.Flush()
    }
    
    func BenchmarkDecodeTierConfigMgr(b *testing.B) {
    	v := TierConfigMgr{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top