- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 96 for genMetrics (0.14 sec)
-
pkg/collateral/control.go
for _, n := range names { if commands[n].Name() == help { continue } g.genCommand(commands[n]) _ = g.genConfigFile(commands[n].Flags()) } g.genVars(cmd, p.SelectEnv) g.genMetrics(p.SelectMetric) f, err := os.Create(path) if err != nil { return err } _, err = g.buffer.WriteTo(f) _ = f.Close() return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 03:51:36 UTC 2024 - 17.8K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/11-language-change.yml
validations: required: true - type: textarea id: generics-proposal attributes: label: Is this about generics? description: If so, how does this relate to the accepted design and other generics proposals? placeholder: | Yes or No If yes, 1. how does this relate to the accepted design and other generics proposals? validations: required: true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 22 20:49:24 UTC 2023 - 4.7K bytes - Viewed (0) -
pkg/volume/csi/csi_metrics_test.go
fakeCloser := fake.NewCloser(t) nodeClient.SetNodeVolumeStatsResp(getRawVolumeInfo()) return nodeClient, fakeCloser, nil }, } metrics, err := metricsGetter.GetMetrics() if err != nil { t.Fatalf("for %s: unexpected error : %v", tc.name, err) } if metrics == nil { t.Fatalf("unexpected nil metrics") } expectedMetrics := getRawVolumeInfo()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 06:07:40 UTC 2023 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/Derived.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; /** Simple derived class to verify that we handle generics correctly. */ @GwtCompatible class Derived extends Base { public Derived(String s) { super(s); } private static final long serialVersionUID = 0;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Oct 03 22:29:45 UTC 2023 - 908 bytes - Viewed (0) -
pkg/kubelet/stats/host_stats_provider_fake.go
result := rootFsInfoToFsStats(rootFsInfo) for i, metricsProvider := range metricsProviders { hostMetrics, err := metricsProvider.GetMetrics() if err != nil { return nil, fmt.Errorf("failed to get stats for item %d: %v", i, err) } usedBytes := uint64(hostMetrics.Used.Value()) inodesUsed := uint64(hostMetrics.InodesUsed.Value())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 17:57:17 UTC 2024 - 3.9K bytes - Viewed (0) -
src/runtime/tracemap.go
package runtime import ( "internal/cpu" "internal/goarch" "internal/runtime/atomic" "runtime/internal/sys" "unsafe" ) type traceMap struct { root atomic.UnsafePointer // *traceMapNode (can't use generics because it's notinheap) _ cpu.CacheLinePad seq atomic.Uint64 _ cpu.CacheLinePad mem traceRegionAlloc } // traceMapNode is an implementation of a lock-free append-only hash-trie
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/Base.java
package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.io.Serializable; import org.checkerframework.checker.nullness.qual.Nullable; /** Simple base class to verify that we handle generics correctly. */ @GwtCompatible class Base implements Comparable<Base>, Serializable { private final String s; public Base(String s) { this.s = s; } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Oct 03 22:29:45 UTC 2023 - 1.4K bytes - Viewed (0) -
pkg/kubelet/server/stats/volume_stat_calculator_test.go
} } // Fake volume/metrics provider var _ volume.Volume = &fakeVolume{} type fakeVolume struct{} func (v *fakeVolume) GetPath() string { return "" } func (v *fakeVolume) GetMetrics() (*volume.Metrics, error) { return expectedMetrics(), nil } func expectedMetrics() *volume.Metrics { vMetrics := &volume.Metrics{ Available: resource.NewQuantity(available, resource.BinarySI),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 9.6K bytes - Viewed (0) -
pkg/kubelet/stats/host_stats_provider.go
if _, err := os.Stat(podEtcHostsPath); os.IsNotExist(err) { return nil, nil } metrics := volume.NewMetricsDu(podEtcHostsPath) hostMetrics, err := metrics.GetMetrics() if err != nil { return nil, fmt.Errorf("failed to get stats %v", err) } result := rootFsInfoToFsStats(rootFsInfo) usedBytes := uint64(hostMetrics.Used.Value())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 17:55:59 UTC 2024 - 6.6K bytes - Viewed (0) -
pilot/pkg/model/telemetry.go
if len(metrics) == 0 { for _, dp := range mesh.GetDefaultProviders().GetMetrics() { // Insert the default provider. It has no overrides; presence of the key is sufficient to // get the filter created. providers[dp] = map[tpb.WorkloadMode]map[string]metricOverride{} } } providerNames := mesh.GetDefaultProviders().GetMetrics() for _, m := range metrics { names := getProviderNames(m.Providers)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 18:14:09 UTC 2024 - 35.2K bytes - Viewed (0)