Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 893 for isValid (0.04 sec)

  1. schema/relationship.go

    	}
    
    	if relation.Polymorphic.PolymorphicType == nil {
    		schema.err = fmt.Errorf("invalid polymorphic type %v for %v on field %s, missing field %s",
    			relation.FieldSchema, schema, field.Name, polymorphic+"Type")
    	}
    
    	if relation.Polymorphic.PolymorphicID == nil {
    		schema.err = fmt.Errorf("invalid polymorphic type %v for %v on field %s, missing field %s",
    			relation.FieldSchema, schema, field.Name, polymorphic+"ID")
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  2. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidSize() {
                byte[] buffer = new byte[1024];
                int bufferIndex = 100;
    
                // Write invalid structure size = 8
                SMBUtil.writeInt2(8, buffer, bufferIndex);
    
                SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

                    return false;
                }
                return true;
            } catch (final Exception e) {
                // Log the exception at debug level because an invalid URI is not critical and can be ignored.
                logger.debug("Invalid URI: {}", path, e);
            }
            return false;
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                pomArtifact = rel.pomArtifact;
    
                relocatedArtifact = rel.relocatedArtifact;
    
                if (rel.project == null) {
                    // When this happens we have a Maven 1.x POM, or some invalid POM.
                    // It should have never found its way into Maven 2.x repository, but it did.
                    dependencies = Collections.emptyList();
                } else {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

            currentSsoType = Constants.NONE;
            assertNull(ssoManager.getLoginCredential());
        }
    
        public void test_getLoginCredential_whenAvailableButNoAuthenticator() {
            currentSsoType = "invalid";
            ssoManager = new SsoManager() {
                @Override
                protected String getSsoType() {
                    return currentSsoType;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

        }
    
        @Test
        @DisplayName("Invalid: looking up constructor on interface fails")
        void testNoConstructorLookup() {
            // Act & Assert: interfaces have no constructors
            assertThrows(NoSuchMethodException.class, () -> SessionSetupHandler.class.getDeclaredConstructor());
        }
    
        @Test
        @DisplayName("Invalid: resolving class by null name throws NPE")
        void testClassForNameWithNull() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/DialectVersionTest.java

            assertEquals(DialectVersion.SMB311, DialectVersion.valueOf("SMB311"));
    
            // Test valueOf with invalid name
            assertThrows(IllegalArgumentException.class, () -> {
                DialectVersion.valueOf("INVALID");
            });
    
            // Test valueOf with null
            assertThrows(NullPointerException.class, () -> {
                DialectVersion.valueOf(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. cmd/sts-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSInvalidParameterValue: {
    		Code:           "InvalidParameterValue",
    		Description:    "An invalid or out-of-range value was supplied for the input parameter.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSWebIdentityExpiredToken: {
    		Code:           "ExpiredToken",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 05 00:29:41 UTC 2025
    - 6K bytes
    - Viewed (1)
  9. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                return 0;
            }
    
            @Override
            public int getFileIndex() {
                return 0;
            }
        }
    
        @Test
        @DisplayName("open(): invalid URL path without trailing slash throws SmbException")
        void invalidUrlPathThrows() throws Exception {
            // Override the default setup for this specific test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. cmd/utils_test.go

    		t.Fatal("Expected a non nil error, but nil error returned for invalid profiler.")
    	}
    }
    
    // checkURL - checks if passed address correspond
    func checkURL(urlStr string) (*url.URL, error) {
    	if urlStr == "" {
    		return nil, errors.New("Address cannot be empty")
    	}
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		return nil, fmt.Errorf("`%s` invalid: %s", urlStr, err.Error())
    	}
    	return u, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top