- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 455 for simili (0.08 sec)
-
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for SmbFilenameFilter interface behaviors via simple implementations. * Each test creates a concrete filter to validate expected contract semantics * including normal operation, null handling, edge cases, and exception flow. */ @ExtendWith(MockitoExtension.class)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java
public Map<String, String[]> fields = new HashMap<>(); /** The conditions. */ public Map<String, String[]> as = new HashMap<>(); /** The extra queries. */ public String[] ex_q; /** The similar document hash. */ public String sdh; @Override public String getQuery() { return q; } @Override public String[] getExtraQueries() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
sb.append(DELIMITER_STRING); } sb.append(comp); } dummy ^= sb.toString().length(); } return dummy; } /** * Similar to the above, but keeps a boolean flag rather than checking for the string accumulated * so far being empty. As a result, it does not have the above-mentioned bug. */ @Benchmark int booleanIfFirst(int reps) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class SmbFileFilterTest { @Mock private SmbFile smbFile; // Provides file names and whether a simple name-based filter should accept them private static Stream<Arguments> nameCases() { return Stream.of(Arguments.of("readme.txt", true), Arguments.of("notes.log", false), Arguments.of("", false),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
int trailerLength = 10; // Default trailer length for testing int trailerBytesRead = 0; @Override int writeTrailerWireFormat(byte[] dst, int dstIndex) { // Simple mock implementation for (int i = 0; i < trailerLength && dstIndex + i < dst.length; i++) { dst[dstIndex + i] = (byte) i; } return trailerLength; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/feature_enhancement_request.yaml
companies, or even industries — utilities useful for a sizable proportion of all Java programmers everywhere. If you can give enough detail such that any of us can imagine coming across a similar need in our own work, that's extremely helpful in studying how broadly useful the proposed change will be. - type: textarea attributes: label: Concrete Use Cases
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Nov 17 18:47:47 UTC 2023 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
} // Edge/null/empty: message-only constructor should propagate message and set unsuccessful status @ParameterizedTest @NullSource @ValueSource(strings = { "", " ", "simple", "with unicode Ω≈ç√", "long-0123456789-abcdefghijklmnopqrstuvwxyz" }) @DisplayName("Message-only ctor: propagates message and unsuccessful status") void messageOnlyConstructor_setsMessage_andUnsuccessfulStatus(String msg) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/SearchForm.java
*/ @ValidateTypeFailure public Integer offset; /** * The page number for pagination. */ @ValidateTypeFailure public Integer pn; /** * Similar document hash for finding related documents. */ @Size(max = 1000) public String sdh; /** * Parameter to control tracking of total hits in search results. */ @Size(max = 100)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
assertEquals(ImmutableSet.of(immutableEntry(key2, value2)), cache.asMap().entrySet()); } } // fails in Maven with 64-bit JDK: https://github.com/google/guava/issues/1568 // A simple type whose .toString() will return the same value each time, but without maintaining // a strong reference to that value. static class Key { private final int value; private WeakReference<String> toString;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 5.1K bytes - Viewed (0)