Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 138 for hamster (0.14 sec)

  1. android/guava/src/com/google/common/math/IntMath.java

     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class IntMath {
      // NOTE: Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    
      @VisibleForTesting static final int MAX_SIGNED_POWER_OF_TWO = 1 << (Integer.SIZE - 2);
    
      /**
       * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to
    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)
  2. android/guava/src/com/google/common/primitives/Bytes.java

       * moved to index "distance", and the element at index {@code i} ends up at index {@code (distance
       * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Bytes.asList(array),
       * distance)}, but is somewhat faster.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @since 32.0.0
       */
      public static void rotate(byte[] array, int distance) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Floats.java

       * moved to index "distance", and the element at index {@code i} ends up at index {@code (distance
       * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Floats.asList(array),
       * distance)}, but is considerably faster and avoids allocation and garbage collection.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @since 32.0.0
       */
      public static void rotate(float[] array, int distance) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedBytes.java

        return LexicographicalComparatorHolder.PureJavaComparator.INSTANCE;
      }
    
      /**
       * Provides a lexicographical comparator implementation; either a Java implementation or a faster
       * implementation based on {@link Unsafe}.
       *
       * <p>Uses reflection to gracefully fall back to the Java implementation if {@code Unsafe} isn't
       * available.
       */
      @VisibleForTesting
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedInteger.java

    import javax.annotation.CheckForNull;
    
    /**
     * A wrapper class for unsigned {@code int} values, supporting arithmetic operations.
     *
     * <p>In some cases, when speed is more important than code readability, it may be faster simply to
     * treat primitive {@code int} values as unsigned, using the methods from {@link UnsignedInts}.
     *
     * <p>See the Guava User Guide article on <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                    addr = locator.getAddress();
                }
                catch ( CIFSException e ) {
                    if ( e.getCause() instanceof UnknownHostException ) {
                        log.debug("Failed to find master browser", e);
                        throw new SmbUnsupportedOperationException();
                    }
                    throw e;
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSource.java

       *
       * <p>Since Strings are immutable and built into the jdk we can optimize some operations
       *
       * <ul>
       *   <li>use {@link StringReader} instead of {@link CharSequenceReader}. It is faster since it can
       *       use {@link String#getChars(int, int, char[], int)} instead of copying characters one by
       *       one with {@link CharSequence#charAt(int)}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Collections2.java

       * element in the underlying collection and determine which elements satisfy the filter. When a
       * live view is <i>not</i> needed, it may be faster to copy {@code Iterables.filter(unfiltered,
       * predicate)} and use the copy.
       *
       * <p><b>Warning:</b> {@code predicate} must be <i>consistent with equals</i>, as documented at
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/CharMatcher.java

       * query than the original; your mileage may vary. Precomputation takes time and is likely to be
       * worthwhile only if the precomputed matcher is queried many thousands of times.
       *
       * <p>This method has no effect (returns {@code this}) when called in GWT: it's unclear whether a
       * precomputed matcher is faster, but it certainly consumes more memory, which doesn't seem like a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/EnumTest.java

            return getConfigs("smb1", "noUnicode", "forceUnicode", "noNTStatus", "noNTSmbs", "smb2", "smb30", "smb31");
        }
    
    
        @Ignore ( "This causes a connection to whatever local master browser is available, config may be incompatible with it" )
        @Test
        public void testBrowse () throws MalformedURLException, CIFSException {
            CIFSContext ctx = withAnonymousCredentials();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
Back to top