- Sort Score
- Num 10 results
- Language All
Results 3661 - 3670 of 5,610 for strong (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
@BeforeEach void setUp() { // Setup is handled by MockitoExtension } @Test void constructor_shouldOpenPolicySuccessfully() throws IOException { // Arrange String server = "testServer"; int access = 123; // Mock the behavior of sendrecv for MsrpcLsarOpenPolicy2 doAnswer(invocation -> { MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/DosErrorTest.java
void messagesOutOfBoundsThrows() { // Arrange String[] msgs = DosError.DOS_ERROR_MESSAGES; // Act & Assert: negative index assertThrows(ArrayIndexOutOfBoundsException.class, () -> { @SuppressWarnings("unused") String s = msgs[-1]; }); // Act & Assert: index equal to length
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java
assertEquals("java.lang.String", pc.getAttribute("implementation")); Parameter mp = md.getParameters().get(0); assertEquals("finalName", mp.getName()); assertEquals("jarName", mp.getAlias()); assertEquals("java.lang.String", mp.getType()); assertEquals("java.lang.String", mp.getImplementation());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
*/ public static class FailoverState { private final String channelId; private final long failureTime; private int retryCount; private long nextRetryTime; /** * Create failover state * * @param channelId channel identifier */ public FailoverState(String channelId) { this.channelId = channelId;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 11.6K 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)