- Sort Score
- Num 10 results
- Language All
Results 511 - 520 of 3,747 for throwIt (0.15 seconds)
-
src/main/java/jcifs/smb1/netbios/NbtAddress.java
* @throws UnknownHostException if the host cannot be resolved to find out. */ public boolean isInConflict() throws UnknownHostException { checkNodeStatusData(); return isInConflict; } /** * Determines if this address is active. * * @return true if the address is active, false otherwiseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java
public void test_refresh_onEmptyIndex() throws Exception { Suggester suggester = createSuggester(); suggester.createIndexIfNothing(); // Should not throw assertNotNull(suggester.refresh()); } @Test public void test_shutdown() throws Exception { Suggester suggester = createSuggester(); // Should not throw suggester.shutdown(); }
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 13.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
* @see jcifs.SmbWatchHandle#call() */ @Override public List<FileNotifyInformation> call() throws CIFSException { return watch(); } /** * {@inheritDoc} * * @see jcifs.SmbWatchHandle#close() */ @Override public void close() throws CIFSException { if (this.handle.isValid()) { this.handle.close(0L); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
* * @param tc the CIFS context * @param chlng the server challenge * @return the signing key * @throws SmbException if an SMB error occurs * @throws GeneralSecurityException if a security error occurs */ public byte[] getSigningKey(CIFSContext tc, byte[] chlng) throws SmbException, GeneralSecurityException { switch (tc.getConfig().getLanManCompatibility()) { case 0: case 1:Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30.3K bytes - Click Count (0) -
.teamcity/scripts/CheckBadMerge.java
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in, StandardCharsets.UTF_8))) { return br.lines() .map(String::trim) .filter(s -> !s.isEmpty()) .collect(Collectors.toList()); } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 16:25:09 GMT 2026 - 9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
* * @param macSigningKey the MAC signing key for message authentication * @param bypass whether to bypass MAC signing * @throws SmbException if MD5 algorithm is not available */ public SigningDigest(final byte[] macSigningKey, final boolean bypass) throws SmbException { try { digest = MessageDigest.getInstance("MD5"); } catch (final NoSuchAlgorithmException ex) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
void testReadPacketTypeSpecialStream() throws IOException { // Create a mock stream that returns exactly -1 on first read (special case) when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(-1); // Immediate EOF byte[] buffer = new byte[10]; // The readn method will return 0 when stream returns -1 // So this should still throw IOException, not return -1
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
} @Test @DisplayName("remove() throws UnsupportedOperationException with 'remove' message") void removeUnsupported() throws Exception { // Arrange stubAcquireReturnsSelf(); TestIterator it = TestIterator.create(tree, parent, "*", null, 0, entry("a"), List.of(new FileEntry[][] { new FileEntry[] {} }));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java
throws ArtifactResolutionException { // Metadata cannot be found if (result.hasMetadataResolutionExceptions()) { throw result.getMetadataResolutionException(0); } // Metadata cannot be retrieved // Cyclic Dependency Error if (result.hasCircularDependencyExceptions()) { throw result.getCircularDependencyException(0);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.7K bytes - Click Count (0)