ldetesting

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnonymousAreas

type AnonymousAreas struct {
	Rest []byte
	Data []byte
}

AnonymousAreas ...

func (*AnonymousAreas) Extract

func (p *AnonymousAreas) Extract(line []byte) (bool, error)

Extract ...

type BeforeLookup

type BeforeLookup struct {
	Rest string
	Data string
}

BeforeLookup ...

func (*BeforeLookup) Extract

func (p *BeforeLookup) Extract(line string) (bool, error)

Extract ...

type CheckPrefix

type CheckPrefix struct {
	Rest string
	Data string
}

CheckPrefix ...

func (*CheckPrefix) Extract

func (p *CheckPrefix) Extract(line string) (bool, error)

Extract ...

type Dec

type Dec struct {
	Rest []byte
	F1   int32
	F2   int64
	F3   struct {
		Lo uint64
		Hi uint64
	}
}

Dec ...

func (*Dec) Extract

func (p *Dec) Extract(line []byte) (bool, error)

Extract ...

type DecoderBranching

type DecoderBranching struct {
	Rest []byte
	Head struct {
		Valid bool
		Data  []byte
	}
}

DecoderBranching ...

func (*DecoderBranching) Extract

func (p *DecoderBranching) Extract(line []byte) (bool, error)

Extract ...

func (*DecoderBranching) GetHeadData

func (p *DecoderBranching) GetHeadData() (res []byte)

GetHeadData ...

type DecoderBranchingStress

type DecoderBranchingStress struct {
	Rest []byte
	Head struct {
		Valid bool
		Data  []byte
	}
}

DecoderBranchingStress ...

func (*DecoderBranchingStress) Extract

func (p *DecoderBranchingStress) Extract(line []byte) (bool, error)

Extract ...

func (*DecoderBranchingStress) GetHeadData

func (p *DecoderBranchingStress) GetHeadData() (res []byte)

GetHeadData ...

type DecoderOptionals

type DecoderOptionals struct {
	Rest []byte
	Int8 int8
	Head struct {
		Valid bool
		Data  []byte
	}
}

DecoderOptionals ...

func (*DecoderOptionals) Extract

func (p *DecoderOptionals) Extract(line []byte) (bool, error)

Extract ...

func (*DecoderOptionals) GetHeadData

func (p *DecoderOptionals) GetHeadData() (res []byte)

GetHeadData ...

type DecoderOptionalsStress

type DecoderOptionalsStress struct {
	Rest []byte
	Int8 int8
	Head struct {
		Valid bool
		Data  []byte
	}
}

DecoderOptionalsStress ...

func (*DecoderOptionalsStress) Extract

func (p *DecoderOptionalsStress) Extract(line []byte) (bool, error)

Extract ...

func (*DecoderOptionalsStress) GetHeadData

func (p *DecoderOptionalsStress) GetHeadData() (res []byte)

GetHeadData ...

type Decoders

type Decoders struct {
	Rest    []byte
	Int8    int8
	Int16   int16
	Int32   int32
	Int64   int64
	Uint8   uint8
	Uint16  uint16
	Uint32  uint32
	Uint64  uint64
	Float32 float32
	Float64 float64
	String  []byte
}

Decoders ...

func (*Decoders) Extract

func (p *Decoders) Extract(line []byte) (bool, error)

Extract ...

type DecodersBounded

type DecodersBounded struct {
	Rest  []byte
	Int64 int64
}

DecodersBounded ...

func (*DecodersBounded) Extract

func (p *DecodersBounded) Extract(line []byte) (bool, error)

Extract ...

type DecodersBoundedStress

type DecodersBoundedStress struct {
	Rest  []byte
	Int64 int64
}

DecodersBoundedStress ...

func (*DecodersBoundedStress) Extract

func (p *DecodersBoundedStress) Extract(line []byte) (bool, error)

Extract ...

type DecodersBoundedString

type DecodersBoundedString struct {
	Rest    []byte
	Float64 float64
}

DecodersBoundedString ...

func (*DecodersBoundedString) Extract

func (p *DecodersBoundedString) Extract(line []byte) (bool, error)

Extract ...

type DecodersBoundedStringStress

type DecodersBoundedStringStress struct {
	Rest    []byte
	Float64 float64
}

DecodersBoundedStringStress ...

func (*DecodersBoundedStringStress) Extract

func (p *DecodersBoundedStringStress) Extract(line []byte) (bool, error)

Extract ...

type DecodersLimited

type DecodersLimited struct {
	Rest    []byte
	Int8    int8
	Int16   int16
	Int32   int32
	Int64   int64
	Uint8   uint8
	Uint16  uint16
	Uint32  uint32
	Uint64  uint64
	Float32 float32
	Float64 float64
	String  []byte
}

