Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,690 for cmfake (0.16 sec)

  1. pkg/controller/podautoscaler/horizontal_test.go

    	emapi "k8s.io/metrics/pkg/apis/external_metrics/v1beta1"
    	metricsapi "k8s.io/metrics/pkg/apis/metrics/v1beta1"
    	metricsfake "k8s.io/metrics/pkg/client/clientset/versioned/fake"
    	cmfake "k8s.io/metrics/pkg/client/custom_metrics/fake"
    	emfake "k8s.io/metrics/pkg/client/external_metrics/fake"
    	"k8s.io/utils/pointer"
    
    	"github.com/stretchr/testify/assert"
    
    	_ "k8s.io/kubernetes/pkg/apis/apps/install"
    	_ "k8s.io/kubernetes/pkg/apis/autoscaling/install"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  2. pkg/test/framework/components/environment/kube/fake.go

    	return false
    }
    
    func (f FakeEnvironment) EnvironmentName() string {
    	if len(f.Name) == 0 {
    		return "fake"
    	}
    	return f.Name
    }
    
    func (f FakeEnvironment) AllClusters() cluster.Clusters {
    	res := cluster.Clusters{}
    	allClusters := make(cluster.Map)
    
    	for i := 0; i < f.NumClusters; i++ {
    		topo := cluster.NewTopology(cluster.Config{
    			Name:               fmt.Sprintf("cluster-%d", i),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/fake.go

    		ServiceEntryRegistry: se,
    	}
    	if !opts.SkipRun {
    		fake.Run()
    		if err := env.InitNetworksManager(xdsUpdater); err != nil {
    			t.Fatal(err)
    		}
    		if err := env.PushContext().InitContext(env, nil, nil); err != nil {
    			t.Fatalf("Failed to initialize push context: %v", err)
    		}
    	}
    	return fake
    }
    
    func (f *ConfigGenTest) Run() {
    	go f.Registry.Run(f.stop)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. src/make.rc

    # (make.bash, make.bat, make.rc)....
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:48:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/make.bash

    bootgo=1.20.6
    
    set -e
    
    if [[ ! -f run.bash ]]; then
    	echo 'make.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    
    if [[ "$GOBUILDTIMELOGFILE" != "" ]]; then
    	echo $(LC_TIME=C date) start make.bash >"$GOBUILDTIMELOGFILE"
    fi
    
    # Test for Windows.
    case "$(uname)" in
    *MINGW* | *WIN32* | *CYGWIN*)
    	echo 'ERROR: Do not use make.bash to build on Windows.'
    	echo 'Use make.bat instead.'
    	echo
    	exit 1
    	;;
    esac
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:48:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/fake.go

    	}
    	cleanupStop := false
    	stop := opts.Stop
    	if stop == nil {
    		// If we created the stop, clean it up. Otherwise, caller is responsible
    		cleanupStop = true
    		stop = make(chan struct{})
    	}
    	f := namespace.NewDiscoveryNamespacesFilter(
    		kclient.New[*corev1.Namespace](opts.Client),
    		opts.MeshWatcher,
    		stop,
    	)
    	kubelib.SetObjectFilter(opts.Client, f)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. pilot/test/xds/fake.go

    		objects = append(objects, o)
    	}
    	return objects, nil
    }
    
    // DisableAuthorizationForSecret makes the authorization check always pass. Should be used only for tests.
    func DisableAuthorizationForSecret(fake *fake.Clientset) {
    	fake.Fake.PrependReactor("create", "subjectaccessreviews", func(action k8stesting.Action) (bool, runtime.Object, error) {
    		return true, &authorizationv1.SubjectAccessReview{
    			Status: authorizationv1.SubjectAccessReviewStatus{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant.mlir

    // RUN: tf-opt %s -tfl-raise-custom-ops="test-raise-tf-targets=tf.FakeQuantWithMinMaxVarsPerChannel,tf.FakeQuantWithMinMaxVars" -tfl-prepare-tf=use-fake-quant-num-bits=true | FileCheck --check-prefix LOBIT --dump-input=always %s
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    
    // CHECK-LABEL: fakeQuantPerChannelForActivation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant-4bit.mlir

    // RUN: tf-opt %s -tfl-raise-custom-ops="test-raise-tf-targets=tf.FakeQuantWithMinMaxVarsPerChannel,tf.FakeQuantWithMinMaxVars" -tfl-prepare-tf=use-fake-quant-num-bits=true | FileCheck --check-prefix LOBIT --dump-input=always %s
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    
    // CHECK-LABEL: fakeQuantPerChannelForActivation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 22K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/sha3/shake.go

    // NewCShake128 creates a new instance of cSHAKE128 variable-output-length ShakeHash,
    // a customizable variant of SHAKE128.
    // N is used to define functions based on cSHAKE, it can be empty when plain cSHAKE is
    // desired. S is a customization byte string used for domain separation - two cSHAKE
    // computations on same input with different S yield unrelated outputs.
    // When N and S are both empty, this is equivalent to NewShake128.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top