Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,493 for boffset (0.61 sec)

  1. src/time/time_test.go

    		t.Errorf("sec = %d, nsec = %d, want sec = %d, nsec = 0", t2.Second(), t2.Nanosecond(), sec)
    	}
    }
    
    func equalTimeAndZone(a, b Time) bool {
    	aname, aoffset := a.Zone()
    	bname, boffset := b.Zone()
    	return a.Equal(b) && aoffset == boffset && aname == bname
    }
    
    var gobTests = []Time{
    	Date(0, 1, 2, 3, 4, 5, 6, UTC),
    	Date(7, 8, 9, 10, 11, 12, 13, FixedZone("", 0)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/internal/obj/arm64/obj7.go

    				}
    			} else {
    				aoffset := c.autosize
    				// LDP -8(RSP), (R29, R30)
    				p.As = ALDP
    				p.From.Type = obj.TYPE_MEM
    				p.From.Offset = -8
    				p.From.Reg = REGSP
    				p.To.Type = obj.TYPE_REGREG
    				p.To.Reg = REGFP
    				p.To.Offset = REGLINK
    
    				// ADD $aoffset, RSP, RSP
    				q = newprog()
    				q.As = AADD
    				q.From.Type = obj.TYPE_CONST
    				q.From.Offset = int64(aoffset)
    				q.To.Type = obj.TYPE_REG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  6. src/net/dnsconfig.go

    }
    
    // serverOffset returns an offset that can be used to determine
    // indices of servers in c.servers when making queries.
    // When the rotate option is enabled, this offset increases.
    // Otherwise it is always 0.
    func (c *dnsConfig) serverOffset() uint32 {
    	if c.rotate {
    		return atomic.AddUint32(&c.soffset, 1) - 1 // return 0 to start
    	}
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. src/internal/xcoff/xcoff.go

    	Lnimpid  uint32 // Number of import file IDs
    	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
    }
    
    const (
    	LDHDRSZ_32 = 32
    	LDHDRSZ_64 = 56
    )
    
    // Loader Symbol.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/mips/obj0.go

    			return true
    		}
    	}
    
    	return false
    }
    
    func offoverlap(sa, sb *Sch) bool {
    	if sa.soffset < sb.soffset {
    		if sa.soffset+int32(sa.size) > sb.soffset {
    			return true
    		}
    		return false
    	}
    	if sb.soffset+int32(sb.size) > sa.soffset {
    		return true
    	}
    	return false
    }
    
    /*
     * test 2 adjacent instructions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 30.6K bytes
    - Viewed (0)
  9. src/compress/flate/inflate.go

    //
    // Deprecated: No longer returned.
    type ReadError struct {
    	Offset int64 // byte offset where error occurred
    	Err    error // error returned by underlying Read
    }
    
    func (e *ReadError) Error() string {
    	return "flate: read error at offset " + strconv.FormatInt(e.Offset, 10) + ": " + e.Err.Error()
    }
    
    // A WriteError reports an error encountered while writing output.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  10. 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)
Back to top