DecodersLimited ...

func (*DecodersLimited) Extract

func (p *DecodersLimited) Extract(line []byte) (bool, error)

Extract ...

type DecodersLimitedStress

type DecodersLimitedStress struct {
	Rest    []byte
	Int8    int8
	Int16   int16
	Int32   int32
	Int64   int64
	Uint8   uint8
	Uint16  uint16
	Uint32  uint32
	Uint64  uint64
	Float32 float32
	Float64 float64
	String  []byte
}

DecodersLimitedStress ...

func (*DecodersLimitedStress) Extract

func (p *DecodersLimitedStress) Extract(line []byte) (bool, error)

Extract ...

type DecodersLimitedString

type DecodersLimitedString struct {
	Rest    []byte
	Int8    int8
	Int16   int16
	Int32   int32
	Int64   int64
	Uint8   uint8
	Uint16  uint16
	Uint32  uint32
	Uint64  uint64
	Float32 float32
	Float64 float64
	String  []byte
}

DecodersLimitedString ...

func (*DecodersLimitedString) Extract

func (p *DecodersLimitedString) Extract(line []byte) (bool, error)

Extract ...

type DecodersLimitedStringStress

type DecodersLimitedStringStress struct {
	Rest    []byte
	Int8    int8
	Int16   int16
	Int32   int32
	Int64   int64
	Uint8   uint8
	Uint16  uint16
	Uint32  uint32
	Uint64  uint64
	Float32 float32
	Float64 float64
	String  []byte
}

DecodersLimitedStringStress ...

func (*DecodersLimitedStringStress) Extract

func (p *DecodersLimitedStringStress) Extract(line []byte) (bool, error)

Extract ...

type DecodersStress

type DecodersStress struct {
	Rest    []byte
	Int8    int8
	Int16   int16
	Int32   int32
	Int64   int64
	Uint8   uint8
	Uint16  uint16
	Uint32  uint32
	Uint64  uint64
	Float32 float32
	Float64 float64
	String  []byte
}

DecodersStress ...

func (*DecodersStress) Extract

func (p *DecodersStress) Extract(line []byte) (bool, error)

Extract ...

type DecodersString

type DecodersString struct {
	Rest    []byte
	Int8    int8
	Int16   int16
	Int32   int32
	Int64   int64
	Uint8   uint8
	Uint16  uint16
	Uint32  uint32
	Uint64  uint64
	Float32 float32
	Float64 float64
	String  []byte
}

DecodersString ...

func (*DecodersString) Extract

func (p *DecodersString) Extract(line []byte) (bool, error)

Extract ...

type DecodersStringStress

type DecodersStringStress struct {
	Rest    []byte
	Int8    int8
	Int16   int16
	Int32   int32
	Int64   int64
	Uint8   uint8
	Uint16  uint16
	Uint32  uint32
	Uint64  uint64
	Float32 float32
	Float64 float64
	String  []byte
}

DecodersStringStress ...

func (*DecodersStringStress) Extract

func (p *DecodersStringStress) Extract(line []byte) (bool, error)

Extract ...

type DoubleOpts

type DoubleOpts struct {
	Rest []byte
	Head struct {
		Valid bool
		Data  []byte
	}
	Rest1 struct {
		Valid bool
		Data  []byte
	}
}

DoubleOpts ...

func (*DoubleOpts) Extract

func (p *DoubleOpts) Extract(line []byte) (bool, error)

Extract ...

func (*DoubleOpts) GetHeadData

func (p *DoubleOpts) GetHeadData() (res []byte)

GetHeadData ...

func (*DoubleOpts) GetRest1Data

func (p *DoubleOpts) GetRest1Data() (res []byte)

GetRest1Data ...

type FixedLook

type FixedLook struct {
	Rest  []byte
	Data  int32
	Rest1 int32
}

FixedLook ...

func (*FixedLook) Extract

func (p *FixedLook) Extract(line []byte) (bool, error)

Extract ...

type Hex

type Hex struct {
	Rest []byte
	F1   uint
	F2   uint8
	F3   uint16
	F4   uint32
	F5   uint64
}

Hex ...

func (*Hex) Extract

func (p *Hex) Extract(line []byte) (bool, error)

Extract ...

type IncludeChar

type IncludeChar struct {
	Rest   []byte
	Data   []byte
	Field2 int
}

IncludeChar ...

func (*IncludeChar) Extract

func (p *IncludeChar) Extract(line []byte) (bool, error)

Extract ...

type IncludeString

type IncludeString struct {
	Rest   []byte
	Data   []byte
	Field2 int
}

IncludeString ...

func (*IncludeString) Extract

func (p *IncludeString) Extract(line []byte) (bool, error)

Extract ...

