Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 697 for pselect (0.22 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/BaseCrossBuildResultsStore.java

                Set<PerformanceExperiment> testNames = new LinkedHashSet<>();
                try (PreparedStatement testIdsStatement = connection.prepareStatement(
                    "select testClass, testId, testProject" +
                        "   from testExecutionExperiment" +
                        "  where resultType = ?" +
                        "  order by testClass, testId, testProject")
                ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. 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)
  3. pkg/istio-agent/xds_proxy.go

    			resp, err := con.upstream.Recv()
    			if err != nil {
    				upstreamErr(con, err)
    				return
    			}
    			select {
    			case con.responsesChan <- resp:
    			case <-con.stopChan:
    			}
    		}
    	}()
    
    	go p.handleUpstreamRequest(con)
    	go p.handleUpstreamResponse(con)
    
    	for {
    		select {
    		case err := <-con.upstreamError:
    			// error from upstream Istiod.
    			return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/factory_test.go

    			newETCD3Client = func(c storagebackend.TransportConfig) (*clientv3.Client, error) {
    				defer close(ready)
    				dummyKV := mockKV{
    					get: func(ctx context.Context) (*clientv3.GetResponse, error) {
    						select {
    						case <-ctx.Done():
    							return nil, ctx.Err()
    						case <-time.After(tc.responseTime):
    							return nil, nil
    						}
    					},
    				}
    				client.KV = dummyKV
    				return client, nil
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 29 15:58:10 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesErrorHandlingIntegTest.groovy

                        }
                    }
                }
    
                class BadRuleSource {
                    def candidates = []
    
                    @org.gradle.model.Mutate
                    void select(String s) { }
                }
            """
    
            expect:
            fails ':checkDeps'
            failureDescriptionStartsWith("A problem occurred evaluating root project")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top