Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 658 for clears (1.04 sec)

  1. guava-tests/test/com/google/common/collect/AbstractTableTest.java

      public void testClear() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        if (supportsRemove()) {
          table.clear();
          assertEquals(0, table.size());
          assertFalse(table.containsRow("foo"));
        } else {
          assertThrows(UnsupportedOperationException.class, () -> table.clear());
        }
      }
    
      public void testPut() {
        assertNull(table.put("foo", 1, cellValue('a')));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. docs/en/docs/history-design-future.md

    </blockquote>
    
    ## Investigation { #investigation }
    
    By using all the previous alternatives I had the chance to learn from all of them, take ideas, and combine them in the best way I could find for myself and the teams of developers I have worked with.
    
    For example, it was clear that ideally it should be based on standard Python type hints.
    
    Also, the best approach was to use already existing standards.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

      public open fun enqueue(response: MockResponse) {
        responseQueue.add(response)
      }
    
      public open fun clear() {
        responseQueue.clear()
      }
    
      public override fun close() {
        responseQueue.add(DEAD_LETTER)
      }
    
      public open fun setFailFast(failFast: Boolean) {
        setFailFast(
          failFastResponse =
            when {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

        return Iterables.removeIf(
            multimap.unfiltered().entries(),
            and(multimap.entryPredicate(), valuePredicateOnEntries(not(in(c)))));
      }
    
      @Override
      public void clear() {
        multimap.clear();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          assertThrows(NullPointerException.class, () -> keys.toArray((Object[]) null));
          checkEmpty(cache);
        }
      }
    
      public void testKeySet_addNotSupported() {
        for (LoadingCache<Object, Object> cache : caches()) {
          assertThrows(UnsupportedOperationException.class, () -> cache.asMap().keySet().add(1));
    
          assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/PathValidator.java

            return Collections.unmodifiableSet(whitelistedPaths);
        }
    
        /**
         * Clear all blacklisted paths
         */
        public void clearBlacklist() {
            blacklistedPaths.clear();
        }
    
        /**
         * Clear all whitelisted paths
         */
        public void clearWhitelist() {
            whitelistedPaths.clear();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java

        @Test
        public void testClear() throws Exception {
            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class);
            BeanDescFactory.clear();
            assertThat(BeanDescFactory.getBeanDesc(MyBean.class), is(not(sameInstance(beanDesc))));
        }
    
        /**
         *
         */
        public static class MyBean {
    
            /**
             * @return String
             */
            public String getAaa() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.retainAll(collection);
        }
    
        @Override
        public void clear() {
          assertTrue(Thread.holdsLock(mutex));
          delegate.clear();
        }
    
        @Override
        public Object[] toArray() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toArray();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. src/Make.dist

    # The -vv causes dist to print each build command as it runs.
    # go tool dist clean cleans all directories, not just this one,
    # but it's as close as we can get.
    
    # Default target (first).
    install:
    	go tool dist install -v
    
    verbose:
    	go tool dist install -vv
    
    clean:
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Feb 08 20:26:47 UTC 2012
    - 553 bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            List<SmbTransportImpl> toClose = new ArrayList<>(this.connections);
            toClose.addAll(this.nonPooledConnections);
    
            // Clear the collections (thread-safe operations)
            this.connections.clear();
            this.nonPooledConnections.clear();
            this.activeConnections.set(0);
    
            // Close all connections outside of synchronization
            for (final SmbTransportImpl conn : toClose) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top