Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for caption (0.18 sec)

  1. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        }
    
        void sleepMillis(int millis) {
          sleepMicros("U", MILLISECONDS.toMicros(millis));
        }
    
        void sleepMicros(String caption, long micros) {
          instant += MICROSECONDS.toNanos(micros);
          events.add(caption + String.format(Locale.ROOT, "%3.2f", (micros / 1000000.0)));
        }
    
        @Override
        protected void sleepMicrosUninterruptibly(long micros) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/BaseEncoding.java

     * }</pre>
     *
     * <p>It is guaranteed that {@code encoding.decode(encoding.encode(x))} is always equal to {@code
     * x}, but the reverse does not necessarily hold.
     *
     * <table>
     * <caption>Encodings</caption>
     * <tr>
     * <th>Encoding
     * <th>Alphabet
     * <th>{@code char:byte} ratio
     * <th>Default padding
     * <th>Comments
     * <tr>
     * <td>{@link #base16()}
     * <td>0-9 A-F
     * <td>2.00
     * <td>N/A
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Range.java

     * it is either open or unbounded. The construct {@code {x | statement}} is read "the set of all
     * <i>x</i> such that <i>statement</i>.")
     *
     * <blockquote>
     *
     * <table>
     * <caption>Range Types</caption>
     * <tr><th>Notation        <th>Definition               <th>Factory method
     * <tr><td>{@code (a..b)}  <td>{@code {x | a < x < b}}  <td>{@link Range#open open}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

          super(spliterator);
        }
    
        @Override
        void forEachRemaining(Consumer<? super E> action) {
          spliterator.forEachRemaining(action);
        }
    
        @Override
        boolean tryAdvance(Consumer<? super E> action) {
          return spliterator.tryAdvance(action);
        }
    
        @Override
        @Nullable GeneralSpliterator<E> trySplit() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        Method method = TwoArg.class.getMethod("normalNormal", String.class, Integer.class);
        for (TwoArg.Action first : TwoArg.Action.values()) {
          for (TwoArg.Action second : TwoArg.Action.values()) {
            TwoArg bar = new TwoArg(first, second);
            if (first.equals(TwoArg.Action.THROW_A_NPE) && second.equals(TwoArg.Action.THROW_A_NPE)) {
              verifyBarPass(method, bar); // require both params to throw NPE
            } else {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/ByteSinkTest.java

        sink.writeFrom(in);
        assertFalse(in.closed());
      }
    
      public void testClosesOnErrors_copyingFromByteSourceThatThrows() {
        for (TestOption option : EnumSet.of(OPEN_THROWS, READ_THROWS, CLOSE_THROWS)) {
          TestByteSource failSource = new TestByteSource(new byte[10], option);
          TestByteSink okSink = new TestByteSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMapValues.java

            return super.writeReplace();
          }
        };
      }
    
      @GwtIncompatible // serialization
      @Override
      public void forEach(Consumer<? super V> action) {
        checkNotNull(action);
        map.forEach((k, v) -> action.accept(v));
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible // serialization
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

        return new ImmutableMapEntrySet.RegularEntrySet<>(this, entries);
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action);
        entries.forEach(e -> action.accept(e.getKey(), e.getValue()));
      }
    
      @Override
      ImmutableSet<K> createKeySet() {
        return new ImmutableMapKeySet<>(this);
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. .github/workflows/ci.yml

    on:
      push:
        branches:
          - master
      pull_request:
        branches:
          - master
    
    permissions:
      contents: read
    
    jobs:
      test:
        permissions:
          actions: write  # for styfle/cancel-workflow-action to cancel/stop running workflows
          contents: read  # for actions/checkout to fetch code
        name: "${{ matrix.root-pom }} on JDK ${{ matrix.java }} on ${{ matrix.os }}"
        strategy:
          matrix:
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/HashBiMap.java

            }
          }
        };
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action);
        for (BiEntry<K, V> entry = firstInKeyInsertionOrder;
            entry != null;
            entry = entry.nextInKeyInsertionOrder) {
          action.accept(entry.key, entry.value);
        }
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
Back to top