- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,360 for Size (0.09 sec)
-
docs_src/additional_status_codes/tutorial001_py310.py
app = FastAPI() 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) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java
} /** * Get the maximum size for RDMA read/write operations * * @return maximum read/write size in bytes */ public int getMaxReadWriteSize() { return maxReadWriteSize; } /** * Set the maximum size for RDMA read/write operations * * @param maxReadWriteSize maximum read/write size in bytes */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
return Stream.of(Arguments.of(null, 4), // size() returns 4 even with null Arguments.of(new int[0], 4), // size() returns 4 for empty array Arguments.of(new int[] { 1 }, 4 + 2), // size() returns 4 + 2*1 Arguments.of(new int[] { 1, 2 }, 4 + 4), // size() returns 4 + 2*2 Arguments.of(new int[] { 1, 2, 3, 4, 5 }, 4 + 10) // size() returns 4 + 2*5 ); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
String pipeName = "TestPipe"; FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName); // Verify size calculation int expectedSize = 14 + pipeName.getBytes(StandardCharsets.UTF_16LE).length; assertEquals(expectedSize, request.size()); } @Test @DisplayName("Test constructor with name and timeout sets correct fields") void testConstructorWithNameAndTimeout() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
} @Test @DisplayName("Size should be consistent across multiple calls") void testSizeConsistency() { int size1 = echoRequest.size(); int size2 = echoRequest.size(); assertEquals(size1, size2); } @Test @DisplayName("Size should be 72 bytes (64 header + 4 body aligned to 8)")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
internal/bpool/bpool_test.go
// Fill the pool beyond the capped pool size. for i := uint64(0); i < size*2; i++ { bp.Put(make([]byte, bp.w, bp.wcap)) } b = bp.Get() if len(b) != width { t.Fatalf("bytepool length invalid: got %v want %v", len(b), width) } if cap(b) != capWidth { t.Fatalf("bytepool length invalid: got %v want %v", cap(b), capWidth) } bp.Put(b) // Check the size of the pool. if uint64(len(bp.c)) != size {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/ne.css
width: 100px; height: 18px; padding: 2px; font-family: Verdana, sans-serif; font-size: 10pt } body { font-family: Verdana, sans-serif; font-size: 10pt; background-color: #ffffff; margin-top: 0; margin-left: 5 } small { font-size: 8pt } big { font-size: 14ptRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
void getSendBufferSize_returns() throws Exception { // Arrange when(handle.getSendBufferSize()).thenReturn(8192); // Act int size = handle.getSendBufferSize(); // Assert assertEquals(8192, size); verify(handle).getSendBufferSize(); } @Test @DisplayName("getSendBufferSize(): propagates CIFSException on failure")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
@DisplayName("Test getSendBufferSize returns standard size") void testGetSendBufferSizeStandard() { // Arrange int expectedSize = 65536; when(negotiationResponse.getSendBufferSize()).thenReturn(expectedSize); // Act int size = negotiationResponse.getSendBufferSize(); // Assert assertEquals(expectedSize, size); verify(negotiationResponse).getSendBufferSize();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java
param1.setDefaultValue("value1"); mojoDescriptor.addParameter(param1); assertEquals(1, mojoDescriptor.getParameters().size()); assertEquals( mojoDescriptor.getParameters().size(), mojoDescriptor.getParameterMap().size()); Parameter param2 = new Parameter(); param2.setName("param2"); param2.setDefaultValue("value2");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0)