- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 174 for currentTimeMillis (0.16 seconds)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
SMBUtil.writeInt4(1024 * 1024, buffer, 36); // maxWriteSize // System time and server start time SMBUtil.writeTime(System.currentTimeMillis(), buffer, 40); SMBUtil.writeTime(System.currentTimeMillis(), buffer, 48); // Security buffer offset and length (no security buffer) SMBUtil.writeInt2(0, buffer, 56); // offset
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java
} UpgradeContext context = createMockContext(); long startTime = System.currentTimeMillis(); Set<Coordinates> gavs = InferenceStrategy.computeAllArtifactCoordinates(context, largePomMap); long endTime = System.currentTimeMillis(); // Performance assertion - should complete within reasonable time long duration = endTime - startTime;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 17.3K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
String len = contentLength >= 1024 ? toKB(contentLength) + " KB" : contentLength + " B"; String throughput = ""; long duration = System.currentTimeMillis() - resource.getTransferStartTime(); if (duration > 0) { DecimalFormat format = new DecimalFormat("0.0", new DecimalFormatSymbols(Locale.ENGLISH));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
this.createTime = createTime; this.lastModified = lastModified; this.size = size; isExists = true; attrExpiration = sizeExpiration = System.currentTimeMillis() + attrExpirationPeriod; } private SmbComBlankResponse blank_resp() { if (blank_resp == null) { blank_resp = new SmbComBlankResponse(); } return blank_resp;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java
// Test with zero searchRenderData.setRequestedTime(0L); assertEquals(0L, searchRenderData.getRequestedTime()); // Test with current time long currentTime = System.currentTimeMillis(); searchRenderData.setRequestedTime(currentTime); assertEquals(currentTime, searchRenderData.getRequestedTime()); // Test with specific timestampCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 23.6K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/elasticsearch.build-scan.gradle
"${nodeName}?_g=()&metricTime=(autoReload:!f,refreshInterval:5000," + "time:(from:${startTime - TimeUnit.MILLISECONDS.convert(5, TimeUnit.MINUTES)},interval:%3E%3D1m," + "to:${System.currentTimeMillis() + TimeUnit.MILLISECONDS.convert(5, TimeUnit.MINUTES)}))" } } // Jenkins-specific build scan metadata if (jenkinsUrl) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jul 21 20:40:34 GMT 2021 - 4.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
/** * Returns a [timestamp][System.currentTimeMillis] taken immediately before OkHttp * transmitted the initiating request over the network. If this response is being served from the * cache then this is the timestamp of the original request. */ @get:JvmName("sentRequestAtMillis") val sentRequestAtMillis: Long, /** * Returns a [timestamp][System.currentTimeMillis] taken immediately after OkHttpCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 14:39:28 GMT 2025 - 18.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 17.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileTest.java
long expectedTime = System.currentTimeMillis(); doReturn(expectedTime).when(smbFile).lastModified(); // Act & Assert assertEquals(expectedTime, smbFile.lastModified()); } @Test void testSetLastModified() throws SmbException { // Arrange long newTime = System.currentTimeMillis();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
assertNotNull(currentTime); final long now = System.currentTimeMillis(); assertTrue(Math.abs(currentTime.getTime() - now) < 1000); } @Test public void test_getCurrentTimeAsLong() { final long currentTime = systemHelper.getCurrentTimeAsLong(); final long now = System.currentTimeMillis(); assertTrue(Math.abs(currentTime - now) < 1000); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 44.4K bytes - Click Count (0)