- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 550 for pfds (0.05 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/fdset.go
package unix // Set adds fd to the set fds. func (fds *FdSet) Set(fd int) { fds.Bits[fd/NFDBITS] |= (1 << (uintptr(fd) % NFDBITS)) } // Clear removes fd from the set fds. func (fds *FdSet) Clear(fd int) { fds.Bits[fd/NFDBITS] &^= (1 << (uintptr(fd) % NFDBITS)) } // IsSet returns whether fd is in the set fds. func (fds *FdSet) IsSet(fd int) bool { return fds.Bits[fd/NFDBITS]&(1<<(uintptr(fd)%NFDBITS)) != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 781 bytes - Viewed (0) -
pkg/controller/job/backoff_utils.go
backoff.lastFailureTime = &failedTime } backoff.failuresAfterLastSuccess += 1 } return *backoff } } func sortByFinishedTime(pods []*v1.Pod) { sort.Slice(pods, func(i, j int) bool { p1 := pods[i] p2 := pods[j] p1FinishTime := getFinishedTime(p1) p2FinishTime := getFinishedTime(p2) return p1FinishTime.Before(p2FinishTime) }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 07:46:41 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/server_v1.go
} // NewV1PodResourcesServer returns a PodResourcesListerServer which lists pods provided by the PodsProvider // with device information provided by the DevicesProvider func NewV1PodResourcesServer(providers PodResourcesProviders) podresourcesv1.PodResourcesListerServer { return &v1PodResourcesServer{ podsProvider: providers.Pods, devicesProvider: providers.Devices, cpusProvider: providers.Cpus,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 21 13:00:09 UTC 2024 - 6.2K bytes - Viewed (0) -
pkg/scheduler/framework/listers.go
// List returns the list of NodeInfos. List() ([]*NodeInfo, error) // HavePodsWithAffinityList returns the list of NodeInfos of nodes with pods with affinity terms. HavePodsWithAffinityList() ([]*NodeInfo, error) // HavePodsWithRequiredAntiAffinityList returns the list of NodeInfos of nodes with pods with required anti-affinity terms. HavePodsWithRequiredAntiAffinityList() ([]*NodeInfo, error) // Get returns the NodeInfo of the given node name.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 04 01:00:41 UTC 2022 - 1.6K bytes - Viewed (0) -
pkg/scheduler/metrics/resources/resources.go
pods, err := c.lister.List(labels.Everything()) if err != nil { return } reuseReqs, reuseLimits := make(v1.ResourceList, 4), make(v1.ResourceList, 4) for _, p := range pods { reqs, limits, terminal := podRequestsAndLimitsByLifecycle(p, reuseReqs, reuseLimits) if terminal { // terminal pods are excluded from resource usage calculations continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 09 23:15:53 UTC 2023 - 6.8K bytes - Viewed (0) -
operator/cmd/mesh/testdata/operator/output/operator-dump.json
], "resources": [ "configmaps", "endpoints", "events", "namespaces", "pods", "pods/proxy", "pods/portforward", "persistentvolumeclaims", "secrets", "services", "serviceaccounts", "resourcequotas"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 10 01:35:08 UTC 2023 - 4.1K bytes - Viewed (0) -
src/os/exec/exec_posix_test.go
cmd.Dir = tc.dir var pwds []string for _, kv := range cmd.Environ() { if strings.HasPrefix(kv, "PWD=") { pwds = append(pwds, strings.TrimPrefix(kv, "PWD=")) } } wantPWDs := []string{tc.pwd} if !reflect.DeepEqual(pwds, wantPWDs) { t.Errorf("PWD entries in cmd.Environ():\n\t%s\nwant:\n\t%s", strings.Join(pwds, "\n\t"), strings.Join(wantPWDs, "\n\t")) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 13 20:21:32 UTC 2022 - 6.8K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricspec.go
return b } // WithPods sets the Pods field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Pods field is set to the value of the last call. func (b *MetricSpecApplyConfiguration) WithPods(value *PodsMetricSourceApplyConfiguration) *MetricSpecApplyConfiguration { b.Pods = value return b }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 09 02:34:54 UTC 2021 - 4.2K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig_test.go
args: strings.Split("clusters invalid", " "), expectedString: "unable to retrieve Pod: pods \"invalid\" not found", wantException: true, // "istioctl proxy-config clusters invalid" should fail }, { // listeners invalid args: strings.Split("listeners invalid", " "), expectedString: "unable to retrieve Pod: pods \"invalid\" not found", wantException: true, // "istioctl proxy-config listeners invalid" should fail
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 21:51:29 UTC 2024 - 8.9K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/input-extra-resources/default_tag.yaml
operator: NotIn values: - "false" reinvocationPolicy: Never rules: - apiGroups: - "" apiVersions: - v1 operations: - CREATE resources: - pods scope: '*' sideEffects: None timeoutSeconds: 10 - admissionReviewVersions: - v1beta1 - v1 clientConfig: service: name: istiod-test-dev2 namespace: istio-system
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 09 17:23:44 UTC 2024 - 3.2K bytes - Viewed (0)