Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for ParseBool (0.05 sec)

  1. cmd/sftp-server.go

    			allowMACs = filterAlgos(arg, strings.Split(tokens[1], ","), supportedMACs)
    		case "trusted-user-ca-key":
    			userCaKeyFile = tokens[1]
    		case "disable-password-auth":
    			disablePassAuth, _ = strconv.ParseBool(tokens[1])
    		}
    	}
    
    	if port == 0 {
    		port = 8022 // Default SFTP port, since no port was given.
    	}
    
    	if sshPrivateKey == "" {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. misc/go_android_exec/main.go

    	}
    	importPath = parts[0]
    	if importPath == "" || importPath == "." {
    		return errorf("current directory does not have a Go import path")
    	}
    	isStd, err = strconv.ParseBool(parts[1])
    	if err != nil {
    		return errorf("%v: non-boolean .Standard in output: %q", cmd, out)
    	}
    	if len(parts) >= 4 {
    		modPath = parts[2]
    		modDir = parts[3]
    	}
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. internal/config/config.go

    	}
    	return nil
    }
    
    // LookupWorm - check if worm is enabled
    func LookupWorm() (bool, error) {
    	return ParseBool(env.Get(EnvWorm, EnableOff))
    }
    
    // Carries all the renamed sub-systems from their
    // previously known names
    var renamedSubsys = map[string]string{
    	CrawlerSubSys: ScannerSubSys,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 37.7K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    		return
    	}
    
    	forceDelete := false
    	if value := r.Header.Get(xhttp.MinIOForceDelete); value != "" {
    		var err error
    		forceDelete, err = strconv.ParseBool(value)
    		if err != nil {
    			apiErr := errorCodes.ToAPIErr(ErrInvalidRequest)
    			apiErr.Description = err.Error()
    			writeErrorResponse(ctx, w, apiErr, r.URL)
    			return
    		}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  5. tests/migrate_test.go

    	AssertEqual(t, defVal, "null")
    	AssertEqual(t, ok, true)
    
    	columnType2, err := findColumnType(tableName, "active")
    	AssertEqual(t, err, nil)
    
    	defVal, ok = columnType2.DefaultValue()
    	bv, _ := strconv.ParseBool(defVal)
    	AssertEqual(t, bv, false)
    	AssertEqual(t, ok, true)
    
    	// default 'null' -> 'null'
    	session := DB.Session(&gorm.Session{Logger: Tracer{
    		Logger: DB.Config.Logger,
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg strconv, func FormatInt(int64, int) string
    pkg strconv, func FormatUint(uint64, int) string
    pkg strconv, func IsPrint(int32) bool
    pkg strconv, func Itoa(int) string
    pkg strconv, func ParseBool(string) (bool, error)
    pkg strconv, func ParseFloat(string, int) (float64, error)
    pkg strconv, func ParseInt(string, int, int) (int64, error)
    pkg strconv, func ParseUint(string, int, int) (uint64, error)
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top