- Sort Score
- Num 10 results
- Language All
Results 521 - 530 of 674 for 1900 (0.06 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
trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE); for (int i = 1; i <= 5; i++) { int newResumeKey = i * 1000; String newFilename = "file" + i + ".txt"; trans2FindNext2.reset(newResumeKey, newFilename); byte[] buffer = new byte[256];
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/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
// Given TestAllocInfo allocInfo = new TestAllocInfo(1000L, 250L); // When - calculate percentage free double percentFree = (allocInfo.getFree() * 100.0) / allocInfo.getCapacity(); // Then assertEquals(25.0, percentFree, 0.001); } @Test @DisplayName("Should support available space check pattern")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) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
byte[] buffer = new byte[1000]; int numThreads = 10; Thread[] threads = new Thread[numThreads]; // When - multiple threads calling methods simultaneously for (int i = 0; i < numThreads; i++) { final int threadIndex = i; threads[i] = new Thread(() -> { for (int j = 0; j < 100; j++) { int offset = threadIndex * 10;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.5K bytes - Click Count (0) -
cmd/globals.go
diskAssumeUnknownSize = 1 << 30 // diskMinInodes is the minimum number of inodes we want free on a disk to perform writes. diskMinInodes = 1000 // tlsClientSessionCacheSize is the cache size for client sessions. tlsClientSessionCacheSize = 100 ) func init() { // Injected to prevent circular dependency. pubsub.GetByteBuffer = grid.GetByteBuffer } type poolDisksLayout struct {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Sep 03 18:23:41 GMT 2024 - 16.2K bytes - Click Count (1) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 17.6K bytes - Click Count (0)