Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 311 for fake0 (0.05 sec)

  1. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    	vol3          = "vol3"
    	pvcClaimName0 = "pvc-fake0"
    	pvcClaimName1 = "pvc-fake1"
    )
    
    var (
    	ErrorWatchTimeout = errors.New("watch event timeout")
    	// Create pod spec to test against
    	podVolumes = []k8sv1.Volume{
    		{
    			Name: vol0,
    			VolumeSource: k8sv1.VolumeSource{
    				GCEPersistentDisk: &k8sv1.GCEPersistentDiskVolumeSource{
    					PDName: "fake-device1",
    				},
    			},
    		},
    		{
    			Name: vol1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    		}
    
    	case asmArray:
    		tu := t.Underlying().(*types.Array)
    		elem := tu.Elem()
    		// Calculate offset of each element array.
    		fields := []*types.Var{
    			types.NewVar(token.NoPos, nil, "fake0", elem),
    			types.NewVar(token.NoPos, nil, "fake1", elem),
    		}
    		offsets := arch.sizes.Offsetsof(fields)
    		elemoff := int(offsets[1])
    		for i := 0; i < int(tu.Len()); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. 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)
  4. pkg/test/framework/components/environment/kube/fake.go

    	return false
    }
    
    func (f FakeEnvironment) IsMultiNetwork() bool {
    	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++ {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. 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)
  6. pilot/pkg/serviceregistry/kube/controller/fake.go

    John Howard <******@****.***> 1716498423 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. src/net/smtp/smtp_test.go

    	panic("unexpected call")
    }
    
    type faker struct {
    	io.ReadWriter
    }
    
    func (f faker) Close() error                     { return nil }
    func (f faker) LocalAddr() net.Addr              { return nil }
    func (f faker) RemoteAddr() net.Addr             { return nil }
    func (f faker) SetDeadline(time.Time) error      { return nil }
    func (f faker) SetReadDeadline(time.Time) error  { return nil }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K 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. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

                activeThreads--
                startNextTask()
              }
            }
          }
        }
      }
    
      /**
       * This blocking queue hooks into a fake clock rather than using regular JVM timing for functions
       * like [poll]. It is only usable within task faker tasks.
       */
      private inner class TaskFakerBlockingQueue<T>(
        val delegate: BlockingQueue<T>,
      ) : AbstractQueue<T>(), BlockingQueue<T> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top