- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,064 for buffer (0.43 sec)
-
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
int desiredAccess = (buffer[24] & 0xFF) | ((buffer[25] & 0xFF) << 8) | ((buffer[26] & 0xFF) << 16) | ((buffer[27] & 0xFF) << 24); assertEquals(0x00120089, desiredAccess); // Check default share access (READ | WRITE) at offset 32 int shareAccess = (buffer[32] & 0xFF) | ((buffer[33] & 0xFF) << 8) | ((buffer[34] & 0xFF) << 16) | ((buffer[35] & 0xFF) << 24);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Java8Compatibility.java
import com.google.common.annotations.J2ktIncompatible; import java.nio.Buffer; /** * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See * https://github.com/google/guava/issues/3990 */ @J2ktIncompatible @GwtIncompatible final class Java8Compatibility { static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 16) { throw new SMBProtocolDecodingException("Structure size is not 16"); } this.shareType = buffer[bufferIndex + 2]; bufferIndex += 4;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt
assertThat(Buffer().writeUtf8("Слава Україні!").isProbablyUtf8(16L)).isTrue() assertThat(Buffer().writeByte(0x80).isProbablyUtf8(16L)).isTrue() assertThat(Buffer().writeByte(0x00).isProbablyUtf8(16L)).isFalse() assertThat(Buffer().writeByte(0xc0).isProbablyUtf8(16L)).isFalse() } @Test fun doesNotConsumeBuffer() { val buffer = Buffer()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Oct 06 22:47:06 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/security/MessageDigestUtil.java
final StringBuilder buffer = new StringBuilder(200); for (final byte element : digest) { final String tmp = Integer.toHexString(element & 0xff); if (tmp.length() == 1) { buffer.append('0').append(tmp); } else { buffer.append(tmp); } } return buffer.toString(); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
byte[] buffer = new byte[10]; // Act int bytesWritten = transPeekNamedPipe.writeSetupWireFormat(buffer, 0); // Assert assertEquals(4, bytesWritten); assertEquals(SmbComTransaction.TRANS_PEEK_NAMED_PIPE, buffer[0]); assertEquals((byte) 0x00, buffer[1]); assertEquals((byte) 0x00, buffer[2]); assertEquals((byte) 0x00, buffer[3]);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
if (readBuffer.remaining() <= buffer.remaining()) { buffer.put(readBuffer); munchIfFull(); return this; } // First add just enough to fill buffer size, and munch that int bytesToCopy = bufferSize - buffer.position(); for (int i = 0; i < bytesToCopy; i++) { buffer.put(readBuffer.get()); } munch(); // buffer becomes empty here, since chunkSize divides bufferSize
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
buffer[errorStart + 2] = 1; // error context count SMBUtil.writeInt4(5, buffer, errorStart + 4); // byte count // Error data buffer[errorStart + 8] = 1; buffer[errorStart + 9] = 2; buffer[errorStart + 10] = 3; buffer[errorStart + 11] = 4; buffer[errorStart + 12] = 5; return buffer; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
) private fun execute( engine: HttpEngine, executor: ExecutorService, url: String, ): CompletableFuture<Response> { val completableFuture = CompletableFuture<Response>() val buffer = Buffer() val req = engine .newUrlRequestBuilder( url, executor, object : Callback { override fun onRedirectReceived(
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
assertEquals(5120L, SMBUtil.readInt8(buffer, offset + 8)); assertEquals(8192, SMBUtil.readInt4(buffer, offset + 16)); offset += CHUNK_SIZE; assertEquals(12288L, SMBUtil.readInt8(buffer, offset)); assertEquals(13312L, SMBUtil.readInt8(buffer, offset + 8)); assertEquals(16384, SMBUtil.readInt4(buffer, offset + 16)); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0)