Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for nelem (0.17 sec)

  1. src/runtime/mheap.go

    	// then object n is free;
    	// otherwise, object n is allocated. Bits starting at nelem are
    	// undefined and should never be referenced.
    	//
    	// Object n starts at address n*elemsize + (start << pageShift).
    	freeindex uint16
    	// TODO: Look up nelems from sizeclass and remove this field if it
    	// helps performance.
    	nelems uint16 // number of object in the span.
    	// freeIndexForScan is like freeindex, except that freeindex is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  2. src/runtime/mbitmap.go

    		}
    		return tp
    	}
    
    	// Move up elem and addr.
    	// Offsets within an element are always at a ptrBits*goarch.PtrSize boundary.
    	if n >= tp.typ.Size_ {
    		// elem needs to be moved to the element containing
    		// tp.addr + n.
    		oldelem := tp.elem
    		tp.elem += (tp.addr - tp.elem + n) / tp.typ.Size_ * tp.typ.Size_
    		tp.addr = tp.elem + alignDown(n-(tp.elem-oldelem), ptrBits*goarch.PtrSize)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  3. src/runtime/map.go

    	p := mapassign(t, h, key)
    	typedmemmove(t.Elem, p, elem)
    }
    
    //go:linkname reflect_mapassign_faststr reflect.mapassign_faststr0
    func reflect_mapassign_faststr(t *maptype, h *hmap, key string, elem unsafe.Pointer) {
    	p := mapassign_faststr(t, h, key)
    	typedmemmove(t.Elem, p, elem)
    }
    
    //go:linkname reflect_mapdelete reflect.mapdelete
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  4. src/reflect/type.go

    	// The methods allowed for each kind are:
    	//
    	//	Int*, Uint*, Float*, Complex*: Bits
    	//	Array: Elem, Len
    	//	Chan: ChanDir, Elem
    	//	Func: In, NumIn, Out, NumOut, IsVariadic.
    	//	Map: Key, Elem
    	//	Pointer: Elem
    	//	Slice: Elem
    	//	Struct: Field, FieldByIndex, FieldByName, FieldByNameFunc, NumField
    
    	// Bits returns the size of the type in bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

      %const = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
      %elem = "tf._SomeOp"() : () -> tensor<3xf32>
      %grad:2 = "tf.TensorArrayGradV3"(%ta#0, %ta#1) {source = "a"} : (tensor<!tf_type.resource>, tensor<f32>) -> (tensor<!tf_type.resource>, tensor<f32>)
      %gwrite = "tf.TensorArrayWriteV3"(%grad#0, %const, %elem, %grad#1) : (tensor<!tf_type.resource>, tensor<i32>, tensor<3xf32>, tensor<f32>) -> tensor<f32>
      func.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
  6. src/net/url/url_test.go

    			base: "https://go.googlesource.com/a/b",
    			elem: []string{"/go"},
    			out:  "https://go.googlesource.com/a/b/go",
    		},
    		{
    			base: "/",
    			elem: nil,
    			out:  "/",
    		},
    		{
    			base: "a",
    			elem: nil,
    			out:  "a",
    		},
    		{
    			base: "a",
    			elem: []string{"b"},
    			out:  "a/b",
    		},
    		{
    			base: "a",
    			elem: []string{"../b"},
    			out:  "b",
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  7. pkg/apis/core/v1/defaults_test.go

    				toVisit = append(toVisit, testPath{path: visit.path + "[*]", value: item})
    			} else if !isPrimitive(visit.value.Type().Elem().Kind()) {
    				t.Logf("unhandled non-primitive map type %s: %s", visit.path, visit.value.Type().Elem())
    			}
    
    		case visit.value.Kind() == reflect.Pointer:
    			if visit.value.IsNil() {
    				if visit.value.Type().Elem().Kind() == reflect.Struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  8. src/runtime/malloc.go

    	freeIndex := s.nextFreeIndex()
    	if freeIndex == s.nelems {
    		// The span is full.
    		if s.allocCount != s.nelems {
    			println("runtime: s.allocCount=", s.allocCount, "s.nelems=", s.nelems)
    			throw("s.allocCount != s.nelems && freeIndex == s.nelems")
    		}
    		c.refill(spc)
    		shouldhelpgc = true
    		s = c.alloc[spc]
    
    		freeIndex = s.nextFreeIndex()
    	}
    
    	if freeIndex >= s.nelems {
    		throw("freeIndex is not valid")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/decode.go

    	} else {
    		return nil
    	}
    	levels = 1<<length - 1
    	s := imms & levels
    	r := immr & levels
    	esize = 1 << length
    	if esize > datasize {
    		return nil
    	}
    	welem = 1<<(s+1) - 1
    	ror := (welem >> r) | (welem << (esize - r))
    	ror &= ((1 << esize) - 1)
    	wmask = 0
    	for i = 0; i < datasize; i += esize {
    		wmask = (wmask << esize) | ror
    	}
    	return Imm64{wmask, false}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 76.9K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/jquery-3.6.3.min.js

    his.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):et.propHooks._default.set(this),this}}).init.prototype=et.prototype,(et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||!E.cssHooks[e.prop]&&null==e.elem.style[Ve(e.prop)]?e.elem[e...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 87.8K bytes
    - Viewed (0)
Back to top