summaryrefslogtreecommitdiff
path: root/vendor/github.com/cilium/ebpf/asm/load_store_string.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2025-02-03 10:12:35 +0000
committerLibravatar GitHub <noreply@github.com>2025-02-03 10:12:35 +0000
commitc086d4048c2a26a0bf70c1ced24c78680a786710 (patch)
treecf7606e8452e9047d7f0e0d9b6de10edf7ebdc89 /vendor/github.com/cilium/ebpf/asm/load_store_string.go
parent[chore]: Bump golang.org/x/oauth2 from 0.24.0 to 0.25.0 (#3725) (diff)
downloadgotosocial-c086d4048c2a26a0bf70c1ced24c78680a786710.tar.xz
[chore]: Bump github.com/KimMachineGun/automemlimit from 0.6.1 to 0.7.0 (#3726)
Bumps [github.com/KimMachineGun/automemlimit](https://github.com/KimMachineGun/automemlimit) from 0.6.1 to 0.7.0. - [Release notes](https://github.com/KimMachineGun/automemlimit/releases) - [Commits](https://github.com/KimMachineGun/automemlimit/compare/v0.6.1...v0.7.0) --- updated-dependencies: - dependency-name: github.com/KimMachineGun/automemlimit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/github.com/cilium/ebpf/asm/load_store_string.go')
-rw-r--r--vendor/github.com/cilium/ebpf/asm/load_store_string.go80
1 files changed, 0 insertions, 80 deletions
diff --git a/vendor/github.com/cilium/ebpf/asm/load_store_string.go b/vendor/github.com/cilium/ebpf/asm/load_store_string.go
deleted file mode 100644
index 76d29a075..000000000
--- a/vendor/github.com/cilium/ebpf/asm/load_store_string.go
+++ /dev/null
@@ -1,80 +0,0 @@
-// Code generated by "stringer -output load_store_string.go -type=Mode,Size"; DO NOT EDIT.
-
-package asm
-
-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[InvalidMode-255]
- _ = x[ImmMode-0]
- _ = x[AbsMode-32]
- _ = x[IndMode-64]
- _ = x[MemMode-96]
- _ = x[XAddMode-192]
-}
-
-const (
- _Mode_name_0 = "ImmMode"
- _Mode_name_1 = "AbsMode"
- _Mode_name_2 = "IndMode"
- _Mode_name_3 = "MemMode"
- _Mode_name_4 = "XAddMode"
- _Mode_name_5 = "InvalidMode"
-)
-
-func (i Mode) String() string {
- switch {
- case i == 0:
- return _Mode_name_0
- case i == 32:
- return _Mode_name_1
- case i == 64:
- return _Mode_name_2
- case i == 96:
- return _Mode_name_3
- case i == 192:
- return _Mode_name_4
- case i == 255:
- return _Mode_name_5
- default:
- return "Mode(" + strconv.FormatInt(int64(i), 10) + ")"
- }
-}
-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[InvalidSize-255]
- _ = x[DWord-24]
- _ = x[Word-0]
- _ = x[Half-8]
- _ = x[Byte-16]
-}
-
-const (
- _Size_name_0 = "Word"
- _Size_name_1 = "Half"
- _Size_name_2 = "Byte"
- _Size_name_3 = "DWord"
- _Size_name_4 = "InvalidSize"
-)
-
-func (i Size) String() string {
- switch {
- case i == 0:
- return _Size_name_0
- case i == 8:
- return _Size_name_1
- case i == 16:
- return _Size_name_2
- case i == 24:
- return _Size_name_3
- case i == 255:
- return _Size_name_4
- default:
- return "Size(" + strconv.FormatInt(int64(i), 10) + ")"
- }
-}