- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 83 for asctime (0.05 seconds)
-
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) }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.9K bytes - Click Count (0) -
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",Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 4.1K bytes - Click Count (0) -
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) } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 01 06:06:01 GMT 2025 - 9.4K bytes - Click Count (0) -
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) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 3.3K bytes - Click Count (0) -
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.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 4.2K bytes - Click Count (0) -
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 {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 6.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java
*/ @Deprecated public List<String> getInactiveProfiles() { return Collections.unmodifiableList(new ArrayList<>(getProfileIds(pa -> !pa.active()))); } /** * Overwrites the active profiles based on a pre-Maven 4 "active profiles" list. * @param activeProfileIds A {@link List} of profile IDs that must be activated.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 5.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
.toLowerCase(Locale.ENGLISH); if (active && os.getFamily() != null) { active = determineFamilyMatch(os.getFamily(), actualOsName); } if (active && os.getName() != null) { active = determineNameMatch(os.getName(), actualOsName); } if (active && os.getArch() != null) { active = determineArchMatch(os.getArch(), actualOsArch); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 5.3K bytes - Click Count (0) -
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));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 7.2K bytes - Click Count (0) -
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) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 2K bytes - Click Count (0)