Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 171 for Flow (0.15 sec)

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

      static final Iterable<Integer> ALL_INTEGER_CANDIDATES;
    
      static {
        ImmutableSet.Builder<Integer> intValues = ImmutableSet.builder();
        // Add boundary values manually to avoid over/under flow (this covers 2^N for 0 and 31).
        intValues.add(Integer.MAX_VALUE - 1, Integer.MAX_VALUE);
        // Add values up to 40. This covers cases like "square of a prime" and such.
        for (int i = 1; i <= 40; i++) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/MathTesting.java

      static final Iterable<Integer> ALL_INTEGER_CANDIDATES;
    
      static {
        ImmutableSet.Builder<Integer> intValues = ImmutableSet.builder();
        // Add boundary values manually to avoid over/under flow (this covers 2^N for 0 and 31).
        intValues.add(Integer.MAX_VALUE - 1, Integer.MAX_VALUE);
        // Add values up to 40. This covers cases like "square of a prime" and such.
        for (int i = 1; i <= 40; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/singlethreaded/SingleThreadedBuilder.java

                            break;
                        }
                    } catch (Exception e) {
                        break; // Why are we just ignoring this exception? Are exceptions are being used for flow control
                    }
                }
            }
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ReaderInputStream.java

     * which is necessarily blocking. By implementing an {@code InputStream} it allows consumers to
     * "pull" as much data as they can handle, which is more convenient when dealing with flow
     * controlled, async APIs.
     *
     * @author Chris Nokleberg
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class ReaderInputStream extends InputStream {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/LongMath.java

        if ((a ^ b) < 0 | (a ^ naiveSum) >= 0) {
          // If a and b have different signs or a has the same sign as the result then there was no
          // overflow, return.
          return naiveSum;
        }
        // we did over/under flow, if the sign is negative we should return MAX otherwise MIN
        return Long.MAX_VALUE + ((naiveSum >>> (Long.SIZE - 1)) ^ 1);
      }
    
      /**
    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)
  6. android/guava/src/com/google/common/base/Ascii.java

       */
      public static final byte DC1 = 17; // aka XON
    
      /**
       * Transmission On: Although originally defined as DC1, this ASCII control character is now better
       * known as the XON code used for software flow control in serial communications. The main use is
       * restarting the transmission after the communication has been stopped by the XOFF control code.
       *
       * @since 8.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/EventBus.java

     * of EventBus may be better written using <a
     * href="https://kotlinlang.org/docs/coroutines-guide.html">Kotlin coroutines</a>, including <a
     * href="https://kotlinlang.org/docs/flow.html">Flow</a> and <a
     * href="https://kotlinlang.org/docs/channels.html">Channels</a>. Yet other usages are better served
     * by individual libraries that provide specialized support for particular use cases.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        errorInput.set(0);
    
        runGetIdempotencyTest(errorComposedFuture, MyError.class);
    
        /*
         * Try again when the input's value is already filled in, since the flow is
         * slightly different in that case.
         */
        exceptionComposedFuture =
            transform(exceptionInput, newOneTimeExceptionThrower(), directExecutor());
    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)
  9. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

      public void testAddManyPairs() {
        for (int aLow = 0; aLow < 6; aLow++) {
          for (int aHigh = 0; aHigh < 6; aHigh++) {
            for (BoundType aLowType : BoundType.values()) {
              for (BoundType aHighType : BoundType.values()) {
                if ((aLow == aHigh && aLowType == OPEN && aHighType == OPEN) || aLow > aHigh) {
                  continue;
                }
                for (int bLow = 0; bLow < 6; bLow++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 24.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      }
    
      public void testInitialCapacity_large() {
        CacheBuilder.newBuilder().initialCapacity(Integer.MAX_VALUE);
        // that the builder didn't blow up is enough;
        // don't actually create this monster!
      }
    
      public void testConcurrencyLevel_zero() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
        try {
          builder.concurrencyLevel(0);
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
Back to top