text stringlengths 3.11k 18.9k |
|---|
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: alameda_api/v1alpha1/datahub/schemas/services.proto
package schemas
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
status "google.golang.org/genproto/googleapis/rpc/status"
math "math"
)
// Reference imports to suppress errors if they are n... |
// Copyright 2018 Google Inc. 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
package qqwry
import (
"encoding/binary"
"errors"
"io/ioutil"
"log"
"net"
"os"
"strings"
"time"
"golang.org/x/text/encoding/simplifiedchinese"
)
// qqwry.LoadData("data/qqwry.dat")
// rs := qqwry.Find("172.16.17.32")
// log.Println(rs)
const (
// IndexLen 索引长度
IndexLen = 7
// RedirectMode1 国家的类型, 指向另一个指... |
package dns
import (
"context"
"sync"
"sync/atomic"
"time"
"github.com/miekg/dns"
"v2ray.com/core"
"v2ray.com/core/common"
"v2ray.com/core/common/buf"
"v2ray.com/core/common/net"
"v2ray.com/core/common/signal/pubsub"
"v2ray.com/core/common/task"
"v2ray.com/core/transport/internet/udp"
)
var (
multiQuest... |
// +build linux
/*
Copyright 2015 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 agree... |
package xpath
import (
"fmt"
"strconv"
"strings"
"time"
path "github.com/antchfx/xpath"
"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/metric"
)
type dataNode interface{}
type dataDocument interface {
Parse(buf []byte) (dataNode, error)
QueryAll(node dataNode, expr string) ([]dataNode, e... |
package encryption
import (
"encoding/json"
"fmt"
"sort"
"strconv"
"strings"
"testing"
"time"
"github.com/stretchr/testify/require"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/apimachinery... |
// Code generated by protoc-gen-go.
// source: plugin.proto
// DO NOT EDIT!
/*
Package plugin is a generated protocol buffer package.
It is generated from these files:
plugin.proto
It has these top-level messages:
StartRequest
StartResponse
StopRequest
StopResponse
StatusRequest
StatusResponse
*/
package plug... |
// Copyright 2016 The Cockroach 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 ag... |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package lzw implements the Lempel-Ziv-Welch compressed data format,
// described in <NAME>, ``A Technique for High-Performance Data
// Compression'', Compute... |
// Copyright 2018 The Chubao 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 agree... |
package signer
import (
"bytes"
"context"
"crypto/elliptic"
"encoding/hex"
"errors"
"fmt"
"log"
"math"
"math/big"
"golang.org/x/crypto/blake2b"
"golang.org/x/crypto/ed25519"
cloudkms "cloud.google.com/go/kms/apiv1"
kmspb "google.golang.org/genproto/googleapis/cloud/kms/v1"
"github.com/btcsuite/btcd/bt... |
// Copyright 2018 ETH Zurich, Anapaya 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... |
package harvester
import (
"errors"
"os"
"golang.org/x/text/transform"
"io"
"github.com/elastic/beats/filebeat/config"
"github.com/elastic/beats/filebeat/harvester/encoding"
"github.com/elastic/beats/filebeat/harvester/processor"
"github.com/elastic/beats/filebeat/harvester/reader"
"github.com/elastic/beat... |
package job
import (
"context"
"strconv"
"sync"
"time"
"github.com/pkg/errors"
"github.com/vordev/VOR/core/logger"
"github.com/vordev/VOR/core/services/postgres"
"github.com/vordev/VOR/core/store/models"
"github.com/vordev/VOR/core/utils"
)
//go:generate mockery --name Spawner --output ./mocks/ --case=unde... |
/*
Copyright 2018 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 writing, software
dis... |
// Copyright 2020 The Hugo Authors. 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.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
package rdbmstool
import (
"errors"
"fmt"
"strings"
)
// ColumnDataType is enum for data column's data type
type ColumnDataType uint8
// Data table column's data type definition
const (
CHAR ColumnDataType = iota + 1
INTEGER ColumnDataType = iota + 1
DECIMAL ColumnDataType = iota + 1
FLOAT ColumnData... |
package shadowss
import (
"bytes"
"encoding/binary"
"fmt"
"io"
"log"
"net"
"os"
"strconv"
"syscall"
"time"
connection "shadowsocks-go/pkg/connection"
encrypt "shadowsocks-go/pkg/connection"
"shadowsocks-go/pkg/util"
"github.com/golang/glog"
)
const (
idType = 0 // address type index
idIP0 = 1 // ... |
// Licensed to Elasticsearch B.V. under one or more contributor
// license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright
// ownership. Elasticsearch B.V. licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may
// not use ... |
package main
import (
"context"
"fmt"
"regexp"
"strconv"
"strings"
"time"
"github.com/sirupsen/logrus"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
prowconfig "k8s.io/test-infra/prow/config"
"k8s.io/test-infra/prow/github"
"k8s.io/test-infra/prow/kube"
"k8s.io/test-infra/prow/pluginhelp"
"k8s.io/test-i... |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 37