Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for screen (0.2 sec)

  1. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    seemed to rise like a stalk out of a sea of green leaves that lay
    far below her.
    
      `What CAN all that green stuff be?' said Alice.  `And where
    HAVE my shoulders got to?  And oh, my poor hands, how is it I
    can't see you?'  She was moving them about as she spoke, but no
    result seemed to follow, except a little shaking among the
    distant green leaves.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

            new LineProcessor<Integer>() {
              int seen;
    
              @Override
              public boolean processLine(String line) {
                seen++;
                sb.append(line);
                return seen < 2;
              }
    
              @Override
              public Integer getResult() {
                return seen;
              }
            };
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

            new LineProcessor<Integer>() {
              int seen;
    
              @Override
              public boolean processLine(String line) {
                seen++;
                sb.append(line);
                return seen < 2;
              }
    
              @Override
              public Integer getResult() {
                return seen;
              }
            };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/AppendableWriterTest.java

    import java.io.Closeable;
    import java.io.Flushable;
    import java.io.IOException;
    import java.io.Writer;
    
    /**
     * Unit test for {@link AppendableWriter}.
     *
     * @author Alan Green
     */
    public class AppendableWriterTest extends IoTestCase {
    
      /** Helper class for testing behavior with Flushable and Closeable targets. */
      private static class SpyAppendable implements Appendable, Flushable, Closeable {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/AppendableWriter.java

    /**
     * Writer that places all output on an {@link Appendable} target. If the target is {@link Flushable}
     * or {@link Closeable}, flush()es and close()s will also be delegated to the target.
     *
     * @author Alan Green
     * @author Sebastian Kanthak
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    class AppendableWriter extends Writer {
      private final Appendable target;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

        protected char[] escape(char c) {
          return c < replaceLength ? replacements[c] : null;
        }
      }
    
      // Replacement mappings.
      private final Map<Character, String> map;
    
      // The highest index we've seen so far.
      private int max = -1;
    
      /** Construct a new sparse array builder. */
      public CharEscaperBuilder() {
        this.map = new HashMap<>();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
      int time(int reps) {
        int dummy = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TopKSelector.java

       * range [0, k) and ignore the remaining elements.
       */
      private final @Nullable T[] buffer;
      private int bufferSize;
    
      /**
       * The largest of the lowest k elements we've seen so far relative to this comparator. If
       * bufferSize ≥ k, then we can ignore any elements greater than this value.
       */
      @CheckForNull private T threshold;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        }
    
        // ensures that the number of invocations looks sane
        void assertInvariants(int expectedBytes) {
          // we should have seen as many bytes as the next multiple of chunk after expectedBytes - 1
          assertEquals(out.toByteArray().length, ceilToMultiple(expectedBytes, chunkSize));
          assertEquals(expectedBytes / chunkSize, processCalled);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       *
       * <p>This class is accessible but not supported in GWT as it references {@link
       * PermittedMetaException}.
       */
      protected final class MultiExceptionListIterator implements ListIterator<E> {
        // TODO: track seen elements when order isn't guaranteed
        // TODO: verify contents afterward
        // TODO: something shiny and new instead of Stack
        // TODO: test whether null is supported (create a Feature)
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
Back to top