type Jump

type Jump struct {
	Rest   []byte
	First  []byte
	Second []byte
	Third  []byte
	Fourth []byte
}

Jump ...

func (*Jump) Extract

func (p *Jump) Extract(line []byte) (bool, error)

Extract ...

type JustToCompile

type JustToCompile struct {
	Rest []byte
	Head uint16
	Tail uint16
}

JustToCompile ...

func (*JustToCompile) Extract

func (p *JustToCompile) Extract(line []byte) (bool, error)

Extract ...

type JustToCompileString

type JustToCompileString struct {
	Rest []byte
	Head uint16
	Tail uint16
}

JustToCompileString ...

func (*JustToCompileString) Extract

func (p *JustToCompileString) Extract(line []byte) (bool, error)

Extract ...

type LookupJump

type LookupJump struct {
	Rest []byte
}

LookupJump ...

func (*LookupJump) Extract

func (p *LookupJump) Extract(line []byte) (bool, error)

Extract ...

type Oct

type Oct struct {
	Rest []byte
	F1   uint
	F2   uint8
	F3   uint16
	F4   uint32
	F5   uint64
}

Oct ...

func (*Oct) Extract

func (p *Oct) Extract(line []byte) (bool, error)

Extract ...

type PassHeadingStringRegression added in v0.0.2

type PassHeadingStringRegression struct {
	Rest string
	Data string
}

PassHeadingStringRegression ...

func (*PassHeadingStringRegression) Extract added in v0.0.2

func (p *PassHeadingStringRegression) Extract(line string) (bool, error)

Extract ...

type Prefixes

type Prefixes struct {
	Rest  []byte
	Data  int32
	Rest1 int32
}

Prefixes ...

func (*Prefixes) Extract

func (p *Prefixes) Extract(line []byte) (bool, error)

Extract ...

type RestLength

type RestLength struct {
	Rest []byte
}

RestLength ...

func (*RestLength) Extract

func (p *RestLength) Extract(line []byte) (bool, error)

Extract ...

type Rule

type Rule struct {
	Rest     string
	Data     string
	Signed   int
	Unsigned uint
	Str      string
}

Rule ...

func (*Rule) Extract

func (p *Rule) Extract(line string) (bool, error)

Extract ...

type Shift1

type Shift1 struct {
	Rest []byte
	B    []byte
}

Shift1 ...

func (*Shift1) Extract

func (p *Shift1) Extract(line []byte) (bool, error)

Extract ...

type Shift2

type Shift2 struct {
	Rest []byte
	B    []byte
}

Shift2 ...

func (*Shift2) Extract

func (p *Shift2) Extract(line []byte) (bool, error)

Extract ...

type Shift3

type Shift3 struct {
	Rest []byte
	B    []byte
}

Shift3 ...

func (*Shift3) Extract

func (p *Shift3) Extract(line []byte) (bool, error)

Extract ...

type Shift4

type Shift4 struct {
	Rest []byte
	B    []byte
}

Shift4 ...

func (*Shift4) Extract

func (p *Shift4) Extract(line []byte) (bool, error)

Extract ...

type Split

type Split struct {
	Rest  []byte
	Name  []byte
	Count []byte
}

Split ...

func (*Split) Extract

func (p *Split) Extract(line []byte) (bool, error)

Extract ...

type Star

type Star struct {
	Rest []byte
	F    int
	B    int
}

Star ...

func (*Star) Extract

func (p *Star) Extract(line []byte) (bool, error)

Extract ...

type Str

type Str struct {
	Rest []byte
	F1   string
	F2   []byte
}

Str ...

func (*Str) Extract

func (p *Str) Extract(line []byte) (bool, error)

Extract ...

type TargetConstraintsCheck

type TargetConstraintsCheck struct {
	Rest []byte
}

TargetConstraintsCheck ...

func (*TargetConstraintsCheck) Extract

func (p *TargetConstraintsCheck) Extract(line []byte) (bool, error)

Extract ...

type URL

type URL struct {
	Rest     []byte
	UserPass struct {
		Valid    bool
		User     []byte
		Password []byte
	}
	User struct {
		Valid bool
		User  []byte
	}
	Host   []byte
	Port   uint16
	DBName []byte
}

URL ...

func (*URL) Extract

func (p *URL) Extract(line []byte) (bool, error)

Extract ...

func (*URL) GetUserPassPassword

func (p *URL) GetUserPassPassword() (res []byte)

GetUserPassPassword ...

func (*URL) GetUserPassUser

func (p *URL) GetUserPassUser() (res []byte)

GetUserPassUser ...

func (*URL) GetUserUser

func (p *URL) GetUserUser() (res []byte)

GetUserUser ...

Jump to

Keyboard shortcuts

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