Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 319 for elem2 (0.04 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/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

        paramSetter(params);
    
        elem.href = url.toString();
      }
    
      function handleTopClick(e) {
        // Walk back until we find TR and then get the Name column (index 5)
        let elem = e.target;
        while (elem != null && elem.nodeName != 'TR') {
          elem = elem.parentElement;
        }
        if (elem == null || elem.children.length < 6) return;
    
        e.preventDefault();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. src/go/types/array.go

    package types
    
    // An Array represents an array type.
    type Array struct {
    	len  int64
    	elem Type
    }
    
    // NewArray returns a new array type for the given element type and length.
    // A negative length indicates an unknown length.
    func NewArray(elem Type, len int64) *Array { return &Array{len: len, elem: elem} }
    
    // Len returns the length of array a.
    // A negative result indicates an unknown length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 927 bytes
    - Viewed (0)
  4. src/strings/strings.go

    func Join(elems []string, sep string) string {
    	switch len(elems) {
    	case 0:
    		return ""
    	case 1:
    		return elems[0]
    	}
    
    	var n int
    	if len(sep) > 0 {
    		if len(sep) >= maxInt/(len(elems)-1) {
    			panic("strings: Join output length overflow")
    		}
    		n += len(sep) * (len(elems) - 1)
    	}
    	for _, elem := range elems {
    		if len(elem) > maxInt-n {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  5. src/runtime/select.go

    		} else if cas.elem != nil {
    			asanwrite(cas.elem, c.elemtype.Size_)
    		}
    	}
    
    	selunlock(scases, lockorder)
    	goto retc
    
    bufrecv:
    	// can receive from buffer
    	if raceenabled {
    		if cas.elem != nil {
    			raceWriteObjectPC(c.elemtype, cas.elem, casePC(casi), chanrecvpc)
    		}
    		racenotify(c, c.recvx, nil)
    	}
    	if msanenabled && cas.elem != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/scope.go

    func (s *Scope) InsertLazy(name string, resolve func() Object) bool {
    	if s.elems[name] != nil {
    		return false
    	}
    	s.insert(name, &lazyObject{parent: s, resolve: resolve})
    	return true
    }
    
    func (s *Scope) insert(name string, obj Object) {
    	if s.elems == nil {
    		s.elems = make(map[string]Object)
    	}
    	s.elems[name] = obj
    }
    
    // Squash merges s with its parent scope p by adding all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/go/types/scope.go

    func (s *Scope) _InsertLazy(name string, resolve func() Object) bool {
    	if s.elems[name] != nil {
    		return false
    	}
    	s.insert(name, &lazyObject{parent: s, resolve: resolve})
    	return true
    }
    
    func (s *Scope) insert(name string, obj Object) {
    	if s.elems == nil {
    		s.elems = make(map[string]Object)
    	}
    	s.elems[name] = obj
    }
    
    // Squash merges s with its parent scope p by adding all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. 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)
  9. src/go/types/map.go

    // A Map represents a map type.
    type Map struct {
    	key, elem Type
    }
    
    // NewMap returns a new map for the given key and element types.
    func NewMap(key, elem Type) *Map {
    	return &Map{key: key, elem: elem}
    }
    
    // Key returns the key type of map m.
    func (m *Map) Key() Type { return m.key }
    
    // Elem returns the element type of map m.
    func (m *Map) Elem() Type { return m.elem }
    
    func (t *Map) Underlying() Type { return t }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 781 bytes
    - Viewed (0)
  10. pkg/config/schema/collections/collections.gen.go

    			"v1",
    		},
    		Proto: "istio.security.v1beta1.AuthorizationPolicy", StatusProto: "istio.meta.v1alpha1.IstioStatus",
    		ReflectType: reflect.TypeOf(&istioioapisecurityv1beta1.AuthorizationPolicy{}).Elem(), StatusType: reflect.TypeOf(&istioioapimetav1alpha1.IstioStatus{}).Elem(),
    		ProtoPackage: "istio.io/api/security/v1beta1", StatusPackage: "istio.io/api/meta/v1alpha1",
    		ClusterScoped: false,
    		Synthetic:     false,
    		Builtin:       false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 31.4K bytes
    - Viewed (0)
Back to top