Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for double (0.16 sec)

  1. cmd/common-main_test.go

    			false,
    			[]envKV{
    				{
    					Key:   "MINIO_ROOT_USER",
    					Value: "minio",
    				},
    				{
    					Key:   "MINIO_ROOT_PASSWORD",
    					Value: "minio123",
    				},
    			},
    		},
    		// Value with double quotes
    		{
    			`export MINIO_ROOT_USER="minio"`,
    			false,
    			[]envKV{
    				{
    					Key:   "MINIO_ROOT_USER",
    					Value: "minio",
    				},
    			},
    		},
    		// Value with single quotes
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  2. internal/http/server.go

    		return err
    	}
    
    	pollIntervalBase := time.Millisecond
    	nextPollInterval := func() time.Duration {
    		// Add 10% jitter.
    		interval := pollIntervalBase + time.Duration(rand.Intn(int(pollIntervalBase/10)))
    		// Double and clamp for next time.
    		pollIntervalBase *= 2
    		if pollIntervalBase > shutdownPollIntervalMax {
    			pollIntervalBase = shutdownPollIntervalMax
    		}
    		return interval
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. internal/config/cache/remote.go

    }
    
    var etagRegex = regexp.MustCompile("\"*?([^\"]*?)\"*?$")
    
    // canonicalizeETag returns ETag with leading and trailing double-quotes removed,
    // if any present
    func canonicalizeETag(etag string) string {
    	return etagRegex.ReplaceAllString(etag, "$1")
    }
    
    // Init - populates the input values, initializes CondCheck
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 21:46:17 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. docs/debugging/xl-meta/main.go

    for 'xl.meta' files. Wildcards are accepted: 'testdir/*.txt' will compress
    all files in testdir ending with '.txt', directories can be wildcards
    as well. 'testdir/*/*.txt' will match 'testdir/subdir/b.txt', double stars
    means full recursive. 'testdir/**/xl.meta' will search for all xl.meta
    recursively.
    
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}
    `
    
    	app.HideHelpCommand = true
    
    	app.Flags = []cli.Flag{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  5. internal/s3select/sql/utils.go

    		return e.Key.String()
    	case e.Index != nil:
    		return fmt.Sprintf("[%d]", *e.Index)
    	case e.ObjectWildcard:
    		return ".*"
    	case e.ArrayWildcard:
    		return "[*]"
    	}
    	return ""
    }
    
    // String removes double quotes in quoted identifiers
    func (i *Identifier) String() string {
    	if i.Unquoted != nil {
    		return *i.Unquoted
    	}
    	return string(*i.Quoted)
    }
    
    func (o *ObjectKey) String() string {
    	if o.Lit != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 10 16:12:50 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle.go

    		return restoreObjStatus{}, errRestoreHDRMalformed
    	}
    
    	switch progressTokens[1] {
    	case "true", `"true"`: // true without double quotes is deprecated in Feb 2022
    		if len(tokens) == 1 {
    			return ongoingRestoreObj(), nil
    		}
    	case "false", `"false"`: // false without double quotes is deprecated in Feb 2022
    		if len(tokens) != 2 {
    			return restoreObjStatus{}, errRestoreHDRMalformed
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  7. internal/grid/grid_test.go

    				}
    				return nil
    			},
    			OutCapacity: 1,
    			InCapacity:  1,
    		}))
    	}
    	register(local)
    	register(remote)
    	// Double remote DL
    	local.debugMsg(debugAddToDeadline, wantDL)
    	defer local.debugMsg(debugAddToDeadline, time.Duration(0))
    	remote.debugMsg(debugAddToDeadline, wantDL)
    	defer remote.debugMsg(debugAddToDeadline, time.Duration(0))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  8. cmd/common-main.go

    		color.TurnOff()
    	}
    	if env.Get("NO_COLOR", "") != "" || env.Get("TERM", "") == "dumb" {
    		color.TurnOff()
    	}
    
    	if runtime.GOOS == "windows" {
    		if mousetrap.StartedByExplorer() {
    			fmt.Printf("Don't double-click %s\n", os.Args[0])
    			fmt.Println("You need to open cmd.exe/PowerShell and run it from the command line")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  9. internal/s3select/csv/reader.go

    		}
    		ret.QuoteEscape = []rune(args.QuoteEscapeCharacter)[0]
    		ret.FieldsPerRecord = -1
    		// If LazyQuotes is true, a quote may appear in an unquoted field and a
    		// non-doubled quote may appear in a quoted field.
    		ret.LazyQuotes = true
    		// We do not trim leading space to keep consistent with s3.
    		ret.TrimLeadingSpace = false
    		ret.ReuseRecord = true
    		return ret
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. internal/etag/etag.go

    //
    // In non-strict mode, parse also accepts ETags
    // that are not AWS S3 compatible - e.g. encrypted
    // ETags.
    func parse(s string, strict bool) (ETag, error) {
    	// An S3 ETag may be a double-quoted string.
    	// Therefore, we remove double quotes at the
    	// start and end, if any.
    	if strings.HasPrefix(s, `"`) && strings.HasSuffix(s, `"`) {
    		s = s[1 : len(s)-1]
    	}
    
    	// An S3 ETag may be a multipart ETag that
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top