- Sort Score
- Result 10 results
- Languages All
Results 2411 - 2420 of 4,205 for inst (0.02 sec)
-
docs_src/additional_status_codes/tutorial001_py310.py
items = {"foo": {"name": "Fighters", "size": 6}, "bar": {"name": "Tenders", "size": 3}} @app.put("/items/{item_id}") async def upsert_item( item_id: str, name: str | None = Body(default=None), size: int | None = Body(default=None), ): if item_id in items: item = items[item_id] item["name"] = name item["size"] = size return item else:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 646 bytes - Viewed (0) -
docs_src/body_fields/tutorial001_an_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 582 bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
byte[] buf = new byte[16]; // Skip advances internal file pointer; next read should use this offset in.skip(2); // Act int n = in.readDirect(buf, 0, 5); // Assert assertEquals(3, n, "Should report bytes read from SMB2 response"); // Verify the request offset equals the skip value (2)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-params.md
"input": "foo" } ] } ``` из-за того, что параметр пути `item_id` имеет значение `"foo"`, которое не является типом `int`. Та же ошибка возникнет, если вместо `int` передать `float`, например: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a> /// check | Заметка
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/distributed/DESIGN.md
```go // hashes the key returning an integer. func sipHashMod(key string, cardinality int, id [16]byte) int { if cardinality <= 0 { return -1 } sip := siphash.New(id[:]) sip.Write([]byte(key)) return int(sip.Sum64() % uint64(cardinality)) } ```
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Feb 26 09:25:50 UTC 2025 - 8K bytes - Viewed (2) -
android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
public ListenableFuture<Integer> reload(Integer key, Integer oldValue) { countReload.incrementAndGet(); return immediateFuture(oldValue + 1); } public int getLoadCount() { return countLoad.get(); } public int getReloadCount() { return countReload.get(); } } static final class IdentityLoader<T> extends CacheLoader<T, T> { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/LruHashSet.java
/** * Creates a new {@link LruHashSet} with the specified limit size. * * @param limitSize * the maximum number of elements to retain in the set */ public LruHashSet(final int limitSize) { map = new LruHashMap<>(limitSize); } /** * Returns an iterator over the elements in this set. The elements are * returned in no particular order. *Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
* <li>{@code done} - Flag indicating whether the file has been retrieved.</li> * </ul> * * <p>Constructors:</p> * <ul> * <li>{@code ContentOutputStream(int threshold, File tmpDir)} - Constructs a ContentOutputStream with a specified threshold and temporary directory.</li> * </ul> * * <p>Methods:</p> * <ul>
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java
*/ protected String getTextInternal(final InputStream in, final MimeTypeHelper mimeTypeHelper, final ExtractorFactory extractorFactory) { final StringBuilder buf = new StringBuilder(1000); int processedEntries = 0; int failedEntries = 0; try (final ArchiveInputStream ais = archiveStreamFactory.createArchiveInputStream("tar", in)) { TarArchiveEntry entry = null; long contentSize = 0;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
} } /** * * {@inheritDoc} * * @see jcifs.CIFSContext#getPipe(java.lang.String, int) */ @Override public SmbPipeResource getPipe(final String url, final int pipeType) throws CIFSException { try { return new SmbNamedPipe(url, pipeType, this); } catch (final MalformedURLException e) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0)