File: funckind_string.go

package info (click to toggle)
golang-github-apache-arrow-go 18.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 32,200 kB
  • sloc: asm: 477,547; ansic: 5,369; cpp: 759; sh: 585; makefile: 319; python: 190; sed: 5
file content (29 lines) | stat: -rw-r--r-- 764 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Code generated by "stringer -type=FuncKind -linecomment"; DO NOT EDIT.

//go:build go1.18

package compute

import "strconv"

func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[FuncScalar-0]
	_ = x[FuncVector-1]
	_ = x[FuncScalarAgg-2]
	_ = x[FuncHashAgg-3]
	_ = x[FuncMeta-4]
}

const _FuncKind_name = "ScalarVectorScalarAggregateHashAggregateMeta"

var _FuncKind_index = [...]uint8{0, 6, 12, 27, 40, 44}

func (i FuncKind) String() string {
	if i < 0 || i >= FuncKind(len(_FuncKind_index)-1) {
		return "FuncKind(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _FuncKind_name[_FuncKind_index[i]:_FuncKind_index[i+1]]
}