- Sort Score
- Num 10 results
- Language All
Results 1191 - 1200 of 1,698 for math (0.1 seconds)
-
cmd/erasure-encode_test.go
} func (a badDisk) AppendFile(ctx context.Context, volume string, path string, buf []byte) error { return errFaultyDisk } func (a badDisk) ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error) { return nil, errFaultyDisk } func (a badDisk) CreateFile(ctx context.Context, origvolume, volume, path string, size int64, reader io.Reader) error { return errFaultyDisk }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
tests/test_validation_error_context.py
self.exception = None def capture(self, exc): self.exception = exc return exc app = FastAPI() sub_app = FastAPI() captured_exception = ExceptionCapture() app.mount(path="/sub", app=sub_app) @app.exception_handler(RequestValidationError) @sub_app.exception_handler(RequestValidationError) async def request_validation_handler(request: Request, exc: RequestValidationError):Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 06 12:21:57 GMT 2025 - 4.7K bytes - Click Count (0) -
tests/test_tutorial/test_extra_models/test_tutorial003.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 6K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java
* @throws IOException in case of IO issue */ InputStream getInputStream() throws IOException; /** * Provides a user-friendly hint about the location of the source. This could be a local file path, a URI or just an * empty string. The intention is to assist users during error reporting. * * @return A user-friendly hint about the location of the source, never {@code null}. */ String getLocation();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 18:51:29 GMT 2025 - 1.8K bytes - Click Count (0) -
tests/test_regex_deprecated_params.py
assert response.json() == { "detail": [ { "type": "string_pattern_mismatch", "loc": ["query", "q"], "msg": "String should match pattern '^fixedquery$'", "input": "nonregexquery", "ctx": {"pattern": "^fixedquery$"}, } ] } @needs_py310 def test_openapi_schema():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 4.6K bytes - Click Count (0) -
docs/ja/docs/tutorial/handling-errors.md
### コード内での`HTTPException`の発生 `HTTPException`は通常のPythonの例外であり、APIに関連するデータを追加したものです。 Pythonの例外なので、`return`ではなく、`raise`です。 これはまた、*path operation関数*の内部で呼び出しているユーティリティ関数の内部から`HTTPException`を発生させた場合、*path operation関数*の残りのコードは実行されず、そのリクエストを直ちに終了させ、`HTTPException`からのHTTPエラーをクライアントに送信することを意味します。 値を返す`return`よりも例外を発生させることの利点は、「依存関係とセキュリティ」のセクションでより明確になります。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 11.6K bytes - Click Count (0) -
docs/ru/docs/virtual-environments.md
Одна из таких переменных — `PATH`. /// tip | Подсказка Вы можете узнать больше о переменной окружения `PATH` в разделе [Переменные окружения](environment-variables.md#path-environment-variable){.internal-link target=_blank}. /// Активация виртуального окружения добавляет его путь `.venv/bin` (на Linux и macOS) или `.venv\Scripts` (на Windows) в переменную окружения `PATH`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 11 21:25:03 GMT 2025 - 34.2K bytes - Click Count (0) -
docs/docker/README.md
The command creates a new local directory `~/minio/data` in your user home directory. It then starts the MinIO container with the `-v` argument to map the local path (`~/minio/data`) to the specified virtual container directory (`/data`). When MinIO writes data to `/data`, that data is actually written to the local path `~/minio/data` where it can persist between container restarts. ### Windows ```sh docker run \ -p 9000:9000 \ -p 9001:9001 \
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 8.2K bytes - Click Count (0) -
internal/config/dns/etcd_dns.go
if err != nil { return nil, err } // Make sure we have record.Key is empty // this can only happen when record.Key // has bucket entry with exact prefix // match any record.Key which do not // match the prefixes we skip them. for _, record := range records { if record.Key != "" { continue } srvRecords = append(srvRecords, record) } } if len(srvRecords) == 0 {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 8K bytes - Click Count (0) -
schema/constraint.go
package schema import ( "regexp" "strings" "gorm.io/gorm/clause" ) // reg match english letters and midline var regEnLetterAndMidline = regexp.MustCompile(`^[\w-]+$`) type CheckConstraint struct { Name string Constraint string // length(phone) >= 10 *Field } func (chk *CheckConstraint) GetName() string { return chk.Name } func (chk *CheckConstraint) Build() (sql string, vars []interface{}) {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Mar 18 07:33:54 GMT 2024 - 1.9K bytes - Click Count (0)