Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,469 for removed0 (0.06 sec)

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

        assertEquals(INITIAL_COUNT, multiset.remove(KEY, 0));
      }
    
      public void testRemove_zeroFromNone() {
        when(backingMap.get(KEY)).thenReturn(null);
    
        assertEquals(0, multiset.remove(KEY, 0));
      }
    
      public void testRemove_nonePresent() {
        when(backingMap.get(KEY)).thenReturn(null);
    
        assertEquals(0, multiset.remove(KEY, 400));
      }
    
      public void testRemove_someRemaining() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body_multiple_params/test_tutorial003.py

                        "loc": ["body", "importance"],
                        "msg": "Field required",
                        "input": None,
                    },
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "item"],
                        "msg": "field required",
                        "type": "value_error.missing",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/av/AvPairs.java

        }
    
    
        /**
         * Remove all occurances of the given type
         * 
         * @param pairs
         * @param type
         */
        public static void remove ( List<AvPair> pairs, int type ) {
            Iterator<AvPair> it = pairs.iterator();
            while ( it.hasNext() ) {
                AvPair p = it.next();
                if ( p.getType() == type ) {
                    it.remove();
                }
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      @Override
      public Collection<V> removeAll(@CheckForNull Object key) {
        return MoreObjects.firstNonNull(asMap().remove(key), unmodifiableEmptyCollection());
      }
    
      Collection<V> unmodifiableEmptyCollection() {
        // These return false, rather than throwing a UOE, on remove calls.
        return (unfiltered instanceof SetMultimap)
            ? Collections.<V>emptySet()
            : Collections.<V>emptyList();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_schema_extra_example/test_tutorial004.py

                                            ],
                                        }
                                    )
                                    | IsDict(
                                        # TODO: remove when deprecating Pydantic v1
                                        {
                                            "allOf": [
                                                {"$ref": "#/components/schemas/Item"}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

        assertEquals(Multisets.immutableEntry(k0(), 1), itr.next());
        itr.remove();
        assertTrue(multimap().isEmpty());
      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeysEntrySetRemove() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k1(), v0()));
        assertTrue(multimap().keys().entrySet().remove(Multisets.immutableEntry(k0(), 2)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. callbacks.go

    }
    
    func (p *processor) Register(name string, fn func(*DB)) error {
    	return (&callback{processor: p}).Register(name, fn)
    }
    
    func (p *processor) Remove(name string) error {
    	return (&callback{processor: p}).Remove(name)
    }
    
    func (p *processor) Replace(name string, fn func(*DB)) error {
    	return (&callback{processor: p}).Replace(name, fn)
    }
    
    func (p *processor) compile() (err error) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                  @Override
                  public String toString() {
                    return map.toString();
                  }
    
                  @Override
                  public @Nullable String remove(Object key) {
                    return map.remove(key);
                  }
    
                  class EntrySet extends AbstractSet<Map.Entry<String, String>> {
                    @Override
                    public Iterator<Entry<String, String>> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. src/main/webapp/js/search.js

        e.trigger.classList.remove("url-copy");
        e.trigger.classList.remove("far");
        e.trigger.classList.remove("fa-copy");
        e.trigger.classList.add("url-copied");
        e.trigger.classList.add("fas");
        e.trigger.classList.add("fa-check");
        setTimeout(function(){
          e.trigger.classList.remove("url-copied");
          e.trigger.classList.remove("fas");
          e.trigger.classList.remove("fa-check");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingQueue.java

        }
      }
    
      /**
       * A sensible definition of {@link #poll} in terms of {@link #remove}. If you override {@link
       * #remove}, you may wish to override {@link #poll} to forward to this implementation.
       *
       * @since 7.0
       */
      @CheckForNull
      protected E standardPoll() {
        try {
          return remove();
        } catch (NoSuchElementException caught) {
          return null;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 4.1K bytes
    - Viewed (0)
Back to top