Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 584 for noclear (0.09 sec)

  1. guava/src/com/google/common/collect/ForwardingMultiset.java

      }
    
      /**
       * A sensible definition of {@link #clear} in terms of the {@code iterator} method of {@link
       * #entrySet}. If you override {@link #entrySet}, you may wish to override {@link #clear} to
       * forward to this implementation.
       *
       * @since 7.0
       */
      @Override
      protected void standardClear() {
        Iterators.clear(entrySet().iterator());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                        }
                        break;
                    }
                }
            }
    
            @Override
            public void onStartHtmlElement(String name) {
                attributes.clear();
            }
    
            @Override
            public void onHtmlElementAttribute(String name, String value) {
                attributes.put(name, value);
            }
    
            @Override
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        public boolean containsValue(@Nullable Object value) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.containsValue(value);
        }
    
        @Override
        public void clear() {
          assertTrue(Thread.holdsLock(mutex));
          delegate.clear();
        }
    
        @Override
        public Collection<V> values() {
          assertTrue(Thread.holdsLock(mutex));
          /* TODO: verify that the Collection is also synchronized? */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

        }
      }
    
    
      public void testKeySet_clear() {
        for (LoadingCache<Object, Object> cache : caches()) {
          warmUp(cache, 0, 100);
    
          Set<Object> keys = cache.asMap().keySet();
          keys.clear();
          checkEmpty(keys);
          checkEmpty(cache);
        }
      }
    
      public void testKeySet_empty_remove() {
        for (LoadingCache<Object, Object> cache : caches()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

         * pool thread, the thread pool will reset it for us. Otherwise, the interrupted bit may have
         * been intended for something else, so don't clear it.
         */
        boolean restoreInterruptedBit = false;
        int spinCount = 0;
        // Interrupting Cow Says:
        //  ______
        // < Spin >
        //  ------
        //        \   ^__^
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

        }
      }
    
    
      public void testKeySet_clear() {
        for (LoadingCache<Object, Object> cache : caches()) {
          warmUp(cache, 0, 100);
    
          Set<Object> keys = cache.asMap().keySet();
          keys.clear();
          checkEmpty(keys);
          checkEmpty(cache);
        }
      }
    
      public void testKeySet_empty_remove() {
        for (LoadingCache<Object, Object> cache : caches()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. internal/grid/msg.go

    		res = append(res, "SUB")
    	}
    	return "[" + strings.Join(res, ",") + "]"
    }
    
    // Set one or more flags on f.
    func (f *Flags) Set(flags Flags) {
    	*f |= flags
    }
    
    // Clear one or more flags on f.
    func (f *Flags) Clear(flags Flags) {
    	*f &^= flags
    }
    
    // parse an incoming message.
    func (m *message) parse(b []byte) (*subHandlerID, []byte, error) {
    	var sub *subHandlerID
    	if m.Payload == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java

        }
    
        /**
         * @throws Exception
         */
        @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
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/ArrayMap.java

            removeMap(e.key);
            e.clear();
            return value;
        }
    
        @Override
        public void putAll(final Map<? extends K, ? extends V> map) {
            for (final Map.Entry<? extends K, ? extends V> entry : map.entrySet()) {
                put(entry.getKey(), entry.getValue());
            }
        }
    
        @Override
        public void clear() {
            for (int i = 0; i < mapTable.length; i++) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
    
        if (supportsClear) {
          map.clear();
          assertTrue(map.isEmpty());
        } else {
          assertThrows(UnsupportedOperationException.class, () -> map.clear());
        }
        assertInvariants(map);
      }
    
      @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top