- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 289 for downTo (0.04 seconds)
-
android/guava/src/com/google/common/math/IntMath.java
public static int log2(int x, RoundingMode mode) { checkPositive("x", x); switch (mode) { case UNNECESSARY: checkRoundingUnnecessary(isPowerOfTwo(x)); // fall through case DOWN: case FLOOR: return (Integer.SIZE - 1) - Integer.numberOfLeadingZeros(x); case UP: case CEILING: return Integer.SIZE - Integer.numberOfLeadingZeros(x - 1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 26.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
} private double singleQuantileFromSorted(int index, int scale, double[] dataset) { long numerator = (long) index * (dataset.length - 1); int positionFloor = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN); int remainder = (int) (numerator - positionFloor * scale); if (remainder == 0) { return dataset[positionFloor]; } else { double positionFrac = (double) remainder / scale;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 7.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
} } while (System.nanoTime() - deadline < 0); throw formatRuntimeException( "Latch failed to count down within %d second timeout", timeoutSeconds); } /** * Creates a garbage object that counts down the latch in its finalizer. Sequestered into a * separate method to make it somewhat more likely to be unreachable. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/AntFixtureStop.groovy
assert this.fixture == null this.fixture = fixture; final Object pid = "${ -> this.fixture.pid }" onlyIf { fixture.pidFile.exists() } doFirst { logger.info("Shutting down ${fixture.name} with pid ${pid}") } if (Os.isFamily(Os.FAMILY_WINDOWS)) { executable = 'Taskkill' args('/PID', pid, '/F') } else { executable = 'kill'Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ResolverLifecycle.java
import org.eclipse.sisu.EagerSingleton; import org.eclipse.sisu.PreDestroy; import static java.util.Objects.requireNonNull; /** * Maven internal component that bridges container "shut down" to {@link RepositorySystem#shutdown()}. * * @since 3.9.0 */ @Named @EagerSingleton final class ResolverLifecycle { private final Provider<RepositorySystem> repositorySystemProvider; @Inject
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SingletonImmutableSet.java
final class SingletonImmutableSet<E> extends ImmutableSet<E> { // We deliberately avoid caching the asList and hashCode here, to ensure that with // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes. final transient E element; SingletonImmutableSet(E element) { this.element = Preconditions.checkNotNull(element); } @Override public int size() { return 1;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessEventType.java
*/ IP_CHANGE(4), /** * Share deleted - share removal notification */ SHARE_DELETE(5), /** * Cluster node unavailable - node down event */ NODE_UNAVAILABLE(6), /** * Cluster node available - node up event */ NODE_AVAILABLE(7); private final int value; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 2.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TearDown.java
* * @author Kevin Bourrillion * @since 10.0 */ @FunctionalInterface @GwtCompatible @NullMarked public interface TearDown { /** * Performs a <b>single</b> tear-down operation. See test-libraries-for-java's {@code * com.google.common.testing.junit3.TearDownTestCase} and {@code * com.google.common.testing.junit4.TearDownTestCase} for example. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt
* that enqueued messages were not transmitted. * * Use this to monitor backpressure and avoid exceeding the 16 MiB outgoing message buffer limit. * When that limit is exceeded, the web socket is gracefully shut down. */ fun queueSize(): Long /** * Attempts to enqueue `text` to be UTF-8 encoded and sent as a the data of a text (type `0x1`) * message. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:45:14 GMT 2026 - 6.1K bytes - Click Count (0) -
tensorflow/c/eager/c_api_distributed_test.cc
TFE_ContextRemoveFunction(ctx, "AddVariablesFunction", status); TFE_DeleteContext(ctx); TF_DeleteStatus(status); // TODO(b/136478427): Figure out how to correctly shut the server down. worker_server1.release(); worker_server2.release(); } TEST(CAPI, TestLocalFunctionWithPackedInput) { TestFunctionWithPackedInput(/*remote=*/false); }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 23.4K bytes - Click Count (0)