- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 954 for bufLen (0.12 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
void testReadSetupWireFormat() { // Arrange transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName); byte[] buffer = new byte[10]; // Act int result = transWaitNamedPipe.readSetupWireFormat(buffer, 0, 10); // Assert assertEquals(0, result); } @Test @DisplayName("writeParametersWireFormat should return 0")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
} // Test append returns the same buffer instance public void test_append_returnsSameBuffer() { StringBuilder buf = new StringBuilder(); Supplier<Object> supplier = () -> "test"; StringBuilder result = monitorTarget.append(buf, "key", supplier); assertSame(buf, result); } // Test appendTimestamp returns the same buffer instanceRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
// Test the readSetupWireFormat method TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe"); byte[] buffer = new byte[10]; // The implementation always returns 0 int consumed = pipe.readSetupWireFormat(buffer, 0, 4); assertEquals(0, consumed, "readSetupWireFormat should always return 0"); } @Test public void testWriteParametersWireFormat() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
throw new IllegalArgumentException("Data buffer cannot be null"); } if (offset < 0 || length < 0) { throw new IllegalArgumentException("Offset and length must be non-negative"); } if (offset + length > data.length) { throw new IllegalArgumentException("Offset + length exceeds data buffer size"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
assertThat(stream.readBytes.total).isEqualTo(0L) assertThat(stream.takeHeaders()).isEqualTo(headersOf("a", "android")) val source = stream.source val buffer = Buffer() buffer.writeAll(source) assertThat(source.read(buffer, 1)).isEqualTo(-1) assertThat(buffer.size).isEqualTo(150) val synStream = peer.takeFrame() assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS) for (i in 0..2) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import java.net.InetAddress import java.net.UnknownHostException import okio.Buffer class FakeDns : Dns { private val hostAddresses: MutableMap<String, List<InetAddress>> = mutableMapOf() private val requestedHosts: MutableList<String> = mutableListOf()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDesc.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 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndXResponse.java
return 0; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { this.count = SMBUtil.readInt2(buffer, bufferIndex) & 0xFFFFL; return 8; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComDeleteDirectory.java
return dstIndex - start; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/BufferCache.java
*/ public interface BufferCache { /** * Gets a buffer from the cache or creates a new one if the cache is empty. * * @return a buffer from the cache, or a new one */ byte[] getBuffer(); /** * Return a buffer to the cache * * @param buf the buffer to return to the cache for reuse */ void releaseBuffer(byte[] buf);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0)