- Sort Score
- Num 10 results
- Language All
Results 2221 - 2230 of 3,670 for throwIf (0.05 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
* directory or a {@code pom.xml} file with the {@code root="true"} attribute. * If there's no such directory, an {@code IllegalStateException} will be thrown. * * @throws IllegalStateException if the root directory could not be found * @see #getTopDirectory() * @since 4.0.0 */ Path getRootDirectory(); /** * @since 3.3.0 */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 18.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
} /** * Main method to run the locking test. * * @param args command line arguments: [-t numThreads] [-i numIter] [-d delay] url * @throws Exception if an error occurs during test execution */ public static void main(final String[] args) throws Exception { if (args.length < 1) { logger.error("usage: TestLocking [-t <numThreads>] [-i <numIter>] [-d <delay>] url"); System.exit(1);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/LlmMessageTest.java
import org.junit.jupiter.api.TestInfo; public class LlmMessageTest extends UnitFessTestCase { @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } @Test public void test_defaultConstructor() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 3.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
for (int i = 0; i < reps; i++) { tmp += System.identityHashCode(encoding.encoding.decode(decodingInputs[i & INPUTS_MASK])); } return tmp; } @Benchmark public int encodingStream(int reps) throws IOException { int tmp = 0; for (int i = 0; i < reps; i++) { StringWriter target = new StringWriter(2 * n); OutputStream encodingStream = encoding.encoding.encodingStream(target);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.2K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlFilter.java
* @param params Additional parameters for the conversion. * @return The XContentBuilder with the URL filter data. * @throws IOException if the conversion fails. */ @Override public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException { builder.startObject(); if (sessionId != null) { builder.field(SESSION_ID, sessionId); }Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 3.6K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
* * @param host the host name to resolve * @return an array of IP addresses for the host * @throws UnknownHostException if the host name cannot be resolved */ @Override public InetAddress[] resolve(final String host) throws UnknownHostException { // Handle IPv6 addresses in bracket notationCreated: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 06 07:24:43 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
} private void validateParameters() { if (min < 0) { throw new IllegalArgumentException("The min parameter cannot be negative."); } if (max < 0) { throw new IllegalArgumentException("The max parameter cannot be negative."); } if (max < min) { throw new IllegalArgumentException("The length cannot be negative."); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
} @Benchmark void oldRepeat(long reps) { for (int i = 0; i < reps; i++) { String x = oldRepeat(originalString, count); if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/util/Strings.java
if (str == null) { return new byte[0]; } try { return str.getBytes(config.getOemEncoding()); } catch (final UnsupportedEncodingException e) { throw new RuntimeCIFSException("Unsupported OEM encoding " + config.getOemEncoding(), e); } } /** * Decodes a string from UTF-16LE (Unicode Little Endian) bytes. *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ArrayListMultimap.java
*/ @GwtIncompatible @J2ktIncompatible private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); Serialization.writeMultimap(this, stream); } @GwtIncompatible @J2ktIncompatible private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 6.8K bytes - Click Count (0)