- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 69 for 36 (0.1 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/FileOperatorTest.kt
) write("woman god creates dinosaurs destroys. ".encodeUtf8()) val buffer = Buffer() operator.read(6, buffer, 21) operator.read(36, buffer, 1) operator.read(5, buffer, 5) operator.read(28, buffer, 8) operator.read(17, buffer, 10) operator.read(36, buffer, 2) operator.read(2, buffer, 4) operator.write(0, buffer, buffer.size) operator.read(0, buffer, 12) operator.read(47, buffer, 3)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Decode to new instance (decode reads 36 bytes, encode writes 40) FileBasicInfo decoded = new FileBasicInfo(); int decodedBytes = decoded.decode(buffer, 0, 36); // Verify encoding/decoding assertEquals(40, encodedBytes); // encode writes 40 bytes (includes padding) assertEquals(36, decodedBytes); // decode reads 36 bytes (no padding)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
android-test-app/build.gradle.kts
@file:Suppress("UnstableApiUsage") plugins { id("com.android.application") id("kotlin-android") } android { compileSdk = 36 namespace = "okhttp.android.testapp" testBuildType = "release" defaultConfig { minSdk = 21 targetSdk = 36 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } compileOptions { targetCompatibility(JavaVersion.VERSION_11)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 12:35:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java
/** * SMB2 Lease Break Acknowledgment * * MS-SMB2 2.2.24 */ public class Smb2LeaseBreakAcknowledgment extends ServerMessageBlock2Request<Smb2LeaseBreakResponse> { private static final int STRUCTURE_SIZE = 36; private int flags; private Smb2LeaseKey leaseKey; private int leaseState; /** * Create a lease break acknowledgment * * @param config configuration
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
SMBUtil.writeInt4(0, buffer, bufferIndex + 31); // setupCount (1 byte) + 1 reserved byte buffer[bufferIndex + 35] = 0x00; // setupCount = 0 buffer[bufferIndex + 36] = 0x00; // reserved int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex); // Verify the correct number of bytes were read (37 bytes total) assertEquals(37, bytesRead);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
request = new Smb2NegotiateRequest(mockConfig, 0); // When int size = request.size(); // Then - Header (64) + Structure (36) + Dialects (4 * 2) = 108, padded to 8-byte boundary = 112 assertEquals(112, size); } @Test @DisplayName("Should calculate size correctly with contexts")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
SMBUtil.writeInt4(TEST_ATTRIBUTES, buffer, bufferIndex + 32); // When int bytesDecoded = fileBasicInfo.decode(buffer, bufferIndex, 40); // Then assertEquals(36, bytesDecoded); // Should decode 36 bytes assertEquals(TEST_CREATE_TIME, fileBasicInfo.getCreateTime()); assertEquals(TEST_LAST_ACCESS_TIME, fileBasicInfo.getLastAccessTime());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
// 4 (parameterCount) + 4 (parameterOffset) + 4 (parameterDisplacement) + // 4 (dataCount) + 4 (dataOffset) + 4 (dataDisplacement) + 1 (reserved) assertEquals(36, bytesWritten, "Number of bytes written should be 36 for secondary transaction"); // Verify some key values assertEquals(0, dst[0], "First byte should be 0 for secondary transaction");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java
int start = bufferIndex; // StructureSize (2 bytes) - must be 36 this.structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (this.structureSize != 36) { throw new SMBProtocolDecodingException("Invalid lease break response structure size: " + this.structureSize); } bufferIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
assertEquals(130, SMBUtil.readInt4(dst, 31)); // Verify setup count assertEquals(1, dst[35]); // Verify function (2 bytes at position 36) assertEquals(SmbComNtTransaction.NT_TRANSACT_QUERY_SECURITY_DESC, SMBUtil.readInt2(dst, 36)); } @Test @DisplayName("Test writeParameterWordsWireFormat for secondary NT transaction") void testWriteParameterWordsWireFormatSecondary() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)