- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for b3 (0.18 sec)
-
guava-tests/test/com/google/common/base/CharsetsTest.java
byte[] b2 = "聞朝日新".getBytes(Charsets.US_ASCII); byte[] b3 = "????".getBytes(Charsets.US_ASCII); byte[] b4 = "ニュース".getBytes(Charsets.US_ASCII); byte[] b5 = "スューー".getBytes(Charsets.US_ASCII); // Assert they are all equal (using the transitive property) assertTrue(Arrays.equals(b1, b2)); assertTrue(Arrays.equals(b2, b3)); assertTrue(Arrays.equals(b3, b4)); assertTrue(Arrays.equals(b4, b5)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
ByteSource b2 = ByteSource.wrap(new byte[0]); ByteSource b3 = ByteSource.wrap(new byte[] {4, 5}); byte[] expected = {0, 1, 2, 3, 4, 5}; assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3)).read()); assertArrayEquals(expected, ByteSource.concat(b1, b2, b3).read()); assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3).iterator()).read());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CharsetsTest.java
byte[] b2 = "聞朝日新".getBytes(Charsets.US_ASCII); byte[] b3 = "????".getBytes(Charsets.US_ASCII); byte[] b4 = "ニュース".getBytes(Charsets.US_ASCII); byte[] b5 = "スューー".getBytes(Charsets.US_ASCII); // Assert they are all equal (using the transitive property) assertTrue(Arrays.equals(b1, b2)); assertTrue(Arrays.equals(b2, b3)); assertTrue(Arrays.equals(b3, b4)); assertTrue(Arrays.equals(b4, b5)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 2.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* prefix. Entries are sorted by their complete code points. * * The 4 bytes are named b0, b1, b2 and b3. We also define these supplemental values: * * * **b2a**: b2 + 0x80 * * **b3a**: b3 + 0x80 * * **b2b3**: (b2 << 7) + b3 * * b0 * -- * * The inclusive start of the range. We get the first 14 bits of this code point from the section
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Apr 02 11:39:58 GMT 2024 - 9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
ByteSource b2 = ByteSource.wrap(new byte[0]); ByteSource b3 = ByteSource.wrap(new byte[] {4, 5}); byte[] expected = {0, 1, 2, 3, 4, 5}; assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3)).read()); assertArrayEquals(expected, ByteSource.concat(b1, b2, b3).read()); assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3).iterator()).read());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.9K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt
return when { b2bit8 && b3bit8 -> 127 b3bit8 -> 126 b2bit8 -> 125 else -> 124 } } val b2: Int get() = mappedTo[0] and 0x7f val b3: Int get() = mappedTo[1] and 0x7f } data class InlineDelta( override val rangeStart: Int, val codepointDelta: Int, ) : MappedRange { private val absoluteDelta = abs(codepointDelta)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.5K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
rangesBuffer.writeByte(range.b1) rangesBuffer.writeByte(range.b2) rangesBuffer.writeByte(range.b3) } is MappedRange.InlineDelta -> { rangesBuffer.writeByte(range.b1) rangesBuffer.writeByte(range.b2) rangesBuffer.writeByte(range.b3) } is MappedRange.External -> { // Write the mapping. val mappingOffset: Int
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
} public void test_toLineString() { assertEquals("a1,a2,a3=>b1,b2,b3", new SynonymItem(1, new String[] { "a1", "a2", "a3" }, new String[] { "b1", "b2", "b3" }).toLineString()); assertEquals("a=>b", new SynonymItem(1, new String[] { "a" }, new String[] { "b" }).toLineString());
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
@Override public int readInt() throws IOException { byte b1 = readAndCheckByte(); byte b2 = readAndCheckByte(); byte b3 = readAndCheckByte(); byte b4 = readAndCheckByte(); return Ints.fromBytes(b4, b3, b2, b1); } /** * Reads a {@code long} as specified by {@link DataInputStream#readLong()}, except using * little-endian byte order. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hasher.java
* following three expressions all generate colliding hash codes: * * <pre>{@code * newHasher().putByte(b1).putByte(b2).putByte(b3).hash() * newHasher().putByte(b1).putBytes(new byte[] { b2, b3 }).hash() * newHasher().putBytes(new byte[] { b1, b2, b3 }).hash() * }</pre> * * <p>If you wish to avoid this, you should either prepend or append the size of each chunk. Keep in
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 5.5K bytes - Viewed (0)