Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 483 for lake (0.17 sec)

  1. tests/test_tutorial/test_dependencies/test_tutorial006_an_py39.py

            "/items/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"}
        )
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Key header invalid"}
    
    
    @needs_py39
    def test_get_valid_headers(client: TestClient):
        response = client.get(
            "/items/",
            headers={
                "X-Token": "fake-super-secret-token",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers_test.go

    					ObjectMeta: metav1.ObjectMeta{Name: "pod-template-2"},
    					Spec: api.PodSpec{
    						Containers: []api.Container{
    							{
    								Name:  "fake-container1",
    								Image: "fake-image1",
    							},
    							{
    								Name:  "fake-container2",
    								Image: "fake-image2",
    							},
    						},
    					},
    				},
    			},
    
    			options: printers.GenerateOptions{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    				"request.kind.group == 'example.com' && request.kind.version == 'v1' && request.kind.kind == 'Fake'",
    				"request.resource.group == 'example.com' && request.resource.version == 'v1' && request.resource.resource == 'fake' && request.subResource == 'scale'",
    				"request.requestKind.group == 'example.com' && request.requestKind.version == 'v1' && request.requestKind.kind == 'Fake'",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. plugin/pkg/admission/resourcequota/admission_test.go

    		config := testCase.config
    		resourceQuota := testCase.quota
    		kubeClient := fake.NewSimpleClientset(resourceQuota)
    		if testCase.anotherQuota != nil {
    			kubeClient = fake.NewSimpleClientset(resourceQuota, testCase.anotherQuota)
    		}
    		indexer := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{"namespace": cache.MetaNamespaceIndexFunc})
    		stopCh := make(chan struct{})
    		defer close(stopCh)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  5. pkg/kubelet/status/status_manager_test.go

    }
    
    func TestSyncPod(t *testing.T) {
    	syncer := newTestManager(&fake.Clientset{})
    	testPod := getTestPod()
    	syncer.kubeClient = fake.NewSimpleClientset(testPod)
    	syncer.SetPodStatus(testPod, getRandomPodStatus())
    	verifyActions(t, syncer, []core.Action{getAction(), patchAction()})
    }
    
    func TestSyncPodChecksMismatchedUID(t *testing.T) {
    	syncer := newTestManager(&fake.Clientset{})
    	pod := getTestPod()
    	pod.UID = "first"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  6. src/net/http/httptest/server.go

    func (s *Server) CloseClientConnections() {
    	s.mu.Lock()
    	nconn := len(s.conns)
    	ch := make(chan struct{}, nconn)
    	for c := range s.conns {
    		go s.closeConnChan(c, ch)
    	}
    	s.mu.Unlock()
    
    	// Wait for outstanding closes to finish.
    	//
    	// Out of paranoia for making a late change in Go 1.6, we
    	// bound how long this can wait, since golang.org/issue/14291
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtOriginalPsiProvider.kt

         * for [this]. Otherwise, returns `null`.
         */
        @KaAnalysisApiInternals
        public fun KtDeclaration.getOriginalDeclaration(): KtDeclaration? =
            withValidityAssertion { analysisSession.originalPsiProvider.getOriginalDeclaration(this) }
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/net_test.go

    	assert.Equal(t, ztunnelServer.deletedPods.Load(), 1)
    	assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 1)
    	assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1)
    	// make sure the uid was taken from cache and netns closed
    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    
    	// run gc to clean up ns:
    
    	//revive:disable-next-line:call-to-gc Just a test that we are cleaning up the netns
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/legalize_jax_random.mlir

    // CHECK:           return %[[VAL_2]] : tuple<tensor<3x4xf32>>
    // CHECK:         }
    func.func @tfl_wrapped_jax_random_normal(%arg0: tensor<2xui32>) -> tuple<tensor<3x4xf32>> {
      // This is a fake jax random normal body.
      %0 = stablehlo.constant dense<0.0> : tensor<12xf32>
      %1 = "stablehlo.reshape"(%0) : (tensor<12xf32>) -> tensor<3x4xf32>
      %2 = "stablehlo.tuple"(%1) : (tensor<3x4xf32>) -> tuple<tensor<3x4xf32>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go

    			pod.Spec.ServiceAccountName = "testsan"
    			pod.Labels = c.podLabels
    			pod.Spec.NodeName = "fake"
    			// All should get this
    			c.expected[labelutil.LabelHostname] = "fake"
    
    			loc := pkgmodel.ConvertLocality(c.ctl.locality)
    			fc := kube.NewFakeClient(&v1.Node{
    				ObjectMeta: metav1.ObjectMeta{Name: "fake", Labels: map[string]string{
    					NodeRegionLabelGA:          loc.Region,
    					NodeZoneLabel:              loc.Zone,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top