Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 519 for filter0 (0.1 sec)

  1. internal/bucket/lifecycle/filter.go

    package lifecycle
    
    import (
    	"encoding/xml"
    	"io"
    
    	"github.com/minio/minio-go/v7/pkg/tags"
    )
    
    var errInvalidFilter = Errorf("Filter must have exactly one of Prefix, Tag, or And specified")
    
    // Filter - a filter for a lifecycle configuration Rule.
    type Filter struct {
    	XMLName xml.Name `xml:"Filter"`
    	set     bool
    
    	Prefix Prefix
    
    	ObjectSizeGreaterThan int64 `xml:"ObjectSizeGreaterThan,omitempty"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. internal/bucket/replication/filter.go

    )
    
    var errInvalidFilter = Errorf("Filter must have exactly one of Prefix, Tag, or And specified")
    
    // Filter - a filter for a replication configuration Rule.
    type Filter struct {
    	XMLName xml.Name `xml:"Filter" json:"Filter"`
    	Prefix  string
    	And     And
    	Tag     Tag
    
    	// Caching tags, only once
    	cachedTags map[string]string
    }
    
    // IsEmpty returns true if filter is not set
    func (f Filter) IsEmpty() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 28 18:25:46 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilterTest.java

            OrArtifactFilter filter1 = new OrArtifactFilter();
    
            OrArtifactFilter filter2 = new OrArtifactFilter(Arrays.asList(newSubFilter()));
    
            assertFalse(filter1.equals(null));
            assertTrue(filter1.equals(filter1));
            assertEquals(filter1.hashCode(), filter1.hashCode());
    
            assertFalse(filter1.equals(filter2));
            assertFalse(filter2.equals(filter1));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

        void testEquals() {
            AndArtifactFilter filter1 = new AndArtifactFilter();
    
            AndArtifactFilter filter2 = new AndArtifactFilter(Arrays.asList(newSubFilter()));
    
            assertFalse(filter1.equals(null));
            assertTrue(filter1.equals(filter1));
            assertEquals(filter1.hashCode(), filter1.hashCode());
    
            assertFalse(filter1.equals(filter2));
            assertFalse(filter2.equals(filter1));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilter.java

        public OrArtifactFilter() {
            this.filters = new LinkedHashSet<>();
        }
    
        public OrArtifactFilter(Collection<ArtifactFilter> filters) {
            this.filters = new LinkedHashSet<>(filters);
        }
    
        public boolean include(Artifact artifact) {
            for (ArtifactFilter filter : filters) {
                if (filter.include(artifact)) {
                    return true;
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

        /**
         * User property for version filters expression, a semicolon separated list of filters to apply. By default, no version
         * filter is applied (like in Maven 3).
         * <br/>
         * Supported filters:
         * <ul>
         *     <li>"h" or "h(num)" - highest version or top list of highest ones filter</li>
         *     <li>"l" or "l(num)" - lowest version or bottom list of lowest ones filter</li>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:24:08 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. cmd/batch-replicate.go

    }
    
    // BatchJobReplicateFlags various configurations for replication job definition currently includes
    // - filter
    // - notify
    // - retry
    type BatchJobReplicateFlags struct {
    	Filter BatchReplicateFilter `yaml:"filter" json:"filter"`
    	Notify BatchJobNotification `yaml:"notify" json:"notify"`
    	Retry  BatchJobRetry        `yaml:"retry" json:"retry"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

         * @param filters The filters to combine, may be {@code null}.
         */
        public CumulativeScopeArtifactFilter(CumulativeScopeArtifactFilter... filters) {
            this.scopes = new HashSet<>();
    
            if (filters != null) {
                for (CumulativeScopeArtifactFilter filter : filters) {
                    addScopes(filter.getScopes());
                }
            }
        }
    
        private void addScopes(Collection<String> scopes) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

    @Singleton
    @Deprecated(since = "4.0.0")
    public class JdkVersionProfileActivator implements ProfileActivator {
    
        private static final Pattern FILTER_1 = Pattern.compile("[^\\d._-]");
        private static final Pattern FILTER_2 = Pattern.compile("[._-]");
        private static final Pattern FILTER_3 = Pattern.compile("\\."); // used for split now
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. internal/bucket/replication/replication_test.go

    			Rules: []Rule{
    				{
    					Status:                  Enabled,
    					Priority:                3,
    					DeleteMarkerReplication: DeleteMarkerReplication{Status: Disabled},
    					DeleteReplication:       DeleteReplication{Status: Disabled},
    					Filter:                  Filter{},
    				},
    			},
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 32.5K bytes
    - Viewed (0)
Back to top