Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 139 for genMetrics (0.33 sec)

  1. test/typeparam/mdempsky/15.go

    // run -goexperiment fieldtrack
    
    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that generics, promoted methods, and //go:nointerface
    // interoperate as expected.
    
    package main
    
    import (
    	"reflect"
    )
    
    func TypeString[T any]() string {
    	return reflect.TypeOf(new(T)).Elem().String()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

    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.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 20 11:19:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. 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)
  4. pkg/kubelet/server/stats/volume_stat_calculator.go

    			}
    		}
    	}
    
    	// Get volume specs for the pod - key'd by volume name
    	volumesSpec := make(map[string]v1.Volume)
    	for _, v := range s.pod.Spec.Volumes {
    		volumesSpec[v.Name] = v
    	}
    
    	// Call GetMetrics on each Volume and copy the result to a new VolumeStats.FsStats
    	var ephemeralStats []stats.VolumeStats
    	var persistentStats []stats.VolumeStats
    	for name, v := range metricVolumes {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 29 00:55:10 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

    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.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 20 11:19:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. 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)
  7. android/guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Simple derived class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class DerivedComparable extends BaseComparable {
      public DerivedComparable(String s) {
        super(s);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 989 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top