Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 149 for selectA (0.14 sec)

  1. src/net/http/client_test.go

    	}
    	_, err = io.ReadAll(res.Body)
    	res.Body.Close()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var first string
    	select {
    	case first = <-saw:
    	default:
    		t.Fatal("server didn't see a request")
    	}
    
    	var second string
    	select {
    	case second = <-saw:
    	default:
    		t.Fatal("server didn't see a second request")
    	}
    
    	if first != second {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    		[]string{"ns1/selector"})
    
    	s.addPolicy(t, "global-selector", systemNS, map[string]string{"app": "a"}, gvk.AuthorizationPolicy, nil)
    	s.assertEvent(t, s.podXdsName("pod1"), s.podXdsName("pod3"), xdsGlobalSelector)
    
    	assert.Equal(t,
    		s.lookup(s.addrXdsName("127.0.0.1"))[0].Address.GetWorkload().AuthorizationPolicies,
    		[]string{"istio-system/global-selector", "ns1/selector"})
    
    	// Update selector to not select
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/parser.go

    }
    
    func (p *parser) selectStmt() *SelectStmt {
    	if trace {
    		defer p.trace("selectStmt")()
    	}
    
    	s := new(SelectStmt)
    	s.pos = p.pos()
    
    	p.want(_Select)
    	if !p.got(_Lbrace) {
    		p.syntaxError("missing { after select clause")
    		p.advance(_Case, _Default, _Rbrace)
    	}
    	for p.tok != _EOF && p.tok != _Rbrace {
    		s.Body = append(s.Body, p.commClause())
    	}
    	s.Rbrace = p.pos()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/go/printer/testdata/parser.go

    	switch p.tok {
    	case token.DEFINE:
    		// lhs of a short variable declaration
    		p.shortVarDecl(p.makeIdentList(list))
    	case token.COLON:
    		// lhs of a label declaration or a communication clause of a select
    		// statement (parseLhsList is not called when parsing the case clause
    		// of a switch statement):
    		// - labels are declared by the caller of parseLhsList
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  7. src/crypto/internal/nistec/p256_asm_ppc64le.s

    #define ADD3H V7 // Overloaded with ADD1H
    #define ADD4H V8 // Overloaded with ADD2H
    #define ZER   V28 // Overloaded with TMP1
    #define CAR1  V6 // Overloaded with YDIG
    #define CAR2  V11 // Overloaded with RED1
    // Constant Selects
    #define SEL1  V13 // Overloaded with RED3
    #define SEL2  V9 // Overloaded with ADD3,SEL5
    #define SEL3  V10 // Overloaded with ADD4,SEL6
    #define SEL4  V6 // Overloaded with YDIG,CAR1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite.go

    // to (Select0 (opCC x y)) without having to explicitly fixup every user
    // of op.
    //
    // E.g consider the case:
    // a = (ADD x y)
    // b = (CMPconst [0] a)
    // c = (OR a z)
    //
    // A rule like (CMPconst [0] (ADD x y)) => (CMPconst [0] (Select0 (ADDCC x y)))
    // would produce:
    // a  = (ADD x y)
    // a' = (ADDCC x y)
    // a” = (Select0 a')
    // b  = (CMPconst [0] a”)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top