- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for manymembers (0.24 sec)
-
src/os/user/lookup_unix_test.go
{testGroupFile, "emptyid", ""}, {testGroupFile, "invalidgid", ""}, {testGroupFile, "indented", "7"}, {testGroupFile, "# comment", ""}, {testGroupFile, "largegroup", "1000"}, {testGroupFile, "manymembers", "777"}, {"", "emptyfile", ""}, } func TestFindGroupName(t *testing.T) { for _, tt := range groupTests { got, err := findGroupName(tt.name, strings.NewReader(tt.in)) if tt.gid == "" { if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 11 04:31:34 UTC 2022 - 7.3K bytes - Viewed (0) -
src/os/user/listgroups_unix_test.go
+plussign:*:20:root -minussign:*:21:root # Next line is invalid (empty group name) :*:22:root daemon:*:1:root indented:*:7:root # comment:*:4:found # comment:*:4:found kmem:*:2:root manymembers:x:777:jill,jody,john,jack,jov,user777 ` + largeGroup() func largeGroup() (res string) { var b strings.Builder b.WriteString("largegroup:x:1000:user1") for i := 2; i <= 7500; i++ { fmt.Fprintf(&b, ",user%d", i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf_test.go
if !ok { continue } wantMembers := want[name] if wantMembers == nil { continue } gotMembers, err := findMembers(rdr) if err != nil { t.Fatalf("error reading DWARF: %v", err) } if !reflect.DeepEqual(gotMembers, wantMembers) { t.Errorf("type %v: got map[member]embedded = %+v, want %+v", name, wantMembers, gotMembers) } delete(want, name) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 01:38:11 UTC 2024 - 48.6K bytes - Viewed (0)