native

package
v1.12.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const MaxFrameSize uintptr = 400

Variables

View Source
var (
	S_f64toa uintptr
	S_f32toa uintptr
	S_i64toa uintptr
	S_u64toa uintptr
	S_lspace uintptr
)
View Source
var (
	S_quote   uintptr
	S_unquote uintptr
)
View Source
var (
	S_value     uintptr
	S_vstring   uintptr
	S_vnumber   uintptr
	S_vsigned   uintptr
	S_vunsigned uintptr
)
View Source
var (
	S_skip_one      uintptr
	S_skip_one_fast uintptr
	S_get_by_path   uintptr
	S_skip_array    uintptr
	S_skip_object   uintptr
	S_skip_number   uintptr
)

Functions

func F32toa added in v1.11.3

func F32toa(out *byte, val float32) (ret int)

func F64toa added in v1.6.1

func F64toa(out *byte, val float64) (ret int)

func GetByPath added in v1.7.0

func GetByPath(s *string, p *int, path *[]interface{}, m *types.StateMachine) int

func HTMLEscape added in v1.0.2

func HTMLEscape(s unsafe.Pointer, nb int, dp unsafe.Pointer, dn *int) int

func I64toa

func I64toa(out *byte, val int64) (ret int)

func LookupSmallKey added in v1.12.0

func LookupSmallKey(key *string, table *[]byte, lowerOff int) (index int)

func ParseWithPadding added in v1.12.0

func ParseWithPadding(parser unsafe.Pointer) (ret int)

func Quote

func Quote(s unsafe.Pointer, nb int, dp unsafe.Pointer, dn *int, flags uint64) int

func SkipOne

func SkipOne(s *string, p *int, m *types.StateMachine, flags uint64) int

func SkipOneFast added in v1.7.0

func SkipOneFast(s *string, p *int) int

func U64toa

func U64toa(out *byte, val uint64) (ret int)

func Unquote

func Unquote(s unsafe.Pointer, nb int, dp unsafe.Pointer, ep *int, flags uint64) int

func ValidateOne added in v1.1.0

func ValidateOne(s *string, p *int, m *types.StateMachine, flags uint64) int

func ValidateUTF8 added in v1.8.0

func ValidateUTF8(s *string, p *int, m *types.StateMachine) (ret int)

func ValidateUTF8Fast added in v1.8.0

func ValidateUTF8Fast(s *string) (ret int)

func Value

func Value(s unsafe.Pointer, n int, p int, v *types.JsonState, flags uint64) int

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL