- Sort Score
- Num 10 results
- Language All
Results 3571 - 3580 of 3,747 for throwIf (0.12 seconds)
-
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
exception = new SuggesterException(e); scrollId = null; } } docCount.getAndAdd(queue.size()); if (exception != null) { throw exception; } } /** * Calculates the limit document number based on total, percentage, and number. * @param total The total number of documents.
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java
import org.junit.jupiter.api.TestInfo; public class SuggestHelperTest extends UnitFessTestCase { private SuggestHelper suggestHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); suggestHelper = new SuggestHelper(); setupMockComponents(); } private void setupMockComponents() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java
import org.junit.jupiter.api.TestInfo; public class PermissionHelperTest extends UnitFessTestCase { public PermissionHelper permissionHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); permissionHelper = new PermissionHelper(); permissionHelper.systemHelper = new SystemHelper(); } @Test public void test_encode() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactLinkedHashMap.java
* @param expectedSize the number of elements you expect to add to the returned set * @return a new, empty {@code CompactLinkedHashMap} with enough capacity to hold {@code * expectedSize} elements without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */ public static <K extends @Nullable Object, V extends @Nullable Object> CompactLinkedHashMap<K, V> createWithExpectedSize(int expectedSize) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileConfigBhv.java
return updateEntity(source, result); } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } } protected <RESULT extends FileConfig> RESULT updateEntity(Map<String, Object> source, RESULT result) { return result; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsSearchLogBhv.java
return updateEntity(source, result); } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } } protected <RESULT extends SearchLog> RESULT updateEntity(Map<String, Object> source, RESULT result) { return result; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 10.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashing.java
static Object createTable(int buckets) { if (buckets < 2 || buckets > Ints.MAX_POWER_OF_TWO || Integer.highestOneBit(buckets) != buckets) { throw new IllegalArgumentException("must be power of 2 between 2^1 and 2^30: " + buckets); } if (buckets <= BYTE_MAX_SIZE) { return new byte[buckets]; } else if (buckets <= SHORT_MAX_SIZE) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 7.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
} } Files.write(trackingFile, trackingData, StandardCharsets.UTF_8); } catch (IOException e) { throw new UncheckedIOException(e); } } /** * Returns {@code true} if passed in artifact is originating from local repository. In other words, we wantCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 10.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
public void testMaxValue() { assertThat(UnsignedBytes.compare(UnsignedBytes.MAX_VALUE, (byte) (UnsignedBytes.MAX_VALUE + 1))) .isGreaterThan(0); } public void testParseUnsignedByteWithRadix() throws NumberFormatException { // We can easily afford to test this exhaustively. for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { for (int i = 0; i <= 0xff; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 14K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
} /** * Executes the upgrade goal. * Template method that calls doUpgrade and optionally saves modifications. */ @Override public int execute(UpgradeContext context) throws Exception { UpgradeOptions options = context.options(); // Determine target model version // Default to 4.0.0 unless --all is specified or explicit --model-version is providedCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.5K bytes - Click Count (0)