Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for signin (0.4 sec)

  1. android/guava/src/com/google/common/util/concurrent/ForwardingCondition.java

      }
    
      @Override
      public boolean awaitUntil(Date deadline) throws InterruptedException {
        return delegate().awaitUntil(deadline);
      }
    
      @Override
      public void signal() {
        delegate().signal();
      }
    
      @Override
      public void signalAll() {
        delegate().signalAll();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedLongs.java

     * signed versions of methods for which signedness is an issue.
     *
     * <p>In addition, this class provides several static methods for converting a {@code long} to a
     * {@code String} and a {@code String} to a {@code long} that treat the {@code long} as an unsigned
     * number.
     *
     * <p>Users of these utilities must be <i>extremely careful</i> not to mix up signed and unsigned
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/MathBenchmarking.java

       */
      static BigInteger randomPositiveBigInteger(int numBits) {
        BigInteger result;
        do {
          result = randomNonNegativeBigInteger(numBits);
        } while (result.signum() == 0);
        return result;
      }
    
      /**
       * Generates a number in [0, 2^numBits) with an exponential distribution. The floor of the log2 of
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/SignedBytes.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Arrays;
    import java.util.Comparator;
    
    /**
     * Static utility methods pertaining to {@code byte} primitives that interpret values as signed. The
     * corresponding methods that treat the values as unsigned are found in {@link UnsignedBytes}, and
     * the methods for which signedness is not an issue are in {@link Bytes}.
     *
     * <p>See the Guava User Guide article on <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 7.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/LongMathTest.java

    public class LongMathTest extends TestCase {
      @SuppressWarnings("ConstantOverflow")
      public void testMaxSignedPowerOfTwo() {
        assertTrue(LongMath.isPowerOfTwo(LongMath.MAX_SIGNED_POWER_OF_TWO));
        assertFalse(LongMath.isPowerOfTwo(LongMath.MAX_SIGNED_POWER_OF_TWO * 2));
      }
    
      public void testCeilingPowerOfTwo() {
        for (long x : POSITIVE_LONG_CANDIDATES) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteArrayDataInput.java

     *
     * <p><b>Warning:</b> The caller is responsible for not attempting to read past the end of the
     * array. If any method encounters the end of the array prematurely, it throws {@link
     * IllegalStateException} to signify <i>programmer error</i>. This behavior is a technical violation
     * of the supertype's contract, which specifies a checked exception.
     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Longs.java

        }
    
        static int digit(char c) {
          return (c < 128) ? asciiDigits[c] : -1;
        }
      }
    
      /**
       * Parses the specified string as a signed decimal long value. The ASCII character {@code '-'} (
       * <code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Long#parseLong(String)}, this method returns {@code null} instead of throwing
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/CharsTest.java

              .isTrue();
        }
      }
    
      public void testCompare() {
        for (char x : VALUES) {
          for (char y : VALUES) {
            assertWithMessage(x + ", " + y)
                .that(Math.signum(Chars.compare(x, y)))
                .isEqualTo(Math.signum(Character.valueOf(x).compareTo(y)));
          }
        }
      }
    
      public void testContains() {
        assertThat(Chars.contains(EMPTY, (char) 1)).isFalse();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/LongMath.java

         * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of
         * p / q.
         *
         * signum is 1 if p and q are both nonnegative or both negative, and -1 otherwise.
         */
        int signum = 1 | (int) ((p ^ q) >> (Long.SIZE - 1));
        boolean increment;
        switch (mode) {
          case UNNECESSARY:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * signal the first active guard that is satisfied. But the corresponding thread may have already
       * been interrupted and is waiting to reacquire the lock while still registered in activeGuards,
       * in which case the signal is a no-op, and the bigger-picture signal is lost unless interrupted
       * threads take special action by participating in the signal-passing game.
       */
    
      /*
    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)
Back to top