Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 222 for 02 (0.02 sec)

  1. guava-tests/test/com/google/common/base/PreconditionsTest.java

        verifyComplexMessage(expected);
      }
    
      public void testCheckElementIndex_ok() {
        assertEquals(0, checkElementIndex(0, 1));
        assertEquals(0, checkElementIndex(0, 2));
        assertEquals(1, checkElementIndex(1, 2));
      }
    
      public void testCheckElementIndex_badSize() {
        assertThrows(IllegalArgumentException.class, () -> checkElementIndex(1, -1));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. cmd/batch-rotate.go

    				return false
    			}
    		}
    		return true
    	}
    
    	workerSize, err := strconv.Atoi(env.Get("_MINIO_BATCH_KEYROTATION_WORKERS", strconv.Itoa(runtime.GOMAXPROCS(0)/2)))
    	if err != nil {
    		return err
    	}
    
    	wk, err := workers.New(workerSize)
    	if err != nil {
    		// invalid worker size.
    		return err
    	}
    
    	ctx, cancel := context.WithCancel(ctx)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.21.md

    - github.com/konsorten/go-windows-terminal-sequences: [v1.0.3 โ†’ v1.0.2](https://github.com/konsorten/go-windows-terminal-sequences/compare/v1.0.3...v1.0.2)
    - github.com/kr/text: [v0.1.0 โ†’ v0.2.0](https://github.com/kr/text/compare/v0.1.0...v0.2.0)
    - github.com/mattn/go-runewidth: [v0.0.2 โ†’ v0.0.7](https://github.com/mattn/go-runewidth/compare/v0.0.2...v0.0.7)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri Oct 14 07:03:14 UTC 2022
    - 367.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                expectedChecksum = expectedChecksum.trim();
    
                // check for 'ALGO (name) = CHECKSUM' like used by openssl
                if (expectedChecksum.regionMatches(true, 0, "MD", 0, 2)
                        || expectedChecksum.regionMatches(true, 0, "SHA", 0, 3)) {
                    int lastSpacePos = expectedChecksum.lastIndexOf(' ');
                    expectedChecksum = expectedChecksum.substring(lastSpacePos + 1);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        assertEquals(
            ImmutableMap.of(Range.closedOpen(0, 1), 1, Range.closedOpen(1, 2), 1),
            rangeMap.asMapOfRanges());
    
        RangeMap<Integer, Integer> subRangeMap = rangeMap.subRangeMap(Range.closedOpen(0, 2));
        subRangeMap.putCoalescing(Range.closedOpen(1, 1), 1); // empty range coalesces connected ranges
        assertEquals(ImmutableMap.of(Range.closedOpen(0, 2), 1), subRangeMap.asMapOfRanges());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 30K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Striped.java

            this.index = index;
          }
        }
      }
    
      /**
       * Implementation of Striped where up to 2^k stripes can be represented, using a ConcurrentMap
       * where the key domain is [0..2^k). To map a user key into a stripe, we take a k-bit slice of the
       * user key's (smeared) hashCode(). The stripes are lazily initialized and are weakly referenced.
       */
      @VisibleForTesting
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SmbCircuitBreaker.java

                    newThreshold = Math.min(currentThreshold + 2, 15);
                }
                // If failure rate is moderate but response time is very high, be stricter
                else if (failureRate > 0.2 && avgResponseTime > 10000) {
                    newThreshold = Math.max(currentThreshold - 1, 2);
                }
                // If system is performing well, be more lenient
    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. cmd/batch-expire.go

    	}
    
    	globalBatchJobsMetrics.save(job.ID, ri)
    	lastObject := ri.Object
    
    	now := time.Now().UTC()
    
    	workerSize, err := strconv.Atoi(env.Get("_MINIO_BATCH_EXPIRATION_WORKERS", strconv.Itoa(runtime.GOMAXPROCS(0)/2)))
    	if err != nil {
    		return err
    	}
    
    	wk, err := workers.New(workerSize)
    	if err != nil {
    		// invalid worker size.
    		return err
    	}
    
    	ctx, cancelCause := context.WithCancelCause(ctx)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.19.md

    - dmitri.shuralyov.com/gpu/mtl: 666a987
    - github.com/cespare/xxhash/v2: [v2.1.1](https://github.com/cespare/xxhash/v2/tree/v2.1.1)
    - github.com/checkpoint-restore/go-criu/v4: [v4.0.2](https://github.com/checkpoint-restore/go-criu/v4/tree/v4.0.2)
    - github.com/chzyer/logex: [v1.1.10](https://github.com/chzyer/logex/tree/v1.1.10)
    - github.com/chzyer/readline: [2972be2](https://github.com/chzyer/readline/tree/2972be2)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jan 05 05:42:32 UTC 2022
    - 489.7K bytes
    - Viewed (0)
  10. docs/em/docs/deployment/docker.md

    ๐Ÿ‘† ๐Ÿ”œ ๐Ÿ‘€ ๐ŸŽ› ๐Ÿง ๐Ÿงพ (๐Ÿšš <a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank">๐Ÿ“„</a>):
    
    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## ๐Ÿ— โ˜ ๐Ÿ–ผ โฎ๏ธ ๐Ÿ‘-๐Ÿ“ FastAPI
    
    ๐Ÿšฅ ๐Ÿ‘† FastAPI ๐Ÿ‘ ๐Ÿ“, ๐Ÿ–ผ, `main.py` ๐Ÿต `./app` ๐Ÿ“, ๐Ÿ‘† ๐Ÿ“ ๐Ÿ“Š ๐Ÿ’ช ๐Ÿ‘€ ๐Ÿ’– ๐Ÿ‘‰:
    
    ```
    .
    โ”œโ”€โ”€ Dockerfile
    โ”œโ”€โ”€ main.py
    โ””โ”€โ”€ requirements.txt
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top