Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 116 for isSelect (0.16 sec)

  1. pkg/kubelet/pod_workers.go

    	status.pendingUpdate = &options
    	status.working = true
    	klog.V(4).InfoS("Notifying pod of pending update", "pod", klog.KRef(ns, name), "podUID", uid, "workType", status.WorkType())
    	select {
    	case podUpdates <- struct{}{}:
    	default:
    	}
    
    	if (becameTerminating || wasGracePeriodShortened) && status.cancelFn != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    			batchLogIf(ctx, err)
    			continue
    		}
    	}
    }
    
    // AddWorker adds a replication worker to the pool
    func (j *BatchJobPool) AddWorker() {
    	if j == nil {
    		return
    	}
    	for {
    		select {
    		case <-j.ctx.Done():
    			return
    		case job, ok := <-j.jobCh:
    			if !ok {
    				return
    			}
    			switch {
    			case job.Replicate != nil:
    				if job.Replicate.RemoteToLocal() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  3. src/go/parser/parser.go

    	}
    
    	pos := p.expect(token.SELECT)
    	lbrace := p.expect(token.LBRACE)
    	var list []ast.Stmt
    	for p.tok == token.CASE || p.tok == token.DEFAULT {
    		list = append(list, p.parseCommClause())
    	}
    	rbrace := p.expect(token.RBRACE)
    	p.expectSemi()
    	body := &ast.BlockStmt{Lbrace: lbrace, List: list, Rbrace: rbrace}
    
    	return &ast.SelectStmt{Select: pos, Body: body}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  4. src/net/http/httputil/reverseproxy_test.go

    			if _, err := bufrw.WriteString(nthResponse(i)); err != nil {
    				select {
    				case <-triggerCancelCh:
    				default:
    					t.Errorf("Writing response #%d failed: %v", i, err)
    				}
    				return
    			}
    			bufrw.Flush()
    			time.Sleep(time.Second)
    		}
    		if _, err := bufrw.WriteString(terminalMsg); err != nil {
    			select {
    			case <-triggerCancelCh:
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  5. tests/integration/security/authz_test.go

    							}
    
    							cases := []testCase{
    								{
    									// Make sure the bad policy did not select this workload.
    									path:  fmt.Sprintf("/policy-%s-%s-bad", to.Config().Namespace.Prefix(), to.Config().Service),
    									allow: false,
    								},
    								{
    									// Make sure the bad policy select this workload.
    									// Skip vm
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	getresgid(&r, &e, &s)
    	return int(r), int(e), int(s)
    }
    
    // Pselect is a wrapper around the Linux pselect6 system call.
    // This version does not modify the timeout argument.
    func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
    	// Per https://man7.org/linux/man-pages/man2/select.2.html#NOTES,
    	// The Linux pselect6() system call modifies its timeout argument.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/extensions/v1beta1/types.go

    }
    
    const (
    	// DefaultDeploymentUniqueLabelKey is the default key of the selector that is added
    	// to existing RCs (and label key that is added to its pods) to prevent the existing RCs
    	// to select new pods (and old pods being select by new RC).
    	DefaultDeploymentUniqueLabelKey string = "pod-template-hash"
    )
    
    // DeploymentStrategy describes how to replace existing pods with new ones.
    type DeploymentStrategy struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:29 UTC 2023
    - 61.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      // CHECK-DAG: %[[IS_ZERO:.*]] = "tf.Equal"(%[[INNER_SELECT]], %[[ZERO]]) <{incompatible_shape_error = true}>
      // CHECK-DAG: %[[SELECT:.*]] = "tf.SelectV2"(%[[IS_ZERO]], %[[ZERO]], %[[INNER_SELECT]])
      %0 = "tf.Round"(%arg0) : (tensor<2xf32>) -> tensor<2xf32>
    
      // CHECK: return %[[SELECT]]
      func.return %0 : tensor<2xf32>
    }
    
    // CHECK-LABEL: func @round_dynamic
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    It explains:
    
     * Ways to control how the tests are run (<<#sec:test_execution,Test execution>>)
     * How to select specific tests to run (<<#test_filtering,Test filtering>>)
     * What test reports are generated and how to influence the process (<<#test_reporting,Test reporting>>)
     * How Gradle finds tests to run (<<#sec:test_detection,Test detection>>)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
  10. cmd/peer-rest-server.go

    	// We have however a dynamic downstream buffer (ch).
    	buf := bytes.NewBuffer(grid.GetByteBuffer())
    	enc := json.NewEncoder(buf)
    	tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}}
    	for {
    		select {
    		case <-ctx.Done():
    			grid.PutByteBuffer(buf.Bytes())
    			return nil
    		case ev := <-ch:
    			buf.Reset()
    			tmpEvt.Records[0] = ev
    			if err := enc.Encode(tmpEvt); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top