- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 73 for Alternatives (0.05 sec)
-
android/guava/src/com/google/common/primitives/Chars.java
*/ // We don't use Character.BYTES here because it's not available under J2KT. public static final int BYTES = Character.SIZE / Byte.SIZE; /** * Returns a hash code for {@code value}; obsolete alternative to {@link * Character#hashCode(char)}. * * @param value a primitive {@code char} value * @return a hash code for the value */ @InlineMe(replacement = "Character.hashCode(value)")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* * @since 10.0 */ public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); /** * Returns a hash code for {@code value}; obsolete alternative to {@link Short#hashCode(short)}. * * @param value a primitive {@code short} value * @return a hash code for the value */ @InlineMe(replacement = "Short.hashCode(value)") @InlineMeValidationDisabled(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* * @since 10.0 */ public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); /** * Returns a hash code for {@code value}; obsolete alternative to {@link Short#hashCode(short)}. * * @param value a primitive {@code short} value * @return a hash code for the value */ @InlineMe(replacement = "Short.hashCode(value)") @InlineMeValidationDisabled(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Suppliers.java
@IgnoreJRERequirement public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration( Supplier<T> delegate, Duration duration) { checkNotNull(delegate); // The alternative of `duration.compareTo(Duration.ZERO) > 0` causes J2ObjC trouble. checkArgument( !duration.isNegative() && !duration.isZero(), "duration (%s) must be > 0", duration);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
assertThat(expected).hasMessageThat().isEqualTo(expectedMessage); } } } }, /* * This one comes last to work around b/367716565. (One *possible* alternative would be to not * declare any methods in this enum, converting assertFailsToDecode into a static method that is * implemented with a `switch`. I haven't tested that.) */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
* @param protocol an ALPN protocol, such as `h2`. * @param host an IP address or hostname. * @param port the IP port associated with the service. * @param maxAge time in seconds that this alternative is considered fresh. */ fun alternateService( streamId: Int, origin: String, protocol: ByteString, host: String, port: Int, maxAge: Long, ) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
.isEqualTo(bytes) assertThat(CertificateAdapters.extension.fromDer(bytes)) .isEqualTo(extension) } @Test fun `extension with type hint for subject alternative names`() { val extension = Extension( SUBJECT_ALTERNATIVE_NAME, false, listOf( generalNameDnsName to "cash.app", generalNameDnsName to "www.cash.app",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* * @since 10.0 */ public static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2); /** * Returns a hash code for {@code value}; obsolete alternative to {@link Integer#hashCode(int)}. * * @param value a primitive {@code int} value * @return a hash code for the value */ @InlineMe(replacement = "Integer.hashCode(value)") @InlineMeValidationDisabled(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
* method is resilient to overflow. * * @since 14.0 */ public static long mean(long x, long y) { // Efficient method for computing the arithmetic mean. // The alternative (x + y) / 2 fails for large values. // The alternative (x + y) >>> 1 fails for negative values. return (x & y) + ((x ^ y) >> 1); } /* * This bitmask is used as an optimization for cheaply testing for divisibility by 2, 3, or 5.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 29 16:20:07 UTC 2025 - 46.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* be overridden. * </ul> * * <h3>Example</h3> * * {@snippet : * return Converter.from( * Integer::toHexString, * s -> parseUnsignedInt(s, 16)); * } * * <p>An alternative using a subclass: * * {@snippet : * return new Converter<Integer, String>() { * @Override * protected String doForward(Integer i) { * return Integer.toHexString(i); * } *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0)