- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 1,553 for result2 (0.05 sec)
-
guava/src/com/google/common/collect/ImmutableRangeSet.java
ImmutableRangeSet<C> result = complement; if (result != null) { return result; } else if (ranges.isEmpty()) { return complement = all(); } else if (ranges.size() == 1 && ranges.get(0).equals(Range.all())) { return complement = of(); } else { ImmutableList<Range<C>> complementRanges = new ComplementRanges();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
T[] result = super.toArray(array); if (size() < result.length) { // It works around a GWT bug where elements after last is not // properly null'ed. @Nullable Object[] unsoundlyCovariantArray = result; unsoundlyCovariantArray[size()] = null; } return result; } }); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 24 16:03:45 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java
assert n1 <= n2; if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) { // the result will definitely fit into a long long result = 1; for (int i = n1 + 1; i <= n2; i++) { result *= i; } return BigInteger.valueOf(result); } /* * We want each multiplication to have both sides with approximately the same number of digits.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 16:21:24 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java
public static <K, V> SortedSetMultimapTestSuiteBuilder<K, V> using( TestSetMultimapGenerator<K, V> generator) { SortedSetMultimapTestSuiteBuilder<K, V> result = new SortedSetMultimapTestSuiteBuilder<>(); result.usingGenerator(generator); return result; } @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/SingletonImmutableBiMap.java
if (inverse != null) { return inverse; } else { // racy single-check idiom ImmutableBiMap<V, K> result = lazyInverse; if (result == null) { return lazyInverse = new SingletonImmutableBiMap<>(singleValue, singleKey, this); } else { return result; } } } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.6K bytes - Viewed (0) -
tests/test_response_change_status_code.py
from fastapi.testclient import TestClient app = FastAPI() async def response_status_setter(response: Response): response.status_code = 201 async def parent_dep(result=Depends(response_status_setter)): return result @app.get("/", dependencies=[Depends(parent_dep)]) async def get_main(): return {"msg": "Hello World"} client = TestClient(app)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Apr 08 04:37:38 UTC 2020 - 589 bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MutableNetwork.java
* * @return {@code true} if the network was modified as a result of this call */ @CanIgnoreReturnValue boolean removeNode(N node); /** * Removes {@code edge} from this network, if it is present. * * @return {@code true} if the network was modified as a result of this call */ @CanIgnoreReturnValue boolean removeEdge(E edge);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
/** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */ static <T> T[] copy(Object[] source, int from, int to, T[] arrayOfType) { T[] result = newArray(arrayOfType, to - from); System.arraycopy(source, from, result, 0, to - from); return result; } // TODO(user): Move this logic to a utility class. @JsType(isNative = true, name = "Array", namespace = JsPackage.GLOBAL) private interface NativeArray {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:52:51 UTC 2024 - 5K bytes - Viewed (0)