Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 517 for fakeVM (0.35 sec)

  1. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/FakeKeyStore.java

                throw new RuntimeException(e);
            }
        }
    
        static class Provider extends java.security.Provider {
            public static String name = "FakeProvider";
            public static String algorithm = "FAKEKS";
    
            Provider() {
                super(name, 1.0, name);
                putService(new Service(this, "KeyStore", algorithm, FakeKeyStore.class.getCanonicalName(), null, null));
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/host_stats_provider_fake.go

    	osInterface kubecontainer.OSInterface
    }
    
    // NewFakeHostStatsProvider provides a way to test with fake host statistics
    func NewFakeHostStatsProvider() HostStatsProvider {
    	return &fakeHostStatsProvider{
    		osInterface: &kubecontainertest.FakeOS{},
    	}
    }
    
    // NewFakeHostStatsProviderWithData provides a way to test with fake host statistics
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:57:17 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/apiclient/dryrunclient.go

    	fullReactorChain := append(opts.PrependReactors, defaultReactorChain...)
    	fullReactorChain = append(fullReactorChain, opts.AppendReactors...)
    
    	// Prepend the reaction chain with our reactors. Important, these MUST be prepended; not appended due to how the fake clientset works by default
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 21 09:49:59 UTC 2022
    - 10.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        class FakeOp implements Runnable {
          final int op;
    
          FakeOp(int op) {
            this.op = op;
          }
    
          @Override
          public void run() {
            callOrder.add(op);
          }
        }
    
        e.execute(new FakeOp(0));
        e.execute(new FakeOp(1));
        e.execute(new FakeOp(2));
        fakePool.runAll();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  5. pkg/kubelet/stats/cri_stats_provider_test.go

    	}
    
    	ctrl := gomock.NewController(t)
    	defer ctrl.Finish()
    
    	fakeOS := &kubecontainertest.FakeOS{}
    	fakeOS.ReadDirFn = func(path string) ([]os.DirEntry, error) {
    		var dirEntries []os.DirEntry
    		mockDE := kubecontainertest.NewMockDirEntry(ctrl)
    		switch path {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    					ImagePullPolicy: v1.PullIfNotPresent,
    				},
    			},
    		},
    	}
    
    	// Create fake sandbox and container
    	_, fakeContainers := makeAndSetFakePod(t, m, fakeRuntime, pod)
    	assert.Equal(t, len(fakeContainers), 1)
    
    	containerID := fakeContainers[0].Id
    	fakeOS := m.osInterface.(*containertest.FakeOS)
    	fakeOS.GlobFn = func(pattern, path string) bool {
    		pattern = strings.Replace(pattern, "*", ".*", -1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. pkg/controller/controller_ref_manager_test.go

    			controller.Namespace = metav1.NamespaceDefault
    			controller.UID = types.UID(controllerUID)
    			pod1 := newPod("pod1", productionLabel, nil)
    			pod2 := newPod("pod2", productionLabel, nil)
    			pod2.Namespace = "fakens"
    			return test{
    				name: "Controller does not claim pods of different namespace",
    				manager: NewPodControllerRefManager(&FakePodControl{},
    					&controller,
    					productionLabelSelector,
    					controllerKind,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 17:19:26 UTC 2021
    - 10.6K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/podcgroupns_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestWithProcFs(t *testing.T) {
    	n := NewPodNetnsProcFinder(fakeFs())
    	pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{
    		Name:      "foo",
    		Namespace: "bar",
    		UID:       types.UID("863b91d4-4b68-4efa-917f-4b560e3e86aa"),
    	}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. tests/testdata/certs/dns/fake-root-cert.pem

    Navraj Singh Chhina <******@****.***> 1595002115 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 17 16:08:35 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  10. src/net/http/fs_test.go

    		{`<combo>?foo`, `<a href="%3Ccombo%3E%3Ffoo">&lt;combo&gt;?foo</a>`},
    		{`foo:bar`, `<a href="./foo:bar">foo:bar</a>`},
    	}
    
    	// We put each test file in its own directory in the fakeFS so we can look at it in isolation.
    	fs := make(fakeFS)
    	for i, test := range tests {
    		testFile := &fakeFileInfo{basename: test.name}
    		fs[fmt.Sprintf("/%d", i)] = &fakeFileInfo{
    			dir:     true,
    			modtime: time.Unix(1000000000, 0).UTC(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
Back to top