- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for setB (0.07 sec)
-
src/cmd/internal/obj/ppc64/anames.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 18:50:29 UTC 2024 - 6.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/ResolutionResultsStoreFactoryTest.groovy
def "provides stores"() { def set1 = f.createStoreSet() def set2 = f.createStoreSet() expect: set1.oldModelCache().load(() -> "1") == "1" set1.oldModelCache().load(() -> "2") == "1" set2.oldModelCache().load(() -> "3") == "3" set1.newModelCache().load(() -> "1") == "1" set1.newModelCache().load(() -> "2") == "1" set2.newModelCache().load(() -> "3") == "3" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/util/sets/set_test.go
if _, exist := set[e]; !exist { t.Errorf("%s is not in set %v", e, set) } } } func TestUnion(t *testing.T) { elements := []string{"a", "b", "c", "d"} elements2 := []string{"a", "b", "e"} want := New("a", "b", "c", "d", "e") for _, sets := range [][]Set[string]{ {New(elements...), New(elements2...)}, {New(elements2...), New(elements...)}, } { s1, s2 := sets[0], sets[1] if got := s1.Union(s2); !got.Equals(want) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 05:26:03 UTC 2024 - 7.9K bytes - Viewed (0) -
pkg/util/sets/set.go
func (s Set[T]) Delete(item T) Set[T] { delete(s, item) return s } // DeleteAll removes items from the set. func (s Set[T]) DeleteAll(items ...T) Set[T] { for _, item := range items { delete(s, item) } return s } // Merge a set of objects that are in s2 into s // For example: // s = {a1, a2, a3} // s2 = {a3, a4, a5} // s.Merge(s2) = {a1, a2, a3, a4, a5} func (s Set[T]) Merge(s2 Set[T]) Set[T] {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 05:26:03 UTC 2024 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/set.go
return ret } // Insert adds items to the set. func (s Set[T]) Insert(items ...T) Set[T] { for _, item := range items { s[item] = Empty{} } return s } func Insert[T comparable](set Set[T], items ...T) Set[T] { return set.Insert(items...) } // Delete removes all items from the set. func (s Set[T]) Delete(items ...T) Set[T] { for _, item := range items { delete(s, item) } return s }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 19:51:18 UTC 2024 - 5.8K bytes - Viewed (0) -
pkg/util/smallset/smallset_test.go
items2 = append(items2, fmt.Sprint(i)) } b.Run("Set", func(b *testing.B) { set1000 := sets.New(items1000...) set100 := sets.New(items100...) set2 := sets.New(items2...) b.Run("New/1", func(b *testing.B) { for range b.N { _ = sets.New("a") } }) b.Run("New/1000", func(b *testing.B) { for range b.N { _ = sets.New(items1000...) } })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/files/fileCollections/groovy/build.gradle
// Iterate over the files in the collection collection.each { File file -> println file.name } // Convert the collection to various types Set set = collection.files Set set2 = collection as Set List list = collection as List String path = collection.asPath File file = collection.singleFile // Add and subtract collections
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 15 13:55:00 UTC 2024 - 2.7K bytes - Viewed (0) -
src/go/types/example_test.go
fmt.Printf("Method set of %s:\n", styp) fmt.Println(types.NewMethodSet(styp)) // Output: // Method set of temperature.Celsius: // method (temperature.Celsius) String() string // // Method set of *temperature.Celsius: // method (*temperature.Celsius) SetF(f float64) // method (*temperature.Celsius) String() string // // Method set of temperature.S: // MethodSet {} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.9K bytes - Viewed (0) -
cmd/metrics-v3-cluster-erasure-set.go
labels := []string{poolIDL, poolLV, setIDL, setLV} m.Set(erasureSetReadQuorum, float64(h.ReadQuorum), labels...) m.Set(erasureSetWriteQuorum, float64(h.WriteQuorum), labels...) m.Set(erasureSetOnlineDrivesCount, float64(h.HealthyDrives), labels...) m.Set(erasureSetHealingDrivesCount, float64(h.HealingDrives), labels...) m.Set(erasureSetHealth, b2f(h.Healthy), labels...) readHealthy := true
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 14 07:25:56 UTC 2024 - 4.4K bytes - Viewed (0) -
buildscripts/verify-healing-empty-erasure-set.sh
#!/bin/bash -e # set -E set -o pipefail if [ ! -x "$PWD/minio" ]; then echo "minio executable binary not found in current directory" exit 1 fi WORK_DIR="$PWD/.verify-$RANDOM" MINIO_CONFIG_DIR="$WORK_DIR/.minio" MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server) function start_minio_3_node() { export MINIO_ROOT_USER=minio export MINIO_ROOT_PASSWORD=minio123 export MINIO_ERASURE_SET_DRIVE_COUNT=6
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 31 14:48:50 UTC 2024 - 3.9K bytes - Viewed (0)