Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 414 for pselect (0.44 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go

    		Stdout: &stdout,
    	}
    	errorChan := make(chan error)
    	go func() {
    		// Start the streaming on the WebSocket "exec" client.
    		errorChan <- exec.StreamWithContext(context.Background(), *options)
    	}()
    
    	select {
    	case <-time.After(wait.ForeverTestTimeout):
    		t.Fatalf("expect stream to be closed after connection is closed.")
    	case err := <-errorChan:
    		if err != nil {
    			t.Errorf("unexpected error: %v", err)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. cmd/erasure.go

    		updateTime := 30*time.Second + time.Duration(float64(10*time.Second)*rand.Float64())
    		t := time.NewTicker(updateTime)
    		defer t.Stop()
    		defer saverWg.Done()
    		var lastSave time.Time
    
    		for {
    			select {
    			case <-t.C:
    				if cache.Info.LastUpdate.Equal(lastSave) {
    					continue
    				}
    				scannerLogOnceIf(ctx, cache.save(ctx, er, dataUsageCacheName), "nsscanner-cache-update")
    				updates <- cache.clone()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/tfcompile.bzl

            flags = " ".join([
                "'" + arg.replace("'", "'\\''") + "'"
                for arg in (tfcompile_flags or [])
            ])
    
        # Do this before we append the `select` into `flags`, because doing so
        # transforms `flags` into a variable of type `select`, and we can't call
        # `find` on such an object.
        need_xla_data_proto = flags and flags.find("--gen_program_shape") != -1
    
        if enable_xla_hlo_profiling:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 19:18:08 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. src/cmd/trace/pprof.go

    		// first, we sort based on the start time
    		// and then scan through to select only the outermost regions.
    		slices.SortFunc(intervals, func(a, b interval) int {
    			if c := cmp.Compare(a.start, b.start); c != 0 {
    				return c
    			}
    			return cmp.Compare(a.end, b.end)
    		})
    		var lastTimestamp trace.Time
    		var n int
    		// Select only the outermost regions.
    		for _, i := range intervals {
    			if lastTimestamp <= i.start {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ModuleResolveState.java

        }
    
        @Nullable
        public ComponentState getSelected() {
            return selected;
        }
    
        /**
         * Selects the target component for this module for the first time.
         * Any existing versions will be evicted.
         */
        public void select(ComponentState selected) {
            assert this.selected == null;
            this.selected = selected;
            this.replaced = false;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. cmd/kube-scheduler/app/server.go

    	isLeader := func() bool {
    		select {
    		case _, ok := <-waitingForLeader:
    			// if channel is closed, we are leading
    			return !ok
    		default:
    			// channel is open, we are waiting for a leader
    			return false
    		}
    	}
    
    	handlerSyncReadyCh := make(chan struct{})
    	handlerSyncCheck := healthz.NamedCheck("sched-handler-sync", func(_ *http.Request) error {
    		select {
    		case <-handlerSyncReadyCh:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. cmd/metacache-walk.go

    			return
    		}
    		if m, _, _ := isIndexedMetaV2(metadata); m != nil && !m.AllHidden(true) {
    			objsReturned++
    		}
    	}
    	send := func(entry metaCacheEntry) error {
    		objReturned(entry.metadata)
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		case out <- entry:
    		}
    		return nil
    	}
    
    	// Fast exit track to check if we are listing an object with
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/plugin/noderesources.go

    				active.cancel(errors.New("plugin does not support node resource reporting"))
    			default:
    				// This is a problem, report it and retry.
    				logger.Error(err, "Creating gRPC stream for node resources failed")
    				select {
    				case <-time.After(backOff.Get(backOffID)):
    					backOff.Next(backOffID, time.Now())
    				case <-ctx.Done():
    				}
    			}
    			continue
    		}
    		for {
    			response, err := stream.Recv()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_model.adoc

    If the consumer requested `org.gradle.jvm.version=15`, then Gradle knows either the Java 8 or Java 11 variants could work. Gradle select the highest compatible Java version (11).
    --
    
    [[sec:variant-select-errors]]
    == Variant selection errors
    
    When selecting the most compatible variant of a component, resolution may fail:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/BUILD

            "c_api_experimental.h",
            "c_api_internal.h",
            "c_api_unified_experimental.h",
        ],
        hdrs = ["c_api.h"],
        copts = tf_copts(),
        visibility = ["//visibility:public"],
        deps = select({
            "//tensorflow:android": [
                "//tensorflow/core:portable_tensorflow_lib_lite",
            ],
            "//conditions:default": [
                ":immediate_execution_context",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top