Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for fakePC (0.11 sec)

  1. pkg/kubelet/kubelet_test.go

    						{
    							Name:       "fake/fake-device",
    							DevicePath: "fake/path",
    						},
    					},
    				},
    			},
    		},
    	}
    	kubelet.recorder = fakeRecorder
    	if err := kubelet.setupDataDirs(); err != nil {
    		t.Fatalf("can't initialize kubelet data dirs: %v", err)
    	}
    	kubelet.daemonEndpoints = &v1.NodeDaemonEndpoints{}
    
    	kubelet.cadvisor = &cadvisortest.Fake{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status_test.go

    	"k8s.io/apimachinery/pkg/util/strategicpatch"
    	"k8s.io/apimachinery/pkg/util/uuid"
    	"k8s.io/apimachinery/pkg/util/wait"
    	clientset "k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/kubernetes/fake"
    	"k8s.io/client-go/rest"
    	core "k8s.io/client-go/testing"
    	"k8s.io/component-base/version"
    	kubeletapis "k8s.io/kubelet/pkg/apis"
    	cadvisortest "k8s.io/kubernetes/pkg/kubelet/cadvisor/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  3. src/database/sql/sql_test.go

    			t.Error(err)
    		}
    	}
    }
    
    // just a test of fakedb itself
    func TestBogusPreboundParameters(t *testing.T) {
    	db := newTestDB(t, "foo")
    	defer closeDB(t, db)
    	exec(t, db, "CREATE|t1|name=string,age=int32,dead=bool")
    	_, err := db.Prepare("INSERT|t1|name=?,age=bogusconversion")
    	if err == nil {
    		t.Fatalf("expected error")
    	}
    	if err.Error() != `fakedb: invalid conversion to int32 from "bogusconversion"` {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. pkg/scheduler/schedule_one_test.go

    		initialNodeNumber        = 1000
    		initialPodNumber         = 500
    		waitSchedulingPodNumber  = 200
    		deleteNodeNumberPerRound = 20
    		createPodNumberPerRound  = 50
    
    		fakeSchedulerName = "fake-scheduler"
    		fakeNamespace     = "fake-namespace"
    
    		initialNodes []runtime.Object
    		initialPods  []runtime.Object
    	)
    
    	for i := 0; i < initialNodeNumber; i++ {
    		nodeName := fmt.Sprintf("node%d", i)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  5. pkg/controller/daemon/daemon_controller_test.go

    	nodeStore    cache.Store
    	fakeRecorder *record.FakeRecorder
    }
    
    func newTestController(ctx context.Context, initialObjects ...runtime.Object) (*daemonSetsController, *fakePodControl, *fake.Clientset, error) {
    	clientset := fake.NewSimpleClientset(initialObjects...)
    	informerFactory := informers.NewSharedInformerFactory(clientset, controller.NoResyncPeriodFunc())
    
    	dsc, err := NewDaemonSetsController(
    		ctx,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  6. tests/integration/pilot/common/routing.go

    			// Test all cipher suites, including a fake one. Envoy should accept all of the ones on the "valid" list,
    			// and control plane should filter our invalid one.
    
    			params := templateParams(protocol.HTTPS, src, dests, append(sets.SortedList(security.ValidCipherSuites), "fake"), ports.HTTP.Name)
    			params["GatewayIstioLabel"] = t.Istio.Settings().IngressGatewayIstioLabel
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  7. pkg/proxy/nftables/proxier_test.go

    const testExternalClientBlocked = "203.0.113.130"
    
    var testNodeIPs = []string{testNodeIP, testNodeIPAlt, testExternalIP, testNodeIPv6, testNodeIPv6Alt}
    
    func NewFakeProxier(ipFamily v1.IPFamily) (*knftables.Fake, *Proxier) {
    	// TODO: Call NewProxier after refactoring out the goroutine
    	// invocation into a Run() method.
    	nftablesFamily := knftables.IPv4Family
    	podCIDR := "10.0.0.0/8"
    	serviceCIDRs := "172.30.0.0/16"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  8. src/net/http/server.go

    			return
    		}
    		if excludeHeader == nil {
    			excludeHeader = make(map[string]bool)
    		}
    		excludeHeader[key] = true
    	}
    	var setHeader extraHeader
    
    	// Don't write out the fake "Trailer:foo" keys. See TrailerPrefix.
    	trailers := false
    	for k := range cw.header {
    		if strings.HasPrefix(k, TrailerPrefix) {
    			if excludeHeader == nil {
    				excludeHeader = make(map[string]bool)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    }
    
    def TFL_FakeQuantOp : TFL_Op<"fake_quant", [
        Pure,
        QuantizableResult]> {
      let summary = "FakeQuant operator";
    
      let description = [{
        Fake-quantize the 'inputs' tensor of type float via float scalars min and
        max to 'outputs' tensor of same shape as inputs.
      }];
    
      let arguments = (
        ins TFL_FpTensor:$input,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  10. src/net/http/serve_test.go

    		// internally (the same as if the server had closed the connection due to a
    		// racing idle-timeout).
    		//
    		// With unlucky and very stable scheduling (as may be the case with the fake wasm
    		// net stack), this can result in an infinite retry loop that doesn't
    		// propagate the error up far enough for us to adjust the WriteTimeout.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top