Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,476 for atrule (0.05 sec)

  1. cmd/bucket-lifecycle-handlers_test.go

    			expectedRespStatus: http.StatusOK,
    			lifecycleResponse:  []byte(``),
    			errorResponse:      APIErrorResponse{},
    			shouldPass:         true,
    		},
    		{
    			method:             http.MethodGet,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/and.go

    	}
    	return nil
    }
    
    // ContainsDuplicateTag - returns true if duplicate keys are present in And
    func (a And) ContainsDuplicateTag() bool {
    	x := make(map[string]struct{}, len(a.Tags))
    
    	for _, t := range a.Tags {
    		if _, has := x[t.Key]; has {
    			return true
    		}
    		x[t.Key] = struct{}{}
    	}
    
    	return false
    }
    
    // BySize returns true when sz satisfies a
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle_test.go

    			expectedErr: errInvalidStorageClass,
    		},
    		{
    			// no transition rule
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  4. cmd/batch-expire.go

    				select {
    				case <-ctx.Done():
    					done = true
    				case expireCh <- xfer:
    					toDel = toDel[:0] // resetting toDel
    				}
    				if done {
    					break
    				}
    			}
    			var match BatchJobExpireFilter
    			var found bool
    			for _, rule := range r.Rules {
    				if rule.Matches(result.Item, now) {
    					match = rule
    					found = true
    					break
    				}
    			}
    			if !found {
    				continue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java

        @Test
        public void testHasNext() {
            final ArrayIterator<String> itr = new ArrayIterator<String>("A", "B");
            assertThat(itr.hasNext(), is(true));
            itr.next();
            assertThat(itr.hasNext(), is(true));
            itr.next();
            assertThat(itr.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/filter.go

    		}
    		f.cachedTags = cache
    	}
    
    	// This filter does not have any tags, always return true
    	if len(f.cachedTags) == 0 {
    		return true
    	}
    
    	parsedTags, err := tags.ParseObjectTags(userTags)
    	if err != nil {
    		return false
    	}
    	tagsMap := parsedTags.ToMap()
    
    	// Not enough tags on object to satisfy the rule filter's tags
    	if len(tagsMap) < len(f.cachedTags) {
    		return false
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. docs/bucket/replication/setup_ilm_expiry_replication.sh

    ## other site
    id=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[] | select(.Expiration.Days==3) | .ID' | sed 's/"//g')
    # Remove rule from siteb
    ./mc ilm rule remove --id "${id}" siteb/bucket
    sleep 30s # allow to replicate
    
    # sitea should still contain the transition portion of rule
    transitionRuleDays=$(./mc ilm rule list sitea/bucket --json | jq '.config.Rules[0].Transition.Days')
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. cmd/bucket-replication-handlers.go

    	buf := bytes.Repeat([]byte("a"), 8)
    	for _, rule := range replicationConfig.Rules {
    		if rule.Status == replication.Disabled {
    			continue
    		}
    		clnt := globalBucketTargetSys.GetRemoteTargetClient(bucket, rule.Destination.Bucket)
    		if clnt == nil {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErrWithErr(ErrRemoteTargetNotFoundError, fmt.Errorf("replication config with rule ID %s has a stale target", rule.ID)), r.URL)
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/01-pkgsite.yml

        validations:
          required: true
      - type: textarea
        id: actual-behavior
        attributes:
          label: "What did you see happen?"
        validations:
          required: true
      - type: textarea
        id: expected-behavior
        attributes:
          label: "What did you expect to see?"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            final int m = cal.get(Calendar.MINUTE);
            final int d = cal.get(Calendar.DAY_OF_WEEK); // SUN(1) - SAT(7)
            for (final IntervalRule rule : ruleList) {
                if (rule.isTarget(h, m, d)) {
                    return rule.getDelay();
                }
            }
            return 0;
        }
    
        protected Calendar getCurrentCal() {
            final Calendar cal = Calendar.getInstance();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top