- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 1,522 for timed (0.04 seconds)
-
internal/amztime/iso8601_time_test.go
package amztime import ( "testing" "time" ) func TestISO8601Format(t *testing.T) { testCases := []struct { date time.Time expectedOutput string }{ { date: time.Date(2009, time.November, 13, 4, 51, 1, 940303531, time.UTC), expectedOutput: "2009-11-13T04:51:01.940Z", }, { date: time.Date(2009, time.November, 13, 4, 51, 1, 901303531, time.UTC),
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.8K bytes - Click Count (0) -
internal/amztime/parse.go
// extension for http.TimeFormat - return time might be zero // if the timeStr is invalid. func ParseHeader(timeStr string) (time.Time, error) { for _, dateFormat := range httpTimeFormats { t, err := time.Parse(dateFormat, timeStr) if err == nil { return t, nil } } return time.Time{}, ErrMalformedDate } // ParseReplicationTS parse http.TimeFormat first // will try time.RFC3339Nano when parse http.TimeFormat failed
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 2.5K bytes - Click Count (0) -
cmd/update-notifier_test.go
{-72 * time.Hour, "another_update_url", ""}, {0, "another_update_url", ""}, {time.Hour, "", ""}, {0 * time.Second, "my_download_url", "now"}, {1 * time.Second, "my_download_url", "1 second before the latest release"}, {37 * time.Second, "my_download_url", "37 seconds before the latest release"}, {60 * time.Second, "my_download_url", "1 minute before the latest release"},Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jul 31 15:36:19 GMT 2023 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
assertTrue(out.length > 0); // Verify interactions: flags and an empty optimistic token are used verify(this.mechContext, times(1)).getFlags(); ArgumentCaptor<byte[]> cap = ArgumentCaptor.forClass(byte[].class); verify(this.mechContext, times(1)).initSecContext(cap.capture(), eq(0), eq(0)); assertEquals(0, cap.getValue().length, "Optimistic token must be zero-length"); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api; import java.time.Clock; import java.time.Duration; import java.time.Instant; import java.time.ZoneId; import java.time.ZoneOffset; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
cmd/bucket-metadata.go
PolicyConfigUpdatedAt time.Time ObjectLockConfigUpdatedAt time.Time EncryptionConfigUpdatedAt time.Time TaggingConfigUpdatedAt time.Time QuotaConfigUpdatedAt time.Time ReplicationConfigUpdatedAt time.Time VersioningConfigUpdatedAt time.Time LifecycleConfigUpdatedAt time.Time NotificationConfigUpdatedAt time.Time BucketTargetsConfigUpdatedAt time.Time
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0) -
src/archive/tar/tar_test.go
}, { header: &Header{ModTime: time.Unix(1, 500)}, paxHdrs: map[string]string{paxMtime: "1.0000005"}, formats: FormatUSTAR | FormatPAX | FormatGNU, }, { header: &Header{ModTime: time.Unix(1, 0)}, formats: FormatUSTAR | FormatPAX | FormatGNU, }, { header: &Header{ModTime: time.Unix(1, 0), Format: FormatPAX}, formats: FormatUSTAR | FormatPAX, }, { header: &Header{ModTime: time.Unix(1, 500), Format: FormatUSTAR},Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Jul 25 00:25:45 GMT 2024 - 23.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
if (date != null) { return new Time(date.getTime()); } } final Date date = toDate(str, locale); if (date != null) { return new Time(date.getTime()); } final Time time = toSqlTimeJdbcEscape(str); if (time != null) { return time; } throw new ParseRuntimeException(str); }
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 20.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java
this(new Date()); } public MavenBuildTimestamp(Date time) { this(time, DEFAULT_BUILD_TIMESTAMP_FORMAT); } public MavenBuildTimestamp(Date time, Properties properties) { this(time, properties != null ? properties.getProperty(BUILD_TIMESTAMP_FORMAT_PROPERTY) : null); } public MavenBuildTimestamp(Date time, String timestampFormat) { if (timestampFormat == null) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
final Time time = toSqlTime("11:49"); assertThat(new SimpleDateFormat("HH:mm:ss").format(time), is("11:49:00")); } /** * @throws Exception */ @Test public void testToTime_MediumStyle() throws Exception { final Time time = toSqlTime("11:49:10"); assertThat(new SimpleDateFormat("HH:mm:ss").format(time), is("11:49:10")); } /**
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 9.5K bytes - Click Count (0)