- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,017 for rint (0.02 seconds)
-
guava-tests/test/com/google/common/math/MathTesting.java
// Add small multiples of MIN_VALUE and MIN_NORMAL for (int scale = 1; scale <= 4; scale++) { for (double d : Doubles.asList(Double.MIN_VALUE, Double.MIN_NORMAL)) { fractionalBuilder.add(d * scale).add(-d * scale); } } for (int i = Double.MIN_EXPONENT; i <= Double.MAX_EXPONENT; i++) { for (int direction : new int[] {1, -1}) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 9.9K bytes - Click Count (0) -
scripts/lint.sh
Sofie Van Landeghem <******@****.***> 1774370372 +0100
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 24 16:39:32 GMT 2026 - 142 bytes - Click Count (0) -
docs/en/docs/tutorial/extra-models.md
```Python user_dict = user_in.model_dump() ``` we now have a `dict` with the data in the variable `user_dict` (it's a `dict` instead of a Pydantic model object). And if we call: ```Python print(user_dict) ``` we would get a Python `dict` with: ```Python { 'username': 'john', 'password': 'secret', 'email': '******@****.***', 'full_name': None, } ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.7K bytes - Click Count (0) -
scripts/translate.py
continue missing_paths.append(p) print("Paths to skip:") for p in skipped_paths: print(f" - {p}") print(f"Total paths to skip: {len(skipped_paths)}") print("Paths to process:") for p in missing_paths: print(f" - {p}") print(f"Total paths to process: {len(missing_paths)}") for p in missing_paths: print(f"Translating: {p}")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 15.8K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_complex_doc/data/translated_doc_expected.md
```python #Function declaration def hello_world():# Print greeting print("Hello, world!") #Print greeting without space after hash ``` ```console //Function declaration def hello_world():// Print greeting print("Hello, world!") //Print greeting without space after slashes ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 08:08:04 GMT 2026 - 10.9K bytes - Click Count (0) -
configure.py
if user_input == 'y': print(yes_reply) var = True elif user_input == 'n': print(no_reply) var = False elif not user_input: if enabled_by_default: print(yes_reply) var = True else: print(no_reply) var = False else: print('Invalid selection: {}'.format(user_input_origin)) return varCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Dec 19 16:32:04 GMT 2025 - 48.3K bytes - Click Count (0) -
schema/serializer.go
switch fieldValue.(type) { case int, int8, int16, int32, int64: result = time.Unix(rv.Int(), 0).UTC() case uint, uint8, uint16, uint32, uint64: if uv := rv.Uint(); uv > math.MaxInt64 { err = fmt.Errorf("integer overflow conversion uint64(%d) -> int64", uv) } else { result = time.Unix(int64(uv), 0).UTC() //nolint:gosec } case *int, *int8, *int16, *int32, *int64: if rv.IsZero() {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Oct 26 12:29:44 GMT 2025 - 5.1K bytes - Click Count (0) -
tests/test_response_dependency.py
assert resp.status_code == 200 assert resp.json() == {"status": "ok"} assert resp.headers.get("X-Custom") == "modified" # Tests for Request type hint with Depends def test_request_with_depends_annotated(): """Request type hint should work in dependency chain.""" app = FastAPI() def extract_request_info(request: Request) -> dict: return { "path": request.url.path,Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 18:23:16 GMT 2026 - 5.2K bytes - Click Count (0) -
scripts/add_latest_release_date.py
if date_part: print(f"Latest release {version} already has a date: {date_part}") sys.exit(0) today = date.today().isoformat() lines[i] = f"## {version} ({today})\n" print(f"Added date: {version} ({today})") with open(RELEASE_NOTES_FILE, "w") as f: f.writelines(lines) sys.exit(0) print("No release header found") sys.exit(1)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:06:36 GMT 2026 - 1023 bytes - Click Count (0) -
schema/field.go
const ( UnixTime TimeType = 1 UnixSecond TimeType = 2 UnixMillisecond TimeType = 3 UnixNanosecond TimeType = 4 ) // GORM fields types const ( Bool DataType = "bool" Int DataType = "int" Uint DataType = "uint" Float DataType = "float" String DataType = "string" Time DataType = "time" Bytes DataType = "bytes" ) const DefaultAutoIncrementIncrement int64 = 1
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 32.2K bytes - Click Count (0)