Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 6,241 for IF (0.04 sec)

  1. docs_src/security/tutorial005_an_py39.py

        return pwd_context.hash(password)
    
    
    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:
            return False
        if not verify_password(password, user.hashed_password):
            return False
        return user
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/bytes/boundary_test.go

    	if err != nil {
    		t.Fatalf("mmap failed %s", err)
    	}
    	err = syscall.Mprotect(b[:pagesize], syscall.PROT_NONE)
    	if err != nil {
    		t.Fatalf("mprotect low failed %s\n", err)
    	}
    	err = syscall.Mprotect(b[2*pagesize:], syscall.PROT_NONE)
    	if err != nil {
    		t.Fatalf("mprotect high failed %s\n", err)
    	}
    	return b[pagesize : 2*pagesize]
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Nov 30 20:05:58 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

            if (s != null) {
                String basedirExpr = null;
                for (String expression : BASEDIR_EXPRESSIONS) {
                    if (s.startsWith(expression)) {
                        basedirExpr = expression;
                        break;
                    }
                }
    
                if (basedirExpr != null) {
                    if (s.length() > basedirExpr.length()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Dfs.java

            if (DISABLED)
                return null;
    
            try {
                String p = "\\" + domain + "\\" + root;
                if (path != null)
                    p += path;
                DfsReferral dr = trans.getDfsReferrals(auth, p, 0);
                if (dr != null)
                    return dr;
            } catch (IOException ioe) {
                if (log.level >= 4)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  5. .teamcity/mvnw

        # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
        # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
        if [ -z "$JAVA_HOME" ]; then
          if [ -x "/usr/libexec/java_home" ]; then
            export JAVA_HOME="`/usr/libexec/java_home`"
          else
            export JAVA_HOME="/Library/Java/Home"
          fi
        fi
        ;;
    esac
    
    if [ -z "$JAVA_HOME" ] ; then
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  6. docs/erasure/storage-class/README.md

    on 16 drive MinIO deployment. If you use eight data and eight parity drives, the file space usage will be approximately twice, i.e. 100 MiB
    file will take 200 MiB space. But, if you use ten data and six parity drives, same 100 MiB file takes around 160 MiB. If you use 14 data and
    two parity drives, 100 MiB file takes only approximately 114 MiB.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    could **call** that same function in **other places** without FastAPI, and it would **work as expected**. If there's a **required** parameter (without a default value), your **editor** will let you know with an error, **Python** will also complain if you run it without passing the required parameter.
    
    When you don't use `Annotated` and instead use the **(old) default value style**, if you call that function without FastAPI in **other places**, you have to **remember** to pass the arguments...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. docs/debugging/s3-check-md5/main.go

    	flag.Parse()
    
    	if endpoint == "" {
    		log.Fatalln("Endpoint is not provided")
    	}
    
    	if accessKey == "" {
    		log.Fatalln("Access key is not provided")
    	}
    
    	if secretKey == "" {
    		log.Fatalln("Secret key is not provided")
    	}
    
    	if bucket == "" && prefix != "" {
    		log.Fatalln("--prefix is specified without --bucket.")
    	}
    
    	var minModTime time.Time
    	if minModTimeStr != "" {
    		var e error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsPathMappingCQ.java

            if (mustQuery.hasQueries() || shouldQuery.hasQueries() || mustNotQuery.hasQueries() || filterQuery.hasQueries()) {
                BoolQueryBuilder builder = regBoolCQ(mustQuery.getQueryBuilderList(), shouldQuery.getQueryBuilderList(),
                        mustNotQuery.getQueryBuilderList(), filterQuery.getQueryBuilderList());
                if (opLambda != null) {
                    opLambda.callback(builder);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 72.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

            }
        }
    
    /**
     * Tests to see if the SMB resource exists. If the resource refers
     * only to a server, this method determines if the server exists on the
     * network and is advertising SMB services. If this resource refers to
     * a workgroup, this method determines if the workgroup name is valid on
     * the local SMB network. If this <code>SmbFile</code> refers to the root
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top