Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 319 for Little (0.04 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/src/com/google/common/hash/HashFunction.java

       * {@code int} value, interpreted in little-endian byte order. The implementation <i>might</i>
       * perform better than its longhand equivalent, but should not perform worse.
       *
       * @since 12.0
       */
      HashCode hashInt(int input);
    
      /**
       * Shortcut for {@code newHasher().putLong(input).hash()}; returns the hash code for the given
       * {@code long} value, interpreted in little-endian byte order. The implementation <i>might</i>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/hash/HashCode.java

       * {@code int} value in little-endian order.
       *
       * @throws IllegalStateException if {@code bits() < 32}
       */
      public abstract int asInt();
    
      /**
       * Returns the first eight bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to a
       * {@code long} value in little-endian order.
       *
       * @throws IllegalStateException if {@code bits() < 64}
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

      /**
       * Returns a hash function implementing the <a
       * href="https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp">32-bit murmur3
       * algorithm, x86 variant</a> (little-endian variant), using the given seed value, <b>with a known
       * bug</b> as described in the deprecation text.
       *
       * <p>The C++ equivalent is the MurmurHash3_x86_32 function (Murmur3A), which however does not
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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)
Back to Top