Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 733 for isSelect (0.17 sec)

  1. src/runtime/proc_test.go

    	}
    
    	done := make(chan bool)
    	c := make(chan bool)
    	for i := 0; i < 2; i++ {
    		go func() {
    			for {
    				select {
    				case c <- true:
    				case <-done:
    					return
    				}
    			}
    		}()
    	}
    
    	timer := time.After(20 * time.Millisecond)
    	for {
    		select {
    		case <-c:
    		case <-timer:
    			close(done)
    			return
    		}
    	}
    }
    
    func TestTimerFairness2(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    uname=$(uname)
    
    includes_AIX='
    #include <net/if.h>
    #include <net/netopt.h>
    #include <netinet/ip_mroute.h>
    #include <sys/protosw.h>
    #include <sys/stropts.h>
    #include <sys/mman.h>
    #include <sys/poll.h>
    #include <sys/select.h>
    #include <sys/termio.h>
    #include <termios.h>
    #include <fcntl.h>
    
    #define AF_LOCAL AF_UNIX
    '
    
    includes_Darwin='
    #define _DARWIN_C_SOURCE
    #define KERNEL 1
    #define _DARWIN_USE_64_BIT_INODE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  3. pilot/pkg/xds/xds_test.go

    				PortSpecifier: &core.SocketAddress_PortValue{
    					PortValue: uint32(27018),
    				},
    			}, "{.address.socketAddress}").
    			Select("{.filterChains[0].filters[0]}").
    			Equals("envoy.mongo_proxy", "{.name}").
    			Select("{.typedConfig}").
    			Exists("{.statPrefix}").
    			CheckOrFail(t)
    	})
    }
    
    func TestEgressProxy(t *testing.T) {
    	s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    		ConfigString: `
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ShortCircuitEmptyConfigurationResolver.java

            private static final EmptyResults INSTANCE = new EmptyResults();
    
            @Override
            public SelectedArtifactSet select(ArtifactSelectionSpec spec) {
                return this;
            }
    
            @Override
            public SelectedArtifactSet select(Spec<? super Dependency> dependencySpec) {
                return this;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. pkg/adsc/adsc.go

    		adscLog.Debugf(string(b))
    	}
    
    	a.mutex.Lock()
    	a.routes = rds
    	a.mutex.Unlock()
    
    	select {
    	case a.Updates <- v3.RouteType:
    	default:
    	}
    }
    
    // WaitClear will clear the waiting events, so next call to Wait will get
    // the next push type.
    func (a *ADSC) WaitClear() {
    	for {
    		select {
    		case <-a.Updates:
    		default:
    			return
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyHandler.java

         *
         * @since 5.6
         */
        Dependency testFixtures(Object notation, Action<? super Dependency> configureAction);
    
        /**
         * Allows fine-tuning what variant to select for the target dependency. This can be used to
         * specify a classifier, for example.
         *
         * @param dependencyProvider the dependency provider
         * @param variantSpec the variant specification
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go

    	return r.count
    }
    
    func newHandler(responseCh <-chan string, panicCh <-chan interface{}, writeErrCh chan<- error) http.HandlerFunc {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		select {
    		case resp := <-responseCh:
    			_, err := w.Write([]byte(resp))
    			writeErrCh <- err
    		case panicReason := <-panicCh:
    			panic(panicReason)
    		}
    	})
    }
    
    func TestTimeout(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. internal/s3select/message.go

    		progressTickerC = progressTicker.C
    	}
    	recordStagingTicker := time.NewTicker(500 * time.Millisecond)
    
    	// Exit conditions:
    	//
    	// 1. If a writer.write() returns false, select loop below exits and
    	// closes `doneCh` to indicate to caller to also exit.
    	//
    	// 2. If caller (Evaluate()) has an error, it sends an error
    	// message and waits for this go-routine to quit in
    	// FinishWithError()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesProcessingIntegTest.groovy

                }
    
                def extraRuleCandidates = []
                configurations.all {
                    resolutionStrategy {
                        componentSelection {
                            all ${rules['select 1.1']}
                            all { ComponentSelection selection ->
                                if (selection.metadata != null) {
                                    extraRuleCandidates << selection.candidate.version
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  10. src/runtime/stkframe.go

    			}
    		} else if stackDebug >= 3 && debug {
    			print("      no locals to adjust\n")
    		}
    	}
    
    	// Arguments. First fetch frame size and special-case argument maps.
    	var isReflect bool
    	args, isReflect = frame.argMapInternal()
    	if args.n > 0 && args.bytedata == nil {
    		// Non-empty argument frame, but not a special map.
    		// Fetch the argument map at pcdata.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top