- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 764 for 1020 (0.02 seconds)
-
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
// Arrange transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID); byte[] smallBuffer = new byte[1]; byte[] largeBuffer = new byte[1000]; // Act & Assert assertEquals(0, transPeekNamedPipe.readSetupWireFormat(smallBuffer, 0, 1)); assertEquals(0, transPeekNamedPipe.readSetupWireFormat(largeBuffer, 500, 500));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
// Test various filename formats trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, filename, TEST_BATCH_COUNT, TEST_BATCH_SIZE); byte[] buffer = new byte[1024]; int written = trans2FindNext2.writeParametersWireFormat(buffer, 0); // Verify filename is written and can be read back String actualFilename = readString(buffer, 12, written - 12);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0) -
src/test/java/jcifs/EmptyIteratorTest.java
long endTime = System.currentTimeMillis(); long duration = endTime - startTime; // Then - should complete quickly (this is more of a performance indicator) assertTrue(duration < 1000, "Creating and using 10000 EmptyIterators should be fast (took " + duration + "ms)"); } @Test @DisplayName("EmptyIterator should work correctly in nested iteration") void testNestedIteration() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
ByteArrayOutputStream baos = new ByteArrayOutputStream(); DataOutputStream dos = new DataOutputStream(baos); // Write a RID (4 bytes) for readId() method writeLittleEndianInt(dos, 1000); ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); PacDataInputStream pacStream = new PacDataInputStream(bais); SID id = pacStream.readId();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
makeLocalCache(createCacheBuilder().concurrencyLevel(1).initialCapacity(1)); Segment<Object, Object> segment = map.segments[0]; assertThat(segment.table.length()).isEqualTo(1); int count = 1024; for (int i = 0; i < count; i++) { Object key = new Object(); Object value = new Object(); int hash = map.hash(key); assertThat(segment.put(key, hash, value, false)).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 114.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
makeLocalCache(createCacheBuilder().concurrencyLevel(1).initialCapacity(1)); Segment<Object, Object> segment = map.segments[0]; assertThat(segment.table.length()).isEqualTo(1); int count = 1024; for (int i = 0; i < count; i++) { Object key = new Object(); Object value = new Object(); int hash = map.hash(key); assertThat(segment.put(key, hash, value, false)).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java
final Map<String, Object> searchBody = new HashMap<>(); searchBody.put("error_count_min", 1); searchBody.put("error_count_max", 100); searchBody.put("size", 100); String response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString(); List<Map<String, Object>> logs = JsonPath.from(response).getList("response.logs");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
@Test public void testLargeThreshold() throws IOException { // Test with very large threshold ContentOutputStream cos = new ContentOutputStream(1024 * 1024, Curl.tmpDir); cos.write(new byte[1000]); assertTrue(cos.isInMemory()); cos.close(); } @Test public void testMultipleGetFile() throws IOException { // Calling getFile() multiple times should return the same fileCreated: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
// Given byte[] buffer = new byte[512]; int encodeIndex = 0; int decodeIndex = 0; int encodeLength = 100; int decodeLength = 100; when(messageBlock.encode(buffer, encodeIndex)).thenReturn(encodeLength); when(messageBlock.decode(buffer, decodeIndex)).thenReturn(decodeLength); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0)