- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for foundUses (0.2 sec)
-
src/cmd/compile/internal/types2/resolver_test.go
} } // Check that each identifier in the source is found in uses or defs or both. // We need the foundUses/Defs maps (rather than just deleting the found objects // from the uses and defs maps) because syntax.Walk traverses shared nodes multiple // times (e.g. types in field lists such as "a, b, c int"). foundUses := make(map[*syntax.Name]bool) foundDefs := make(map[*syntax.Name]bool) var both []string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 12:59:20 UTC 2023 - 4.7K bytes - Viewed (0) -
src/internal/profile/prune.go
// Do not prune frames before the first user frame, to avoid // pruning everything. foundUser := false for i := len(sample.Location) - 1; i >= 0; i-- { id := sample.Location[i].ID if !prune[id] && !pruneBeneath[id] { foundUser = true continue } if !foundUser { continue } if prune[id] { sample.Location = sample.Location[i+1:] break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 17 19:35:56 UTC 2020 - 2.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/prune.go
// Do not prune frames before the first user frame, to avoid // pruning everything. foundUser := false for i := len(sample.Location) - 1; i >= 0; i-- { id := sample.Location[i].ID if !prune[id] && !pruneBeneath[id] { foundUser = true continue } if !foundUser { continue } if prune[id] { sample.Location = sample.Location[i+1:] break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 5.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf_test.go
} // Now walk the program headers. Section should be part of // some segment that is readonly. foundRO := false foundSegs := []*elf.Prog{} for _, p := range elfFile.Progs { if segContainsSec(p, wsro) { foundSegs = append(foundSegs, p) if p.Flags == elf.PF_R { foundRO = true } } } if !foundRO {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 13:44:07 UTC 2024 - 16.6K bytes - Viewed (0) -
cmd/endpoint.go
// Hostnames - returns list of unique hostnames func (l EndpointServerPools) Hostnames() []string { foundSet := set.NewStringSet() for _, ep := range l { for _, endpoint := range ep.Endpoints { if foundSet.Contains(endpoint.Hostname()) { continue } foundSet.Add(endpoint.Hostname()) } } return foundSet.ToSlice() } // hostsSorted will return all hosts found.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 34.1K bytes - Viewed (0)