- Sort Score
- Result 10 results
- Languages All
Results 1651 - 1660 of 1,855 for Must (0.02 sec)
-
guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
import java.util.concurrent.TimeoutException; /** * A {@link Future} implementation which always throws directly from calls to {@code get()} (i.e. * not wrapped in {@code ExecutionException}. For just a normal failure, use {@link * SettableFuture}). * * <p>Useful for testing the behavior of Future utilities against odd futures. * * @author Anthony Zana */ @GwtCompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 12 20:02:10 UTC 2018 - 3.2K bytes - Viewed (0) -
ci/official/utilities/rename_and_verify_wheels.sh
# one, checks the filesize, and then ensures the new wheel is installable. set -euxo pipefail cd "$TFCI_OUTPUT_DIR" # Move extra wheel files somewhere out of the way. This script # expects just one wheel file to exist. if [[ "$(ls *.whl | wc -l | tr -d ' ')" != "1" ]]; then echo "More than one wheel file is present: moving the oldest to" echo "$TFCI_OUTPUT_DIR/extra_wheels."
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 02 21:18:17 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StringsTest.java
} public void testPadEnd_null() { assertThrows(NullPointerException.class, () -> Strings.padEnd(null, 5, '0')); } @SuppressWarnings("InlineMeInliner") // test of method that doesn't just delegate public void testRepeat() { String input = "20"; assertEquals("", Strings.repeat(input, 0)); assertEquals("20", Strings.repeat(input, 1)); assertEquals("2020", Strings.repeat(input, 2));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/InterruptibleTask.java
* the interrupting thread doesn't interrupt the _next_ thing to run on this thread. * * Note: We don't reset the interrupted bit, just wait for it to be set. If this is a thread * pool thread, the thread pool will reset it for us. Otherwise, the interrupted bit may have * been intended for something else, so don't clear it. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.1K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
{* ../../docs_src/body/tutorial001_py310.py hl[5:9] *} The same as when declaring query parameters, when a model attribute has a default value, it is not required. Otherwise, it is required. Use `None` to make it just optional. For example, this model above declares a JSON "`object`" (or Python `dict`) like: ```JSON { "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 }
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:58:19 UTC 2024 - 6.6K bytes - Viewed (0) -
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
val name = header.trimSubstring(pos, equalsSign) if (name.startsWith("$")) { pos = pairEnd + 1 continue } // We have either name=value or just a name. var value = if (equalsSign < pairEnd) { header.trimSubstring(equalsSign + 1, pairEnd) } else { "" }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:10:43 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/NullnessCasts.java
* nullness analysis might not understand that the field has been populated. To avoid that problem * without having to add {@code @SuppressWarnings}, the code can call this method. * * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is * typically useful for {@code return} statements. That leaves the code with two options: Either
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 17 15:44:29 UTC 2021 - 3.1K bytes - Viewed (0) -
cmd/endpoint-ellipses_test.go
Suffix: ".mydomain.net/data", Seq: getSequences(0, 15, 0), }, }, }, nil, [][]uint64{{16, 16}}, }, true, }, // No host regex, just disks. { "http://server1/data{1...32}", endpointSet{ []ellipses.ArgPattern{ []ellipses.Pattern{ { Prefix: "http://server1/data", Suffix: "",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
import java.util.concurrent.TimeoutException; /** * A {@link Future} implementation which always throws directly from calls to {@code get()} (i.e. * not wrapped in {@code ExecutionException}. For just a normal failure, use {@link * SettableFuture}). * * <p>Useful for testing the behavior of Future utilities against odd futures. * * @author Anthony Zana */ @GwtCompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 12 20:02:10 UTC 2018 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashingOutputStream.java
public HashCode hash() { return hasher.hash(); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream. // It should flush itself if necessary. @Override public void close() throws IOException { out.close(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 11 22:00:03 UTC 2024 - 2.6K bytes - Viewed (0)