Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for French (0.23 sec)

  1. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

              return 0x80;
            } else if (userFriendly.matches("(?i)(?:French|Latin|Western.*European)")) {
              // Mostly 1-byte UTF-8 sequences, mixed with occasional 2-byte
              // sequences - "Western European" text
              return 0x90;
            } else if (userFriendly.matches("(?i)(?:Branch.*Prediction.*Hostile)")) {
              // Defeat branch predictor for: c < 0x80 ; branch taken 50% of the time.
              return 0x100;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

              return 0x80;
            } else if (userFriendly.matches("(?i)(?:French|Latin|Western.*European)")) {
              // Mostly 1-byte UTF-8 sequences, mixed with occasional 2-byte
              // sequences - "Western European" text
              return 0x90;
            } else if (userFriendly.matches("(?i)(?:Branch.*Prediction.*Hostile)")) {
              // Defeat branch predictor for: c < 0x80 ; branch taken 50% of the time.
              return 0x100;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          // should never reach here!
          throw new UnsupportedOperationException();
        }
    
        @Override
        public Entry<K, V> belowSamplesGreater() {
          // should never reach here!
          throw new UnsupportedOperationException();
        }
    
        @Override
        public Entry<K, V> aboveSamplesLesser() {
          // should never reach here!
          throw new UnsupportedOperationException();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Utf8.java

          i++;
        }
    
        // This loop optimizes for chars less than 0x800.
        for (; i < utf16Length; i++) {
          char c = sequence.charAt(i);
          if (c < 0x800) {
            utf8Length += ((0x7f - c) >>> 31); // branch free!
          } else {
            utf8Length += encodedLengthGeneral(sequence, i);
            break;
          }
        }
    
        if (utf8Length < utf16Length) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/IntMath.java

        return x > 0 & (x & (x - 1)) == 0;
      }
    
      /**
       * Returns 1 if {@code x < y} as unsigned integers, and 0 otherwise. Assumes that x - y fits into
       * a signed int. The implementation is branch-free, and benchmarks suggest it is measurably (if
       * narrowly) faster than the straightforward ternary expression.
       */
      @VisibleForTesting
      static int lessThanBranchFree(int x, int y) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Strings.java

        return Platform.stringIsNullOrEmpty(string);
      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
       *
       * <ul>
       *   <li>{@code padStart("7", 3, '0')} returns {@code "007"}
       *   <li>{@code padStart("2010", 3, '0')} returns {@code "2010"}
       * </ul>
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ReaderInputStream.java

              } else if (endOfInput) { // (b)
                doneEncoding = true;
              } else { // (c)
                readMoreChars();
              }
            } else if (result.isError()) {
              // Only reach here if a CharsetEncoder with non-REPLACE settings is used.
              result.throwException();
              return 0; // Not called.
            }
          }
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/DiscreteDomain.java

      @CheckForNull
      public abstract C previous(C value);
    
      /**
       * Returns a signed value indicating how many nested invocations of {@link #next} (if positive) or
       * {@link #previous} (if negative) are needed to reach {@code end} starting from {@code start}.
       * For example, if {@code end = next(next(next(start)))}, then {@code distance(start, end) == 3}
       * and {@code distance(end, start) == -3}. As well, {@code distance(a, a)} is always zero.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/Striped64.java

       * than CPUs, supposing that each thread were bound to a CPU,
       * there would exist a perfect hash function mapping threads to
       * slots that eliminates collisions. When we reach capacity, we
       * search for this mapping by randomly varying the hash codes of
       * colliding threads.  Because search is random, and collisions
       * only become known via CAS failures, convergence can be slow,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/DiscreteDomain.java

      @CheckForNull
      public abstract C previous(C value);
    
      /**
       * Returns a signed value indicating how many nested invocations of {@link #next} (if positive) or
       * {@link #previous} (if negative) are needed to reach {@code end} starting from {@code start}.
       * For example, if {@code end = next(next(next(start)))}, then {@code distance(start, end) == 3}
       * and {@code distance(end, start) == -3}. As well, {@code distance(a, a)} is always zero.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top