Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 96 for Reaber (0.17 sec)

  1. android/guava/src/com/google/common/collect/TopKSelector.java

        for (int i = 0; i < other.bufferSize; i++) {
          this.offer(uncheckedCastNullableTToT(other.buffer[i]));
        }
        return this;
      }
    
      /**
       * Adds each member of {@code elements} as a candidate for the top {@code k} elements. This
       * operation takes amortized linear time in the length of {@code elements}.
       *
    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)
  2. android/guava/src/com/google/common/net/PercentEscaper.java

        // TODO(dbeaumont): Switch to static factory methods for creation now that class is final.
        // TODO(dbeaumont): Support escapers where alphanumeric chars are not safe.
        checkNotNull(safeChars); // eager for GWT.
        // Avoid any misunderstandings about the behavior of this escaper
        if (safeChars.matches(".*[0-9A-Za-z].*")) {
          throw new IllegalArgumentException(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * a good policy, especially because, in order for the test to pass, the
       * parameter must be misleadingly annotated as @Nullable. I suspect that
       * we'll want to remove @Nullable, add an eager checkNotNull, and loosen up
       * testRemove_nullAllowed.
       */
      @CanIgnoreReturnValue
      @Override
      public int remove(@CheckForNull Object element, int occurrences) {
        if (occurrences == 0) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Predicates.java

        return new SubtypeOfPredicate(clazz);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the object reference being tested is a
       * member of the given collection. It does not defensively copy the collection passed in, so
       * future changes to it will alter the behavior of the predicate.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

          }
        }
    
        // Serialization invokes writeObject only when it's private.
        // The SynchronizedObject subclasses don't need a writeObject method since
        // they don't contain any non-transient member variables, while the
        // following writeObject() handles the SynchronizedObject members.
    
        @GwtIncompatible // java.io.ObjectOutputStream
        @J2ktIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

           * one-sixth of them need cloning when a table doubles. The nodes they replace will be garbage
           * collectable as soon as they are no longer referenced by any reader thread that may be in
           * the midst of traversing table right now.
           */
    
          int newCount = count;
          AtomicReferenceArray<ReferenceEntry<K, V>> newTable = newEntryArray(oldCapacity << 1);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSource.java

       * independent reader each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned reader is closed.
       *
       * @throws IOException if an I/O error occurs while of opening the reader
       */
      public BufferedReader openBufferedStream() throws IOException {
        Reader reader = openStream();
        return (reader instanceof BufferedReader)
            ? (BufferedReader) reader
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

        String result = CharStreams.toString(joinedReader);
        assertEquals(testString.length() * 3, result.length());
      }
    
      public void testReady() throws Exception {
        CharSource source = newCharSource("a");
        Iterable<? extends CharSource> list = ImmutableList.of(source, source);
        Reader joinedReader = CharSource.concat(list).openStream();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ReaderInputStream.java

       *
       * @param reader input source
       * @param charset character set used for encoding chars to bytes
       * @param bufferSize size of internal input and output buffers
       * @throws IllegalArgumentException if bufferSize is non-positive
       */
      ReaderInputStream(Reader reader, Charset charset, int bufferSize) {
        this(
            reader,
            charset
                .newEncoder()
    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)
  10. guava-tests/test/com/google/common/io/CharSourceTest.java

        BufferedReader reader = source.openBufferedStream();
        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    
        StringWriter writer = new StringWriter();
        char[] buf = new char[64];
        int read;
        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
Back to top