- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 168 for ptrBase (0.28 sec)
-
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) -
LICENSES/vendor/github.com/stoewer/go-strcase/LICENSE
= vendor/github.com/stoewer/go-strcase licensed under: = The MIT License (MIT) Copyright (c) 2017, Adrian Stoewer <******@****.***> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 18:15:40 UTC 2021 - 1.2K bytes - Viewed (0) -
src/syscall/syscall_ptrace_test.go
t.Skipf("skipped because sh is not available") } attr := &os.ProcAttr{ Sys: &syscall.SysProcAttr{ Ptrace: true, }, } proc, err := os.StartProcess(bin, []string{bin}, attr) if err == nil { proc.Kill() } if err != nil && !os.IsPermission(err) { t.Fatalf("StartProcess with ptrace enabled failed: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 768 bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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)