Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 140 for half (0.04 seconds)

  1. internal/dsync/drwmutex.go

    	// Tolerance is not set, defaults to half of the locker clients.
    	tolerance := len(restClnts) / 2
    
    	// Quorum is effectively = total clients subtracted with tolerance limit
    	quorum := len(restClnts) - tolerance
    	if !isReadLock {
    		// In situations for write locks, as a special case
    		// to avoid split brains we make sure to acquire
    		// quorum + 1 when tolerance is exactly half of the
    		// total locker clients.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/SipHashFunction.java

      private final long k1;
    
      /**
       * @param c the number of compression rounds (must be positive)
       * @param d the number of finalization rounds (must be positive)
       * @param k0 the first half of the key
       * @param k1 the second half of the key
       */
      SipHashFunction(int c, int d, long k0, long k1) {
        checkArgument(
            c > 0, "The number of SipRound iterations (c=%s) during Compression must be positive.", c);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizer.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.normalizer;
    
    /**
     * Normalizes full-width alphanumeric characters to half-width alphanumeric characters.
     */
    public class FullWidthToHalfWidthAlphabetNormalizer implements Normalizer {
        /**
         * Constructs a new {@link FullWidthToHalfWidthAlphabetNormalizer}.
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. docs/erasure/README.md

    MinIO protects data against hardware failures and silent data corruption using erasure code and checksums. With the highest level of redundancy, you may lose up to half (N/2) of the total drives and still be able to recover the data.
    
    ## What is Erasure Code?
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                circuitBreaker.executeWithCircuitBreaker(() -> {
                    assertEquals(State.HALF_OPEN, circuitBreaker.getState(), "Should be in HALF_OPEN state");
                    throw new RuntimeException("Failure in half-open");
                });
                fail("Should have thrown exception");
            } catch (CIFSException e) {
                // Expected
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/MapRetrievalCache.java

          return entry.value;
        }
        entry = cacheEntry2;
        if (entry != null && entry.key == key) {
          // Promote second cache entry to first so the access pattern
          // [K1, K2, K1, K3, K1, K4...] still hits the cache half the time.
          addToCache(entry);
          return entry.value;
        }
        return null;
      }
    
      @Override
      void clearCache() {
        super.clearCache();
        cacheEntry1 = null;
        cacheEntry2 = null;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/SimpleCircuitBreaker.java

         * Creates a simple circuit breaker
         *
         * @param name the circuit breaker name
         * @param failureThreshold number of consecutive failures to open circuit
         * @param successThreshold number of successes in half-open to close circuit
         * @param timeoutMillis timeout before attempting to close open circuit
         */
        public SimpleCircuitBreaker(String name, int failureThreshold, int successThreshold, long timeoutMillis) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

      }
    
      private static long random() {
        return randomSource.nextLong();
      }
    
      // A random value that cannot be 0 and that is unsigned-less-than or equal
      // to the given dividend, so that we don't have half of our divisions being
      // trivial because the divisor is bigger than the dividend.
      // Using remainder here does not give us a uniform distribution but it should
      // not have a big impact on the measurement.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    clock in a twinkling!  Half-past one, time for dinner!'
    
      (`I only wish it was,' the March Hare said to itself in a
    whisper.)
    
      `That would be grand, certainly,' said Alice thoughtfully:
    `but then--I shouldn't be hungry for it, you know.'
    
      `Not at first, perhaps,' said the Hatter:  `but you could keep
    it to half-past one as long as you liked.'
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverterTest.java

            for (String result : results) {
                assertEquals(result, result.toLowerCase());
            }
        }
    
        public void test_convertHalfWidth() {
            // Test that full-width characters are converted to half-width
            List<String> results = converter.convert("アイウ", null);
            for (String result : results) {
                assertFalse(result.contains("A")); // Full-width A
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 5.9K bytes
    - Click Count (0)
Back to Top