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/github.com/mattn | rapidsai_public_repos/roc/vendor/github.com/mattn/go-isatty/README.md | # go-isatty
[](http://godoc.org/github.com/mattn/go-isatty)
[](https://codecov.io/gh/mattn/go-isatty)
[ bool {
return false
}
// IsCygwinTerminal() return true... | 0 |
rapidsai_public_repos/roc/vendor/github.com/mattn | rapidsai_public_repos/roc/vendor/github.com/mattn/go-isatty/doc.go | // Package isatty implements interface to isatty
package isatty
| 0 |
rapidsai_public_repos/roc/vendor/github.com/mattn | rapidsai_public_repos/roc/vendor/github.com/mattn/go-isatty/LICENSE | Copyright (c) Yasuhiro MATSUMOTO <mattn.jp@gmail.com>
MIT License (Expat)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | 0 |
rapidsai_public_repos/roc/vendor/github.com/mattn | rapidsai_public_repos/roc/vendor/github.com/mattn/go-isatty/go.test.sh | #!/usr/bin/env bash
set -e
echo "" > coverage.txt
for d in $(go list ./... | grep -v vendor); do
go test -race -coverprofile=profile.out -covermode=atomic "$d"
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
done
| 0 |
rapidsai_public_repos/roc/vendor/github.com/mattn | rapidsai_public_repos/roc/vendor/github.com/mattn/go-isatty/isatty_plan9.go | //go:build plan9
// +build plan9
package isatty
import (
"syscall"
)
// IsTerminal returns true if the given file descriptor is a terminal.
func IsTerminal(fd uintptr) bool {
path, err := syscall.Fd2path(int(fd))
if err != nil {
return false
}
return path == "/dev/cons" || path == "/mnt/term/dev/cons"
}
// I... | 0 |
rapidsai_public_repos/roc/vendor/github.com/fatih | rapidsai_public_repos/roc/vendor/github.com/fatih/color/color.go | package color
import (
"fmt"
"io"
"os"
"strconv"
"strings"
"sync"
"github.com/mattn/go-colorable"
"github.com/mattn/go-isatty"
)
var (
// NoColor defines if the output is colorized or not. It's dynamically set to
// false or true based on the stdout's file descriptor referring to a terminal
// or not. It'... | 0 |
rapidsai_public_repos/roc/vendor/github.com/fatih | rapidsai_public_repos/roc/vendor/github.com/fatih/color/README.md | # color [](https://github.com/fatih/color/actions) [](https://pkg.go.dev/github.com/fatih/color)
Color lets you use colorized outputs in terms of [ANSI Escape
Codes](http://en.wikipedia.org/wiki/ANS... | 0 |
rapidsai_public_repos/roc/vendor/github.com/fatih | rapidsai_public_repos/roc/vendor/github.com/fatih/color/LICENSE.md | The MIT License (MIT)
Copyright (c) 2013 Fatih Arslan
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, pub... | 0 |
rapidsai_public_repos/roc/vendor/github.com/fatih | rapidsai_public_repos/roc/vendor/github.com/fatih/color/doc.go | /*
Package color is an ANSI color package to output colorized or SGR defined
output to the standard output. The API can be used in several way, pick one
that suits you.
Use simple and default helper functions with predefined foreground colors:
color.Cyan("Prints text in cyan.")
// a newline will be appended ... | 0 |
rapidsai_public_repos/roc/vendor/github.com/magiconair | rapidsai_public_repos/roc/vendor/github.com/magiconair/properties/decode.go | // Copyright 2018 Frank Schroeder. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package properties
import (
"fmt"
"reflect"
"strconv"
"strings"
"time"
)
// Decode assigns property values to exported fields of a struct.
//
// Decode ... | 0 |
rapidsai_public_repos/roc/vendor/github.com/magiconair | rapidsai_public_repos/roc/vendor/github.com/magiconair/properties/README.md | [](https://github.com/magiconair/properties/releases)
[](https://travis-ci.org/magiconair/properties)
[... | 0 |
rapidsai_public_repos/roc/vendor/github.com/magiconair | rapidsai_public_repos/roc/vendor/github.com/magiconair/properties/CHANGELOG.md | ## Changelog
### [1.8.2](https://github.com/magiconair/properties/tree/v1.8.2) - 25 Aug 2020
* [PR #36](https://github.com/magiconair/properties/pull/36): Escape backslash on write
This patch ensures that backslashes are escaped on write. Existing applications which
rely on the old behavior may need to be upd... | 0 |
rapidsai_public_repos/roc/vendor/github.com/magiconair | rapidsai_public_repos/roc/vendor/github.com/magiconair/properties/parser.go | // Copyright 2018 Frank Schroeder. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package properties
import (
"fmt"
"runtime"
)
type parser struct {
lex *lexer
}
func parse(input string) (properties *Properties, err error) {
p := &par... | 0 |
rapidsai_public_repos/roc/vendor/github.com/magiconair | rapidsai_public_repos/roc/vendor/github.com/magiconair/properties/LICENSE.md | Copyright (c) 2013-2020, Frank Schroeder
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 fol... | 0 |
rapidsai_public_repos/roc/vendor/github.com/magiconair | rapidsai_public_repos/roc/vendor/github.com/magiconair/properties/integrate.go | // Copyright 2018 Frank Schroeder. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package properties
import "flag"
// MustFlag sets flags that are skipped by dst.Parse when p contains
// the respective key for flag.Flag.Name.
//
// It's us... | 0 |
rapidsai_public_repos/roc/vendor/github.com/magiconair | rapidsai_public_repos/roc/vendor/github.com/magiconair/properties/load.go | // Copyright 2018 Frank Schroeder. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package properties
import (
"fmt"
"io/ioutil"
"net/http"
"os"
"strings"
)
// Encoding specifies encoding of the input data.
type Encoding uint
const (
... | 0 |
rapidsai_public_repos/roc/vendor/github.com/magiconair | rapidsai_public_repos/roc/vendor/github.com/magiconair/properties/doc.go | // Copyright 2018 Frank Schroeder. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package properties provides functions for reading and writing
// ISO-8859-1 and UTF-8 encoded .properties files and has
// support for recursive property ex... | 0 |
rapidsai_public_repos/roc/vendor/github.com/magiconair | rapidsai_public_repos/roc/vendor/github.com/magiconair/properties/.travis.yml | language: go
go:
- 1.3.x
- 1.4.x
- 1.5.x
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- "1.10.x"
- "1.11.x"
- "1.12.x"
- "1.13.x"
- "1.14.x"
- "1.15.x"
- "1.16.x"
- tip
| 0 |
rapidsai_public_repos/roc/vendor/github.com/magiconair | rapidsai_public_repos/roc/vendor/github.com/magiconair/properties/properties.go | // Copyright 2018 Frank Schroeder. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package properties
// BUG(frank): Set() does not check for invalid unicode literals since this is currently handled by the lexer.
// BUG(frank): Write() does ... | 0 |
rapidsai_public_repos/roc/vendor/github.com/magiconair | rapidsai_public_repos/roc/vendor/github.com/magiconair/properties/lex.go | // Copyright 2018 Frank Schroeder. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// Parts of the lexer are from the template/text/parser package
// For these parts the following applies:
//
// Copyright 2011 The Go Authors. All rights res... | 0 |
rapidsai_public_repos/roc/vendor/github.com/magiconair | rapidsai_public_repos/roc/vendor/github.com/magiconair/properties/rangecheck.go | // Copyright 2018 Frank Schroeder. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package properties
import (
"fmt"
"math"
)
// make this a var to overwrite it in a test
var is32Bit = ^uint(0) == math.MaxUint32
// intRangeCheck checks i... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/LICENSE |
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/urlfetch/urlfetch.go | // Copyright 2011 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
// Package urlfetch provides an http.RoundTripper implementation
// for fetching URLs via App Engine's urlfetch service.
package urlfetch // import "google.golan... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/api.go | // Copyright 2011 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
// +build !appengine
package internal
import (
"bytes"
"errors"
"fmt"
"io/ioutil"
"log"
"net"
"net/http"
"net/url"
"os"
"runtime"
"strconv"
"string... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/identity_classic.go | // Copyright 2015 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
// +build appengine
package internal
import (
"appengine"
netcontext "golang.org/x/net/context"
)
func init() {
appengineStandard = true
}
func DefaultVe... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/identity_flex.go | // Copyright 2018 Google LLC. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
// +build appenginevm
package internal
func init() {
appengineFlex = true
}
| 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/api_classic.go | // Copyright 2015 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
// +build appengine
package internal
import (
"errors"
"fmt"
"net/http"
"time"
"appengine"
"appengine_internal"
basepb "appengine_internal/base"
"git... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/api_common.go | // Copyright 2015 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
package internal
import (
"errors"
"os"
"github.com/golang/protobuf/proto"
netcontext "golang.org/x/net/context"
)
var errNotAppEngineContext = errors.New... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/main.go | // Copyright 2011 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
// +build appengine
package internal
import (
"appengine_internal"
)
func Main() {
MainPath = ""
appengine_internal.Main()
}
| 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/app_id.go | // Copyright 2011 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
package internal
import (
"strings"
)
func parseFullAppID(appid string) (partition, domain, displayID string) {
if i := strings.Index(appid, "~"); i != -1 {
... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/identity.go | // Copyright 2011 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
package internal
import (
"os"
netcontext "golang.org/x/net/context"
)
var (
// This is set to true in identity_classic.go, which is behind the appengine b... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/metadata.go | // Copyright 2014 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
package internal
// This file has code for accessing metadata.
//
// References:
// https://cloud.google.com/compute/docs/metadata
import (
"fmt"
"io/ioutil"... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/transaction.go | // Copyright 2014 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
package internal
// This file implements hooks for applying datastore transactions.
import (
"errors"
"reflect"
"github.com/golang/protobuf/proto"
netcont... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/regen.sh | #!/bin/bash -e
#
# This script rebuilds the generated code for the protocol buffers.
# To run this you will need protoc and goprotobuf installed;
# see https://github.com/golang/protobuf for instructions.
PKG=google.golang.org/appengine
function die() {
echo 1>&2 $*
exit 1
}
# Sanity check that the right tools are... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/identity_vm.go | // Copyright 2011 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
// +build !appengine
package internal
import (
"log"
"net/http"
"os"
"strings"
netcontext "golang.org/x/net/context"
)
// These functions are implementa... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/net.go | // Copyright 2014 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
package internal
// This file implements a network dialer that limits the number of concurrent connections.
// It is only used for API calls.
import (
"log"
... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/main_common.go | package internal
// MainPath stores the file path of the main package. On App Engine Standard
// using Go version 1.9 and below, this will be unset. On App Engine Flex and
// App Engine Standard second-gen (Go 1.11 and above), this will be the
// filepath to package main.
var MainPath string
| 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/internal.go | // Copyright 2011 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
// Package internal provides support for package appengine.
//
// Programs should not use this package directly. Its API is not stable.
// Use packages appengine... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/main_vm.go | // Copyright 2011 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
// +build !appengine
package internal
import (
"io"
"log"
"net/http"
"net/url"
"os"
"path/filepath"
"runtime"
)
func Main() {
MainPath = filepath.Dir(... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto | syntax = "proto2";
option go_package = "remote_api";
package remote_api;
message Request {
required string service_name = 2;
required string method = 3;
required bytes request = 4;
optional string request_id = 5;
}
message ApplicationError {
required int32 code = 1;
required string detail = 2;
}
message... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/remote_api/remote_api.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: google.golang.org/appengine/internal/remote_api/remote_api.proto
package remote_api
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Mar... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/datastore/datastore_v3.proto | syntax = "proto2";
option go_package = "datastore";
package appengine;
message Action{}
message PropertyValue {
optional int64 int64Value = 1;
optional bool booleanValue = 2;
optional string stringValue = 3;
optional double doubleValue = 4;
optional group PointValue = 5 {
required double x = 6;
re... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/datastore/datastore_v3.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: google.golang.org/appengine/internal/datastore/datastore_v3.proto
package datastore
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Mar... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/log/log_service.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: google.golang.org/appengine/internal/log/log_service.proto
package log
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = ... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/log/log_service.proto | syntax = "proto2";
option go_package = "log";
package appengine;
message LogServiceError {
enum ErrorCode {
OK = 0;
INVALID_REQUEST = 1;
STORAGE_ERROR = 2;
}
}
message UserAppLogLine {
required int64 timestamp_usec = 1;
required int64 level = 2;
required string message = 3;
}
message UserAppL... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/urlfetch/urlfetch_service.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: google.golang.org/appengine/internal/urlfetch/urlfetch_service.proto
package urlfetch
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.M... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/urlfetch/urlfetch_service.proto | syntax = "proto2";
option go_package = "urlfetch";
package appengine;
message URLFetchServiceError {
enum ErrorCode {
OK = 0;
INVALID_URL = 1;
FETCH_ERROR = 2;
UNSPECIFIED_ERROR = 3;
RESPONSE_TOO_LARGE = 4;
DEADLINE_EXCEEDED = 5;
SSL_CERTIFICATE_ERROR = 6;
DNS_ERROR = 7;
CLOSED =... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/base/api_base.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: google.golang.org/appengine/internal/base/api_base.proto
package base
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = f... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal | rapidsai_public_repos/roc/vendor/google.golang.org/appengine/internal/base/api_base.proto | // Built-in base types for API calls. Primarily useful as return types.
syntax = "proto2";
option go_package = "base";
package appengine.base;
message StringProto {
required string value = 1;
}
message Integer32Proto {
required int32 value = 1;
}
message Integer64Proto {
required int64 value = 1;
}
message ... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/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/google.golang.org | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/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/google.golang.org | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/LICENSE | Copyright (c) 2018 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/google.golang.org | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/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/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go | // Copyright 2019 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 protodesc
import (
"fmt"
"strings"
"google.golang.org/protobuf/internal/encoding/defval"
"google.golang.org/protobuf/internal/strs"
"google.golan... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protodesc/desc.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 protodesc provides functionality for converting
// FileDescriptorProto messages to/from protoreflect.FileDescriptor values.
//
// The google.protobuf... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go | // Copyright 2019 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 protodesc
import (
"google.golang.org/protobuf/internal/errors"
"google.golang.org/protobuf/internal/filedesc"
"google.golang.org/protobuf/internal/... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protodesc/desc_resolve.go | // Copyright 2019 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 protodesc
import (
"google.golang.org/protobuf/internal/encoding/defval"
"google.golang.org/protobuf/internal/errors"
"google.golang.org/protobuf/in... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protodesc/desc_validate.go | // Copyright 2019 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 protodesc
import (
"strings"
"unicode"
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/internal/errors"
"google.golan... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.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 protoregistry provides data structures to register and lookup
// protobuf descriptor types.
//
// The Files registry contains file descriptors and pr... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.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 protoreflect
import (
"fmt"
"math"
)
// Value is a union where only one Go type may be set at a time.
// The Value is used to represent all possible... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protoreflect/type.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 protoreflect
// Descriptor provides a set of accessors that are common to every descriptor.
// Each descriptor type wraps the equivalent google.protobu... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protoreflect/value_pure.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.
// +build purego appengine
package protoreflect
import "google.golang.org/protobuf/internal/pragma"
type valueType int
const (
nilType valueType = iota
bo... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe.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.
// +build !purego,!appengine
package protoreflect
import (
"unsafe"
"google.golang.org/protobuf/internal/pragma"
)
type (
stringHeader struct {
Data un... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go | // Copyright 2019 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.
// Code generated by generate-protos. DO NOT EDIT.
package protoreflect
func (p *SourcePath) appendFileDescriptorProto(b []byte) []byte {
if len(*p) == 0 {
... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.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 protoreflect provides interfaces to dynamically manipulate messages.
//
// This package includes type descriptors which describe the structure of typ... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protoreflect/source.go | // Copyright 2019 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 protoreflect
import (
"strconv"
)
// SourceLocations is a list of source locations.
type SourceLocations interface {
// Len reports the number of so... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protoreflect/value.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 protoreflect
import "google.golang.org/protobuf/encoding/protowire"
// Enum is a reflection interface for a concrete enum value,
// which provides typ... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/reflect/protoreflect/methods.go | // Copyright 2020 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 protoreflect
import (
"google.golang.org/protobuf/internal/pragma"
)
// The following types are used by the fast-path Message.ProtoMethods method.
//... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/runtime | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/runtime/protoiface/methods.go | // Copyright 2019 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 protoiface contains types referenced or implemented by messages.
//
// WARNING: This package should only be imported by message implementations.
// T... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/runtime | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/runtime/protoiface/legacy.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 protoiface
type MessageV1 interface {
Reset()
String() string
ProtoMessage()
}
type ExtensionRangeV1 struct {
Start, End int32 // both inclusive
}... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/runtime | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/runtime/protoimpl/impl.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 protoimpl contains the default implementation for messages
// generated by protoc-gen-go.
//
// WARNING: This package should only ever be imported by... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/runtime | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/runtime/protoimpl/version.go | // Copyright 2019 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 protoimpl
import (
"google.golang.org/protobuf/internal/version"
)
const (
// MaxVersion is the maximum supported version for generated .pb.go files... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/types | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/decode.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 proto
import (
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/internal/encoding/messageset"
"google.golang.org/protobuf... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/extension.go | // Copyright 2019 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 proto
import (
"google.golang.org/protobuf/reflect/protoreflect"
)
// HasExtension reports whether an extension field is populated.
// It returns fal... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/size.go | // Copyright 2019 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 proto
import (
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/internal/encoding/messageset"
"google.golang.org/protobuf... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/equal.go | // Copyright 2019 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 proto
import (
"bytes"
"math"
"reflect"
"google.golang.org/protobuf/encoding/protowire"
pref "google.golang.org/protobuf/reflect/protoreflect"
)
... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/proto.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 proto
import (
"google.golang.org/protobuf/internal/errors"
"google.golang.org/protobuf/reflect/protoreflect"
)
// Message is the top-level interfac... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/messageset.go | // Copyright 2019 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 proto
import (
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/internal/encoding/messageset"
"google.golang.org/protobuf... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/encode_gen.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.
// Code generated by generate-types. DO NOT EDIT.
package proto
import (
"math"
"unicode/utf8"
"google.golang.org/protobuf/encoding/protowire"
"google.go... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/encode.go | // Copyright 2019 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 proto
import (
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/internal/encoding/messageset"
"google.golang.org/protobuf... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/wrappers.go | // Copyright 2019 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 proto
// Bool stores v in a new bool value and returns a pointer to it.
func Bool(v bool) *bool { return &v }
// Int32 stores v in a new int32 value a... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/checkinit.go | // Copyright 2019 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 proto
import (
"google.golang.org/protobuf/internal/errors"
"google.golang.org/protobuf/reflect/protoreflect"
"google.golang.org/protobuf/runtime/pr... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/merge.go | // Copyright 2019 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 proto
import (
"fmt"
"google.golang.org/protobuf/reflect/protoreflect"
"google.golang.org/protobuf/runtime/protoiface"
)
// Merge merges src into ... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/doc.go | // Copyright 2019 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 proto provides functions operating on protocol buffer messages.
//
// For documentation on protocol buffers in general, see:
//
// https://develope... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/proto_methods.go | // Copyright 2019 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.
// The protoreflect build tag disables use of fast-path methods.
// +build !protoreflect
package proto
import (
"google.golang.org/protobuf/reflect/protorefl... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/decode_gen.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.
// Code generated by generate-types. DO NOT EDIT.
package proto
import (
"math"
"unicode/utf8"
"google.golang.org/protobuf/encoding/protowire"
"google.go... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/size_gen.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.
// Code generated by generate-types. DO NOT EDIT.
package proto
import (
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/reflect... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/reset.go | // Copyright 2019 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 proto
import (
"fmt"
"google.golang.org/protobuf/reflect/protoreflect"
)
// Reset clears every field in the message.
// The resulting message share... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/proto/proto_reflect.go | // Copyright 2019 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.
// The protoreflect build tag disables use of fast-path methods.
// +build protoreflect
package proto
import (
"google.golang.org/protobuf/reflect/protorefle... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal/errors/errors.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 errors implements functions to manipulate errors.
package errors
import (
"errors"
"fmt"
"google.golang.org/protobuf/internal/detrand"
)
// Err... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal/errors/is_go112.go | // Copyright 2020 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.13
package errors
import "reflect"
// Is is a copy of Go 1.13's errors.Is for use with older Go versions.
func Is(err, target error) bool {
i... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal/errors/is_go113.go | // Copyright 2020 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.13
package errors
import "errors"
// Is is errors.Is.
func Is(err, target error) bool { return errors.Is(err, target) }
| 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.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.
// +build !purego,!appengine
package strs
import (
"unsafe"
pref "google.golang.org/protobuf/reflect/protoreflect"
)
type (
stringHeader struct {
Data ... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal/strs/strings_pure.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.
// +build purego appengine
package strs
import pref "google.golang.org/protobuf/reflect/protoreflect"
func UnsafeString(b []byte) string {
return string(b)
... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal/strs/strings.go | // Copyright 2019 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 strs provides string manipulation functionality specific to protobuf.
package strs
import (
"go/token"
"strings"
"unicode"
"unicode/utf8"
"goo... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal/flags/flags.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 flags provides a set of flags controlled by build tags.
package flags
// ProtoLegacy specifies whether to enable support for legacy functionality
//... | 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.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.
// +build !protolegacy
package flags
const protoLegacy = false
| 0 |
rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal | rapidsai_public_repos/roc/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.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.
// +build protolegacy
package flags
const protoLegacy = true
| 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.