- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for 4291 (0.06 sec)
-
pkg/monitoring/monitortest/test.go
name string attrs attribute.Set } var reg = lazy.New(func() (prometheus.Gatherer, error) { // TODO: do not use a global and/or add a way to reset (https://github.com/open-telemetry/opentelemetry-go/issues/4291) reg := prometheus.NewRegistry() _, err := monitoring.RegisterPrometheusExporter(reg, reg) if err != nil { return nil, err } return reg, nil }) func TestRegistry(t test.Failer) prometheus.Gatherer {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 13 16:04:48 UTC 2023 - 7.2K bytes - Viewed (0) -
src/net/ipsock.go
ipStackCaps.Once.Do(ipStackCaps.probe) return ipStackCaps.ipv6Enabled } // supportsIPv4map reports whether the platform supports mapping an // IPv4 address inside an IPv6 address at transport layer // protocols. See RFC 4291, RFC 4038 and RFC 3493. func supportsIPv4map() bool { // Some operating systems provide no support for mapping IPv4 // addresses to IPv6, and a runtime check is unnecessary. switch runtime.GOOS {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 9.4K bytes - Viewed (0) -
src/net/interface_test.go
return nil, fmt.Errorf("unexpected prefix length: %d/%d for %#v", prefixLen, maxPrefixLen, ifa) } if ifa.IP.IsLoopback() && prefixLen != 8*IPv6len { // see RFC 4291 return nil, fmt.Errorf("unexpected prefix length: %d/%d for %#v", prefixLen, maxPrefixLen, ifa) } stats.ipv6++ } case *IPAddr: if ifa == nil || ifa.IP == nil || ifa.IP.IsMulticast() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 9.8K bytes - Viewed (0) -
src/go/token/example_test.go
fset := token.NewFileSet() const src = `package main import "fmt" import "go/token" //line :1:5 type p = token.Pos const bad = token.NoPos //line fake.go:42:11 func ok(pos p) bool { return pos != bad } /*line :7:9*/func main() { fmt.Println(ok(bad) == bad.IsValid()) } ` f, err := parser.ParseFile(fset, "main.go", src, 0) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 22:09:31 UTC 2023 - 1.7K bytes - Viewed (0) -
test/fixedbugs/issue6036.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 652 bytes - Viewed (0) -
pkg/kubelet/container/container_gc.go
return false } // KEP 4191 explains that multiple filesystems for images and containers is not // supported at the moment. // See https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/4191-split-image-filesystem#comment-on-future-extensions // for work needed to support multiple filesystems.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 3.8K bytes - Viewed (0) -
pkg/kubelet/cadvisor/types.go
ImagesFsInfo() (cadvisorapiv2.FsInfo, error) // Returns usage information about the root filesystem. RootFsInfo() (cadvisorapiv2.FsInfo, error) // Returns usage information about the writeable layer. // KEP 4191 can separate the image filesystem ContainerFsInfo() (cadvisorapiv2.FsInfo, error) // Get filesystem information for the filesystem that contains the given file. GetDirFsInfo(path string) (cadvisorapiv2.FsInfo, error) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 22:07:20 UTC 2023 - 2.1K bytes - Viewed (0) -
pkg/kubelet/stats/provider.go
Inodes: rootFsInfo.Inodes, InodesUsed: nodeFsInodesUsed, }, nil } // HasDedicatedImageFs returns true if a dedicated image filesystem exists for storing images. // KEP Issue Number 4191: Enhanced this to allow for the containers to be separate from images. func (p *Provider) HasDedicatedImageFs(ctx context.Context) (bool, error) { device, err := p.containerStatsProvider.ImageFsDevice(ctx) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 13:56:22 UTC 2023 - 7.4K bytes - Viewed (0)