Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for shifts (0.15 sec)

  1. doc/go_spec.html

    a <a href="#Run_time_panics">run-time panic</a> occurs.
    The shift operators implement arithmetic shifts if the left operand is a signed
    integer and logical shifts if it is an unsigned integer.
    There is no upper limit on the shift count. Shifts behave
    as if the left operand is shifted <code>n</code> times by 1 for a shift
    count of <code>n</code>.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          // offset = d<=0 ? max_diag_len - diag_len_d : 0
          cmp = rewriter.create<TF::LessEqualOp>(loc, d, b_zero);
        } else {
          // offset = 0
          cmp = b_false;
        }
    
        // This offset shifts the diagonals to the "left" or "right", depending
        // on alignment.
        Value offset = rewriter.create<SelectOp>(
            loc, b_zero.getType(), cmp,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  3. src/net/http/h2_bundle.go

    }
    
    func (q *http2writeQueue) empty() bool { return len(q.s) == 0 }
    
    func (q *http2writeQueue) push(wr http2FrameWriteRequest) {
    	q.s = append(q.s, wr)
    }
    
    func (q *http2writeQueue) shift() http2FrameWriteRequest {
    	if len(q.s) == 0 {
    		panic("invalid use of queue")
    	}
    	wr := q.s[0]
    	// TODO: less copy-happy queue.
    	copy(q.s, q.s[1:])
    	q.s[len(q.s)-1] = http2FrameWriteRequest{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    	etype1 := s.concreteEtype(t)
    	etype2 := s.concreteEtype(u)
    	x, ok := shiftOpToSSA[opAndTwoTypes{op, etype1, etype2}]
    	if !ok {
    		s.Fatalf("unhandled shift op %v etype=%s/%s", op, etype1, etype2)
    	}
    	return x
    }
    
    func (s *state) uintptrConstant(v uint64) *ssa.Value {
    	if s.config.PtrSize == 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top