- Sort Score
- Num 10 results
- Language All
Results 1851 - 1860 of 3,747 for throwIt (0.05 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Feb 10 15:02:53 GMT 2025 - 2.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
protected ListenableFuture<Boolean> future; @Override protected void setUp() throws Exception { // Create a latch and a future that waits on the latch. latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @Override protected void tearDown() throws Exception { // Make sure we have no waiting threads. latch.countDown(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 6.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
* * @author Colin Decker */ @NullUnmarked public class CharSequenceReaderTest extends TestCase { public void testReadEmptyString() throws IOException { assertReadsCorrectly(""); } public void testReadsStringsCorrectly() throws IOException { assertReadsCorrectly("abc"); assertReadsCorrectly("abcde"); assertReadsCorrectly("abcdefghijkl"); assertReadsCorrectly( ""Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 6.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
assertFalse(compressionService.isAlgorithmSupported(CompressionService.COMPRESSION_PATTERN_V1)); } @Test @DisplayName("Test no compression (passthrough)") public void testNoCompression() throws CIFSException { byte[] compressed = compressionService.compress(testData, CompressionService.COMPRESSION_NONE); assertArrayEquals(testData, compressed);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.1K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacMacTest.java
/** * Test method for * {@link jcifs.pac.PacMac#calculateMacArcfourHMACMD5(int, java.security.Key, byte[])}. * * @throws GeneralSecurityException */ @Test void testCalculateMacArcfourHMACMD5() throws GeneralSecurityException { // Using a key with a known value for reproducibility SecretKeySpec key = new SecretKeySpec(new byte[16], "ARCFOUR");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.1K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java
* @param settings The settings to serialize, must not be {@code null}. * @throws IOException If the settings could not be serialized. */ void write(File output, Map<String, Object> options, Settings settings) throws IOException; /** * Writes the supplied settings to the specified character writer. The writer will be automatically closed beforeCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
* @param bufferIndex starting index in source buffer * @param len length of data to read * @return number of bytes read * @throws SMBProtocolDecodingException if decoding fails */ protected abstract int readParametersWireFormat(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException; /** * Reads data from wire format * @param buffer source bufferCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
@Override public byte getFileSystemInformationClass() { return fileSystemInformationClass; } @Override public int decode(byte[] buffer, int bufferIndex, int len) throws jcifs.internal.SMBProtocolDecodingException { // Simple test implementation - not used in these tests return 0; } } @Nested @DisplayName("Interface Contract Tests")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
@CanIgnoreReturnValue static int checkPositive(String role, int x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue static long checkPositive(String role, long x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java
import org.junit.jupiter.api.TestInfo; public class AbstractConfigHelperTest extends UnitFessTestCase { private TestConfigHelper configHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); configHelper = new TestConfigHelper(); } @Test public void test_setReloadInterval() { assertEquals(1000L, configHelper.reloadInterval);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.8K bytes - Click Count (0)