Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 73 for littlest (0.31 sec)

  1. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

        byte[] buffer = MANY_VALUES_PAIRED_STATS.toByteArray();
        byte[] tooLongByteArray =
            ByteBuffer.allocate(buffer.length + 2)
                .order(ByteOrder.LITTLE_ENDIAN)
                .put(buffer)
                .putChar('.')
                .array();
        assertThrows(IllegalArgumentException.class, () -> PairedStats.fromByteArray(tooLongByteArray));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hasher.java

    /**
     * A {@link PrimitiveSink} that can compute a hash code after reading the input. Each hasher should
     * translate all multibyte values ({@link #putInt(int)}, {@link #putLong(long)}, etc) to bytes in
     * little-endian order.
     *
     * <p><b>Warning:</b> The result of calling any methods after calling {@link #hash} is undefined.
     *
     * <p><b>Warning:</b> Using a specific character encoding when hashing a {@link CharSequence} with
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacMac.java

            Mac mac = Mac.getInstance("HmacMD5");
            MessageDigest md = MessageDigest.getInstance("MD5");
            mac.init(key);
            byte[] dk = mac.doFinal(MD5_CONSTANT);
            try {
                // little endian
                md.update((byte) ( ms_usage & 0xFF ));
                md.update((byte) ( ( ms_usage >> 8 ) & 0xFF ));
                md.update((byte) ( ( ms_usage >> 16 ) & 0xFF ));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        public boolean cancel(boolean mayInterruptIfRunning) {
          throw new AssertionFailedError();
        }
    
        @Override
        public V get() throws InterruptedException {
          /*
           * Wait a little to give us time to call addListener before the future's
           * value is set in addition to the call we'll make after then.
           */
          allowGetToComplete.await(1, SECONDS);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     * number of concurrent accesses instead of the rate (note though that concurrency and rate are
     * closely related, e.g. see <a href="http://en.wikipedia.org/wiki/Little%27s_law">Little's
     * Law</a>).
     *
     * <p>A {@code RateLimiter} is defined primarily by the rate at which permits are issued. Absent
     * additional configuration, permits will be distributed at a fixed rate, defined in terms of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Strings.java

       *
       * <p>In certain cases, such as outputting debugging information or constructing a message to be
       * used for another unchecked exception, an exception during string formatting would serve little
       * purpose except to supplant the real information you were trying to provide. These are the cases
       * this method is made for; it instead generates a best-effort string with all supplied argument
    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. guava-tests/test/com/google/common/math/StatsTest.java

        byte[] buffer = MANY_VALUES_STATS_VARARGS.toByteArray();
        byte[] tooLongByteArray =
            ByteBuffer.allocate(buffer.length + 2)
                .order(ByteOrder.LITTLE_ENDIAN)
                .put(buffer)
                .putChar('.')
                .array();
        assertThrows(IllegalArgumentException.class, () -> Stats.fromByteArray(tooLongByteArray));
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Suppliers.java

            }
          }
          // This is safe because we checked `expirationNanos`.
          return uncheckedCastNullableTToT(value);
        }
    
        @Override
        public String toString() {
          // This is a little strange if the unit the user provided was not NANOS,
          // but we don't want to store the unit just for toString
          return "Suppliers.memoizeWithExpiration(" + delegate + ", " + durationNanos + ", NANOS)";
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Monitor.java

      //    confusing. It's nice for the finally block to look as close as
      //    possible to the thing right before the try. You could have
      //    guard.leave(), but that's a little odd as well because the
      //    guard doesn't have anything to do with leaving. You can't
      //    really enforce that the guard you're leaving is the same one
      //    you entered with, and it doesn't actually matter.
      //
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

      }
    
      @Override
      public HashCode hashInt(int input) {
        return hashBytes(ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(input).array());
      }
    
      @Override
      public HashCode hashLong(long input) {
        return hashBytes(ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(input).array());
      }
    
      @Override
      public HashCode hashUnencodedChars(CharSequence input) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 3.8K bytes
    - Viewed (0)
Back to top