- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for B1 (0.15 sec)
-
src/bytes/compare_test.go
b.StopTimer() pattern := []byte("Hello Gophers!") b1 := make([]byte, 0, 1<<20+len(pattern)) for len(b1) < 1<<20 { b1 = append(b1, pattern...) } b2 := make([]byte, len(b1)) copy(b2, b1) b.StartTimer() for j := 0; j < b.N; j++ { if Compare(b1[offset:], b2[offset:]) != 0 { b.Fatal("b1 != b2") } } b.SetBytes(int64(len(b1[offset:]))) }
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Thu Jul 13 23:11:42 GMT 2023 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
return (int) in.skip(n); } @CanIgnoreReturnValue // to skip a byte @Override public int readUnsignedByte() throws IOException { int b1 = in.read(); if (0 > b1) { throw new EOFException(); } return b1; } /** * Reads an unsigned {@code short} as specified by {@link DataInputStream#readUnsignedShort()}, * except using little-endian byte order. *
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 7.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
val rangesIndex = findRangesOffset(codePoint, rangesPosition, rangesLimit) when (val b1 = ranges[rangesIndex + 1].code) { in 0..63 -> { // Length of the UTF-16 sequence that this range maps to. The offset is b2b3. val beginIndex = ranges.read14BitInt(rangesIndex + 2) sink.writeUtf8(mappings, beginIndex, beginIndex + b1) } in 64..79 -> { // Mapped inline as codePoint delta to subtract
Plain Text - Registered: Fri Mar 22 11:42:09 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.9K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt
Plain Text - Registered: Fri Mar 22 11:42:09 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
sinkBuffer.writeByte(b0) var b1 = 0 if (isClient) { b1 = b1 or B1_FLAG_MASK } when { dataSize <= PAYLOAD_BYTE_MAX -> { b1 = b1 or dataSize.toInt() sinkBuffer.writeByte(b1) } dataSize <= PAYLOAD_SHORT_MAX -> { b1 = b1 or PAYLOAD_SHORT sinkBuffer.writeByte(b1) sinkBuffer.writeShort(dataSize.toInt()) }
Plain Text - Registered: Fri Mar 22 11:42:09 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt
val reservedFlag3 = b0 and B0_FLAG_RSV3 != 0 if (reservedFlag3) throw ProtocolException("Unexpected rsv3 flag") val b1 = source.readByte() and 0xff val isMasked = b1 and B1_FLAG_MASK != 0 if (isMasked == isClient) { // Masked payloads must be read on the server. Unmasked payloads must be read on the client. throw ProtocolException(
Plain Text - Registered: Fri Mar 22 11:42:09 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/legacy/WagonB.java
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
final byte b0 = DECODE_TABLE[inData.charAt(inIndex)]; final byte b1 = DECODE_TABLE[inData.charAt(inIndex + 1)]; final byte b2 = DECODE_TABLE[inData.charAt(inIndex + 2)]; final byte b3 = DECODE_TABLE[inData.charAt(inIndex + 3)]; outData[outIndex] = (byte) (b0 << 2 & 0xfc | b1 >> 4 & 0x3); outData[outIndex + 1] = (byte) (b1 << 4 & 0xf0 | b2 >> 2 & 0xf);
Java - Registered: Fri Mar 22 20:58:10 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
ByteSource b1 = ByteSource.wrap(new byte[] {0, 1, 2, 3}); 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());
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java
List<SynonymItem> itemList = new ArrayList<>(); itemList.add(new SynonymItem(1, new String[] { "a1" }, new String[] { "A1" })); itemList.add(new SynonymItem(2, new String[] { "b1", "b2" }, new String[] { "B1" })); itemList.add(new SynonymItem(3, new String[] { "c1" }, new String[] { "C1", "C2" })); itemList.add(new SynonymItem(4, new String[] { "x1", "X1" }, new String[] { "x1", "X1" }));
Java - Registered: Mon Mar 25 08:04:08 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9K bytes - Viewed (0)