- Sort Score
- Num 10 results
- Language All
Results 671 - 680 of 960 for Buffers (0.17 seconds)
-
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
import jcifs.smb1.Config; /** * Tests for {@link NtlmMessage}. Since {@code NtlmMessage} is abstract we * create a lightweight concrete subclass only to exercise the inherited * behaviour. The tests cover flag manipulation, byte‑buffer operations and * static helpers. Edge cases such as null or short arrays and negative * values are verified to ensure proper exception handling and byte * conversion. */ @ExtendWith(MockitoExtension.class)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
okhttp-testing-support/README.md
OkHttp Testing Support ====================== This module offers utilities and support for testing OkHttp itself. It's not intended for use by
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jun 16 02:08:18 GMT 2019 - 195 bytes - Click Count (0) -
src/test/java/jcifs/context/BaseContextTest.java
} @Test @DisplayName("getBufferCache should return initialized buffer cache") void testGetBufferCache() { // When BufferCache bufferCache = context.getBufferCache(); // Then assertNotNull(bufferCache, "Buffer cache should not be null"); assertSame(bufferCache, context.getBufferCache(), "Should return same instance on multiple calls");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.io import java.io.IOException import okio.Buffer import okio.FileSystem import okio.ForwardingFileSystem import okio.ForwardingSink import okio.Path import okio.Sink class FaultyFileSystem constructor( delegate: FileSystem?,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/ServerData.java
* Server flags2 field from the SMB header. */ public int sflags2; /** * Maximum number of outstanding multiplex requests. */ public int smaxMpxCount; /** * Maximum buffer size the server can handle. */ public int maxBufferSize; /** * Session key for this connection. */ public int sessKey; /** * Server capabilities bitmap. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
assertEquals((byte) ((TEST_SID >> 8) & 0xFF), dst[4]); } @Test void testReadParameterWordsReturnsZero() { byte[] buffer = new byte[2]; int rc = instance.readParameterWordsWireFormat(buffer, 0); assertEquals(0, rc, "readParameterWordsWireFormat should return 0 for this SMB"); } @Test void testWriteBytesReturnsZero() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestTest.java
@Override public Integer getOverrideTimeout() { return null; } // Methods from CommonServerMessageBlock interface @Override public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { return 0; } @Override public int encode(byte[] dst, int dstIndex) { return 0; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
} /** * Appends a filter path pattern to a string buffer with appropriate wildcards. * Handles various pattern formats including anchored patterns and quoted patterns. * * @param buf the string buffer to append to * @param v the pattern value to append * @return the complete pattern string from the buffer */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/StatsTest.java
} public void testFromByteArray_withTooLongArrayInputThrowsIllegalArgumentException() { byte[] buffer = MANY_VALUES_STATS_VARARGS.toByteArray(); byte[] tooLongByteArray = ByteBuffer.allocate(buffer.length + 2) .order(ByteOrder.LITTLE_ENDIAN) .put(buffer) .putChar('.') .array();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 33.4K bytes - Click Count (0) -
internal/s3select/select.go
) var parquetSupport bool func init() { parquetSupport = env.Get("MINIO_API_SELECT_PARQUET", config.EnableOff) == config.EnableOn } var bufPool = bpool.Pool[*bytes.Buffer]{ New: func() *bytes.Buffer { // make a buffer with a reasonable capacity. return bytes.NewBuffer(make([]byte, 0, maxRecordSize)) }, } var bufioWriterPool = bpool.Pool[*bufio.Writer]{ New: func() *bufio.Writer {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 21.2K bytes - Click Count (0)