- Sort Score
- Num 10 results
- Language All
Results 951 - 960 of 1,033 for Close (0.06 seconds)
-
cmd/metrics.go
if err := enc.Encode(mf); err != nil { // client may disconnect for any reasons // we do not have to log this. return } } if closer, ok := enc.(expfmt.Closer); ok { closer.Close() } }) } // NoAuthMiddleware no auth middle ware. func NoAuthMiddleware(h http.Handler) http.Handler { return h } // AuthMiddleware checks if the bearer token is valid and authorized.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:06:31 GMT 2025 - 16.7K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy
Files.createDirectories(dest.parent) current = dest.newPrintWriter('UTF-8') } void finishLastTest() { if (current != null) { current.close() current = null } } void checkUnconverted() { List<String> listedButNotFound = [] for (String listed : expectedUnconvertedCandidates) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 19.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java
suggester.createIndexIfNothing(); writer = new SuggestIndexWriter(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { suggester.indexer().deleteAll(); suggester.settings().badword().deleteAll();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 18.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteStreamsTest.java
} private static void skipHelper(long n, int expect, InputStream in) throws IOException { ByteStreams.skipFully(in, n); assertEquals(expect, in.read()); in.close(); } private static final byte[] bytes = new byte[] {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10}; public void testNewDataInput_empty() { byte[] b = new byte[0];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
docs/de/docs/help-fastapi.md
* In vielen Fällen ist es besser, das **zugrunde liegende Problem oder den Anwendungsfall** zu verstehen, da es möglicherweise einen besseren Weg zur Lösung gibt als das, was die Person versucht. ### Um Schließung bitten { #ask-to-close } Wenn die Person antwortet, besteht eine hohe Chance, dass Sie ihr Problem gelöst haben. Herzlichen Glückwunsch, **Sie sind ein Held**! 🦸 * Wenn es tatsächlich das Problem gelöst hat, können Sie sie darum bitten:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 14.8K bytes - Click Count (0) -
tests/transaction_test.go
} func TestTransactionOnClosedConn(t *testing.T) { DB, err := OpenTestConnection(&gorm.Config{}) if err != nil { t.Fatalf("failed to connect database, got error %v", err) } rawDB, _ := DB.DB() rawDB.Close() if err := DB.Transaction(func(tx *gorm.DB) error { return nil }); err == nil { t.Errorf("should returns error when commit with closed conn, got error %v", err) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 13.3K bytes - Click Count (0) -
docs/ja/docs/tutorial/request-files.md
- `read(size)`: `size`(`int`)バイト/文字を読み込みます。 - `seek(offset)`: ファイル内のバイト位置 `offset`(`int`)に移動します。 - 例: `await myfile.seek(0)` はファイルの先頭に移動します。 - 一度 `await myfile.read()` を実行して、もう一度内容を読みたい場合に特に便利です。 - `close()`: ファイルを閉じます。 これらはすべて `async` メソッドなので、`await` する必要があります。 例えば、`async` の *path operation 関数* 内では次のように内容を取得できます: ```Python contents = await myfile.read() ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 8.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
Resources.copy(ClassPathTest.class.getResource(entry), jarOut); jarOut.closeEntry(); } } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } private static Manifest manifest(String content) throws IOException { InputStream in = new ByteArrayInputStream(content.getBytes(US_ASCII)); Manifest manifest = new Manifest();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 23.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
clientTestRule.newClient().newCall( Request .Builder() .url("https://$uriHost:$uriPort/") .build(), ) as RealCall } @AfterEach fun tearDown() { factory.close() } @Test fun singleRoute() { val address = factory.newAddress() val routeSelector = newRouteSelector(address) assertThat(routeSelector.hasNext()).isTrue() dns[uriHost] = dns.allocate(1)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 20.3K bytes - Click Count (0) -
docs/es/docs/help-fastapi.md
* En muchos casos, es mejor entender su **problema subyacente o caso de uso**, porque podría haber una mejor manera de resolverlo que lo que están intentando hacer. ### Pide cerrar { #ask-to-close } Si responden, hay una alta probabilidad de que hayas resuelto su problema, felicidades, ¡**eres un héroe**! 🦸 * Ahora, si eso resolvió su problema, puedes pedirles que:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 13.4K bytes - Click Count (0)