Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for Indiana (0.28 sec)

  1. android/guava/src/com/google/common/math/Stats.java

       * <p><b>Note:</b> No guarantees are made regarding stability of the representation between
       * versions.
       */
      public byte[] toByteArray() {
        ByteBuffer buff = ByteBuffer.allocate(BYTES).order(ByteOrder.LITTLE_ENDIAN);
        writeTo(buff);
        return buff.array();
      }
    
      /**
       * Writes to the given {@link ByteBuffer} a byte representation of this instance.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 22K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
          assertTrue(bb.remaining() >= chunkSize);
          for (int i = 0; i < chunkSize; i++) {
            out.write(bb.get());
          }
        }
    
        @Override
        protected void processRemaining(ByteBuffer bb) {
          assertFalse(remainingCalled);
          remainingCalled = true;
          assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
          assertTrue(bb.remaining() >= chunkSize);
          for (int i = 0; i < chunkSize; i++) {
            out.write(bb.get());
          }
        }
    
        @Override
        protected void processRemaining(ByteBuffer bb) {
          assertFalse(remainingCalled);
          remainingCalled = true;
          assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. android/guava-tests/test/com/google/common/base/Utf8Test.java

       * @param expectedCount the expected number of roundtrippable permutations
       * @param start the starting bytes encoded as a long as big-endian
       * @param lim the limit of bytes to process encoded as a long as big-endian, or -1 to mean the max
       *     limit for numBytes
       */
      @GwtIncompatible // java.nio.charset.Charset
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. 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)
  8. guava-tests/test/com/google/common/base/Utf8Test.java

       * @param expectedCount the expected number of roundtrippable permutations
       * @param start the starting bytes encoded as a long as big-endian
       * @param lim the limit of bytes to process encoded as a long as big-endian, or -1 to mean the max
       *     limit for numBytes
       */
      @GwtIncompatible // java.nio.charset.Charset
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/primitives/Chars.java

        int pos = 0;
        for (char[] 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).putChar(value).array()}. For example, the input value {@code
       * '\\u5432'} would yield the byte array {@code {0x54, 0x32}}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
Back to top