- Sort Score
- Result 10 results
- Languages All
Results 1331 - 1340 of 5,093 for string (0.15 sec)
-
src/main/java/jcifs/util/AuthenticationRateLimiter.java
private final Duration lockoutDuration; private final Duration cleanupInterval; // Tracking maps private final Map<String, AccountAttempts> accountAttempts = new ConcurrentHashMap<>(); private final Map<String, IpAttempts> ipAttempts = new ConcurrentHashMap<>(); private final AtomicInteger globalAttemptsInCurrentWindow = new AtomicInteger(0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java
} // Helper method to create mock RequestManager private RequestManager createMockRequestManager(final String paramValue) { return new org.lastaflute.web.servlet.request.SimpleRequestManager() { @Override public OptionalThing<String> getParameter(String name) { if (paramValue != null) { return OptionalThing.of(paramValue); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
internal/stmt_store/stmt_store.go
ttl = defaultTTL } onEvicted := func(k string, v *Stmt) { if v != nil { go v.Close() } } return &lruStore{lru: lru.NewLRU[string, *Stmt](size, onEvicted, ttl)} } type lruStore struct { lru *lru.LRU[string, *Stmt] } func (s *lruStore) Keys() []string { return s.lru.Keys() } func (s *lruStore) Get(key string) (*Stmt, bool) { stmt, ok := s.lru.Get(key)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun Apr 27 06:05:16 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
// toString should include the class name and (if non-null) the message String ts = ex.toString(); assertTrue(ts.contains("SMBProtocolDecodingException"), "toString should include class name"); if (message != null && !message.isEmpty()) { assertTrue(ts.contains(message), "toString should include non-empty message"); } } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
docs/debugging/hash-set/main.go
import ( "bufio" "bytes" "encoding/binary" "flag" "fmt" "hash/crc32" "log" "os" "strings" "github.com/dchest/siphash" "github.com/google/uuid" ) // hashes the key returning an integer based on the input algorithm. // This function currently supports // - SIPMOD func sipHashMod(key string, cardinality int, id [16]byte) int { if cardinality <= 0 { return -1 }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
*/ public interface ArrayType { /** * @return Class */ Class<String>[] arrayOfStringClass(); } /** * */ public interface ListType { /** * @return List */ List<String> listOfString(); /** * @return List */ List<Class<?>> listOfClass();Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
assertEquals("\"emptyArrayKey\":[]", buf.toString()); } // Test append method with String value public void test_append_stringValue() { StringBuilder buf = new StringBuilder(); Supplier<Object> supplier = () -> "test string"; monitorTarget.append(buf, "stringKey", supplier); assertEquals("\"stringKey\":\"test string\"", buf.toString()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
<code> <![CDATA[ public static final String USER_LEVEL = "user-level"; public static final String GLOBAL_LEVEL = "global-level"; private String sourceLevel = USER_LEVEL; private boolean sourceLevelSet = false; public void setSourceLevel(String sourceLevel) { if (sourceLevelSet) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
@Nested @DisplayName("ToString Tests") class ToStringTests { @Test @DisplayName("Should return simple string when no root cause") void testToStringWithoutRootCause() { String message = "Test exception message"; TransportException exception = new TransportException(message); String result = exception.toString(); assertNotNull(result);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
} else if (message.isEmpty()) { // Throwable.toString prints class + ": " (with space) even for empty string assertEquals(SMBProtocolDowngradeException.class.getName() + ": ", ex.toString()); } else { assertEquals(SMBProtocolDowngradeException.class.getName() + ": " + message, ex.toString()); } } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0)