Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pilot/pkg/config/monitor/monitor.go

    		return err
    	}
    	watcher := recursiveWatcher{fs}
    	if err = watcher.watchRecursive(path); err != nil {
    		return err
    	}
    	go func() {
    		defer watcher.Close()
    		var debounceC <-chan time.Time
    		for {
    			select {
    			case <-debounceC:
    				debounceC = nil
    				ch <- struct{}{}
    			case e := <-watcher.Events:
    				s, err := os.Stat(e.Name)
    				if err == nil && s != nil && s.IsDir() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. cmd/speedtest.go

    			result.Servers = len(globalNotificationSys.peerClients) + 1
    			result.Version = Version
    			result.Concurrent = concurrency
    
    			select {
    			case ch <- result:
    			case <-ctx.Done():
    				return
    			}
    		}
    
    		for {
    			select {
    			case <-ctx.Done():
    				// If the client got disconnected stop the speedtest.
    				return
    			default:
    			}
    
    			sopts := speedTestOpts{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_tidy_compat_implicit.txt

    ! go mod tidy
    stderr '^go: example\.com/m imports\n\texample\.net/lazy tested by\n\texample\.net/lazy.test imports\n\texample\.com/retract/incompatible loaded from example\.com/retract/incompatible@v1\.0\.0,\n\tbut go 1\.16 would select v2\.0\.0\+incompatible\n\n'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/unique/handle_test.go

    	// Note: this will only run if there's no other active cleanup, so
    	// we can be sure that the next time cleanup runs, it'll see the new
    	// notification.
    	cleanupMu.Lock()
    	cleanupNotify = append(cleanupNotify, func() {
    		select {
    		case wait <- struct{}{}:
    		default:
    		}
    	})
    
    	runtime.GC()
    	cleanupMu.Unlock()
    
    	// Wait until cleanup runs.
    	<-wait
    }
    
    func checkMapsFor[T comparable](t *testing.T, value T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:14:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/ResolutionFailureDescriber.java

         * for the given failure.
         *
         * @param failure the failure to describe
         * @param schema the schema of the attributes that were used to select the variant, if available
         * @return the exception that describes the failure
         *
         * @implSpec Testing {@link #canDescribeFailure(ResolutionFailure)} should <strong>NOT</strong> be done by
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. cmd/kubemark/app/hollow_node_test.go

    			}
    			errCh := make(chan error)
    			go func() {
    				data, err := os.ReadFile(kubeconfigPath)
    				t.Logf("read %d, err=%v\n", len(data), err)
    				ctx := ktesting.Init(t)
    				errCh <- run(ctx, s)
    			}()
    
    			select {
    			case err := <-errCh:
    				t.Fatalf("Run finished unexpectedly with error: %v", err)
    			case <-time.After(3 * time.Second):
    				t.Logf("Morph %q hasn't crashed for 3s. Calling success.", morph)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 10:06:15 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskSelectionIntegrationTest.groovy

    class TaskSelectionIntegrationTest extends AbstractIntegrationSpec {
    
        @ToBeFixedForIsolatedProjects(because = "subprojects")
        def "given an unqualified name traverse project tree from current project and select all tasks with matching name"() {
            createDirs("a", "b", "a/a", "b/b")
            settingsFile << "include 'a', 'b', 'a:a', 'b:b'"
    
            buildFile << """
                subprojects {
                    task thing
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/AbstractWritableResultsStore.groovy

        }
    
        private static final int LATEST_EXECUTION_TIMES_DAYS = 14
        private static final String SELECT_LATEST_EXECUTION_TIMES = """
               ${ OperatingSystem.values().collect { os -> """
                select
                   testClass,
                   testId,
                   testProject,
                   '${os.name()}' as os,
                   avg(TIMESTAMPDIFF(SECOND, testExecution.startTime, testExecution.endTime)) as duration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. hack/verify-golangci-lint.sh

    Usage: $0 [-r <revision>|-a] [-s] [-c none|<config>] [-- <golangci-lint run flags>] [packages]"
       -r <revision>: only report issues in code added since that revision
       -a: automatically select the common base of origin/master and HEAD
           as revision
       -s: select a strict configuration for new code
       -n: in addition to strict checking, also enable hints (aka nits) that may are may not
           be useful
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_progress.go

    		stopped := func() bool {
    			pr.mux.Lock()
    			defer pr.mux.Unlock()
    			for pr.waiting == 0 && !pr.stopped {
    				pr.cond.Wait()
    			}
    			return pr.stopped
    		}()
    		if stopped {
    			return
    		}
    
    		select {
    		case <-timer.C():
    			shouldRequest := func() bool {
    				pr.mux.Lock()
    				defer pr.mux.Unlock()
    				return pr.waiting > 0 && !pr.stopped
    			}()
    			if !shouldRequest {
    				timer.Reset(0)
    				continue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 09:56:38 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top