- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 220 for 1014 (0.11 sec)
-
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/BufferCacheTest.java
cache.getBuffer(); cache.releaseBuffer(new byte[1024]); }, "All BufferCache interface methods should be callable"); } @Test @DisplayName("getBuffer should return non-null byte array") void testGetBufferContract() { // Given byte[] expectedBuffer = new byte[1024]; when(mockBufferCache.getBuffer()).thenReturn(expectedBuffer); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
request = new Smb2CreateRequest(mockConfig, "test.txt"); request.setSecurityFlags((byte) 0x01); // Verify through writeBytesWireFormat byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, 0); assertEquals((byte) 0x01, buffer[2]); } @Test @DisplayName("Test oplock level setter") void testSetRequestedOplockLevel() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt
} @Test fun doesNotConsumeBuffer() { val buffer = Buffer() buffer.writeUtf8("hello ".repeat(1024)) assertThat(buffer.isProbablyUtf8(100L)).isTrue() assertThat(buffer.readUtf8()).isEqualTo("hello ".repeat(1024)) } /** Confirm [isProbablyUtf8] doesn't attempt to read the entire stream. */ @Test fun doesNotReadEntireSource() { val unlimitedSource =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Oct 06 22:47:06 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
byte[] dst = new byte[1024]; int result = setupAndX.writeParameterWordsWireFormat(dst, 0); // Verify that data was written (should write 22 bytes based on implementation) assertEquals(22, result, "writeParameterWordsWireFormat should write 22 bytes"); } @Test void testWriteBytesWireFormat() { byte[] dst = new byte[1024];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
byte[] buffer1 = new byte[1024]; int bytesRead1 = stream1.read(buffer1); assertEquals(testContent, new String(buffer1, 0, bytesRead1, "UTF-8")); } // Second read - should work independently try (InputStream stream2 = cache.getInputStream()) { byte[] buffer2 = new byte[1024]; int bytesRead2 = stream2.read(buffer2);
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 11.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java
* limitations under the License. */ package com.google.common.escape; /** * @author Jesse Wilson */ final class Platform { private static final char[] CHAR_BUFFER = new char[1024]; static char[] charBufferFromThreadLocal() { // ThreadLocal is not available to GWT, so we always reuse the same // instance. It is always safe to return the same instance becauseRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
private TransCallNamedPipeResponse response; private byte[] outputBuffer; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); outputBuffer = new byte[1024]; response = new TransCallNamedPipeResponse(mockConfig, outputBuffer); } @Test void testConstructor() { assertNotNull(response); // Verify that the outputBuffer is stored properlyRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
*/ @ExtendWith(MockitoExtension.class) class NegotiateContextRequestTest { @Mock private Configuration mockConfig; private static final int BUFFER_SIZE = 1024; /** * Test custom implementation of NegotiateContextRequest for interface testing */ static class TestNegotiateContextRequest implements NegotiateContextRequest { private final int contextType;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
multimap.putAll("bar", asList(4, 5)); multimap.putAll("foo", asList(6)); multimap.putAll("baz", asList(7, 8)); multimap.putAll("dog", asList(9)); multimap.putAll("bar", asList(10, 11)); multimap.putAll("cat", asList(12, 13, 14)); return multimap.keySet().iterator(); } @Override protected void verify(List<String> elements) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 16.5K bytes - Viewed (0)