- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 385 for vals (0.03 seconds)
-
cmd/xl-storage-meta-inline.go
keys = append(keys, found) if string(found) == key { vals = append(vals, value) plSize += len(value) replaced = true } else { vals = append(vals, foundVal) plSize += len(foundVal) } } // Add one more. if !replaced { keys = append(keys, []byte(key)) vals = append(vals, value) plSize += len(key) + len(value) + msgp.StringPrefixSize + msgp.ArrayHeaderSize
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 9.4K bytes - Click Count (0) -
internal/store/store.go
} if key.ItemCount, _ = getItemCount(k); key.ItemCount > 1 { key.Name = strings.TrimPrefix(key.Name, fmt.Sprintf("%d:", key.ItemCount)) } if vals := strings.Split(key.Name, "."); len(vals) == 2 { key.Extension = "." + vals[1] key.Name = strings.TrimSuffix(key.Name, key.Extension) } return key } // replayItems - Reads the items from the store and replays.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.2K bytes - Click Count (0) -
utils/utils.go
return !unicode.IsLetter(c) && !unicode.IsNumber(c) && c != '.' && c != '*' && c != '_' && c != '$' && c != '@' } // CheckTruth check string true or not func CheckTruth(vals ...string) bool { for _, val := range vals { if val != "" && !strings.EqualFold(val, "false") { return true } } return false } func ToStringKey(values ...interface{}) string { results := make([]string, len(values))
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Oct 30 10:56:26 GMT 2025 - 4.5K bytes - Click Count (0) -
internal/config/config.go
func Error[T ErrorConfig, PT interface { *T setMsg(string) }](format string, vals ...any, ) T { pt := PT(new(T)) pt.setMsg(fmt.Sprintf(format, vals...)) return *pt } // Errorf formats an error and returns it as a generic config error func Errorf(format string, vals ...any) ErrConfigGeneric { return Error[ErrConfigGeneric](format, vals...) } // Default keys const ( Default = madmin.Default
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 37.7K bytes - Click Count (0) -
cmd/test-utils_test.go
} // return URL for creating the bucket. func getBucketVersioningConfigURL(endPoint, bucketName string) string { vals := make(url.Values) vals.Set("versioning", "") return makeTestTargetURL(endPoint, bucketName, "", vals) } // return URL for listing buckets. func getListBucketURL(endPoint string) string { return makeTestTargetURL(endPoint, "", "", url.Values{}) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 77K bytes - Click Count (0) -
cmd/batch-handlers.go
if err != nil { batchLogIf(ctx, err) continue } // TODO: I am not sure we read it back, but we aren't sending whether checksums are single/multipart. for k, vals := range opts.Header() { for _, v := range vals { snowballObj.Headers.Add(k, v) } } input <- snowballObj } }() // Collect and upload all entries.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 63.5K bytes - Click Count (1) -
tests/lru_test.go
lc.Add(fmt.Sprintf("key-%d", i/10), fmt.Sprintf("val-%d", i/10)) wg.Done() }(i) } wg.Wait() if lc.Len() != 100 { t.Fatalf("length differs from expected") } } func TestLRUInvalidateAndEvict(t *testing.T) { var evicted int lc := lru.NewLRU(-1, func(_, _ string) { evicted++ }, 0) lc.Add("key1", "val1") lc.Add("key2", "val2") val, ok := lc.Get("key1") if !ok {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 10.4K bytes - Click Count (0) -
docs/de/docs/environment-variables.md
/// Eine Umgebungsvariable (auch bekannt als „**env var**“) ist eine Variable, die **außerhalb** des Python-Codes im **Betriebssystem** lebt und von Ihrem Python-Code (oder auch von anderen Programmen) gelesen werden kann. Umgebungsvariablen können nützlich sein, um **Einstellungen** der Anwendung zu handhaben, als Teil der **Installation** von Python usw.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 9K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupTask.kt
@get:OutputDirectory abstract val warmupProjectsDirectory: DirectoryProperty @get:Input abstract val sdkVersions: ListProperty<SdkVersion> @get:Internal abstract val rootProjectDir: DirectoryProperty @get:Inject abstract val execOperations: ExecOperations @get:Optional @get:InputCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 09 09:24:29 GMT 2025 - 5.8K bytes - Click Count (0) -
cmd/xl-storage-format_test.go
} } } for key, val := range unMarshalXLMeta.Meta { jsoniterVal, exists := jsoniterXLMeta.Meta[key] if !exists { t.Errorf("No meta data entry for Key \"%s\" exists.", key) } if val != jsoniterVal { t.Errorf("Expected the value for Meta data key \"%s\" to be \"%s\", but got \"%s\".", key, val, jsoniterVal) } } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.5K bytes - Click Count (0)