Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 227 for daysIn (0.1 sec)

  1. internal/bucket/lifecycle/rule_test.go

    				<Expiration>
    					<Days>365</Days>
    				</Expiration>
                                <Status>Enabled</Status>
    	                    </Rule>`,
    			expectedErr: errXMLNotWellFormed,
    		},
    		{
    			inputXML: `<Rule>
    				<ID>Rule with a tag and DelMarkerExpiration</ID>
    				<Filter><Tag><Key>k1</Key><Value>v1</Value></Tag></Filter>
    				<DelMarkerExpiration>
    					<Days>365</Days>
    				</DelMarkerExpiration>
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

    import gradlebuild.buildutils.model.ReleasedVersion
    import gradlebuild.buildutils.model.ReleasedVersions
    import spock.lang.Specification
    
    import java.text.SimpleDateFormat
    
    import static java.util.concurrent.TimeUnit.DAYS
    
    class UpdateReleasedVersionsTest extends Specification {
    
        def format = new SimpleDateFormat('yyyyMMddHHmmssZ')
    
        def setup() {
            format.timeZone = TimeZone.getTimeZone("UTC")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.4K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/cache/FileAccessTimeJournalFixture.groovy

            }
        }
    
        void writeJournalInceptionTimestamp(long millis) {
            fileAccessPropertiesFile.text = "${INCEPTION_TIMESTAMP_KEY} = $millis"
        }
    
        long daysAgo(long days) {
            System.currentTimeMillis() - DAYS.toMillis(days)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/cache/internal/GradleUserHomeCleanupFixture.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:02:29 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/caching/local/DirectoryBuildCache.java

        }
    
        /**
         * Returns the number of days after unused entries are garbage collected. Defaults to 7 days.
         *
         * @since 4.6
         * @deprecated
         */
        @Deprecated
        public int getRemoveUnusedEntriesAfterDays() {
            return removeUnusedEntriesAfterDays;
        }
    
        /**
         * Sets the number of days after unused entries are garbage collected. Defaults to 7 days.
         *
         * Must be greater than 1.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 21:43:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. tests/integration/security/sds_ingress/util/generate_certs.sh

            -days 3650 -nodes -out "${WD}/rootA.crt" -keyout "${WD}/rootA.key" \
            -subj "/C=US/ST=Denial/L=Ether/O=Dis/CN=*.example.com" \
            -addext "subjectAltName = DNS:*.example.com"
    
    openssl genrsa -out "${WD}/clientA.key" 2048
    openssl req -new -key "${WD}/clientA.key" -out "${WD}/clientA.csr" -subj "/CN=*.example.com" -config "${WD}/client.conf"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 05 22:01:21 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/delmarker-expiration_test.go

    )
    
    func TestDelMarkerExpParseAndValidate(t *testing.T) {
    	tests := []struct {
    		xml string
    		err error
    	}{
    		{
    			xml: `<DelMarkerExpiration> <Days> 1 </Days> </DelMarkerExpiration>`,
    			err: nil,
    		},
    		{
    			xml: `<DelMarkerExpiration> <Days> -1 </Days> </DelMarkerExpiration>`,
    			err: errInvalidDaysDelMarkerExpiration,
    		},
    	}
    
    	for i, test := range tests {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/delmarker-expiration.go

    import (
    	"encoding/xml"
    	"time"
    )
    
    var errInvalidDaysDelMarkerExpiration = Errorf("Days must be a positive integer with DelMarkerExpiration")
    
    // DelMarkerExpiration used to xml encode/decode ILM action by the same name
    type DelMarkerExpiration struct {
    	XMLName xml.Name `xml:"DelMarkerExpiration"`
    	Days    int      `xml:"Days,omitempty"`
    }
    
    // Empty returns if a DelMarkerExpiration XML element is empty.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. .github/workflows/stale-pr.yml

              # (see actions/stale documentation for the behavior)
              days-before-issue-stale: -1
              stale-issue-label: stale
              stale-issue-message: >
                **BUG!** This issue should not be marked stale by the "stale" workflow.
                Please report it to @gradle/bt-support team
              days-before-issue-close: -1
              close-issue-message: >
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/functional/src/main/java/org/gradle/internal/time/TimestampSuppliers.java

                }
            };
        }
    
        /**
         * Returns a supplier that calculates a timestamp exactly the given number of days
         * prior to the current time, or 0 if the number of days extends beyond the epoch.
         */
        public static Supplier<Long> daysAgo(int days) {
            return inThePast(days, TimeUnit.DAYS);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top