Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 257 for elim (0.08 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

      // setHrefParam updates the specified parameter in the  href of an <a>
      // element to make it operate on the specified src.
      function setHrefParam(id, param, src) {
        const elem = document.getElementById(id);
        if (!elem) return;
    
        let url = new URL(elem.href);
        url.hash = '';
    
        // Copy params from this page's URL.
        const params = url.searchParams;
        for (const p of new URLSearchParams(window.location.search)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go

    	for i, item := range allItems {
    		elem, ok := item.(*storeElement)
    		if !ok {
    			return nil, fmt.Errorf("not a storeElement: %v", elem)
    		}
    		objLabels, objFields, err := getAttrsFunc(elem.Object)
    		if err != nil {
    			return nil, err
    		}
    		buffer.buffer[i] = &watchCacheEvent{
    			Type:            watch.Added,
    			Object:          elem.Object,
    			ObjLabels:       objLabels,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    	for chans := identical; chans < len(terms); chans++ {
    		curr, ok := terms[chans].Type().Underlying().(*types.Chan)
    		if !ok {
    			return nil
    		}
    		if !types.Identical(ch.Elem(), curr.Elem()) {
    			return nil // channel elements are not identical.
    		}
    		if ch.Dir() == types.SendRecv {
    			// ch is bidirectional. We can safely always use curr's direction.
    			ch = curr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    		default:
    			return ast.NewIdent(t.Name())
    		}
    	case *types.Pointer:
    		x := TypeExpr(f, pkg, t.Elem())
    		if x == nil {
    			return nil
    		}
    		return &ast.UnaryExpr{
    			Op: token.MUL,
    			X:  x,
    		}
    	case *types.Array:
    		elt := TypeExpr(f, pkg, t.Elem())
    		if elt == nil {
    			return nil
    		}
    		return &ast.ArrayType{
    			Len: &ast.BasicLit{
    				Kind:  token.INT,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/internal/abi/type.go

    		}
    		return &(*u)(unsafe.Pointer(t)).u
    	}
    }
    
    // Elem returns the element type for t if t is an array, channel, map, pointer, or slice, otherwise nil.
    func (t *Type) Elem() *Type {
    	switch t.Kind() {
    	case Array:
    		tt := (*ArrayType)(unsafe.Pointer(t))
    		return tt.Elem
    	case Chan:
    		tt := (*ChanType)(unsafe.Pointer(t))
    		return tt.Elem
    	case Map:
    		tt := (*MapType)(unsafe.Pointer(t))
    		return tt.Elem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. src/net/url/url.go

    func (u *URL) JoinPath(elem ...string) *URL {
    	elem = append([]string{u.EscapedPath()}, elem...)
    	var p string
    	if !strings.HasPrefix(elem[0], "/") {
    		// Return a relative path if u is relative,
    		// but ensure that it contains no ../ elements.
    		elem[0] = "/" + elem[0]
    		p = path.Join(elem...)[1:]
    	} else {
    		p = path.Join(elem...)
    	}
    	// path.Join will remove any trailing slashes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  7. pkg/config/schema/codegen/templates/collections.go.tmpl

    			{{- if ne .Resource.StatusProto "" }}StatusProto: "{{ .Resource.StatusProto }}",{{end}}
    			ReflectType: reflect.TypeOf(&{{.ClientImport}}.{{.SpecType}}{}).Elem(),
    			{{- if ne .StatusType "" }}StatusType: reflect.TypeOf(&{{.StatusImport}}.{{.StatusType}}{}).Elem(), {{end}}
    			ProtoPackage: "{{ .Resource.ProtoPackage }}",
    			{{- if ne "" .Resource.StatusProtoPackage}}StatusPackage: "{{ .Resource.StatusProtoPackage }}", {{end}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/positions.go

    		case *ListExpr:
    			if l := lastExpr(n.ElemList); l != nil {
    				m = l
    				continue
    			}
    			return n.Pos()
    
    		// types
    		case *ArrayType:
    			m = n.Elem
    		case *SliceType:
    			m = n.Elem
    		case *DotsType:
    			m = n.Elem
    		case *StructType:
    			if l := lastField(n.FieldList); l != nil {
    				m = l
    				continue
    			}
    			return n.Pos()
    			// TODO(gri) need to take TagList into account
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/assign.go

    		return mkcall1(chanfn("chanrecv1", 2, r.Type()), nil, init, r, n1)
    
    	case ir.OAPPEND:
    		// x = append(...)
    		call := as.Y.(*ir.CallExpr)
    		if call.Type().Elem().NotInHeap() {
    			base.Errorf("%v can't be allocated in Go; it is incomplete (or unallocatable)", call.Type().Elem())
    		}
    		var r ir.Node
    		switch {
    		case isAppendOfMake(call):
    			// x = append(y, make([]T, y)...)
    			r = extendSlice(call, init)
    		case call.IsDDD:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go

    	w := waiter{n: n, ready: ready}
    	elem := s.waiters.PushBack(w)
    	s.mu.Unlock()
    
    	select {
    	case <-done:
    		s.mu.Lock()
    		select {
    		case <-ready:
    			// Acquired the semaphore after we were canceled.
    			// Pretend we didn't and put the tokens back.
    			s.cur -= n
    			s.notifyWaiters()
    		default:
    			isFront := s.waiters.Front() == elem
    			s.waiters.Remove(elem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top