- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 89 for 4097 (0.01 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
String str = standardInfo.toString(); assertNotNull(str); assertTrue(str.contains("SmbQueryInfoStandard")); assertTrue(str.contains("allocationSize=4096")); assertTrue(str.contains("endOfFile=2048")); } } @Nested @DisplayName("Data Reading Tests") class DataReadingTests { @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferral.java
path = filename; command = SMB_COM_TRANSACTION2; subCommand = TRANS2_GET_DFS_REFERRAL; totalDataCount = 0; maxParameterCount = 0; maxDataCount = 4096; maxSetupCount = (byte) 0x00; } @Override int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
// Test basic buffer allocation RdmaMemoryRegion sendRegion = bufferManager.getSendRegion(4096); assertNotNull(sendRegion, "Send region should not be null"); assertTrue(sendRegion.getSize() >= 4096, "Send region should be at least 4KB"); assertNotNull(sendRegion.getBuffer(), "Send region buffer should not be null");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
buffer.putInt(16); buffer.putInt(4096); // When fileFsSizeInfo.decode(buffer.array(), 0, 24); String result = fileFsSizeInfo.toString(); // Then String expected = "SmbInfoAllocation[alloc=123456,free=78910,sectPerAlloc=16,bytesPerSect=4096]"; assertEquals(expected, result); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
@Test public void testReturnFromReadParameterWordsWireFormatIs8() { // ensure the method returns 8 as claimed byte[] buf = new byte[12]; buf[0] = 0x00; buf[1] = 0x10; // count = 4096 in little-endian (0x1000) int returned = resp.readParameterWordsWireFormat(buf, 0); assertEquals(8, returned, "Method should return 8 bytes processed"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
import okio.Buffer /** * Tests Hpack implementation using https://github.com/http2jp/hpack-test-case/ */ open class HpackDecodeTestBase { private val bytesIn = Buffer() private val hpackReader = Hpack.Reader(bytesIn, 4096) protected fun testDecoder(story: Story) { for (testCase in story.cases) { val encoded = testCase.wire ?: continue bytesIn.write(encoded) hpackReader.readHeaders() assertSetEquals(Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
assumeTrue(provider.isAvailable()); ByteBuffer buffer = ByteBuffer.allocateDirect(4096); RdmaMemoryRegion region = provider.registerMemory(buffer, EnumSet.of(RdmaAccess.LOCAL_READ, RdmaAccess.REMOTE_READ)); assertNotNull(region); assertEquals(4096, region.getSize()); assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ)); region.close(); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt
* return response.request().newBuilder() * .header("Authorization", credential) * .build(); * ``` * * When reactive authentication is requested by a proxy server, the response code is 407 and the * implementation should respond with a new request that sets the "Proxy-Authorization" header. * * ```java * if (response.request().header("Proxy-Authorization") != null) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt
responses += response routes += route if (!schemeMatches(response) || credential == null) return null val header = when (response.code) { 407 -> "Proxy-Authorization" else -> "Authorization" } return response.request .newBuilder() .addHeader(header, credential) .build() }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java
this.maxReferralLevel = maxReferralLevel; this.request = new DfsReferralRequestBuffer(filename, maxReferralLevel); this.totalDataCount = 0; this.maxParameterCount = 0; this.maxDataCount = 4096; this.maxSetupCount = (byte) 0x00; } /** * {@inheritDoc} * * @see jcifs.internal.smb1.ServerMessageBlock#isForceUnicode() */ @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0)