text stringlengths 5.51k 28.1k |
|---|
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v0/errors/campaign_budget_error.proto
package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to s... |
package godata
import "strings"
const (
FilterTokenOpenParen int = iota
FilterTokenCloseParen
FilterTokenWhitespace
FilterTokenNav // Property navigation
FilterTokenColon // Function arg separator for 'any(v:boolExpr)' and 'all(v:boolExpr)' lambda operators
FilterTokenComma // 5
FilterTokenLogical // e... |
// Copyright 2017-2021 The NATS Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... |
package html
import "github.com/guillermo/golazy/lazyview/nodes"
// Accept sets accept attribute
func Accept(value ...string) nodes.Attr {
return nodes.NewAttr("accept", value...)
}
// AcceptCharset sets accept-charset attribute
func AcceptCharset(value ...string) nodes.Attr {
return nodes.NewAttr("accept-charset"... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/monitoring/dashboard/v1/layouts.proto
package dashboard
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var... |
// nolint
// 20160901 - Initial version by user johnstuartmill,
// public key <KEY>
// 20161025 - Code revision by user johnstuartmill.
package consensus
import (
"bytes"
"container/heap"
"fmt"
"github.com/samoslab/galtcoin/src/cipher"
"github.com/samoslab/galtcoin/src/cipher/secp256k1-go"
)
///////////////////... |
/*
* Minio Cloud Storage, (C) 2018 Minio, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... |
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package stats
import (
"math"
"rsc.io/benchstat/internal/go-moremath/mathx"
)
// A UDist is the discrete probability distribution of the
// Mann-Whitney U ... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto
package datacatalog
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
)
// Reference imports to suppress errors if they a... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: persist/options.proto
/*
Package persist is a generated protocol buffer package.
It is generated from these files:
persist/options.proto
It has these top-level messages:
QueryOpts
QLImpl
MOpts
TypeMapping
*/
package persist
import proto "github.com/go... |
package server
import (
"bytes"
"context"
"crypto/ed25519"
"encoding/base64"
"encoding/json"
"math"
"sort"
"sync"
"github.com/golang/protobuf/proto"
"github.com/kinecosystem/agora-common/kin/version"
"github.com/kinecosystem/agora-common/solana"
"github.com/kinecosystem/agora-common/solana/token"
"github... |
package clusterup
import (
"fmt"
"io"
"net"
"os"
"path"
"path/filepath"
"strings"
"github.com/docker/docker/api/types/versions"
"github.com/golang/glog"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"k8s.io/apimachinery/pkg/util/sets"
"k8s.io/client-go/rest"
kclientcmd "k8s.io/client-go/tools/clien... |
// @exclude
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.17.3
// source: speechly/identity/v1/identity.proto
package identityv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/proto... |
package main
import (
"bytes"
"encoding/json"
"flag"
"fmt"
"io"
"net"
"net/http"
"os"
"os/exec"
"path/filepath"
"regexp"
"runtime"
"strconv"
"sync"
"time"
"newrelic"
"newrelic/collector"
"newrelic/integration"
"newrelic/log"
"newrelic/secrets"
"newrelic/utilization"
)
var (
flagAgent = flag... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: news.proto
package pb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Refere... |
package keycode
import "n.eko.moe/neko/internal/types"
var BACKSPACE = types.Key{
Name: "BACKSPACE",
Value: "BackSpace",
Code: 8,
Keysym: int(0xff08),
}
var TAB = types.Key{
Name: "TAB",
Value: "Tab",
Code: 9,
Keysym: int(0xFF09),
}
var CLEAR = types.Key{
Name: "CLEAR",
Value: "Clear",
Code:... |
package youtube
import (
"encoding/json"
"errors"
"fmt"
"net/url"
"strconv"
"strings"
"time"
"github.com/patrickmn/go-cache"
"github.com/hqlyz/annie/downloader"
"github.com/hqlyz/annie/myconfig"
"github.com/hqlyz/annie/request"
"github.com/hqlyz/annie/utils"
)
type args struct {
Title string `json:"ti... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: types.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compil... |
package main
import (
"errors"
"flag"
"fmt"
"os"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds"
"github.com/aws/aws-sdk-go/aws/ec2metadata"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk... |
/*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... |
package main
import (
"Lea-Web-Template-Spider/util"
"io/ioutil"
"log"
"net/http"
"os"
"path/filepath"
"regexp"
"strings"
"sync"
)
type LeaSpider struct {
indexUrl string
scheme string // http:// 或 https://
host string // www.lealife.com lealife.com
schemeAndHost ... |
/*
Copyright 2019 Cisco Systems
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
d... |
/*******************************************************************************
*
* Copyright 2017 SAP SE
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You should have received a copy of the License along with this
* program. If... |
// Original file obtained from https://raw.githubusercontent.com/golang/go/4e8badbbc2fe7854bb1c12a9ee42315b4d535051/src/crypto/cipher/gcm.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 ubiq
im... |
package config
/*
* Dual-licensed under Apache-2.0 and MIT.
*
* You can get a copy of the Apache License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* You can also get a copy of the MIT License at
*
* http://opensource.org/licenses/MIT
*
* @wcgcyx - https://github.com/wcgcyx
*/
import (
"os"
"pa... |
package firebaseutils
import (
"github.com/bitrise-io/addons-firebase-testlab/configs"
)
// APIModel ...
type APIModel struct {
JWT *configs.JWTModel
}
/*
// TestDeviceCatalog ...
type TestDeviceCatalog struct {
AndroidDeviceCatalog struct {
Models []struct {
Brand string `json:"brand"`
Co... |
package cache
import (
"context"
"encoding/json"
"openmcp/openmcp/apis"
v1alpha1 "openmcp/openmcp/apis/cache/v1alpha1"
clusterv1alpha1 "openmcp/openmcp/apis/cluster/v1alpha1"
"openmcp/openmcp/omcplog"
"openmcp/openmcp/util/clusterManager"
"reflect"
"sort"
"strconv"
"strings"
"time"
"k8s.io/apimachinery/p... |
package impl
import (
"context"
"fmt"
"sync"
"github.com/lyraproj/issue/issue"
"github.com/lyraproj/puppet-evaluator/eval"
"github.com/lyraproj/puppet-evaluator/threadlocal"
"github.com/lyraproj/puppet-evaluator/types"
"github.com/lyraproj/puppet-parser/parser"
"github.com/lyraproj/puppet-parser/validator"
... |
// +build cgo
// Package dht provides Go bindings for libdht, a library implementing the
// BitTorrent DHT.
package dht
import (
"context"
"errors"
"log"
"math/rand"
"net"
"os"
"sync"
"time"
"unsafe"
)
/*
#include <stdlib.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#incl... |
package iavl
import (
"bytes"
"container/list"
"errors"
"fmt"
"sort"
"sync"
cmn "github.com/tendermint/tmlibs/common"
dbm "github.com/tendermint/tmlibs/db"
)
var (
// All node keys are prefixed with this. This ensures no collision is
// possible with the other keys, and makes them easier to traverse.
node... |
package proxy
import (
"encoding/binary"
"math"
"net"
"strings"
"sync"
"time"
glcache "github.com/AdguardTeam/golibs/cache"
"github.com/AdguardTeam/golibs/log"
"github.com/miekg/dns"
)
// defaultCacheSize is the size of cache in bytes by default.
const defaultCacheSize = 64 * 1024
// cache is used to cache... |
/**
* (C) Copyright 2014, Deft Labs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
// Copyright 2020 WHTCORPS INC, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... |
package rns
import (
"context"
"encoding/json"
"fmt"
"net/url"
"strconv"
"strings"
"github.com/Fishwaldo/go-logadapter"
stdlogger "github.com/Fishwaldo/go-logadapter/loggers/std"
"github.com/nats-io/nats.go"
"github.com/pkg/errors"
)
type ResticNatsClient struct {
Conn *nats.Conn
natsoptions []nat... |
package nat
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"log"
"net"
"time"
"github.com/danderson/nat/stun"
)
// ExchangeCandidatesFun sends/receives Candidates using transport of callers choice.
type ExchangeCandidatesFun func([]byte) []byte
type Config struct {
// ProbeTimeout is the duration between ... |
package cryptonym
import (
"bytes"
"encoding/json"
"fmt"
"fyne.io/fyne"
"fyne.io/fyne/canvas"
"fyne.io/fyne/dialog"
"fyne.io/fyne/layout"
"fyne.io/fyne/theme"
"fyne.io/fyne/widget"
fioassets "github.com/blockpane/cryptonym/assets"
errs "github.com/blockpane/cryptonym/errLog"
"github.com/fioprotocol/fio-go"... |
package acceptance_test
import (
"encoding/json"
"fmt"
"io/ioutil"
"math/rand"
"net/http"
"os"
"os/exec"
"path/filepath"
"regexp"
"strings"
"testing"
"time"
"github.com/google/go-cmp/cmp"
"github.com/sclevine/spec"
"github.com/sclevine/spec/report"
)
var pack string
func TestPack(t *testing.T) {
ran... |
package echo
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"io"
"log"
"net/http"
"path"
"reflect"
"runtime"
"strings"
"sync"
"path/filepath"
"github.com/bradfitz/http2"
"github.com/mattn/go-colorable"
"golang.org/x/net/websocket"
)
type (
Echo struct {
prefix string
middlewar... |
// Copyright (c) 2016 VMware, Inc. All Rights Reserved.
//
// This product is licensed to you under the Apache License, Version 2.0 (the "License").
// You may not use this product except in compliance with the License.
//
// This product may include a number of subcomponents with separate copyright notices and
// lice... |
// Copyright 2015 The etcd Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... |
// Copyright 2018 Istio Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... |
package agreementbot
import (
"errors"
"fmt"
"github.com/golang/glog"
"github.com/open-horizon/anax/config"
"github.com/open-horizon/anax/cutil"
"github.com/open-horizon/anax/events"
"github.com/open-horizon/anax/exchange"
"github.com/open-horizon/anax/semanticversion"
"github.com/open-horizon/edge-sync-servi... |
/*
* MinIO Cloud Storage, (C) 2015, 2016, 2017 MinIO, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2016-present Datadog, Inc.
// +build docker
package docker
import (
"fmt"
"path/filepath"
"sync... |
/*
Copyright 2018 The Knative Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
package operators
import (
"bytes"
"context"
"crypto/rand"
"crypto/rsa"
"crypto/tls"
"crypto/x509"
"crypto/x509/pkix"
"encoding/json"
"encoding/pem"
"fmt"
"log"
"math/big"
"net"
"net/http"
"net/url"
"time"
"github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/openshift/osde2e/pkg/comm... |
package main
/*
#include <stdlib.h>
*/
import "C"
import (
bufio "bufio"
"encoding/json"
"net"
"os"
"reflect"
"strconv"
"strings"
"sync"
"unsafe"
"github.com/codebunt/dart_api_dl"
"github.com/btcsuite/btcd/btcec"
"github.com/getamis/alice/crypto/tss/dkg"
"github.com/getamis/alice/internal/message/ty... |
// Code generated by protoc-gen-go.
// source: google.golang.org/genproto/googleapis/api/metric/metric.proto
// DO NOT EDIT!
/*
Package google_api is a generated protocol buffer package.
It is generated from these files:
google.golang.org/genproto/googleapis/api/metric/metric.proto
It has these top-level messages:
... |
package main
import (
"time"
"log"
"github.com/brokercap/Bifrost/Bristol/mysql"
"database/sql/driver"
"strings"
"strconv"
"os"
"flag"
"fmt"
)
var DbConn MySQLConn
type MySQLConn struct {
Uri string
db mysql.MysqlConnection
}
type MasterBinlogInfoStruct struct {
File string
Position int
Binlog_Do_DB s... |
package mgr
import (
"fmt"
"io"
"net/http"
"os"
"path/filepath"
"strings"
"sync"
"time"
"github.com/alibaba/pouch/apis/types"
"github.com/alibaba/pouch/cri/stream/remotecommand"
"github.com/alibaba/pouch/pkg/meta"
"github.com/alibaba/pouch/pkg/utils"
"github.com/containerd/containerd/mount"
"github.com... |
package servicetraceroute
import (
"net"
"strings"
"time"
"github.com/google/gopacket"
)
//Version of Service Traceroute
const (
Version = "0.3d" // MAKE SURE TO INCREMENT AFTER EVERY CHANGE
)
//Available probing algorithms
const (
PacketByPacket = "packetbypacket" //Send one packet and then wait the reply
H... |
package gocb
import (
"errors"
"fmt"
"net/http"
"strconv"
"sync"
"time"
"github.com/opentracing/opentracing-go"
"gopkg.in/couchbase/gocbcore.v7"
"gopkg.in/couchbaselabs/gocbconnstr.v1"
)
// Cluster represents a connection to a specific Couchbase cluster.
type Cluster struct {
auth Authenticator... |
package tshelper
// contains the logic to process basic tables
// PAT
// PMT
// SDT
// SCTE-35 tables
// does not yet cope with tables that span multiple TS packets
import (
"fmt"
)
type tableTypeEnum uint8
type tableIDsEnum uint8
// from Table 2-31 – table_id assignment values in the mpeg systems spec
const (
... |
// Copyright 2016-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
// not use this file except in compliance with the License. A copy of the
// License is located at
//
// http://aws.amazon.com/apache2.0/
//
// or in the "lic... |
package config
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* ... |
package command
import (
"fmt"
"net/url"
"runtime"
"strings"
"github.com/hashicorp/vault/api"
"github.com/hashicorp/vault/helper/pgpkeys"
"github.com/mitchellh/cli"
"github.com/posener/complete"
consulapi "github.com/hashicorp/consul/api"
)
var _ cli.Command = (*OperatorInitCommand)(nil)
var _ cli.CommandA... |
// Copyright 2019 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License... |
// Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
package xservice
import (
"context"
"fmt"
"net"
"net/http"
"os"
"os/signal"
"strings"
"syscall"
"time"
"github.com/cloudflare/tableflip"
"github.com/getsentry/sentry-go"
sentryecho "github.com/getsentry/sentry-go/echo"
grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware"
grpc_recovery "github.... |
package testtools
import (
"bytes"
"encoding/binary"
"encoding/json"
"errors"
"io"
"os"
"strconv"
"strings"
"testing"
"time"
"github.com/enix/wal-g/pkg/databases/postgres"
"github.com/aws/aws-sdk-go/service/s3/s3manager/s3manageriface"
"github.com/enix/wal-g/internal"
"github.com/enix/wal-g/internal/fs... |
package parser
//go:generate mockgen -source parser.go -destination ../../mocks/pkg/parser/parser.go
import (
"bytes"
"fmt"
"image"
"image/png"
_ "image/png"
"io"
"io/ioutil"
"math"
"os"
"os/exec"
"regexp"
"strconv"
"strings"
"time"
"unicode"
"github.com/disintegration/imaging"
"github.com/snabb/iso... |
// Package cli is the command-line interface driver for acmetool. Everything begins here.
package cli
import (
"bytes"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"strings"
"syscall"
"github.com/hlandau/acmetool/hooks"
"github.com/hlandau/acmetool/interaction"
"github.com/hlandau/acmetool/redirector"
"github.co... |
package skycoin
import (
"flag"
"fmt"
"log"
"net/http"
"os"
"path/filepath"
"runtime/debug"
"runtime/pprof"
"sync"
"time"
"github.com/samoslab/haicoin/src/api"
"github.com/samoslab/haicoin/src/cipher"
"github.com/samoslab/haicoin/src/coin"
"github.com/samoslab/haicoin/src/daemon"
"github.com/samoslab/h... |
package tsm1
/*
A TSM file is composed for four sections: header, blocks, index and the footer.
┌────────┬────────────────────────────────────┬─────────────┬──────────────┐
│ Header │ Blocks │ Index │ Footer │
│5 bytes │ N bytes │ N bytes │ 4 by... |
// Package space provides storage cleanup and eviction functionality (the latter based on the
// least recently used cache replacement). It also serves as a built-in garbage-collection
// mechanism for orphaned workfiles.
/*
* Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
*/
package space
import ... |
/*
Copyright 2022 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... |
// Copyright 2021 The Kubeswitch authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.20.0--rc2
// source: tensorflow/core/framework/tensor_description.proto
package tensor_description_go_proto
import (
allocation_description_go_proto "github.com/wamuir/graft/tensorflow/core/framework/allocati... |
package v1alpha1
import (
"fmt"
"strconv"
"strings"
"github.com/hashicorp/go-version"
core "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1alpha1"
)
const (
ResourceCodeCluster = ""
ResourceKindCluster = "Cluster"
ResourceNameC... |
//go:build go1.16
// +build go1.16
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the cod... |
package observe
import (
"context"
"log"
"math/big"
"time"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/pkg/errors"
"shielder/shuttermint/contract"
"shielder/shuttermi... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.12.4
// source: user/user.proto
package user
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.12.3
// source: pkg/flow/get-workflow-variable.proto
package flow
import (
proto "github.com/golang/protobuf/proto"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.or... |
/*
SPDX-License-Identifier: Apache-2.0
Copyright Contributors to the Submariner project.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requ... |
// This is a test utility for Ethermint's Web3 JSON-RPC services.
//
// To run these tests please first ensure you have the ethermintd running
// and have started the RPC service with `ethermintcli rest-server`.
//
// You can configure the desired HOST and MODE as well
package pending
import (
"encoding/json"
"fmt"
... |
// Copyright 2016-2018, Pulumi Corporation.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... |
package githubql
// CommentAuthorAssociation represents a comment author association with repository.
type CommentAuthorAssociation string
// A comment author association with repository.
const (
CommentAuthorAssociationMember CommentAuthorAssociation = "MEMBER" // Author is a member of... |
package lsp
import (
"bytes"
"encoding/json"
"strings"
)
type None struct{}
type InitializeParams struct {
ProcessID int `json:"processId,omitempty"`
// RootPath is DEPRECATED in favor of the RootURI field.
RootPath string `json:"rootPath,omitempty"`
RootURI DocumentURI `json:"rootUri,o... |
package qualys
import (
"encoding/xml"
"fmt"
"github.com/nortonlifelock/log"
"net/http"
"strings"
"time"
)
const (
postLaunchScan = "/qps/rest/3.0/launch/was/wasscan/"
postGetSiteFindings = "/qps/rest/3.0/search/was/finding"
getScanStatus = "/qps/rest/3.0/status/was/wasscan/<id>"
getWebAppInfo ... |
package ec2tokens
import (
"crypto/hmac"
"crypto/sha1"
"crypto/sha256"
"encoding/hex"
"fmt"
"math/rand"
"net/url"
"sort"
"strings"
"time"
"github.com/lxdcc/gophercloud"
"github.com/lxdcc/gophercloud/openstack/identity/v3/tokens"
)
const (
// EC2CredentialsAwsRequestV4 is a constant, used to generate AWS... |
// Copyright 2018 github.com/ucirello
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... |
package main
import (
"context"
"encoding/json"
"flag"
"fmt"
"io/ioutil"
"log"
"net/url"
"os"
"os/signal"
"regexp"
"sort"
"strings"
"sync"
"syscall"
"time"
cid "github.com/ipfs/go-cid"
"github.com/ipfs/ipfs-cluster/api"
"github.com/ipfs/ipfs-cluster/api/rest/client"
multiaddr "github.com/multiforma... |
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package vector
// This file contains a fixed point math implementation of the vector
// graphics rasterizer.
import (
"golang.org/x/image/math/f32"
)
const ... |
package keybd_event
/*
#include <linux/uinput.h>
*/
import "C"
import (
"encoding/binary"
"errors"
"os"
"syscall"
)
type uinput_user_dev C.struct_uinput_user_dev
type timeval C.struct_timeval
type input_event C.struct_input_event
var fd *os.File
var X11 = true
const (
_EV_KEY = C.EV_KEY
_EV_SYN... |
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package translations
import (
"fmt"
"time"
"go101.org/gold/code"
)
type English struct{}
func (*English) Name() string { return "English" }
func (*English) LangTag() string { return "en-US" }
///////////////////////////////////////////////////////////////////
// common
/////////////////////////////////////////... |
/*
Copyright 2020 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... |
package cmd
import (
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"strconv"
"github.com/ghodss/yaml"
"github.com/jenkins-x/jx/pkg/kube"
"github.com/pkg/errors"
"gopkg.in/AlecAivazis/survey.v1/terminal"
"github.com/jenkins-x/jx/pkg/config"
"github.com/jenkins-x/jx/pkg/jx/cmd/templates"
"github.com/jenkins... |
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package noder
import (
"errors"
"fmt"
"internal/buildcfg"
"io"
"os"
pathpkg "path"
"runtime"
"sort"
"strconv"
"strings"
"unicode"
"unicode/utf8"
... |
// Copyright 2015 The LUCI Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... |
package main
import (
"bytes"
"encoding/json"
"flag"
"fmt"
"io/ioutil"
"log"
"net/http"
"net/http/httputil"
"os"
"sort"
)
type Method int
const (
GET Method = iota
POST
DELETE
PATCH
)
type HttpMethod struct {
method Method
arg interface{}
mesg string
}
type Url string
type PostProxyArg struc... |
package exchange
import (
"bytes"
"encoding/json"
"fmt"
"github.com/open-horizon/anax/businesspolicy"
"github.com/open-horizon/anax/cli/cliconfig"
"github.com/open-horizon/anax/cli/cliutils"
"github.com/open-horizon/anax/compcheck"
"github.com/open-horizon/anax/exchange"
"github.com/open-horizon/anax/exchange... |
package app
import (
"crypto/rand"
"fmt"
"math"
"math/big"
"strconv"
"sync"
"time"
"github.com/Sirupsen/logrus"
"github.com/Tapjoy/dynamiq/app/stats"
"github.com/hashicorp/memberlist"
"github.com/tpjg/goriakpbc"
)
// Define statistics keys suffixes
// QueueSentStatsSuffix is
const QueueSentStatsSuffix = ... |
/*
* Copyright (c) 2021 THL A29 Limited, a Tencent company.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
// This code is available on the terms of the project LICENSE.md file,
// also available online at https://blueoakcouncil.org/license/1.0.0.
//go:build lgpl
package eth
import (
"context"
"crypto/sha256"
"fmt"
"math/big"
"time"
"decred.org/dcrdex/client/asset"
"decred.org/dcrdex/dex"
"decred.org/dcrdex/dex/... |
package service
import (
"context"
"fmt"
"gea/app/dao"
"gea/app/model"
"gea/app/shared"
"gea/app/system/admin/internal/define"
"github.com/gogf/gf/container/garray"
"github.com/gogf/gf/errors/gerror"
"github.com/gogf/gf/frame/g"
"github.com/gogf/gf/os/gcache"
"github.com/gogf/gf/os/gtime"
"github.com/gogf/... |
package ui
import (
"fmt"
"image"
"image/color"
"strconv"
"strings"
"sync"
"time"
"gioui.org/font/gofont"
"gioui.org/layout"
"gioui.org/op/clip"
"gioui.org/op/paint"
"gioui.org/text"
"gioui.org/unit"
"gioui.org/widget"
"gioui.org/widget/material"
"github.com/ararog/timeago"
"github.com/planetdecred/... |
package roll
import (
"context"
"fmt"
"sync"
"time"
"github.com/square/p2/pkg/alerting"
"github.com/square/p2/pkg/audit"
"github.com/square/p2/pkg/health/checker"
hclient "github.com/square/p2/pkg/health/client"
"github.com/square/p2/pkg/labels"
"github.com/square/p2/pkg/logging"
p2metrics "github.com/squa... |
/*
keystore package Copyright 2020 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
s... |
// Licensed to Apache Software Foundation (ASF) under one or more contributor
// license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright
// ownership. Apache Software Foundation (ASF) licenses this file to you under
// the Apache License, Version 2.0 (the "Li... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.