- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 69 for Fset (0.04 sec)
-
pkg/util/smallset/smallset_test.go
assert.Equal(t, set.List(), []string{"a", "b", "d"}) assert.Equal(t, nset.List(), []string{"a", "b", "c", "d", "z"}) assert.Equal(t, nset.Contains("a"), true) assert.Equal(t, nset.Contains("b"), true) assert.Equal(t, nset.Contains("c"), true) assert.Equal(t, nset.Contains("d"), true) assert.Equal(t, nset.Contains("e"), false) assert.Equal(t, nset.Contains("z"), true) } func TestNew(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 4K bytes - Viewed (0) -
src/go/doc/reader.go
return id.Name } return "BADPARAM" } // set creates the corresponding Func for f and adds it to mset. // If there are multiple f's with the same name, set keeps the first // one with documentation; conflicts are ignored. The boolean // specifies whether to leave the AST untouched. func (mset methodSet) set(f *ast.FuncDecl, preserveAST bool) { name := f.Name.Name if g := mset[name]; g != nil && g.Doc != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 27.5K 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) -
src/go/types/decl.go
if t, _ := base.under().(*Struct); t != nil { var mset objset for i := 0; i < base.NumMethods(); i++ { m := base.Method(i) assert(m.name != "_") assert(mset.insert(m) == nil) } // Check that any non-blank field names of base are distinct from its // method names. for _, fld := range t.fields { if fld.name != "_" { if alt := mset.insert(fld); alt != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31K bytes - Viewed (0) -
src/cmd/compile/internal/types2/decl.go
if t, _ := base.under().(*Struct); t != nil { var mset objset for i := 0; i < base.NumMethods(); i++ { m := base.Method(i) assert(m.name != "_") assert(mset.insert(m) == nil) } // Check that any non-blank field names of base are distinct from its // method names. for _, fld := range t.fields { if fld.name != "_" { if alt := mset.insert(fld); alt != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typexpr.go
check.later(func() { if t, _ := under(typ).(*Interface); t != nil { pos := syntax.StartPos(e) tset := computeInterfaceTypeSet(check, pos, t) // TODO(gri) is this the correct position? if !tset.IsMethodSet() { if tset.comparable { check.softErrorf(pos, MisplacedConstraintIface, "cannot use type %s outside a type constraint: interface is (or embeds) comparable", typ) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 16.6K bytes - Viewed (0) -
src/go/types/typexpr.go
// to interface methods. Delay this check to the end of type-checking. check.later(func() { if t, _ := under(typ).(*Interface); t != nil { tset := computeInterfaceTypeSet(check, e.Pos(), t) // TODO(gri) is this the correct position? if !tset.IsMethodSet() { if tset.comparable { check.softErrorf(e, MisplacedConstraintIface, "cannot use type %s outside a type constraint: interface is (or embeds) comparable", typ) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 16.3K bytes - Viewed (0) -
src/cmd/internal/obj/util.go
C_SCOND_XOR = 14 ) // CConv formats opcode suffix bits (Prog.Scond). func CConv(s uint8) string { if s == 0 { return "" } for i := range opSuffixSpace { sset := &opSuffixSpace[i] if sset.arch == buildcfg.GOARCH { return sset.cconv(s) } } return fmt.Sprintf("SC???%d", s) } // CConvARM formats ARM opcode suffix bits (mostly condition codes). func CConvARM(s uint8) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 17.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typeparam.go
if ityp == nil { ityp = NewInterfaceType(nil, []Type{bound}) ityp.implicit = true t.bound = ityp // update t.bound for next time (optimization) } // compute type set if necessary if ityp.tset == nil { // pos is used for tracing output; start with the type parameter position. pos := t.obj.pos // use the (original or possibly instantiated) type bound position if we have one
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 4.9K bytes - Viewed (0)