Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for coefficient (0.04 sec)

  1. android/guava/src/com/google/common/base/Utf8.java

    @GwtCompatible
    public final class Utf8 {
      /**
       * Returns the number of bytes in the UTF-8-encoded form of {@code sequence}. For a string, this
       * method is equivalent to {@code string.getBytes(UTF_8).length}, but is more efficient in both
       * time and space.
       *
       * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired
       *     surrogates)
       */
      public static int encodedLength(CharSequence sequence) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

              @Override
              protected char @Nullable [] escape(int cp) {
                return ('a' <= cp && cp <= 'z') ? new char[] {Character.toUpperCase((char) cp)} : null;
              }
    
              // Inefficient implementation that defines all letters as escapable.
              @Override
              protected int nextEscapeIndex(CharSequence csq, int index, int end) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

              @Override
              protected char @Nullable [] escape(int cp) {
                return ('a' <= cp && cp <= 'z') ? new char[] {Character.toUpperCase((char) cp)} : null;
              }
    
              // Inefficient implementation that defines all letters as escapable.
              @Override
              protected int nextEscapeIndex(CharSequence csq, int index, int end) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/AbstractHasher.java

    import java.nio.charset.Charset;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An abstract implementation of {@link Hasher}, which only requires subtypes to implement {@link
     * #putByte}. Subtypes may provide more efficient implementations, however.
     *
     * @author Dimitris Andreou
     */
    abstract class AbstractHasher implements Hasher {
      @Override
      @CanIgnoreReturnValue
      public final Hasher putBoolean(boolean b) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/HashMultiset.java

        return new HashMultiset<>(distinctElements);
      }
    
      /**
       * Creates a new {@code HashMultiset} containing the specified elements.
       *
       * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.
       *
       * @param elements the elements that the multiset should contain
       */
      public static <E extends @Nullable Object> HashMultiset<E> create(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/AbstractValueGraph.java

     * this class rather than implement {@link ValueGraph} directly.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     * @since 20.0
     */
    @Beta
    public abstract class AbstractValueGraph<N, V> extends AbstractBaseGraph<N>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

            // the proxy type may not be the same.
            // We first check isProxyClass() so that the common case of comparing with non-proxy objects
            // is efficient.
            || (Proxy.isProxyClass(arg.getClass())
                && Arrays.equals(arg.getClass().getInterfaces(), proxyClass.getInterfaces()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableTable.java

                : ImmutableSet.copyOf(ImmutableList.sortedCopyOf(columnComparator, columnSpaceBuilder));
    
        return forOrderedComponents(cellList, rowSpace, columnSpace);
      }
    
      /** A factory that chooses the most space-efficient representation of the table. */
      static <R, C, V> RegularImmutableTable<R, C, V> forOrderedComponents(
          ImmutableList<Cell<R, C, V>> cellList,
          ImmutableSet<R> rowSpace,
          ImmutableSet<C> columnSpace) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 08 13:05:15 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/AbstractStreamingHasher.java

       *
       * While intuitively, using CharsetEncoder to encode the CharSequence directly to the buffer (or
       * even to an intermediate buffer) should be considerably more efficient than potentially
       * copying the CharSequence to a String and then calling getBytes(Charset) on that String, in
       * reality there are optimizations that make the getBytes(Charset) approach considerably faster,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

    import okio.Path
    import okio.Path.Companion.toPath
    import okio.buffer
    
    /**
     * Downloads the public suffix list from https://publicsuffix.org/list/public_suffix_list.dat and
     * transforms the file into an efficient format used by OkHttp.
     *
     *
     * The intent is to use this class to update the list periodically by manually running the main
     * method. This should be run from the top-level okhttp directory.
     *
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Aug 06 05:33:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top