Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1841 - 1850 of 3,662 for Void (0.02 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

    @GwtCompatible
    @NullUnmarked
    public class FuturesGetDoneTest extends TestCase {
      public void testSuccessful() throws ExecutionException {
        assertThat(getDone(immediateFuture("a"))).isEqualTo("a");
      }
    
      public void testSuccessfulNull() throws ExecutionException {
        assertThat(getDone(Futures.<@Nullable String>immediateFuture(null))).isEqualTo(null);
      }
    
      public void testFailed() {
        Exception failureCause = new Exception();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileHandleImpl.java

         *
         * @see jcifs.SmbFileHandle#close(long)
         */
        @Override
        public synchronized void close(final long lastWriteTime) throws CIFSException {
            closeInternal(lastWriteTime, true);
        }
    
        /**
         * @param lastWriteTime
         * @throws SmbException
         */
        void closeInternal(final long lastWriteTime, final boolean explicit) throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

         *
         * @param buf the string buffer containing the log message
         */
        protected void log(final StringBuilder buf) {
            statsLogger.info(buf.toString());
        }
    
        /**
         * Sets the name of the logger used for statistics output.
         *
         * @param loggerName the logger name to use
         */
        public void setLoggerName(final String loggerName) {
            this.loggerName = loggerName;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

            this.listener = listener;
            this.artifacts = new IdentityHashMap<>();
            this.transfers = new IdentityHashMap<>();
        }
    
        @Override
        public void debug(String message) {}
    
        @Override
        public void transferCompleted(TransferEvent transferEvent) {
            ArtifactTransferEvent event = wrap(transferEvent);
    
            Long transferred;
            synchronized (transfers) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. docs/recipes.md

        ```java
          private final OkHttpClient client = new OkHttpClient();
    
          public void run() throws Exception {
            Request request = new Request.Builder()
                .url("http://publicobject.com/helloworld.txt")
                .build();
    
            client.newCall(request).enqueue(new Callback() {
              @Override public void onFailure(Call call, IOException e) {
                e.printStackTrace();
              }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

            : !iterable.iterator().hasNext();
      }
    
      public static void assertEmpty(Iterable<?> iterable) {
        if (!isEmpty(iterable)) {
          fail("Not true that " + iterable + " is empty");
        }
      }
    
      public static void assertEmpty(Map<?, ?> map) {
        if (!map.isEmpty()) {
          fail("Not true that " + map + " is empty");
        }
      }
    
      public static void assertEqualInOrder(Iterable<?> expected, Iterable<?> actual) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandlerTest.java

    public class FessMultipartRequestHandlerTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        // Basic test to verify test framework is working
        public void test_basicAssertion() {
            assertTrue(true);
            assertFalse(false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/mail/TestmailPostcardTest.java

    public class TestmailPostcardTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        // Basic test to verify test framework is working
        public void test_basicAssertion() {
            assertTrue(true);
            assertFalse(false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/rank/fusion/DefaultSearcherTest.java

    public class DefaultSearcherTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        // Basic test to verify test framework is working
        public void test_basicAssertion() {
            assertTrue(true);
            assertFalse(false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacGroupTest.java

        private final int attributes = 42;
    
        @BeforeEach
        void setUp() {
            // Mock the SID object
            mockSid = mock(SID.class);
            pacGroup = new PacGroup(mockSid, attributes);
        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#PacGroup(jcifs.smb.SID, int)}.
         */
        @Test
        void testConstructor() {
            // Verify that the constructor correctly sets the id and attributes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top