Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for isSelect (0.22 sec)

  1. src/runtime/proc.go

    	}
    	releasem(mp)
    	return s
    }
    
    //go:nosplit
    func releaseSudog(s *sudog) {
    	if s.elem != nil {
    		throw("runtime: sudog with non-nil elem")
    	}
    	if s.isSelect {
    		throw("runtime: sudog with non-false isSelect")
    	}
    	if s.next != nil {
    		throw("runtime: sudog with non-nil next")
    	}
    	if s.prev != nil {
    		throw("runtime: sudog with non-nil prev")
    	}
    	if s.waitlink != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/database/sql/sql_test.go

    	expectPanic("Query Query", func() { db.Query("PANIC|Query|SELECT|people|age,name|") })
    	expectPanic("Query NumInput", func() { db.Query("PANIC|NumInput|SELECT|people|age,name|") })
    	expectPanic("Query Close", func() {
    		rows, err := db.Query("PANIC|Close|SELECT|people|age,name|")
    		if err != nil {
    			t.Fatal(err)
    		}
    		rows.Close()
    	})
    	db.Query("PANIC|Exec|SELECT|people|age,name|") // should run successfully: Query does not call Exec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  3. src/reflect/value.go

    // A runtimeSelect is a single case passed to rselect.
    // This must match ../runtime/select.go:/runtimeSelect
    type runtimeSelect struct {
    	dir SelectDir      // SelectSend, SelectRecv or SelectDefault
    	typ *rtype         // channel type
    	ch  unsafe.Pointer // channel
    	val unsafe.Pointer // ptr to data (SendDir) or ptr to receive buffer (RecvDir)
    }
    
    // rselect runs a select. It returns the index of the chosen case.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  4. src/database/sql/sql.go

    				// TODO(bradfitz): rather than this best effort select, we
    				// should probably start a goroutine to read from req. This best
    				// effort select existed before the change to check 'deleted'.
    				// But if we know for sure it wasn't deleted and a sender is
    				// outstanding, we should probably block on req (in a new
    				// goroutine) to get the connection back.
    				select {
    				default:
    				case ret, ok := <-req:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  5. pkg/ctrlz/assets/static/css/bootstrap-4.0.0.min.css

    e-height:1.5;border-radius:.2rem}.input-group-sm>.input-group-append>select.btn:not([size]):not([multiple]),.input-group-sm>.input-group-append>select.input-group-text:not([size]):not([multiple]),.input-group-sm>.input-group-prepend>select.btn:not([size]):not([multiple]),.input-group-sm>.input-group-prepend>select.input-group-text:not([size]):not([multiple]),.input-group-sm>select.form-control:not([size]):not([multiple]),select.form-control-sm:not([size]):not([multiple]){height:calc(1.8125rem + ...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 141.5K bytes
    - Viewed (0)
  6. 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)
  7. cmd/admin-handlers.go

    	go func() {
    		var buf bytes.Buffer
    		enc := json.NewEncoder(&buf)
    		for {
    			select {
    			case <-ctx.Done():
    				return
    			case li := <-logCh:
    				if !li.SendLog(node, logKind) {
    					continue
    				}
    				buf.Reset()
    				if err := enc.Encode(li); err != nil {
    					continue
    				}
    				select {
    				case <-ctx.Done():
    					return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  8. src/reflect/all_test.go

    		}
    	}()
    	// Should panic
    	_, _, _ = Select(sCases)
    }
    
    func TestSelectNop(t *testing.T) {
    	// "select { default: }" should always return the default case.
    	chosen, _, _ := Select([]SelectCase{{Dir: SelectDefault}})
    	if chosen != 0 {
    		t.Fatalf("expected Select to return 0, but got %#v", chosen)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // -----
    
    // Tests that a quantized `stablehlo.select` is converted to `tfl.select_v2`.
    
    func.func @select(
        %arg0: tensor<1x3xi1>,
        %arg1: tensor<1x3x!quant.uniform<i8:f32, 2.000000e+00:-1>>,
        %arg2: tensor<1x3x!quant.uniform<i8:f32, 2.000000e+00:-1>>
      ) -> tensor<1x3x!quant.uniform<i8:f32, 2.000000e+00:-1>> {
      %0 = "stablehlo.select"(%arg0, %arg1, %arg2) : (
        tensor<1x3xi1>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
Back to top