Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,277 for kime (0.02 sec)

  1. cmd/version_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    	"time"
    )
    
    func TestVersion(t *testing.T) {
    	Version = "2017-05-07T06:37:49Z"
    	_, err := time.Parse(time.RFC3339, Version)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 956 bytes
    - Viewed (0)
  2. cmd/local-locker.go

    // Caller must hold 'l.mutex' lock.
    func (l *localLocker) expireOldLocks(interval time.Duration) {
    	defer l.getMutex()()
    
    	var readers, writers int32
    	for k, lris := range l.lockMap {
    		modified := false
    		for i := 0; i < len(lris); {
    			lri := &lris[i]
    			if time.Since(time.Unix(0, lri.TimeLastRefresh)) > interval {
    				delete(l.lockUID, formatUUID(lri.UID, lri.idx))
    				if len(lris) == 1 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/middleware.md

    Наприклад, Ви можете додати власний заголовок `X-Process-Time`, який міститиме час у секундах, який витратився на обробку запиту та генерацію відповіді:
    
    {* ../../docs_src/middleware/tutorial001.py hl[10,12:13] *}
    
    
    /// tip | Підказка
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:35:33 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

        val deltaMillis = 1000.0
        val durationMillis = TimeUnit.MINUTES.toMillis((60 * 24).toLong())
        assertThat(certificate.notBefore.time.toDouble())
          .isCloseTo(now.toDouble(), deltaMillis)
        assertThat(certificate.notAfter.time.toDouble())
          .isCloseTo(now.toDouble() + durationMillis, deltaMillis)
      }
    
      @Test
      fun customInterval() {
        // 5 seconds starting on 1970-01-01.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. cmd/streaming-signature-v4.go

    	// Copy request.
    	req := *r
    
    	// Save authorization header.
    	v4Auth := req.Header.Get(xhttp.Authorization)
    
    	// Parse signature version '4' header.
    	signV4Values, errCode := parseSignV4(v4Auth, globalSite.Region(), serviceS3)
    	if errCode != ErrNone {
    		return cred, "", "", time.Time{}, errCode
    	}
    
    	// Payload streaming.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         * Calculates the document expiration date based on crawling configuration.
         * If the config has a timeToLive value, calculates expiration from current time.
         * Otherwise, returns the stored document expiration time.
         *
         * @param config the crawling configuration containing time-to-live settings
         * @return the document expiration date, or null if no expiration is set
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

        /**
         * Get the value for the key 'time.adjust.time.millis'. <br>
         * The value is, e.g. 0 <br>
         * comment: <br>
         * one day: 86400000, three days: 259200000, five days: 432000000, one week: 604800000, one year: 31556926000<br>
         * special script :: absolute mode: $(2014/07/10), relative mode: addDay(3).addMonth(4)<br>
         * The milliseconds for (relative or absolute) adjust time (set only when test) @LongType *dynamic in development
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

            this.state = state;
        }
    
        /**
         * Get the time when channel was established
         *
         * @return establishment time in milliseconds
         */
        public long getEstablishedTime() {
            return establishedTime;
        }
    
        /**
         * Get the last activity time
         *
         * @return last activity time in milliseconds
         */
        public long getLastActivityTime() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. tests/update_test.go

    	// update with struct
    	time.Sleep(1 * time.Second)
    	DB.Table("users").Where("name in ?", []string{users[1].Name}).Updates(User{Name: "updates_02_newname"})
    
    	var user3 User
    	if err := DB.First(&user3, "name = ?", "updates_02_newname").Error; err != nil {
    		t.Errorf("User2's name should be updated")
    	}
    
    	if user2.UpdatedAt.Format(time.RFC1123Z) == user3.UpdatedAt.Format(time.RFC1123Z) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/MimeMapTest.java

            mimeMap = new MimeMap();
        }
    
        @Nested
        @DisplayName("getMimeType with extension only")
        class GetMimeTypeWithExtension {
    
            @Test
            @DisplayName("Should return correct mime type for known extensions")
            void testKnownExtensions() throws IOException {
                assertEquals("application/pdf", mimeMap.getMimeType("pdf"));
                assertEquals("application/msword", mimeMap.getMimeType("doc"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top