- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 1,216 for butter (0.04 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
// Arrange byte[] buffer = new byte[100]; SMBUtil.writeInt2(0, buffer, 0); SMBUtil.writeInt2(0, buffer, 2); SMBUtil.writeInt2(0, buffer, 4); // Act & Assert assertEquals(0, response.readSetupWireFormat(buffer, 0, 100)); assertEquals(6, response.readParametersWireFormat(buffer, 0, 100));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt
package okhttp3.logging.internal import java.io.EOFException import okio.Buffer /** * Returns true if the body in question probably contains human readable text. Uses a small * sample of code points to detect unicode control characters commonly used in binary file * signatures. */ fun Buffer.isProbablyUtf8(): Boolean { try { val prefix = Buffer() val byteCount = size.coerceAtMost(64) copyTo(prefix, 0, byteCount)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/Decodable.java
/** * Interface for objects that can be decoded from a byte buffer. * This interface provides methods for deserializing data from SMB protocol messages. * * @author mbechler */ public interface Decodable { /** * Decode data from a byte buffer * * @param buffer the byte buffer containing the data to decode * @param bufferIndex the starting index in the buffer * @param len the maximum length of data to decodeRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
byte[] buffer = { 0x00, 0x00, // status = 0 (Success) 0x12, 0x34, // converter = 0x3412 0x02, 0x00, // numEntries = 2 0x05, 0x00 // totalAvailableEntries = 5 }; int bytesRead = response.readParametersWireFormat(buffer, 0, buffer.length); assertEquals(8, bytesRead, "Should read 8 bytes for parameters.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt
random.nextBytes(buf) assertRoundTrip(buf.toByteString()) } private fun assertRoundTrip(data: ByteString) { val encodeBuffer = Buffer() encode(data, encodeBuffer) assertThat(encodedLength(data).toLong()).isEqualTo(encodeBuffer.size) val decodeBuffer = Buffer() decode(encodeBuffer, encodeBuffer.size, decodeBuffer) assertEquals(data, decodeBuffer.readByteString()) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2SetFileInformationResponse.java
return 0; } @Override int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MD4.java
buffer[i] = b; if (i == BLOCK_LENGTH - 1) { transform(buffer, 0); } } /** * MD4 block update operation. * <p> * Continues an MD4 message digest operation, by filling the buffer, * transform(ing) data in 512-bit message block(s), updating the variables * context and count, and leaving (buffering) the remaining bytes in buffer * for the next update or finish.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.6K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
// Verify by writing to buffer and checking the fileIndex position byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, Smb2Constants.SMB2_HEADER_LENGTH); // FileIndex is at offset 4 in the request structure int readIndex = (buffer[Smb2Constants.SMB2_HEADER_LENGTH + 4] & 0xFF) | ((buffer[Smb2Constants.SMB2_HEADER_LENGTH + 5] & 0xFF) << 8)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0)