- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 394 for removeAt (0.09 seconds)
-
internal/event/rulesmap_test.go
{rulesMapCase2, rulesMapToAddCase2, expectedResultCase2}, {rulesMapCase3, rulesMapToAddCase3, expectedResultCase3}, } for i, testCase := range testCases { testCase.rulesMap.Remove(testCase.rulesMapToAdd) if !reflect.DeepEqual(testCase.rulesMap, testCase.expectedResult) { t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, testCase.rulesMap) } } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jan 05 18:43:06 GMT 2024 - 6.8K bytes - Click Count (0) -
cmd/update_test.go
} return tmpfile.Name() } filename := createTempFile( `app="virtuous-rat-minio" chart="minio-0.1.3" heritage="Tiller" pod-template-hash="818089471"`) defer os.Remove(filename) testCases := []struct { filename string expectedResult string }{ {"", ""}, {"/tmp/non-existing-file", ""}, {filename, "minio-0.1.3"}, }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 10.4K bytes - Click Count (0) -
cmd/metrics-v3-handler.go
// it's the last part of the path. e.g. /bucket/api/<bucket-name> bucketIdx := strings.LastIndex(pathComponents, "/") buckets = append(buckets, pathComponents[bucketIdx+1:]) // remove bucket from pathComponents as it is dynamic and // hence not included in the collector path. pathComponents = pathComponents[:bucketIdx] } innerHandler := h.handle(pathComponents, isListingRequest, buckets)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 7.7K bytes - Click Count (0) -
ci/official/utilities/setup_macos.sh
# Libtensorflow archives) to GCS buckets. TFCI Mac VMs need to authenticate as # a service account that has the right permissions to be able to do so. set +x if [[ -n "${GOOGLE_APPLICATION_CREDENTIALS:-}" ]]; then # Python 3.12 removed the module `imp` which is needed by gcloud CLI so we set # `CLOUDSDK_PYTHON` to Python 3.11 which is the system Python on TFCI Mac # VMs. pyenv install -s "3.11" if [[ $? -eq 0 ]]; then pyenv local "3.11"Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Oct 06 22:42:26 GMT 2025 - 6.8K bytes - Click Count (0) -
helm-releases/minio-2.0.1.tgz
disable PersistentVolumeClai by: ```bash helm install --set persistence.enabled=false minio/minio ``` > *"An emptyDir volume is first created when a Pod is assigned to a Node, and exists as long as that Pod is running on that node. When a Pod is removed from a node for any reason, the data in the emptyDir is deleted forever."* Existing PersistentVolumeClai ---------- If a Persistent Volume Claim already exists, specify it during installation. 1. Create the PersistentVolume 2. Create the PersistentVolumeClai...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 31 09:09:09 GMT 2021 - 13.6K bytes - Click Count (0) -
internal/store/queuestore_test.go
} // Put 20 items. for range 20 { if _, err := store.Put(testItem); err != nil { t.Fatal("Failed to put to queue store ", err) } } itemKeys := store.List() // Remove all the items. if len(itemKeys) == 20 { for _, key := range itemKeys { err := store.Del(key) if err != nil { t.Fatal("queue store Del failed with ", err) } } } else {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.2K bytes - Click Count (0) -
cmd/handler-utils.go
if v == nil { bugLogIf(ctx, errInvalidArgument) return errInvalidArgument } nv := make(textproto.MIMEHeader, len(v)) for k, kv := range v { // Canonicalize all headers, to remove any duplicates. nv[http.CanonicalHeaderKey(k)] = kv } // Save all supported headers. for _, supportedHeader := range supportedHeaders { value, ok := nv[http.CanonicalHeaderKey(supportedHeader)]Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.4K bytes - Click Count (1) -
cmd/metacache-set.go
func (o *listPathOptions) SetFilter() { switch { case metacacheSharePrefix: return case o.Prefix == o.BaseDir: // No additional prefix return } // Remove basedir. o.FilterPrefix = strings.TrimPrefix(o.Prefix, o.BaseDir) // Remove leading and trailing slashes. o.FilterPrefix = strings.Trim(o.FilterPrefix, slashSeparator) if strings.Contains(o.FilterPrefix, slashSeparator) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 30.7K bytes - Click Count (0) -
helm-releases/minio-3.6.2.tgz
disable PersistentVolumeClai by: ```bash helm install --set persistence.enabled=false minio/minio ``` > *"An emptyDir volume is first created when a Pod is assigned to a Node, and exists as long as that Pod is running on that node. When a Pod is removed from a node for any reason, the data in the emptyDir is deleted forever."* ### Existing PersistentVolumeClai If a Persistent Volume Claim already exists, specify it during installation. 1. Create the PersistentVolume 2. Create the PersistentVolumeClai...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Mar 17 18:30:55 GMT 2022 - 17.9K bytes - Click Count (0) -
internal/event/config.go
if len(parsedConfig.QueueList) > 0 { for i, q1 := range parsedConfig.QueueList[:len(parsedConfig.QueueList)-1] { for _, q2 := range parsedConfig.QueueList[i+1:] { // Removes the region from ARN if server region is not set if q2.ARN.region != "" && q1.ARN.region == "" { q2.ARN.region = "" } if reflect.DeepEqual(q1, q2) { return &ErrDuplicateQueueConfiguration{q1}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.4K bytes - Click Count (0)