Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Hours (0.02 sec)

  1. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
  2. internal/s3select/sql/timestampfuncs.go

    		m2 += time.Month(12 * y2)
    
    		return FromInt(int64(m2 - m1)), nil
    	case timePartDay:
    		return FromInt(int64(duration / (24 * time.Hour))), nil
    	case timePartHour:
    		hours := duration / time.Hour
    		return FromInt(int64(hours)), nil
    	case timePartMinute:
    		minutes := duration / time.Minute
    		return FromInt(int64(minutes)), nil
    	case timePartSecond:
    		seconds := duration / time.Second
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        CacheBuilderSpec spec = parse("expireAfterWrite=150h");
        assertThat(spec.writeExpirationTimeUnit).isEqualTo(HOURS);
        assertThat(spec.writeExpirationDuration).isEqualTo(150L);
        assertCacheBuilderEquivalence(
            CacheBuilder.newBuilder().expireAfterWrite(150L, HOURS), CacheBuilder.from(spec));
      }
    
      public void testParse_writeExpirationMinutes() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                            && isInDays(day);
                }
                if (compareTime(hours, minutes, toHours, toMinutes) >= 0 && isInDays(day + 1)
                        || compareTime(fromHours, fromMinutes, hours, minutes) >= 0 && isInDays(day)) {
                    return true;
                }
                return false;
            }
    
            /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

     * The cache automatically evicts entries after 1 hour of inactivity to prevent memory leaks.
     */
    public class HostIntervalController extends DefaultIntervalController {
    
        /** Default cache expire duration in hours */
        private static final long DEFAULT_CACHE_EXPIRE_HOURS = 1L;
    
        /** Cache storing the last access time for each host. */
        private final Cache<String, AtomicLong> lastTimes;
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Stopwatch.java

      }
    
      private static TimeUnit chooseUnit(long nanos) {
        if (DAYS.convert(nanos, NANOSECONDS) > 0) {
          return DAYS;
        }
        if (HOURS.convert(nanos, NANOSECONDS) > 0) {
          return HOURS;
        }
        if (MINUTES.convert(nanos, NANOSECONDS) > 0) {
          return MINUTES;
        }
        if (SECONDS.convert(nanos, NANOSECONDS) > 0) {
          return SECONDS;
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        }
    
        @Test
        void testConstructorWithNegativeTimezone() {
            // Test constructor with negative timezone offset
            long serverTimeZoneOffset = -7200000L; // -2 hours in milliseconds
            response = new SmbComQueryInformationResponse(mockConfig, serverTimeZoneOffset);
    
            assertNotNull(response);
            assertEquals(ServerMessageBlock.SMB_COM_QUERY_INFORMATION, getCommand(response));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. cmd/data-scanner_test.go

    	// Prepare lifecycle expiration workers
    	es := newExpiryState(t.Context(), objAPI, 0)
    	globalExpiryState = es
    
    	// Prepare object versions
    	obj := "obj-1"
    	// Simulate objects uploaded 30 hours ago
    	modTime := now.Add(-48 * time.Hour)
    	uuids := make([]uuid.UUID, 5)
    	for i := range uuids {
    		uuids[i] = uuid.UUID([16]byte{15: uint8(i + 1)})
    	}
    	fivs := make([]FileInfo, 5)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt

    const val NIGHTLY_SNAPSHOT_BUILD_ID = "Promotion_Nightly"
    
    /**
     * 0~23.
     * To avoid nightly promotion jobs running at the same time,
     * we run each branch on different hours.
     * master - 0:00
     * release - 1:00
     * release6x - 2:00
     * release7x - 3:00
     * ...
     * releaseNx - (N-4):00
     */
    fun VersionedSettingsBranch.determineNightlyPromotionTriggerHour(): Int? {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 29 08:57:18 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

            /**
             * The number of milliseconds from the start of the current second.
             */
            public int msecs;
            /**
             * The current hour (0-23).
             */
            public int hours;
            /**
             * The current minute (0-59).
             */
            public int mins;
            /**
             * The current second (0-59).
             */
            public int secs;
            /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
Back to top