- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 286 for dstIndex (0.07 sec)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
void testWriteBytesWireFormat() { response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2); byte[] dst = new byte[1024]; int dstIndex = 0; int result = response.writeBytesWireFormat(dst, dstIndex); assertEquals(0, result); } @Test @DisplayName("Test readBytesWireFormat with valid structure size")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
@DisplayName("Should always return 0") void testWriteBytesWireFormat() { // Given byte[] dst = new byte[100]; int dstIndex = 0; // When int result = response.writeBytesWireFormat(dst, dstIndex); // Then assertEquals(0, result); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 99 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
/** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @throws SMBProtocolDecodingException if there is an error decoding the response *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
} @Override public int getContextType() { return contextType; } @Override public int encode(byte[] dst, int dstIndex) { return 0; } @Override public int size() { return 0; } } @Nested @DisplayName("Interface Tests") class InterfaceTests {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
// Simple implementation for testing return 0; } @Override protected int writeBytesWireFormat(byte[] dst, int dstIndex) { // Simple implementation for testing return 0; } } @BeforeEach void setUp() { MockitoAnnotations.openMocks(this);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
/** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override public String toString() { return ("Smb2NegotiateResponse[" + super.toString() + ",dialectRevision=" + this.dialectRevision + ",securityMode=0x"
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} public TestServerMessageBlock2(Configuration config, int command) { super(config, command); } @Override protected int writeBytesWireFormat(byte[] dst, int dstIndex) { return bytesWritten; } @Override protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { if (throwOnRead) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
guava/src/com/google/common/escape/CharEscaper.java
dest = growBuffer(dest, destIndex, sizeNeeded); } s.getChars(lastEscape, slen, dest, destIndex); destIndex = sizeNeeded; } return new String(dest, 0, destIndex); } /** * Helper method to grow the character buffer as needed, this only happens once in a while so it's * ok if it's in a method call. If the index passed in is 0 then no copying will be done. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 6.7K bytes - Viewed (0)