- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 813 for INVALID (0.05 sec)
-
src/test/java/jcifs/pac/PacLogonInfoTest.java
} private void writeLittleEndianLong(DataOutputStream dos, long value) throws IOException { dos.writeLong(Long.reverseBytes(value)); } @Test @DisplayName("Test parsing with invalid data size") void testInvalidDataSize() { byte[] tooSmall = new byte[10]; PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacLogonInfo(tooSmall));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
cmd/sftp-server_test.go
} newSSHCon := newSSHConnMock(accessKey + "=svc") _, err = sshPasswordAuth(newSSHCon, []byte("invalid")) if err == nil || !errors.Is(err, errAuthentication) { c.Fatalf("expected err(%s) but got (%s)", errAuthentication, err) } newSSHCon = newSSHConnMock(accessKey) _, err = sshPasswordAuth(newSSHCon, []byte("invalid")) if err == nil || !errors.Is(err, errAuthentication) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Feb 27 18:43:32 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
boolean result = filter.accept(mockDir, name); assertEquals(expected, result, "Filter should evaluate .txt suffix correctly"); verifyNoInteractions(mockDir); } /** * Invalid/null inputs: ensure filters can handle null name and dir. */ @ParameterizedTest @DisplayName("null and empty names are handled explicitly") @NullAndEmptySource @ValueSource(strings = { " \t\n" })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermQueryCommand.java
if (values.length > 2) { throw new InvalidQueryException(messages -> messages.addErrorsInvalidQuerySortValue(UserMessages.GLOBAL_PROPERTY_KEY, text), "Invalid sort field: " + termQuery); } final String sortField = values[0]; if (!getQueryFieldConfig().isSortField(sortField)) { throw new InvalidQueryException(
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java
/** * Retrieves an integer value from system properties with a default fallback. * * @param key the property key to look up * @param defaultValue the default value if the property is not found or invalid * @return the integer value or default value */ protected Integer getDefaultInteger(final String key, final Integer defaultValue) { final String value = systemProperties.getProperty(key);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
// These tests validate current behavior where problematic paths are caught by other checks // Test invalid server name with dots - caught by directory traversal check assertThrows(SmbException.class, () -> { validator.validatePath("\\\\..\\share"); }); // Test invalid characters in paths - caught by null byte check assertThrows(SmbException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
// Test with invalid file path (directory that doesn't exist) String invalidPath = "/nonexistent/directory/thread-dump.txt"; try { ThreadDumpUtil.writeThreadDump(invalidPath); // Should not throw exception but log warning } catch (Exception e) { fail("writeThreadDump should handle invalid paths gracefully: " + e.getMessage()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
cmd/metacache-marker.go
return fmt.Sprintf("%s[minio_cache:%s,return:]", marker, markerTagVersion) } if strings.ContainsAny(o.ID, "[:,") { internalLogIf(context.Background(), fmt.Errorf("encodeMarker: uuid %s contained invalid characters", o.ID)) } return fmt.Sprintf("%s[minio_cache:%s,id:%s,p:%d,s:%d]", marker, markerTagVersion, o.ID, o.pool, o.set)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
assertArrayEquals(context.getCompressionAlgorithms(), decodedContext.getCompressionAlgorithms()); assertEquals(context.getFlags(), decodedContext.getFlags()); } @Test @DisplayName("Test invalid buffer size for decoding") public void testInvalidBufferSize() { byte[] smallBuffer = new byte[4]; // Too small assertThrows(SMBProtocolDecodingException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0) -
cmd/xl-storage-free-version.go
if status, ok := j.MetaSys[ReservedMetadataPrefixLower+TransitionStatus]; ok && bytes.Equal(status, []byte(lifecycle.TransitionComplete)) { vID, err := uuid.Parse(fi.TierFreeVersionID()) if err != nil { panic(fmt.Errorf("Invalid Tier Object delete marker versionId %s %v", fi.TierFreeVersionID(), err)) } freeEntry := xlMetaV2Version{Type: DeleteType, WrittenByVersion: globalVersionUnix} freeEntry.DeleteMarker = &xlMetaV2DeleteMarker{
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Mar 02 05:11:03 UTC 2024 - 3.4K bytes - Viewed (0)