Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for decoder (0.19 sec)

  1. android/guava/src/com/google/common/io/BaseEncoding.java

          }
          int bytesWritten = 0;
          for (int i = 0; i < chars.length(); ) {
            int chunk = alphabet.decode(chars.charAt(i++)) << 18;
            chunk |= alphabet.decode(chars.charAt(i++)) << 12;
            target[bytesWritten++] = (byte) (chunk >>> 16);
            if (i < chars.length()) {
              chunk |= alphabet.decode(chars.charAt(i++)) << 6;
              target[bytesWritten++] = (byte) ((chunk >>> 8) & 0xFF);
    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)
  2. android/guava/src/com/google/common/reflect/Types.java

      static ParameterizedType newParameterizedType(Class<?> rawType, Type... arguments) {
        return new ParameterizedTypeImpl(
            ClassOwnership.JVM_BEHAVIOR.getOwnerType(rawType), rawType, arguments);
      }
    
      /** Decides what owner type to use for constructing {@link ParameterizedType} from a raw class. */
      private enum ClassOwnership {
        OWNED_BY_ENCLOSING_CLASS {
          @Override
          @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

     *
     * <p>This class should be used by other collection classes only.
     *
     * @author Mike Bostock
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    /*
     * I have decided not to bother adding @ParametricNullness annotations in this class. Adding them is
     * a lot of busy work, and the annotation matters only when the APIs to be annotated are visible to
    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)
  4. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        } catch (IllegalStateException e) {
          /* expected */
        }
    
        assertEquals(
            "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek());
    
        /* Should recover to be able to remove() after next(). */
        assertEquals("B", peekingIterator.next());
        peekingIterator.remove();
        assertEquals("Should have removed an element", 2, list.size());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * by it and by its input steps.
     *
     * <h3>Ending a pipeline</h3>
     *
     * Each {@code ClosingFuture} pipeline must be ended. To end a pipeline, decide whether you want to
     * close the captured objects automatically or manually.
     *
     * <h4>Automatically closing</h4>
     *
     * You can extract a {@link Future} that represents the result of the last step in the pipeline by
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        } catch (IllegalStateException e) {
          /* expected */
        }
    
        assertEquals(
            "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek());
    
        /* Should recover to be able to remove() after next(). */
        assertEquals("B", peekingIterator.next());
        peekingIterator.remove();
        assertEquals("Should have removed an element", 2, list.size());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top