Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 648 for clears (0.12 sec)

  1. guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            while (from.read(buf) != -1) {
              ((Buffer) buf).flip();
              to.append(buf);
              total += buf.remaining();
              ((Buffer) buf).clear();
            }
            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/advanced-dependencies.md

    In Python there's a way to make an instance of a class a "callable".
    
    Not the class itself (which is already a callable), but an instance of that class.
    
    To do that, we declare a method `__call__`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:10:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

     *
     * @author Louis Wasserman
     */
    public class HashMultisetAddPresentBenchmark {
      private static final int ARRAY_MASK = 0x0ffff;
      private static final int ARRAY_SIZE = 0x10000;
      List<Multiset<Integer>> multisets = new ArrayList<>(0x10000);
      int[] queries = new int[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        Random random = new Random();
        multisets.clear();
        for (int i = 0; i < ARRAY_SIZE; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

    import org.opensearch.common.SetOnce;
    
    public class WebConfigTest extends UnitFessTestCase {
    
        @Override
        protected boolean isUseOneTimeContainer() {
            return true;
        }
    
        public void test_initializeClientFactory() {
            final Map<String, String> systemPropMap = new HashMap<>();
            FessProp.propMap.clear();
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractMultimap.java

        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          return AbstractMultimap.this.containsValue(o);
        }
    
        @Override
        public void clear() {
          AbstractMultimap.this.clear();
        }
      }
    
      Iterator<V> valueIterator() {
        return Maps.valueIterator(entries().iterator());
      }
    
      @LazyInit @CheckForNull private transient Map<K, Collection<V>> asMap;
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/app/pager/BadWordPagerTest.java

    import java.util.ArrayList;
    import java.util.List;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class BadWordPagerTest extends UnitFessTestCase {
    
        public void test_badWordPager() {
            BadWordPager badwordpager = new BadWordPager();
    
            badwordpager.clear();
            assertEquals(0, badwordpager.getAllRecordCount());
            assertEquals(0, badwordpager.getAllPageCount());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/DocListTest.java

            docList.addContentSize(1000);
            docList.addProcessingTime(999);
            assertEquals(1000, docList.getContentSize());
            assertEquals(999, docList.getProcessingTime());
    
            docList.clear();
            assertEquals(0, docList.getContentSize());
            assertEquals(0, docList.getProcessingTime());
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        unfiltered.remove("three");
        assertEquals(ImmutableMap.of("two", 2, "four", 4), unfiltered);
        assertEquals(ImmutableMap.of("four", 4), filtered);
    
        unfiltered.clear();
        assertEquals(ImmutableMap.of(), unfiltered);
        assertEquals(ImmutableMap.of(), filtered);
      }
    
      public void testFilteredValuesIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/timer/TimeoutManager.java

            }
            t.join(timeoutMillis);
            return !t.isAlive();
        }
    
        /**
         * 管理している {@link TimeoutTask}をクリアします。
         */
        public synchronized void clear() {
            timeoutTaskList.clear();
        }
    
        /**
         * {@link TimeoutTarget}を追加します。
         *
         * @param timeoutTarget target
         * @param timeout timeout
         * @param permanent permanent
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     * @author Shunji Makino
     */
    public class AdminCrawlinginfoAction extends FessAdminAction {
    
        public static final String ROLE = "admin-crawlinginfo";
    
        private static final Logger logger = LogManager.getLogger(AdminCrawlinginfoAction.class);
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top