- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 444 for 1020 (0.01 sec)
-
src/main/java/org/codelibs/fess/util/InputStreamThread.java
/** Buffered reader for reading from the input stream */ private final BufferedReader br; /** Maximum buffer size constant */ public static final int MAX_BUFFER_SIZE = 1000; /** List storing recent lines from the input stream */ private final List<String> list = new LinkedList<>(); /** Maximum number of lines to keep in the buffer */ private final int bufferSize;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
if (args.length != 2) { System.out.println("Usage: Crawler <cache dir> <root>"); return; } int threadCount = 20; int queueLimit = 1000; int hostLimit = 25; long cacheByteCount = 1024L * 1024L * 100L; Cache cache = new Cache(new File(args[0]), cacheByteCount); OkHttpClient client = new OkHttpClient.Builder() .cache(cache)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jul 23 00:58:06 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
} int numThreads = 1; int numIter = 1; long delay = 100; String url = null; int numComplete = 0; long ltime = 0L; @Override public void run() { try { final SmbFile f = new SmbFile(url); final SmbFile d = new SmbFile(f.getParent()); final byte[] buf = new byte[1024]; for (int ii = 0; ii < numIter; ii++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
@AfterEach fun tearDown() { backend.shutdown() } @Test fun test() { val t1 = System.nanoTime() / 1e6 val delays = mutableListOf(TimeUnit.MILLISECONDS.toNanos(1000), -1L) queue.schedule("task", TimeUnit.MILLISECONDS.toNanos(750)) { log.put("runOnce delays.size=${delays.size}") return@schedule delays.removeAt(0) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
*/ @GwtIncompatible // QueuingRemovalListener public void testRemovalNotification_get_basher() throws InterruptedException { int nTasks = 1000; int nThreads = 100; int getsPerTask = 1000; int nUniqueKeys = 10000; Random random = new Random(); // Randoms.insecureRandom(); QueuingRemovalListener<String, String> removalListener = queuingRemovalListener();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
void testWriteSetupWireFormat() { byte[] buffer = new byte[100]; int result = response.writeSetupWireFormat(buffer, 0); assertEquals(0, result); } @Test @DisplayName("Test writeParametersWireFormat returns 0") void testWriteParametersWireFormat() { byte[] buffer = new byte[100]; int result = response.writeParametersWireFormat(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
when(mockConnection.getIfModifiedSince()).thenReturn(12345L); when(mockConnection.getUseCaches()).thenReturn(false); when(mockConnection.getReadTimeout()).thenReturn(1000); when(mockConnection.getConnectTimeout()).thenReturn(2000); when(mockConnection.getInstanceFollowRedirects()).thenReturn(true); Map<String, List<String>> properties = new HashMap<>();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
* @param dstIndex the starting index in the destination array */ public static void writeUTime(final long t, final byte[] dst, final int dstIndex) { writeInt4(t / 1000, dst, dstIndex); } /** * SMB1 protocol header template with magic number 0xFF 'SMB' */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
} @Test @DisplayName("Should maintain value consistency after multiple constructions") void testValueConsistency() { // Given: Same input value int inputValue = 1000; int expectedMasked = inputValue & 0xFF; // 232 // When: Creating multiple NdrShort instances NdrShort ndrShort1 = new NdrShort(inputValue);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
protected String loggerName = "fess.log.crawler.stats"; /** Maximum number of statistics objects to cache. */ protected long maxCacheSize = 1000; /** Time in milliseconds after which cache entries expire after write. */ protected long cacheExpireAfterWrite = 10 * 60 * 1000L; /** Cache for storing statistics objects keyed by crawler object identifiers. */ protected LoadingCache<String, StatsObject> statsCache;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0)