repo_id stringlengths 21 96 | file_path stringlengths 31 155 | content stringlengths 1 92.9M | __index_level_0__ int64 0 0 |
|---|---|---|---|
rapidsai_public_repos/roc/vendor/golang.org/x | rapidsai_public_repos/roc/vendor/golang.org/x/oauth2/.travis.yml | language: go
go:
- tip
install:
- export GOPATH="$HOME/gopath"
- mkdir -p "$GOPATH/src/golang.org/x"
- mv "$TRAVIS_BUILD_DIR" "$GOPATH/src/golang.org/x/oauth2"
- go get -v -t -d golang.org/x/oauth2/...
script:
- go test -v golang.org/x/oauth2/...
| 0 |
rapidsai_public_repos/roc/vendor/golang.org/x | rapidsai_public_repos/roc/vendor/golang.org/x/oauth2/CONTRIBUTING.md | # Contributing to Go
Go is an open source project.
It is the work of hundreds of contributors. We appreciate your help!
## Filing issues
When [filing an issue](https://github.com/golang/oauth2/issues), make sure to answer these five questions:
1. What version of Go are you using (`go version`)?
2. What operating... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x | rapidsai_public_repos/roc/vendor/golang.org/x/oauth2/LICENSE | Copyright (c) 2009 The Go Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following d... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x | rapidsai_public_repos/roc/vendor/golang.org/x/oauth2/oauth2.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 oauth2 provides support for making
// OAuth2 authorized and authenticated HTTP requests,
// as specified in RFC 6749.
// It can additionally grant au... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x | rapidsai_public_repos/roc/vendor/golang.org/x/oauth2/CONTRIBUTORS | # This source code was written by the Go contributors.
# The master list of contributors is in the main Go distribution,
# visible at http://tip.golang.org/CONTRIBUTORS.
| 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/oauth2 | rapidsai_public_repos/roc/vendor/golang.org/x/oauth2/internal/client_appengine.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.
//go:build appengine
// +build appengine
package internal
import "google.golang.org/appengine/urlfetch"
func init() {
appengineClientHook = urlfetch.Client
... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/oauth2 | rapidsai_public_repos/roc/vendor/golang.org/x/oauth2/internal/token.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 internal
import (
"context"
"encoding/json"
"errors"
"fmt"
"io"
"io/ioutil"
"math"
"mime"
"net/http"
"net/url"
"strconv"
"strings"
"sync"
... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/oauth2 | rapidsai_public_repos/roc/vendor/golang.org/x/oauth2/internal/transport.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 internal
import (
"context"
"net/http"
)
// HTTPClient is the context key to use with golang.org/x/net/context's
// WithValue function to associate ... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/oauth2 | rapidsai_public_repos/roc/vendor/golang.org/x/oauth2/internal/doc.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 internal contains support packages for oauth2 package.
package internal
| 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/oauth2 | rapidsai_public_repos/roc/vendor/golang.org/x/oauth2/internal/oauth2.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 internal
import (
"crypto/rsa"
"crypto/x509"
"encoding/pem"
"errors"
"fmt"
)
// ParseKey converts the binary contents of a private key file
// to... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x | rapidsai_public_repos/roc/vendor/golang.org/x/text/AUTHORS | # This source code refers to The Go Authors for copyright purposes.
# The master list of authors is in the main Go distribution,
# visible at http://tip.golang.org/AUTHORS.
| 0 |
rapidsai_public_repos/roc/vendor/golang.org/x | rapidsai_public_repos/roc/vendor/golang.org/x/text/PATENTS | Additional IP Rights Grant (Patents)
"This implementation" means the copyrightable works distributed by
Google as part of the Go project.
Google hereby grants to You a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable (except as stated in this section)
patent license to make, have made, use, o... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x | rapidsai_public_repos/roc/vendor/golang.org/x/text/LICENSE | Copyright (c) 2009 The Go Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following d... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x | rapidsai_public_repos/roc/vendor/golang.org/x/text/CONTRIBUTORS | # This source code was written by the Go contributors.
# The master list of contributors is in the main Go distribution,
# visible at http://tip.golang.org/CONTRIBUTORS.
| 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/text | rapidsai_public_repos/roc/vendor/golang.org/x/text/transform/transform.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 transform provides reader and writer wrappers that transform the
// bytes passing through as well as various transformations. Example
// transformati... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode | rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode/norm/composition.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 norm
import "unicode/utf8"
const (
maxNonStarters = 30
// The maximum number of characters needed for a buffer is
// maxNonStarters + 1 for the sta... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode | rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode/norm/tables11.0.0.go | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
//go:build go1.13 && !go1.14
// +build go1.13,!go1.14
package norm
import "sync"
const (
// Version is the Unicode edition from which the tables are derived.
Version = "11.0.0"
// MaxTransformChunkSize indicates the maximum number of ... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode | rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode/norm/tables10.0.0.go | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
//go:build go1.10 && !go1.13
// +build go1.10,!go1.13
package norm
import "sync"
const (
// Version is the Unicode edition from which the tables are derived.
Version = "10.0.0"
// MaxTransformChunkSize indicates the maximum number of ... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode | rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode/norm/tables13.0.0.go | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
//go:build go1.16
// +build go1.16
package norm
import "sync"
const (
// Version is the Unicode edition from which the tables are derived.
Version = "13.0.0"
// MaxTransformChunkSize indicates the maximum number of bytes that Transfor... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode | rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode/norm/forminfo.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 norm
import "encoding/binary"
// This file contains Form-specific logic and wrappers for data in tables.go.
// Rune info is stored in a separate trie... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode | rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode/norm/normalize.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.
// Note: the file data_test.go that is generated should not be checked in.
//go:generate go run maketables.go triegen.go
//go:generate go test -tags test
// Pa... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode | rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode/norm/transform.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 norm
import (
"unicode/utf8"
"golang.org/x/text/transform"
)
// Reset implements the Reset method of the transform.Transformer interface.
func (For... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode | rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode/norm/tables9.0.0.go | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
//go:build !go1.10
// +build !go1.10
package norm
import "sync"
const (
// Version is the Unicode edition from which the tables are derived.
Version = "9.0.0"
// MaxTransformChunkSize indicates the maximum number of bytes that Transfo... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode | rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode/norm/iter.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 norm
import (
"fmt"
"unicode/utf8"
)
// MaxSegmentSize is the maximum size of a byte buffer needed to consider any
// sequence of starter and non-st... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode | rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode/norm/readwriter.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 norm
import "io"
type normWriter struct {
rb reorderBuffer
w io.Writer
buf []byte
}
// Write implements the standard write interface. If the l... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode | rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode/norm/tables12.0.0.go | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
//go:build go1.14 && !go1.16
// +build go1.14,!go1.16
package norm
import "sync"
const (
// Version is the Unicode edition from which the tables are derived.
Version = "12.0.0"
// MaxTransformChunkSize indicates the maximum number of ... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode | rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode/norm/input.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 norm
import "unicode/utf8"
type input struct {
str string
bytes []byte
}
func inputBytes(str []byte) input {
return input{bytes: str}
}
func in... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode | rapidsai_public_repos/roc/vendor/golang.org/x/text/unicode/norm/trie.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 norm
type valueRange struct {
value uint16 // header: value:stride
lo, hi byte // header: lo:n
}
type sparseBlocks struct {
values []valueRange
... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/AUTHORS | # This source code refers to The Go Authors for copyright purposes.
# The master list of authors is in the main Go distribution,
# visible at https://tip.golang.org/AUTHORS.
| 0 |
rapidsai_public_repos/roc/vendor/golang.org/x | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/PATENTS | Additional IP Rights Grant (Patents)
"This implementation" means the copyrightable works distributed by
Google as part of the Go project.
Google hereby grants to You a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable (except as stated in this section)
patent license to make, have made, use, o... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/LICENSE | Copyright (c) 2009 The Go Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following d... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/CONTRIBUTORS | # This source code was written by the Go contributors.
# The master list of contributors is in the main Go distribution,
# visible at https://tip.golang.org/CONTRIBUTORS.
| 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/cast5/cast5.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 cast5 implements CAST5, as defined in RFC 2144.
//
// CAST5 is a legacy cipher and its short block size makes it vulnerable to
// birthday bound atta... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/write.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 openpgp
import (
"crypto"
"hash"
"io"
"strconv"
"time"
"golang.org/x/crypto/openpgp/armor"
"golang.org/x/crypto/openpgp/errors"
"golang.org/x/... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/canonical_text.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 openpgp
import "hash"
// NewCanonicalTextHash reformats text written to it into the canonical
// form and then applies the hash h. See RFC 4880, sect... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/read.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 openpgp implements high level operations on OpenPGP messages.
//
// Deprecated: this package is unmaintained except for security fixes. New
// applic... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/keys.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 openpgp
import (
"crypto/rsa"
"io"
"time"
"golang.org/x/crypto/openpgp/armor"
"golang.org/x/crypto/openpgp/errors"
"golang.org/x/crypto/openpgp/... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/elgamal/elgamal.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 elgamal implements ElGamal encryption, suitable for OpenPGP,
// as specified in "A Public-Key Cryptosystem and a Signature Scheme Based on
// Discret... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/errors/errors.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 errors contains common error types for the OpenPGP packages.
//
// Deprecated: this package is unmaintained except for security fixes. New
// applica... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/s2k/s2k.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 s2k implements the various OpenPGP string-to-key transforms as
// specified in RFC 4800 section 3.7.1.
//
// Deprecated: this package is unmaintained... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/public_key.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 packet
import (
"bytes"
"crypto"
"crypto/dsa"
"crypto/ecdsa"
"crypto/elliptic"
"crypto/rsa"
"crypto/sha1"
_ "crypto/sha256"
_ "crypto/sha512"
... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/signature_v3.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 packet
import (
"crypto"
"encoding/binary"
"fmt"
"io"
"strconv"
"time"
"golang.org/x/crypto/openpgp/errors"
"golang.org/x/crypto/openpgp/s2k"
... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/one_pass_signature.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 packet
import (
"crypto"
"encoding/binary"
"golang.org/x/crypto/openpgp/errors"
"golang.org/x/crypto/openpgp/s2k"
"io"
"strconv"
)
// OnePassSig... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/packet.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 packet implements parsing and serialization of OpenPGP packets, as
// specified in RFC 4880.
//
// Deprecated: this package is unmaintained except fo... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/private_key.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 packet
import (
"bytes"
"crypto"
"crypto/cipher"
"crypto/dsa"
"crypto/ecdsa"
"crypto/rsa"
"crypto/sha1"
"io"
"io/ioutil"
"math/big"
"strconv... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/encrypted_key.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 packet
import (
"crypto"
"crypto/rsa"
"encoding/binary"
"io"
"math/big"
"strconv"
"golang.org/x/crypto/openpgp/elgamal"
"golang.org/x/crypto/o... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/config.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 packet
import (
"crypto"
"crypto/rand"
"io"
"time"
)
// Config collects a number of parameters along with sensible defaults.
// A nil *Config is v... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/userid.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 packet
import (
"io"
"io/ioutil"
"strings"
)
// UserId contains text that is intended to represent the name and email
// address of the key holder.... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/userattribute.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 packet
import (
"bytes"
"image"
"image/jpeg"
"io"
"io/ioutil"
)
const UserAttrImageSubpacket = 1
// UserAttribute is capable of storing other ty... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/literal.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 packet
import (
"encoding/binary"
"io"
)
// LiteralData represents an encrypted file. See RFC 4880, section 5.9.
type LiteralData struct {
IsBinary... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/public_key_v3.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 packet
import (
"crypto"
"crypto/md5"
"crypto/rsa"
"encoding/binary"
"fmt"
"hash"
"io"
"math/big"
"strconv"
"time"
"golang.org/x/crypto/ope... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/reader.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 packet
import (
"golang.org/x/crypto/openpgp/errors"
"io"
)
// Reader reads packets from an io.Reader and allows packets to be 'unread' so
// that t... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/signature.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 packet
import (
"bytes"
"crypto"
"crypto/dsa"
"crypto/ecdsa"
"encoding/asn1"
"encoding/binary"
"hash"
"io"
"math/big"
"strconv"
"time"
"go... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/compressed.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 packet
import (
"compress/bzip2"
"compress/flate"
"compress/zlib"
"golang.org/x/crypto/openpgp/errors"
"io"
"strconv"
)
// Compressed represents... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/ocfb.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.
// OpenPGP CFB Mode. http://tools.ietf.org/html/rfc4880#section-13.9
package packet
import (
"crypto/cipher"
)
type ocfbEncrypter struct {
b cipher.B... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/symmetric_key_encrypted.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 packet
import (
"bytes"
"crypto/cipher"
"io"
"strconv"
"golang.org/x/crypto/openpgp/errors"
"golang.org/x/crypto/openpgp/s2k"
)
// This is the ... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/opaque.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 packet
import (
"bytes"
"io"
"io/ioutil"
"golang.org/x/crypto/openpgp/errors"
)
// OpaquePacket represents an OpenPGP packet as raw, unparsed dat... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/packet/symmetrically_encrypted.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 packet
import (
"crypto/cipher"
"crypto/sha1"
"crypto/subtle"
"golang.org/x/crypto/openpgp/errors"
"hash"
"io"
"strconv"
)
// SymmetricallyEncr... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/armor/encode.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 armor
import (
"encoding/base64"
"io"
)
var armorHeaderSep = []byte(": ")
var blockEnd = []byte("\n=")
var newline = []byte("\n")
var armorEndOfLine... | 0 |
rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp | rapidsai_public_repos/roc/vendor/golang.org/x/crypto/openpgp/armor/armor.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 armor implements OpenPGP ASCII Armor, see RFC 4880. OpenPGP Armor is
// very similar to PEM except that it has an additional CRC checksum.
//
// Depr... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/parse.go | package hcl
import (
"fmt"
"github.com/hashicorp/hcl/hcl/ast"
hclParser "github.com/hashicorp/hcl/hcl/parser"
jsonParser "github.com/hashicorp/hcl/json/parser"
)
// ParseBytes accepts as input byte slice and returns ast tree.
//
// Input can be either JSON or HCL
func ParseBytes(in []byte) (*ast.File, error) {
... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/README.md | # HCL
[](https://godoc.org/github.com/hashicorp/hcl) [](https://travis-ci.org/hashicorp/hcl)
HCL (HashiCorp Configuration Language) is a configuration language built
by HashiCorp. The g... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/Makefile | TEST?=./...
default: test
fmt: generate
go fmt ./...
test: generate
go get -t ./...
go test $(TEST) $(TESTARGS)
generate:
go generate ./...
updatedeps:
go get -u golang.org/x/tools/cmd/stringer
.PHONY: default generate test updatedeps
| 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl.go | // Package hcl decodes HCL into usable Go structures.
//
// hcl input can come in either pure HCL format or JSON format.
// It can be parsed into an AST, and then decoded into a structure,
// or it can be decoded directly from a string into a structure.
//
// If you choose to parse HCL into a raw AST, the benefit is th... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/.travis.yml | sudo: false
language: go
go:
- 1.x
- tip
branches:
only:
- master
script: make test
| 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/decoder.go | package hcl
import (
"errors"
"fmt"
"reflect"
"sort"
"strconv"
"strings"
"github.com/hashicorp/hcl/hcl/ast"
"github.com/hashicorp/hcl/hcl/parser"
"github.com/hashicorp/hcl/hcl/token"
)
// This is the tag to use with structures to have settings for HCL
const tagName = "hcl"
var (
// nodeType holds a refere... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/lex.go | package hcl
import (
"unicode"
"unicode/utf8"
)
type lexModeValue byte
const (
lexModeUnknown lexModeValue = iota
lexModeHcl
lexModeJson
)
// lexMode returns whether we're going to be parsing in JSON
// mode or HCL mode.
func lexMode(v []byte) lexModeValue {
var (
r rune
w int
offset int
)
... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/appveyor.yml | version: "build-{branch}-{build}"
image: Visual Studio 2015
clone_folder: c:\gopath\src\github.com\hashicorp\hcl
environment:
GOPATH: c:\gopath
init:
- git config --global core.autocrlf false
install:
- cmd: >-
echo %Path%
go version
go env
go get -t ./...
build_script:
- cmd: go test -v ./...
| 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/LICENSE | Mozilla Public License, version 2.0
1. Definitions
1.1. “Contributor”
means each individual or legal entity that creates, contributes to the
creation of, or owns Covered Software.
1.2. “Contributor Version”
means the combination of the Contributions of others (if any) used by a
Contributor and ... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/json | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/json/scanner/scanner.go | package scanner
import (
"bytes"
"fmt"
"os"
"unicode"
"unicode/utf8"
"github.com/hashicorp/hcl/json/token"
)
// eof represents a marker rune for the end of the reader.
const eof = rune(0)
// Scanner defines a lexical scanner
type Scanner struct {
buf *bytes.Buffer // Source buffer for advancing and scanning
... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/json | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/json/token/token.go | package token
import (
"fmt"
"strconv"
hcltoken "github.com/hashicorp/hcl/hcl/token"
)
// Token defines a single HCL token which can be obtained via the Scanner
type Token struct {
Type Type
Pos Pos
Text string
}
// Type is the set of lexical tokens of the HCL (HashiCorp Configuration Language)
type Type int... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/json | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/json/token/position.go | package token
import "fmt"
// Pos describes an arbitrary source position
// including the file, line, and column location.
// A Position is valid if the line number is > 0.
type Pos struct {
Filename string // filename, if any
Offset int // offset, starting at 0
Line int // line number, starting at 1
... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/json | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/json/parser/flatten.go | package parser
import "github.com/hashicorp/hcl/hcl/ast"
// flattenObjects takes an AST node, walks it, and flattens
func flattenObjects(node ast.Node) {
ast.Walk(node, func(n ast.Node) (ast.Node, bool) {
// We only care about lists, because this is what we modify
list, ok := n.(*ast.ObjectList)
if !ok {
re... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/json | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/json/parser/parser.go | package parser
import (
"errors"
"fmt"
"github.com/hashicorp/hcl/hcl/ast"
hcltoken "github.com/hashicorp/hcl/hcl/token"
"github.com/hashicorp/hcl/json/scanner"
"github.com/hashicorp/hcl/json/token"
)
type Parser struct {
sc *scanner.Scanner
// Last read token
tok token.Token
commaPrev token.Token
... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl/scanner/scanner.go | // Package scanner implements a scanner for HCL (HashiCorp Configuration
// Language) source text.
package scanner
import (
"bytes"
"fmt"
"os"
"regexp"
"unicode"
"unicode/utf8"
"github.com/hashicorp/hcl/hcl/token"
)
// eof represents a marker rune for the end of the reader.
const eof = rune(0)
// Scanner def... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl/token/token.go | // Package token defines constants representing the lexical tokens for HCL
// (HashiCorp Configuration Language)
package token
import (
"fmt"
"strconv"
"strings"
hclstrconv "github.com/hashicorp/hcl/hcl/strconv"
)
// Token defines a single HCL token which can be obtained via the Scanner
type Token struct {
Type... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl/token/position.go | package token
import "fmt"
// Pos describes an arbitrary source position
// including the file, line, and column location.
// A Position is valid if the line number is > 0.
type Pos struct {
Filename string // filename, if any
Offset int // offset, starting at 0
Line int // line number, starting at 1
... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl/parser/error.go | package parser
import (
"fmt"
"github.com/hashicorp/hcl/hcl/token"
)
// PosError is a parse error that contains a position.
type PosError struct {
Pos token.Pos
Err error
}
func (e *PosError) Error() string {
return fmt.Sprintf("At %s: %s", e.Pos, e.Err)
}
| 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl/parser/parser.go | // Package parser implements a parser for HCL (HashiCorp Configuration
// Language)
package parser
import (
"bytes"
"errors"
"fmt"
"strings"
"github.com/hashicorp/hcl/hcl/ast"
"github.com/hashicorp/hcl/hcl/scanner"
"github.com/hashicorp/hcl/hcl/token"
)
type Parser struct {
sc *scanner.Scanner
// Last read... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl/printer/printer.go | // Package printer implements printing of AST nodes to HCL format.
package printer
import (
"bytes"
"io"
"text/tabwriter"
"github.com/hashicorp/hcl/hcl/ast"
"github.com/hashicorp/hcl/hcl/parser"
)
var DefaultConfig = Config{
SpacesWidth: 2,
}
// A Config node controls the output of Fprint.
type Config struct ... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl/printer/nodes.go | package printer
import (
"bytes"
"fmt"
"sort"
"github.com/hashicorp/hcl/hcl/ast"
"github.com/hashicorp/hcl/hcl/token"
)
const (
blank = byte(' ')
newline = byte('\n')
tab = byte('\t')
infinity = 1 << 30 // offset or line
)
var (
unindent = []byte("\uE123") // in the private use space
)
type prin... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl/strconv/quote.go | package strconv
import (
"errors"
"unicode/utf8"
)
// ErrSyntax indicates that a value does not have the right syntax for the target type.
var ErrSyntax = errors.New("invalid syntax")
// Unquote interprets s as a single-quoted, double-quoted,
// or backquoted Go string literal, returning the string value
// that s... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl/ast/ast.go | // Package ast declares the types used to represent syntax trees for HCL
// (HashiCorp Configuration Language)
package ast
import (
"fmt"
"strings"
"github.com/hashicorp/hcl/hcl/token"
)
// Node is an element in the abstract syntax tree.
type Node interface {
node()
Pos() token.Pos
}
func (File) node() ... | 0 |
rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl | rapidsai_public_repos/roc/vendor/github.com/hashicorp/hcl/hcl/ast/walk.go | package ast
import "fmt"
// WalkFunc describes a function to be called for each node during a Walk. The
// returned node can be used to rewrite the AST. Walking stops the returned
// bool is false.
type WalkFunc func(Node) (Node, bool)
// Walk traverses an AST in depth-first order: It starts by calling fn(node);
// ... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google | rapidsai_public_repos/roc/vendor/github.com/google/go-querystring/LICENSE | Copyright (c) 2013 Google. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaime... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-querystring | rapidsai_public_repos/roc/vendor/github.com/google/go-querystring/query/encode.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 query implements encoding of structs into URL query parameters.
//
// As a simple example:
//
// type Options struct {
// Query string `url:"q"`... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-github | rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42/AUTHORS | # This is the official list of go-github authors for copyright purposes.
#
# This does not necessarily list everyone who has contributed code, since in
# some cases, their employer may be the copyright holder. To see the full list
# of contributors, see the revision history in source control or
# https://github.com/goo... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-github | rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42/LICENSE | Copyright (c) 2013 The go-github AUTHORS. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the foll... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42 | rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42/github/git_trees.go | // Copyright 2013 The go-github 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 github
import (
"context"
"encoding/json"
"fmt"
)
// Tree represents a GitHub tree.
type Tree struct {
SHA *string `json:"sha,o... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42 | rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42/github/search.go | // Copyright 2013 The go-github 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 github
import (
"context"
"fmt"
"strconv"
qs "github.com/google/go-querystring/query"
)
// SearchService provides access to the search ... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42 | rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42/github/apps_marketplace.go | // Copyright 2017 The go-github 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 github
import (
"context"
"fmt"
)
// MarketplaceService handles communication with the marketplace related
// methods of the GitHub API.
/... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42 | rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42/github/pulls_reviewers.go | // Copyright 2017 The go-github 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 github
import (
"context"
"fmt"
)
// ReviewersRequest specifies users and teams for a pull request review request.
type ReviewersRequest s... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42 | rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42/github/git.go | // Copyright 2013 The go-github 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 github
// GitService handles communication with the git data related
// methods of the GitHub API.
//
// GitHub API docs: https://docs.github... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42 | rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42/github/messages.go | // Copyright 2016 The go-github 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 file provides functions for validating payloads from GitHub Webhooks.
// GitHub API docs: https://developer.github.com/webhooks/securing/#vali... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42 | rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42/github/users.go | // Copyright 2013 The go-github 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 github
import (
"context"
"fmt"
)
// UsersService handles communication with the user related
// methods of the GitHub API.
//
// GitHub A... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42 | rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42/github/actions_workflows.go | // Copyright 2020 The go-github 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 github
import (
"context"
"fmt"
)
// Workflow represents a repository action workflow.
type Workflow struct {
ID *int64 `json:... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42 | rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42/github/projects.go | // Copyright 2016 The go-github 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 github
import (
"context"
"fmt"
)
// ProjectsService provides access to the projects functions in the
// GitHub API.
//
// GitHub API docs... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42 | rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42/github/dependabot_secrets.go | // Copyright 2022 The go-github 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 github
import (
"context"
"fmt"
)
func (s *DependabotService) getPublicKey(ctx context.Context, url string) (*PublicKey, *Response, error)... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42 | rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42/github/orgs_members.go | // Copyright 2013 The go-github 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 github
import (
"context"
"fmt"
)
// Membership represents the status of a user's membership in an organization or team.
type Membership s... | 0 |
rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42 | rapidsai_public_repos/roc/vendor/github.com/google/go-github/v42/github/apps_hooks.go | // Copyright 2021 The go-github 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 github
import (
"context"
)
// GetHookConfig returns the webhook configuration for a GitHub App.
// The underlying transport must be authen... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.