Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 790 for noclear (0.05 seconds)

  1. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

          size -= oldCount;
        } else {
          backingMap.setValue(entryIndex, newCount);
          size += newCount - oldCount;
        }
        return true;
      }
    
      @Override
      public final void clear() {
        backingMap.clear();
        size = 0;
      }
    
      /**
       * Skeleton of per-entry iterators. We could push this down and win a few bytes, but it's complex
       * enough it's not especially worth it.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/DocListTest.java

            docList.addContentSize(1000);
            docList.addProcessingTime(999);
            assertEquals(1000, docList.getContentSize());
            assertEquals(999, docList.getProcessingTime());
    
            docList.clear();
            assertEquals(0, docList.getContentSize());
            assertEquals(0, docList.getProcessingTime());
        }
    
        @Test
        public void test_addContentSize_multiple() {
            DocList docList = new DocList();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/SecureKeyManager.java

            return key;
        }
    
        /**
         * Clear all stored keys
         */
        public void clearAllKeys() {
            checkNotClosed();
    
            log.info("Clearing all stored keys");
    
            // Wipe all raw keys
            for (Map.Entry<String, byte[]> entry : rawKeys.entrySet()) {
                Arrays.fill(entry.getValue(), (byte) 0);
            }
            rawKeys.clear();
    
            // Destroy all secret keys
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/HashBiMap.java

        Inverse(HashBiMap<K, V> obverse) {
          this.obverse = obverse;
        }
    
        @Override
        public int size() {
          return obverse.size;
        }
    
        @Override
        public void clear() {
          obverse.clear();
        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          Object obverseValue = key;
          return obverse.containsValue(obverseValue);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  5. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  6. docs_src/app_testing/tutorial004_py310.py

    items = {}
    
    
    @asynccontextmanager
    async def lifespan(app: FastAPI):
        items["foo"] = {"name": "Fighters"}
        items["bar"] = {"name": "Tenders"}
        yield
        # clean up items
        items.clear()
    
    
    app = FastAPI(lifespan=lifespan)
    
    
    @app.get("/items/{item_id}")
    async def read_items(item_id: str):
        return items[item_id]
    
    
    def test_read_items():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractMultimap.java

        }
    
        @Override
        public boolean contains(@Nullable Object o) {
          return AbstractMultimap.this.containsValue(o);
        }
    
        @Override
        public void clear() {
          AbstractMultimap.this.clear();
        }
      }
    
      Iterator<V> valueIterator() {
        return Maps.valueIterator(entries().iterator());
      }
    
      @LazyInit private transient @Nullable Map<K, Collection<V>> asMap;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            // Invalid integer should use default
            props.clear();
            props.setProperty("jcifs.smb.client.maxChannels", "invalid");
            config = new PropertyConfiguration(props);
            assertEquals(4, config.getMaxChannels());
    
            // Invalid channel binding policy should default to preferred
            props.clear();
            props.setProperty("jcifs.smb.client.channelBindingPolicy", "invalid");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/context/SingletonContextTest.java

                fail("Failed to reset SingletonContext instance: " + e.getMessage());
            }
            // Clear system properties that might affect the test
            System.clearProperty("jcifs.properties");
            System.clearProperty("java.protocol.handler.pkgs");
            // Clear jcifs-specific properties to prevent test interference
            System.clearProperty("jcifs.smb.client.nativeOs");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/CompactHashMap.java

        }
    
        @Override
        public Iterator<K> iterator() {
          return keySetIterator();
        }
    
        @Override
        public void clear() {
          CompactHashMap.this.clear();
        }
      }
    
      Iterator<K> keySetIterator() {
        Map<K, V> delegate = delegateOrNull();
        if (delegate != null) {
          return delegate.keySet().iterator();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
Back to Top