Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for pselect (0.14 sec)

  1. cmd/bucket-replication.go

    				}
    				traceFn(sz, err)
    				select {
    				case <-ctx.Done():
    					return
    				case <-s.resyncCancelCh:
    					return
    				case resultCh <- st:
    				}
    			}
    		}(ctx, i)
    	}
    	for res := range objInfoCh {
    		if res.Err != nil {
    			resyncStatus = ResyncFailed
    			replLogIf(ctx, res.Err)
    			return
    		}
    		select {
    		case <-s.resyncCancelCh:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    		ctx := r.Context()
    		select {
    		case <-ctx.Done():
    			t.Error("should not be Done in ServeHTTP")
    		default:
    		}
    		ctxc <- ctx
    	}))
    	res, err := cst.c.Get(cst.ts.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    	res.Body.Close()
    	ctx := <-ctxc
    	select {
    	case <-ctx.Done():
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        std::string failed_custom_ops_summary =
            GetOpsSummary(failed_custom_ops_, /*summary_title=*/"Custom");
        std::string err;
        if (!failed_flex_ops_.empty())
          err +=
              "\nSome ops are not supported by the native TFLite runtime, you "
              "can "
              "enable TF kernels fallback using TF Select. See instructions: "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    //
    // Here is an appropriate place to note that despite the syntactical
    // similarity to the switch statement, the case statements in a select are
    // evaluated in a pseudorandom order if there are multiple channels ready to
    // read from when the select is evaluated.  In other words, case statements
    // are evaluated in random order, and you can not assume that the case
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    			t.Error(err)
    			return
    		}
    		waitListCh <- l
    	}(rev + 1)
    
    	select {
    	case <-time.After(500 * time.Millisecond):
    	case l := <-waitListCh:
    		t.Fatalf("expected waiting, but get %#v", l)
    	}
    
    	if _, err := registry.Create(ctx, barPod, rest.ValidateAllObjectFunc, &metav1.CreateOptions{}); err != nil {
    		t.Fatal(err)
    	}
    
    	select {
    	case <-time.After(wait.ForeverTestTimeout):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		}
    		return
    	}
    	defer s3Select.Close()
    
    	if err = s3Select.Open(objectRSC); err != nil {
    		if serr, ok := err.(s3select.SelectError); ok {
    			encodedErrorResponse := encodeResponse(APIErrorResponse{
    				Code:       serr.ErrorCode(),
    				Message:    serr.ErrorMessage(),
    				BucketName: bucket,
    				Key:        object,
    				Resource:   r.URL.Path,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

                        details == 'Trying to write an output to a read-only location which is for Gradle internal use only'
                        solutions == ['Select a different output location']
                        additionalData.asMap == [
                            'typeName': 'org.gradle.api.DefaultTask',
                            'propertyName': 'output',
                        ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/exec.go

    	par := cfg.BuildP
    	if cfg.BuildN {
    		par = 1
    	}
    	for i := 0; i < par; i++ {
    		wg.Add(1)
    		go func() {
    			ctx := trace.StartGoroutine(ctx)
    			defer wg.Done()
    			for {
    				select {
    				case _, ok := <-b.readySema:
    					if !ok {
    						return
    					}
    					// Receiving a value from b.readySema entitles
    					// us to take from the ready queue.
    					b.exec.Lock()
    					a := b.ready.pop()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  9. src/net/http/server.go

    		}
    		return interval
    	}
    
    	timer := time.NewTimer(nextPollInterval())
    	defer timer.Stop()
    	for {
    		if srv.closeIdleConns() {
    			return lnerr
    		}
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		case <-timer.C:
    			timer.Reset(nextPollInterval())
    		}
    	}
    }
    
    // RegisterOnShutdown registers a function to call on [Server.Shutdown].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  10. src/cmd/go/alldocs.go

    //
    // The generator is run in the package's source directory.
    //
    // Go generate accepts two specific flags:
    //
    //	-run=""
    //		if non-empty, specifies a regular expression to select
    //		directives whose full original source text (excluding
    //		any trailing spaces and final newline) matches the
    //		expression.
    //
    //	-skip=""
    //		if non-empty, specifies a regular expression to suppress
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top