Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for elem3 (0.07 sec)

  1. 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)
  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/cmd/compile/internal/types/type.go

    		*types = (*types)[1:]
    
    	case TPTR:
    		elem := SubstAny(t.Elem(), types)
    		if elem != t.Elem() {
    			t = t.copy()
    			t.extra = Ptr{Elem: elem}
    		}
    
    	case TARRAY:
    		elem := SubstAny(t.Elem(), types)
    		if elem != t.Elem() {
    			t = t.copy()
    			t.extra.(*Array).Elem = elem
    		}
    
    	case TSLICE:
    		elem := SubstAny(t.Elem(), types)
    		if elem != t.Elem() {
    			t = t.copy()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K 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. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	var selectedObjects []runtime.Object
    	for _, obj := range objs {
    		elem, ok := obj.(*storeElement)
    		if !ok {
    			return fmt.Errorf("non *storeElement returned from storage: %v", obj)
    		}
    		if filter(elem.Key, elem.Labels, elem.Fields) {
    			selectedObjects = append(selectedObjects, elem.Object)
    		}
    	}
    	if len(selectedObjects) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. 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)
  9. src/crypto/tls/common.go

    func (c *lruSessionCache) Put(sessionKey string, cs *ClientSessionState) {
    	c.Lock()
    	defer c.Unlock()
    
    	if elem, ok := c.m[sessionKey]; ok {
    		if cs == nil {
    			c.q.Remove(elem)
    			delete(c.m, sessionKey)
    		} else {
    			entry := elem.Value.(*lruSessionCacheEntry)
    			entry.state = cs
    			c.q.MoveToFront(elem)
    		}
    		return
    	}
    
    	if c.q.Len() < c.capacity {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/parser.go

    		return p.sliceType(pos)
    	}
    
    	// x [n]E or x[n,], x[n1, n2], ...
    	n, comma := p.typeList(false)
    	p.want(_Rbrack)
    	if !comma {
    		if elem := p.typeOrNil(); elem != nil {
    			// x [n]E
    			t := new(ArrayType)
    			t.pos = pos
    			t.Len = n
    			t.Elem = elem
    			return t
    		}
    	}
    
    	// x[n,], x[n1, n2], ...
    	t := new(IndexExpr)
    	t.pos = pos
    	// t.X will be filled in by caller
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top