Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,493 for xoffset (0.71 sec)

  1. src/compress/flate/token.go

    // Convert a < xlength, xoffset > pair into a match token.
    func matchToken(xlength uint32, xoffset uint32) token {
    	return token(matchType + xlength<<lengthShift + xoffset)
    }
    
    // Returns the literal of a literal token.
    func (t token) literal() uint32 { return uint32(t - literalType) }
    
    // Returns the extra offset of a match token.
    func (t token) offset() uint32 { return uint32(t) & offsetMask }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/staticinit/sched.go

    	if isvaluelit(n) {
    		s.initplan(n)
    		q := s.Plans[n]
    		for _, qe := range q.E {
    			// qe is a copy; we are not modifying entries in q.E
    			qe.Xoffset += xoffset
    			p.E = append(p.E, qe)
    		}
    		return
    	}
    
    	// add to plan
    	p.E = append(p.E, Entry{Xoffset: xoffset, Expr: n})
    }
    
    func (s *Schedule) staticAssignInlinedCall(l *ir.Name, loff int64, call *ir.InlinedCallExpr, typ *types.Type) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. src/image/png/reader.go

    					if len(paletted.Palette) <= int(cdat[x]) {
    						paletted.Palette = paletted.Palette[:int(cdat[x])+1]
    					}
    				}
    			}
    			copy(paletted.Pix[pixOffset:], cdat)
    			pixOffset += paletted.Stride
    		case cbTCA8:
    			copy(nrgba.Pix[pixOffset:], cdat)
    			pixOffset += nrgba.Stride
    		case cbG16:
    			if d.useTransparent {
    				ty := uint16(d.transparent[0])<<8 | uint16(d.transparent[1])
    				for x := 0; x < width; x++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. src/go/printer/testdata/expressions.input

    	_ = a+ +b
    	_ = a- -b
    	_ = x[a*-b]
    	_ = x[a+ +b]
    	_ = x^y^z
    	_ = b[a>>24] ^ b[(a>>16)&0xFF] ^ b[(a>>8)&0xFF] ^ b[a&0xFF]
    	_ = len(longVariableName)*2
    
    	_ = token(matchType + xlength<<lengthShift + xoffset)
    }
    
    
    func f(x int, args ...int) {
    	f(0, args...)
    	f(1, args)
    	f(2, args[0])
    
    	// make sure syntactically legal code remains syntactically legal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/liveness/plive.go

    		// in which case the offset is relative to argp.
    		// Locals have a negative Xoffset, in which case the offset is relative to varp.
    		// We already limit the frame size, so the offset and the object size
    		// should not be too big.
    		frameOffset := v.FrameOffset()
    		if frameOffset != int64(int32(frameOffset)) {
    			base.Fatalf("frame offset too big: %v %d", v, frameOffset)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  6. src/go/printer/testdata/expressions.golden

    	_ = a + +b
    	_ = a - -b
    	_ = x[a*-b]
    	_ = x[a + +b]
    	_ = x ^ y ^ z
    	_ = b[a>>24] ^ b[(a>>16)&0xFF] ^ b[(a>>8)&0xFF] ^ b[a&0xFF]
    	_ = len(longVariableName) * 2
    
    	_ = token(matchType + xlength<<lengthShift + xoffset)
    }
    
    func f(x int, args ...int) {
    	f(0, args...)
    	f(1, args)
    	f(2, args[0])
    
    	// make sure syntactically legal code remains syntactically legal
    	f(3, 42 ...)	// a blank must remain between 42 and ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.4K bytes
    - Viewed (0)
  7. src/go/printer/testdata/expressions.raw

    	_ = a + +b
    	_ = a - -b
    	_ = x[a*-b]
    	_ = x[a + +b]
    	_ = x ^ y ^ z
    	_ = b[a>>24] ^ b[(a>>16)&0xFF] ^ b[(a>>8)&0xFF] ^ b[a&0xFF]
    	_ = len(longVariableName) * 2
    
    	_ = token(matchType + xlength<<lengthShift + xoffset)
    }
    
    func f(x int, args ...int) {
    	f(0, args...)
    	f(1, args)
    	f(2, args[0])
    
    	// make sure syntactically legal code remains syntactically legal
    	f(3, 42 ...)	// a blank must remain between 42 and ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.4K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/xcoff.go

    	Lstlen   uint32 // Length of string table
    	Limpoff  uint64 // Offset to start of import file IDs
    	Lstoff   uint64 // Offset to start of string table
    	Lsymoff  uint64 // Offset to start of symbol table
    	Lrldoff  uint64 // Offset to start of relocation entries
    }
    
    // Loader Symbol
    type XcoffLdSym64 struct {
    	Lvalue  uint64 // Address field
    	Loffset uint32 // Byte offset into string table of symbol name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/expr.go

    			r = l.Value
    			r = Expr(r)
    			l.Value = AssignConv(r, t.Elem(), "map value")
    		}
    
    		n.SetOp(ir.OMAPLIT)
    
    	case types.TSTRUCT:
    		// Need valid field offsets for Xoffset below.
    		types.CalcSize(t)
    
    		errored := false
    		if len(n.List) != 0 && nokeys(n.List) {
    			// simple list of variables
    			ls := n.List
    			for i, n1 := range ls {
    				ir.SetPos(n1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. src/image/ycbcr.go

    		return color.YCbCr{}
    	}
    	yi := p.YOffset(x, y)
    	ci := p.COffset(x, y)
    	return color.YCbCr{
    		p.Y[yi],
    		p.Cb[ci],
    		p.Cr[ci],
    	}
    }
    
    // YOffset returns the index of the first element of Y that corresponds to
    // the pixel at (x, y).
    func (p *YCbCr) YOffset(x, y int) int {
    	return (y-p.Rect.Min.Y)*p.YStride + (x - p.Rect.Min.X)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top