Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 564 for Clear (0.03 sec)

  1. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

            synchronized (BeanDescFactory.class) {
                if (!initialized) {
                    DisposableUtil.add(BeanDescFactory::clear);
                    initialized = true;
                }
            }
        }
    
        /**
         * キャッシュをクリアします。
         */
        public static void clear() {
            beanDescCache.clear();
            initialized = false;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return (unfiltered instanceof SetMultimap)
            ? Collections.<V>emptySet()
            : Collections.<V>emptyList();
      }
    
      @Override
      public void clear() {
        entries().clear();
      }
    
      @Override
      public Collection<V> get(@ParametricNullness K key) {
        return filterCollection(unfiltered.get(key), new ValuePredicate(key));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. tests/joins_table_test.go

    	}
    
    	DB.Model(&person).Association("Addresses").Clear()
    
    	if DB.Model(&person).Association("Addresses").Count() != 0 {
    		t.Fatalf("Should deleted all addresses")
    	}
    
    	if DB.Unscoped().Model(&person).Association("Addresses").Count() != 2 {
    		t.Fatalf("Should found soft deleted addresses with unscoped")
    	}
    
    	DB.Unscoped().Model(&person).Association("Addresses").Clear()
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Sep 10 13:46:18 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java

                searchPaging(data, form);
            });
        }
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse search(final SearchForm form) {
            saveToken();
            searchLogPager.clear();
            copyBeanToBean(form, searchLogPager, op -> op.exclude(Constants.PAGER_CONVERSION_RULE));
            searchLogPager.setPageSize(form.getPageSize());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

      @BeforeExperiment
      protected void setUp() {
        BitSet bitSet = new BitSet();
        for (int i = 0; i < OLD_WHITESPACE_TABLE.length(); i++) {
          bitSet.set(OLD_WHITESPACE_TABLE.charAt(i));
        }
        bitSet.clear(0);
        bitSet.clear(1);
        matcher = useNew ? CharMatcher.whitespace() : OLD_WHITESPACE;
        teststring = newTestString(new Random(1), bitSet, percentMatching);
      }
    
      @Benchmark
      public int countIn(int reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

      @BeforeExperiment
      protected void setUp() {
        BitSet bitSet = new BitSet();
        for (int i = 0; i < OLD_WHITESPACE_TABLE.length(); i++) {
          bitSet.set(OLD_WHITESPACE_TABLE.charAt(i));
        }
        bitSet.clear(0);
        bitSet.clear(1);
        matcher = useNew ? CharMatcher.whitespace() : OLD_WHITESPACE;
        teststring = newTestString(new Random(1), bitSet, percentMatching);
      }
    
      @Benchmark
      public int countIn(int reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

    public class MultisetEntrySetTester<E> extends AbstractMultisetTester<E> {
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testEntrySet_clear() {
        getMultiset().entrySet().clear();
        assertTrue("multiset not empty after entrySet().clear()", getMultiset().isEmpty());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testEntrySet_iteratorRemovePropagates() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. docs_src/events/tutorial003.py

    @asynccontextmanager
    async def lifespan(app: FastAPI):
        # Load the ML model
        ml_models["answer_to_everything"] = fake_answer_to_everything_ml_model
        yield
        # Clean up the ML models and release the resources
        ml_models.clear()
    
    
    app = FastAPI(lifespan=lifespan)
    
    
    @app.get("/predict")
    async def predict(x: float):
        result = ml_models["answer_to_everything"](x)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 07 15:46:00 UTC 2023
    - 569 bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

        private int expiredCount;
    
        protected void setUp() throws Exception {
            expiredCount = 0;
            TimeoutManager.getInstance().clear();
        }
    
        protected void tearDown() throws Exception {
            TimeoutManager.getInstance().clear();
        }
    
        /**
         * @throws Exception
         */
        public void testExpired() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        @Override
        public @Nullable V remove(Object object) {
          assertTrue(Thread.holdsLock(mutex));
          return super.remove(object);
        }
    
        @Override
        public void clear() {
          assertTrue(Thread.holdsLock(mutex));
          super.clear();
        }
    
        @Override
        public boolean containsKey(Object key) {
          assertTrue(Thread.holdsLock(mutex));
          return super.containsKey(key);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top