- Sort Score
- Num 10 results
- Language All
Results 4591 - 4600 of 7,102 for sering (0.04 seconds)
-
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
import org.codelibs.core.io.SerializeUtil; import org.junit.Test; /** * @author higa */ public class SLinkedListTest { private final SLinkedList<String> list = new SLinkedList<String>(); /** * @throws Exception */ @Test public void testGetFirstEntry() throws Exception { assertThat(list.getFirstEntry(), is(nullValue())); list.addFirst("1");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 8.3K bytes - Click Count (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
} @Test @DisplayName("Test log security violation") void testLogSecurityViolation() { Map<String, Object> context = new HashMap<>(); context.put("sourceIP", "192.168.1.100"); context.put("attemptCount", 5); logger.logSecurityViolation("Multiple failed authentication attempts", context);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
int radix = r; // tests can successfully parse a number string with this radix. String maxAsString = max.toString(radix); assertThat(UnsignedLongs.parseUnsignedLong(maxAsString, radix)).isEqualTo(max.longValue()); assertThrows( NumberFormatException.class, () -> { BigInteger overflow = max.add(ONE); String overflowAsString = overflow.toString(radix);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
// Assert assertEquals(0, result); } } @Test @DisplayName("toString should return formatted string") void testToString() { // Act String result = response.toString(); // Assert assertNotNull(result); assertTrue(result.contains("TransWaitNamedPipeResponse["));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapUtilTest.java
assertEquals("user", LdapUtil.escapeValue("user")); assertEquals("admin", LdapUtil.escapeValue("admin")); } @Test public void test_escapeValue_longString() { String input = "a]".repeat(1000) + "*"; String expected = "a]".repeat(1000) + "\\2a"; assertEquals(expected, LdapUtil.escapeValue(input)); } @Test public void test_escapeValue_realWorldLdapInjectionAttempts() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 4.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyTest.kt
fun unicodeText() { val text = "eile oli oliiviõli" val body = text.toResponseBody() assertThat(body.string()).isEqualTo(text) } @Test fun unicodeTextWithCharset() { val text = "eile oli oliiviõli" val body = text.toResponseBody("text/plain; charset=UTF-8".toMediaType()) assertThat(body.string()).isEqualTo(text) } @Test fun unicodeByteString() { val text = "eile oli oliiviõli"
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MoreFilesFileTraverserTest.java
.containsExactly(rootDir, fileA, fileB, dir1, dir2); } @CanIgnoreReturnValue private Path newDir(String name) throws IOException { Path dir = rootDir.resolve(name); Files.createDirectory(dir); return dir; } @CanIgnoreReturnValue private Path newFile(String name) throws IOException { Path file = rootDir.resolve(name); MoreFiles.touch(file); return file; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java
dstIndex += 2; /* * windows98 has what appears to be another 4 0's followed by the share * name as a zero terminated ascii string "\TMP" + '\0' * * As is this works, but it deviates from the spec section 4.1.6.6 but * maybe I should put it in. Wonder what NT does? */ return dstIndex - start; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
@Override public List<Profile> getActiveProfiles( Collection<Profile> profiles, ProfileActivationContext context, ModelProblemCollector problems) { Collection<String> activatedIds = new HashSet<>(context.getActiveProfileIds()); Collection<String> deactivatedIds = new HashSet<>(context.getInactiveProfileIds()); List<Profile> activeProfiles = new ArrayList<>(profiles.size());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.3K bytes - Click Count (0)