Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clarkduvall/spoonerizer
/ functions
Functions
201 in github.com/clarkduvall/spoonerizer
⨍
Functions
201
◇
Types & classes
26
↓ 1 callers
Method
Read
(p []byte)
Godeps/_workspace/src/golang.org/x/net/html/token_test.go:689
↓ 1 callers
Function
checkTreeConsistency
checkTreeConsistency checks that a node and its descendants are all consistent in their parent/child/sibling relationships.
Godeps/_workspace/src/golang.org/x/net/html/node_test.go:13
↓ 1 callers
Function
checkTreeConsistency1
(n *Node, depth int)
Godeps/_workspace/src/golang.org/x/net/html/node_test.go:17
↓ 1 callers
Function
dumpLevel
(w io.Writer, n *Node, level int)
Godeps/_workspace/src/golang.org/x/net/html/parse_test.go:126
↓ 1 callers
Function
extraHTML
()
web.go:44
↓ 1 callers
Function
fnv
fnv computes the FNV hash with an arbitrary starting value h.
Godeps/_workspace/src/golang.org/x/net/html/atom/atom.go:38
↓ 1 callers
Function
fnv
fnv computes the FNV hash with an arbitrary starting value h.
Godeps/_workspace/src/golang.org/x/net/html/atom/gen.go:205
↓ 1 callers
Function
getNextPrefix
(bytes []byte, i int)
spoonerize/spoonerize.go:63
↓ 1 callers
Function
identifier
identifier converts s to a Go exported identifier. It converts "div" to "Div" and "accept-charset" to "AcceptCharset".
Godeps/_workspace/src/golang.org/x/net/html/atom/gen.go:26
↓ 1 callers
Method
inForeignContent
Section 12.2.5.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1928
↓ 1 callers
Function
inSelectIM
Section 12.2.5.4.16.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1564
↓ 1 callers
Method
init
init initializes the table with the given parameters. h0 is the initial hash value, k is the number of bits of hash value to use, and x is the list of
Godeps/_workspace/src/golang.org/x/net/html/atom/gen.go:236
↓ 1 callers
Method
insert
insert inserts s in the table.
Godeps/_workspace/src/golang.org/x/net/html/atom/gen.go:250
↓ 1 callers
Function
isLetter
(c byte)
spoonerize/spoonerize.go:12
↓ 1 callers
Function
parseDoctype
parseDoctype parses the data from a DoctypeToken into a name, public identifier, and system identifier. It returns a Node whose Type is DoctypeNode, w
Godeps/_workspace/src/golang.org/x/net/html/doctype.go:16
↓ 1 callers
Function
parseForeignContent
Section 12.2.5.5.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1848
↓ 1 callers
Function
prescan
(content []byte)
Godeps/_workspace/src/golang.org/x/net/html/charset/charset.go:126
↓ 1 callers
Function
readAtLeastOneByte
readAtLeastOneByte wraps an io.Reader so that reading cannot return (0, nil). It returns io.ErrNoProgress if the underlying r.Read method returns (0,
Godeps/_workspace/src/golang.org/x/net/html/token.go:297
↓ 1 callers
Method
readCDATA
readCDATA attempts to read a CDATA section and returns true if successful. The opening "<!" has already been consumed.
Godeps/_workspace/src/golang.org/x/net/html/token.go:717
↓ 1 callers
Method
readComment
readComment reads the next comment token starting with "<!--". The opening "<!--" has already been consumed.
Godeps/_workspace/src/golang.org/x/net/html/token.go:600
↓ 1 callers
Method
readDoctype
readDoctype attempts to read a doctype declaration and returns true if successful. The opening "<!" has already been consumed.
Godeps/_workspace/src/golang.org/x/net/html/token.go:692
↓ 1 callers
Method
readMarkupDeclaration
readMarkupDeclaration reads the next token starting with "<!". It might be a "<!--comment-->", a "<!DOCTYPE foo>", a "<![CDATA[section]]>" or "<!a bog
Godeps/_workspace/src/golang.org/x/net/html/token.go:663
↓ 1 callers
Function
readParseTest
readParseTest reads a single test case from r.
Godeps/_workspace/src/golang.org/x/net/html/parse_test.go:25
↓ 1 callers
Method
readRawOrRCDATA
readRawOrRCDATA reads until the next "</foo>", where "foo" is z.rawTag and is typically something like "script" or "textarea".
Godeps/_workspace/src/golang.org/x/net/html/token.go:329
↓ 1 callers
Method
readScript
readScript reads until the next </script> tag, following the byzantine rules for escaping/hiding the closing tag.
Godeps/_workspace/src/golang.org/x/net/html/token.go:393
↓ 1 callers
Method
readStartTag
readStartTag reads the next start tag token. The opening "<a" has already been consumed, where 'a' means anything in [A-Za-z].
Godeps/_workspace/src/golang.org/x/net/html/token.go:778
↓ 1 callers
Method
readTagAttrKey
readTagAttrKey sets z.pendingAttr[0] to the "k" in "<div k=v>". Precondition: z.err == nil.
Godeps/_workspace/src/golang.org/x/net/html/token.go:867
↓ 1 callers
Method
readTagAttrVal
readTagAttrVal sets z.pendingAttr[1] to the "v" in "<div k=v>".
Godeps/_workspace/src/golang.org/x/net/html/token.go:888
↓ 1 callers
Method
readTagName
readTagName sets z.data to the "div" in "<div k=v>". The reader (z.raw.end) is positioned such that the first byte of the tag name (the "d" in "<div")
Godeps/_workspace/src/golang.org/x/net/html/token.go:845
↓ 1 callers
Function
render1
(w writer, n *Node)
Godeps/_workspace/src/golang.org/x/net/html/render.go:68
↓ 1 callers
Function
reparentChildren
reparentChildren reparents all of src's child nodes to dst.
Godeps/_workspace/src/golang.org/x/net/html/node.go:122
↓ 1 callers
Function
swapLetters
(bytes []byte, i1 int, s1 int, i2 int, s2 int)
spoonerize/spoonerize.go:32
↓ 1 callers
Function
testParseCase
testParseCase tests one test case from the test files. If the test does not pass, it returns an error that explains the failure. text is the HTML to b
Godeps/_workspace/src/golang.org/x/net/html/parse_test.go:236
Function
Benchmark
(b *testing.B)
spoonerize/bench_test.go:7
Function
BenchmarkHighLevelTokenizer
(b *testing.B)
Godeps/_workspace/src/golang.org/x/net/html/token_test.go:748
Function
BenchmarkLookup
(b *testing.B)
Godeps/_workspace/src/golang.org/x/net/html/atom/atom_test.go:89
Function
BenchmarkLowLevelTokenizer
(b *testing.B)
Godeps/_workspace/src/golang.org/x/net/html/token_test.go:747
Function
BenchmarkParser
(b *testing.B)
Godeps/_workspace/src/golang.org/x/net/html/parse_test.go:376
Function
BenchmarkRawLevelTokenizer
(b *testing.B)
Godeps/_workspace/src/golang.org/x/net/html/token_test.go:746
Function
ExampleParse
()
Godeps/_workspace/src/golang.org/x/net/html/example_test.go:16
Method
Len
()
Godeps/_workspace/src/golang.org/x/net/html/parse_test.go:111
Method
Len
()
Godeps/_workspace/src/golang.org/x/net/html/atom/gen.go:202
Method
Less
(i, j int)
Godeps/_workspace/src/golang.org/x/net/html/parse_test.go:115
Method
Less
(i, j int)
Godeps/_workspace/src/golang.org/x/net/html/atom/gen.go:200
Function
NewReaderLabel
NewReaderLabel returns a reader that converts from the specified charset to UTF-8. It uses Lookup to find the encoding that corresponds to label, and
Godeps/_workspace/src/golang.org/x/net/html/charset/charset.go:118
Method
Read
(p []byte)
Godeps/_workspace/src/golang.org/x/net/html/token_test.go:656
Method
Read
(p []byte)
Godeps/_workspace/src/golang.org/x/net/html/token_test.go:677
Method
RoundTrip
(req *http.Request)
web.go:21
Function
String
String returns a string whose contents are equal to s. In that sense, it is equivalent to string(s) but may be more efficient.
Godeps/_workspace/src/golang.org/x/net/html/atom/atom.go:73
Method
String
String returns a string representation of the TokenType.
Godeps/_workspace/src/golang.org/x/net/html/token.go:41
Method
Swap
(i, j int)
Godeps/_workspace/src/golang.org/x/net/html/parse_test.go:122
Method
Swap
(i, j int)
Godeps/_workspace/src/golang.org/x/net/html/atom/gen.go:201
Function
TestBufAPI
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/token_test.go:551
Function
TestConvertNewlines
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/token_test.go:587
Function
TestDecode
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/charset/charset_test.go:70
Function
TestEncode
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/charset/charset_test.go:88
Function
TestEntityLength
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/entity_test.go:12
Function
TestForeignObject
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/atom/atom_test.go:68
Function
TestFromMeta
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/charset/charset_test.go:209
Function
TestHits
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/atom/atom_test.go:20
Function
TestKnown
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/atom/atom_test.go:12
Function
TestMaxBuffer
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/token_test.go:477
Function
TestMaxBufferReconstruction
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/token_test.go:493
Function
TestMisses
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/atom/atom_test.go:32
Function
TestNames
TestNames verifies that you can pass an encoding's name to Lookup and get the same encoding back (except for "replacement").
Godeps/_workspace/src/golang.org/x/net/html/charset/charset_test.go:108
Function
TestNodeConsistency
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/parse_test.go:363
Function
TestParser
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/parse_test.go:201
Function
TestPassthrough
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/token_test.go:532
Function
TestReader
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/charset/charset_test.go:158
Function
TestReaderEdgeCases
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/token_test.go:614
Function
TestRenderer
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/render_test.go:12
Function
TestSniff
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/charset/charset_test.go:137
Function
TestSpoonerize
(t *testing.T)
spoonerize/spoonerize_test.go:17
Function
TestSpoonerizeHTML
(t *testing.T)
spoonerize/html_test.go:27
Function
TestSpoonerizeHTMLWithExtra
(t *testing.T)
spoonerize/html_test.go:46
Function
TestTokenizer
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/token_test.go:453
Function
TestUnescape
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/escape_test.go:69
Function
TestUnescapeEscape
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/escape_test.go:78
Function
TestXML
(t *testing.T)
Godeps/_workspace/src/golang.org/x/net/html/charset/charset_test.go:218
Function
afterAfterBodyIM
Section 12.2.5.4.21.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1781
Function
afterAfterFramesetIM
Section 12.2.5.4.22.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1810
Function
afterBodyIM
Section 12.2.5.4.18.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1654
Function
afterFramesetIM
Section 12.2.5.4.20.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1742
Function
afterHeadIM
Section 12.2.5.4.6.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:626
Function
beforeHTMLIM
Section 12.2.5.4.2.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:483
Function
beforeHeadIM
Section 12.2.5.4.3.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:521
Function
inCaptionIM
Section 12.2.5.4.11.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1313
Function
inCellIM
Section 12.2.5.4.15.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1515
Function
inColumnGroupIM
Section 12.2.5.4.12.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1359
Function
inFramesetIM
Section 12.2.5.4.19.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1692
Function
inRowIM
Section 12.2.5.4.14.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1464
Function
inSelectInTableIM
Section 12.2.5.4.17.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1636
Function
inTableBodyIM
Section 12.2.5.4.13.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1412
Function
initialIM
Section 12.2.5.4.1.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:456
Function
isNotLetter
(c byte)
spoonerize/spoonerize.go:16
Function
isSpace
(c byte)
spoonerize/spoonerize.go:8
Function
main
()
web.go:56
Function
main
()
Godeps/_workspace/src/golang.org/x/net/html/atom/gen.go:45
Function
main
()
Godeps/_workspace/src/golang.org/x/net/html/charset/gen.go:32
Function
textIM
Section 12.2.5.4.8.
Godeps/_workspace/src/golang.org/x/net/html/parse.go:1178
← previous
next →
101–200 of 201, ranked by callers