Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 153 for efficiency (0.08 sec)

  1. guava/src/com/google/common/escape/CharEscaper.java

       *
       * <p>If the character does not need to be escaped, this method should return {@code null}, rather
       * than a one-character array containing the character itself. This enables the escaping algorithm
       * to perform more efficiently.
       *
       * <p>An escaper is expected to be able to deal with any {@code char} value, so this method should
       * not throw any exceptions.
       *
       * @param c the character to escape if necessary
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Booleans.java

          }
        }
        return count;
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Booleans.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(boolean[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Booleans.java

          }
        }
        return count;
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Booleans.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(boolean[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *
     * Mappings may overlap.
     *
     * ASCII-Only
     * ==========
     *
     * Neither the section index nor the ranges data use bit 0x80 anywhere. That means the data is
     * strictly ASCII. This is intended to make it efficient to encode this data as a string, and to
     * index into it as a string.
     *
     * The mappings data contains non-ASCII characters.
     */
    internal class IdnaMappingTable internal constructor(
      val sections: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 11:39:58 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/CharEscaper.java

       *
       * <p>If the character does not need to be escaped, this method should return {@code null}, rather
       * than a one-character array containing the character itself. This enables the escaping algorithm
       * to perform more efficiently.
       *
       * <p>An escaper is expected to be able to deal with any {@code char} value, so this method should
       * not throw any exceptions.
       *
       * @param c the character to escape if necessary
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/Hexdump.java

                ci += NL_LENGTH;
            } while( si < length );
    
            ps.println( c );
        }
    
    /** 
     * This is an alternative to the <code>java.lang.Integer.toHexString</cod>
     * method. It is an efficient relative that also will pad the left side so
     * that the result is <code>size</code> digits.
     */ 
        public static String toHexString( int val, int size ) {
            char[] c = new char[size];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractMultiset.java

        return setCountImpl(this, element, oldCount, newCount);
      }
    
      // Bulk Operations
    
      /**
       * {@inheritDoc}
       *
       * <p>This implementation is highly efficient when {@code elementsToAdd} is itself a {@link
       * Multiset}.
       */
      @CanIgnoreReturnValue
      @Override
      public final boolean addAll(Collection<? extends E> elementsToAdd) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
Back to top