- Sort Score
- Num 10 results
- Language All
Results 2011 - 2020 of 3,747 for throwIt (0.08 seconds)
-
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java
* Test concurrent registration of searchers from multiple threads. * Verifies that CopyOnWriteArrayList handles concurrent modifications safely. */ @Test public void test_concurrentSearcherRegistration() throws Exception { final int numThreads = 10; final int searchersPerThread = 5; final CountDownLatch startLatch = new CountDownLatch(1); final CountDownLatch endLatch = new CountDownLatch(numThreads);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 13.5K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
when { length0 == 0b1000_0000 -> { throw ProtocolException("indefinite length not permitted for DER") } (length0 and 0b1000_0000) == 0b1000_0000 -> { // Length specified over multiple bytes. val lengthBytes = length0 and 0b0111_1111 if (lengthBytes > 8) { throw ProtocolException("length encoded with more than 8 bytes is not supported")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
* strict, use {@link #reserialize}. * * @return the re-serialized object * @throws RuntimeException if the specified object was not successfully serialized or * deserialized * @throws AssertionFailedError if the re-serialized object is not equal to the original object, * or if the hashcodes are different. */ @CanIgnoreReturnValueCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4.1K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
assertThrows( IllegalArgumentException.class, () -> ticker.setAutoIncrementStep(-1, NANOSECONDS)); } @GwtIncompatible // concurrency public void testConcurrentAdvance() throws Exception { FakeTicker ticker = new FakeTicker(); int numberOfThreads = 64; runConcurrentTest( numberOfThreads, () -> { // adds two nanoseconds to the ticker
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeParameterTest.java
/** * Unit test for {@link TypeParameter}. * * @author Ben Yu */ @NullUnmarked public class TypeParameterTest extends TestCase { public <T> void testCaptureTypeParameter() throws Exception { TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable; TypeVariable<?> expected = TypeParameterTest.class.getDeclaredMethod("testCaptureTypeParameter") .getTypeParameters()[0];Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.9K bytes - Click Count (0) -
src/main/java/jcifs/Decodable.java
* @param bufferIndex the starting index in the buffer * @param len the maximum length of data to decode * @return decoded length * @throws SMBProtocolDecodingException if decoding fails */ int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrHyper.java
*/ public NdrHyper(final long value) { this.value = value; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_hyper(this.value); } @Override public void decode(final NdrBuffer src) throws NdrException { this.value = src.dec_ndr_hyper(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrLong.java
*/ public NdrLong(final int value) { this.value = value; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_long(this.value); } @Override public void decode(final NdrBuffer src) throws NdrException { this.value = src.dec_ndr_long(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java
super(parent, delegate, filter); } /** * @param fe * @return * @throws MalformedURLException */ @Override protected SmbResource adapt(final FileEntry e) throws MalformedURLException { return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(),
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.6K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy
} if (line ==~ /\/\/\s*AUTOSENSE\s*/) { throw new InvalidUserDataException("$file:$lineNumber: " + "AUTOSENSE has been replaced by CONSOLE.") } if (line ==~ /\/\/\s*CONSOLE\s*/) { if (snippet == null) { throw new InvalidUserDataException("$file:$lineNumber: "Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 20 10:08:26 GMT 2021 - 17.8K bytes - Click Count (0)