repo_id
stringclasses
927 values
file_path
stringlengths
99
214
content
stringlengths
2
4.15M
aetest
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/aetest/instance.go
package aetest import ( "context" "io" "net/http" "time" "google.golang.org/appengine" ) // Instance represents a running instance of the development API Server. type Instance interface { // Close kills the child api_server.py process, releasing its resources. io.Closer // NewRequest returns an *http.Request...
aetest
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/aetest/doc.go
/* Package aetest provides an API for running dev_appserver for use in tests. An example test file: package foo_test import ( "testing" "google.golang.org/appengine/memcache" "google.golang.org/appengine/aetest" ) func TestFoo(t *testing.T) { ctx, done, err := aetest.NewContext() if err != nil { t...
aetest
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/aetest/instance_test.go
package aetest import ( "os" "testing" "google.golang.org/appengine" "google.golang.org/appengine/datastore" "google.golang.org/appengine/internal" "google.golang.org/appengine/memcache" "google.golang.org/appengine/user" ) func TestBasicAPICalls(t *testing.T) { // Only run the test if APPENGINE_DEV_APPSERVE...
aetest
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/aetest/instance_vm.go
//go:build !appengine // +build !appengine package aetest import ( "bufio" "crypto/rand" "errors" "fmt" "io" "io/ioutil" "net/http" "net/url" "os" "os/exec" "path/filepath" "regexp" "time" "google.golang.org/appengine/internal" ) // NewInstance launches a running instance of api_server.py which can be...
mail
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/mail/mail_test.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 mail import ( "testing" "github.com/golang/protobuf/proto" "google.golang.org/appengine/internal/aetesting" basepb "google.golang.org/appengine/in...
mail
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/mail/mail.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 mail provides the means of sending email from an App Engine application. Example: msg := &mail.Message{ Sender: "romeo@montague.com", To: ...
file
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/file/file.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 file provides helper functions for using Google Cloud Storage. package file import ( "context" "fmt" "google.golang.org/appengine/internal" aipb...
blobstore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/blobstore/blobstore.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 blobstore provides a client for App Engine's persistent blob // storage service. package blobstore // import "google.golang.org/appengine/blobstore" ...
blobstore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/blobstore/blobstore_test.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 blobstore import ( "bytes" "encoding/base64" "fmt" "io" "mime/multipart" "mime/quotedprintable" "net/http" "net/textproto" "os" "strconv" "st...
blobstore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/blobstore/read.go
// Copyright 2012 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 blobstore import ( "context" "errors" "fmt" "io" "os" "sync" "github.com/golang/protobuf/proto" "google.golang.org/appengine" "google.golang....
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/prop.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 datastore import ( "fmt" "reflect" "strings" "sync" "unicode" ) // Entities with more than this many indexed properties will not be saved. const m...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/save.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 datastore import ( "errors" "fmt" "math" "reflect" "time" "github.com/golang/protobuf/proto" "google.golang.org/appengine" pb "google.golang.o...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/query.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 datastore import ( "context" "encoding/base64" "errors" "fmt" "math" "reflect" "strings" "github.com/golang/protobuf/proto" "google.golang.or...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/doc.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 datastore provides a client for App Engine's datastore service. # Basic Operations Entities are the unit of storage and are associated with a key. A...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/keycompat.go
// Copyright 2019 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 datastore import ( "context" "sync" "google.golang.org/appengine/datastore/internal/cloudkey" "google.golang.org/appengine/internal" ) var keyConv...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/datastore.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 datastore import ( "context" "errors" "fmt" "reflect" "github.com/golang/protobuf/proto" "google.golang.org/appengine" "google.golang.org/appen...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/transaction.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 datastore import ( "context" "errors" "google.golang.org/appengine/internal" pb "google.golang.org/appengine/internal/datastore" ) func init() { ...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/metadata.go
// Copyright 2016 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 datastore import "context" // Datastore kinds for the metadata entities. const ( namespaceKind = "__namespace__" kindKind = "__kind__" property...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/key.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 datastore import ( "bytes" "context" "encoding/base64" "encoding/gob" "errors" "fmt" "strconv" "strings" "github.com/golang/protobuf/proto" ...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/query_test.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 datastore import ( "errors" "fmt" "reflect" "strings" "testing" "github.com/golang/protobuf/proto" "google.golang.org/appengine/internal" "goo...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/datastore_test.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 datastore import ( "encoding/json" "errors" "fmt" "os" "reflect" "sort" "strings" "testing" "time" "google.golang.org/appengine" "google.gol...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/time_test.go
// Copyright 2012 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 datastore import ( "testing" "time" ) func TestUnixMicro(t *testing.T) { // Test that all these time.Time values survive a round trip to unix micros...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/keycompat_test.go
// Copyright 2019 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 datastore import ( "reflect" "testing" ) func TestKeyConversion(t *testing.T) { var tests = []struct { desc string key *Key encod...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/prop_test.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 datastore import ( "reflect" "sort" "testing" "time" "google.golang.org/appengine" ) func TestValidPropertyName(t *testing.T) { testCases := []s...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/key_test.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 datastore import ( "bytes" "context" "encoding/gob" "encoding/json" "testing" "google.golang.org/appengine/internal" ) func TestKeyEncoding(t *t...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/load.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 datastore import ( "fmt" "reflect" "strings" "time" "github.com/golang/protobuf/proto" "google.golang.org/appengine" pb "google.golang.org/appen...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/load_test.go
// Copyright 2016 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 datastore import ( "reflect" "testing" proto "github.com/golang/protobuf/proto" pb "google.golang.org/appengine/internal/datastore" ) type Simple ...
cloudpb
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/internal/cloudpb/entity.pb.go
// Copyright 2019 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 cloudpb is a subset of protobufs, copied from google.golang.org/genproto/googleapis/datastore/v1. // // They are copied here to provide compatibility ...
cloudkey
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/datastore/internal/cloudkey/cloudkey.go
// Copyright 2019 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 cloudpb is a subset of types and functions, copied from cloud.google.com/go/datastore. // // They are copied here to provide compatibility to decode k...
xmpp
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/xmpp/xmpp.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 xmpp provides the means to send and receive instant messages to and from users of XMPP-compatible services. To send a message, m := &xmpp.Message{ ...
xmpp
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/xmpp/xmpp_test.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 xmpp import ( "fmt" "reflect" "testing" "github.com/golang/protobuf/proto" "google.golang.org/appengine" "google.golang.org/appengine/internal/a...
runtime
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/runtime/runtime_test.go
// Copyright 2012 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 runtime import ( "context" "fmt" "net/http" "net/http/httptest" "testing" "time" "github.com/golang/protobuf/proto" "google.golang.org/appengi...
runtime
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/runtime/runtime.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 runtime exposes information about the resource usage of the application. It also provides a way to run code in a new background context of a module. ...
socket
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/socket/socket_vm.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. //go:build !appengine // +build !appengine package socket import ( "context" "net" "time" ) // Dial connects to the address addr on the network protocol. /...
socket
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/socket/doc.go
// Copyright 2012 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 socket provides outbound network sockets. // // This package is only required in the classic App Engine environment. // Applications running only in A...
socket
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/socket/socket_classic.go
// Copyright 2012 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. //go:build appengine // +build appengine package socket import ( "context" "fmt" "io" "net" "strconv" "time" "github.com/golang/protobuf/proto" "googl...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/main_test.go
//go:build !appengine // +build !appengine package internal import ( "go/build" "path/filepath" "testing" ) func TestFindMainPath(t *testing.T) { // Tests won't have package main, instead they have testing.tRunner want := filepath.Join(build.Default.GOROOT, "src", "testing", "testing.go") got := findMainPath()...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/internal_vm_test.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. //go:build !appengine // +build !appengine package internal import ( "io" "io/ioutil" "net/http" "net/http/httptest" "testing" ) func TestInstallingHealt...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/app_id_test.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 ( "testing" ) func TestAppIDParsing(t *testing.T) { testCases := []struct { in string partition, domain...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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. //go:build appengine // +build appengine package internal import ( "context" "appengine" ) func init() { appengineStandard = true } func DefaultVersionHo...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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 { ...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/api_test.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. //go:build !appengine // +build !appengine package internal import ( "bufio" "bytes" "context" "fmt" "io" "io/ioutil" "net/http" "net/http/httptest" "...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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 ( "context" "errors" "os" "github.com/golang/protobuf/proto" ) type ctxKey string func (c ctxKey) String() string { return "appe...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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 ( "context" "os" ) var ( // This is set to true in identity_classic.go, which is behind the appengine build tag. // The appengine b...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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 ( "context" "errors" "reflect" "github.com/golang/protobuf/prot...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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. //go:build appengine // +build appengine package internal import ( "context" "errors" "fmt" "net/http" "time" "appengine" "appengine_internal" basepb ...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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"...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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. //go:build !appengine // +build !appengine package internal import ( "context" "log" "net/http" "os" "strings" ) // These functions are implementations o...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/api_race_test.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. //go:build race // +build race package internal func init() { raceDetector = true }
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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. //go:build appengine // +build appengine package internal import ( "appengine_internal" ) func Main() { MainPath = "" appengine_internal.Main() }
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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. //go:build appenginevm // +build appenginevm package internal func init() { appengineFlex = true }
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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. //go:build !appengine // +build !appengine package internal import ( "io" "log" "net/http" "net/url" "os" "path/filepath" "runtime" ) func Main() { Ma...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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" ...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/net_test.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. //go:build !appengine // +build !appengine package internal import ( "context" "sync" "testing" "time" basepb "google.golang.org/appengine/internal/base"...
internal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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. //go:build !appengine // +build !appengine package internal import ( "bytes" "context" "errors" "fmt" "io/ioutil" "log" "net" "net/http" "net/url" "o...
log
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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...
log
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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 _ = ...
mail
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/mail/mail_service.proto
syntax = "proto2"; option go_package = "mail"; package appengine; message MailServiceError { enum ErrorCode { OK = 0; INTERNAL_ERROR = 1; BAD_REQUEST = 2; UNAUTHORIZED_SENDER = 3; INVALID_ATTACHMENT_TYPE = 4; INVALID_HEADER_NAME = 5; INVALID_CONTENT_ID = 6; } } message MailAttachment ...
mail
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/mail/mail_service.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google.golang.org/appengine/internal/mail/mail_service.proto package mail 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 _...
modules
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/modules/modules_service.proto
syntax = "proto2"; option go_package = "modules"; package appengine; message ModulesServiceError { enum ErrorCode { OK = 0; INVALID_MODULE = 1; INVALID_VERSION = 2; INVALID_INSTANCES = 3; TRANSIENT_ERROR = 4; UNEXPECTED_STATE = 5; } } message GetModulesRequest { } message GetModulesResp...
modules
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/modules/modules_service.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google.golang.org/appengine/internal/modules/modules_service.proto package modules 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.Mars...
app_identity
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/app_identity/app_identity_service.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google.golang.org/appengine/internal/app_identity/app_identity_service.proto package app_identity 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...
app_identity
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/app_identity/app_identity_service.proto
syntax = "proto2"; option go_package = "app_identity"; package appengine; message AppIdentityServiceError { enum ErrorCode { SUCCESS = 0; UNKNOWN_SCOPE = 9; BLOB_TOO_LARGE = 1000; DEADLINE_EXCEEDED = 1001; NOT_A_VALID_APP = 1002; UNKNOWN_ERROR = 1003; NOT_ALLOWED = 1005; NOT_IMPLEMEN...
system
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/system/system_service.proto
syntax = "proto2"; option go_package = "system"; package appengine; message SystemServiceError { enum ErrorCode { OK = 0; INTERNAL_ERROR = 1; BACKEND_REQUIRED = 2; LIMIT_REACHED = 3; } } message SystemStat { // Instaneous value of this stat. optional double current = 1; // Average over tim...
system
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/system/system_service.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google.golang.org/appengine/internal/system/system_service.proto package system 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...
blobstore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/blobstore/blobstore_service.proto
syntax = "proto2"; option go_package = "blobstore"; package appengine; message BlobstoreServiceError { enum ErrorCode { OK = 0; INTERNAL_ERROR = 1; URL_TOO_LONG = 2; PERMISSION_DENIED = 3; BLOB_NOT_FOUND = 4; DATA_INDEX_OUT_OF_RANGE = 5; BLOB_FETCH_SIZE_TOO_LARGE = 6; ARGUMENT_OUT_OF...
blobstore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/blobstore/blobstore_service.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google.golang.org/appengine/internal/blobstore/blobstore_service.proto package blobstore 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 _ = prot...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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...
datastore
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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...
xmpp
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/xmpp/xmpp_service.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google.golang.org/appengine/internal/xmpp/xmpp_service.proto package xmpp 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 _...
xmpp
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/xmpp/xmpp_service.proto
syntax = "proto2"; option go_package = "xmpp"; package appengine; message XmppServiceError { enum ErrorCode { UNSPECIFIED_ERROR = 1; INVALID_JID = 2; NO_BODY = 3; INVALID_XML = 4; INVALID_TYPE = 5; INVALID_SHOW = 6; EXCEEDED_MAX_SIZE = 7; APPID_ALIAS_REQUIRED = 8; NONDEFAULT_MODU...
socket
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/socket/socket_service.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google.golang.org/appengine/internal/socket/socket_service.proto package socket 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...
socket
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/socket/socket_service.proto
syntax = "proto2"; option go_package = "socket"; package appengine; message RemoteSocketServiceError { enum ErrorCode { SYSTEM_ERROR = 1; GAI_ERROR = 2; FAILURE = 4; PERMISSION_DENIED = 5; INVALID_REQUEST = 6; SOCKET_CLOSED = 7; } enum SystemError { option allow_alias = true; S...
memcache
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/memcache/memcache_service.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 // protoc v3.21.8 // source: memcache_service.proto package memcache import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sy...
memcache
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/memcache/memcache_service.proto
syntax = "proto2"; option go_package = "memcache"; package appengine; message MemcacheServiceError { enum ErrorCode { OK = 0; UNSPECIFIED_ERROR = 1; NAMESPACE_NOT_SET = 2; PERMISSION_DENIED = 3; INVALID_VALUE = 6; } } message AppOverride { required string app_id = 1; optional int32 num_m...
urlfetch
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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 =...
urlfetch
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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...
image
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/image/images_service.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google.golang.org/appengine/internal/image/images_service.proto package image 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 v...
image
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/image/images_service.proto
syntax = "proto2"; option go_package = "image"; package appengine; message ImagesServiceError { enum ErrorCode { UNSPECIFIED_ERROR = 1; BAD_TRANSFORM_DATA = 2; NOT_IMAGE = 3; BAD_IMAGE_DATA = 4; IMAGE_TOO_LARGE = 5; INVALID_BLOB_KEY = 6; ACCESS_DENIED = 7; OBJECT_NOT_FOUND = 8; } }...
search
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/search/search.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google.golang.org/appengine/internal/search/search.proto package search 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 _ =...
search
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/search/search.proto
syntax = "proto2"; option go_package = "search"; package search; message Scope { enum Type { USER_BY_CANONICAL_ID = 1; USER_BY_EMAIL = 2; GROUP_BY_CANONICAL_ID = 3; GROUP_BY_EMAIL = 4; GROUP_BY_DOMAIN = 5; ALL_USERS = 6; ALL_AUTHENTICATED_USERS = 7; } optional Type type = 1; optio...
capability
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/capability/capability_service.proto
syntax = "proto2"; option go_package = "capability"; package appengine; message IsEnabledRequest { required string package = 1; repeated string capability = 2; repeated string call = 3; } message IsEnabledResponse { enum SummaryStatus { DEFAULT = 0; ENABLED = 1; SCHEDULED_FUTURE = 2; SCHEDULE...
capability
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/capability/capability_service.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google.golang.org/appengine/internal/capability/capability_service.proto package capability 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 _ = p...
user
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/user/user_service.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google.golang.org/appengine/internal/user/user_service.proto package user 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 _...
user
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/user/user_service.proto
syntax = "proto2"; option go_package = "user"; package appengine; message UserServiceError { enum ErrorCode { OK = 0; REDIRECT_URL_TOO_LONG = 1; NOT_ALLOWED = 2; OAUTH_INVALID_TOKEN = 3; OAUTH_INVALID_REQUEST = 4; OAUTH_ERROR = 5; } } message CreateLoginURLRequest { required string dest...
taskqueue
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/taskqueue/taskqueue_service.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google.golang.org/appengine/internal/taskqueue/taskqueue_service.proto package taskqueue import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import datastore "google.golang.org/appengine/internal/datastore" // Reference impor...
taskqueue
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/taskqueue/taskqueue_service.proto
syntax = "proto2"; option go_package = "taskqueue"; import "google.golang.org/appengine/internal/datastore/datastore_v3.proto"; package appengine; message TaskQueueServiceError { enum ErrorCode { OK = 0; UNKNOWN_QUEUE = 1; TRANSIENT_ERROR = 2; INTERNAL_ERROR = 3; TASK_TOO_LARGE = 4; INVALID...
remote_api
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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...
remote_api
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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...
aetesting
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/aetesting/fake.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 aetesting provides utilities for testing App Engine packages. // This is not for testing user applications. package aetesting import ( "context" "f...
base
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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...
base
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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 ...
channel
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/channel/channel_service.proto
syntax = "proto2"; option go_package = "channel"; package appengine; message ChannelServiceError { enum ErrorCode { OK = 0; INTERNAL_ERROR = 1; INVALID_CHANNEL_KEY = 2; BAD_MESSAGE = 3; INVALID_CHANNEL_TOKEN_DURATION = 4; APPID_ALIAS_REQUIRED = 5; } } message CreateChannelRequest { requ...
channel
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/internal/channel/channel_service.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google.golang.org/appengine/internal/channel/channel_service.proto package channel 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.Mars...
memcache
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/memcache/memcache_test.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 memcache import ( "fmt" "testing" "google.golang.org/appengine" "google.golang.org/appengine/internal/aetesting" pb "google.golang.org/appengine/i...
memcache
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/appengine/memcache/memcache.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 memcache provides a client for App Engine's distributed in-memory // key-value store for small chunks of arbitrary data. // // The fundamental operati...
urlfetch
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/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...