text
stringlengths
8.57k
38.1k
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/devtools/clouderrorreporting/v1beta1/common.proto /* Package clouderrorreporting is a generated protocol buffer package. It is generated from these files: google/devtools/clouderrorreporting/v1beta1/common.proto google/devtools/clouderrorrep...
package app import ( "context" "database/sql" "fmt" "net" "os" "path/filepath" "runtime" "sync" "time" "github.com/canonical/go-dqlite" "github.com/canonical/go-dqlite/client" "github.com/canonical/go-dqlite/driver" "github.com/canonical/go-dqlite/internal/protocol" "github.com/pkg/errors" "golang.org/...
// Package ldclient is the main package for the LaunchDarkly SDK. // // This package contains the types and methods that most applications will use. The most commonly // used other packages are "ldlog" (the SDK's logging abstraction) and database integrations such // as "redis" and "lddynamodb". package ldclient impor...
// 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...
/* Copyright 2021 The KubeEdge 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, so...
/* 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, ...
/* Copyright 2018 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 mach85 type Instruction int // Instructions const ( Illegal Instruction = iota // illegal instruction Adc // add with carry And // bitwise And with accumulator Asl // arithmetic shift left Bit // test bits Bmi ...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: go.chromium.org/luci/dm/api/distributor/swarming/v1/params.proto package swarmingV1 import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import duration "github.com/golang/protobuf/ptypes/duration" // Reference imports to supp...
//go:build go1.18 // +build go1.18 // 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 openapi import ( "encoding/json" "errors" "strings" "github.com/chanced/dynamic" "github.com/chanced/openapi/yamlutil" "github.com/tidwall/sjson" "gopkg.in/yaml.v2" ) // SchemaKind indicates whether the *SchemaObj is a SchemaObj, Reference, or Boolean type SchemaKind uint8 const ( // SchemaKindObj =...
// // Copyright (C) 2012-2017, <NAME> <<EMAIL>>, all rights reserverd. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // package ast import ( "extbit.io/smart/token" "strings" //"unicode" //"unicode/utf8" "fmt" ) type Node interface { ...
package dagjose import ( "bytes" "errors" "fmt" "github.com/stretchr/testify/require" "golang.org/x/crypto/ed25519" gojose "gopkg.in/square/go-jose.v2" "io" "pgregory.net/rapid" "reflect" "testing" "github.com/ipfs/go-cid" "github.com/ipld/go-ipld-prime" "github.com/ipld/go-ipld-prime/codec/dagjson" "gi...
package buyer import ( "bufio" "context" "encoding/hex" "fmt" "io" unsafe_rand "math/rand" "os" "path/filepath" "time" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrutil" "github.com/decred/dcrd/wire" pbm "github.com/matheusd/dcr-split-ticket-matcher/pkg/api/matcherrpc" "github....
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 // protoc v3.13.0 // source: eventTimerCallback.proto package proto import ( context "context" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google...
package main import ( "bytes" "fmt" "io/ioutil" "log" "os" "os/exec" "path/filepath" "regexp" "strconv" "strings" "syscall" "time" "./nvm/web" "./nvm/arch" "./nvm/file" "./nvm/node" "github.com/olekukonko/tablewriter" ) const ( NvmVersion = "1.1.8" ) type Environment struct { se...
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
// Copyright 2019 Antrea 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 ...
// DO NOT EDIT THIS FILE. GENERATED BY xgen. // +build stm32g471xx package flash import ( "embedded/mmio" "unsafe" "github.com/embeddedgo/stm32/p/mmap" ) type Periph struct { ACR RACR PDKEYR RPDKEYR KEYR RKEYR OPTKEYR ROPTKEYR SR RSR CR RCR ECCR RECCR _ uint32 OPTR ...
package kv import ( "fmt" "math" "net/http" "sort" "strconv" "strings" "text/template" "github.com/BurntSushi/ty/fun" "github.com/abronan/valkeyrie/store" "github.com/containous/flaeg" "github.com/containous/traefik/log" "github.com/containous/traefik/provider/label" "github.com/containous/traefik/tls" ...
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
package disgord import ( "context" "errors" "fmt" "sync" "github.com/andersfylling/disgord/event" "github.com/andersfylling/disgord/websocket" ) // NewDispatch construct a Dispatch object for reacting to web socket events // from discord func NewDispatch(ws websocket.DiscordWebsocket) *Dispatch { dispatcher :...
// Copyright (c) 2017-2020 VMware, Inc. or its affiliates // SPDX-License-Identifier: Apache-2.0 package commands /* * This file generates the command-line cli that is the heart of gpupgrade. It uses Cobra to generate * the cli based on commands and sub-commands. The below in this comment block shows a notiona...
// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "time" ) // Information about an Availability Zone. type AvailabilityZone struct { // The name of the Availability Zone. Name *string } // A certificate authority (CA) certificate for an AWS account. type Certificate struct { // The Am...
package table import ( "fmt" "os" "os/exec" "os/signal" "strconv" "strings" "sync" "syscall" "time" slice "sort" humanize "github.com/dustin/go-humanize" cmc "github.com/miguelmota/go-coinmarketcap/pro/v1" gc "github.com/rthornton128/goncurses" pad "github.com/willf/pad/utf8" ) var wg sync.WaitGroup /...
package j8a import ( "bufio" "bytes" "context" "crypto/tls" "encoding/base64" "encoding/json" "errors" "fmt" "github.com/google/uuid" "github.com/lestrrat-go/jwx/jwa" "github.com/lestrrat-go/jwx/jws" "github.com/lestrrat-go/jwx/jwt" "github.com/rs/zerolog" "io" "io/ioutil" "net/http" "strconv" "strin...
// Command grpcurl makes gRPC requests (a la cURL, but HTTP/2). It can use a supplied descriptor // file, protobuf sources, or service reflection to translate JSON or text request data into the // appropriate protobuf messages and vice versa for presenting the response contents. package main import ( "flag" "fmt" "...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v3.6.1 // source: github.com/solo-io/solo-kit/test/mocks/api/v1/more_mock_resources.proto package v1 import ( reflect "reflect" sync "sync" _ "github.com/solo-io/protoc-gen-ext/extproto" core "github.com/sol...
// Package dns provides support for parsing DNS messages and reporting the // results. This package supports the DNS protocol as defined by RFC 1034 // and RFC 1035. It does not have any special support for RFC 2671 (EDNS) or // RFC 4035 (DNS Security Extensions), but since those specifications only // add backwards co...
package main import ( "bufio" crand "crypto/rand" "fmt" "math/rand" "path/filepath" "strconv" "strings" "sync" "text/template" "time" "fyne.io/fyne/v2" "fyne.io/fyne/v2/container" "fyne.io/fyne/v2/dialog" "fyne.io/fyne/v2/storage" "fyne.io/fyne/v2/theme" "fyne.io/fyne/v2/widget" "github.com/oklog/uli...
// Copyright 2015-present, Cyrill @ <EMAIL> and the CoreStore 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 // // Unles...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: common.proto package axon_server import ( fmt "fmt" proto "github.com/golang/protobuf/proto" _ "github.com/golang/protobuf/ptypes/any" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fm...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/ads/googleads/v3/resources/ad_group_bid_modifier.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/...
package opengl45 import ( "strings" "unsafe" "github.com/Laughs-In-Flowers/shiva/lib/graphics" "github.com/go-gl/gl/v4.5-core/gl" ) type OGL45DEBUG struct { tag string major, minor int currentProgram graphics.Program debug bool } type glNoReturn func() func checkGLErr() { err := gl.G...
package hlc18 import ( "fmt" "math" ) const ( HUGE_BLOCK_SIZE = 32 * 1024 // для очень неселективных индексов (пол) LARGE_BLOCK_SIZE = 4 * 1024 // для средне-селективных индексов (десятки-сотни бакетов) MEDIUM_BLOCK_SIZE = 1024 // для высоко-средне-селективных SMALL_BLOCK_SIZE = 32 // для высок...
package dynamic import ( "time" ptypes "github.com/traefik/paerser/types" "github.com/traefik/traefik/v2/pkg/ip" "github.com/traefik/traefik/v2/pkg/types" ) // +k8s:deepcopy-gen=true // Middleware holds the Middleware configuration. type Middleware struct { AddPrefix *AddPrefix `json:"addPrefix...
package core // extractNonDeletionChanges analyzes a list of changes and generates a new list // of only those changes in the original list that correspond to non-deletion // operations (i.e. creations or modifications). It also returns a boolean value // that is true if there was at least one change resulting in non-...
package createconfig import ( "encoding/json" "fmt" "net" "os" "strconv" "strings" "syscall" "github.com/containers/libpod/libpod" "github.com/containers/libpod/pkg/namespaces" "github.com/containers/libpod/pkg/rootless" "github.com/containers/storage" "github.com/containers/storage/pkg/stringid" "github...
package main import ( "errors" "flag" "fmt" "log" "os" "os/exec" "os/signal" "path/filepath" "strings" "github.com/alessio/shellescape" "github.com/mattn/go-colorable" ) // Action enum const ( ActionAsk = iota ActionDo ActionDoNot ) const ( MajorVersion = 0 MinorVersion = 3 PatchVersion = 0 ) var ...
package hostdb // scan.go contains the functions which periodically scan the list of all hosts // to see which hosts are online or offline, and to get any updates to the // settings of the hosts. import ( "encoding/json" "fmt" "net" "sort" "time" "gitlab.com/NebulousLabs/fastrand" "gitlab.com/NebulousLabs/Si...
// Copyright 2018 The OPA Authors. All rights reserved. // Use of this source code is governed by an Apache2 // license that can be found in the LICENSE file. // Package bundle implements bundle loading. package bundle import ( "context" "errors" "fmt" "io" "net/url" "os" "path/filepath" "reflect" "sync" "...
// Copyright 2020 Coinbase, 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...
// Copyright 2018 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...
// Use of this source code is governed by a MIT license that can be found in the LICENSE file. // Giorgis (<EMAIL>) package goav //#cgo pkg-config: libavformat //#include <libavformat/avformat.h> import "C" import ( "reflect" "unsafe" ) // ActiveThreadType ... func (ctx *CodecContext) ActiveThreadType() int { ret...
// Copyright (c) 2013-2022 The btcsuite developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. package txscript import ( "bytes" "fmt" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/chaincfg/chainha...
// Copyright 2021 The PipeCD 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 ...
package v1 import ( "strings" rbacv1 "k8s.io/api/rbac/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) // +genclient // +genclient:noStatus // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // +k8s:openapi-gen=true // Environment represents an environment like Dev, Test, Staging, Producti...
/* Copyright 2015 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 in writing, soft...
/* 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, ...
// 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 walk import ( "cmd/compile/internal/base" "cmd/compile/internal/ir" "cmd/compile/internal/ssagen" "cmd/compile/internal/staticdata" "cmd/compile/i...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/spanner/v1/query_plan.proto package spanner import ( fmt "fmt" proto "github.com/golang/protobuf/proto" _struct "github.com/golang/protobuf/ptypes/struct" _ "google.golang.org/genproto/googleapis/api/annotations" math "math" ) // Reference impor...
// Copyright The 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 agre...
// 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 parse import ( "flag" "fmt" "strings" "testing" ) var debug = flag.Bool("debug", false, "show the errors produced by the main tests") type number...
// Copyright (c) 2021 Tailscale Inc & 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 testcontrol contains a minimal control plane server for testing purposes. package testcontrol import ( "bytes" "context" crand "crypt...
// Package hermes is the Go port of the great mailgen engine package hermes // Slick is the theme by <NAME> https://github.com/konsav/email-templates/ type Slick struct{} // Name returns name func (dt *Slick) Name() string { return "slick" } const htmlTemplate = ` <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transi...
package bitfinex import ( "time" "github.com/idoall/gocryptotrader/exchanges/order" ) // AcceptedOrderType defines the accepted market types, exchange strings denote // non-contract order types. var AcceptedOrderType = []string{"market", "limit", "stop", "trailing-stop", "fill-or-kill", "exchange market", "exchan...
package health import ( "encoding/json" "fmt" "os" "sync" "sync/atomic" "time" "github.com/glycerine/nats" ) // SysMemberPrefix creates a namespace // for system cluster membership communication. // This prefix aims to avoid collisions // with user-level topics. Only system // processes / internal clients sho...
// SPDX-FileCopyrightText: 2020-present Open Networking Foundation <<EMAIL>> // // SPDX-License-Identifier: Apache-2.0 package pdudecoder import ( "encoding/hex" "fmt" "github.com/onosproject/onos-e2-sm/servicemodels/e2sm_kpm_v2_go/encoder" "github.com/onosproject/onos-e2-sm/servicemodels/e2sm_kpm_v2_go/pdubuilde...
// 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 ( "strconv" ) // Represents {@code $} in local context prediction, which means wildcard. // {@code//+x...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 // protoc v3.12.1 // source: artifact/gitrepo.proto package artifact import ( proto "github.com/golang/protobuf/proto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf...
package oibot import "time" // ===================================================================================================================== type OpCode byte // -------------------- ----- --------------------- --------------------- --------------------- --------------------- // OpCode ID In...
package function import ( "bufio" "fmt" "io" "os" "path/filepath" "reflect" "regexp" "sort" "strconv" "strings" "unicode" "unicode/utf8" "github.com/cozees/cook/pkg/runtime/args" "github.com/cozees/cook/pkg/runtime/parser" ) func AllStringFlags() []*args.Flags { return []*args.Flags{sreplaceFlags, ssp...
package funk import ( "context" "errors" "fmt" "log" "sync" "sync/atomic" "time" "github.com/lab5e/clusterfunk/pkg/funk/managepb" "github.com/lab5e/clusterfunk/pkg/funk/metrics" "github.com/lab5e/gotoolbox/grpcutil" "github.com/lab5e/gotoolbox/netutils" "github.com/lab5e/clusterfunk/pkg/funk/clusterpb" ...
package chain import ( "bytes" "errors" "math/big" "time" "encoding/binary" "fmt" "sync" "github.com/bwesterb/go-ristretto" "github.com/dusk-network/dusk-blockchain/pkg/config" "github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/peermsg" "github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/processing/c...
// Code generated by util/update_entities.go; DO NOT EDIT. package entities // HTMLEntities maps those names to Unicode codepoints var HTMLEntities = map[string]rune{ "AElig": 198, "Aacute": 193, "Acirc": 194, "Agrave": 192, "Alpha": 913, "Aring": 197, "Atilde": 195, "Auml": 196, "Beta"...
package goapidoc import ( "fmt" "net/http" "regexp" "sort" "strconv" "strings" ) type apibDocument struct { Host string BasePath string Title string Description string Version string TermsOfService string License string ContactUrl string ContactEmail string Externa...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: logs.proto package baseline2 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...
// Copyright (C) 2015 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 required...
/* * Copyright (C) 2017 <NAME> * * 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, Vers...
// DBDeployer - The MySQL Sandbox // Copyright © 2006-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 require...
package vdnqos import ( "fmt" "github.com/qiniu/log" "github.com/wangtuanjie/ip17mon" "strconv" "strings" "time" "github.com/qiniu/logkit/conf" "github.com/qiniu/logkit/parser" "github.com/qiniu/logkit/utils/models" ) // const ( // KEY_SRC_IP = "source_ip" // KEY_METHOD = "method" // KEY_TOPIC = "...
// //Copyright 2020 The Magma Authors. // //This source code is licensed under the BSD-style license found in the //LICENSE file in the root directory of this source tree. // //Unless required by applicable law or agreed to in writing, software //distributed under the License is distributed on an "AS IS" BASIS, //WITHO...
package pelicantun import ( "bytes" "fmt" "io" "io/ioutil" "math/rand" "net" "sync" "time" ) // Similar in spirit to Comet, Ajax-long-polling, // and BOSH (http://en.wikipedia.org/wiki/BOSH), // the following struct and methods for // Chaser comprises the two-socket (two http transactions open // at most at o...
/* 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 2020 The Kubeflow 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 agr...
package tekton import ( "context" "encoding/json" "fmt" "log" "os" "strings" "time" "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1" "github.com/tektoncd/triggers/pkg/apis/triggers/v1alpha1" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" k8serr "k8s.io/apimachinery/pkg/api/errors" metav1...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: envoy/api/v2/lds.proto package v2 import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import envoy_api_v2_core "github.com/cilium/cilium/pkg/envoy/envoy/api/v2/core" import envoy_api_v2_core1 "github.com/cilium/cilium/pkg/envo...
// Code generated by azure-service-operator-codegen. DO NOT EDIT. // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. package v1alpha1api20210501 import "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" //Generated from: type ManagedCluster_StatusARM struct { //ExtendedLocation: The e...
// Copyright 2015 The Vanadium 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 verror implements an error reporting mechanism that works across // programming environments, and a set of common errors. It captures the locat...
// This code is available on the terms of the project LICENSE.md file, // also available online at https://blueoakcouncil.org/license/1.0.0. package main import ( "fmt" "net" "os" "os/user" "path/filepath" "runtime" "sort" "strconv" "strings" "time" "decred.org/dcrdex/dex" "decred.org/dcrdex/dex/wait" "...
// mksysctl_openbsd.pl package unix type mibentry struct { ctlname string ctloid []_C_int } var sysctlMib = []mibentry{ {"ddb.console", []_C_int{9, 6}}, {"ddb.log", []_C_int{9, 7}}, {"ddb.max_line", []_C_int{9, 3}}, {"ddb.max_width", []_C_int{9, 2}}, {"ddb.panic", []_C_int{9, 5}}, {"ddb.radix", []_C_int{9, ...
package main import ( "context" "fmt" "io" "io/ioutil" "os" "path" "path/filepath" "regexp" "strings" "github.com/containers/common/pkg/retry" "github.com/containers/image/v5/copy" "github.com/containers/image/v5/directory" "github.com/containers/image/v5/docker" "github.com/containers/image/v5/docker/r...
package main import ( "encoding/json" "fmt" "log" "regexp" "strings" "text/template" "time" "github.com/aws/aws-sdk-go/aws/arn" "github.com/aws/aws-sdk-go/service/cloudwatch" ) // DefaultPrefixListNameTemplate is the default template used when a template is not specified. const DefaultPrefixListNameTemplate...
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. //go:build !build_with_native_toolchain // +build !build_with_native_toolchain package netstack import ( "context" "errors" "fmt" "sync" "time" "g...
// Copyright 2013 The Prometheus 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...
// Copyright 2019 Altinity Ltd and/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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unles...
// Copyright 2020 The Android Open Source 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 required by applicable...
package recoverylog import ( "bufio" "bytes" "context" "io" "io/ioutil" "os" "path/filepath" "time" gc "github.com/go-check/check" "github.com/LiveRamp/gazette/pkg/journal" "github.com/LiveRamp/gazette/pkg/topic" ) type PlaybackSuite struct{} func (s *PlaybackSuite) TestPlayerReader(c *gc.C) { var ctx,...
package model import ( "strings" "testing" "github.com/stretchr/testify/assert" ) func TestCreateEngineComplete(t *testing.T) { yamlEnv, e := ParseYamlDescriptor(buildURL(t, "./testdata/yaml/complete.yaml"), &TemplateContext{}) assert.Nil(t, e) p, e := createPlatform(yamlEnv.Ekara) assert.Nil(t, e) env, e :...
// Copyright the Hyperledger Fabric contributors. All rights reserved. // SPDX-License-Identifier: Apache-2.0 package internal import ( "errors" "fmt" "reflect" "testing" "github.com/go-openapi/spec" metadata "github.com/RUAN0007/fabric-contract-api-go/metadata" "github.com/RUAN0007/fabric-contract-api-go/ser...
package main import ( "fmt" "io/ioutil" "log" "os" "path/filepath" "strconv" "strings" "github.com/42wim/hclencoder" "github.com/spf13/viper" "gopkg.in/alecthomas/kingpin.v2" ) // toml input type Ttask struct { Name string Taskgroup string NagiosSms *int NagiosMail *int Hostname ...
/* Copyright © 2020 <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 writing, softwa...
package main import ( "bytes" "flag" "fmt" "github.com/ccontavalli/goutils/config" "github.com/ccontavalli/goutils/misc" "github.com/ccontavalli/goutils/scanner" "github.com/ccontavalli/sbexr/server/structs" "golang.org/x/net/html" "io" "os" "path" "path/filepath" "regexp" "sort" "strings" ) var root =...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: github.com/google/cloudprober/probes/external/proto/config.proto package proto import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import proto1 "github.com/google/cloudprober/metrics/proto" // Reference imports to suppress e...
// 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
package flg import ( "bytes" "errors" "flag" "fmt" "os" "reflect" "strconv" "strings" "time" "github.com/iancoleman/strcase" ) var ( flagTag = "flag" // Expected env struct tag name. configTag = "config" // Expected general config values (only "ignore" supported ATM). fmtTag = "fmt" helpTag = ...
/* Created on Apr 18, 2017 @author: <NAME>, Georgetown University See LICENSE for licensing information */ package main import ( "crypto/tls" "crypto/x509" "encoding/binary" "flag" "fmt" "github.com/golang/protobuf/proto" "io" "io/ioutil" "math/rand" "net" "os" "PSC/l...
/* 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 ...
// 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...