Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 1,111 for removes (0.25 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

       * Thus, calls like asMap().values().remove(someList) are safe because they are comparing a list
       * to a collection of other lists.
       */
      @SuppressWarnings("CollectionUndefinedEquality")
      public void testValuesRemove() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3()));
        assertTrue(multimap().asMap().values().remove(singletonList(v0())));
        assertEquals(2, multimap().size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            }
    
            @Override
            public boolean add(final E e) {
                return parent.add(e);
            }
    
            @Override
            public boolean remove(final Object o) {
                return parent.remove(o);
            }
    
            @Override
            public boolean containsAll(final Collection<?> c) {
                return parent.containsAll(c);
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        map.put(3, "d");
        map.put(2, "c");
        map.remove(1);
        testHasMapEntriesInOrder(map, 4, "b", 3, "d", 2, "c");
      }
    
      public void testInsertionOrderAfterRemoveMiddleEntry() {
        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
        map.put(4, "b");
        map.put(3, "d");
        map.put(2, "c");
        map.remove(4);
        testHasMapEntriesInOrder(map, 1, "a", 3, "d", 2, "c");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

                            break;
                          case 8:
                            oldValue = map.remove(key);
                            threadSum -= oldValue;
                            break;
                          case 9:
                            oldValue = map.get(key);
                            if (map.remove(key, oldValue)) {
                              threadSum -= oldValue;
                            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/ShareEnumIterator.java

         */
        @Override
        public void close() {
            // nothing to clean up
            this.next = null;
        }
    
        @Override
        public void remove() {
            throw new UnsupportedOperationException("remove");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            assertEquals(250, SmbConstants.DEFAULT_SSN_LIMIT);
            assertEquals(35000, SmbConstants.DEFAULT_CONN_TIMEOUT);
            // Note: USE_UNICODE and FORCE_UNICODE don't exist in the interface
            // These tests should be removed or replaced with actual constants
        }
    
        /**
         * Test individual FLAGS2 constants.
         */
        @Test
        @DisplayName("FLAGS2 individual constants are correct")
        void flags2ConstantsTest() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java

        void omitForNearer(Artifact omitted, Artifact kept);
    
        void updateScope(Artifact artifact, String scope);
    
        @Deprecated
        void manageArtifact(Artifact artifact, Artifact replacement);
    
        // TODO Remove ResolutionListenerDM interface
    
        void omitForCycle(Artifact artifact);
    
        /**
         * This event means that the artifactScope has NOT been updated to a farther node artifactScope because current
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. ci/official/utilities/setup_docker.sh

      if [[ "$TFCI_DOCKER_REBUILD_UPLOAD_ENABLE" == 1 ]]; then
        docker push "$TFCI_DOCKER_IMAGE"
      fi
    fi
    
    # Keep the existing "tf" container if it's already present.
    # The container is not cleaned up automatically! Remove it with:
    # docker rm tf
    if ! docker container inspect tf >/dev/null 2>&1 ; then
      # Pass all existing TFCI_ variables into the Docker container
      env_file=$(mktemp)
      env | grep ^TFCI_ > "$env_file"
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jan 09 18:37:25 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ResourceManager.java

        }
    
        /**
         * Unregister a resource
         *
         * @param resourceId the resource ID
         */
        public void unregisterResource(String resourceId) {
            ResourceHolder holder = activeResources.remove(resourceId);
            if (holder != null) {
                if (!holder.closed) {
                    holder.closed = true;
                    totalReleased.incrementAndGet();
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

        @Override
        @SuppressWarnings("unchecked")
        public boolean remove(@Nullable Object o) {
          if (o instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) o;
            if (unfiltered.containsKey(entry.getKey())
                // if this holds, then we know entry.getKey() is a K
                && keyPredicate.apply((K) entry.getKey())) {
              return unfiltered.remove(entry.getKey(), entry.getValue());
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top