MCPcopy Create free account

hub / github.com/StackExchange/httpunit / functions

Functions233 in github.com/StackExchange/httpunit

↓ 40 callersMethodnext
()
_third_party/github.com/BurntSushi/toml/lex.go:126
↓ 35 callersMethodString
()
_third_party/github.com/BurntSushi/toml/lex.go:872
↓ 29 callersMethoderrorf
errorf stops all lexing by emitting an error and returning `nil`. Note that any value that is a character is escaped if it's a special character (new
_third_party/github.com/BurntSushi/toml/lex.go:172
↓ 23 callersMethodbackup
backup steps back one rune. Can be called only once per call of next.
_third_party/github.com/BurntSushi/toml/lex.go:146
↓ 21 callersMethodemit
(typ itemType)
_third_party/github.com/BurntSushi/toml/lex.go:116
↓ 19 callersFunctionDecode
Decode will decode the contents of `data` in TOML format into a pointer `v`. TOML hashes correspond to Go structs or maps. (Dealer's choice. They can
_third_party/github.com/BurntSushi/toml/decode.go:105
↓ 19 callersMethodType
Type returns a string representation of the type of the key specified. Type will return the empty string if given an empty key or a key that does not
_third_party/github.com/BurntSushi/toml/decode_meta.go:46
↓ 19 callersMethodignore
ignore skips over the pending input before this point.
_third_party/github.com/BurntSushi/toml/lex.go:141
↓ 16 callersMethodpop
()
_third_party/github.com/BurntSushi/toml/lex.go:103
↓ 14 callersMethodbug
(format string, v ...interface{})
_third_party/github.com/BurntSushi/toml/parse.go:83
↓ 14 callersMethodwf
(format string, v ...interface{})
_third_party/github.com/BurntSushi/toml/encode.go:507
↓ 12 callersMethodpush
(state stateFn)
_third_party/github.com/BurntSushi/toml/lex.go:99
↓ 11 callersFunctionencPanic
(err error)
_third_party/github.com/BurntSushi/toml/encode.go:518
↓ 10 callersMethodLen
()
_third_party/github.com/BurntSushi/toml/type_fields.go:28
↓ 10 callersFunctionisWhitespace
isWhitespace returns true if `r` is a whitespace character according to the spec.
_third_party/github.com/BurntSushi/toml/lex.go:804
↓ 10 callersMethodnext
()
_third_party/github.com/BurntSushi/toml/parse.go:75
↓ 10 callersFunctiontypeEqual
typeEqual accepts any two types and returns true if they are equal.
_third_party/github.com/BurntSushi/toml/type_check.go:12
↓ 9 callersFunctionbadtype
(expected string, data interface{})
_third_party/github.com/BurntSushi/toml/decode.go:485
↓ 9 callersFunctionisNL
(r rune)
_third_party/github.com/BurntSushi/toml/lex.go:808
↓ 9 callersMethodtypeOfPrimitive
typeOfPrimitive returns a tomlType of any primitive value in TOML. Primitive values are: Integer, Float, Datetime, String and Bool. Passing a lexer i
_third_party/github.com/BurntSushi/toml/type_check.go:49
↓ 8 callersMethodaccept
accept consumes the next rune if it's equal to `valid`.
_third_party/github.com/BurntSushi/toml/lex.go:154
↓ 8 callersFunctionisDigit
(r rune)
_third_party/github.com/BurntSushi/toml/lex.go:812
↓ 8 callersMethodpanicf
(format string, v ...interface{})
_third_party/github.com/BurntSushi/toml/parse.go:69
↓ 7 callersFunctionencodeExpected
( t *testing.T, label string, val interface{}, wantStr string, wantErr error, )
_third_party/github.com/BurntSushi/toml/encode_test.go:494
↓ 7 callersFunctionlexSkip
lexSkip ignores all slurped input and moves on to the next state.
_third_party/github.com/BurntSushi/toml/lex.go:795
↓ 7 callersFunctionprintStringsIfExist
(w *bufio.Writer, label string, list []string)
cmd/httpunit/main.go:46
↓ 6 callersMethodunify
unify performs a sort of type unification based on the structure of `rv`, which is the client representation. Any type mismatch produces an error. Fi
_third_party/github.com/BurntSushi/toml/decode.go:142
↓ 5 callersFunctionSort
Sort sorts the provided slice using the function less. If slice is not a slice, Sort panics.
_third_party/github.com/bradfitz/slice/slice.go:25
↓ 5 callersMethodadd
(piece string)
_third_party/github.com/BurntSushi/toml/decode_meta.go:85
↓ 5 callersFunctionisNil
(rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:531
↓ 5 callersMethodnewline
()
_third_party/github.com/BurntSushi/toml/encode.go:491
↓ 5 callersFunctiontomlTypeOfGo
tomlTypeName returns the TOML type name of the Go value's type. It is used to determine whether the types of array elements are mixed (which is forbid
_third_party/github.com/BurntSushi/toml/encode.go:368
↓ 4 callersMethodEncode
Encode writes a TOML representation of the Go value to the underlying io.Writer. If the value given cannot be encoded to a valid TOML document, then a
_third_party/github.com/BurntSushi/toml/encode.go:86
↓ 4 callersMethodError
()
_third_party/github.com/BurntSushi/toml/parse.go:36
↓ 4 callersFunctionNewEncoder
NewEncoder returns a TOML encoder that encodes Go values to the io.Writer given. By default, a single indentation level is 2 spaces.
_third_party/github.com/BurntSushi/toml/encode.go:56
↓ 4 callersMethodcurrent
()
_third_party/github.com/BurntSushi/toml/lex.go:112
↓ 4 callersFunctioneindirect
(v reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:522
↓ 4 callersFunctionindirect
indirect returns the value pointed to by a pointer. Pointers are followed until the value is not a pointer. New values are allocated for each nil poin
_third_party/github.com/BurntSushi/toml/decode.go:459
↓ 4 callersMethodpeek
peek returns but does not consume the next rune in the input.
_third_party/github.com/BurntSushi/toml/lex.go:163
↓ 4 callersFunctionrvalue
rvalue returns a reflect.Value of `v`. All pointers are resolved.
_third_party/github.com/BurntSushi/toml/decode.go:449
↓ 3 callersMethodName
()
_third_party/github.com/BurntSushi/toml/decode_test.go:916
↓ 3 callersMethodassertEqual
(expected, got itemType)
_third_party/github.com/BurntSushi/toml/parse.go:93
↓ 3 callersMethodemitTrim
(typ itemType)
_third_party/github.com/BurntSushi/toml/lex.go:121
↓ 3 callersMethodencode
(key Key, rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:108
↓ 3 callersMethodindentStr
(key Key)
_third_party/github.com/BurntSushi/toml/encode.go:514
↓ 3 callersFunctionisBareKeyChar
(r rune)
_third_party/github.com/BurntSushi/toml/lex.go:822
↓ 3 callersMethodkeyEqElement
(key Key, val reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:497
↓ 3 callersMethodkeyString
Gets a string for a key (or part of a key in a table name).
_third_party/github.com/BurntSushi/toml/parse.go:146
↓ 3 callersMethodmaybeQuotedAll
()
_third_party/github.com/BurntSushi/toml/decode_meta.go:62
↓ 3 callersFunctionpanicIfInvalidKey
(key Key)
_third_party/github.com/BurntSushi/toml/encode.go:540
↓ 3 callersMethodsetType
setType sets the type of a particular value at a given key. It should be called immediately AFTER setValue. Note that if `key` is empty, then the typ
_third_party/github.com/BurntSushi/toml/parse.go:361
↓ 3 callersMethodtypeString
()
_third_party/github.com/BurntSushi/toml/type_check.go:8
↓ 2 callersMethodExpand
Expand expands s into IP addresses. A successful return will consist of valid IP addresses or "*". The following process is repeated until there are n
httpunit.go:169
↓ 2 callersMethodMarshalText
()
_third_party/github.com/BurntSushi/toml/encoding_types_1.1.go:11
↓ 2 callersFunctionSortInterface
SortInterface returns a sort.Interface to sort the provided slice using the function less.
_third_party/github.com/bradfitz/slice/slice.go:31
↓ 2 callersMethodUndecoded
Undecoded returns all keys that have not been decoded in the order in which they appear in the original TOML document. This includes keys that haven'
_third_party/github.com/BurntSushi/toml/decode_meta.go:114
↓ 2 callersMethodaddr
()
httpunit.go:440
↓ 2 callersMethodasciiEscapeToUnicode
(bs []byte)
_third_party/github.com/BurntSushi/toml/parse.go:477
↓ 2 callersMethodeElement
eElement encodes any value that can be an array element (primitives and arrays).
_third_party/github.com/BurntSushi/toml/encode.go:157
↓ 2 callersMethodeMapOrStruct
(key Key, rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:255
↓ 2 callersMethodeTable
(key Key, rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:241
↓ 2 callersMethodestablishContext
establishContext sets the current context of the parser, where the context is either a hash or an array of hashes. Which one is set depends on the val
_third_party/github.com/BurntSushi/toml/parse.go:248
↓ 2 callersMethodexpect
(typ itemType)
_third_party/github.com/BurntSushi/toml/parse.go:87
↓ 2 callersFunctionfloatAddDecimal
By the TOML spec, all floats must have a decimal with at least one number on either side.
_third_party/github.com/BurntSushi/toml/encode.go:200
↓ 2 callersFunctiongetOptions
(keyName string)
_third_party/github.com/BurntSushi/toml/encode.go:444
↓ 2 callersFunctionisHexadecimal
(r rune)
_third_party/github.com/BurntSushi/toml/lex.go:816
↓ 2 callersFunctionlexConst
lexConst consumes the s[1:] in s. It assumes that s[0] has already been consumed.
_third_party/github.com/BurntSushi/toml/lex.go:743
↓ 2 callersMethodmaybeQuoted
(i int)
_third_party/github.com/BurntSushi/toml/decode_meta.go:70
↓ 2 callersFunctionnewMemSwap
(size uintptr, baseMem, tempMem unsafe.Pointer)
_third_party/github.com/bradfitz/slice/slice.go:82
↓ 2 callersFunctionprintCert
(w *bufio.Writer, c *x509.Certificate)
cmd/httpunit/main.go:58
↓ 2 callersFunctionprintNames
(x []pkix.AttributeTypeAndValue)
cmd/httpunit/main.go:38
↓ 2 callersMethodreplaceEscapes
(str string)
_third_party/github.com/BurntSushi/toml/parse.go:417
↓ 2 callersMethodsetValue
setValue sets the given key to the given value in the current context. It will make sure that the key hasn't already been defined, account for implici
_third_party/github.com/BurntSushi/toml/parse.go:307
↓ 2 callersFunctionstrEqual
(a, b []string)
httpunit.go:236
↓ 2 callersFunctionstripFirstNewline
(s string)
_third_party/github.com/BurntSushi/toml/parse.go:400
↓ 2 callersFunctiontypeIsHash
(t tomlType)
_third_party/github.com/BurntSushi/toml/type_check.go:19
↓ 2 callersMethodunifySliceArray
(data, rv reflect.Value)
_third_party/github.com/BurntSushi/toml/decode.go:317
↓ 2 callersMethodvalue
value translates an expected value from the lexer into a Go value wrapped as an empty interface.
_third_party/github.com/BurntSushi/toml/parse.go:162
↓ 2 callersMethodwriteQuoted
(s string)
_third_party/github.com/BurntSushi/toml/encode.go:207
↓ 1 callersMethodCases
Cases computes the actual test cases from a test plan. filter and no10 are described in Plans.Test.
httpunit.go:268
↓ 1 callersMethodIsDefined
IsDefined returns true if the key given exists in the TOML data. The key should be specified hierarchially. e.g., // access the TOML key 'a.b.c' Is
_third_party/github.com/BurntSushi/toml/decode_meta.go:23
↓ 1 callersMethodLen
()
_third_party/github.com/bradfitz/slice/slice.go:107
↓ 1 callersMethodLess
(i, j int)
_third_party/github.com/bradfitz/slice/slice_test.go:196
↓ 1 callersMethodPrimitiveDecode
PrimitiveDecode is just like the other `Decode*` functions, except it decodes a TOML value that has already been parsed. Valid primitive values can *o
_third_party/github.com/BurntSushi/toml/decode.go:63
↓ 1 callersMethodString
()
_third_party/github.com/BurntSushi/toml/decode_meta.go:58
↓ 1 callersMethodSwap
(i, j int)
_third_party/github.com/bradfitz/slice/slice_test.go:197
↓ 1 callersMethodTest
Test performs tests. Filter optionally specifies an IP filter to use. no10 disallows 10.* addresses. It returns a channel where results will be sent w
httpunit.go:105
↓ 1 callersFunctionUnmarshal
Unmarshal decodes the contents of `p` in TOML format into a pointer `v`.
_third_party/github.com/BurntSushi/toml/decode.go:22
↓ 1 callersMethodUnmarshalTOML
(p interface{})
_third_party/github.com/BurntSushi/toml/decode_test.go:453
↓ 1 callersMethodUnmarshalTOML
(interface{})
_third_party/github.com/BurntSushi/toml/decode.go:18
↓ 1 callersMethodUnmarshalText
(text []byte)
_third_party/github.com/BurntSushi/toml/encoding_types_1.1.go:17
↓ 1 callersMethodaddImplicit
addImplicit sets the given Key as having been created implicitly.
_third_party/github.com/BurntSushi/toml/parse.go:373
↓ 1 callersFunctioncachedTypeFields
cachedTypeFields is like typeFields but uses a cache to avoid repeated work.
_third_party/github.com/BurntSushi/toml/type_fields.go:219
↓ 1 callersMethodcurrent
current returns the full key name of the current context.
_third_party/github.com/BurntSushi/toml/parse.go:390
↓ 1 callersFunctiondoMain
()
cmd/httpunit/main.go:81
↓ 1 callersFunctiondominantField
dominantField looks through the fields, all of which are known to have the same name, to find the single field that dominates the others using Go's em
_third_party/github.com/BurntSushi/toml/type_fields.go:181
↓ 1 callersMethodeArrayOfTables
(key Key, rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:224
↓ 1 callersMethodeArrayOrSliceElement
(rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:211
↓ 1 callersMethodeMap
(key Key, rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:266
↓ 1 callersMethodeStruct
(key Key, rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:299
next →1–100 of 233, ranked by callers