- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 1,178 for simple (0.07 seconds)
-
src/test/java/jcifs/smb/WinErrorTest.java
for (int c : WinError.WINERR_CODES) { assertTrue(c >= 0, "Code should be non-negative: " + c); assertTrue(seen.add(c), "Duplicate code detected: " + c); } } // Simple collaborator to demonstrate interaction verification with Mockito interface Handler { void handle(int code, String message); } @Mock Handler handler; @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
private DfsReferralRequestBuffer buffer; @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create buffer with simple path and referral level") void testConstructorWithSimplePath() { String path = "\\\\server\\share"; int maxReferralLevel = 3;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
} @ParameterizedTest @DisplayName("getBytes should handle various string inputs") @NullAndEmptySource @ValueSource(strings = { "Simple ASCII", "Special chars: !@#$%^&*()", "Unicode: ñöt ascii ℃", "Mixed: ASCII + 中文 + Русский", "Emojis: 🎉🌟💻", "Very long string with multiple words and various characters 1234567890" })Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java
import org.slf4j.LoggerFactory; import static java.util.Objects.requireNonNull; /** * A {@link TransferListener} implementation that wraps another delegate {@link TransferListener} but makes it run * on single thread, keeping the listener logic simple. This listener also blocks on last transfer event to allow * output to perform possible cleanup. It spawns a daemon thread to consume queued events that may fall in even * concurrently. * * @since 4.0.0Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
} when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath()); // Use getByName to trigger populate // Both hosts should be added in this simple case assertNotNull(lmhosts.getByName("HOST1", mockContext)); assertNotNull(lmhosts.getByName("HOST2", mockContext)); } @Test void testPopulateWithInvalidIPFormat() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
import jcifs.SmbResource; @ExtendWith(MockitoExtension.class) class ShareEnumIteratorTest { @Mock ResourceFilter filter; // Helper to create a parent SmbFile that does not hit the network for simple operations private SmbFile newParent() throws MalformedURLException { // Valid share URL with trailing slash; constructing does not perform I/O return new SmbFile("smb://test-server/share/"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveSetupPlugin.java
sub.getTasks().register("extractedAssemble", task -> // We keep extracted configuration resolvable false to keep // resolveAllDependencies simple so we rely only on its build dependencies here. task.dependsOn(extractedConfiguration.getAllArtifacts().getBuildDependencies())); }); });
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 22 19:01:26 GMT 2021 - 7.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
this.remainingField = remainingFutures; } final Set<Throwable> getOrInitSeenExceptions() { /* * The initialization of seenExceptionsField has to be more complicated than we'd like. The * simple approach would be for each caller CAS it from null to a Set populated with its * exception. But there's another race: If the first thread fails with an exception and a second * thread immediately fails with the same exception:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.5K bytes - Click Count (0) -
src/archive/tar/writer_test.go
t.Fatal(err) } if _, err = writer.Write([]byte(contents)); err != nil { t.Fatal(err) } if err := writer.Close(); err != nil { t.Fatal(err) } // Simple test to make sure PAX extensions are in effect if !bytes.Contains(buf.Bytes(), []byte("PaxHeaders.0")) { t.Fatal("Expected at least one PAX header to be written.") }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0)