Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,461 for Fake (0.04 sec)

  1. cmd/xl-storage-disk-id-check.go

    	p.metricsCache.InitOnce(5*time.Second,
    		cachevalue.Opts{},
    		func(ctx context.Context) (DiskMetrics, error) {
    			diskMetric := DiskMetrics{
    				LastMinute: make(map[string]AccElem, len(p.apiLatencies)),
    				APICalls:   make(map[string]uint64, len(p.apiCalls)),
    			}
    			for i, v := range p.apiLatencies {
    				diskMetric.LastMinute[storageMetric(i).String()] = v.total()
    			}
    			for i := range p.apiCalls {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. docs/bucket/replication/test_del_marker_proxying.sh

    	echo -n "Cleaning up instances of MinIO ..."
    	pkill -9 minio || sudo pkill -9 minio
    	rm -rf /tmp/sitea
    	rm -rf /tmp/siteb
    	echo "done"
    }
    
    cleanup
    
    export MINIO_CI_CD=1
    export MINIO_BROWSER=off
    
    make install-race
    
    # Start MinIO instances
    echo -n "Starting MinIO instances ..."
    minio server --address 127.0.0.1:9001 --console-address ":10000" "http://127.0.0.1:9001/tmp/sitea/data/disterasure/xl{1...4}" \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TopKSelector.java

            @SuppressWarnings("nullness") // safe because we pass sort() a range that contains real Ts
            T[] castBuffer = (T[]) buffer;
            // We've already taken O(k log k), let's make sure we don't take longer than O(k log k).
            sort(castBuffer, left, right + 1, comparator);
            break;
          }
        }
        bufferSize = k;
    
        threshold = uncheckedCastNullableTToT(buffer[minThresholdPosition]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

            @VisibleForTesting
            @JvmStatic
            fun selectVersionsFrom(minimumSupported: String, allVersions: List<String>): List<String> {
                val versionsByMinor = allVersions
                    .groupBy { it.take(3) } // e.g. 1.9
                    .toSortedMap()
                val latests = buildList {
                    versionsByMinor.entries.forEachIndexed { idx, entry ->
                        // Earliest stable of the minor
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 18:27:26 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       */
      /*
       * TODO(cpovirk): or we could make HOLES_FORBIDDEN a feature. Or we could declare that
       * implementations are permitted to throw IAE if a hole is requested, and we could update
       * test*Hole to permit IAE. (But might this ignore genuine bugs?) But see the TODO above
       * testLower, which could make this all unnecessary
       */
      public static Method[] getHoleMethods() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. internal/grid/types.go

    		*m = nil
    		return bts, nil
    	}
    	var zb0002 uint32
    	zb0002, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "Values")
    		return
    	}
    	dst := *m
    	if dst == nil {
    		dst = make(map[string]string, zb0002)
    	} else if len(dst) > 0 {
    		for key := range dst {
    			delete(dst, key)
    		}
    	}
    	for zb0002 > 0 {
    		var za0001 string
    		var za0002 string
    		zb0002--
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. internal/grid/handlers.go

    	subStateless map[subHandlerID]*StatelessHandler
    	subStreams   map[subHandlerID]*StreamHandler
    }
    
    func (h *handlers) init() {
    	h.subSingle = make(map[subHandlerID]SingleHandlerFn)
    	h.subStateless = make(map[subHandlerID]*StatelessHandler)
    	h.subStreams = make(map[subHandlerID]*StreamHandler)
    }
    
    func (h *handlers) hasAny(id HandlerID) bool {
    	if !id.valid() {
    		return false
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/server-workers.md

    Here you saw how to use multiple **workers** to **parallelize** the execution of the application, take advantage of **multiple cores** in the CPU, and be able to serve **more requests**.
    
    From the list of deployment concepts from above, using workers would mainly help with the **replication** part, and a little bit with the **restarts**, but you still need to take care of the others:
    
    * **Security - HTTPS**
    * **Running on startup**
    * ***Restarts***
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom_gen_test.go

    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgPoolDecommissionInfo(b *testing.B) {
    	v := PoolDecommissionInfo{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 12 02:48:43 UTC 2022
    - 11K bytes
    - Viewed (0)
  10. cmd/batch-job-common-types_gen_test.go

    	v := BatchJobKV{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgBatchJobKV(b *testing.B) {
    	v := BatchJobKV{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top