Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for Expires (0.05 sec)

  1. cmd/signature-v2.go

    		canonicalHeaders += "\n"
    	}
    
    	date := expires // Date is set to expires date for presign operations.
    	if date == "" {
    		// If expires date is empty then request header Date is used.
    		date = headers.Get(xhttp.Date)
    	}
    
    	// From the Amazon docs:
    	//
    	// StringToSign = HTTP-Verb + "\n" +
    	// 	 Content-Md5 + "\n" +
    	//	 Content-Type + "\n" +
    	//	 Date/Expires + "\n" +
    	//	 CanonicalizedProtocolHeaders +
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. cmd/signature-v2_test.go

    		},
    		// (3) Should give an expired request if it has expired.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": accessKey,
    			},
    			expected: ErrExpiredPresignRequest,
    		},
    		// (4) Should error when the signature does not match.
    		{
    			queryParams: map[string]string{
    				"Expires":        fmt.Sprintf("%d", now.Unix()+60),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // 0 expires
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // reorder
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(2, MILLISECONDS);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // 3 expires
        ticker.advance(1, MILLISECONDS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/Crawler.java

            public String propertiesPath;
    
            /** Number of days after which documents should expire and be cleaned up. */
            @Option(name = "-e", aliases = "--expires", metaVar = "expires", usage = "Expires for documents")
            public String expires;
    
            /** Interval in milliseconds for hot thread monitoring and logging. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

        /**
         * The token parameter.
         */
        public static final String TOKEN = "token";
    
        /**
         * The expires parameter.
         */
        public static final String EXPIRES = "expires";
    
        /**
         * The expired time parameter.
         */
        public static final String EXPIRED_TIME = "expiredTime";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  6. cmd/object-api-datatypes.go

    	Inlined bool
    
    	DataBlocks   int
    	ParityBlocks int
    }
    
    // ExpiresStr returns a stringified version of Expires header in http.TimeFormat
    func (o ObjectInfo) ExpiresStr() string {
    	var expires string
    	if !o.Expires.IsZero() {
    		expires = o.Expires.UTC().Format(http.TimeFormat)
    	}
    	return expires
    }
    
    // ArchiveInfo returns any saved zip archive meta information.
    // It will be decrypted if needed.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/PurgeDocJob.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    /**
     * Job for purging expired documents from the search index.
     * This job removes documents that have passed their expiration time based on the expires field.
     * It helps maintain the search index by cleaning up outdated content automatically.
     */
    public class PurgeDocJob {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

        }
    
        public void test_process_withExpires() throws Exception {
            // Test that expires value is properly set
            Crawler.Options options = new Crawler.Options();
            options.sessionId = "test-session";
            options.expires = "14";
    
            // Verify the expires value is set
            assertEquals("14", options.expires);
        }
    
        public void test_process_withInvalidExpires() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            purgeDocJob = new PurgeDocJob();
    
            // Reset flags and variables
            deleteByQueryCalled = false;
            deleteIndex = null;
            deleteQuery = null;
            expiresFieldName = "expires";
            documentUpdateIndex = "fess.update";
    
            // Create mock SearchEngineClient
            searchEngineClient = new SearchEngineClient() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
            .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
            .body("ABC")
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Last-Modified: " + formatDate(-5, TimeUnit.MINUTES))
            .addHeader("Expires: " + formatDate(2, TimeUnit.HOURS))
            .body("DEF")
            .build(),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
Back to top