- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 387 for validateOS (0.05 sec)
-
docs/en/docs/python-types.md
You declare the "shape" of the data as classes with attributes. And each attribute has a type. Then you create an instance of that class with some values and it will validate the values, convert them to the appropriate type (if that's the case) and give you an object with all the data. And you get all the editor support with that resulting object. An example from the official Pydantic docs:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.1K bytes - Viewed (0) -
api/maven-api-plugin/src/main/mdo/plugin.mdo
<name>type</name> <version>1.0.0+</version> <type>String</type> <required>true</required> <description> The Java type for this parameter. This is used to validate the result of any expressions used to calculate the value which should be injected into the Mojo for this parameter. </description> </field> <field> <name>required</name>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Feb 25 08:28:41 UTC 2025 - 24.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt
*/ class CacheControl internal constructor( /** * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching * the response; it only means we have to validate the response with the origin server before * returning it. We can do this with a conditional GET. * * In a request, it means do not use a cache to satisfy the request. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
assertThrows(SMBProtocolDecodingException.class, () -> resp.decode(packet, 0)); } @Test void decodesSrvCopyChunkCopyResponse() throws Exception { // Validate createOutputDecodable() mapping and Decodable decode byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS); // Prepare 3 ints: chunksWritten=1, chunkBytesWritten=2, totalBytesWritten=3
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
@Test @DisplayName("Parse accepts non-zero outer tag numbers (current implementation behavior)") void testParseAcceptsNonZeroOuterTag() throws Exception { // Note: The current implementation does not validate the outer APPLICATION tag number // This test documents the actual behavior - any tag number is accepted byte[] token =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
// Directory leasing requires SMB 3.0 or higher // MS-SMB2: Level 2 leasing (which includes directory leasing) is only supported in SMB 3.0+ // We'll validate this when we actually need to use the session // Request base lease Smb2LeaseKey leaseKey = baseLeaseManager.requestLease(directoryPath, requestedState); // Create directory cache entry
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
assertFalse(UniAddress.isDotQuadIP(input)); } @Test void shouldReturnTrueForInvalidOctetValues() { // isDotQuadIP does not validate octet values, only checks format assertTrue(UniAddress.isDotQuadIP("192.168.1.256")); assertTrue(UniAddress.isDotQuadIP("999.999.999.999")); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
import org.junit.jupiter.api.Test; /** * JUnit 5 tests for AndXServerMessageBlock in legacy smb1 package. * * The tests use small stub subclasses to drive encode/decode paths and * validate batching, chaining, signing, and NT_CREATE_ANDX extended handling. */ class AndXServerMessageBlockTest { /** * Test stub for AndXServerMessageBlock to control read/write logic. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// Then - all reads should return same result assertEquals(4, read1); assertEquals(4, read2); assertEquals(4, read3); } @Test @DisplayName("Should validate structure size before processing") void testStructureSizeValidation() { // Given various invalid structure sizes int[] invalidSizes = { -1, 0, 1, 2, 3, 5, 6, 8, 16, 32, 64, 128, 256, 512, 1024 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
}); } } @Nested @DisplayName("Encoding Tests") class EncodingTests { @Test @DisplayName("encode should validate size calculation") void testEncodeValidSize() { byte[] buffer = new byte[1024]; testRequest.setTestSize(64); testRequest.setTestLength(64);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0)