Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for condense (0.17 sec)

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

         * int.
         */
        checkNonNegative("a", a);
        checkNonNegative("b", b);
        if (a == 0) {
          // 0 % b == 0, so b divides a, but the converse doesn't hold.
          // BigInteger.gcd is consistent with this decision.
          return b;
        } else if (b == 0) {
          return a; // similar logic
        }
        /*
    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)
  2. guava-tests/test/com/google/common/net/HostAndPortTest.java

        checkFromStringCase("google.com:25\t", 1, null, 99, false);
        checkFromStringCase("google.com:0x25 ", 1, null, 99, false);
      }
    
      public void testFromStringUnparseableNonsense() {
        // Some nonsense that causes parse failures.
        checkFromStringCase("[goo.gl]", 1, null, 99, false);
        checkFromStringCase("[goo.gl]:80", 1, null, 99, false);
        checkFromStringCase("[", 1, null, 99, false);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 10K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        checkFromStringCase("google.com:25\t", 1, null, 99, false);
        checkFromStringCase("google.com:0x25 ", 1, null, 99, false);
      }
    
      public void testFromStringUnparseableNonsense() {
        // Some nonsense that causes parse failures.
        checkFromStringCase("[goo.gl]", 1, null, 99, false);
        checkFromStringCase("[goo.gl]:80", 1, null, 99, false);
        checkFromStringCase("[", 1, null, 99, false);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/IntMath.java

         * an int.
         */
        checkNonNegative("a", a);
        checkNonNegative("b", b);
        if (a == 0) {
          // 0 % b == 0, so b divides a, but the converse doesn't hold.
          // BigInteger.gcd is consistent with this decision.
          return b;
        } else if (b == 0) {
          return a; // similar logic
        }
        /*
    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)
  5. android/guava/src/com/google/common/util/concurrent/Service.java

      /**
       * The lifecycle states of a service.
       *
       * <p>The ordering of the {@link State} enum is defined such that if there is a state transition
       * from {@code A -> B} then {@code A.compareTo(B) < 0}. N.B. The converse is not true, i.e. if
       * {@code A.compareTo(B) < 0} then there is <b>not</b> guaranteed to be a valid state transition
       * {@code A -> B}.
       *
       * @since 9.0 (in 1.0 as {@code com.google.common.base.Service.State})
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              }
            };
    
        static boolean intersect(Set<?> a, Set<?> b) {
          return !intersection(a, b).isEmpty();
        }
    
        /**
         * Like {@code inputs.toString()}, but with the nonsense {@code toString} representations
         * replaced with the name of each future from {@link #allFutures}.
         */
        String smartToString(ImmutableSet<ListenableFuture<String>> inputs) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              }
            };
    
        static boolean intersect(Set<?> a, Set<?> b) {
          return !intersection(a, b).isEmpty();
        }
    
        /**
         * Like {@code inputs.toString()}, but with the nonsense {@code toString} representations
         * replaced with the name of each future from {@link #allFutures}.
         */
        String smartToString(ImmutableSet<ListenableFuture<String>> inputs) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/HostAndPort.java

    public final class HostAndPort implements Serializable {
      /** Magic value indicating the absence of a port number. */
      private static final int NO_PORT = -1;
    
      /** Hostname, IPv4/IPv6 literal, or unvalidated nonsense. */
      private final String host;
    
      /** Validated port number in the range [0..65535], or NO_PORT */
      private final int port;
    
      /** True if the parsed host has colons, but no surrounding brackets. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Range.java

       *       contained by the latter range)
       * </ul>
       *
       * <p>Note that if {@code a.encloses(b)}, then {@code b.contains(v)} implies {@code
       * a.contains(v)}, but as the last two examples illustrate, the converse is not always true.
       *
       * <p>Being reflexive, antisymmetric and transitive, the {@code encloses} relation defines a
       * <i>partial order</i> over ranges. There exists a unique {@linkplain Range#all maximal} range
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
Back to top