- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for currentTimeMillis (0.57 sec)
-
okhttp/src/main/kotlin/okhttp3/Cookie.kt
* [setCookie] is not a well-formed cookie. */ @JvmStatic fun parse( url: HttpUrl, setCookie: String, ): Cookie? = parse(System.currentTimeMillis(), url, setCookie) internal fun parse( currentTimeMillis: Long, url: HttpUrl, setCookie: String, ): Cookie? { val cookiePairEnd = setCookie.delimiterOffset(';')
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
*/ @Test fun retainServedDateFormat() { // Serve a response with a non-standard date format that OkHttp supports. val lastModifiedDate = Date(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(-1)) val servedDate = Date(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(-2)) val dateFormat: DateFormat = SimpleDateFormat("EEE dd-MMM-yyyy HH:mm:ss z", Locale.US)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
try { Thread.sleep(20); } catch (InterruptedException e) { // ignore } File dir = new File(TEMP_DIR_PATH, baseFilename + System.currentTimeMillis()); dir.mkdirs(); markForDeletion(dir); return dir; } public synchronized File createTempFile() throws IOException {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 4.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
.addHeader("content-type: text/plain") .addHeader("content-length", "3") .build(), ) val sentAt = System.currentTimeMillis() val recordedResponse = executeSynchronously("/", "User-Agent", "SyncApiTest") val receivedAt = System.currentTimeMillis() recordedResponse.assertCode(200) .assertSuccessful() .assertHeaders( Headers.Builder()
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
mappingWriter.write(output, metadata.getDelegate()); } } else { metadataFile.setLastModified(System.currentTimeMillis()); } } public String toString() { return "repository metadata for: '" + getKey() + "'"; }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
// touch file so that this is not checked again until interval has passed if (file.exists()) { file.setLastModified(System.currentTimeMillis()); } } } try { mergeMetadata(metadata, remoteRepositories, localRepo); } catch (RepositoryMetadataStoreException e) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 18.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
} public Date getCurrentTime() { return new Date(getCurrentTimeAsLong()); } public long getCurrentTimeAsLong() { return System.currentTimeMillis(); } public LocalDateTime getCurrentTimeAsLocalDateTime() { final Instant instant = Instant.ofEpochMilli(getCurrentTimeAsLong());
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Sat Apr 13 11:43:03 GMT 2024 - 26.5K bytes - Viewed (1) -
android/guava/src/com/google/common/hash/Hashing.java
* dependent on the hash codes they produce will fail sooner. */ @SuppressWarnings("GoodTime") // reading system time without TimeSource static final int GOOD_FAST_HASH_SEED = (int) System.currentTimeMillis(); /** * Returns a hash function implementing the <a * href="https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp">32-bit murmur3
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 09 00:37:15 GMT 2024 - 29.2K bytes - Viewed (0)