- Sort Score
- Num 10 results
- Language All
Results 1161 - 1170 of 1,681 for tone (0.07 seconds)
-
docs/ru/docs/tutorial/server-sent-events.md
Это полезно для отправки заранее отформатированного текста, строк логов или специальных значений <dfn title="Значение, используемое для обозначения особого условия или состояния">«сентинель»</dfn>, например `[DONE]`. {* ../../docs_src/server_sent_events/tutorial003_py310.py hl[17] *} /// note | Примечание `data` и `raw_data` взаимно исключают друг друга. В каждом `ServerSentEvent` можно задать только одно из них. ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 7.4K bytes - Click Count (0) -
internal/config/heal/heal.go
func (opts Config) Clone() (int, time.Duration, string) { configMutex.RLock() defer configMutex.RUnlock() return opts.IOCount, opts.Sleep, opts.Bitrot } // GetWorkers returns the number of workers, -1 is none configured func (opts Config) GetWorkers() int { configMutex.RLock() defer configMutex.RUnlock() return opts.DriveWorkers } // Update updates opts with nopts func (opts *Config) Update(nopts Config) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 04 19:06:02 GMT 2024 - 4.9K bytes - Click Count (0) -
docs/ko/docs/tutorial/extra-models.md
그리고 다음과 같이 호출하면: ```Python print(user_dict) ``` Python의 `dict`가 다음과 같이 출력됩니다: ```Python { 'username': 'john', 'password': 'secret', 'email': '******@****.***', 'full_name': None, } ``` #### `dict` 언패킹 { #unpacking-a-dict } `user_dict`와 같은 `dict`를 함수(또는 클래스)에 `**user_dict`로 전달하면, Python은 이를 "언팩(unpack)"합니다. 이 과정에서 `user_dict`의 키와 값을 각각 키-값 인자로 직접 전달합니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 8K bytes - Click Count (0) -
docs/zh/docs/how-to/custom-docs-ui-assets.md
如果你所在的国家/地区屏蔽了某些 URL,这会很有用。 ### 关闭自动文档 { #disable-the-automatic-docs } 第一步是关闭自动文档,因为默认它们会使用默认的 CDN。 要关闭它们,在创建 `FastAPI` 应用时将其 URL 设为 `None`: {* ../../docs_src/custom_docs_ui/tutorial001_py310.py hl[8] *} ### 包含自定义文档 { #include-the-custom-docs } 现在你可以为自定义文档创建*路径操作*。 你可以复用 FastAPI 的内部函数来创建文档的 HTML 页面,并传入所需参数:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.1K bytes - Click Count (0) -
cmd/common-main.go
// Baremetal setups set DNS refresh window up to dnsTTL duration. t := time.NewTicker(dnsTTL) defer t.Stop() for { select { case <-t.C: globalDNSCache.Refresh() case <-GlobalContext.Done(): return } } }() } type envKV struct { Key string Value string Skip bool } func (e envKV) String() string { if e.Skip { return "" }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.5K bytes - Click Count (3) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
@NullUnmarked @GwtIncompatible @J2ktIncompatible public final class InterruptibleTaskTest extends TestCase { // Regression test for a deadlock where a task could be stuck busy waiting for the task to // transition to DONE public void testInterruptThrows() throws Exception { CountDownLatch isInterruptibleRegistered = new CountDownLatch(1); SettableFuture<String> taskResult = SettableFuture.create(); InterruptibleTask<String> task =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
@NullUnmarked @GwtIncompatible @J2ktIncompatible public final class InterruptibleTaskTest extends TestCase { // Regression test for a deadlock where a task could be stuck busy waiting for the task to // transition to DONE public void testInterruptThrows() throws Exception { CountDownLatch isInterruptibleRegistered = new CountDownLatch(1); SettableFuture<String> taskResult = SettableFuture.create(); InterruptibleTask<String> task =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java
} File outputMarker = getOutputMarker(); outputMarker.getParentFile().mkdirs(); Files.write(outputMarker.toPath(), "done".getBytes(StandardCharsets.UTF_8)); } @OutputFile public File getOutputMarker() { return new File(projectLayout.getBuildDirectory().getAsFile().get(), "markers/" + getName()); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
} public void testToArray() { // need explicit type parameter to avoid javac warning!? List<Byte> none = Arrays.<Byte>asList(); assertThat(Bytes.toArray(none)).isEqualTo(EMPTY); List<Byte> one = Arrays.asList((byte) 1); assertThat(Bytes.toArray(one)).isEqualTo(ARRAY1); byte[] array = {(byte) 0, (byte) 1, (byte) 0x55};
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 17.5K bytes - Click Count (0) -
cmd/metacache-server-pool.go
go func(i int, set *erasureObjects) { defer wg.Done() err := set.listPath(listCtx, o, innerResults) mu.Lock() defer mu.Unlock() if err == nil { allAtEOF = false } errs[i] = err }(len(errs), set) errs = append(errs, nil) } } mu.Unlock() // Gather results to a single channel. // Quorum is one since we are merging across sets.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12.9K bytes - Click Count (0)