- Sort Score
- Result 10 results
- Languages All
Results 861 - 870 of 942 for Last (0.04 sec)
-
android/guava/src/com/google/common/primitives/UnsignedInts.java
* value}. * * @param value any {@code long} value * @return {@code 2^32 - 1} if {@code value >= 2^32}, {@code 0} if {@code value <= 0}, and {@code * value} cast to {@code int} otherwise * @since 21.0 */ public static int saturatedCast(long value) { if (value <= 0) { return 0; } else if (value >= (1L << 32)) { return -1; } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 21:17:54 UTC 2024 - 13.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create(); for (int z = 1; z <= 100; z++) { multimap.put("a", z); // The Eclipse compiler (and hence GWT) rejects a parameterized cast. @SuppressWarnings("unchecked") LinkedHashMultimap<String, Integer>.ValueSet valueSet = (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a"); assertEquals(z, valueSet.size());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.6K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInts.java
* value}. * * @param value any {@code long} value * @return {@code 2^32 - 1} if {@code value >= 2^32}, {@code 0} if {@code value <= 0}, and {@code * value} cast to {@code int} otherwise * @since 21.0 */ public static int saturatedCast(long value) { if (value <= 0) { return 0; } else if (value >= (1L << 32)) { return -1; } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 21:17:54 UTC 2024 - 13.7K bytes - Viewed (0) -
api/go1.9.txt
pkg encoding/base32, const StdPadding int32 pkg encoding/base32, method (Encoding) WithPadding(int32) *Encoding pkg encoding/csv, type Reader struct, ReuseRecord bool pkg encoding/json, func Valid([]uint8) bool pkg go/ast, type TypeSpec struct, Assign token.Pos pkg go/types, func SizesFor(string, string) Sizes pkg go/types, method (*TypeName) IsAlias() bool pkg hash/fnv, func New128() hash.Hash pkg hash/fnv, func New128a() hash.Hash
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 04 20:20:20 UTC 2021 - 10.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
return Types.newParameterizedTypeWithOwner( resolvedOwner, (Class<?>) resolvedRawType, resolvedArgs); } private static <T> T expectArgument(Class<T> type, Object arg) { try { return type.cast(arg); } catch (ClassCastException e) { throw new IllegalArgumentException(arg + " is not a " + type.getSimpleName()); } } /** A TypeTable maintains mapping from {@link TypeVariable} to types. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
monitor.enter(); try { if (a.length < count) a = ObjectArrays.newArray(a, count); int k = 0; int i = takeIndex; while (k < count) { // This cast is not itself safe, but the following statement // will fail if the runtime type of items[i] is not assignable // to the runtime type of a[k++], which is all that the method
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 22.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 22.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* {@code isDone()} method always returns {@code true}. */ public static <V extends @Nullable Object> ListenableFuture<V> immediateFuture( @ParametricNullness V value) { if (value == null) { // This cast is safe because null is assignable to V for all V (i.e. it is bivariant) @SuppressWarnings("unchecked") ListenableFuture<V> typedNull = (ListenableFuture<V>) ImmediateFuture.NULL; return typedNull; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 64.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
Map<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } // Explicitly call `equals`; `assertEquals` might return fast assertTrue(map.equals(map)); assertTrue(makePopulatedMap().equals(map)); assertFalse(map.equals(emptyMap())); // no-inspection ObjectEqualsNull assertFalse(map.equals(null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java
// ====== @Override protected int delegateSelectCountUniquely(final ConditionBean cb) { // #pending check response and cast problem final SearchRequestBuilder builder = client.prepareSearch(asEsIndex()); final EsAbstractConditionBean esCb = (EsAbstractConditionBean) cb; if (esCb.getPreference() != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 26.4K bytes - Viewed (0)