- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 9,736 for clase (0.04 seconds)
-
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
// Close and verify subsequent calls throw handle.close(); CIFSException ex1 = assertThrows(CIFSException.class, handle::getInput, "getInput after close must throw"); assertTrue(ex1.getMessage().contains("Already closed")); CIFSException ex2 = assertThrows(CIFSException.class, handle::getOutput, "getOutput after close must throw");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/RequestTest.java
import org.mockito.Mock; import org.mockito.MockitoAnnotations; class RequestTest { @Mock private Request mockRequest; @BeforeEach void setUp() { // Initialize mocks before each test MockitoAnnotations.openMocks(this); } @Test void testGetCreditCost() { // Test case for getCreditCost method int expectedCreditCost = 10;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java
*/ public static Boolean toBoolean(final Object o) { return switch (o) { case null -> null; case Boolean b -> b; case Number n -> n.intValue() != 0; case String s -> switch (s.toLowerCase()) { case "true" -> Boolean.TRUE; case "false", "0" -> Boolean.FALSE; default -> Boolean.TRUE; }; default -> Boolean.TRUE; };Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 1.8K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilderSpec.java
TimeUnit timeUnit; switch (lastChar) { case 'd': timeUnit = DAYS; break; case 'h': timeUnit = HOURS; break; case 'm': timeUnit = MINUTES; break; case 's': timeUnit = SECONDS; break; default:Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
TimeUnit timeUnit; switch (lastChar) { case 'd': timeUnit = DAYS; break; case 'h': timeUnit = HOURS; break; case 'm': timeUnit = MINUTES; break; case 's': timeUnit = SECONDS; break; default:Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CloserTest.java
c3 = closer.register(TestCloseable.throwsOnCreate()); } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } catch (Throwable caught) { assertThat(caught).isInstanceOf(IOException.class); } assertTrue(c1.isClosed()); assertTrue(c2.isClosed()); assertThat(c3).isNull(); assertTrue(suppressor.suppressions.isEmpty());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
} // Test that close method exists (inherited) @Test public void test_closeMethodExists() { // Test that close method is available (inherited from parent) try { // Just verify the method exists, don't actually call it crawlerEngineClient.getClass().getMethod("close"); assertTrue(true);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
* <li>{@code close()} - Closes the stream and deletes the temporary file if it is not needed.</li> * </ul> */ public class ContentOutputStream extends DeferredFileOutputStream { /** * The logger for this class. */ protected static final Logger logger = Logger.getLogger(ContentOutputStream.class.getName()); /** * The prefix for the temporary file name.
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 3.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java
@Override public void close() { throw new AssertionError( "ForwardingExecutorService should have used the default method" + " ExecutorService.close() (which would forward to methods like shutdown() on" + " the delegate) instead of forwarding to delegate.close()"); } }; ExecutorService wrapper =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java
private int rep; @Override public @Nullable Integer computeNext() { switch (rep++) { case 0: return 0; case 1: return 1; case 2: return endOfData(); default: throw new AssertionError("Should not have been invoked again"); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K bytes - Click Count (0)