- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 306 for instant (0.16 sec)
-
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java
return injector.getInstance(Session.class); } static class DefaultSession extends AbstractSession { private final Map<String, String> systemProperties; private Instant startTime = Instant.now(); DefaultSession(RepositorySystemSession session, RepositorySystem repositorySystem, Lookup lookup) { this(session, repositorySystem, Collections.emptyList(), null, lookup); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 17.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
long instant = 0L; final List<String> events = Lists.newArrayList(); @Override public long readMicros() { return NANOSECONDS.toMicros(instant); } void sleepMillis(int millis) { sleepMicros("U", MILLISECONDS.toMicros(millis)); } void sleepMicros(String caption, long micros) { instant += MICROSECONDS.toNanos(micros);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
long instant = 0L; final List<String> events = Lists.newArrayList(); @Override public long readMicros() { return NANOSECONDS.toMicros(instant); } void sleepMillis(int millis) { sleepMicros("U", MILLISECONDS.toMicros(millis)); } void sleepMicros(String caption, long micros) { instant += MICROSECONDS.toNanos(micros);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java
valueSource.clearFeedback(); } } static class BuildTimestampValueSource extends AbstractValueSource { private final Instant startTime; private final Map<String, String> properties; BuildTimestampValueSource(Instant startTime, Map<String, String> properties) { super(false); this.startTime = startTime; this.properties = properties; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 20K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
public long getCurrentTimeAsLong() { return System.currentTimeMillis(); } public LocalDateTime getCurrentTimeAsLocalDateTime() { final Instant instant = Instant.ofEpochMilli(getCurrentTimeAsLong()); return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); } public String getLogFilePath() { final String value = System.getProperty("fess.log.path"); if (value != null) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Sat Apr 13 11:43:03 GMT 2024 - 26.5K bytes - Viewed (2) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
/** * Shortcut for {@code getService(ArtifactInstaller.class).install(...)}. * * @param artifacts the artifacts to install * @throws org.apache.maven.api.services.ArtifactInstallerException if the artifacts installation failed * * @see org.apache.maven.api.services.ArtifactInstaller#install(Session, Collection) */ void installArtifacts(@Nonnull Artifact... artifacts);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 30.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
* for more important information about the Java 8+ transition. */ public static Function<Object, String> toStringFunction() { return ToStringFunction.INSTANCE; } // enum singleton pattern private enum ToStringFunction implements Function<Object, String> { INSTANCE; @Override public String apply(Object o) { checkNotNull(o); // eager for GWT. return o.toString(); } @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 14.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
// TODO(user): cache all field accesses in local vars /** Creates an empty {@code CompactHashSet} instance. */ public static <E extends @Nullable Object> CompactHashSet<E> create() { return new CompactHashSet<>(); } /** * Creates a <i>mutable</i> {@code CompactHashSet} instance containing the elements of the given * collection in unspecified order. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 05 21:38:59 GMT 2024 - 24K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
* because the null check on the theUnsafe object remains inside the loop and * BYTE_ARRAY_BASE_OFFSET doesn't get constant-folded. * * The compiler can treat static final fields as compile-time constants and can constant-fold * them while (final or not) local variables are run time values. */ static final Unsafe theUnsafe = getUnsafe();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 18.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
// noConstant doesn't matter since it can only be null @SuppressWarnings("unused") @Nullable NoConstantEnum noConstant) { return new GoodEquals(a, b); } // instance method ignored public Object badIgnored() { return new BadEquals(); } // primitive ignored public int returnsInt() { throw new UnsupportedOperationException(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 36.3K bytes - Viewed (0)