Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 584 for _validate (0.07 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/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java

            }
            return redirect(getClass());
        }
    
        private void validatePasswordForm(final ProfileForm form, final VaErrorHook validationErrorLambda) {
            validate(form, messages -> {}, validationErrorLambda);
    
            if (!form.newPassword.equals(form.confirmNewPassword)) {
                form.newPassword = null;
                form.confirmNewPassword = null;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java

         */
        protected BuildSummary(MavenProject project, Duration execTime, Duration wallTime) {
            this.project = Objects.requireNonNull(project, "project cannot be null");
            // TODO Validate for < 0?
            this.execTime = execTime;
            this.wallTime = wallTime;
        }
    
        /**
         * Gets the project being summarized.
         *
         * @return The project being summarized, never {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. docs_src/security/tutorial004_an_py310.py

        return encoded_jwt
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        credentials_exception = HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Could not validate credentials",
            headers={"WWW-Authenticate": "Bearer"},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username = payload.get("sub")
            if username is None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

                    super(session, trace);
                    this.coordinates = List.copyOf(requireNonNull(coordinates, "coordinates cannot be null"));
                    this.repositories = validate(repositories);
                }
    
                @Nonnull
                @Override
                public Collection<? extends ArtifactCoordinates> getCoordinates() {
                    return coordinates;
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. mvnw

    fi
    ##########################################################################################
    # End of extension
    ##########################################################################################
    
    # If specified, validate the SHA-256 sum of the Maven wrapper jar file
    wrapperSha256Sum=""
    while IFS="=" read -r key value; do
      case "$key" in wrapperSha256Sum)
        wrapperSha256Sum=$value
        break
        ;;
      esac
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginConfigurationValidator.java

    /**
     * Service responsible for validating plugin configuration.
     *
     */
    public interface MavenPluginConfigurationValidator {
        /**
         * Checks mojo configuration issues.
         */
        void validate(
                MavenSession mavenSession,
                MojoDescriptor mojoDescriptor,
                Class<?> mojoClass,
                PlexusConfiguration pomConfiguration,
                ExpressionEvaluator expressionEvaluator);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. cmd/xl-storage_windows_test.go

    				t.Error(err)
    			}
    			fs.Delete(context.Background(), "voldir", test.objName, DeleteOptions{
    				Recursive: false,
    				Immediate: false,
    			})
    		})
    	}
    }
    
    // Test to validate xlStorage behavior on windows when a non-final path component is a file.
    func TestUNCPathENOTDIR(t *testing.T) {
    	// Instantiate posix object to manage a disk
    	dir := t.TempDir()
    
    	fs, err := newLocalXLStorage(dir)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. internal/event/target/kafka.go

    	} `json:"sasl"`
    	Producer struct {
    		Compression      string `json:"compression"`
    		CompressionLevel int    `json:"compressionLevel"`
    	} `json:"producer"`
    }
    
    // Validate KafkaArgs fields
    func (k KafkaArgs) Validate() error {
    	if !k.Enable {
    		return nil
    	}
    	if len(k.Brokers) == 0 {
    		return errors.New("no broker address found")
    	}
    	for _, b := range k.Brokers {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. internal/event/target/mqtt.go

    	RootCAs              *x509.CertPool `json:"-"`
    	QueueDir             string         `json:"queueDir"`
    	QueueLimit           uint64         `json:"queueLimit"`
    }
    
    // Validate MQTTArgs fields
    func (m MQTTArgs) Validate() error {
    	if !m.Enable {
    		return nil
    	}
    	u, err := xnet.ParseURL(m.Broker.String())
    	if err != nil {
    		return err
    	}
    	switch u.Scheme {
    	case "ws", "wss", "tcp", "ssl", "tls", "tcps":
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top