- Sort Score
- Num 10 results
- Language All
Results 861 - 870 of 1,126 for Errorfs (0.05 seconds)
-
internal/config/etcd/etcd.go
for _, endpoint := range etcdEndpoints { u, err := xnet.ParseHTTPURL(endpoint) if err != nil { return nil, false, err } if etcdSecure && u.Scheme == "http" { return nil, false, config.Errorf("all endpoints should be https or http: %s", endpoint) } // If one of the endpoint is https, we will use https directly. etcdSecure = etcdSecure || u.Scheme == "https" }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 5.2K bytes - Click Count (0) -
docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md
하지만 필요한 경우 사용할 수 있습니다. 🤓 /// {* ../../docs_src/dependencies/tutorial008b_an_py39.py hl[18:22,31] *} 예외를 처리하고(또는 추가로 다른 `HTTPException`을 발생시키기 위해) 사용할 수 있는 또 다른 방법은 [사용자 정의 예외 처리기](../handling-errors.md#install-custom-exception-handlers){.internal-link target=_blank}를 생성하는 것 입니다. ## `yield`와 `except`를 사용하는 의존성Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Feb 09 14:54:09 GMT 2025 - 14.2K bytes - Click Count (0) -
cmd/bucket-replication-utils.go
func parseSizeFromContentRange(h http.Header) (sz int64, err error) { cr := h.Get(xhttp.ContentRange) if cr == "" { return sz, fmt.Errorf("Content-Range not set") } parts := contentRangeRegexp.FindStringSubmatch(cr) if len(parts) != 4 { return sz, fmt.Errorf("invalid Content-Range header %s", cr) } if parts[3] == "*" { return -1, nil } var usz uint64
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java
import java.util.Locale; import java.util.Properties; import org.apache.maven.impl.util.Os; import org.apache.maven.jline.MessageUtils; import org.slf4j.Logger; /** * Utility class used to report errors, statistics, application version info, etc. * */ public final class CLIReportingUtils { // CHECKSTYLE_OFF: MagicNumber public static final long MB = 1024 * 1024;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Feb 10 15:02:53 GMT 2025 - 6.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
// Then, run the actual tests under each alternative classloader: runTestMethod(NO_ATOMIC_FIELD_UPDATER); // TODO(lukes): assert that the logs are full of errors } /** * Runs the corresponding {@link FuturesTest} test method in a new classloader that disallows * certain core JDK classes. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0) -
cmd/leak-detect_test.go
time.Sleep(leakDetectPauseTimeMs * time.Millisecond) continue } // after the deadline time report all the difference in the latest snapshot compared with the initial one. for _, g := range leaked { t.Errorf("Leaked goroutine: %v", g) } return } } // DetectTestLeak - snapshots the currently running goroutines and returns a // function to be run at the end of tests to see whether any // goroutines leaked.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
这是一种相对高级的技巧,在大多数情况下你并不需要使用它,因为你可以在其他代码中抛出异常(包括 `HTTPException` ),例如在 *路由函数* 中。 但是如果你需要,你也可以在依赖项中做到这一点。🤓 /// {* ../../docs_src/dependencies/tutorial008b_an_py39.py hl[18:22,31] *} 你还可以创建一个 [自定义异常处理器](../handling-errors.md#install-custom-exception-handlers){.internal-link target=_blank} 用于捕获异常(同时也可以抛出另一个 `HTTPException`)。 ## 包含 `yield` 和 `except` 的依赖项Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 11.3K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params-str-validations.md
/// note FastAPI will know that the value of `q` is not required because of the default value `= None`. Having `str | None` will allow your editor to give you better support and detect errors. /// ## Additional validation { #additional-validation } We are going to enforce that even though `q` is optional, whenever it is provided, **its length doesn't exceed 50 characters**.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 16.7K bytes - Click Count (0) -
docs/es/docs/tutorial/testing.md
Digamos que ahora el archivo `main.py` con tu aplicación de **FastAPI** tiene algunas otras **path operations**. Tiene una operación `GET` que podría devolver un error. Tiene una operación `POST` que podría devolver varios errores. Ambas *path operations* requieren un `X-Token` header. {* ../../docs_src/app_testing/app_b_an_py310/main.py *} ### Archivo de prueba extendido { #extended-testing-file }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java
UpgradeResult result = strategy.apply(context, pomMap); // Should have errors (not just warnings) assertTrue(result.errorCount() > 0, "Downgrade should result in errors"); assertFalse(result.success(), "Downgrade should not be successful"); assertEquals(1, result.errorCount(), "Should have exactly one error"); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 38.8K bytes - Click Count (0)