Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for asctime (0.1 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt

        assertThat("Thursday, 01-Jan-70 00:00:00 GMT".toHttpDateOrNull()!!.time).isEqualTo(0L)
        assertThat("Friday, 06-Jun-14 12:30:30 GMT".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
    
        // ANSI C's asctime(): should use GMT, not platform default.
        assertThat("Thu Jan 1 00:00:00 1970".toHttpDateOrNull()!!.time).isEqualTo(0L)
        assertThat("Fri Jun 6 12:30:30 2014".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt

        // RFC 822, updated by RFC 1123 with any TZ.
        "EEE, dd MMM yyyy HH:mm:ss zzz",
        // RFC 850, obsoleted by RFC 1036 with any TZ.
        "EEEE, dd-MMM-yy HH:mm:ss zzz",
        // ANSI C's asctime() format
        "EEE MMM d HH:mm:ss yyyy",
        // Alternative formats:
        "EEE, dd-MMM-yyyy HH:mm:ss z",
        "EEE, dd-MMM-yyyy HH-mm-ss z",
        "EEE, dd MMM yy HH:mm:ss z",
        "EEE dd-MMM-yyyy HH:mm:ss z",
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. cmd/data-scanner-metric.go

    		atomic.AddUint64(&p.operations[s], 1)
    		if s < scannerMetricLastRealtime {
    			p.latency[s].addSize(duration, int64(sz))
    		}
    	}
    }
    
    // incTime will increment time on metric s with a specific duration.
    // Use for s < scannerMetricLastRealtime
    func (p *scannerMetrics) incTime(s scannerMetric, d time.Duration) {
    	atomic.AddUint64(&p.operations[s], 1)
    	if s < scannerMetricLastRealtime {
    		p.latency[s].add(d)
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 01 06:06:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

                final AtomicLong lastTime = lastTimes.get(host, () -> new AtomicLong(0));
    
                synchronized (lastTime) {
                    final long lastValue = lastTime.get();
                    if (lastValue == 0) {
                        // First access to this host - no delay needed
                        // Set current time to allow proper delay for next access
                        lastTime.set(SystemUtil.currentTimeMillis());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. tests/group_by_test.go

    	}
    
    	var active bool
    	if err := DB.Model(&User{}).Select("name, active, sum(age)").Where("name = ? and active = ?", "groupby", true).Group("name").Group("active").Row().Scan(&name, &active, &total); err != nil {
    		t.Errorf("no error should happen, but got %v", err)
    	}
    
    	if name != "groupby" || active != true || total != 40 {
    		t.Errorf("group by two columns, name %v, age %v, active: %v", name, total, active)
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

        @Nonnull
        Model getEffectiveModel();
    
        /**
         * Gets the profiles that were active during model building.
         *
         * @return The active profiles of the model or an empty list if the model has no active profiles.
         */
        @Nonnull
        List<Profile> getActivePomProfiles();
    
        /**
         * Gets the profiles that were active during model building for a specific model in the hierarchy.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            profileManager.addProfile(notActivated);
            profileManager.addProfile(defaultActivated);
    
            List active = profileManager.getActiveProfiles();
    
            assertNotNull(active);
            assertEquals(1, active.size());
            assertEquals("defaultActivated", ((Profile) active.get(0)).getId());
        }
    
        @Test
        void testShouldNotActivateDefaultProfile() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/common/admin/crud/breadcrumb.jsp

    		<li class="breadcrumb-item active"><la:message key="labels.crud_link_edit" /></li>
    	</c:if>
    	<c:if test="${crudMode == 3}">
    		<li class="breadcrumb-item active"><la:message key="labels.crud_link_delete" /></li>
    	</c:if>
    	<c:if test="${crudMode == 4}">
    		<li class="breadcrumb-item active"><la:message key="labels.crud_link_details" /></li>
    	</c:if>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 919 bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/ActivationSettings.java

     *
     * @param active Should the target be active?
     * @param optional Should the build continue if the target is not present?
     * @param recurse Should the target be activated and its children be activated?
     */
    public record ActivationSettings(boolean active, boolean optional, boolean recurse) {
    
        static ActivationSettings of(final boolean active, final boolean optional) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

         * @param selector The selector of the project.
         * @param active Should the project be activated?
         * @param optional Can the build continue if the project does not exist?
         */
        public void addProjectActivation(String selector, boolean active, boolean optional) {
            final ActivationSettings settings = ActivationSettings.of(active, optional);
            this.activations.add(new ProjectActivationSettings(selector, settings));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top