- Sort Score
- Result 10 results
- Languages All
Results 761 - 770 of 4,225 for None (0.04 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt
// will not be transmitted. val conditionName: String val conditionValue: String? when { etag != null -> { conditionName = "If-None-Match" conditionValue = etag } lastModified != null -> { conditionName = "If-Modified-Since" conditionValue = lastModifiedString }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 12K bytes - Viewed (0) -
docs/ru/docs/python-types.md
```Python hl_lines="1 4" {!../../docs_src/python_types/tutorial009.py!} ``` Использование `Optional[str]` вместо просто `str` позволит редактору помочь вам в обнаружении ошибок, в которых вы могли бы предположить, что значение всегда является `str`, хотя на самом деле это может быть и `None`. #### Generic-типы
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MinimalSetTest.java
return MinimalSet.of(elements); } }) .named("MinimalSet") .withFeatures( CollectionFeature.ALLOWS_NULL_VALUES, CollectionFeature.NONE, CollectionSize.ANY) .createTestSuite(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/FileWriteMode.java
package com.google.common.io; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; /** * Modes for opening a file for writing. The default when mode when none is specified is to truncate * the file before writing. * * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public enum FileWriteMode {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 1.1K bytes - Viewed (0) -
tests/test_security_http_base_optional.py
security = HTTPBase(scheme="Other", auto_error=False) @app.get("/users/me") def read_current_user( credentials: Optional[HTTPAuthorizationCredentials] = Security(security), ): if credentials is None: return {"msg": "Create an account first"} return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app) def test_security_http_base():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
return []string{"UNMATCHED"} } case *matcher.Matcher_OnMatch_Matcher: ms, f := recurse(fc.GetName(), v.Matcher) if !f { return []string{"NONE"} } return ms } ms, f := recurse(fc.GetName(), l.GetFilterChainMatcher()) if !f { return []string{"NONE"} } return ms } func recurse(name string, match *matcher.Matcher) ([]string, bool) { switch v := match.GetOnNoMatch().GetOnMatch().(type) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 18.1K bytes - Viewed (0) -
guava-gwt/src/com/google/common/cache/Cache.gwt.xml
for prod and one for tests. However, unlike our other packages, as of this writing it has test supersource but no prod supersource. GWT happens to use the prod .gwt.xml, so it looks for no supersource for tests, either. This causes it to fail to find AtomicLongMapTest. Our workaround is to tell GWT that util.concurrent and all other packages
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/AssertionUtilTest.java
/** * @author wyukawa * */ public class AssertionUtilTest { /** * @see org.junit.rules.ExpectedException */ @Rule public ExpectedException exception = ExpectedException.none(); /** * Test method for * {@link org.codelibs.core.misc.AssertionUtil#assertArgumentNotNull(java.lang.String, java.lang.Object)} * . */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3K bytes - Viewed (0) -
docs_src/path_operation_advanced_configuration/tutorial002.py
from fastapi import FastAPI from fastapi.routing import APIRoute app = FastAPI() @app.get("/items/") async def read_items(): return [{"item_id": "Foo"}] def use_route_names_as_operation_ids(app: FastAPI) -> None: """ Simplify operation IDs so that generated API clients have simpler function names. Should be called only after all routes have been added. """ for route in app.routes:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 572 bytes - Viewed (0) -
src/main/java/jcifs/smb/RequestParam.java
*/ package jcifs.smb; /** * Internal use only * * @author mbechler * @internal */ public enum RequestParam { /** * */ NONE, /** * Wait indefinitely for a response */ NO_TIMEOUT, /** * Do not retry request on failure */ NO_RETRY, /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.1K bytes - Viewed (0)