repo
stringlengths
6
47
file_url
stringlengths
77
269
file_path
stringlengths
5
186
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-07 08:35:43
2026-01-07 08:55:24
truncated
bool
2 classes
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/pipe_test.go
vendor/golang.org/x/net/http2/pipe_test.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import ( "bytes" "errors" "io" "io/ioutil" "testing" ) func TestPipeClose(t *testing.T) { var p pipe p.b = new(bytes.Buffer) a := errors...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/http2_test.go
vendor/golang.org/x/net/http2/http2_test.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import ( "bytes" "errors" "flag" "fmt" "net/http" "os/exec" "strconv" "strings" "testing" "golang.org/x/net/http2/hpack" ) var knownF...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/writesched_priority_test.go
vendor/golang.org/x/net/http2/writesched_priority_test.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import ( "bytes" "fmt" "sort" "testing" ) func defaultPriorityWriteScheduler() *priorityWriteScheduler { return NewPriorityWriteScheduler(n...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/go17_not18.go
vendor/golang.org/x/net/http2/go17_not18.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.7,!go1.8 package http2 import "crypto/tls" // temporary copy of Go 1.7's private tls.Config.clone: func cloneTLSConfig(c *tls.Config) *tls.Conf...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/flow.go
vendor/golang.org/x/net/http2/flow.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Flow control package http2 // flow is the flow control window's size. type flow struct { // n is the number of DATA bytes we're allowed to send. // A flo...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/writesched_test.go
vendor/golang.org/x/net/http2/writesched_test.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import ( "fmt" "math" "reflect" "testing" ) func makeWriteNonStreamRequest() FrameWriteRequest { return FrameWriteRequest{writeSettingsAck{...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/writesched_priority.go
vendor/golang.org/x/net/http2/writesched_priority.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import ( "fmt" "math" "sort" ) // RFC 7540, Section 5.3.5: the default weight is 16. const priorityDefaultWeight = 15 // 16 = 15 + 1 // Prio...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/not_go18.go
vendor/golang.org/x/net/http2/not_go18.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build !go1.8 package http2 import ( "io" "net/http" ) func configureServer18(h1 *http.Server, h2 *Server) error { // No IdleTimeout to sync prior to G...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/gotrack_test.go
vendor/golang.org/x/net/http2/gotrack_test.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import ( "fmt" "strings" "testing" ) func TestGoroutineLock(t *testing.T) { oldDebug := DebugGoroutines DebugGoroutines = true defer func(...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/go16.go
vendor/golang.org/x/net/http2/go16.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.6 package http2 import ( "net/http" "time" ) func transportExpectContinueTimeout(t1 *http.Transport) time.Duration { return t1.ExpectContinu...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/not_go17.go
vendor/golang.org/x/net/http2/not_go17.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build !go1.7 package http2 import ( "crypto/tls" "net" "net/http" "time" ) type contextContext interface { Done() <-chan struct{} Err() error } ty...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/http2.go
vendor/golang.org/x/net/http2/http2.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package http2 implements the HTTP/2 protocol. // // This package is low-level and intended to be used directly by very // few people. Most users will use it ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/write.go
vendor/golang.org/x/net/http2/write.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import ( "bytes" "fmt" "log" "net/http" "net/url" "golang.org/x/net/http2/hpack" "golang.org/x/net/lex/httplex" ) // writeFramer is impl...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/go18.go
vendor/golang.org/x/net/http2/go18.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.8 package http2 import ( "crypto/tls" "io" "net/http" ) func cloneTLSConfig(c *tls.Config) *tls.Config { c2 := c.Clone() c2.GetClientCerti...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/server.go
vendor/golang.org/x/net/http2/server.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // TODO: turn off the serve goroutine when idle, so // an idle conn only has the readFrames goroutine active. (which could // also be optimized probably to pin ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
true
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/gotrack.go
vendor/golang.org/x/net/http2/gotrack.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Defensive debug-only utility to track that functions run on the // goroutine that they're supposed to. package http2 import ( "bytes" "errors" "fmt" "o...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/server_push_test.go
vendor/golang.org/x/net/http2/server_push_test.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.8 package http2 import ( "errors" "fmt" "io" "io/ioutil" "net/http" "reflect" "strconv" "sync" "testing" "time" ) func TestServer_Pus...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/writesched.go
vendor/golang.org/x/net/http2/writesched.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import "fmt" // WriteScheduler is the interface implemented by HTTP/2 write schedulers. // Methods are never called concurrently. type WriteSche...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/writesched_random_test.go
vendor/golang.org/x/net/http2/writesched_random_test.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import "testing" func TestRandomScheduler(t *testing.T) { ws := NewRandomWriteScheduler() ws.Push(makeWriteHeadersRequest(3)) ws.Push(makeWri...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/not_go19.go
vendor/golang.org/x/net/http2/not_go19.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build !go1.9 package http2 import ( "net/http" ) func configureServer19(s *http.Server, conf *Server) error { // not supported prior to go1.9 return n...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/z_spec_test.go
vendor/golang.org/x/net/http2/z_spec_test.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import ( "bytes" "encoding/xml" "flag" "fmt" "io" "os" "reflect" "regexp" "sort" "strconv" "strings" "sync" "testing" ) var coverSp...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/headermap.go
vendor/golang.org/x/net/http2/headermap.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import ( "net/http" "strings" ) var ( commonLowerHeader = map[string]string{} // Go-Canonical-Case -> lower-case commonCanonHeader = map[str...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/flow_test.go
vendor/golang.org/x/net/http2/flow_test.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import "testing" func TestFlow(t *testing.T) { var st flow var conn flow st.add(3) conn.add(2) if got, want := st.available(), int32(3); g...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/transport.go
vendor/golang.org/x/net/http2/transport.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Transport code. package http2 import ( "bufio" "bytes" "compress/gzip" "crypto/rand" "crypto/tls" "errors" "fmt" "io" "io/ioutil" "log" "math" ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
true
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/frame.go
vendor/golang.org/x/net/http2/frame.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import ( "bytes" "encoding/binary" "errors" "fmt" "io" "log" "strings" "sync" "golang.org/x/net/http2/hpack" "golang.org/x/net/lex/htt...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
true
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/go18_test.go
vendor/golang.org/x/net/http2/go18_test.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.8 package http2 import ( "crypto/tls" "net/http" "testing" "time" ) // Tests that http2.Server.IdleTimeout is initialized from // http.Serv...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/go19_test.go
vendor/golang.org/x/net/http2/go19_test.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.9 package http2 import ( "context" "net/http" "reflect" "testing" "time" ) func TestServerGracefulShutdown(t *testing.T) { var st *server...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/go17.go
vendor/golang.org/x/net/http2/go17.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.7 package http2 import ( "context" "net" "net/http" "net/http/httptrace" "time" ) type contextContext interface { context.Context } func...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/databuffer.go
vendor/golang.org/x/net/http2/databuffer.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import ( "errors" "fmt" "sync" ) // Buffer chunks are allocated from a pool to reduce pressure on GC. // The maximum wasted space per dataBuf...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/pipe.go
vendor/golang.org/x/net/http2/pipe.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http2 import ( "errors" "io" "sync" ) // pipe is a goroutine-safe io.Reader/io.Writer pair. It's like // io.Pipe except there are no PipeReader/Pip...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/hpack/hpack.go
vendor/golang.org/x/net/http2/hpack/hpack.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package hpack implements HPACK, a compression format for // efficiently representing HTTP header fields in the context of HTTP/2. // // See http://tools.ietf...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/hpack/hpack_test.go
vendor/golang.org/x/net/http2/hpack/hpack_test.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package hpack import ( "bytes" "encoding/hex" "fmt" "math/rand" "reflect" "strings" "testing" "time" ) func (d *Decoder) mustAt(idx int) HeaderField {...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/hpack/tables_test.go
vendor/golang.org/x/net/http2/hpack/tables_test.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package hpack import ( "bufio" "regexp" "strconv" "strings" "testing" ) func TestHeaderFieldTable(t *testing.T) { table := &headerFieldTable{} table.in...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/hpack/encode.go
vendor/golang.org/x/net/http2/hpack/encode.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package hpack import ( "io" ) const ( uint32Max = ^uint32(0) initialHeaderTableSize = 4096 ) type Encoder struct { dynTab dynamicTable // m...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/hpack/tables.go
vendor/golang.org/x/net/http2/hpack/tables.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package hpack import ( "fmt" ) // headerFieldTable implements a list of HeaderFields. // This is used to implement the static and dynamic tables. type header...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/hpack/encode_test.go
vendor/golang.org/x/net/http2/hpack/encode_test.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package hpack import ( "bytes" "encoding/hex" "fmt" "math/rand" "reflect" "strings" "testing" ) func TestEncoderTableSizeUpdate(t *testing.T) { tests ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http2/hpack/huffman.go
vendor/golang.org/x/net/http2/hpack/huffman.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package hpack import ( "bytes" "errors" "io" "sync" ) var bufPool = sync.Pool{ New: func() interface{} { return new(bytes.Buffer) }, } // HuffmanDecode ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/idna/punycode.go
vendor/golang.org/x/net/idna/punycode.go
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. // Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package idna // This file implements the Punycode algorithm from RFC 3492. impo...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/idna/trie.go
vendor/golang.org/x/net/idna/trie.go
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. // Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package idna // appendMapping appends the mapping for the respective rune. isMap...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/idna/trieval.go
vendor/golang.org/x/net/idna/trieval.go
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. package idna // This file contains definitions for interpreting the trie value of the idna // trie generated by "go run gen*.go". It is shared by both the generator // program and the resultant package. Sharing is achieved by the generator ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/idna/tables.go
vendor/golang.org/x/net/idna/tables.go
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. package idna // UnicodeVersion is the Unicode version from which the tables in this package are derived. const UnicodeVersion = "10.0.0" var mappings string = "" + // Size: 8176 bytes "\x00\x01 \x03 ̈\x01a\x03 ̄\x012\x013\x03 ́\x03 ̧\x011...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
true
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/idna/example_test.go
vendor/golang.org/x/net/idna/example_test.go
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. // Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package idna_test import ( "fmt" "golang.org/x/net/idna" ) func ExampleProfi...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/idna/punycode_test.go
vendor/golang.org/x/net/idna/punycode_test.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package idna import ( "strings" "testing" ) var punycodeTestCases = [...]struct { s, encoded string }{ {"", ""}, {"-", "--"}, {"-a", "-a-"}, {"-a-", "-...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/idna/idna.go
vendor/golang.org/x/net/idna/idna.go
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. // Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package idna implements IDNA2008 using the compatibility processing // defined...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/idna/idna_test.go
vendor/golang.org/x/net/idna/idna_test.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package idna import ( "testing" ) var idnaTestCases = [...]struct { ascii, unicode string }{ // Labels. {"books", "books"}, {"xn--bcher-kva", "bücher"}, ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/lex/httplex/httplex.go
vendor/golang.org/x/net/lex/httplex/httplex.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package httplex contains rules around lexical matters of various // HTTP-related specifications. // // This package is shared by the standard library (which ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/lex/httplex/httplex_test.go
vendor/golang.org/x/net/lex/httplex/httplex_test.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package httplex import ( "testing" ) func isChar(c rune) bool { return c <= 127 } func isCtl(c rune) bool { return c <= 31 || c == 127 } func isSeparator(c...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/doctype.go
vendor/golang.org/x/net/html/doctype.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "strings" ) // parseDoctype parses the data from a DoctypeToken into a name, // public identifier, and system identifier. It returns a ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/render_test.go
vendor/golang.org/x/net/html/render_test.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "bytes" "testing" ) func TestRenderer(t *testing.T) { nodes := [...]*Node{ 0: { Type: ElementNode, Data: "html", }, 1: { ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/token_test.go
vendor/golang.org/x/net/html/token_test.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "bytes" "io" "io/ioutil" "reflect" "runtime" "strings" "testing" ) type tokenTest struct { // A short description of the test ca...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/node.go
vendor/golang.org/x/net/html/node.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "golang.org/x/net/html/atom" ) // A NodeType is the type of a Node. type NodeType uint32 const ( ErrorNode NodeType = iota TextNode ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/entity_test.go
vendor/golang.org/x/net/html/entity_test.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "testing" "unicode/utf8" ) func TestEntityLength(t *testing.T) { // We verify that the length of UTF-8 encoding of each value is <= 1...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/token.go
vendor/golang.org/x/net/html/token.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "bytes" "errors" "io" "strconv" "strings" "golang.org/x/net/html/atom" ) // A TokenType is the type of a Token. type TokenType ui...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/render.go
vendor/golang.org/x/net/html/render.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "bufio" "errors" "fmt" "io" "strings" ) type writer interface { io.Writer io.ByteWriter WriteString(string) (int, error) } // R...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/node_test.go
vendor/golang.org/x/net/html/node_test.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "fmt" ) // checkTreeConsistency checks that a node and its descendants are all // consistent in their parent/child/sibling relationship...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/foreign.go
vendor/golang.org/x/net/html/foreign.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "strings" ) func adjustAttributeNames(aa []Attribute, nameMap map[string]string) { for i := range aa { if newName, ok := nameMap[aa[...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/entity.go
vendor/golang.org/x/net/html/entity.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html // All entities that do not end with ';' are 6 or fewer bytes long. const longestEntityWithoutSemicolon = 6 // entity is a map from HTML entity n...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
true
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/example_test.go
vendor/golang.org/x/net/html/example_test.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This example demonstrates parsing HTML data and walking the resulting tree. package html_test import ( "fmt" "log" "strings" "golang.org/x/net/html" ) ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/parse_test.go
vendor/golang.org/x/net/html/parse_test.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "bufio" "bytes" "errors" "fmt" "io" "io/ioutil" "os" "path/filepath" "runtime" "sort" "strings" "testing" "golang.org/x/net...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/const.go
vendor/golang.org/x/net/html/const.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html // Section 12.2.4.2 of the HTML5 specification says "The following elements // have varying levels of special parsing rules". // https://html.spec...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/doc.go
vendor/golang.org/x/net/html/doc.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. /* Package html implements an HTML5-compliant tokenizer and parser. Tokenization is done by creating a Tokenizer for an io.Reader r. It is the caller's respons...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/escape.go
vendor/golang.org/x/net/html/escape.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "bytes" "strings" "unicode/utf8" ) // These replacements permit compatibility with old numeric entities that // assumed Windows-1252 ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/parse.go
vendor/golang.org/x/net/html/parse.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "errors" "fmt" "io" "strings" a "golang.org/x/net/html/atom" ) // A parser implements the HTML5 parsing algorithm: // https://html...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
true
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/escape_test.go
vendor/golang.org/x/net/html/escape_test.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import "testing" type unescapeTest struct { // A short description of the test case. desc string // The HTML text. html string // The unesca...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/charset/charset_test.go
vendor/golang.org/x/net/html/charset/charset_test.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package charset import ( "bytes" "encoding/xml" "io/ioutil" "runtime" "strings" "testing" "golang.org/x/text/transform" ) func transformString(t trans...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/charset/charset.go
vendor/golang.org/x/net/html/charset/charset.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package charset provides common text encodings for HTML documents. // // The mapping from encoding labels to encodings is defined at // https://encoding.spec...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/atom/table_test.go
vendor/golang.org/x/net/html/atom/table_test.go
// Code generated by go generate gen.go; DO NOT EDIT. //go:generate go run gen.go -test package atom var testAtomList = []string{ "a", "abbr", "accept", "accept-charset", "accesskey", "acronym", "action", "address", "align", "allowfullscreen", "allowpaymentrequest", "allowusermedia", "alt", "annotation...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/atom/table.go
vendor/golang.org/x/net/html/atom/table.go
// Code generated by go generate gen.go; DO NOT EDIT. //go:generate go run gen.go package atom const ( A Atom = 0x1 Abbr Atom = 0x4 Accept Atom = 0x1a06 AcceptCharset Atom = 0x1a0e Accesskey Atom = 0x2c09 Acronym ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/atom/atom_test.go
vendor/golang.org/x/net/html/atom/atom_test.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package atom import ( "sort" "testing" ) func TestKnown(t *testing.T) { for _, s := range testAtomList { if atom := Lookup([]byte(s)); atom.String() != s...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/html/atom/atom.go
vendor/golang.org/x/net/html/atom/atom.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package atom provides integer codes (also known as atoms) for a fixed set of // frequently occurring HTML strings: tag names and attribute keys such as "p" /...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/context/go19.go
vendor/golang.org/x/net/context/go19.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.9 package context import "context" // standard library's context, as of Go 1.7 // A Context carries a deadline, a cancelation signal, and other...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/context/pre_go17.go
vendor/golang.org/x/net/context/pre_go17.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build !go1.7 package context import ( "errors" "fmt" "sync" "time" ) // An emptyCtx is never canceled, has no values, and has no deadline. It is not ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/context/pre_go19.go
vendor/golang.org/x/net/context/pre_go19.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build !go1.9 package context import "time" // A Context carries a deadline, a cancelation signal, and other values across // API boundaries. // // Contex...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/context/context_test.go
vendor/golang.org/x/net/context/context_test.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build !go1.7 package context import ( "fmt" "math/rand" "runtime" "strings" "sync" "testing" "time" ) // otherContext is a Context that's not one ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/context/context.go
vendor/golang.org/x/net/context/context.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package context defines the Context type, which carries deadlines, // cancelation signals, and other request-scoped values across API boundaries // and betwe...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/context/withtimeout_test.go
vendor/golang.org/x/net/context/withtimeout_test.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package context_test import ( "fmt" "time" "golang.org/x/net/context" ) // This example passes a context with a timeout to tell a blocking function that /...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/context/go17.go
vendor/golang.org/x/net/context/go17.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.7 package context import ( "context" // standard library's context, as of Go 1.7 "time" ) var ( todo = context.TODO() background = co...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/net/http/httpguts/guts.go
vendor/golang.org/x/net/http/httpguts/guts.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package httpguts provides functions implementing various details // of the HTTP specification. // // This package is shared by the standard library (which ve...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/example_test.go
vendor/golang.org/x/text/encoding/example_test.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package encoding_test import ( "fmt" "io" "os" "strings" "golang.org/x/text/encoding" "golang.org/x/text/encoding/charmap" "golang.org/x/text/encoding/...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/encoding_test.go
vendor/golang.org/x/text/encoding/encoding_test.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package encoding_test import ( "io/ioutil" "strings" "testing" "golang.org/x/text/encoding" "golang.org/x/text/encoding/charmap" "golang.org/x/text/tran...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/encoding.go
vendor/golang.org/x/text/encoding/encoding.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package encoding defines an interface for character encodings, such as Shift // JIS and Windows 1252, that can convert to and from UTF-8. // // Encoding impl...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/unicode/unicode_test.go
vendor/golang.org/x/text/encoding/unicode/unicode_test.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package unicode import ( "testing" "golang.org/x/text/encoding" "golang.org/x/text/encoding/charmap" "golang.org/x/text/encoding/internal/enctest" "golan...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/unicode/unicode.go
vendor/golang.org/x/text/encoding/unicode/unicode.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package unicode provides Unicode encodings such as UTF-16. package unicode // import "golang.org/x/text/encoding/unicode" import ( "errors" "unicode/utf16...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/unicode/override.go
vendor/golang.org/x/text/encoding/unicode/override.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package unicode import ( "golang.org/x/text/transform" ) // BOMOverride returns a new decoder transformer that is identical to fallback, // except that the p...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/traditionalchinese/all_test.go
vendor/golang.org/x/text/encoding/traditionalchinese/all_test.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package traditionalchinese import ( "fmt" "io/ioutil" "strings" "testing" "golang.org/x/text/encoding" "golang.org/x/text/encoding/internal" "golang.or...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/traditionalchinese/tables.go
vendor/golang.org/x/text/encoding/traditionalchinese/tables.go
// generated by go run maketables.go; DO NOT EDIT // Package traditionalchinese provides Traditional Chinese encodings such as Big5. package traditionalchinese // import "golang.org/x/text/encoding/traditionalchinese" // decode is the decoding table from Big5 code to Unicode. // It is defined at http://encoding.spec....
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
true
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/traditionalchinese/big5.go
vendor/golang.org/x/text/encoding/traditionalchinese/big5.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package traditionalchinese import ( "unicode/utf8" "golang.org/x/text/encoding" "golang.org/x/text/encoding/internal" "golang.org/x/text/encoding/internal...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/htmlindex/map.go
vendor/golang.org/x/text/encoding/htmlindex/map.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package htmlindex import ( "golang.org/x/text/encoding" "golang.org/x/text/encoding/charmap" "golang.org/x/text/encoding/internal/identifier" "golang.org/x...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/htmlindex/tables.go
vendor/golang.org/x/text/encoding/htmlindex/tables.go
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. package htmlindex type htmlEncoding byte const ( utf8 htmlEncoding = iota ibm866 iso8859_2 iso8859_3 iso8859_4 iso8859_5 iso8859_6 iso8859_7 iso8859_8 iso8859_8I iso8859_10 iso8859_13 iso8859_14 iso8859_15 iso8859_16 koi8r ...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/htmlindex/htmlindex.go
vendor/golang.org/x/text/encoding/htmlindex/htmlindex.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:generate go run gen.go // Package htmlindex maps character set encoding names to Encodings as // recommended by the W3C for use in HTML 5. See http://www....
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/htmlindex/htmlindex_test.go
vendor/golang.org/x/text/encoding/htmlindex/htmlindex_test.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package htmlindex import ( "testing" "golang.org/x/text/encoding" "golang.org/x/text/encoding/charmap" "golang.org/x/text/encoding/internal/identifier" "...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/simplifiedchinese/hzgb2312.go
vendor/golang.org/x/text/encoding/simplifiedchinese/hzgb2312.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package simplifiedchinese import ( "unicode/utf8" "golang.org/x/text/encoding" "golang.org/x/text/encoding/internal" "golang.org/x/text/encoding/internal/...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/simplifiedchinese/all_test.go
vendor/golang.org/x/text/encoding/simplifiedchinese/all_test.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package simplifiedchinese import ( "strings" "testing" "golang.org/x/text/encoding" "golang.org/x/text/encoding/internal" "golang.org/x/text/encoding/int...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/simplifiedchinese/tables.go
vendor/golang.org/x/text/encoding/simplifiedchinese/tables.go
// generated by go run maketables.go; DO NOT EDIT // Package simplifiedchinese provides Simplified Chinese encodings such as GBK. package simplifiedchinese // import "golang.org/x/text/encoding/simplifiedchinese" // gb18030 is the table from http://encoding.spec.whatwg.org/index-gb18030.txt var gb18030 = [...][2]uint...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
true
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/simplifiedchinese/gbk.go
vendor/golang.org/x/text/encoding/simplifiedchinese/gbk.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package simplifiedchinese import ( "unicode/utf8" "golang.org/x/text/encoding" "golang.org/x/text/encoding/internal" "golang.org/x/text/encoding/internal/...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/simplifiedchinese/all.go
vendor/golang.org/x/text/encoding/simplifiedchinese/all.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package simplifiedchinese import ( "golang.org/x/text/encoding" ) // All is a list of all defined encodings in this package. var All = []encoding.Encoding{GB...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/internal/internal.go
vendor/golang.org/x/text/encoding/internal/internal.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package internal contains code that is shared among encoding implementations. package internal import ( "golang.org/x/text/encoding" "golang.org/x/text/en...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/internal/identifier/mib.go
vendor/golang.org/x/text/encoding/internal/identifier/mib.go
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. package identifier const ( // ASCII is the MIB identifier with IANA name US-ASCII (MIME: US-ASCII). // // ANSI X3.4-1986 // Reference: RFC2046 ASCII MIB = 3 // ISOLatin1 is the MIB identifier with IANA name ISO_8859-1:1987 (MIME: ISO...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
true
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/internal/identifier/identifier.go
vendor/golang.org/x/text/encoding/internal/identifier/identifier.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:generate go run gen.go // Package identifier defines the contract between implementations of Encoding // and Index by defining identifiers that uniquely i...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false
erikvanbrakel/anthology
https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/text/encoding/internal/enctest/enctest.go
vendor/golang.org/x/text/encoding/internal/enctest/enctest.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package enctest import ( "bytes" "fmt" "io" "io/ioutil" "strings" "testing" "golang.org/x/text/encoding" "golang.org/x/text/encoding/internal/identifi...
go
MIT
c715d868faa4799678792337e5f86725ceffd797
2026-01-07T09:45:51.510322Z
false