- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 1,765 for only1 (0.01 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
byte[] buffer = new byte[50]; int used = nullPathCmd.writeBytesWireFormat(buffer, 0); // Should write command byte + null terminator only assertEquals(2, used, "Null path should result in command byte + NUL"); assertEquals(0x04, buffer[0] & 0xFF, "First byte must still be 0x04"); assertEquals(0, buffer[1], "Second byte must be null terminator");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
@Test @DisplayName("accept: returns true for directories; verifies isDirectory is invoked") void accept_returnsTrueForDirectory_andVerifiesInteraction() throws Exception { // Arrange: filter that accepts directories only SmbFileFilter filter = f -> f.isDirectory(); when(smbFile.isDirectory()).thenReturn(true); // Act boolean result = filter.accept(smbFile); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K 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);
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 void shouldThrowExceptionForNullInput() {
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/pac/kerberos/KerberosApRequestTest.java
@Test @DisplayName("byte[] ctor: malformed DER is wrapped as PACDecodingException (IOException path)") void byteArrayConstructor_malformedDER_throwsWrapped() { // Arrange: Truncated SEQUENCE (0x30 len=2 but only 1 byte of content) byte[] malformed = new byte[] { 0x30, 0x02, 0x01 }; // Act + Assert PACDecodingException ex = assertThrows(PACDecodingException.class, () -> new KerberosApRequest(malformed, null));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
{* ../../docs_src/body_nested_models/tutorial009_py39.py hl[7] *} /// tip Keep in mind that JSON only supports `str` as keys. But Pydantic has automatic data conversion. This means that, even though your API clients can only send strings as keys, as long as those strings contain pure integers, Pydantic will convert them and validate them.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
cmd/utils_test.go
}{ // Test case 1 normal case. { path: "/bucket/object", bucket: "bucket", object: "object", }, // Test case 2 where url only has separator. { path: SlashSeparator, bucket: "", object: "", }, // Test case 3 only bucket is present. { path: "/bucket", bucket: "bucket", object: "", }, // Test case 4 many separators and object is a directory.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
assertEquals(1, violations.size()); // Only NotNull violation bean.setRequiredCron("invalid"); // Now violates CronExpression violations = validator.validate(bean); assertEquals(1, violations.size()); // Only CronExpression violation bean.setRequiredCron(""); // Empty string passes NotNull but should pass CronExpression too
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
LICENSE
or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue May 08 21:35:34 UTC 2018 - 11.1K bytes - Viewed (0) -
LICENSES/vendor/github.com/euank/go-kmsg-parser/LICENSE
or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Fri May 08 04:49:00 UTC 2020 - 11.2K bytes - Viewed (0)