Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 240 for coffsets (0.13 sec)

  1. src/go/types/sizes.go

    	var offsets []int64
    	if T.NumFields() > 0 {
    		// compute offsets on demand
    		f := stdSizes.Offsetsof
    		if conf.Sizes != nil {
    			f = conf.Sizes.Offsetsof
    		}
    		offsets = f(T.fields)
    		// sanity checks
    		if len(offsets) != T.NumFields() {
    			panic("implementation of offsetsof returned the wrong number of offsets")
    		}
    	}
    	return offsets
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/go/types/gcsizes.go

    	return a
    }
    
    func (s *gcSizes) Offsetsof(fields []*Var) []int64 {
    	offsets := make([]int64, len(fields))
    	var offs int64
    	for i, f := range fields {
    		if offs < 0 {
    			// all remaining offsets are too large
    			offsets[i] = -1
    			continue
    		}
    		// offs >= 0
    		a := s.Alignof(f.typ)
    		offs = align(offs, a) // possibly < 0 if align overflows
    		offsets[i] = offs
    		if d := s.Sizeof(f.typ); d >= 0 && offs >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. test/fixedbugs/issue21655.go

    // code, using an offset of -1<<31 instead of 1<<31.
    // (This is due to the assembler accepting offsets
    // like 0x80000000 and silently using them as
    // signed 32 bit offsets.)
    // f4 was ok, but testing it can't hurt.
    
    func f7(ss []*string, i int) string {
    	const offset = 3 << 29 // 3<<29 * 4 = 3<<31 = 1<<31 mod 1<<32.
    	if i > offset {
    		return *ss[i-offset]
    	}
    	return ""
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 03:53:18 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  4. src/index/suffixarray/example_test.go

    package suffixarray_test
    
    import (
    	"fmt"
    	"index/suffixarray"
    )
    
    func ExampleIndex_Lookup() {
    	index := suffixarray.New([]byte("banana"))
    	offsets := index.Lookup([]byte("ana"), -1)
    	for _, off := range offsets {
    		fmt.Println(off)
    	}
    
    	// Unordered output:
    	// 1
    	// 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Aug 21 01:10:22 UTC 2016
    - 433 bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/popper.min.js.map

    configuration and options\n * @argument {Number|String} options.offset=0\n * The offset value as described in the modifier description\n * @returns {Object} The data object, properly modified\n */\nexport default function offset(data, { offset }) {\n  const { placement, offsets: { popper, reference } } = data;\n  const basePlacement = placement.split('-')[0];\n\n  let offsets;\n  if (isNumeric(+offset)) {\n    offsets = [+offset, 0];\n  } else {\n    offsets = parseOffset(offset, popper, reference, basePlacement);\n...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 121K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/gcsizes.go

    	return a
    }
    
    func (s *gcSizes) Offsetsof(fields []*Var) []int64 {
    	offsets := make([]int64, len(fields))
    	var offs int64
    	for i, f := range fields {
    		if offs < 0 {
    			// all remaining offsets are too large
    			offsets[i] = -1
    			continue
    		}
    		// offs >= 0
    		a := s.Alignof(f.typ)
    		offs = align(offs, a) // possibly < 0 if align overflows
    		offsets[i] = offs
    		if d := s.Sizeof(f.typ); d >= 0 && offs >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/bootstrap.min.js

    .hasClass(Wt)&&(e=$t),e},t._detectNavbar=function(){return 0<g(this._element).closest(".navbar").length},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,{},e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._c...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 58.6K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/objfile.go

    	h.Offsets[goobj.BlkNonpkgdef] = w.Offset()
    	for _, s := range ctxt.nonpkgdefs {
    		w.Sym(s)
    	}
    
    	// Non-pkg symbol references
    	h.Offsets[goobj.BlkNonpkgref] = w.Offset()
    	for _, s := range ctxt.nonpkgrefs {
    		w.Sym(s)
    	}
    
    	// Referenced package symbol flags
    	h.Offsets[goobj.BlkRefFlags] = w.Offset()
    	w.refFlags()
    
    	// Hashes
    	h.Offsets[goobj.BlkHash64] = w.Offset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. src/main/webapp/js/bootstrap.min.js

    .hasClass(Wt)&&(e=$t),e},t._detectNavbar=function(){return 0<g(this._element).closest(".navbar").length},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,{},e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._c...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 58.6K bytes
    - Viewed (0)
  10. src/internal/syscall/unix/siginfo_linux_test.go

    		// These two fields are swapped on MIPS platforms.
    		ofErrno, ofCode = ofCode, ofErrno
    	}
    	ofPid := 12
    	if host64bit {
    		ofPid = 16
    	}
    	ofUid := ofPid + 4
    	ofStatus := ofPid + 8
    
    	offsets := []struct {
    		name string
    		got  uintptr
    		want int
    	}{
    		{"Signo", unsafe.Offsetof(si.Signo), ofSigno},
    		{"Errno", unsafe.Offsetof(si.Errno), ofErrno},
    		{"Code", unsafe.Offsetof(si.Code), ofCode},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top