Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 177 for Little (0.03 seconds)

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

        return b1;
      }
    
      /**
       * Reads an unsigned {@code short} as specified by {@link DataInputStream#readUnsignedShort()},
       * except using little-endian byte order.
       *
       * @return the next two bytes of the input stream, interpreted as an unsigned 16-bit integer in
       *     little-endian byte order
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeChar(int v) throws IOException {
        writeShort(v);
      }
    
      /**
       * Writes a {@code String} as specified by {@link DataOutputStream#writeChars(String)}, except
       * each character is written using little-endian byte order.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

      private final LittleEndianDataOutputStream out = new LittleEndianDataOutputStream(baos);
    
      public void testWriteLittleEndian() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.write(new byte[] {-100, 100});
        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

      private final LittleEndianDataOutputStream out = new LittleEndianDataOutputStream(baos);
    
      public void testWriteLittleEndian() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.write(new byte[] {-100, 100});
        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

      }
    
      public void testReadLittleEndian() throws IOException {
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
    
        /* Read in various values in LITTLE ENDIAN FORMAT */
        byte[] b = new byte[2];
        in.readFully(b);
        assertEquals(-100, b[0]);
        assertEquals(100, b[1]);
        assertEquals(true, in.readBoolean());
        assertEquals(false, in.readBoolean());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

              // For convenience, testing only with big endianness, to match DataOutputStream.
              // I regard highly unlikely that both the little endianness tests above and this one
              // passes, and there is still a little endianness bug lurking around.
            }
          }
    
          Control control = new Control();
          Hasher controlSink = control.newHasher(1024);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     * this annotation specifies each of the different sizes for which a test suite should be built. (In
     * a typical case, the features should include {@link CollectionSize#ANY}.) These semantics are thus
     * a little different from those of other Collection-related features such as {@link
     * CollectionFeature} or {@link SetFeature}.
     *
     * <p>However, when {@link CollectionSize.Require} is used to annotate a test it behaves normally
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     * this annotation specifies each of the different sizes for which a test suite should be built. (In
     * a typical case, the features should include {@link CollectionSize#ANY}.) These semantics are thus
     * a little different from those of other Collection-related features such as {@link
     * CollectionFeature} or {@link SetFeature}.
     *
     * <p>However, when {@link CollectionSize.Require} is used to annotate a test it behaves normally
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

    /**
     * @author Jesse Wilson
     */
    final class Platform {
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
        // CharMatcher.precomputed() produces CharMatchers that are maybe a little
        // faster (and that's debatable), but definitely more memory-hungry. We're
        // choosing to turn .precomputed() into a no-op in GWT, because it doesn't
        // seem to be a worthwhile tradeoff in a browser.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 03 21:52:39 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Charsets.java

       */
      @Deprecated @J2ktIncompatible @GwtIncompatible // Charset not supported by GWT
      public static final Charset UTF_16BE = StandardCharsets.UTF_16BE;
    
      /**
       * UTF-16LE: sixteen-bit UCS Transformation Format, little-endian byte order.
       *
       * @deprecated Use {@link StandardCharsets#UTF_16LE} instead.
       */
      @Deprecated @J2ktIncompatible @GwtIncompatible // Charset not supported by GWT
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top