Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 870 for _clear (0.06 sec)

  1. src/test/java/org/codelibs/fess/sso/aad/AzureAdAuthenticatorTest.java

            list.clear();
            authenticator.addGroupOrRoleName(list, "test", true);
            assertEquals(1, list.size());
            assertEquals("test", list.get(0));
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "test", false);
            assertEquals(1, list.size());
            assertEquals("test", list.get(0));
    
            list.clear();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            assertEquals(0, indexingHelper.deleteOldDocuments(client, docList));
            assertEquals(0, docList.size());
            assertEquals(0, deletedDocIdList.size());
    
            docList.clear();
            deletedDocIdList.clear();
            docList.add(new HashMap<>(Map.of(//
                    "config_id", "W01", //
                    "doc_id", "1", //
                    "url", "http://test.com/001"//
            )));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionClearTester<E> extends AbstractCollectionTester<E> {
      @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)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

        protected volatile Map<String, List<Pattern>> includeUrlPatternMap = new HashMap<>();
    
        protected volatile Map<String, List<Pattern>> excludeUrlPatternMap = new HashMap<>();
    
        public void clear() {
            urlQueueMap.clear();
            sessionMap.clear();
        }
    
        public synchronized Queue<UrlQueueImpl<Long>> getUrlQueueList(final String sessionId) {
            Queue<UrlQueueImpl<Long>> urlQueueList = urlQueueMap.get(sessionId);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. tests/named_polymorphic_test.go

    	}
    
    	DB.Model(&hamster).Association("PreferredToy").Clear()
    
    	if DB.Model(&hamster2).Association("PreferredToy").Count() != 0 {
    		t.Errorf("Hamster's preferred toy should be cleared with Clear")
    	}
    
    	if DB.Model(&hamster2).Association("OtherToy").Count() != 1 {
    		t.Errorf("Hamster's other toy should be still available")
    	}
    
    	DB.Model(&hamster).Association("OtherToy").Clear()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 08 09:59:40 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java

      public void testClear() {
        multimap().clear();
        assertCleared();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClearThroughEntries() {
        multimap().entries().clear();
        assertCleared();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClearThroughAsMap() {
        multimap().asMap().clear();
        assertCleared();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/QueuesTest.java

        Stopwatch timer = Stopwatch.createStarted();
        Queues.drainUninterruptibly(q, newArrayList(), 1, 10, MILLISECONDS);
        assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L);
        // wait for interrupted status and clear it
        while (!Thread.interrupted()) {
          Thread.yield();
        }
      }
    
      private static class Producer implements Callable<@Nullable Void> {
        final BlockingQueue<Object> q;
        final int elements;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionClearTester<E> extends AbstractCollectionTester<E> {
      @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)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/feature_request.md

    assignees: ''
    
    ---
    
    **Is your feature request related to a problem? Please describe.**
    A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
    
    **Describe the solution you'd like**
    A clear and concise description of what you want to happen.
    
    **Describe alternatives you've considered**
    A clear and concise description of any alternative solutions or features you've considered.
    
    **Additional context**
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 20:49:54 UTC 2019
    - 610 bytes
    - Viewed (0)
  10. tests/associations_belongs_to_test.go

    	// Clear
    	if err := DB.Model(&user2).Association("Company").Clear(); err != nil {
    		t.Errorf("Error happened when clear Company, got %v", err)
    	}
    
    	if err := DB.Model(&user2).Association("Manager").Clear(); err != nil {
    		t.Errorf("Error happened when clear Manager, got %v", err)
    	}
    
    	AssertAssociationCount(t, user2, "Company", 0, "after clear")
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top