- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 1,160 for isInvalid (0.15 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
if (hostname.isNullOrEmpty() || hostname.startsWith(".") || hostname.endsWith("..") ) { // Invalid domain name. return false } if (pattern.isNullOrEmpty() || pattern.startsWith(".") || pattern.endsWith("..") ) { // Invalid pattern. return false }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java
GoalSpec gs = parseGoalSpec(mojo.getGoal()); if (gs == null) { logger.warn( "Ignored invalid goal specification '{}' from lifecycle mapping for phase {}", mojo.getGoal(), phase); continue; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 9K bytes - Click Count (0) -
internal/hash/checksum_test.go
} for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { // Skip invalid cases where SHA1 or SHA256 is used with full object if (tt.checksum.Is(ChecksumSHA1) || tt.checksum.Is(ChecksumSHA256)) && tt.fullobj { // Validate that NewChecksumType correctly marks these as invalid alg := tt.checksum.String() typ := NewChecksumType(alg, xhttp.AmzChecksumTypeFullObject)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 22 14:15:21 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
} @DisplayName("Should throw exception for invalid structure size") @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 4, 8, 15, 17, 32, 64, 65535 }) void testReadBytesWireFormatInvalidStructureSize(int structureSize) { // Given byte[] buffer = new byte[256]; int offset = 0; // Write invalid structure size SMBUtil.writeInt2(structureSize, buffer, offset);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
internal/event/target/postgresql.go
// Some fields need to be specified when ConnectionString is unspecified if p.Port == "" { return fmt.Errorf("unspecified port") } if _, err := strconv.Atoi(p.Port); err != nil { return fmt.Errorf("invalid port") } if p.Database == "" { return fmt.Errorf("database unspecified") } } if p.QueueDir != "" { if !filepath.IsAbs(p.QueueDir) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 13.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/UserPager.java
this.existNextPage = existNextPage; } /** * Gets the number of records per page. * Returns the default page size if not set or invalid. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); } return pageSize; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/ElevateWordPager.java
*/ public void setExistNextPage(final boolean existNextPage) { this.existNextPage = existNextPage; } /** * Gets the number of records per page. * If page size is not set or invalid, returns the default page size. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
Throwable cause = new IllegalArgumentException("Invalid argument"); GsaConfigException exception = new GsaConfigException(null, cause); assertNotNull(exception); assertNull(exception.getMessage()); assertNotNull(exception.getCause()); assertEquals(cause, exception.getCause()); assertEquals("Invalid argument", exception.getCause().getMessage()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0) -
src/main/java/jcifs/SID.java
*/ int SID_TYPE_WKN_GRP = 5; /** * SID type indicating a deleted account. */ int SID_TYPE_DELETED = 6; /** * SID type indicating an invalid SID. */ int SID_TYPE_INVALID = 7; /** * SID type indicating an unknown account type. */ int SID_TYPE_UNKNOWN = 8; /** * Gets the domain SID for this SID. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
// Verify exact argument interaction verify(locator, times(1)).handleDFSReferral(referral, reqPath); verifyNoMoreInteractions(locator); } // Edge / invalid: null referral or empty/blank path @Test @DisplayName("handleDFSReferral handles null referral and empty path") void handleDfsReferralNullAndEmpty() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0)