Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for Indiana (0.19 sec)

  1. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

      private 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');
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

        ByteBuffer littleEndian = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN);
        ByteBuffer bigEndian = ByteBuffer.wrap(bytes).order(ByteOrder.BIG_ENDIAN);
        assertEquals(hashFunction.hashBytes(littleEndian), hashFunction.hashBytes(bigEndian));
        assertEquals(ByteOrder.LITTLE_ENDIAN, littleEndian.order());
        assertEquals(ByteOrder.BIG_ENDIAN, bigEndian.order());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Charsets.java

       * java.nio.charset.StandardCharsets#UTF_8} instead.
       *
       */
      public static final Charset UTF_8 = Charset.forName("UTF-8");
    
      /**
       * UTF-16BE: sixteen-bit UCS Transformation Format, big-endian byte order.
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#UTF_16BE} instead.
       *
       */
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/SipHashFunction.java

        // The number of finalization rounds.
        private final int d;
    
        // Four 64-bit words of internal state.
        // The initial state corresponds to the ASCII string "somepseudorandomlygeneratedbytes",
        // big-endian encoded. There is nothing special about this value; the only requirement
        // was some asymmetry so that the initial v0 and v1 differ from v2 and v3.
        private long v0 = 0x736f6d6570736575L;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Shorts.java

        int pos = 0;
        for (short[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      /**
       * Returns a big-endian representation of {@code value} in a 2-element byte array; equivalent to
       * {@code ByteBuffer.allocate(2).putShort(value).array()}. For example, the input value {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Longs.java

        checkArgument(
            result == (int) result,
            "the total number of elements (%s) in the arrays must fit in an int",
            result);
        return (int) result;
      }
    
      /**
       * Returns a big-endian representation of {@code value} in an 8-element byte array; equivalent to
       * {@code ByteBuffer.allocate(8).putLong(value).array()}. For example, the input value {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          }
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Hasher putBytes(ByteBuffer buffer) {
          ByteOrder bo = buffer.order();
          buffer.order(ByteOrder.LITTLE_ENDIAN);
          while (buffer.remaining() >= 4) {
            putInt(buffer.getInt());
          }
          while (buffer.hasRemaining()) {
            putByte(buffer.get());
          }
          buffer.order(bo);
          return this;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
  8. 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
       * have the bug.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/PairedStatsTest.java

        byte[] buffer = MANY_VALUES_PAIRED_STATS.toByteArray();
        byte[] tooLongByteArray =
            ByteBuffer.allocate(buffer.length + 2)
                .order(ByteOrder.LITTLE_ENDIAN)
                .put(buffer)
                .putChar('.')
                .array();
        assertThrows(IllegalArgumentException.class, () -> PairedStats.fromByteArray(tooLongByteArray));
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

        byte[] buffer = MANY_VALUES_PAIRED_STATS.toByteArray();
        byte[] tooLongByteArray =
            ByteBuffer.allocate(buffer.length + 2)
                .order(ByteOrder.LITTLE_ENDIAN)
                .put(buffer)
                .putChar('.')
                .array();
        assertThrows(IllegalArgumentException.class, () -> PairedStats.fromByteArray(tooLongByteArray));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
Back to top