Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 123 for rato (0.02 sec)

  1. tests/lru_test.go

    	for i := 0; i < 2*b.N; i++ {
    		if i%2 == 0 {
    			l.Add(trace[i], trace[i])
    		} else {
    			if _, ok := l.Get(trace[i]); ok {
    				hit++
    			} else {
    				miss++
    			}
    		}
    	}
    	b.Logf("hit: %d miss: %d ratio: %f", hit, miss, float64(hit)/float64(hit+miss))
    }
    
    func BenchmarkLRU_Freq_NoExpire(b *testing.B) {
    	l := lru.NewLRU[int64, int64](8192, nil, 0)
    
    	trace := make([]int64, b.N*2)
    	for i := 0; i < b.N*2; i++ {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. docs/es/docs/how-to/general.md

    ## Convertir cualquier Dato a Compatible con JSON
    
    Para convertir cualquier dato a compatible con JSON, lee la documentación para [Tutorial - Codificador Compatible con JSON](../tutorial/encoder.md){.internal-link target=_blank}.
    
    ## Metadatos OpenAPI - Documentación
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        }
    
        /**
         * Increment error counter
         */
        public void incrementErrors() {
            errors.incrementAndGet();
        }
    
        /**
         * Get error rate (errors / total requests)
         *
         * @return error rate between 0.0 and 1.0
         */
        public double getErrorRate() {
            long total = requestsSent.get();
            if (total == 0)
                return 0.0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. docs/pt/docs/benchmarks.md

        * Se você quer fazer comparações com o Uvicorn, compare com Daphne, Hypercorn, uWSGI, etc. Servidores de Aplicação.
    * **Starlette**:
        * Terá a melhor performance, depois do Uvicorn. De fato, Starlette utiliza Uvicorn para rodar. Então, ele provavelmente será "mais lento" que Uvicorn por ter que executar mais código.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

      int maximumSize;
    
      @Param("5000")
      int distinctKeys;
    
      @Param("4")
      int segments;
    
      // 1 means uniform likelihood of keys; higher means some keys are more popular
      // tweak this to control hit rate
      @Param("2.5")
      double concentration;
    
      Random random = new Random();
    
      LoadingCache<Integer, Integer> cache;
    
      int max;
    
      static AtomicLong requests = new AtomicLong(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/openapi-webhooks.md

    E os **seus usuários** definem de alguma forma (em algum painel por exemplo) a **URL** que a sua aplicação deve enviar essas requisições.
    
    Toda a **lógica** sobre como cadastrar as URLs para os webhooks e o código para enviar de fato as requisições cabe a você definir. Você escreve da maneira que você desejar no **seu próprio código**.
    
    ## Documentando webhooks com o FastAPI e OpenAPI
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SmbCircuitBreaker.java

                long avgResponseTime = metrics.getAverageResponseTime();
    
                // Adjust threshold based on failure rate and response time trends
                int currentThreshold = this.failureThreshold;
                int newThreshold = currentThreshold;
    
                // If failure rate is high but response time is normal, be more lenient
                if (failureRate > 0.5 && avgResponseTime < 5000) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/compression/CompressionService.java

         */
        int[] getSupportedAlgorithms();
    
        /**
         * Estimates the compression ratio for the given data and algorithm.
         * This can be used to decide whether compression is worthwhile.
         *
         * @param data the data to analyze
         * @param algorithm the compression algorithm
         * @return estimated compression ratio (0.0 to 1.0, where 0.5 means 50% size reduction)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertTrue(primaryScore > baseScore);
    
            // High error rate should reduce score
            channelInfo.setState(ChannelState.ESTABLISHED);
            channelInfo.setPrimary(false);
            for (int i = 0; i < 20; i++) {
                channelInfo.incrementRequestsSent();
                channelInfo.incrementErrors(); // 100% error rate
            }
            int highErrorScore = channelInfo.getScore();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. docs/distributed/DECOMMISSION.md

    └─────┴─────────────────────────────────┴──────────────────────────────────┴────────┘
    ```
    
    ### Decommissioning status
    
    ```
    λ mc admin decommission status alias/ http://minio{1...2}/data{1...4}
    Decommissioning rate at 36 MiB/sec [4 TiB/50 TiB]
    Started: 1 minute ago
    ```
    
    Once it is **Complete**
    
    ```
    λ mc admin decommission status alias/ http://minio{1...2}/data{1...4}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jul 11 14:59:49 UTC 2022
    - 8.3K bytes
    - Viewed (0)
Back to top