Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2571 - 2580 of 4,441 for avoid (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

    public class QueueOfferTester<E> extends AbstractQueueTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testOffer_supportedNotPresent() {
        assertTrue("offer(notPresent) should return true", getQueue().offer(e3()));
        expectAdded(e3());
      }
    
      @CollectionFeature.Require({SUPPORTS_ADD, ALLOWS_NULL_VALUES})
      public void testOffer_nullSupported() {
        assertTrue("offer(null) should return true", getQueue().offer(null));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/Tokenizer.java

            this.ctype = ctype;
        }
    
        /**
         * Sets up the character type array.
         *
         * @param ctype2
         *            The array of character types to set up.
         */
        protected static void setup(final byte[] ctype2) {
            wordChars(ctype2, 'a', 'z');
            wordChars(ctype2, 'A', 'Z');
            wordChars(ctype2, '0', '9');
            wordChar(ctype2, '@');
            wordChar(ctype2, '|');
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

         * @param maxLength The maximum content length in bytes
         * @throws CrawlerSystemException if the MIME type is blank or maxLength is negative
         */
        public void addMaxLength(final String mimeType, final long maxLength) {
            if (StringUtil.isBlank(mimeType)) {
                throw new CrawlerSystemException("MIME type is a blank.");
            }
            if (maxLength < 0) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TestLocking.java

            // Default constructor
        }
    
        int numThreads = 1;
        int numIter = 1;
        long delay = 100;
        String url = null;
        int numComplete = 0;
        long ltime = 0L;
    
        @Override
        public void run() {
            try {
                final SmbFile f = new SmbFile(url);
                final SmbFile d = new SmbFile(f.getParent());
                final byte[] buf = new byte[1024];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

      }
    
      static <K extends @Nullable Object, V extends @Nullable Object> Entry<V, K> reverseEntry(
          Entry<K, V> entry) {
        return mapEntry(entry.getValue(), entry.getKey());
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
        super.expectContents(expected);
        List<Entry<V, K>> reversedEntries = new ArrayList<>();
        for (Entry<K, V> entry : expected) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

        public MetadataTreeNode getTree() {
            return treeRoot;
        }
        // ----------------------------------------------------------------------------
        public void setTree(MetadataTreeNode root) {
            this.treeRoot = root;
        }
    
        public void initTreeProcessing(PlexusContainer plexus) throws ComponentLookupException {
            classpathTransformation = plexus.lookup(ClasspathTransformation.class);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        collection.clear();
        assertTrue("After clear(), a collection should be empty.", collection.isEmpty());
        assertEquals(0, collection.size());
        assertFalse(collection.iterator().hasNext());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testClear_unsupported() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java

          return delegate;
        }
      }
    
      public void testPutIfAbsent() {
        TestMap map = new TestMap();
        map.put("foo", 1);
        assertEquals(Integer.valueOf(1), map.putIfAbsent("foo", 2));
        assertEquals(Integer.valueOf(1), map.get("foo"));
        assertThat(map.putIfAbsent("bar", 3)).isNull();
        assertEquals(Integer.valueOf(3), map.get("bar"));
      }
    
      public void testRemove() {
        TestMap map = new TestMap();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

             * @param timeout The search timeout.
             */
            public void setSearchTimeout(final String timeout) {
                this.searchTimeout = timeout;
            }
    
            /**
             * Sets the index timeout.
             * @param timeout The index timeout.
             */
            public void setIndexTimeout(final String timeout) {
                this.indexTimeout = timeout;
            }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java

        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("sitemapsHelper", SitemapsHelper.class)//
                    .singleton("sitemapsRule", SitemapsRule.class);
            sitemapsRule = container.getComponent("sitemapsRule");
        }
    
        public void test_match() {
            assertMatchTrue(getTestData1_OK());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top