Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for filterTo (0.17 sec)

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

       *
       * <p>When methods such as {@code removeAll()} and {@code clear()} are called on the filtered
       * multimap or its views, only mappings whose keys satisfy the filter will be removed from the
       * underlying multimap.
       *
       * <p>The returned multimap isn't threadsafe or serializable, even if {@code unfiltered} is.
       *
       * <p>Many of the filtered multimap's methods, such as {@code size()}, iterate across every
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

        }
        if (unfiltered instanceof FilteredSet) {
          // Support clear(), removeAll(), and retainAll() when filtering a filtered
          // collection.
          FilteredSet<E> filtered = (FilteredSet<E>) unfiltered;
          Predicate<E> combinedPredicate = Predicates.and(filtered.predicate, predicate);
          return new FilteredSet<>((Set<E>) filtered.unfiltered, combinedPredicate);
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle_test.go

    			{
    				Status:     "Enabled",
    				Filter:     Filter{Prefix: Prefix{string: "prefix-1", set: true}},
    				Expiration: Expiration{Days: ExpirationDays(3)},
    			},
    			{
    				Status:     "Enabled",
    				Filter:     Filter{Prefix: Prefix{string: "prefix-1", set: true}},
    				Expiration: Expiration{Date: midnightTS},
    			},
    			{
    				Status:                      "Enabled",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> filtered = Iterators.filter(unfiltered, Predicates.alwaysFalse());
        List<String> expected = Collections.emptyList();
        List<String> actual = Lists.newArrayList(filtered);
        assertEquals(expected, actual);
      }
    
      public void testFilterMatchAll() {
        Iterator<String> unfiltered = Lists.newArrayList("foo", "bar").iterator();
        Iterator<String> filtered = Iterators.filter(unfiltered, Predicates.alwaysTrue());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    	hasTags := len(r.Flags.Filter.Tags) != 0
    	isMetadata := len(r.Flags.Filter.Metadata) != 0
    	isStorageClassOnly := len(r.Flags.Filter.Metadata) == 1 && strings.EqualFold(r.Flags.Filter.Metadata[0].Key, xhttp.AmzStorageClass)
    
    	skip := func(oi ObjectInfo) (ok bool) {
    		if r.Flags.Filter.OlderThan > 0 && time.Since(oi.ModTime) < r.Flags.Filter.OlderThan {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  6. .bazelrc

    test:linux_cpu_pycpp_test_filters --test_tag_filters=-no_oss,-oss_excluded,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only
    test:linux_cpu_pycpp_test_filters --build_tag_filters=-no_oss,-oss_excluded,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only
    test:linux_cpu_pycpp_test_filters --test_lang_filters=cc,py --test_size_filters=small,medium
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  7. cmd/erasure-server-pool.go

    				return false
    			}
    		}
    		for entry := range merged {
    			if opts.LatestOnly {
    				fi, err := entry.fileInfo(bucket)
    				if err != nil {
    					return
    				}
    				if opts.Filter != nil {
    					if opts.Filter(fi) {
    						if !send(fi.ToObjectInfo(bucket, fi.Name, vcfg != nil && vcfg.Versioned(fi.Name))) {
    							return
    						}
    					}
    				} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

       */
      @SuppressWarnings("unchecked") // can cast to <T> because non-Ts are removed
      @GwtIncompatible // Class.isInstance
      public static <T> UnmodifiableIterator<T> filter(Iterator<?> unfiltered, Class<T> desiredType) {
        return (UnmodifiableIterator<T>) filter(unfiltered, instanceOf(desiredType));
      }
    
      /**
       * Returns {@code true} if one or more elements returned by {@code iterator} satisfy the given
       * predicate.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    	},
    	ErrFilterNameInvalid: {
    		Code:           "InvalidArgument",
    		Description:    "filter rule name must be either prefix or suffix",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrFilterNamePrefix: {
    		Code:           "InvalidArgument",
    		Description:    "Cannot specify more than one prefix rule in a filter.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrFilterNameSuffix: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            }
            return parent;
        }
    
        private Map<String, Activation> getProfileActivations(Model model) {
            return model.getProfiles().stream()
                    .filter(p -> p.getActivation() != null)
                    .collect(Collectors.toMap(Profile::getId, Profile::getActivation));
        }
    
        private Model injectProfileActivations(Model model, Map<String, Activation> activations) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
Back to top