Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 543 for Validate (0.06 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
            }
        }
    
        private static boolean isLocal(String host) {
            return "localhost".equals(host) || "127.0.0.1".equals(host);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
        public void testBufferSizeValidation() {
            // When - Get a buffer
            byte[] buffer = BufferCache.getBuffer();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. lib/fips140/README.md

    This directory holds snapshots of the crypto/internal/fips140 tree
    that are being validated and certified for FIPS-140 use.
    The file x.txt (for example, inprocess.txt, certified.txt)
    defines the meaning of the FIPS version alias x, listing
    the exact version to use.
    
    The zip files are created by cmd/go/internal/fips140/mkzip.go.
    The fips140.sum file lists checksums for the zip files.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Nov 20 20:28:34 UTC 2024
    - 416 bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/CoreExtensions.java

    import org.apache.maven.api.cli.extensions.CoreExtension;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Represents the list of core extensions configured at one source. The list is validated (are GA unique), but no
     * other logic than that is applied.
     *
     * @since 4.0.0
     * @param source The source file of core extensions, is never {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Mar 13 12:50:59 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. cmd/erasure-metadata-utils.go

    // values of maximally occurring errors validated against readQuorum.
    func reduceReadQuorumErrs(ctx context.Context, errs []error, ignoredErrs []error, readQuorum int) (maxErr error) {
    	return reduceQuorumErrs(ctx, errs, ignoredErrs, readQuorum, errErasureReadQuorum)
    }
    
    // reduceWriteQuorumErrs behaves like reduceErrs but only for returning
    // values of maximally occurring errors validated against writeQuorum.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java

            final String sessionId = "session5";
            final List<String> emptyList = Collections.emptyList();
    
            // Should not throw exception when adding empty list
            // This validates the early return optimization
            try {
                urlFilterService.addIncludeUrlFilter(sessionId, emptyList);
            } catch (final Exception e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt

     * limitations under the License.
     */
    package okhttp3.testing
    
    import okhttp3.internal.platform.Platform
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * Validates which environment is used by the IDE.
     */
    class PlatformRuleTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @Test
      fun testMode() {
        println(PlatformRule.getPlatformSystemProperty())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/AuthenticationProvider.java

         */
        byte[] getSessionKey();
    
        /**
         * Gets the signing key for SMB2/3
         *
         * @return the signing key or null if not available
         */
        byte[] getSigningKey();
    
        /**
         * Validates authentication credentials
         *
         * @return true if credentials are valid
         */
        boolean validateCredentials();
    
        /**
         * Clears sensitive authentication data
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (1)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

     * the problem.
     *
     */
    public interface ModelProblem extends BuilderProblem {
    
        /**
         * Enumeration of model versions that can be validated.
         * These versions correspond to different levels of validation that can be applied
         * during model building, based on the POM schema version.
         * <p>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Aug 07 14:31:13 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/PacCredentialType.java

            this.credentialType = data;
            if (!isCredentialTypeCorrect()) {
                throw new PACDecodingException("Invalid PAC credential type");
            }
        }
    
        /**
         * Validates whether the credential type data is correct.
         * @return true if the credential type is valid, false otherwise
         */
        public boolean isCredentialTypeCorrect() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top