1
// +build go1.20,!go1.21
4
* Copyright 2021 ByteDance Inc.
6
* Licensed under the Apache License, Version 2.0 (the "License");
7
* you may not use this file except in compliance with the License.
8
* You may obtain a copy of the License at
10
* http://www.apache.org/licenses/LICENSE-2.0
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS,
14
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
* See the License for the specific language governing permissions and
16
* limitations under the License.
24
_ `github.com/chenzhuoyu/base64x`
26
`github.com/bytedance/sonic/internal/rt`
29
//go:linkname _subr__b64encode github.com/chenzhuoyu/base64x._subr__b64encode
30
var _subr__b64encode uintptr
33
//go:linkname memmove runtime.memmove
34
//goland:noinspection GoUnusedParameter
35
func memmove(to unsafe.Pointer, from unsafe.Pointer, n uintptr)
37
//go:linkname growslice reflect.growslice
38
//goland:noinspection GoUnusedParameter
39
func growslice(et *rt.GoType, old rt.GoSlice, cap int) rt.GoSlice
41
//go:linkname assertI2I runtime.assertI2I2
42
//goland:noinspection GoUnusedParameter
43
func assertI2I(inter *rt.GoType, i rt.GoIface) rt.GoIface
45
//go:linkname mapiternext runtime.mapiternext
46
//goland:noinspection GoUnusedParameter
47
func mapiternext(it *rt.GoMapIterator)
49
//go:linkname mapiterinit runtime.mapiterinit
50
//goland:noinspection GoUnusedParameter
51
func mapiterinit(t *rt.GoMapType, m *rt.GoMap, it *rt.GoMapIterator)
53
//go:linkname isValidNumber encoding/json.isValidNumber
54
//goland:noinspection GoUnusedParameter
55
func isValidNumber(s string) bool
58
//go:linkname memclrNoHeapPointers runtime.memclrNoHeapPointers
59
//goland:noinspection GoUnusedParameter
60
func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
62
//go:linkname _runtime_writeBarrier runtime.writeBarrier
63
var _runtime_writeBarrier uintptr
65
//go:linkname gcWriteBarrierAX runtime.gcWriteBarrier
66
func gcWriteBarrierAX()