text
stringlengths
8.57k
38.1k
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.18.0 // source: xds/core/v3/collection_entry.proto package v3 import ( _ "github.com/cncf/xds/go/xds/annotations/v3" _ "github.com/envoyproxy/protoc-gen-validate/validate" proto "github.com/golang/protobuf/...
// Copyright 2017 <NAME>. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. package resolvers import ( "context" "fmt" "net" "strconv" "strings" "sync" "time" "github.com/OWASP/Amass/v3/eventbus" amassnet "github.com/OWASP/Amass/v3/net" a...
// Copyright 2017 orijtech. 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 main import ( "fmt" "log" "math" "math/rand" "time" "sort" "errors" "strconv" "container/list" "github.com/jupp0r/go-priority-queue" "github.com/promqueriesutil" "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/informers" "k8...
// 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 text // TODO: do we care about "\n" vs "\r" vs "\r\n"? We only recognize "\n" for // now. import ( "bytes" "errors" "io" "strings" "unicode/utf8"...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: workloadattestor.proto /* Package workloadattestor is a generated protocol buffer package. It is generated from these files: workloadattestor.proto It has these top-level messages: AttestRequest AttestResponse */ package workloadattestor import proto "g...
// Package search -- generated by scloudgen // !! DO NOT EDIT !! // package search import ( "github.com/spf13/cobra" impl "github.com/splunk/splunk-cloud-sdk-go/cmd/scloud/pkg/search" ) // createFederatedConnection -- Creates a new federated connection with information about how to connect to a remote index. var cr...
// Copyright (c) 2018 Huawei Technologies Co., Ltd. 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 ...
/* * MinIO Cloud Storage, (C) 2020 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...
package platformclientv2 import ( "time" "github.com/leekchan/timeutil" "encoding/json" "strconv" "strings" ) // Analyticssession type Analyticssession struct { // ActiveSkillIds - ID(s) of Skill(s) that are active on the conversation ActiveSkillIds *[]string `json:"activeSkillIds,omitempty"` // AcwSkipped ...
// Copyright 2021 Authors of Cilium // // 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 2018 Authors of Cilium // // 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 (c) 2018 Arista Networks, Inc. // Use of this source code is governed by the Apache License 2.0 // that can be found in the COPYING file. // Package qlog provides a logging infrastructure with fast and compact writes to // file and log levels. package qlog // This file contains all public functions and c...
/*package lib contains various functions needed by guppy and mpi_guppy. The functions in this particular package mainly just utility functions that might be useful for other programs manually piping output from Guppy. Almost all of the heavy lifting is done by lib/'s subpackages. */ package lib import ( "encoding/bin...
package internal import ( "fmt" "gopkg.in/mgo.v2/bson" "proj_bcbm/src/server/conf" "proj_bcbm/src/server/constant" con "proj_bcbm/src/server/constant" "proj_bcbm/src/server/log" "proj_bcbm/src/server/msg" "proj_bcbm/src/server/util" "strconv" "sync" "time" ) // Mgr <--> Dealer <--> C2C // ^ // ...
// 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 loader loads, parses and type-checks packages of Go code // plus their transitive closure, and retains both the ASTs and the // derived facts. // // ...
// Copyright 2016 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
package canvas import ( "math" "github.com/InterwebCounty/canvas/backend/backendbase" ) // BeginPath clears the current path and starts a new one func (cv *Canvas) BeginPath() { if cv.path.p == nil { cv.path.p = make([]pathPoint, 0, 100) } cv.path.p = cv.path.p[:0] } func isSamePoint(a, b backendbase.Vec, ma...
package openstack import ( "context" "crypto/tls" "crypto/x509" b64 "encoding/base64" "fmt" "k8s.io/api/core/v1" "log" "net" "net/http" "regexp" "sigs.k8s.io/controller-runtime/pkg/client" "strings" "github.com/Masterminds/semver" "github.com/pkg/errors" "gopkg.in/yaml.v2" "github.com/gophercloud/gop...
/* Copyright 2020 The GoPlus Authors (goplus.org) 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...
package randomizer import ( "crypto/sha1" "flag" "fmt" "io/ioutil" "math/rand" "os" "path/filepath" "reflect" "regexp" "runtime/pprof" "sort" "strconv" "strings" "time" ) type logFunc func(string, ...interface{}) var keyRegexp = regexp.MustCompile("(slate|(small|boss) key)$") const ( gameNil = iota ...
// Copyright 2020 Thomas.Hoehenleitner [at] seerose.net // Use of this source code is governed by a license that can be found in the LICENSE file. package decoder import ( "bytes" "fmt" "io" "log" "math" "strings" "sync" "unsafe" "github.com/rokath/trice/internal/emitter" "github.com/rokath/trice/internal/...
package main import ( "crypto/tls" "crypto/x509" "encoding/asn1" "encoding/base64" "encoding/pem" "errors" "fmt" "io/ioutil" "log" "net" "os" "path/filepath" "strconv" "strings" "time" ) // Taken from x509.go:601 var ( oidExtKeyUsageAny = asn1.ObjectIdentifier{2, 5, 29, 37, ...
/* * 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...
package msgdepack import ( "bytes" "fmt" "github.com/stretchr/testify/assert" "testing" ) func getStringPtr(s string) *string { return &s } func TestSingleElement(t *testing.T) { type test struct { element int in []byte payloadBool *bool payloadBytes []byte payloadFloat64 *floa...
package v0_11 import ( "errors" "fmt" "strings" "time" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" tmtime "github.com/tendermint/tendermint/types/time" ) const ( // ModuleName The name that will be used throughout the module ModuleName = "cdp" // StoreKey...
/* * Copyright 2012-2020 <NAME> 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 law ...
// 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...
// Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. // Use of this file is governed by the BSD 3-clause license that // can be found in the LICENSE.txt file in the project root. package antlr import ( "bytes" "fmt" ) // // Useful for rewriting out a buffered input token stream after doing some // aug...
/* Copyright 2015 Gravitational, 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, soft...
/* Notice: This file has been modified for Hyperledger Fabric SDK Go usage. Please review third_party pinning scripts and patches for more details. */ // Code generated by protoc-gen-go. DO NOT EDIT. // source: orderer/configuration.proto package orderer // import "github.com/hyperledger/fabric-sdk-go/third_party/gith...
package pubmatic import ( "bytes" "context" "encoding/json" "errors" "fmt" "io/ioutil" "net/http" "strconv" "strings" "github.com/golang/glog" "github.com/mxmCherry/openrtb/v15/openrtb2" "github.com/prebid/prebid-server/adapters" "github.com/prebid/prebid-server/config" "github.com/prebid/prebid-server/...
// Package tunnel is a server/client package that enables to proxy public // connections to your local machine over a tunnel connection from the local // machine to the public server. package tunnel import ( "bufio" "errors" "fmt" "io" "net" "net/http" "os" "path" "path/filepath" "strconv" "strings" "sync"...
// Copyright (c) 2020, <NAME>, All rights reserved. package main import ( "flag" "fmt" "io/ioutil" "os" "path/filepath" "sort" "strconv" "strings" "time" "github.com/ohler55/ojg" "github.com/ohler55/ojg/alt" "github.com/ohler55/ojg/asm" "github.com/ohler55/ojg/jp" "github.com/ohler55/ojg/oj" "github.c...
/* Copyright 2021 The Crossplane 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 (c) 2019 Uber Technologies, 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 o...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0-devel // protoc v3.13.0 // source: common.proto package pay import ( _ "github.com/golang/protobuf/protoc-gen-go/descriptor" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/pr...
package geobed import ( "archive/zip" "bufio" "bytes" "context" "encoding/gob" "fmt" "io" "log" "net/http" "os" "regexp" "sort" "strconv" "strings" "sync" geohash "github.com/TomiHiltunen/geohash-golang" "golang.org/x/sync/errgroup" ) // A list of data sources. var dataSetFiles = []map[string]string...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: orc8r/protos/ctraced.proto package protos import ( context "context" fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" math "math" ) // Referen...
package nulltime // Provide UTC time functions for ACM time (restricted), Unix time, timestamp, google.protobuf.Timestamp. // See https://golang.org/pkg/time/ Deploy using 'go install' Not tested on Windows. // See https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/Timestamp impor...
// Copyright (c) 2012 by <NAME> <<EMAIL>> // All rights reserved. Distributed under the Simplified BSD License. // Package chess implements a basic chess board which represents the state of // a chess game. It can be used for validating and applying moves, formatting // them using SAN (standard algebraic notation) and...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.12.3 // source: automate-gateway/api/gateway/gateway.proto package gateway import ( context "context" _ "github.com/chef/automate/api/external/annotations/iam" proto "github.com/golang/protobuf/proto" empt...
package kabaneroplatform import ( "context" "fmt" "os" "strings" "sync" "time" "github.com/go-logr/logr" kabanerov1alpha2 "github.com/kabanero-io/kabanero-operator/pkg/apis/kabanero/v1alpha2" "github.com/kabanero-io/kabanero-operator/pkg/controller/utils/timer" "github.com/kabanero-io/kabanero-operator/pkg...
package main import ( "context" "errors" "fmt" "log" "net/http" "os" "path/filepath" "time" goruntime "runtime" mqtt "github.com/eclipse/paho.mqtt.golang" "github.com/gin-gonic/gin" "github.com/spf13/cobra" "github.com/tierklinik-dobersberg/cis/internal/api/calendarapi" "github.com/tierklinik-dobersber...
// +build ingore // Package dwarf provides access to DWARF debugging information loaded from // executable files, as defined in the DWARF 2.0 Standard at // http://dwarfstd.org/doc/dwarf-2.0.0.pdf package dwarf import ( "encoding/binary" "errors" "fmt" "io" "path" "sort" "strconv" ) const ( AttrSibling ...
// Copyright 2019, OpenTelemetry 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 search import ( "bytes" "fmt" "regexp" "strconv" "strings" v1 "go-common/app/service/main/archive/api" xtime "go-common/library/time" ) // default . const ( GotoBangumi = "bangumi" GotoAv = "av" GotoWeb = "web" GotoMovie = "movie" GotoBangumiWeb = "bangumi_web" GotoSp ...
// 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. // Memory statistics package runtime import ( "runtime/internal/atomic" "runtime/internal/sys" "unsafe" ) // Statistics. // If you edit this structure, al...
package editor import ( "fmt" "os" "path/filepath" "runtime" "strconv" "strings" "sync" "github.com/dzhou121/gonvim/fuzzy" "github.com/neovim/go-client/nvim" "github.com/therecipe/qt/core" "github.com/therecipe/qt/gui" "github.com/therecipe/qt/widgets" ) type workspaceSignal struct { core.QObject _ fun...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.17.3 // source: ots/service.proto package ots import ( context "context" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.o...
package server import ( "bytes" "compress/gzip" "encoding/json" "fmt" "github.com/phelix-/psostats/v2/pkg/common" "github.com/phelix-/psostats/v2/server/internal/db" "github.com/phelix-/psostats/v2/server/internal/enemies" "github.com/phelix-/psostats/v2/server/internal/userdb" "github.com/phelix-/psostats/v2...
// Extracted from: gopkg.in/src-d/proteus.v1/scanner package scanner import ( "errors" "fmt" "go/types" "io/ioutil" "os" "path/filepath" "sort" "strings" "sync" "github.com/gagliardetto/golang-go/cmd/go/not-internal/get" "github.com/gagliardetto/golang-go/cmd/go/not-internal/modfetch" "github.com/gagliard...
// Copyright 2015 The Cockroach Authors. // // Use of this software is governed by the Business Source License included // in the file licenses/BSL.txt and at www.mariadb.com/bsl11. // // Change Date: 2022-10-01 // // On the date above, in accordance with the Business Source License, use // of this software will be gov...
package compiler // This file provides function to lower interface intrinsics to their final LLVM // form, optimizing them in the process. // // During SSA construction, the following pseudo-calls are created: // runtime.typeAssert(typecode, assertedType) // runtime.interfaceImplements(typecode, interfaceMetho...
// Copyright 2020-present Open Networking Foundation. // // 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...
// Copyright ©2015 The Gonum 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 community import ( "fmt" "math" "sort" "golang.org/x/exp/rand" "gonum.org/v1/gonum/graph" "gonum.org/v1/gonum/graph/internal/ordered" "gon...
package command import ( "fmt" "math" "sort" "strings" "time" humanize "github.com/dustin/go-humanize" "github.com/posener/complete" "github.com/hashicorp/nomad/api" "github.com/hashicorp/nomad/api/contexts" "github.com/hashicorp/nomad/helper" ) const ( // floatFormat is a format string for formatting fl...
package main import ( "fmt" "go/ast" "go/importer" "go/token" "go/types" "strconv" "github.com/beevik/etree" ) func walkIdentList(parent *etree.Element, list []*ast.Ident, fileset *token.FileSet, info *types.Info) { for _, x := range list { Walk(parent, x, fileset, info) } } func walkExprList(parent *etr...
// 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...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: api/config/builder_memcached/config_request.proto package bldrmemcached import ( fmt "fmt" shared "github.com/chef/automate/api/config/shared" _ "github.com/chef/automate/components/automate-grpc/protoc-gen-a2-config/api/a2conf" proto "github.com/golang/...
// Copyright 2016 - 2020 The excelize 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 excelize providing a set of functions that allow you to write to // and read from XLSX / XLSM / XLTM files. Supports reading and writi...
// brigolagecms/pkg/storage/memory/memory.go // // Copyright (c) 2020, <NAME>. // Copyright (c) 2002-2009 Kineticode, Inc. and others. // Copyright (c) 2001-2002 About.com. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
// 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...
// SPDX-License-Identifier: Unlicense OR MIT // Most of the algorithms to compute strokes and their offsets have been // extracted, adapted from (and used as a reference implementation): // - github.com/tdewolff/canvas (Licensed under MIT) // // These algorithms have been implemented from: // Fast, precise flattenin...
// Copyright (c) 2018 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/cloud/dialogflow/v2beta1/webhook.proto package dialogflow import ( fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" ) // ...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: envoy/service/accesslog/v2/als.proto /* Package v2 is a generated protocol buffer package. It is generated from these files: envoy/service/accesslog/v2/als.proto It has these top-level messages: StreamAccessLogsResponse StreamAccessLogsMessage */ package...
// 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...
// Copyright 2020 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
package browser import ( "bytes" "encoding/base64" "encoding/json" "errors" "fmt" "io" "io/ioutil" "net/http" "strings" "sync" "time" "github.com/PerformLine/go-stockutil/log" "github.com/PerformLine/go-stockutil/maputil" "github.com/PerformLine/go-stockutil/mathutil" "github.com/PerformLine/go-stockut...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v3.17.3 // source: worker.proto package worker import ( context "context" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang...
package qln import ( "bytes" "fmt" "github.com/mit-dci/lit/logging" "github.com/mit-dci/lit/btcutil/txscript" "github.com/mit-dci/lit/lnutil" "github.com/mit-dci/lit/portxo" "github.com/mit-dci/lit/wire" ) func (nd *LitNode) registerHandlers() { mp := nd.PeerMan.GetMessageProcessor() hf := makeNeoOmniHand...
package main import ( "bytes" "fmt" "net" "os" "os/signal" "path/filepath" "strconv" "strings" "sync" "syscall" "time" ) // Scanner ... type Scanner struct { host string ip net.IP timeout time.Duration } func usage(msg string, exit bool) { if msg != "" { fmt.Println(msg) } else { _, main ...
package backingstore import ( "context" "encoding/json" "fmt" "net/url" "regexp" "time" nbv1 "github.com/noobaa/noobaa-operator/v2/pkg/apis/noobaa/v1alpha1" "github.com/noobaa/noobaa-operator/v2/pkg/bundle" "github.com/noobaa/noobaa-operator/v2/pkg/nb" "github.com/noobaa/noobaa-operator/v2/pkg/options" "gi...
// +build !partners // Don't include this in the partners build: it's not needed // in the partner apps, and the syscall.Stat* functions cause // the build to fail on Windows. package bagman import ( "archive/tar" "fmt" "github.com/APTrust/bagins" "github.com/nsqio/go-nsq" "github.com/crowdmob/goamz/aws" "githu...
// Copyright 2016-Present Couchbase, Inc. // // Use of this software is governed by the Business Source License included // in the file licenses/BSL-Couchbase.txt. As of the Change Date specified // in that file, in accordance with the Business Source License, use of this // software will be governed by the Apach...
package compose import ( "fmt" "github.com/flynn/go-shlex" "github.com/kubernetes/kompose/pkg/kobject" "github.com/pkg/errors" log "github.com/sirupsen/logrus" "k8s.io/kubernetes/pkg/api" "net" "net/url" "path/filepath" "regexp" "strconv" "strings" ) const DEFAULT_ROOT_DOMAIN = "alicontainer.com" // Supp...
package abbook import ( "fmt" "math/rand" "os" "squava/src/movekeeper" ) type board [5][5]int const ( WIN = 10000 LOSS = -10000 MAXIMIZER = 1 MINIMIZER = -1 UNSET = 0 ) type AlphaBetaBook struct { bd *board leafNodeCount int maxDepth int deterministic bool moveCount...
package main import ( "database/sql" "fmt" "math/rand" "net/url" "os" "os/signal" "regexp" "strconv" "strings" "syscall" "time" "github.com/ChimeraCoder/anaconda" "github.com/bwmarrin/discordgo" ) var start time.Time var prodMode bool var globalImageSet []*ImageSet var globalInactiveSet []*InactiveSet v...
package dblib import ( "database/sql" _ "github.com/go-sql-driver/mysql" "fmt" "github.com/360EntSecGroup-Skylar/excelize" "time" ) type dbTable struct { schema string table_nm string table_type string engine string row_format string collation string comment sql.NullString } type tbColumn struct {...
package webdav import ( "bytes" "fmt" "github.com/tickstep/aliyunpan-api/aliyunpan" "github.com/tickstep/aliyunpan-api/aliyunpan/apierror" "github.com/tickstep/aliyunpan/internal/config" "github.com/tickstep/library-go/expires" "github.com/tickstep/library-go/expires/cachemap" "github.com/tickstep/library-go/l...
package earcut // Port of https://github.com/mapbox/earcut // See LICENSE import ( "errors" "math" "sort" ) type node struct { i int x float64 y float64 prev *node next *node z *int prevZ *node nextZ *node steiner bool } // Earcut returns an int array of vertex indices ...
/*===== Copyright 2016, Webpraxis Consulting Ltd. - ALL RIGHTS RESERVED - Email: <EMAIL> =========================== * Package octree: * import "octree" * Overview: * package for creating, reporting, importing, exporting and querying point-region octrees. * Types: * DataCoords * Array ...
// Copyright 2015 Netflix, 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 i...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: github.com/google/cloudprober/probes/external/config.proto /* Package external is a generated protocol buffer package. It is generated from these files: github.com/google/cloudprober/probes/external/config.proto It has these top-level messages: ProbeConf ...
package main import ( "github.com/xyproto/env" "github.com/xyproto/syntax" "github.com/xyproto/vt100" ) var ( envNoColor = env.Bool("NO_COLOR") allThemes = []string{"Default", "Light background", "Red/black", "Amber", "Green", "Blue", "No color"} initialLightBackground *bool ) // Theme...
// Copyright 2019 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 ...
package pythongraph import ( "bytes" "fmt" "go/token" "io" "strings" "time" "github.com/kiteco/kiteco/kite-golib/errors" "github.com/kiteco/kiteco/kite-go/lang/python/pythontype" "github.com/kiteco/kiteco/kite-go/lang/python/pythonresource" "github.com/kiteco/kiteco/kite-go/lang/python/pythonscanner" "...
/* Copyright 2019 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 abi import ( "context" "fmt" "io" "io/ioutil" "os" "path/filepath" "strings" "github.com/containers/buildah/pkg/parse" "github.com/containers/image/v5/types" "github.com/containers/podman/v2/libpod" "github.com/containers/podman/v2/libpod/image" ann "github.com/containers/podman/v2/pkg/annotations...
// Copyright 2018 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
package goca import ( "errors" "strconv" ) // VM represents an OpenNebula Virtual Machine type VM struct { XMLResource ID uint Name string } // VMPool represents an OpenNebula Virtual Machine pool type VMPool struct { XMLResource } // VMState is the state of the Virtual Machine type VMState int const ( //...
// Copyright 2019 The Chromium 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 args contains the logic for assembling all data required for // creating an individual task request. package args import ( "context" "fmt" ...
// Copyright © 2015 <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.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// Copyright (c) 2016-2019,2021-2022 Tigera, 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 requ...
// 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...
package types import ( "crypto/sha512" "encoding/hex" "encoding/json" "errors" "fmt" "strings" "sync" "time" "github.com/drycc/drycc/host/resource" "github.com/drycc/drycc/host/types" "github.com/drycc/drycc/host/volume" "github.com/drycc/drycc/pkg/tlscert" "github.com/drycc/drycc/router/types" "github....
package dkg import ( "encoding/json" "flag" "fmt" "io/ioutil" "math/big" "math/rand" "os" "strconv" "strings" "github.com/orbs-network/bgls/bgls" . "github.com/orbs-network/bgls/curves" ) // Usage examples: // ./dkgmain -func=cgen var cmd string const POINT_ELEMENTS = 4 const BIGINT_BASE = 16 const INTE...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/ads/googleads/v1/errors/conversion_upload_error.proto package errors import ( fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" ) // Reference imports to suppress errors if t...
package node import ( "errors" "fmt" "reflect" "strconv" "strings" "time" "github.com/pcelvng/go-config/util" ) // Nodes is a struct container for all the generated nodes. // It contains a map and slice representation of all nodes. // The map allows for named node traversal and the slice // maintains original...