- Sort Score
- Result 10 results
- Languages All
Results 1201 - 1210 of 1,416 for emptify (0.11 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
int result = request.encode(buffer, 100); assertTrue(result > 0); assertTrue(result <= buffer.length - 100); } @Test @DisplayName("Should handle empty data array") void testEmptyDataArray() { byte[] emptyData = new byte[0]; byte[] name = "TEST_DATA".getBytes(StandardCharsets.UTF_8);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
// Remove second instance assertTrue(ruleManager.removeRule(rule)); assertEquals(0, ruleManager.getRuleCount()); assertFalse(ruleManager.hasRule(rule)); } /** * Test empty RuleManager */ public void test_emptyRuleManager() { assertEquals(0, ruleManager.getRuleCount()); ResponseData responseData = new ResponseData();Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
/** * Gets the current user bean from the session. * This method returns the concrete FessUserBean class instead of the generic type. * * @return an optional containing the current user bean, or empty if not logged in */ @Override protected OptionalThing<FessUserBean> getUserBean() { // to return as concrete class return fessLoginAssist.getSavedUserBean(); } /**Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
} // Test reload with InputStream public void test_reload_withComments() { String content = "# This is a comment\n" + "word1\n" + "\n" + // empty line "word2\n" + "# Another comment\n" + "word3\n"; InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)); stopwordsFile.reload(null, is);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
return populate(new HashMap<String, String>(), entries); } // TODO: call conversion constructors or factory methods instead of using // populate() on an empty map @CanIgnoreReturnValue private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) { for (Entry<T, String> entry : entries) { map.put(entry.getKey(), entry.getValue());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 21.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
SortedSet<E> set = newTreeSet(); for (E element : elements) { // Explicit null check because TreeSet wrongly accepts add(null) when empty. set.add(checkNotNull(element)); } return set; } public static class ContiguousSetGenerator extends AbstractContiguousSetGenerator { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
*/ public void validatePath(String path) throws SmbException { totalValidations.incrementAndGet(); if (path == null || path.isEmpty()) { return; // Empty paths allowed } // Check overall path length if (path.length() > MAX_PATH_SIZE) { failedValidations.incrementAndGet();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
assertNotWellFormed(0xF0, 0x8F, 0xAD, 0xA2); assertNotWellFormed(0xF4, 0x90, 0xAD, 0xA2); } /** Tests some hard-coded test cases. */ public void testSomeSequences() { // Empty assertWellFormed(); // One-byte characters, including control characters assertWellFormed(0x00, 0x61, 0x62, 0x63, 0x7F); // "\u0000abc\u007f" // Two-byte characters
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
// evict 9, 1, 2, 10 getAll(cache, asList(15)); CacheTesting.drainRecencyQueues(cache); assertThat(keySet).containsExactly(0, 6, 7, 8, 15); // fill empty space getAll(cache, asList(9)); CacheTesting.drainRecencyQueues(cache); assertThat(keySet).containsExactly(0, 6, 7, 8, 15, 9); // evict 6 getAll(cache, asList(1));Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 15K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
} // Casting to any type is safe because the list will never hold any elements. @SuppressWarnings("unchecked") public static <E> ImmutableList<E> of() { return (ImmutableList<E>) RegularImmutableList.EMPTY; } public static <E> ImmutableList<E> of(E e1) { return new SingletonImmutableList<E>(checkNotNull(e1)); } public static <E> ImmutableList<E> of(E e1, E e2) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 11.1K bytes - Viewed (0)