- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 769 for closest (0.04 sec)
-
mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/StartStopExtension.kt
for (field in staticFields) { field.setAccessible(true) val server = field.get(null) as? MockWebServer ?: continue // Put the instance in the store, so JUnit closes it for us in afterAll. store.put(field, server) server.start() } } override fun beforeEach(context: ExtensionContext) { val testInstance = context.testInstance.get()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
void getRemoteHostNameHappyPath() { // Ensures remote host name is sourced from transport and resources are closed when(transport.getRemoteHostName()).thenReturn("remote.example"); String name = handle.getRemoteHostName(); assertEquals("remote.example", name); // try-with-resources should close both verify(session).close();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
* @throws SmbException if account is locked out */ public boolean checkAttempt(String username, String sourceIp) throws SmbException { if (closed.get()) { throw new IllegalStateException("Rate limiter is closed"); } // Check global rate limit if (!checkGlobalRateLimit()) { totalAttemptsBlocked.incrementAndGet();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeOutputStream.java
* * @return the handle */ protected SmbPipeHandleImpl getHandle() { return this.handle; } @Override public void close() { // ignore, the shared file descriptor is closed by the pipe handle }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java
* @throws InvokerException if an error occurs during the invocation process. */ int invoke(@Nonnull InvokerRequest invokerRequest) throws InvokerException; /** * Closes and disposes of this {@link Invoker} instance, releasing any resources it may hold. * This method is called automatically when using try-with-resources statements. *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 31 20:56:58 UTC 2025 - 2.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
} public void testCopyToAppendable_doesNotCloseIfWriter() throws IOException { TestWriter writer = new TestWriter(); assertFalse(writer.closed()); source.copyTo(writer); assertFalse(writer.closed()); } public void testClosesOnErrors_copyingToCharSinkThatThrows() { for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
assertFalse(set.containsAll((Collection<?>) ImmutableSet.of("blah"))); } public void testRange() { assertEquals(Range.closed(1, 3), ContiguousSet.create(Range.closed(1, 3), integers()).range()); assertEquals(Range.closed(1, 3), ContiguousSet.closed(1, 3).range()); assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
} } /** * Check if this context is closed * * @return true if closed, false otherwise */ public boolean isClosed() { return closed; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0)