- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 716 for f000 (0.01 sec)
-
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
for (int i = 0; i < 1000; i++) { longMessage.append("Error ").append(i).append(" "); } String message = longMessage.toString(); DataStoreException exception = new DataStoreException(message); assertEquals(message, exception.getMessage()); assertTrue(exception.getMessage().length() > 5000); } public void test_getLocalizedMessage() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
assertThat(limiter.acquire()).isWithin(EPSILON).of(0.2); } public void testOneSecondBurst() { RateLimiter limiter = RateLimiter.create(5.0, stopwatch); stopwatch.sleepMillis(1000); // max capacity reached stopwatch.sleepMillis(1000); // this makes no difference limiter.acquire(1); // R0.00, since it's the first request limiter.acquire(1); // R0.00, from capacity limiter.acquire(3); // R0.00, from capacity
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
assertThat(limiter.acquire()).isWithin(EPSILON).of(0.2); } public void testOneSecondBurst() { RateLimiter limiter = RateLimiter.create(5.0, stopwatch); stopwatch.sleepMillis(1000); // max capacity reached stopwatch.sleepMillis(1000); // this makes no difference limiter.acquire(1); // R0.00, since it's the first request limiter.acquire(1); // R0.00, from capacity limiter.acquire(3); // R0.00, from capacity
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
// Large buffer byte[] largeBuffer = new byte[10000]; written = echoRequest.writeBytesWireFormat(largeBuffer, 5000); assertEquals(4, written); assertEquals(4, SMBUtil.readInt2(largeBuffer, 5000)); } @Test @DisplayName("Should maintain thread safety") void testThreadSafety() throws InterruptedException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// Set SMB 3.1.1 dialect SMBUtil.writeInt2(0x0311, buffer, 4); // Set excessive negotiate context count (should be limited to 100) SMBUtil.writeInt2(1000, buffer, 6); // Set negotiate context offset to valid value SMBUtil.writeInt4(128, buffer, 60); SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
// Polling and backoff constants (in ms) private static final long MAX_POLL_INTERVAL = 5000; // Normal polling: max 5 seconds private static final long MAX_ERROR_BACKOFF = 30000; // Error polling: max 30 seconds private static final long BASE_POLL_INTERVAL = 1000; private static final long BASE_ERROR_DELAY = 1000; private static final int MAX_FAILURE_LIMIT = 5; // Limit failures for backoff calculation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
Map<String, String> infoMap = new HashMap<>(); infoMap.put(Constants.CRAWLER_STATUS, Constants.TRUE); infoMap.put("CrawlerStartTime", "2024-01-01T10:00:00"); infoMap.put("CrawlerEndTime", "2024-01-01T11:00:00"); try { crawler.sendMail(infoMap); } catch (Exception e) { fail("Should not throw exception: " + e.getMessage()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 30.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
/* jcifs smb client library in Java * Copyright (C) 2000 "Michael B. Allen" <jcifs at samba dot org> * "Christopher R. Hertel" <jcifs at samba dot org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
offset += 4; SMBUtil.writeInt4(8, buffer2, offset); // sectPerAlloc offset += 4; SMBUtil.writeInt4(2000, buffer2, offset); // alloc offset += 4; SMBUtil.writeInt4(1000, buffer2, offset); // free offset += 4; SMBUtil.writeInt2(1024, buffer2, offset); // bytesPerSect smbInfoAllocation.decode(buffer2, 0, buffer2.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
assertTrue(overallTimeMs < 1000, "Operations should complete quickly without lock contention"); pool.close(); } /** * Test buffer cache performance with concurrent operations */ @Test public void testBufferCachePerformance() throws Exception { int threadCount = 10; int operationsPerThread = 1000;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0)