Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for ptrBase (0.23 sec)

  1. src/cmd/compile/internal/types2/struct.go

    }
    
    func embeddedFieldIdent(e syntax.Expr) *syntax.Name {
    	switch e := e.(type) {
    	case *syntax.Name:
    		return e
    	case *syntax.Operation:
    		if base := ptrBase(e); base != nil {
    			// *T is valid, but **T is not
    			if op, _ := base.(*syntax.Operation); op == nil || ptrBase(op) == nil {
    				return embeddedFieldIdent(e.X)
    			}
    		}
    	case *syntax.SelectorExpr:
    		return e.Sel
    	case *syntax.IndexExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. pkg/config/schema/codegen/collections.go

    	e := len(p) - 1
    	if strings.Contains(protoPackage, "sigs.k8s.io/gateway-api") {
    		// Gateway has one level of nesting with custom name
    		return "Gateway" + strcase.UpperCamelCase(p[e])
    	}
    	// rest have two levels of nesting
    	return strcase.UpperCamelCase(p[e-1]) + strcase.UpperCamelCase(p[e])
    }
    
    type packageImport struct {
    	PackageName string
    	ImportName  string
    }
    
    func toImport(p string) string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 25 07:19:43 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. pkg/config/schema/ast/ast.go

    	"fmt"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/config/validation"
    	// Force-import a function.
    	_ "istio.io/istio/pkg/config/validation/envoyfilter"
    	"istio.io/istio/pkg/util/sets"
    	"istio.io/istio/pkg/util/strcase"
    )
    
    // Metadata is the top-level container.
    type Metadata struct {
    	Resources []*Resource `json:"resources"`
    }
    
    var _ json.Unmarshaler = &Metadata{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/decompose.go

    				toDelete = append(toDelete, namedVal{i, j})
    			}
    		case t.IsString():
    			ptrName, lenName := f.SplitString(name)
    			newNames = maybeAppend2(f, newNames, ptrName, lenName)
    			for j, v := range f.NamedValues[*name] {
    				if v.Op != OpStringMake {
    					continue
    				}
    				f.NamedValues[*ptrName] = append(f.NamedValues[*ptrName], v.Args[0])
    				f.NamedValues[*lenName] = append(f.NamedValues[*lenName], v.Args[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  5. src/runtime/cgocheck.go

    	skipMask := off / goarch.PtrSize / 8
    	skipBytes := skipMask * goarch.PtrSize * 8
    	ptrmask := addb(gcbits, skipMask)
    	src = add(src, skipBytes)
    	off -= skipBytes
    	size += off
    	var bits uint32
    	for i := uintptr(0); i < size; i += goarch.PtrSize {
    		if i&(goarch.PtrSize*8-1) == 0 {
    			bits = uint32(*ptrmask)
    			ptrmask = addb(ptrmask, 1)
    		} else {
    			bits >>= 1
    		}
    		if off > 0 {
    			off -= goarch.PtrSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/syscall/mkpost.go

    	goarch := os.Getenv("GOARCH")
    	goos := os.Getenv("GOOS")
    	switch {
    	case goarch == "s390x" && goos == "linux":
    		// Export the types of PtraceRegs fields.
    		re := regexp.MustCompile("ptrace(Psw|Fpregs|Per)")
    		s = re.ReplaceAllString(s, "Ptrace$1")
    
    		// Replace padding fields inserted by cgo with blank identifiers.
    		re = regexp.MustCompile("Pad_cgo[A-Za-z0-9_]*")
    		s = re.ReplaceAllString(s, "_")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 25 02:59:05 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ptrace_ios.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ios
    
    package unix
    
    func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
    	return ENOTSUP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 284 bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ptrace_darwin.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin && !ios
    
    package unix
    
    func ptrace(request int, pid int, addr uintptr, data uintptr) error {
    	return ptrace1(request, pid, addr, data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 315 bytes
    - Viewed (0)
  9. src/runtime/mgcmark.go

    // pointer-like value in the block as a pointer.
    //
    // If ptrmask != nil, only words that are marked in ptrmask are
    // considered as potential pointers.
    //
    // If state != nil, it's assumed that [b, b+n) is a block in the stack
    // and may contain pointers to stack objects.
    func scanConservative(b, n uintptr, ptrmask *uint8, gcw *gcWork, state *stackScanState) {
    	if debugScanConservative {
    		printlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  10. src/net/mail/message.go

    		}
    	}
    
    	return localPart + "@" + domain, nil
    }
    
    // consumePhrase parses the RFC 5322 phrase at the start of p.
    func (p *addrParser) consumePhrase() (phrase string, err error) {
    	debug.Printf("consumePhrase: [%s]", p.s)
    	// phrase = 1*word
    	var words []string
    	var isPrevEncoded bool
    	for {
    		// obs-phrase allows CFWS after one word
    		if len(words) > 0 {
    			if !p.skipCFWS() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top