- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 101 for dtoi (0.04 sec)
-
src/runtime/string.go
} n := int64(un) if neg { n = -n } return n, true } // atoi is like atoi64 but for integers // that fit into an int. func atoi(s string) (int, bool) { if n, ok := atoi64(s); n == int64(int(n)) { return int(n), ok } return 0, false } // atoi32 is like atoi but for integers // that fit into an int32. func atoi32(s string) (int32, bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 13.4K bytes - Viewed (0) -
src/syscall/dirent_test.go
} } slices.Sort(names) t.Logf("names: %q", names) if len(names) != 10 { t.Errorf("got %d names; expected 10", len(names)) } for i, name := range names { ord, err := strconv.Atoi(name[:1]) if err != nil { t.Fatalf("names[%d] is non-integer %q: %v", i, names[i], err) } if expected := strings.Repeat(name[:1], filenameMinSize+ord); name != expected {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.4K bytes - Viewed (0) -
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) -
pilot/pkg/networking/core/route/retry/retry.go
for _, part := range parts { part = strings.TrimSpace(part) if part == "" { continue } // Try converting it to an integer to see if it's a valid HTTP status code. i, err := strconv.Atoi(part) if err == nil && http.StatusText(i) != "" { codes = append(codes, uint32(i)) } else { tojoin = append(tojoin, part) } } return strings.Join(tojoin, ","), codes }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 5K bytes - Viewed (0) -
src/hash/crc32/crc32.go
IEEE = 0xedb88320 // Castagnoli's polynomial, used in iSCSI. // Has better error detection characteristics than IEEE. // https://dx.doi.org/10.1109/26.231911 Castagnoli = 0x82f63b78 // Koopman's polynomial. // Also has better error detection characteristics than IEEE. // https://dx.doi.org/10.1109/DSN.2002.1028931 Koopman = 0xeb31d82e ) // Table is a 256-word table representing the polynomial for efficient processing.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 12 05:36:29 UTC 2024 - 7.5K bytes - Viewed (0) -
cmd/storage-rest-server.go
if !s.IsValid(w, r) { return } volume := r.Form.Get(storageRESTVolume) filePath := r.Form.Get(storageRESTFilePath) offset, err := strconv.Atoi(r.Form.Get(storageRESTOffset)) if err != nil { s.writeErrorResponse(w, err) return } length, err := strconv.Atoi(r.Form.Get(storageRESTLength)) if err != nil { s.writeErrorResponse(w, err) return } if offset < 0 || length < 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 44.8K bytes - Viewed (0) -
cmd/background-heal-ops.go
} } } func newHealRoutine() *healRoutine { workers := runtime.GOMAXPROCS(0) / 2 if envHealWorkers := env.Get("_MINIO_HEAL_WORKERS", ""); envHealWorkers != "" { if numHealers, err := strconv.Atoi(envHealWorkers); err != nil { bugLogIf(context.Background(), fmt.Errorf("invalid _MINIO_HEAL_WORKERS value: %w", err)) } else { workers = numHealers } } if workers == 0 { workers = 4 }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
src/crypto/tls/bogo_shim_test.go
} cfg.EncryptedClientHelloConfigList = echConfigList cfg.MinVersion = VersionTLS13 } if len(*curves) != 0 { for _, curveStr := range *curves { id, err := strconv.Atoi(curveStr) if err != nil { log.Fatalf("failed to parse curve id %q: %s", curveStr, err) } cfg.CurvePreferences = append(cfg.CurvePreferences, CurveID(id)) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:25:39 UTC 2024 - 12.6K bytes - Viewed (0) -
pkg/kube/apimirror/probe.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 4.4K bytes - Viewed (0) -
pilot/pkg/model/context.go
} parts := strings.Split(ver, ".") // we are guaranteed to have at least major and minor based on the regex major, _ := strconv.Atoi(parts[0]) minor, _ := strconv.Atoi(parts[1]) // Assume very large patch release if not set patch := 65535 if len(parts) > 2 { patch, _ = strconv.Atoi(parts[2]) } return &IstioVersion{Major: major, Minor: minor, Patch: patch} }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 33.6K bytes - Viewed (1)