text stringlengths 8.57k 38.1k |
|---|
package translate
import (
"fmt"
)
type GoogleCode uint32
const (
GoogleAuto GoogleCode = iota //
GoogleAF // Burry (Afrikaans), 布尔语(南非荷兰语), Burry (Afrikaans),
GoogleAM // Amharic, 阿姆哈拉语, አማርኛ,
GoogleAR // Arabic, ... |
package canvas
import (
"math"
"sort"
"github.com/gsvigruha/canvas/backend/backendbase"
)
// Go port of https://github.com/mapbox/earcut.hpp
type node struct {
i int
x, y float64
// previous and next vertice nodes in a polygon ring
prev *node
next *node
// z-order curve value
z int
// previous and ... |
package tsdb
import (
"encoding/binary"
"errors"
"fmt"
"math"
"sort"
"strings"
"github.com/boltdb/bolt"
"github.com/influxdb/influxdb/influxql"
)
// mapperValue is a complex type, which can encapsulate data from both raw and aggregate
// mappers. This currently allows marshalling and network system to remain... |
package diane
import (
"dbmongo/lib/engine"
"encoding/csv"
"io"
"os/exec"
"strconv"
"time"
"github.com/chrnin/gournal"
"github.com/spf13/viper"
)
// Diane Information financières
type Diane struct {
Annee *int `json:"exercice_diane" bson:"exercice_diane"`
NomEntreprise ... |
package ghostferry
import (
"crypto/tls"
"crypto/x509"
"errors"
"fmt"
sql "github.com/Shopify/ghostferry/sqlwrapper"
"io/ioutil"
"regexp"
"time"
"github.com/go-sql-driver/mysql"
"github.com/sirupsen/logrus"
)
const (
VerifierTypeChecksumTable = "ChecksumTable"
VerifierTypeIterative = "Iterative"
V... |
// DO NOT EDIT THIS FILE. GENERATED BY svdxgen.
// +build stm32f407
// Package otg_hs_global provides access to the registers of the OTG_HS_GLOBAL peripheral.
//
// Instances:
// OTG_HS_GLOBAL OTG_HS_GLOBAL_BASE - OTG_HS_EP1_OUT,OTG_HS_EP1_IN,OTG_HS_WKUP,OTG_HS USB on the go high speed
// Registers:
// 0x000 32... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: common/policies.proto
package common
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
msp "github.com/hyperledger/fabric-protos-go/msp"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marsha... |
package config
import (
"fmt"
"io"
"math/rand"
"net/url"
"os"
"os/user"
"path"
"strings"
"sync"
"time"
"github.com/giantswarm/microerror"
"github.com/golang-jwt/jwt"
"github.com/spf13/afero"
"gopkg.in/yaml.v2"
"github.com/giantswarm/gscliauth/oidc"
)
const (
// ConfigFileType is the type of config f... |
// Copyright 2014 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... |
package hwio
import "strings"
// A driver for BeagleBone's running Linux kernel 3.8 or higher, which use device trees instead
// of the old driver.
//
// Notable differences between this driver and the other BeagleBone driver:
// - this uses the file system for everything.
// - will only work on linux kernel 3.8 and ... |
package basichost
import (
"context"
"io"
"net"
"sync"
"time"
"github.com/libp2p/go-libp2p/p2p/protocol/identify"
"github.com/libp2p/go-libp2p/p2p/protocol/ping"
"github.com/libp2p/go-libp2p-core/connmgr"
"github.com/libp2p/go-libp2p-core/event"
"github.com/libp2p/go-libp2p-core/host"
"github.com/libp2p/g... |
// 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 filedesc
import (
"bytes"
"fmt"
"sync"
"sync/atomic"
"google.golang.org/protobuf/internal/descfmt"
"google.golang.org/protobuf/internal/descopts... |
// Copyright 2019 Google LLC 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 ... |
/*
* Copyright 2017 <NAME>, Inc. and Contributors
*
* 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... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/api/v3alpha/core/config_source.proto
package envoy_api_v3alpha_core
import (
fmt "fmt"
_ "github.com/envoyproxy/protoc-gen-validate/validate"
proto "github.com/golang/protobuf/proto"
duration "github.com/golang/protobuf/ptypes/duration"
wrappers "... |
// Copyright 2021 <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 writ... |
package main
import (
"fmt"
"html/template"
"log"
"net/http"
"path/filepath"
"strings"
"github.com/dchest/captcha"
"github.com/shurcooL/httpfs/html/vfstemplate"
"gopkg.in/mgo.v2"
)
// MaxFileSize 사이즈는 웹에서 전송할 수 있는 최대 사이즈를 2기가로 제한한다.(인트라넷)
const MaxFileSize = 2000 * 1000 * 1024
// LoadTemplates 함수는 템플릿을 로딩합... |
/*
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, software
distri... |
// Copyright (c) 2020 <NAME> <<EMAIL>>
// MIT Licence - http://opensource.org/licenses/MIT
package main
import (
"encoding/json"
"flag"
"fmt"
"github.com/blacs30/bitwarden-alfred-workflow/alfred"
aw "github.com/deanishe/awgo"
"github.com/deanishe/awgo/util"
"log"
"os"
"os/exec"
"strconv"
"time"
)
var (
o... |
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: validator.proto
package validator
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = ... |
package transport
import (
"fmt"
"io"
)
const (
maxStreams = 1 << 60
// Minimum remaining data in sending buffer that application is notified writable stream.
minStreamBufferWritable = 8192
)
type deliveryState uint8
const (
deliveryNone deliveryState = iota
deliveryReady
deliverySending
deliveryConfirmed
... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc (unknown)
// source: sample/v1/echo_api.proto
package samplev1
import (
reflect "reflect"
sync "sync"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflec... |
// +build zui
package zfields
import (
"fmt"
"reflect"
"sort"
"strconv"
"strings"
"time"
"github.com/torlangballe/zui"
"github.com/torlangballe/zutil/zbool"
"github.com/torlangballe/zutil/zdict"
"github.com/torlangballe/zutil/zfloat"
"github.com/torlangballe/zutil/zgeo"
"github.com/torlangballe/zutil/zin... |
package badstudent
import (
"encoding/json"
"fmt"
"os"
"os/exec"
"strconv"
)
// RegisterNamePresentError documents errors resulting from conflicting names given by
// TypeString() while Registering types
type RegisterNamePresentError struct {
typ string
name string
}
func (err RegisterNamePresentError) Error... |
// This MIB contains managed object definitions for Pseudo Wire
// emulation of ATM over Packet Switched Networks(PSN).
//
// This MIB reports to the PW-MIB. The PW-MIB contains
// structures and MIB associations generic to Pseudo-Wire
// Virtual Circuit (VC) emulation. VC-specific MIBs (such as
// this) contain confi... |
// Package access implements parsing and creation of objects specified by GlobalPlatform Secure Element Access Control v1.1.
package access
import (
"bytes"
"fmt"
"github.com/pkg/errors"
"github.com/skythen/bertlv"
"github.com/skythen/gobalplatform/aid"
"github.com/skythen/gobalplatform/internal/util"
"github.... |
package kcpserver
import (
"crypto/tls"
"encoding/json"
"fmt"
"io"
"log"
"net"
"os"
"strconv"
"strings"
"syscall"
"time"
"gitee.com/dark.H/go-remote-repl/datas"
"github.com/Qingluan/Kcpee/general"
"github.com/Qingluan/Kcpee/utils"
"github.com/fatih/color"
"github.com/xtaci/kcp-g... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: cvss.proto
package cvss_go_proto
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 com... |
/*
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
distributed under the License ... |
// SPDX-License-Identifier: Unlicense OR MIT
package gpu
// GPU accelerated path drawing using the algorithms from
// Pathfinder (https://github.com/pcwalton/pathfinder).
import (
"image"
"unsafe"
"gioui.org/ui/app/internal/gl"
"gioui.org/ui/f32"
"gioui.org/ui/internal/path"
)
type pather struct {
ctx *conte... |
package main
import (
"fmt"
"io/ioutil"
"os"
"path/filepath"
"reflect"
"runtime"
"strconv"
"strings"
"time"
)
// debug is a flag for whether or not debug messages should be displayed.
var debug bool
// startTime is the time when the program started.
var startTime time.Time
// indentOn is a flag indicating ... |
// Copyright (C) 2015,2016 Nippon Telegraph and Telephone 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 req... |
/*
*
* Copyright 2019 gRPC 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... |
// Copyright 2021 Google LLC
//
// 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 w... |
/*
Copyright IBM Corp. 2016 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 law or ag... |
package rpc
import (
"math/big"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/nervosnetwork/ckb-sdk-go/types"
)
type epoch struct {
CompactTarget hexutil.Uint64 `json:"compact_target"`
Length hexutil.Uint64 `json:"length"`
Number hexutil.Uint64 `json:"number"`
StartNumber hexut... |
/*
Copyright 2018 Turbine Labs, 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, softw... |
/*
* Copyright 2020-2021 Venafi, 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 ... |
/*
* Copyright 2020-2021 VMware, 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 law... |
// Copyright 2016 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 cache
import (
"bufio"
"crypto/sha256"
"encoding/hex"
"errors"
"fmt"
"io"
"io/ioutil"
"math/rand"
"net/http"
"os"
"path/filepath"
"regexp"
"sync"
"sync/atomic"
"time"
"github.com/kupnu4x/chproxy/config"
"github.com/kupnu4x/chproxy/log"
)
// cacheVersion must be increased with each backwads-i... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.14.0
// source: envoy/extensions/access_loggers/file/v3/file.proto
package envoy_extensions_access_loggers_file_v3
import (
_ "github.com/antJack/go-control-plane-v3/envoy/annotations"
v3 "github.com/antJack... |
/***
Copyright 2014 Cisco Systems 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 law or agreed to... |
/*
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
"License"); you may not use this f... |
package pkglint
import (
"path"
"sort"
"strings"
)
// Vartype is a combination of a data type and a permission specification.
// See vardefs.go for examples, and vartypecheck.go for the implementation.
type Vartype struct {
basicType *BasicType
options vartypeOptions
aclEntries []ACLEntry
}
func NewVartype... |
package xbps
import "testing"
type testCase interface {
name() string
run(*testing.T)
}
// pkgVerSuccCase is a test case for successful parsing of an input string to a desired value.
type pkgVerSuccCase struct {
In string
Want PkgVer
}
func (c pkgVerSuccCase) name() string {
return c.In
}
func (c pkgVerSucc... |
/*
* Datadog API for Go
*
* Please see the included LICENSE file for licensing information.
*
* Copyright 2017 by authors and contributors.
*/
package datadog
import (
"encoding/json"
"fmt"
"net/url"
"regexp"
"strings"
"time"
)
// Define the available machine-readable SLO types
const (
ServiceLevelObjec... |
// Copyright 2014 The Serviced 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 aftership
import (
"context"
"fmt"
"net/http"
"net/url"
"time"
"github.com/pkg/errors"
)
// CreateTrackingParams provides parameters for new Tracking API request
type CreateTrackingParams struct {
TrackingNumber string `json:"tracking_number"` // Tracking ... |
//Package garabic provides a set of functions for Arabic text processing in golang
package garabic
import (
"bytes"
"fmt"
"strings"
"unicode"
"golang.org/x/text/runes"
"golang.org/x/text/transform"
)
//letterGroup represents the letter and bounding letters
type letterGroup struct {
backLetter rune
letter ... |
package main
import (
"encoding/json"
"errors"
"io/ioutil"
"log"
"math"
"net"
"net/http"
"os"
"os/signal"
"reflect"
"sync"
"syscall"
"time"
"fmt"
"strconv"
"strings"
"github.com/oschwald/geoip2-golang"
)
// Global vars
var SDIR = "/var/db/ix-stats"
// What file to store current stats in
var DAILYFIL... |
package richtext
import (
"github.com/gop9/olt/gio/io/pointer"
"image"
"image/color"
"unicode/utf8"
"github.com/gop9/olt/framework"
"github.com/gop9/olt/framework/command"
"github.com/gop9/olt/framework/font"
"github.com/gop9/olt/framework/rect"
nstyle "github.com/gop9/olt/framework/style"
"golang.org/x/ima... |
package broker
import (
"context"
"fmt"
"reflect"
"strconv"
"strings"
"time"
rocketmqv1beta1 "github.com/zeratullich/rocketmq-operator/pkg/apis/rocketmq/v1beta1"
cons "github.com/zeratullich/rocketmq-operator/pkg/constants"
"github.com/zeratullich/rocketmq-operator/pkg/controller/share"
appsv1 "k8s.io/api/a... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: config/devmodel.proto
package config
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
common "github.com/lf-edge/eve/api/go/common"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
va... |
// Code generated by protoc-gen-go.
// source: google.golang.org/genproto/googleapis/api/serviceconfig/service.proto
// DO NOT EDIT!
package google_api // import "google.golang.org/genproto/googleapis/api/serviceconfig"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "goog... |
// Copyright 2017 Baliance. All rights reserved.
//
// Use of this source code is governed by the terms of the Affero GNU General
// Public License version 3.0 as published by the Free Software Foundation and
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchas... |
//go:generate mcube enum -m -p
//
// Code generated by protoc-gen-go-ext. DO NOT EDIT.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.14.0
// source: examples/example.proto
package examples
import (
proto "github.com/golang/protobuf/proto"
_ "github.com... |
package slackRealtime
import (
"fmt"
"log"
"os"
"regexp"
"strings"
"sync"
"github.com/FogCreek/slack"
"github.com/FogCreek/victor/pkg/chat"
"github.com/FogCreek/victor/pkg/events"
"github.com/FogCreek/victor/pkg/events/definedEvents"
)
const (
// TokenLength is the expected length of a Slack API auth toke... |
// Copyright 2018 Schibsted
package fd_pool
import (
"context"
"encoding/json"
"errors"
"fmt"
"hash/fnv"
"net"
"strings"
"sync"
"sync/atomic"
"time"
"github.com/schibsted/sebase/core/pkg/sd/sdr"
"github.com/schibsted/sebase/util/pkg/sbalance"
"github.com/schibsted/sebase/util/pkg/slog"
"github.com/schi... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.19.4
// source: order-service-gen/order_management.proto
package ecommerce
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
wr... |
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build haxe
package draw
import (
"image"
"image/color"
"image/png"
"os"
"testing"
)
func eq(c0, c1 color.Color) bool {
r0, g0, b0, a0 := c0.RGBA()
... |
/******************************************************************************
*
* Copyright 2018 <NAME> <<EMAIL>>
*
* 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.apa... |
// Copyright 2018 The Cockroach Authors.
//
// Licensed as a CockroachDB Enterprise file under the Cockroach Community
// License (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// https://github.com/cockroachdb/cockroach/blob/master/li... |
/*
Copyright The KubeDB 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, software
... |
package convert
import (
"fmt"
"go/types"
"io/ioutil"
"path"
"path/filepath"
"regexp"
"runtime"
"sort"
"strings"
"github.com/99designs/gqlgen/codegen/config"
"github.com/99designs/gqlgen/codegen/templates"
"github.com/99designs/gqlgen/plugin"
pluralize "github.com/gertd/go-pluralize"
"github.com/iancole... |
/*
Copyright 2021 The Rook 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 law or agreed to ... |
//go:build tools
// +build tools
/*
Copyright 2021 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 applic... |
// +build go1.12
/*
*
* Copyright 2019 gRPC 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 appli... |
// Copyright (c) 2017-2019 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
package main
import (
"bytes"
"context"
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net"
"net/http"
"sync"
"time"
"github.com/google/go-github/v32/github"
)
con... |
/*
* Tencent is pleased to support the open source community by making 蓝鲸 available.
* Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the Li... |
// Copyright 2016 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... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/resources/bidding_strategy.proto
package resources
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
common "google.golang.org/genproto/googleapis/ads/g... |
// Code generated by goyacc -p bibtex -o bibtex.y.go bibtex.y. DO NOT EDIT.
//line bibtex.y:2
package bibtex
import __yyfmt__ "fmt"
//line bibtex.y:2
import (
"io"
)
type bibTag struct {
key string
val BibString
}
var bib *BibTex // Only for holding current bib
//line bibtex.y:16
type bibtexSymType struct {
... |
// Copyright (c) 2019 The iexcloud developers. All rights reserved.
// Project site: https://github.com/goinvest/iexcloud
// Use of this source code is governed by a MIT-style license that
// can be found in the LICENSE file for the project.
package iex
// BalanceSheets pulls balance sheet data. Available quarterly (... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: api/config/data_feed/config_request.proto
package data_feed // import "github.com/chef/automate/api/config/data_feed"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import shared "github.com/chef/automate/api/config/share... |
/*
Copyright © 2021 VMware
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
distribut... |
package server
import (
"encoding"
"fmt"
"os"
"os/user"
"path/filepath"
"reflect"
"strconv"
"strings"
"time"
"github.com/influxdata/kapacitor/command"
"github.com/influxdata/kapacitor/services/alert"
"github.com/influxdata/kapacitor/services/alertmanager"
"github.com/influxdata/kapacitor/services/azure"
... |
// Copyright 2019, 2020 The Godror Authors
//
//
// SPDX-License-Identifier: UPL-1.0 OR Apache-2.0
package dsn
import (
"context"
"database/sql/driver"
"encoding/base64"
"fmt"
"hash/fnv"
"io"
"net/url"
"sort"
"strconv"
"strings"
"time"
"github.com/go-logfmt/logfmt"
)
const (
// DefaultPoolMinSessions s... |
package gorgonia
import (
"bytes"
"fmt"
"log"
"runtime"
"strings"
"github.com/chewxy/hm"
"github.com/pkg/errors"
"gorgonia.org/tensor"
)
type tapeMachine struct {
ExternMetadata
p *program
locMap map[*Node]register
// "register" banks
cpumem []Value // Value - knows its own type and shape
gpumem... |
// Code generated by GoVPP's binapi-generator. DO NOT EDIT.
// source: binapis/vpp2005/.vppapi/core/ipsec_types.api.json
/*
Package ipsec_types is a generated VPP binary API for 'ipsec_types' module.
It consists of:
8 enums
5 aliases
8 types
1 union
*/
package ipsec_types
import (
"bytes"
"context"
"i... |
/* This file is part of copyondemand.
*
* Copyright © 2020 Datto, Inc.
* Author: <NAME> <<EMAIL>>
*
* Licensed under the Apache Software License, Version 2.0
* Fedora-License-Identifier: ASL 2.0
* SPDX-2.0-License-Identifier: Apache-2.0
* SPDX-3.0-License-Identifier: Apache-2.0
*
* copyondemand is free softwa... |
// +build !windows,!darwin,!plan9
// 14 march 2014
package ui
import (
"fmt"
"image"
"unsafe"
)
// #include "gtk_unix.h"
// extern gboolean our_area_get_child_position_callback(GtkOverlay *, GtkWidget *, GdkRectangle *, gpointer);
// extern void our_area_textfield_populate_popup_callback(GtkEntry *, GtkMenu *, g... |
// Package cosipbft implements an ordering service using collective signatures
// for the consensus.
//
// The consensus follows the PBFT algorithm using collective signatures to
// perform the prepare and commit phases. The leader is orchestrating the
// protocol and the followers wait for incoming messages to update ... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.6.1
// source: yandex/cloud/mdb/mongodb/v1/backup.proto
package mongodb
import (
timestamp "github.com/golang/protobuf/ptypes/timestamp"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoi... |
// Code generated from ReStructuredText.g4 by ANTLR 4.7.2. DO NOT EDIT.
package restructuredtext
import (
"fmt"
"unicode"
"github.com/antlr/antlr4/runtime/Go/antlr"
)
// Suppress unused import error
var _ = fmt.Printf
var _ = unicode.IsLetter
var serializedLexerAtn = []uint16{
3, 24715, 42794, 33075, 47597, 16... |
package app
import (
"encoding/base64"
"encoding/json"
"errors"
"math/rand"
"sort"
"strconv"
"strings"
"time"
"../functions"
"github.com/robjporter/go-functions/as"
"github.com/robjporter/go-functions/http"
"github.com/robjporter/go-functions/jmespath"
)
func (a *Application) ucspmInit() {
a.UCSPM.Rout... |
package main
import (
"bufio"
"bytes"
"encoding/hex"
"errors"
"flag"
"fmt"
"go/build"
"os"
"os/exec"
"path/filepath"
"regexp"
"sort"
"strconv"
"strings"
"sync"
"time"
"github.com/kisielk/gotool"
"launchpad.net/godeps/pkgrepo"
)
var (
revFile = flag.String("u", "", "update dependencies")
te... |
// +build darwin
// Package mtl provides access to Apple's Metal API (https://developer.apple.com/documentation/metal).
//
// Package mtl requires macOS version 10.13 or newer.
//
// This package is in very early stages of development.
// The API will change when opportunities for improvement are discovered; it is not... |
package gopi
import (
"fmt"
)
/*
This file contains defininitons for input keycodes
*/
////////////////////////////////////////////////////////////////////////////////
// TYPES
type KeyCode uint16
////////////////////////////////////////////////////////////////////////////////
// CONSTANTS
const (
KEYCODE_NONE... |
package service
import (
"context"
"errors"
"fmt"
"gitee.com/Ljolan/si-mqtt/cluster"
"gitee.com/Ljolan/si-mqtt/cluster/stat/colong"
"gitee.com/Ljolan/si-mqtt/cluster/store"
"gitee.com/Ljolan/si-mqtt/cluster/store/memImpl"
mongorepo "gitee.com/Ljolan/si-mqtt/cluster/store/mongoImpl/repo"
mysqlpo "gitee.com/Ljo... |
/*
Copyright 2020 Antigloss
This 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, or (at your option) any later version.
This library is distributed in the ho... |
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// ppc64map constructs the ppc64 opcode map from the instruction set CSV file.
//
// Usage:
// ppc64map [-fmt=format] ppc64.csv
//
// The known output formats ... |
package imuis
import (
"encoding/xml"
"errors"
"net/http"
"github.com/omniboost/go-imuis/wsdl2go/soap"
)
type CData string
func (n CData) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
return e.EncodeElement(struct {
S string `xml:",innerxml"`
}{
S: "<![CDATA[" + string(n) + "]]>",
}, start)
... |
// Copyright 2021 Google LLC
//
// 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 w... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/asset/v1beta1/assets.proto
package asset
import (
fmt "fmt"
math "math"
proto "github.com/catper/protobuf/proto"
_ "github.com/catper/protobuf/ptypes/any"
_struct "github.com/catper/protobuf/ptypes/struct"
timestamp "github.com/catper/pro... |
// Copyright 2021 The Chromium OS 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 screenshot
import (
"context"
"encoding/json"
"fmt"
"image"
"image/color"
"image/draw"
"image/png"
"io/ioutil"
"math"
"math/rand"
"... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: value.proto
package pipeline
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 compile... |
package promunifi
import (
"github.com/prometheus/client_golang/prometheus"
"github.com/unpoller/unifi"
)
type uap struct {
// Ap Traffic Stats
ApWifiTxDropped *prometheus.Desc
ApRxErrors *prometheus.Desc
ApRxDropped *prometheus.Desc
ApRxFrags *prometheus.Desc
ApRxCrypts ... |
package lsp
import (
"context"
"encoding/json"
"fmt"
"go/ast"
"go/types"
"golang.org/x/tools/go/ast/astutil"
"golang.org/x/tools/go/vcs"
"golang.org/x/tools/internal/jsonrpc2"
"golang.org/x/tools/internal/lsp/protocol"
"golang.org/x/tools/internal/lsp/source"
"golang.org/x/tools/internal/lsp/telemetry"
"go... |
// Copyright 2019 ETH Zurich
//
// 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 wri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.