- Sort Score
- Result 10 results
- Languages All
Results 1031 - 1040 of 2,800 for int3 (0.03 sec)
-
docs_src/query_param_models/tutorial001_py310.py
from typing import Literal from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: FilterParams = Query()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 422 bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p4/golden.txt
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jan 26 19:39:32 UTC 2024 - 329 bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
// information levels static final int SMB_INFO_STANDARD = 1; static final int SMB_INFO_QUERY_EA_SIZE = 2; static final int SMB_INFO_QUERY_EAS_FROM_LIST = 3; static final int SMB_FIND_FILE_DIRECTORY_INFO = 0x101; static final int SMB_FIND_FILE_FULL_DIRECTORY_INFO = 0x102; static final int SMB_FILE_NAMES_INFO = 0x103; static final int SMB_FILE_BOTH_DIRECTORY_INFO = 0x104; private int sid;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
private static final int SHARING_DENY_READ_EXECUTE = 0x30; private static final int SHARING_DENY_NONE = 0x40; private static final int DO_NOT_CACHE = 0x1000; // bit 12 private static final int WRITE_THROUGH = 0x4000; // bit 14 private static final int OPEN_FN_CREATE = 0x10; private static final int OPEN_FN_FAIL_IF_EXISTS = 0x00; private static final int OPEN_FN_OPEN = 0x01;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 5.7K bytes - Viewed (0) -
tests/test_computed_fields.py
@pytest.fixture(name="client") def get_client(): app = FastAPI() from pydantic import BaseModel, computed_field class Rectangle(BaseModel): width: int length: int @computed_field @property def area(self) -> int: return self.width * self.length @app.get("/") def read_root() -> Rectangle: return Rectangle(width=3, length=4)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java
} return tmp; } @Benchmark int log10(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += BigIntegerMath.log10(positive[j], mode); } return tmp; } @Benchmark int sqrt(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += BigIntegerMath.sqrt(positive[j], mode).intValue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 30 13:06:20 UTC 2020 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
crawlingInfoHelper.generateId(dataMap)); } public void test_generateId_long() { for (int i = 0; i < 1000; i++) { final String value = RandomStringUtils.randomAlphabetic(550); assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 440)).length());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
.getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator())); for (int i = 0; i < entries.size(); i++) { for (int j = i + 1; j < entries.size(); j++) { assertEqualInOrder( entries.subList(i, j), navigableMap.subMap(entries.get(i).getKey(), entries.get(j).getKey()).entrySet());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
keyIndex %= keyLength // Reassign to prevent overflow breaking counter. // Byte xor is experimental in Kotlin so we coerce bytes to int, xor them // and convert back to byte. val bufferInt: Int = buffer[i].toInt() val keyInt: Int = key[keyIndex].toInt() buffer[i] = (bufferInt xor keyInt).toByte() i++ keyIndex++ } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/math/DoubleUtils.java
static final long SIGN_MASK = 0x8000000000000000L; static final int SIGNIFICAND_BITS = 52; static final int EXPONENT_BIAS = 1023; /** The implicit 1 bit that is omitted in significands of normal doubles. */ static final long IMPLICIT_BIT = SIGNIFICAND_MASK + 1; static long getSignificand(double d) { checkArgument(isFinite(d), "not a normal value"); int exponent = getExponent(d); long bits = doubleToRawLongBits(d);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.1K bytes - Viewed (0)