- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 524 for PASS (0.05 sec)
-
internal/disk/directio_darwin.go
} // DisableDirectIO - disables directio mode. func DisableDirectIO(f *os.File) error { fd := f.Fd() _, err := unix.FcntlInt(fd, unix.F_NOCACHE, 0) return err } // AlignedBlock - pass through to directio implementation. func AlignedBlock(blockSize int) []byte { return directio.AlignedBlock(blockSize)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 17 14:31:36 UTC 2023 - 1.4K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
In our code example above, we don't use it directly, but we pass it to FastAPI for it to use it. The `lifespan` parameter of the `FastAPI` app takes an **async context manager**, so we can pass our new `lifespan` async context manager to it. {* ../../docs_src/events/tutorial003.py hl[22] *} ## Alternative Events (deprecated) /// warning
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:36:22 UTC 2024 - 7.6K bytes - Viewed (0) -
docs/en/docs/features.md
This also means that in many cases you can pass the same object you get from a request **directly to the database**, as everything is validated automatically. The same applies the other way around, in many cases you can just pass the object you get from the database **directly to the client**.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 15 23:30:12 UTC 2024 - 9.2K bytes - Viewed (0) -
.github/workflows/mint/nginx-8-node.conf
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-NginX-Proxy true; # This is necessary to pass the correct IP to be hashed real_ip_header X-Real-IP; proxy_connect_timeout 300; # To support websocket proxy_http_version 1.1;
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 16:52:29 UTC 2024 - 3.4K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt
klass: Class<T>, /* which tasks we need to monitor? For example, cache-miss-monitor monitors `AbstractCompile` tasks */ taskFilter: (Task) -> Boolean, /* pass the collected information in build-logic and main build to build scan */ buildScanAction: BuildScanConfiguration.(Any, Any) -> Unit ) { val gradleRootProject = when { project.name == "gradle" -> project.rootProject
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Apr 24 03:34:53 UTC 2024 - 3.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java
lhaExtractor.setMaxContentSize(100); lhaExtractor.getText(in, null); fail(); } catch (MaxLengthExceededException e) { // pass } lhaExtractor.setMaxContentSize(-1); } public void test_getText_null() { try { lhaExtractor.getText(null, null); fail();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.3K bytes - Viewed (0) -
internal/crypto/key_test.go
func recoverTest(i int, shouldPass bool, t *testing.T) { if err := recover(); err == nil && !shouldPass { t.Errorf("Test %d should fail but passed successfully", i) } else if err != nil && shouldPass { t.Errorf("Test %d should pass but failed: %v", i, err) } } var generateKeyTests = []struct { ExtKey [32]byte Random io.Reader ShouldPass bool }{ {ExtKey: [32]byte{}, Random: nil, ShouldPass: true}, // 0
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 6.7K bytes - Viewed (0) -
tests/test_additional_properties_bool.py
class FooBaseModel(BaseModel): if PYDANTIC_V2: model_config = ConfigDict(extra="forbid") else: class Config: extra = "forbid" class Foo(FooBaseModel): pass app = FastAPI() @app.post("/") async def post( foo: Union[Foo, None] = None, ): return foo client = TestClient(app) def test_call_invalid():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4.2K bytes - Viewed (0) -
istioctl/pkg/multicluster/options.go
Namespace string } // Inherit the common kubernetes flags defined in the root package. This is a bit of a hack, // but it allows us to directly get the final values for each of these flags without needing // to pass pointers-to-flags through all of the (sub)commands. func (o *KubeOptions) prepare(ctx cli.Context) { o.Namespace = ctx.Namespace() if o.Namespace == "" { o.Namespace = ctx.IstioNamespace()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Aug 01 23:59:49 UTC 2023 - 1.6K bytes - Viewed (0) -
internal/disk/directio_unix.go
fd := f.Fd() flag, err := unix.FcntlInt(fd, unix.F_GETFL, 0) if err != nil { return err } flag &= ^(syscall.O_DIRECT) _, err = unix.FcntlInt(fd, unix.F_SETFL, flag) return err } // AlignedBlock - pass through to directio implementation. func AlignedBlock(blockSize int) []byte { return directio.AlignedBlock(blockSize)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 17 14:31:36 UTC 2023 - 1.6K bytes - Viewed (0)