- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for New (0.16 sec)
-
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
final TestCloseable closeable1 = new TestCloseable("closeable1"); final TestCloseable closeable2 = new TestCloseable("closeable2"); final TestCloseable closeable3 = new TestCloseable("closeable3"); final TestCloseable closeable4 = new TestCloseable("closeable4"); final Waiter waiter = new Waiter(); final CountDownLatch futureCancelled = new CountDownLatch(1); final Exception exception = new Exception();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 12:37:15 UTC 2024 - 75.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java
private enum State {INIT, STARTED, CLOSED} private final static ServiceRegistry[] NO_PARENTS = new ServiceRegistry[0]; private final static Service[] NO_DEPENDENTS = new Service[0]; private final static Object[] NO_PARAMS = new Object[0]; private final ClassInspector inspector; private final OwnServices ownServices; private final ServiceProvider allServices;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 53.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Preconditions.java
@CheckForNull Object p4) { if (reference == null) { throw new NullPointerException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4)); } return reference; } /* * All recent hotspots (as of 2009) *really* like to have the natural code * * if (guardExpression) { * throw new BadException(messageExpression); * } *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 11 11:52:14 UTC 2024 - 52.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
if (interpolatedModel.getParent() != null) { StringSearchInterpolator ssi = new StringSearchInterpolator(); ssi.addValueSource(new MapBasedValueSource(request.getSession().getUserProperties())); ssi.addValueSource(new MapBasedValueSource(model.getProperties())); ssi.addValueSource(new MapBasedValueSource(request.getSession().getSystemProperties())); try {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Jun 07 07:31:02 UTC 2024 - 61.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Sets.java
* @return a new, empty hash set with enough capacity to hold {@code expectedSize} elements * without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */ public static <E extends @Nullable Object> HashSet<E> newHashSetWithExpectedSize( int expectedSize) { return new HashSet<>(Maps.capacity(expectedSize)); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 78.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
if (!wasCancelled) { return new Failure( new IllegalArgumentException( "get() threw CancellationException, despite reporting isCancelled() == false: " + future, cancellation)); } return new Cancellation(false, cancellation); } catch (Exception | Error t) { // sneaky checked exception return new Failure(t); } } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 63.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFuture.java
if (!wasCancelled) { return new Failure( new IllegalArgumentException( "get() threw CancellationException, despite reporting isCancelled() == false: " + future, cancellation)); } return new Cancellation(false, cancellation); } catch (Exception | Error t) { // sneaky checked exception return new Failure(t); } } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 62.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
private DummyInternalEntry() { throw new AssertionError(); } @Override public DummyInternalEntry getNext() { throw new AssertionError(); } @Override public int getHash() { throw new AssertionError(); } @Override public Object getKey() { throw new AssertionError(); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 90.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
final TestCloseable closeable1 = new TestCloseable("closeable1"); final TestCloseable closeable2 = new TestCloseable("closeable2"); final TestCloseable closeable3 = new TestCloseable("closeable3"); final TestCloseable closeable4 = new TestCloseable("closeable4"); final Waiter waiter = new Waiter(); final CountDownLatch futureCancelled = new CountDownLatch(1); final Exception exception = new Exception();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 12:37:15 UTC 2024 - 75.3K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
final ModelBuildingRequest request = new DefaultModelBuildingRequest() .setValidationLevel(validationLevel) .setLocationTracking(locationTracking) .setModelSource(new FileModelSource(pomFile)); DefaultModelProblemCollector problems = new DefaultModelProblemCollector(new DefaultModelBuildingResult()); try {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue May 21 09:54:32 UTC 2024 - 82.9K bytes - Viewed (0)