- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 740 for valida (0.04 sec)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
@Test @DisplayName("Test readBytesWireFormat with valid structure size") void testReadBytesWireFormatValidStructureSize() throws Exception { response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO); byte[] buffer = new byte[512]; int bufferIndex = 0; // Set structure size to 9 (valid) SMBUtil.writeInt2(9, buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
/// FastAPI will now: * **Validate** the data making sure that the max length is 50 characters * Show a **clear error** for the client when the data is not valid * **Document** the parameter in the OpenAPI schema *path operation* (so it will show up in the **automatic docs UI**)
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
public DirectoryCacheEntry getCacheEntry(String directoryPath) { DirectoryCacheEntry entry = directoryCache.get(directoryPath); // Check if cache entry is valid if (entry != null && entry.needsRefresh()) { // Check if lease is still valid LeaseManager.LeaseEntry leaseEntry = baseLeaseManager.getLease(entry.getLeaseKey()); if (leaseEntry == null || !leaseEntry.hasReadCache()) {
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/internal/SMBSigningDigestTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; } @Test @DisplayName("Test sign method with valid parameters") void testSignWithValidParameters() { // Arrange int offset = 0; int length = testData.length; // Act
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/SmbFileHandleTest.java
verify(smbFileHandle, times(1)).getTree(); } /** * Test isValid() when the handle is valid. */ @Test void testIsValid_whenValid() { when(smbFileHandle.isValid()).thenReturn(true); assertTrue(smbFileHandle.isValid(), "isValid should return true when the handle is valid."); verify(smbFileHandle, times(1)).isValid(); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
cmd/xl-storage_unix_test.go
// Tests if the directory and file creations happen with proper umask. func TestIsValidUmaskVol(t *testing.T) { tmpPath := t.TempDir() testCases := []struct { volName string expectedUmask int }{ {"is-this-valid", getUmask()}, } testCase := testCases[0] // Initialize a new xlStorage layer. disk, err := newLocalXLStorage(tmpPath) if err != nil { t.Fatalf("Initializing xlStorage failed with %s.", err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
} @ParameterizedTest(name = "Known code {0} maps to message") @MethodSource("knownCodeMessagePairs") void lookup_returns_expected_message_for_known_codes(int code, String expectedMessage) { // Valid inputs: each known code must map to its documented message assertEquals(expectedMessage, lookupMessage(code).orElse(null)); } @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
// Then - Buffer should be valid assertNotNull(buffer2, "Reused buffer should not be null"); assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer2.length, "Reused buffer should have correct size"); // Note: We don't check if content is cleared as that's not a security requirement // The important part is that the buffer is valid and has correct size } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
migrator/table_type.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri May 05 07:58:27 UTC 2023 - 688 bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt
} /** * Ensures that valid flag combinations appear visually correct, and invalid show in hex. This * also demonstrates how sparse the lookup table is. */ @Test fun allFormattedFlagsWithValidBits() { val formattedFlags = mutableListOf<String>() // Highest valid flag is 0x20. for (i in 0..0x3f) formattedFlags.add(formatFlags(TYPE_HEADERS, i))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.9K bytes - Viewed (0)