Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 812 for clear (0.01 sec)

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

        totalSize -= collection.size();
        collection.clear();
    
        return unmodifiableCollectionSubclass(output);
      }
    
      <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass(
          Collection<E> collection) {
        return Collections.unmodifiableCollection(collection);
      }
    
      @Override
      public void clear() {
        // Clear each collection, to make previously returned collections empty.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  2. tests/multi_primary_keys_test.go

    	}
    
    	// Clear
    	DB.Model(&blog2).Association("LocaleTags").Clear()
    	if DB.Model(&blog).Association("LocaleTags").Count() != 3 {
    		t.Fatalf("ZH Blog's tags should not be cleared when clear EN Blog's tags")
    	}
    
    	if DB.Model(&blog2).Association("LocaleTags").Count() != 0 {
    		t.Fatalf("EN Blog's tags should be cleared when clear EN Blog's tags")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. .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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 07 20:49:54 UTC 2019
    - 610 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        // These return false, rather than throwing a UOE, on remove calls.
        return (unfiltered instanceof SetMultimap) ? emptySet() : 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            // Stop all change watchers
            for (String path : directoryCache.keySet()) {
                changeNotifier.stopWatching(path);
            }
    
            // Clear caches
            directoryCache.clear();
            leaseToPath.clear();
        }
    
        /**
         * Clean up expired cache entries
         */
        private void cleanupExpiredEntries() {
            List<String> expiredPaths = new ArrayList<>();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

          if (record != null) {
            list.add(record);
          }
        }
      }
    
      @Override
      public void flush() {}
    
      @Override
      public void close() {}
    
      public void clear() {
        synchronized (lock) {
          list.clear();
        }
      }
    
      /** Returns a snapshot of the logged records. */
      /*
       * TODO(cpovirk): consider higher-level APIs here (say, assertNoRecordsLogged(),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

            assertEquals(0, list.size());
    
            cmd = "test.sh";
            params.clear();
            list = extractor.parseCommand(cmd, params);
            assertEquals(1, list.size());
            assertEquals("test.sh", list.get(0));
    
            cmd = "test.sh \"test1 ' test2\"";
            params.clear();
            list = extractor.parseCommand(cmd, params);
            assertEquals(2, list.size());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/NtlmMessage.java

            return (getFlags() & flag) != 0;
        }
    
        /**
         * Sets or clears the specified flag.
         *
         * @param flag
         *            The flag to set/clear (i.e.,
         *            <code>NTLMSSP_NEGOTIATE_OEM</code>).
         * @param value
         *            Indicates whether to set (<code>true</code>) or
         *            clear (<code>false</code>) the specified flag.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingMap.java

        }
        return null;
      }
    
      /**
       * A sensible definition of {@link #clear} in terms of the {@code iterator} method of {@link
       * #entrySet}. In many cases, you may wish to override {@link #clear} to forward to this
       * implementation.
       *
       * @since 7.0
       */
      protected void standardClear() {
        Iterators.clear(entrySet().iterator());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top