- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 118 for printArgs (0.2 sec)
-
src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go
// // Example: // func printArgs(args ...int) { // for _, a := range args { // println(a) // } // } // // func f() { // a := []int{1,2,3} // printArgs(0, a...) // } MisplacedDotDotDot // InvalidDotDotDotOperand occurs when a "..." operator is applied to a // single-valued operand. // // Example: // func printArgs(args ...int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 34K bytes - Viewed (0) -
src/internal/types/errors/codes.go
// a non-variadic function. // // Example: // func printArgs(s []string) { // for _, a := range s { // println(a) // } // } // // func f() { // s := []string{"a", "b", "c"} // printArgs(s...) // } NonVariadicDotDotDot // MisplacedDotDotDot occurs when a "..." is used somewhere other than the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:50:48 UTC 2024 - 33.7K bytes - Viewed (0) -
src/runtime/traceback.go
// Add cgo frames (if we're done skipping over the requested number of // Go frames). if skip == 0 { n += copy(pcBuf[n:], cgoBuf[:cgoN]) } } return n } // printArgs prints function arguments in traceback. func printArgs(f funcInfo, argp unsafe.Pointer, pc uintptr) { p := (*[abi.TraceArgsMaxLen]uint8)(funcdata(f, abi.FUNCDATA_ArgInfo)) if p == nil { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go
return } ps.inner = ps.inner[:len(ps.inner)-1] ps.writeByte(' ') } ft.printArgs(ps) } func (ft *FunctionType) printInner(ps *printState) { ft.printArgs(ps) } // printArgs prints the arguments of a function type. It looks at the // inner types for spacing. func (ft *FunctionType) printArgs(ps *printState) { paren := false space := false for i := len(ps.inner) - 1; i >= 0; i-- {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 105.8K bytes - Viewed (0) -
pkg/printers/internalversion/printers.go
func printPodList(podList *api.PodList, options printers.GenerateOptions) ([]metav1.TableRow, error) { rows := make([]metav1.TableRow, 0, len(podList.Items)) for i := range podList.Items { r, err := printPod(&podList.Items[i], options) if err != nil { return nil, err } rows = append(rows, r...) } return rows, nil } func printPod(pod *api.Pod, options printers.GenerateOptions) ([]metav1.TableRow, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-printers.h
Louis Jacomet <******@****.***> 1711728981 +0100
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 30.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-printers.h
Laura Kassovic <******@****.***> 1701107622 -0800
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 30.9K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/json_yaml_flags.go
// Supported Format types can be found in pkg/printers/printers.go func (f *JSONYamlPrintFlags) ToPrinter(outputFormat string) (printers.ResourcePrinter, error) { var printer printers.ResourcePrinter outputFormat = strings.ToLower(outputFormat) switch outputFormat { case "json": printer = &printers.JSONPrinter{} case "yaml": printer = &printers.YAMLPrinter{} default:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 04 13:00:03 UTC 2022 - 2.5K bytes - Viewed (0) -
pkg/registry/apps/controllerrevision/storage/storage.go
"k8s.io/apiserver/pkg/registry/generic" genericregistry "k8s.io/apiserver/pkg/registry/generic/registry" "k8s.io/kubernetes/pkg/apis/apps" "k8s.io/kubernetes/pkg/printers" printersinternal "k8s.io/kubernetes/pkg/printers/internalversion" printerstorage "k8s.io/kubernetes/pkg/printers/storage" "k8s.io/kubernetes/pkg/registry/apps/controllerrevision" ) // REST implements a RESTStorage for ControllerRevision type REST struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:13 UTC 2022 - 2K bytes - Viewed (0) -
pkg/registry/resource/resourceslice/storage/storage.go
"k8s.io/apiserver/pkg/registry/generic" genericregistry "k8s.io/apiserver/pkg/registry/generic/registry" "k8s.io/kubernetes/pkg/apis/resource" "k8s.io/kubernetes/pkg/printers" printersinternal "k8s.io/kubernetes/pkg/printers/internalversion" printerstorage "k8s.io/kubernetes/pkg/printers/storage" "k8s.io/kubernetes/pkg/registry/resource/resourceslice" ) // REST implements a RESTStorage for ResourceSlice. type REST struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 2.2K bytes - Viewed (0)