- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 59 for maxRetries (0.2 sec)
-
pkg/util/oom/oom_linux.go
// Keeps trying to write until the process list of the cgroup stabilizes, or until maxTries tries. func (oomAdjuster *OOMAdjuster) applyOOMScoreAdjContainer(cgroupName string, oomScoreAdj, maxTries int) error { adjustedProcessSet := make(map[int]bool) for i := 0; i < maxTries; i++ { continueAdjusting := false pidList, err := oomAdjuster.pidLister(cgroupName) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 07:13:28 UTC 2022 - 4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
/// A `max_age` of 0 means that nothing is cached. A `max_entries` of 0 means /// that there is no limit on the number of entries in the cache (however, if /// `max_age` is also 0, the cache will not be populated). ExpiringLRUCache(uint64_t max_age, size_t max_entries, std::function<uint64_t()> timer_seconds = TF_NowSeconds) : max_age_(max_age), max_entries_(max_entries), timer_seconds_(timer_seconds) {}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 09 19:31:22 UTC 2020 - 6.3K bytes - Viewed (0) -
pkg/util/oom/oom_linux_test.go
} } // Tests that applyOOMScoreAdjContainer correctly applies OOM scores to relevant processes, or // returns the right error. func applyOOMScoreAdjContainerTester(pidListSequence [][]int, maxTries int, appliedPids []int, expectedError bool, t *testing.T) { pidOOMs := make(map[int]bool) // Mock ApplyOOMScoreAdj and pidLister. oomAdjuster := NewOOMAdjuster()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 3.3K bytes - Viewed (0) -
pkg/util/oom/oom_fake.go
ApplyOOMScoreAdjContainer: fakeApplyOOMScoreAdjContainer, } } func fakeApplyOOMScoreAdj(pid int, oomScoreAdj int) error { return nil } func fakeApplyOOMScoreAdjContainer(cgroupName string, oomScoreAdj, maxTries int) error { return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 30 00:47:36 UTC 2016 - 1K bytes - Viewed (0) -
pkg/util/oom/oom_unsupported.go
} } func unsupportedApplyOOMScoreAdj(pid int, oomScoreAdj int) error { return unsupportedErr } func unsupportedApplyOOMScoreAdjContainer(cgroupName string, oomScoreAdj, maxTries int) error { return unsupportedErr
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.1K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/route.go
// If the sysctl failed because the data got larger // between the two sysctl calls, try a few times // before failing. (golang.org/issue/45736). const maxTries = 3 if err == syscall.ENOMEM && try < maxTries { continue } return nil, os.NewSyscallError("sysctl", err) } return b[:n], nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 4.2K bytes - Viewed (0) -
pkg/util/oom/oom.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 30 00:47:36 UTC 2016 - 1K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go
prof: p, copier: copier, options: opt, help: make(map[string]string), settingsFile: settingsFile, }, nil } // maxEntries is the maximum number of entries to print for text interfaces. const maxEntries = 50 // errorCatcher is a UI that captures errors for reporting to the browser. type errorCatcher struct { plugin.UI errors []string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 14K bytes - Viewed (0) -
src/archive/tar/format.go
type sparseArray []byte func (s sparseArray) entry(i int) sparseElem { return sparseElem(s[i*24:]) } func (s sparseArray) isExtended() []byte { return s[24*s.maxEntries():][:1] } func (s sparseArray) maxEntries() int { return len(s) / 24 } type sparseElem []byte func (s sparseElem) offset() []byte { return s[00:][:12] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0) -
istioctl/pkg/describe/testdata/describe/http_config.json
"thresholds": [ { "max_connections": 4294967295, "max_pending_requests": 4294967295, "max_requests": 4294967295, "max_retries": 4294967295, "track_remaining": true } ] }, "metadata": { "filter_metadata": { "istio": {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 13.7K bytes - Viewed (0)