Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for wc (0.06 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher.go

    	resultChanWG.Wait()
    	close(wc.resultChan)
    }
    
    func (wc *watchChan) Stop() {
    	wc.cancel()
    }
    
    func (wc *watchChan) ResultChan() <-chan watch.Event {
    	return wc.resultChan
    }
    
    func (wc *watchChan) RequestWatchProgress() error {
    	return wc.watcher.client.RequestProgress(wc.ctx)
    }
    
    // sync tries to retrieve existing data and send them to process.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 10:26:38 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  2. src/internal/fuzz/worker.go

    // and closes it after the worker process closes the other end.
    func (wc *workerClient) Close() error {
    	wc.mu.Lock()
    	defer wc.mu.Unlock()
    
    	// Close fuzzIn. This signals to the server that there are no more calls,
    	// and it should exit.
    	if err := wc.fuzzIn.Close(); err != nil {
    		wc.fuzzOut.Close()
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval_test.go

    		t.Run(c.name, func(t *testing.T) {
    			wc := newTestWatchCache(capacity, &cache.Indexers{})
    			defer wc.Stop()
    			for i := 0; i < c.eventsAddedToWatchcache; i++ {
    				wc.Add(makeTestPod(fmt.Sprintf("pod%d", i), uint64(i)))
    			}
    			indexerFunc := func(i int) *watchCacheEvent {
    				return wc.cache[i%wc.capacity]
    			}
    
    			wci := newCacheInterval(
    				c.intervalStartIndex,
    				wc.endIndex,
    				indexerFunc,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/site-replication/run-ssec-object-replication.sh

    count1=$(./mc ls minio1/test-bucket/plainfile --insecure | wc -l)
    if [ "${count1}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/plainfile not found"
    	exit_1
    fi
    count2=$(./mc ls minio1/test-bucket/encrypted --insecure | wc -l)
    if [ "${count2}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/encrypted not found"
    	exit_1
    fi
    count3=$(./mc ls minio1/test-bucket/defpartsize --insecure | wc -l)
    if [ "${count3}" -ne 1 ]; then
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    		}
    
    		wc.SecurityContext.HostProcess = true
    	}
    
    	sc := pod.Spec.SecurityContext
    	if sc == nil || sc.WindowsOptions == nil {
    		return wc, nil
    	}
    
    	wo := sc.WindowsOptions
    	if wo.GMSACredentialSpec != nil {
    		wc.SecurityContext.CredentialSpec = *wo.GMSACredentialSpec
    	}
    
    	if wo.RunAsUserName != nil {
    		wc.SecurityContext.RunAsUsername = *wo.RunAsUserName
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. docs/site-replication/run-sse-kms-object-replication.sh

    count1=$(./mc ls minio1/test-bucket/encrypted --insecure | wc -l)
    if [ "${count1}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/encrypted not found"
    	exit_1
    fi
    count2=$(./mc ls minio1/test-bucket/mpartobj --insecure | wc -l)
    if [ "${count2}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/mpartobj not found"
    	exit_1
    fi
    count3=$(./mc ls minio1/test-bucket/defpartsize --insecure | wc -l)
    if [ "${count3}" -ne 1 ]; then
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    	}
    	versioner := storage.APIObjectVersioner{}
    	mockHandler := func(*watchCacheEvent) {}
    	wc := &testWatchCache{}
    	wc.bookmarkRevision = make(chan int64, 1)
    	wc.stopCh = make(chan struct{})
    	pr := newConditionalProgressRequester(wc.RequestWatchProgress, &immediateTickerFactory{}, nil)
    	go pr.Run(wc.stopCh)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. cluster/gce/windows/smoke-test.sh

      done
    }
    
    function check_no_system_pods_on_windows_nodes {
      windows_system_pods=$(${kubectl} get pods --namespace kube-system \
        -o wide | grep -E "Pending|windows" | wc -w)
      if [[ $windows_system_pods -ne 0 ]]; then
        echo "ERROR: there are kube-system pods trying to run on Windows nodes"
        echo "kubectl get pods --namespace kube-system -o wide"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    			pod := &v1.Pod{}
    			pod.Spec = *testCase.podSpec
    
    			wc, err := m.generatePodSandboxWindowsConfig(pod)
    
    			assert.Equal(t, testCase.expectedWindowsConfig, wc)
    			assert.Equal(t, testCase.expectedError, err)
    		})
    	}
    }
    
    func TestGeneratePodSandboxWindowsConfig_HostNetwork(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    		groupResource:       groupResource,
    		waitingUntilFresh:   progressRequester,
    	}
    	metrics.WatchCacheCapacity.WithLabelValues(groupResource.String()).Set(float64(wc.capacity))
    	wc.cond = sync.NewCond(wc.RLocker())
    	wc.indexValidator = wc.isIndexValidLocked
    
    	return wc
    }
    
    // Add takes runtime.Object as an argument.
    func (w *watchCache) Add(obj interface{}) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top