Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 733 for isSelect (0.3 sec)

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

    	var resultChanWG sync.WaitGroup
    	resultChanWG.Add(1)
    	go wc.processEvent(&resultChanWG)
    
    	select {
    	case err := <-wc.errChan:
    		if isCancelError(err) {
    			break
    		}
    		errResult := transformErrorToEvent(err)
    		if errResult != nil {
    			// error result is guaranteed to be received by user before closing ResultChan.
    			select {
    			case wc.resultChan <- *errResult:
    			case <-wc.ctx.Done(): // user has given up all results
    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. pkg/test/loadbalancersim/lb_test.go

    	c := s.mesh.Clients()[0]
    	clientLocality := c.Locality()
    	clientLatency := clientLatencies[0]
    
    	nodesSameZone := s.mesh.Nodes().Select(locality.MatchZone(clientLocality))
    	nodesSameRegion := s.mesh.Nodes().Select(locality.MatchOtherZoneInSameRegion(clientLocality))
    	nodesOtherRegion := s.mesh.Nodes().Select(locality.Not(locality.MatchRegion(clientLocality)))
    
    	// Store in the output.
    	qLatency := s.mesh.Nodes().QueueLatency().Data()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 19 23:29:30 UTC 2022
    - 11K bytes
    - Viewed (0)
  3. internal/logger/target/http/http.go

    		currentGlobalBuffer, ok := logChBuffers[name]
    		logChLock.Unlock()
    		if !ok {
    			return
    		}
    
    		for _, v := range entries {
    			select {
    			case currentGlobalBuffer <- v:
    			default:
    			}
    		}
    
    		if mainWorker {
    		drain:
    			for {
    				select {
    				case v, ok := <-h.logCh:
    					if !ok {
    						break drain
    					}
    
    					currentGlobalBuffer <- v
    				default:
    					break drain
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. migrator/migrator.go

    // Query in gorm.ViewOption is a [subquery]
    //
    //	// CREATE VIEW `user_view` AS SELECT * FROM `users` WHERE age > 20
    //	q := DB.Model(&User{}).Where("age > ?", 20)
    //	DB.Debug().Migrator().CreateView("user_view", gorm.ViewOption{Query: q})
    //
    //	// CREATE OR REPLACE VIEW `users_view` AS SELECT * FROM `users` WITH CHECK OPTION
    //	q := DB.Model(&User{})
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/resolution_rules.adoc

    Here, we _manipulate the requested versions_ in order to select a different version when we find a rejected one.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 00:09:06 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  6. src/os/signal/signal_test.go

    	if ignore {
    		syscall.Kill(syscall.Getpid(), syscall.SIGHUP)
    	}
    
    	quiesce()
    
    	select {
    	case s := <-c1:
    		t.Errorf("unexpected signal %v", s)
    	default:
    		// nothing to read - good
    	}
    
    	select {
    	case s := <-c2:
    		t.Errorf("unexpected signal %v", s)
    	default:
    		// nothing to read - good
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultLenientConfiguration.java

                artifactsForThisConfiguration = artifactResults.select(artifactVariantSelector, implicitSelectionSpec, true);
            }
            return artifactsForThisConfiguration;
        }
    
        @Override
        public SelectedArtifactSet select(final Spec<? super Dependency> dependencySpec) {
            SelectedArtifactResults artifactResults = this.artifactResults.select(artifactVariantSelector, implicitSelectionSpec, false);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. src/crypto/internal/edwards25519/field/fe.go

    }
    
    // mask64Bits returns 0xffffffff if cond is 1, and 0 otherwise.
    func mask64Bits(cond int) uint64 { return ^(uint64(cond) - 1) }
    
    // Select sets v to a if cond == 1, and to b if cond == 0.
    func (v *Element) Select(a, b *Element, cond int) *Element {
    	m := mask64Bits(cond)
    	v.l0 = (m & a.l0) | (^m & b.l0)
    	v.l1 = (m & a.l1) | (^m & b.l1)
    	v.l2 = (m & a.l2) | (^m & b.l2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/VariantAttributesRulesIntegrationTest.groovy

                            attributes {
                                attribute(attribute, "select")
                            }
                        }
                    }
                }
    
                configurations {
                    ${variantToTest}.attributes.attribute(testAttribute, "select")
                }
    
                dependencies {
                    components {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  10. istioctl/pkg/wait/wait.go

    					_, _ = fmt.Fprintf(cmd.OutOrStdout(), "Resource %s present on %d out of %d configurations across %d sidecars\n",
    						targetResource, present, present+notpresent, sdcnum)
    					return nil
    				}
    				select {
    				case newVersion := <-w.resultsChan:
    					printVerbosef(cmd, "received new target version: %s", newVersion)
    					generations = append(generations, newVersion)
    				case <-t.C:
    					printVerbosef(cmd, "tick")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 17 12:24:17 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top