Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for foobytes (0.13 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            try (final BufferedInputStream bis = new BufferedInputStream(responseData.getResponseBody())) {
                final byte[] bomBytes = new byte[UTF8_BOM_SIZE];
                bis.mark(UTF8_BOM_SIZE);
                final int size = bis.read(bomBytes);
                if (size < 3 || !isUtf8BomBytes(bomBytes)) {
                    bis.reset();
                }
                final InputSource is = new InputSource(bis);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Chars.java

        return fromBytes(bytes[0], bytes[1]);
      }
    
      /**
       * Returns the {@code char} value whose byte representation is the given 2 bytes, in big-endian
       * order; equivalent to {@code Chars.fromByteArray(new byte[] {b1, b2})}.
       *
       * @since 7.0
       */
      @GwtIncompatible // doesn't work
      public static char fromBytes(byte b1, byte b2) {
        return (char) ((b1 << 8) | (b2 & 0xFF));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Shorts.java

        return fromBytes(bytes[0], bytes[1]);
      }
    
      /**
       * Returns the {@code short} value whose byte representation is the given 2 bytes, in big-endian
       * order; equivalent to {@code Shorts.fromByteArray(new byte[] {b1, b2})}.
       *
       * @since 7.0
       */
      @GwtIncompatible // doesn't work
      public static short fromBytes(byte b1, byte b2) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Shorts.java

        return fromBytes(bytes[0], bytes[1]);
      }
    
      /**
       * Returns the {@code short} value whose byte representation is the given 2 bytes, in big-endian
       * order; equivalent to {@code Shorts.fromByteArray(new byte[] {b1, b2})}.
       *
       * @since 7.0
       */
      @GwtIncompatible // doesn't work
      public static short fromBytes(byte b1, byte b2) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          k1 ^= toInt(input[off + i]) << shift;
        }
        h1 ^= mixK1(k1);
        return fmix(h1, len);
      }
    
      private static int getIntLittleEndian(byte[] input, int offset) {
        return Ints.fromBytes(input[offset + 3], input[offset + 2], input[offset + 1], input[offset]);
      }
    
      private static int mixK1(int k1) {
        k1 *= C1;
        k1 = Integer.rotateLeft(k1, 15);
        k1 *= C2;
        return k1;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Ints.java

        return fromBytes(bytes[0], bytes[1], bytes[2], bytes[3]);
      }
    
      /**
       * Returns the {@code int} value whose byte representation is the given 4 bytes, in big-endian
       * order; equivalent to {@code Ints.fromByteArray(new byte[] {b1, b2, b3, b4})}.
       *
       * @since 7.0
       */
      public static int fromBytes(byte b1, byte b2, byte b3, byte b4) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/IntsTest.java

            IllegalArgumentException.class, () -> Ints.fromByteArray(new byte[Ints.BYTES - 1]));
      }
    
      public void testFromBytes() {
        assertThat(Ints.fromBytes((byte) 0x12, (byte) 0x13, (byte) 0x14, (byte) 0x15))
            .isEqualTo(0x12131415);
        assertThat(Ints.fromBytes((byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC))
            .isEqualTo(0xFFEEDDCC);
      }
    
      public void testByteArrayRoundTrips() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(
                Longs.fromBytes(
                    (byte) 0x12,
                    (byte) 0x13,
                    (byte) 0x14,
                    (byte) 0x15,
                    (byte) 0x16,
                    (byte) 0x17,
                    (byte) 0x18,
                    (byte) 0x19))
            .isEqualTo(0x1213141516171819L);
        assertThat(
                Longs.fromBytes(
                    (byte) 0xFF,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Chars.java

        return fromBytes(bytes[0], bytes[1]);
      }
    
      /**
       * Returns the {@code char} value whose byte representation is the given 2 bytes, in big-endian
       * order; equivalent to {@code Chars.fromByteArray(new byte[] {b1, b2})}.
       *
       * @since 7.0
       */
      @GwtIncompatible // doesn't work
      public static char fromBytes(byte b1, byte b2) {
        return (char) ((b1 << 8) | (b2 & 0xFF));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

       */
      public static long fromByteArray(byte[] bytes) {
        checkArgument(bytes.length >= BYTES, "array too small: %s < %s", bytes.length, BYTES);
        return fromBytes(
            bytes[0], bytes[1], bytes[2], bytes[3], bytes[4], bytes[5], bytes[6], bytes[7]);
      }
    
      /**
       * Returns the {@code long} value whose byte representation is the given 8 bytes, in big-endian
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top