text
stringlengths
8.57k
38.1k
package html2gemini import ( "bytes" "fmt" "io" "path/filepath" "regexp" "strings" "unicode" "github.com/olekukonko/tablewriter" "github.com/ssor/bom" "golang.org/x/net/html" "golang.org/x/net/html/atom" ) // Options provide toggles and overrides to control specific rendering behaviors. type Options struc...
// SPDX-License-Identifier: Apache-2.0 // // Copyright 2021 Digital Ocean, 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 // // U...
// Code generated by main. DO NOT EDIT. package caaa_010_001_03 import ( "bytes" "encoding/base64" "encoding/xml" "time" ) type AcceptorReconciliationResponse2 struct { Envt CardPaymentEnvironment19 `xml:"urn:iso:std:iso:20022:tech:xsd:caaa.010.001.03 Envt"` TxRspn ResponseType1 `xml:"urn:iso:...
package main import ( "encoding/json" "flag" "fmt" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" "github.com/qmsk/snmpbot/api" "log" "math" "math/rand" "net/http" "strings" "sync" "time" ) type metricMap map[int64]prometheus.Gauge type deviceMe...
// 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 gc import ( "cmd/compile/internal/ssa" "cmd/compile/internal/types" "cmd/internal/dwarf" "cmd/internal/obj" "cmd/internal/objabi" "cmd/internal/s...
// Copyright © 2019 Annchain Authors <EMAIL ADDRESS> // // 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 applicab...
// package search is search specific logic for the frontend. Also see // github.com/sourcegraph/sourcegraph/internal/search for more generic search // code. package search import ( "context" "fmt" "math" "net/http" "net/url" "strconv" "strings" "time" "github.com/cockroachdb/errors" "github.com/inconshrevea...
// Copyright (c) 2013-2017 The btcsuite developers // Copyright (c) 2015-2016 The Decred developers // Copyright (C) 2015-2017 The Lightning Network Developers package lnd import ( "bytes" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/tls" "crypto/x509" "crypto/x509/pkix" "encoding/pem" "fmt" "io/i...
// Copyright 2020 PingCAP, Inc. // Modifications copyright (C) 2021 MatrixOrigin. // // 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 // /...
package stackdriver import ( "context" "fmt" "math" "strconv" "strings" "sync" "time" monitoring "cloud.google.com/go/monitoring/apiv3/v2" "github.com/influxdata/telegraf" "github.com/influxdata/telegraf/config" "github.com/influxdata/telegraf/internal/limiter" "github.com/influxdata/telegraf/metric" "gi...
// 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. // The following enables go generate to generate the doc.go file. //go:generate go run $JIRI_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go . ...
// //Copyright [2016] [SnapRoute 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 t...
// Copyright (C) 2018 rameshvk. All rights reserved. // Use of this source code is governed by a MIT-style license // that can be found in the LICENSE file. // Package seqtest contains a table of human readable sequence tests // and some helper methods to run tests from it. // // Each test is represented by three stri...
// Copyright (c) Acrosync LLC. All rights reserved. // Free for personal use and commercial trial // Commercial use requires per-user licenses available from https://duplicacy.com package duplicacy import ( "encoding/json" "fmt" "io/ioutil" "net" "os" "path" "regexp" "runtime" "strconv" "strings" "golang....
// // Copyright © 2017 <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 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...
package gotojs import ( "encoding/json" "fmt" "log" "net/http" "net/url" "reflect" "regexp" "strconv" "strings" "text/template" ) const ( DefaultInterfaceName string = "main" DefaultFunctionName string = "f" DefaultInternalInterfaceName string = "gotojs" ) // Filter is a filter function...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: envoy/service/load_stats/v2/lrs.proto package envoy_service_load_stats_v2 import ( context "context" fmt "fmt" core "github.com/cilium/proxy/go/envoy/api/v2/core" endpoint "github.com/cilium/proxy/go/envoy/api/v2/endpoint" _ "github.com/cncf/udpa/go/udp...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 // protoc v3.11.2 // source: resources.proto package results_go_proto import ( proto "github.com/golang/protobuf/proto" any "github.com/golang/protobuf/ptypes/any" timestamp "github.com/golang/protobuf/ptypes/timestamp"...
// Code generated by protoc-gen-go. // source: google.golang.org/cloud/bigtable/internal/table_data_proto/bigtable_table_data.proto // DO NOT EDIT! /* Package google_bigtable_admin_table_v1 is a generated protocol buffer package. It is generated from these files: google.golang.org/cloud/bigtable/internal/table_data_...
package server import ( "bytes" "context" "errors" "fmt" "github.com/90TechSAS/go-recursive-mutex" cpb "github.com/PomeloCloud/BFTRaft4go/proto/client" pb "github.com/PomeloCloud/BFTRaft4go/proto/server" "github.com/PomeloCloud/BFTRaft4go/utils" "github.com/dgraph-io/badger" "github.com/golang/protobuf/proto...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/ads/googleads/v2/resources/change_status.proto package resources import ( fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" wrappers "github.com/golang/protobuf/ptypes/wrappers" enums "google.golang.org/genproto/googleapis/ads/googl...
// 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...
// Copyright © 2015-2018 <NAME>. All rights reserved. // dedup scans files or directories and calculates fingerprint hashes for them based on their contents. // // Originally written on a plane from SFO->EWR on 7-23-15 in about an hour. // Based on an idea I had been mulling in my mind for years. // // Without the -d ...
// vtepFSM.go // File contains the FSM related to setting up a VTEP endpoint package vxlan import ( "fmt" "net" "reflect" "strconv" "strings" "time" "utils/fsm" ) // VxlanVtepMachineModuleStr FSM name const VxlanVtepMachineModuleStr = "VTEPM" // TODO, what should this time be ?? var retrytime = time.Second * ...
// Copyright (c) 2019 Oasis Labs Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditio...
// 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 2020 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 appl...
package common import ( "encoding/binary" "fmt" "math/big" "strconv" "strings" "time" ethereum "github.com/ethereum/go-ethereum/common" "github.com/KyberNetwork/reserve-data/common/archive" ) // Version indicate fetched data version type Version uint64 // Timestamp is data fetched timestamp type Timestamp ...
package hids import ( "fmt" "io/ioutil" "math" "net" "os" "path/filepath" "strings" "time" "github.com/0xrawsec/gene/v2/engine" "github.com/0xrawsec/golang-utils/fsutil" "github.com/0xrawsec/golang-utils/log" "github.com/0xrawsec/golang-win32/win32" "github.com/0xrawsec/golang-win32/win32/advapi32" "gi...
package storage import ( "fmt" "io" "strings" "time" "github.com/open-horizon/edge-sync-service/common" "github.com/open-horizon/edge-sync-service/core/dataURI" ) const ( destinations = "syncDestinations" leader = "syncLeaderElection" notifications = "syncNotifications" objects = "syn...
// Copyright 2015 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 applicabl...
package types // PSEC_WINNT_AUTH_IDENTITY_OPAQUE type PSEC_WINNT_AUTH_IDENTITY_OPAQUE LPVOID // SECURITY_STATUS type ( SECURITY_STATUS HRESULT SAFER_LEVEL_HANDLE HANDLE ) // ISecurityInformation type ( ISecurityInformation LPVOID LPSECURITYINFO ISecurityInformation ) // AceFlags type AceFlags DWORD co...
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package binres import ( "bytes" "compress/gzip" "errors" "fmt" "io" "strings" "unicode/utf16" ) const NoEntry = 0xFFFFFFFF // TableRef uniquely ident...
package gb import ( "fmt" "io" "strings" ) var ( wroteHeader bool debugMode bool ) func dpanic(format string, values ...interface{}) { if !debugMode { return } panic(fmt.Sprintf(format, values...)) } func unmappedWrite(subsystem string, addr uint16, val uint8) { dpanic("[%s] unmapped write to %04x: %0...
// Copyright 2017 The WPT Dashboard Project. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package shared import ( "errors" "fmt" "net/http" "net/url" "regexp" "sort" "strconv" "strings" "time" mapset "github.com/deckarep/golang...
package products import ( "encoding/json" sharedCommon "github.com/erply/api-go-wrapper/pkg/api/common" ) const ( ResponseTypeCSV = "CSV" ) type ( GetProductsResponse struct { Status sharedCommon.Status `json:"status"` Products []Product `json:"records"` } getProductCategoriesResponse struct {...
// Code generated by protoc-gen-go. // source: application.proto // DO NOT EDIT! /* Package api is a generated protocol buffer package. It is generated from these files: application.proto node.proto channel.proto channelList.proto nodeSession.proto common.proto It has these top-level messages: CreateApplicati...
package recoverylog import ( "bufio" "bytes" "context" "io" "io/ioutil" "os" "path/filepath" "runtime" "strings" "time" gc "github.com/go-check/check" "github.com/pkg/errors" "go.gazette.dev/core/broker/client" pb "go.gazette.dev/core/broker/protocol" "go.gazette.dev/core/brokertest" "go.gazette.dev/c...
// Copyright © 2012-2013, <NAME>. All rights reserved. // Use of this source code is governed by a BSD-style license that can // be found in the LICENSE.txt file. package dag import ( "reflect" "regexp" "testing" "github.com/stretchrcom/testify/assert" "fubsy/testutils" "fubsy/types" ) func Test_FinderNode_S...
package view import ( "fmt" "reflect" "sort" "strings" "sync" "sync/atomic" "time" "github.com/gogo/protobuf/proto" "github.com/golang/protobuf/ptypes" "github.com/golang/protobuf/ptypes/any" google_protobuf "github.com/golang/protobuf/ptypes/any" "gomatcha.io/bridge" "gomatcha.io/matcha" "gomatcha.io/m...
/* Copyright 2020 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: envoy/config/filter/fault/v3alpha/fault.proto package envoy_config_filter_fault_v3alpha import ( fmt "fmt" v3alpha "github.com/envoyproxy/go-control-plane/envoy/type/v3alpha" _ "github.com/envoyproxy/protoc-gen-validate/validate" proto "github.com/golang...
// Copyright 2016 PingCAP, 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 goyacc -l -o sql.go sql.y. DO NOT EDIT. package parser import __yyfmt__ "fmt" func setParseTree(yylex yyLexer, stmt Statement) { yylex.(*Lexer).ParseTree = stmt } type yySymType struct { yys int str string num int statement Statement strs []string cond *Conditi...
// Copyright (c) 2017, The dcrdata developers // See LICENSE for details. package dcrpg import ( "bytes" "database/sql" "errors" "fmt" "strings" "sync" "time" "github.com/coolsnady/hcd/chaincfg" "github.com/coolsnady/hcd/chaincfg/chainhash" "github.com/coolsnady/hcd/txscript" "github.com/coolsnady/hcd/wir...
// SPDX-License-Identifier: Apache-2.0 // Copyright 2021 The Kubernetes Authors package main import ( "fmt" "strings" "bytes" "io" "sort" gofmt "go/format" "path" "k8s.io/idl/backends/common/request" "k8s.io/idl/backends/common/respond" pany "github.com/golang/protobuf/ptypes/any" ir "k8s.io/idl/ckdl-ir/...
// +build all fuzz package tests import ( "context" "flag" "fmt" "math/big" "math/rand" "reflect" "strconv" "strings" "testing" "time" "github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" "github.com/stretchr/testify/s...
// fcdeck: render deck markup using the fyne canvas package main import ( "flag" "fmt" "image/color" "os" "os/signal" "strconv" "strings" "syscall" "unicode" "fyne.io/fyne/v2" "fyne.io/fyne/v2/layout" "fyne.io/fyne/v2/theme" "fyne.io/fyne/v2/widget" "github.com/ajstarks/deck" "github.com/ajstarks/fc" )...
// Copyright 2020 Ohio Supercomputer Center // 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 cpd import ( "fmt" "io" "io/ioutil" "os" fp "path/filepath" "strings" "sync" "testing" "github.com/stretchr/testify/assert" ) type tStringHasBom struct { id IDCodePage s string r bool } var dStringHasBom = []tStringHasBom{ {0, "", false}, {ASCII, "", false}, {CP866, "CP866", false}, {CP125...
// Package slimarray uses polynomial to compress and store an array of uint32. // A uint32 costs only 5 bits in a sorted array of a million number in range [0, // 1000*1000]. // // The General Idea // // We use a polynomial y = a + bx + cx² to describe the overall trend of the // numbers. // And for every number i we a...
package github import ( "bytes" "context" "crypto/sha256" "database/sql" "encoding/binary" "encoding/hex" "fmt" "log" "time" gh "github.com/google/go-github/v28/github" "github.com/lib/pq" ) var tables = map[string]string{ "github_organizations_versioned": "avatar_url, collaborators, created_at, ...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.1 // protoc v3.19.4 // source: api/config/registry/v1/registry.proto package v1 import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "...
// 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...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: common/common.proto package common 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 c...
// Code generated by protoc-gen-go. // source: google/logging/v2/logging.proto // DO NOT EDIT! package google_logging_v2 import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import _ "github.com/gengo/grpc-gateway/third_party/googleapis/google/api" import google_api3 "go.pedge.io/pb/go/...
/* * Copyright 2018 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 l...
// Copyright 2020 ConsenSys Software 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 a...
// Copyright 2020 Saferwall. All rights reserved. // Use of this source code is governed by Apache v2 license // license that can be found in the LICENSE file. package pe import ( "fmt" "strings" ) // WS232OrdNames maps ordinals to name. var WS232OrdNames = map[uint64]string{ 1: "accept", ...
package main import ( "bufio" "bytes" "encoding/json" "fmt" "io" "log" "os" "os/exec" "os/signal" "path/filepath" "runtime/debug" "strconv" "strings" "syscall" "unicode" "unicode/utf8" "github.com/mattn/go-runewidth" "github.com/pkg/errors" "golang.org/x/term" ) var ( LogFile = "/home/wlcsm/go/...
package config import ( "os" "encoding/json" "crypto/tls" "io" "io/ioutil" "net" "net/http" "net/url" "strings" "path/filepath" "reflect" "time" "crypto/x509" "github.com/456vv/vweb/v2" "github.com/456vv/vconnpool/v2" "github.com/456vv/verror" ) func configMerge(handle func(...
package csv import ( "errors" "fmt" "reflect" "strconv" "strings" "sync" "time" "unicode" jsoniter "github.com/json-iterator/go" "github.com/qiniu/log" "github.com/qiniu/logkit/conf" "github.com/qiniu/logkit/parser" . "github.com/qiniu/logkit/parser/config" "github.com/qiniu/logkit/times" . "github.c...
// Copyright 2018-2020 opcua authors. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. package uasc import ( "context" "crypto/rsa" "crypto/x509" "io" "math" "sync" "sync/atomic" "time" "github.com/gandaldf/opcua/debug" "github.com...
package main import ( "bytes" "errors" "fmt" "io" "io/ioutil" "os" "os/exec" "os/signal" "path/filepath" "regexp" "strings" "syscall" "time" "unicode" "golang.org/x/text/transform" "golang.org/x/text/unicode/norm" "github.com/fatih/color" "github.com/fsnotify/fsnotify" flag ...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.12.4 // source: proto/test.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.golang....
// Copyright Istio Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wri...
// Copyright (c) 2012-2015 <NAME>. All rights reserved. // Use of this source code is governed by a BSD-style license found in the LICENSE file. package codec // Contains code shared by both encode and decode. // Some shared ideas around encoding/decoding // ------------------------------------------ // // If an int...
package main import ( "bytes" "fmt" "io/ioutil" "os" "os/exec" "path" "path/filepath" "sort" "strings" "testing" "github.com/stretchr/testify/require" "gopkg.in/yaml.v3" ) func prepareAssets(t *testing.T) { if _, err := os.Stat("assets/test_module.ko"); os.IsNotExist(err) { cmd := exec.Command("make",...
// 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 main import ( "crypto/rand" "flag" "fmt" "io/ioutil" "net" "os" "os/exec" "path/filepath" "runtime" "strconv" "strings" "github.com/google/uuid" log "github.com/sirupsen/logrus" ) const ( defaultFWPath = "/usr/share/ovmf/bios.bin" ) // QemuConfig contains the config for Qemu type QemuConfig st...
// Copyright The Shipwright Contributors // // SPDX-License-Identifier: Apache-2.0 package buildrun import ( "context" "encoding/json" "fmt" "regexp" "strconv" "strings" "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1" "knative.dev/pkg/apis" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachine...
package terraform import ( "fmt" "log" "strings" "github.com/hashicorp/go-multierror" "github.com/hashicorp/hcl2/hcl" "github.com/zclconf/go-cty/cty" "github.com/hashicorp/terraform/addrs" "github.com/hashicorp/terraform/configs" "github.com/hashicorp/terraform/plans" "github.com/hashicorp/terraform/plans/...
// Copyright (2019) Cobalt Speech and Language 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 ...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: connection.proto package connection import ( context "context" fmt "fmt" proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" connectioncontext "github.com/networkservicemesh/networkservicemesh/controlplane/pkg/apis/c...
// Copyright ©2016 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 lp implements routines for solving linear programs. package lp import ( "errors" "fmt" "math" "github.com/neoyagami/gonum/floats" "github....
// Copyright 2018 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: service.proto /* Package service is a generated protocol buffer package. Package service defines data model for Kubernetes Service. It is generated from these files: service.proto It has these top-level messages: Service */ package service import proto ...
package azure import ( "crypto/ecdsa" "crypto/elliptic" "crypto/rsa" "crypto/x509" "encoding/base64" "encoding/json" "encoding/pem" "fmt" "io/ioutil" "math/big" "net/http" "os" "path/filepath" "regexp" "strings" log "github.com/sirupsen/logrus" "golang.org/x/crypto/pkcs12" "golang.org/x/net/context"...
/* 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 2019 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 crash contains functionality shared by tests that exercise the crash reporter. package crash import ( "context" "fmt" "io/ioutil" "os" ...
// Copyright 2020, 2021 <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...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/cloud/tasks/v2/task.proto package tasks import ( fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" duration "github.com/golang/protobuf/ptypes/duration" timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/g...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/ads/googleads/v2/services/google_ads_field_service.proto package services import ( context "context" fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" _ "...
package validate import ( "encoding/json" "fmt" "io" "io/ioutil" "mime/multipart" "net/http" "net/url" "reflect" "strconv" "strings" "time" "github.com/gookit/filter" "github.com/gookit/goutil/strutil" ) type sourceType uint8 const ( // from user setting, unmarshal JSON sourceMap sourceType = iota + ...
// 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 ecsclient import ( "crypto/tls" "encoding/json" "encoding/xml" "fmt" "io/ioutil" "net" "net/http" "strconv" "strings" "sync/atomic" "time" ecsconfig "github.com/paychex/prometheus-emcecs-exporter/pkg/config" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" ) // EcsClient is used to ...
// mkerrors.sh -m64 // MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT // Created by cgo -godefs - DO NOT EDIT // cgo -godefs -- -m64 _const.go package syscall const ( AF_APPLETALK = 0x2 AF_BLUETOOTH = 0xa AF_DLI = 0x6 AF_INET = 0x1 AF_INET6 ...
// Copyright 2013 By Jshi. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package sysc // MSG. type MSG struct { HWnd Handle // HWND Message uint32 WParam uintptr LParam uintptr Time uint32 Pt POINT } // TRUE and FALSE c...
package main import ( "log" "encoding/json" "net/http" //"./api" . "github.com/jstolp/pofadder-go/api" "fmt" "math" "math/rand" "time" "strconv" "strings" ) type CoordList []Coord // remove if api is imported correctly (WHY WINDOWS?!? var edgeSnakeLimit int = 0; var turn int = 0; var move string = "down";...
package miekg import ( "errors" "flag" "net" "strings" "sync" "time" log "github.com/sirupsen/logrus" "github.com/miekg/dns" "github.com/zmap/go-iptree/blacklist" "github.com/zmap/zdns" ) type DNSFlags struct { Response bool `json:"response" groups:"flags,long,trace"` Opcode int `...
/* Copyright 2014 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, ...
// SPDX-License-Identifier: Apache-2.0 // // Copyright (C) 2021 Renesas Electronics Corporation. // Copyright (C) 2021 EPAM Systems, 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 /...
// Copyright (c) 2016 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 required by appli...
package p2p import ( "context" "fmt" "math/rand" "time" "github.com/libp2p/go-libp2p-core/host" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" "github.com/multiformats/go-multiaddr" "github.com/pkg/errors" "github.com/iotaledger/hive.go/events" "github.com/iotaledger/hi...
package dhcpv4 import ( "crypto/rand" "encoding/binary" "errors" "fmt" "log" "net" "strings" "github.com/insomniacslk/dhcp/iana" ) // HeaderSize is the DHCPv4 header size in bytes. const HeaderSize = 236 // MaxMessageSize is the maximum size in bytes that a DHCPv4 packet can hold. const MaxMessageSize = 576...
/* Copyright 2020 The Skaffold Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
/* Copyright 2019 PlanetScale 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, softwar...
/* Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
package koupletbuild import ( "context" "encoding/json" "errors" "fmt" "time" apiv1alpha1 "github.com/jgwest/kouplet-operator/api/v1alpha1" "github.com/jgwest/kouplet-operator/controllers/shared" batchv1 "k8s.io/api/batch/v1" corev1 "k8s.io/api/core/v1" kubeErrors "k8s.io/apimachinery/pkg/api/errors" metav...