Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for dtoi (0.15 sec)

  1. cmd/bucket-replication.go

    	}
    }
    
    func queueReplicateDeletesWrapper(doi DeletedObjectReplicationInfo, existingObjectResync ResyncDecision) {
    	for k, v := range existingObjectResync.targets {
    		if v.Replicate {
    			doi.ResetID = v.ResetID
    			doi.TargetArn = k
    
    			globalReplicationPool.queueReplicaDeleteTask(doi)
    		}
    	}
    }
    
    func (p *ReplicationPool) queueReplicaDeleteTask(doi DeletedObjectReplicationInfo) {
    	if p == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    	enableSha256 := r.Form.Get("enableSha256") == "true"
    	enableMultipart := r.Form.Get("enableMultipart") == "true"
    
    	size, err := strconv.Atoi(sizeStr)
    	if err != nil {
    		size = 64 * humanize.MiByte
    	}
    
    	concurrent, err := strconv.Atoi(concurrentStr)
    	if err != nil {
    		concurrent = 32
    	}
    
    	duration, err := time.ParseDuration(durationStr)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  3. src/cmd/vendor/rsc.io/markdown/entity.go

    	"ѕ":                            "\u0455",
    	"⧶":                            "\u29f6",
    	"đ":                          "\u0111",
    	"⋱":                           "\u22f1",
    	"▿":                            "\u25bf",
    	"▾":                           "\u25be",
    	"⇵":                           "\u21f5",
    	"⥯":                           "\u296f",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 101K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/exec.go

    	}
    
    	// We have SWIG version 3.x.
    	if len(matches[2]) > 0 {
    		minor, err := strconv.Atoi(string(matches[2][1:]))
    		if err != nil {
    			return nil
    		}
    		if minor > 0 {
    			// 3.1 or later
    			return nil
    		}
    	}
    
    	// We have SWIG version 3.0.x.
    	if len(matches[3]) > 0 {
    		patch, err := strconv.Atoi(string(matches[3][1:]))
    		if err != nil {
    			return nil
    		}
    		if patch < 6 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/mcontext"
    	"github.com/minio/minio/internal/rest"
    	"github.com/prometheus/client_golang/prometheus"
    	dto "github.com/prometheus/client_model/go"
    	"github.com/prometheus/common/expfmt"
    	"github.com/prometheus/procfs"
    )
    
    //go:generate msgp -file=$GOFILE -unexported -io=false
    
    var (
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  6. pkg/scheduler/schedule_one_test.go

    func (pl *numericMapPlugin) Name() string {
    	return "NumericMap"
    }
    
    func (pl *numericMapPlugin) Score(_ context.Context, _ *framework.CycleState, _ *v1.Pod, nodeName string) (int64, *framework.Status) {
    	score, err := strconv.Atoi(nodeName)
    	if err != nil {
    		return 0, framework.NewStatus(framework.Error, fmt.Sprintf("Error converting nodename to int: %+v", nodeName))
    	}
    	return int64(score), nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  7. pkg/config/validation/validation.go

    						errMsg := "sidecar: defaultEndpoint must be of form 127.0.0.1:<port>,0.0.0.0:<port>,[::1]:port,[::]:port,unix://filepath or unset"
    						errs = AppendValidation(errs, fmt.Errorf(errMsg))
    					}
    					port, err := strconv.Atoi(sPort)
    					if err != nil {
    						errs = AppendValidation(errs, fmt.Errorf("sidecar: defaultEndpoint port (%s) is not a number: %v", sPort, err))
    					} else {
    						errs = AppendValidation(errs, agent.ValidatePort(port))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  8. src/crypto/x509/verify_test.go

    			return 0, fmt.Errorf("%v: %v\n%s", cmd, err, ee.Stderr)
    		}
    		return 0, fmt.Errorf("%v: %v", cmd, err)
    	}
    	before, _, ok := strings.Cut(string(out), ".")
    	major, err := strconv.Atoi(before)
    	if !ok || err != nil {
    		return 0, fmt.Errorf("%v: unexpected output: %q", cmd, out)
    	}
    
    	return major, nil
    }
    
    func TestIssue51759(t *testing.T) {
    	if runtime.GOOS != "darwin" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  9. src/net/http/serve_test.go

    func TestTimeoutHandlerRace(t *testing.T) { run(t, testTimeoutHandlerRace) }
    func testTimeoutHandlerRace(t *testing.T, mode testMode) {
    	delayHi := HandlerFunc(func(w ResponseWriter, r *Request) {
    		ms, _ := strconv.Atoi(r.URL.Path[1:])
    		if ms == 0 {
    			ms = 1
    		}
    		for i := 0; i < ms; i++ {
    			w.Write([]byte("hi"))
    			time.Sleep(time.Millisecond)
    		}
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  10. go.sum

    github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
    github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE=
    github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
    github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 101.6K bytes
    - Viewed (0)
Back to top