- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 2,395 for if (0.13 sec)
-
android/guava/src/com/google/common/primitives/UnsignedBytes.java
* value}. * * @param value any {@code long} value * @return {@code (byte) 255} if {@code value >= 255}, {@code (byte) 0} if {@code value <= 0}, and * {@code value} cast to {@code byte} otherwise */ public static byte saturatedCast(long value) { if (value > toInt(MAX_VALUE)) { return MAX_VALUE; // -1 } if (value < 0) { return (byte) 0; } return (byte) value; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 18.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
* state, for reuse. If data was buffered to a file, it will be deleted. * * @throws IOException if an I/O error occurred while deleting the file buffer */ public synchronized void reset() throws IOException { try { close(); } finally { if (memory == null) { memory = new MemoryOutput(); } else { memory.reset(); } out = memory; if (file != null) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 8.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
makeSuiteForTesterClass((Class<? extends AbstractTester<?>>) testerClass); if (testerSuite.countTestCases() > 0) { suite.addTest(testerSuite); } } return suite; } /** Throw {@link IllegalStateException} if {@link #createTestSuite()} can't be called yet. */ protected void checkCanCreate() { if (subjectGenerator == null) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 10.2K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
int lastHyphen = version.lastIndexOf('-'); if (lastHyphen > 0) { int prevHyphen = version.lastIndexOf('-', lastHyphen - 1); if (prevHyphen > 0) { Matcher m = Artifact.VERSION_FILE_PATTERN.matcher(version); if (m.matches()) { return m.group(1) + "-" + Artifact.SNAPSHOT_VERSION; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 06 08:51:18 GMT 2023 - 6.9K bytes - Viewed (0) -
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 { return (int) value; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 13.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 14:48:57 GMT 2023 - 27.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserAgentHelper.java
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 9.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ImmutableGraph.java
* * <p>If this graph is directed, {@code endpoints} must be ordered and the added edge will be * directed; if it is undirected, the added edge will be undirected. * * <p>If this graph is directed, {@code endpoints} must be ordered. * * <p>If either or both endpoints are not already present in this graph, this method will * silently {@link #addNode(Object) add} each missing endpoint to the graph.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 01 16:30:37 GMT 2022 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RangeMap.java
/** * Returns the value associated with the specified key, or {@code null} if there is no such value. * * <p>Specifically, if any range in this range map contains the specified key, the value * associated with that range is returned. */ @CheckForNull V get(K key); /** * Returns the range containing this key and its associated value, if such a range is present in * the range map, or {@code null} otherwise. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 6.5K bytes - Viewed (0)