- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,875 for but (1.55 sec)
-
guava/src/com/google/common/util/concurrent/Monitor.java
// could find them in the code review archives), but here are a few: // // 1. What about leaving/unlocking? Are you going to do // guard.enter() paired with monitor.leave()? That might get // confusing. It's nice for the finally block to look as close as // possible to the thing right before the try. You could have // guard.leave(), but that's a little odd as well because the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 42.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectPreconditions.java
if (value < 0) { throw new IllegalArgumentException(name + " cannot be negative but was: " + value); } return value; } @CanIgnoreReturnValue static long checkNonnegative(long value, String name) { if (value < 0) { throw new IllegalArgumentException(name + " cannot be negative but was: " + value); } return value; } static void checkPositive(int value, String name) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.1K bytes - Viewed (0) -
docs/en/docs/python-types.md
{* ../../docs_src/python_types/tutorial001.py hl[2] *} ### Edit it { #edit-it } It's a very simple program. But now imagine that you were writing it from scratch. At some point you would have started the definition of the function, you had the parameters ready... But then you have to call "that method that converts the first letter to upper case". Was it `upper`? Was it `uppercase`? `first_uppercase`? `capitalize`?
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java
} expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceEntry_unsupportedAbsentKey() { try { getMap().replace(k3(), v3(), v4()); } catch (UnsupportedOperationException tolerated) { // the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java
} expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceEntry_unsupportedAbsentKey() { try { getMap().replace(k3(), v3(), v4()); } catch (UnsupportedOperationException tolerated) { // the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 5.5K bytes - Viewed (0) -
docs/en/docs/advanced/behind-a-proxy.md
{* ../../docs_src/behind_a_proxy/tutorial001_01.py hl[6] *} If the client tries to go to `/items`, by default, it would be redirected to `/items/`. But before setting the *CLI Option* `--forwarded-allow-ips` it could redirect to `http://localhost:8000/items/`. But maybe your application is hosted at `https://mysuperapp.com`, and the redirection should be to `https://mysuperapp.com/items/`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 19:34:08 UTC 2025 - 16K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
import java.util.Iterator; import java.util.List; import java.util.SortedSet; import java.util.stream.Stream; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /** * A discouraged (but not deprecated) precursor to Java's superior {@link Stream} library. * * <p>The following types of methods are provided: * * <ul> * <li>chaining methods which return a new {@code FluentIterable} based in some way on the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
docs/en/docs/deployment/https.md
# About HTTPS { #about-https } It is easy to assume that HTTPS is something that is just "enabled" or not. But it is way more complex than that. /// tip If you are in a hurry or don't care, continue with the next sections for step by step instructions to set everything up with different techniques. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 19:34:08 UTC 2025 - 14.3K bytes - Viewed (0) -
docs/en/docs/tutorial/response-status-code.md
`201` is the status code for "Created". But you don't have to memorize what each of these codes mean. You can use the convenience variables from `fastapi.status`. {* ../../docs_src/response_status_code/tutorial002.py hl[1,6] *} They are just a convenience, they hold the same number, but that way you can use the editor's autocomplete to find them:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java
/* windows98 has what appears to be another 4 0's followed by the share * name as a zero terminated ascii string "\TMP" + '\0' * * As is this works, but it deviates from the spec section 4.1.6.6 but * maybe I should put it in. Wonder what NT does? */ return dstIndex - start; } @Override int writeDataWireFormat(final byte[] dst, final int dstIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0)