Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 3,883 for void (0.04 sec)

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

              @Override
              public void run() {}
            };
    
        Thread otherThread =
            new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      Future<?> future =
                          executor.submit(
                              new Callable<@Nullable Void>() {
                                @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testAddAtIndex_supportedPresent() {
        getList().add(0, e0());
        expectAdded(0, e0());
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
       * throw regardless, but it keeps the method name accurate.
       */
      public void testAddAtIndex_unsupportedPresent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      @GwtIncompatible // slow
      public void testLeastOf_reconcileAgainstSortAndSublist() {
        runLeastOfComparison(1000, 300, 20);
      }
    
      public void testLeastOf_reconcileAgainstSortAndSublistSmall() {
        runLeastOfComparison(10, 30, 2);
      }
    
      private static void runLeastOfComparison(int iterations, int elements, int seeds) {
        Random random = new Random(42);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      @GwtIncompatible // slow
      public void testLeastOf_reconcileAgainstSortAndSublist() {
        runLeastOfComparison(1000, 300, 20);
      }
    
      public void testLeastOf_reconcileAgainstSortAndSublistSmall() {
        runLeastOfComparison(10, 30, 2);
      }
    
      private static void runLeastOfComparison(int iterations, int elements, int seeds) {
        Random random = new Random(42);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

            return duplicateHostBhv.selectByPK(id);
        }
    
        public void store(final DuplicateHost duplicateHost) {
    
            duplicateHostBhv.insertOrUpdate(duplicateHost, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void delete(final DuplicateHost duplicateHost) {
    
            duplicateHostBhv.delete(duplicateHost, op -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java

            return relatedQueryBhv.selectByPK(id);
        }
    
        public void store(final RelatedQuery relatedQuery) {
    
            relatedQueryBhv.insertOrUpdate(relatedQuery, op -> op.setRefreshPolicy(Constants.TRUE));
            ComponentUtil.getRelatedQueryHelper().update();
        }
    
        public void delete(final RelatedQuery relatedQuery) {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

     */
    package org.codelibs.fess.dict.kuromoji;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class KuromojiItemTest extends UnitFessTestCase {
        public void test_new1() {
            final KuromojiItem kuromojiItem = new KuromojiItem(1, "t1", "s1", "r1", "p1");
            assertEquals(1, kuromojiItem.getId());
            assertEquals("t1", kuromojiItem.getToken());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

    import org.opensearch.index.query.PrefixQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    
    public class QueryCommandTest extends UnitFessTestCase {
        private QueryCommand queryCommand;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            queryCommand = new QueryCommand() {
                @Override
                public QueryBuilder execute(QueryContext context, Query query, float boost) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/StopwatchTest.java

      }
    
      public void testInitialState() {
        assertFalse(stopwatch.isRunning());
        assertEquals(0, stopwatch.elapsed(NANOSECONDS));
      }
    
      public void testStart() {
        assertSame(stopwatch, stopwatch.start());
        assertTrue(stopwatch.isRunning());
      }
    
      public void testStart_whileRunning() {
        stopwatch.start();
        assertThrows(IllegalStateException.class, stopwatch::start);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      private static final ImmutableList<String> SPLIT_LINES =
          ImmutableList.of("foo", "bar", "baz", "something");
    
      private TestCharSource source;
    
      @Override
      public void setUp() {
        source = new TestCharSource(STRING);
      }
    
      public void testOpenBufferedStream() throws IOException {
        BufferedReader reader = source.openBufferedStream();
        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top