- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 840 for Reserve (0.04 seconds)
-
src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java
private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); // The response structure is reserved and must be zero (8 bytes) private byte[] reserved = new byte[8]; /** * Create a new durable handle response */ public DurableHandleResponse() { // Reserved field initialized to zeros } @Override public byte[] getName() { return CONTEXT_NAME_BYTES;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 1.9K bytes - Click Count (0) -
tests/test_list_bytes_file_order_preserved_issue_14811.py
""" Regression test: preserve order when using list[bytes] + File() See https://github.com/fastapi/fastapi/discussions/14811 Fixed in PR: https://github.com/fastapi/fastapi/pull/14884 """ from typing import Annotated import anyio import pytest from fastapi import FastAPI, File from fastapi.testclient import TestClient from starlette.datastructures import UploadFile as StarletteUploadFile def test_list_bytes_file_preserves_order(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 10 12:14:38 GMT 2026 - 1.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
byte[] buffer = createValidWriteResponse(1024, 512); int bytesRead = response.readBytesWireFormat(buffer, 0); assertEquals(16, bytesRead); // Structure size + reserved (4) + count (4) + remaining (4) + channel info (4) assertEquals(1024, response.getCount()); assertEquals(512, response.getRemaining()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
// dataDisplacement (4 bytes) SMBUtil.writeInt4(0, buffer, bufferIndex + 31); // setupCount (1 byte) + 1 reserved byte buffer[bufferIndex + 35] = 0x00; // setupCount = 0 buffer[bufferIndex + 36] = 0x00; // reserved int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex); // Verify the correct number of bytes were read (37 bytes total)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
int bytesWritten = smbComNtTransaction.writeParameterWordsWireFormat(dst, 0); // 1 (reserved) + 2 (reserved) + 4 (totalParameterCount) + 4 (totalDataCount) + // 4 (parameterCount) + 4 (parameterOffset) + 4 (parameterDisplacement) + // 4 (dataCount) + 4 (dataOffset) + 4 (dataDisplacement) + 1 (reserved) assertEquals(36, bytesWritten, "Number of bytes written should be 36 for secondary transaction");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java
@Test void testReadParameterWordsWireFormat_bufDataStartIsZero() { // Test case when bufDataStart is initially 0. byte[] buffer = new byte[37]; // 3 reserved + 8*4 bytes for int4 values + 2 bytes for setupCount int bufferIndex = 0; // Reserved bytes buffer[bufferIndex++] = 0x00; buffer[bufferIndex++] = 0x00; buffer[bufferIndex++] = 0x00; // totalParameterCount = 10Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java
private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private static final int STRUCTURE_SIZE = 16; private long reserved; // Must be zero /** * Create a new durable handle request */ public DurableHandleRequest() { this.reserved = 0; } @Override public byte[] getName() { return CONTEXT_NAME_BYTES; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
SMBUtil.writeInt8(0, dst, dstIndex); // LeaseDuration (8 bytes) - reserved, must be zero dstIndex += 8; parentLeaseKey.encode(dst, dstIndex); // ParentLeaseKey (16 bytes) dstIndex += 16; SMBUtil.writeInt2(epoch, dst, dstIndex); // Epoch (2 bytes) dstIndex += 2; SMBUtil.writeInt2(0, dst, dstIndex); // Reserved (2 bytes) dstIndex += 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 6.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
+ "Mixins are not supported in the default consumer POM format. " + "You have the following options to resolve this:" + System.lineSeparator() + " 1. Preserve the model version by setting 'preserve.model.version=true' to generate a consumer POM with <modelVersion>4.2.0</modelVersion>, which supports mixins" + System.lineSeparator()Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 22.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java
bufferIndex += 4; this.leaseFlags = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // LeaseDuration (8 bytes) - reserved, skip bufferIndex += 8; byte[] parentKeyBytes = new byte[16]; System.arraycopy(buffer, bufferIndex, parentKeyBytes, 0, 16); this.parentLeaseKey = new Smb2LeaseKey(parentKeyBytes);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 3.6K bytes - Click Count (0)