Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2351 - 2360 of 6,702 for If (0.02 seconds)

  1. docs_src/security/tutorial004_an_py310.py

    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
        user = get_user(fake_db, username)
        if not user:
            verify_password(password, DUMMY_HASH)
            return False
        if not verify_password(password, user.hashed_password):
            return False
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. src/main/assemblies/files/fess.in.bat

    @echo off
    
    if DEFINED JAVA_HOME goto cont
    
    :err
    ECHO JAVA_HOME environment variable must be set! 1>&2
    EXIT /B 1 
    
    :cont
    set SCRIPT_DIR=%~dp0
    for %%I in ("%SCRIPT_DIR%..") do set FESS_HOME=%%~dpfI
    
    
    REM ***** JAVA options *****
    
    if "%FESS_MIN_MEM%" == "" (
    set FESS_MIN_MEM=256m
    )
    
    if "%FESS_MAX_MEM%" == "" (
    set FESS_MAX_MEM=1g
    )
    
    if NOT "%FESS_HEAP_SIZE%" == "" (
    set FESS_MIN_MEM=%FESS_HEAP_SIZE%
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 03:48:59 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

            return this;
        }
    
        @Override
        public List<Profile> getProfiles() {
            if (profiles == null) {
                profiles = new ArrayList<>();
            }
    
            return profiles;
        }
    
        @Override
        public DefaultModelBuildingRequest setProfiles(List<Profile> profiles) {
            if (profiles != null) {
                this.profiles = new ArrayList<>(profiles);
            } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

         * @return exit code of the destroyed process, or -1 if the process was not found
         */
        public synchronized int destroyProcess(final String sessionId) {
            final JobProcess jobProcess = runningProcessMap.remove(sessionId);
            return destroyProcess(sessionId, jobProcess);
        }
    
        /**
         * Checks if any processes are currently running.
         *
         * @return true if at least one process is running, false otherwise
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/ACE.java

        int access;
        SID sid;
    
        /**
         * Returns true if this ACE is an allow ACE and false if it is a deny ACE.
         * @return true if this is an allow ACE, false if it is a deny ACE
         */
        public boolean isAllow() {
            return allow;
        }
    
        /**
         * Returns true if this ACE is an inherited ACE and false if it is a direct ACE.
         * <p>
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  6. docs/site-replication/run-ssec-object-replication-with-compression.sh

    if [ "${count1}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/plainfile not found"
    	exit_1
    fi
    count2=$(./mc ls minio1/test-bucket/encrypted --insecure | wc -l)
    if [ "${count2}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/encrypted not found"
    	exit_1
    fi
    count3=$(./mc ls minio1/test-bucket/defpartsize --insecure | wc -l)
    if [ "${count3}" -ne 1 ]; then
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 8.3K bytes
    - Click Count (0)
  7. docs/smb3-features/06-witness-protocol-design.md

                WitnessRegistration registration = entry.getValue();
                
                if (shouldDeliverNotification(registration, notification)) {
                    WitnessNotificationListener listener = listeners.get(entry.getKey());
                    if (listener != null) {
                        try {
                            listener.onWitnessNotification(notification);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  8. cmd/admin-handlers-users-race_test.go

    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	userCount := 50
    	accessKeys := make([]string, userCount)
    	secretKeys := make([]string, userCount)
    	for i := range userCount {
    		accessKey, secretKey := mustGenerateCredentials(c)
    		err = s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled)
    		if err != nil {
    			c.Fatalf("Unable to set user: %v", err)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. cmd/warm-backend-minio.go

    	// Validation of credentials
    	if conf.AccessKey == "" || conf.SecretKey == "" {
    		return nil, errors.New("both access and secret keys are required")
    	}
    
    	if conf.Bucket == "" {
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	u, err := url.Parse(conf.Endpoint)
    	if err != nil {
    		return nil, err
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4K bytes
    - Click Count (1)
  10. helm/minio/templates/ingress.yaml

          {{- toYaml . | nindent 4 }}
        {{- end }}
      {{- with .Values.ingress.annotations }}
      annotations: {{- toYaml . | nindent 4 }}
      {{- end }}
    spec:
      {{- if .Values.ingress.ingressClassName }}
      ingressClassName: {{ .Values.ingress.ingressClassName }}
      {{- end }}
      {{- if .Values.ingress.tls }}
      tls:
        {{- range .Values.ingress.tls }}
        - hosts:
          {{- range .hosts }}
            - {{ . | quote }}
          {{- end }}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 03 06:27:17 GMT 2023
    - 1.6K bytes
    - Click Count (0)
Back to Top