- Sort Score
- Result 10 results
- Languages All
Results 1941 - 1950 of 7,669 for With (0.03 sec)
-
docs/de/docs/advanced/events.md
Ein **Kontextmanager** in Python ist etwas, das Sie in einer `with`-Anweisung verwenden können, zum Beispiel kann `open()` als Kontextmanager verwendet werden: ```Python with open("file.txt") as file: file.read() ``` In neueren Versionen von Python gibt es auch einen **asynchronen Kontextmanager**. Sie würden ihn mit `async with` verwenden: ```Python async with lifespan(app): await do_stuff() ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9K bytes - Viewed (0) -
src/bytes/reader_test.go
type justWriter struct { io.Writer } discard := justWriter{io.Discard} // hide ReadFrom var with, withOut nErr with.n, with.err = io.Copy(discard, NewReader(nil)) withOut.n, withOut.err = io.Copy(discard, justReader{NewReader(nil)}) if with != withOut { t.Errorf("behavior differs: with = %#v; without: %#v", with, withOut) } } // tests that Len is affected by reads, but Size is not.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/FileAuthPager.java
* for file authentication configurations with search and display capabilities. */ public class FileAuthPager implements Serializable { private static final long serialVersionUID = 1L; /** * Default constructor for file authentication pager. * Creates a new instance with default values. */ public FileAuthPager() { // Default constructor }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java
/* * Copyright 2012-2025 CodeLibs Project and the Others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
MsrpcShareEnum shareEnum = new MsrpcShareEnum(TEST_SERVER_NAME); assertNotNull(shareEnum); // Verify the server name is properly formatted with double backslashes try { Field servernameField = srvsvc.ShareEnumAll.class.getDeclaredField("servername"); servernameField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
lenient().when(configuration.getDefaultDomain()).thenReturn("TEST_DOMAIN"); } /** * Test the init method of the servlet. * Verifies that servlet is correctly initialized with parameters from ServletConfig. * @throws ServletException */ @Test void testInit() throws ServletException { assertDoesNotThrow(() -> ntlmServlet.init(servletConfig));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
return id; } /** * Sets the URL associated with this statistics key object. * * @param url the URL to associate with this object */ public void setUrl(final String url) { this.url = url; } /** * Gets the URL associated with this statistics key object. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/EventBus.java
* href="https://github.com/ReactiveX/RxAndroid">RxAndroid</a> extension if you are building for * Android) or <a href="https://projectreactor.io/">Project Reactor</a>. (For the basics of * translating code from using an event bus to using a reactive-streams framework, see these two * guides: <a href="https://blog.jkl.gg/implementing-an-event-bus-with-rxjava-rxbus/">1</a>, <a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.7K bytes - Viewed (0) -
docs/en/docs/advanced/testing-events.md
# Testing Events: lifespan and startup - shutdown { #testing-events-lifespan-and-startup-shutdown } When you need `lifespan` to run in your tests, you can use the `TestClient` with a `with` statement: {* ../../docs_src/app_testing/tutorial004.py hl[9:15,18,27:28,30:32,41:43] *} You can read more details about the ["Running lifespan in tests in the official Starlette documentation site."](https://www.starlette.io/lifespan/#running-lifespan-in-tests)
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:21 UTC 2025 - 615 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java
/* * Copyright 2012-2025 CodeLibs Project and the Others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.3K bytes - Viewed (0)