- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 648 for isInvalid (0.05 sec)
-
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
shift += 24; len += 3; } else { int codePoint = Character.codePointAt(input, i); if (codePoint == c) { // not a valid code point; let the JDK handle invalid Unicode return hashBytes(input.toString().getBytes(charset)); } i++; buffer |= codePointToFourUtf8Bytes(codePoint) << shift;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
assertEquals(1024, response.getCount()); assertEquals(512, response.getRemaining()); } @Test @DisplayName("Should throw exception for invalid structure size") void testInvalidStructureSize() { byte[] buffer = new byte[64]; SMBUtil.writeInt2(16, buffer, 0); // Wrong structure size (should be 17)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
buffer.putShort(0, (short) 1); buffer.putShort(2, (short) 1); buffer.putInt(4, data.length + 1); // Invalid offset assertThrows(ArrayIndexOutOfBoundsException.class, () -> NtlmMessage.readSecurityBuffer(data, 0), "Should throw ArrayIndexOutOfBoundsException for invalid offset."); } @Test void testWriteULong() { // Test writeULong byte[] data = new byte[4];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
tests/scanner_valuer_test.go
t.Errorf("Should failed to create data with invalid data") } data.Password = EncryptedData("pass1") if err := DB.Create(&data).Error; err != nil { t.Errorf("Should got no error when creating data, but got %v", err) } if err := DB.Model(&data).Update("password", EncryptedData("xnewpass")).Error; err == nil { t.Errorf("Should failed to update data with invalid data") }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
assertEquals("smb://server/share/path/filetxt", loc.getCanonicalURL()); assertFalse(loc.isRoot()); } } @Nested @DisplayName("Invalid inputs and edge cases") class Invalid { @Test void nullUrlThrows() { assertThrows(IllegalArgumentException.class, () -> new DummySmbResourceLocator(null)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/InvalidVersionSpecificationException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.artifact.versioning; /** * Occurs when a version is invalid. * */ public class InvalidVersionSpecificationException extends Exception { public InvalidVersionSpecificationException(String message) { super(message); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/DuplicateHostPager.java
this.existNextPage = existNextPage; } /** * Gets the number of records to display per page. * If the page size is not set or is invalid, returns the default page size. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
} /** * {@inheritDoc} * * @see jcifs.SmbPipeHandle#isOpen() */ @Override public boolean isOpen() { return this.open && this.handle != null && this.handle.isValid(); } /** * * {@inheritDoc} * * @see jcifs.smb.SmbPipeHandleInternal#getSessionKey() */ @Override public byte[] getSessionKey() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java
public static final String CONSTRAINTS_Size_MESSAGE = "{constraints.Size.message}"; /** The key of the message: {item} is an invalid credit card number. */ public static final String CONSTRAINTS_CreditCardNumber_MESSAGE = "{constraints.CreditCardNumber.message}"; /** The key of the message: {item} is an invalid {type} barcode. */ public static final String CONSTRAINTS_EAN_MESSAGE = "{constraints.EAN.message}";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 05 02:36:47 UTC 2025 - 119.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/VersionNotFoundException.java
import org.apache.maven.artifact.ArtifactUtils; import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException; import org.apache.maven.model.Dependency; /** * Thrown if a dependency has an invalid version. * */ @Deprecated public class VersionNotFoundException extends Exception { private Dependency dependency; private String projectId; private File pomFile;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0)