text
stringlengths
8.57k
38.1k
// Code generated by protoc-gen-go. DO NOT EDIT. // source: workflow.proto package workflow import ( fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a com...
// Copyright 2019-2021 go-pfcp 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 ie import ( "encoding/binary" "io" "github.com/wmnsk/go-pfcp/internal/logger" ) // IE Type definitions. const ( _ ...
package cmd import ( "context" "fmt" "github.com/loft-sh/vcluster/pkg/util/translate" "io" "io/ioutil" authenticationv1 "k8s.io/api/authentication/v1" "k8s.io/apimachinery/pkg/runtime" "math/rand" "net" "os" "os/exec" "sort" "strconv" "strings" "time" "github.com/loft-sh/vcluster/pkg/upgrade" "github...
// Copyright 2021 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 ...
/* Copyright 2021 The Vitess 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, soft...
package iptablesctrl import ( "context" "encoding/base64" "errors" "fmt" "io" "net" "text/template" "github.com/aporeto-inc/go-ipset/ipset" "github.com/spaolacci/murmur3" "go.aporeto.io/trireme-lib/buildflags" "go.aporeto.io/trireme-lib/common" "go.aporeto.io/trireme-lib/controller/constants" provider "g...
package persistence import ( "encoding/json" "math/rand" "reflect" "strconv" "time" cconf "github.com/pip-services3-go/pip-services3-commons-go/config" cconv "github.com/pip-services3-go/pip-services3-commons-go/convert" cdata "github.com/pip-services3-go/pip-services3-commons-go/data" cerr "github.com/pip-s...
package postgres import ( "fmt" "testing" "github.com/stretchr/testify/assert" ) func TestQueryStr(t *testing.T) { assert.Equal(t, `WHERE foo = $1 and bar = $2`, Query("foo = $1 and bar = $2").queryStr()) } func TestOrderStr(t *testing.T) { assert.Equal(t, `ORDER BY "foo" ASC, "bar" DESC`, Query("").Asc("foo")...
// 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...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/compute/v1/disk.proto package compute // import "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import timestamp "github.com/golang/protobuf/ptypes...
// +build windows // Package wim implements a WIM file parser. // // WIM files are used to distribute Windows file system and container images. // They are documented at https://msdn.microsoft.com/en-us/library/windows/desktop/dd861280.aspx. package wim import ( "bytes" "crypto/sha1" "encoding/binary" "encoding/x...
/* * Poly2Tri Copyright (c) 2009-2011, Poly2Tri Contributors * http://code.google.com/p/poly2tri/ * * 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 mu...
/* 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 ovn import ( "fmt" "net" "strconv" "strings" libovsdbclient "github.com/ovn-org/libovsdb/client" "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/config" "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/libovsdbops" "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/metrics" "github.com/ovn...
package linux_backend import ( "bufio" "encoding/json" "fmt" "io" "os" "os/exec" "path" "path/filepath" "strconv" "strings" "sync" "time" "github.com/cloudfoundry-incubator/garden-linux/old/linux_backend/bandwidth_manager" "github.com/cloudfoundry-incubator/garden-linux/old/linux_backend/cgroups_manager...
// Copyright (c) 2020 <NAME>. All rights reserved. // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. package infounit import ( "encoding/binary" "encoding/json" "fmt" "math" "regexp" "strconv" "sync/atomic" "time" ) // ByteCount represents a non-negative byte...
package font import "fmt" type langSys struct { requiredFeatureIndex uint16 featureIndices []uint16 } type scriptList map[ScriptTag]map[LanguageTag]langSys func (scriptList scriptList) getLangSys(scriptTag ScriptTag, languageTag LanguageTag) (langSys, bool) { script, ok := scriptList[scriptTag] if !ok || ...
package core import ( "errors" "fmt" "io/ioutil" "os" "path/filepath" "time" "github.com/atlassian/git-lob/providers" "github.com/atlassian/git-lob/util" ) // Implementation of fetch func Fetch(provider providers.SyncProvider, remoteName string, refspecs []*GitRefSpec, dryRun, force bool, callback util.Prog...
// +build go1.5,cgo /* Package plugin exports the functions required to write collectd plugins in Go. This package provides the abstraction necessary to write plugins for collectd in Go, compile them into a shared object and let the daemon load and use them. Example plugin To understand how this module is being use...
// Code generated by protoc-gen-go. // source: pullrequest.proto // DO NOT EDIT! package github import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf type R...
/*- * ============LICENSE_START======================================================= * Author: <NAME> * ================================================================================ * Copyright (C) 2017 - 2020 AT&T Intellectual Property. All rights reserved. * =================================================...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/api/metric.proto /* Package metric is a generated protocol buffer package. It is generated from these files: google/api/metric.proto It has these top-level messages: MetricDescriptor Metric */ package metric import proto "github.co...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.1 // protoc v3.17.3 // source: proxy/v1/proxy.proto package proxyv1 import ( _ "github.com/envoyproxy/protoc-gen-validate/validate" _ "github.com/lyft/clutch/backend/api/api/v1" _ "google.golang.org/genproto/googleapis/ap...
// Package roothash implements the tendermint backed roothash backend. package roothash import ( "bytes" "context" "fmt" "math" "sync" "github.com/eapache/channels" "github.com/hashicorp/go-multierror" tmabcitypes "github.com/tendermint/tendermint/abci/types" tmpubsub "github.com/tendermint/tendermint/libs/p...
package ast import ( "fmt" "strconv" "github.com/noplang/nopc-go/parser" "github.com/antlr/antlr4/runtime/Go/antlr" ) //NopListener : An implementation of Antlr 4's listener interface with the aim of converting the parse tree from Antlr (which calls the exported listening functions) to the abstract syntax tree ...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/cloud/asset/v1/assets.proto package asset import ( fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" _ "github.com/golang/protobuf/ptypes/any" _struct "github.com/golang/protobuf/ptypes/struct" timestamp "github.com/golang/protobuf...
/* Copyright 2014 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
package main //revive:disable:deep-exit import ( "bytes" "context" "crypto/rand" "encoding/json" "errors" "flag" "fmt" "io/ioutil" "log" "os" "os/exec" "os/signal" "runtime" "sort" "strconv" "strings" "syscall" "time" "unicode" "cloud.google.com/go/spanner" database "cloud.google.com/go/spanner/...
// 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 grasure import ( "bufio" "context" "hash/crc32" "io" "log" "net" "net/http" "os" "sort" "strconv" "strings" "sync" "text/template" "time" "github.com/DurantVivado/GrasureOL/xlog" ) const ( defaultInfoFilePath = "cluster.info" defaultNodeFilePath = "nodes.addr" defaultVirtu...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: config.proto package configpb import ( fmt "fmt" proto "github.com/golang/protobuf/proto" configpb "github.com/google/certificate-transparency-go/trillian/ctfe/configpb" keyspb "github.com/google/trillian/crypto/keyspb" math "math" ) // Reference impor...
package ui import ( "bytes" "fmt" "math" "regexp" "strconv" "strings" "unicode/utf8" "github.com/fivemoreminix/qedit/pkg/buffer" "github.com/gdamore/tcell/v2" "github.com/mattn/go-runewidth" ) // TextEdit is a field for line-based editing. It features syntax highlighting // tools, is autocomplete ready, an...
package pkglint import ( "fmt" "io" "netbsd.org/pkglint/getopt" "netbsd.org/pkglint/histogram" "netbsd.org/pkglint/regex" tracePkg "netbsd.org/pkglint/trace" "os" "os/user" "runtime" "runtime/debug" "runtime/pprof" "strings" ) const confMake = "@BMAKE@" const confVersion = "@VERSION@" // Pkglint is a con...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: envoy/api/v2/core/address.proto /* Package core is a generated protocol buffer package. It is generated from these files: envoy/api/v2/core/address.proto envoy/api/v2/core/base.proto envoy/api/v2/core/config_source.proto envoy/api/v2/core/grpc_service.pr...
// Copyright © 2022 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 // // 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 // // Unle...
/* Copyright 2016 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
// Package eventx attempts to provide a concrete go type for different events // related to the DOM. Not all the events and their functionality can be supported. // It exists has a package to allow access to this events without any tie into the // corresponding js primitive. If you prefer a fuller support. Use GopherJS...
package anonbcast import ( "github.com/arvid220u/eggscrambler/libraft" "os" "strconv" "testing" // import "log" crand "crypto/rand" "encoding/base64" "fmt" "math/big" "math/rand" "runtime" "sort" "sync" "sync/atomic" "time" "github.com/arvid220u/eggscrambler/labrpc" "github.com/arvid220u/eggscramble...
/* 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 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 config import ( "fmt" "path" "path/filepath" "regexp" "runtime" "strings" "unicode/utf8" "github.com/hashicorp/go-getter" "github.com/hashicorp/hcl/v2" tflang "github.com/hashicorp/terraform/lang" "github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty/function" "go.mozilla.org/sops/v3/dec...
// Package dsort provides distributed massively parallel resharding for very large datasets. /* * Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved. */ package dsort import ( "fmt" "io" "io/ioutil" "net/http" "os" "sync" "time" "github.com/NVIDIA/aistore/3rdparty/atomic" "github.com/NVIDIA/a...
package controller import ( "encoding/json" "fmt" "strings" "time" "github.com/antonmedv/expr" "github.com/valyala/fasttemplate" "github.com/argoproj/argo/errors" wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" "github.com/argoproj/argo/workflow/common" "github.com/argoproj/argo/workflow/templat...
/* Copyright 2017 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreedto in writing, software dist...
/* * * Copyright 2018 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
package btcmarkets import ( "errors" "fmt" "strings" "sync" "time" "github.com/thrasher-corp/gocryptotrader/common" "github.com/thrasher-corp/gocryptotrader/config" "github.com/thrasher-corp/gocryptotrader/currency" exchange "github.com/thrasher-corp/gocryptotrader/exchanges" "github.com/thrasher-corp/gocry...
package model import ( "os" "path/filepath" "strings" "github.com/evergreen-ci/utility" "github.com/mongodb/grip" "github.com/mongodb/jasper/util" "github.com/pkg/errors" ) // Golang represents a configuration for generating an evergreen configuration // from a project that uses Golang. type Golang struct { ...
// Copyright (c) 2019 Bell Canada, Pantheon Technologies and/or its affiliates. // // 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 search import ( "fmt" "math" "sync" . "github.com/amanjpro/zahak/book" . "github.com/amanjpro/zahak/engine" . "github.com/amanjpro/zahak/fathom" ) const TB_WIN_BOUND int16 = 27000 const TB_LOSS_BOUND int16 = -27000 func (r *Runner) Search(depth int8) { e := r.Engines[0] if bestmove := ProbeDTZ(e.Pos...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.1 // protoc v3.19.4 // source: envoy/extensions/filters/http/kill_request/v3/kill_request.proto package kill_requestv3 import ( _ "github.com/cncf/xds/go/udpa/annotations" v3 "github.com/envoyproxy/go-control-plane/envoy/t...
// Copyright 2020 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, ...
/* Copyright 2018 The Rook Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to ...
// 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...
package sprec import "fmt" func NewMat4( m11, m12, m13, m14 float32, m21, m22, m23, m24 float32, m31, m32, m33, m34 float32, m41, m42, m43, m44 float32, ) Mat4 { return Mat4{ M11: m11, M12: m12, M13: m13, M14: m14, M21: m21, M22: m22, M23: m23, M24: m24, M31: m31, M32: m32, M33: m33, M34: m34, M41: m41, ...
/** * Copyright 2014 @ z3q.net. * name : * author : jarryliu * date : 2013-12-09 10:13 * description : * history : */ package repos import ( "database/sql" "fmt" "github.com/jsix/gof" "github.com/jsix/gof/db" "github.com/jsix/gof/db/orm" "github.com/jsix/gof/storage" "go2o/core" "go2o/core/domain/inter...
// Copyright 2016 HenryLee. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// Copyright 2015 Reborndb Org. All Rights Reserved. // Licensed under the MIT (MIT-LICENSE.txt) license. package router import ( "bufio" "bytes" "container/list" "io" "net" "os" "os/signal" "path" "strconv" "strings" "sync" "syscall" "time" "github.com/juju/errors" stats "github.com/ngaut/gostats" "...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/cloud/automl/v1/model.proto package automl import ( fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "google.golang.org/genproto/googleapis/api/annotations" ) // Reference ...
// Copyright 2017 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. //go:build (go1.6 && amd64) || go1.8 // +build go1.6,amd64 go1.8 // arm64spec reads the ``ARMv8-A Reference Manual'' // to collect instruction encoding details...
package rawtx // OpCode represents a Bitcoin operation code type OpCode byte // Bitcoin OP Codes. // Mainly copied and adopted from https://github.com/btcsuite/btcd/blob/master/txscript/opcode.go const ( Op0 OpCode = 0x00 OpDATA1 OpCode = 0x01 OpDATA2 OpCode = 0x02 Op...
// 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 (c) 2012-2017 <NAME> // Distributable under the terms of The New BSD License // that can be found in the LICENSE file. // Package gortlsdr wraps librtlsdr, which turns your Realtek RTL2832 based // DVB dongle into a SDR receiver. package rtlsdr import ( "bytes" "errors" "unsafe" ) /* // On linux, yo...
// Code generated by protoc-gen-go. // source: message.proto // DO NOT EDIT! package pb import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import google_protobuf1 "github.com/golang/protobuf/ptypes/any" import google_protobuf "github.com/golang/protobuf/ptypes/timestamp" // Reference...
/* * Copyright (c) 2017 AlexRuzin (<EMAIL>) * * 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,...
package postgres import ( "fmt" "strconv" "strings" "text/template" "github.com/frk/gosql/internal/analysis" "github.com/frk/tagutil" ) type dbErrorCode uint func (e dbErrorCode) name() string { return fmt.Sprintf("error_template_%d", e) } const ( _ dbErrorCode = iota errDatabaseOpen errDatabaseInit // TO...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/cloud/asset/v1p2beta1/assets.proto package asset import ( fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" any "github.com/golang/protobuf/ptypes/any" _struct "github.com/golang/protobuf/ptypes/struct" timestamp "github.com/golang...
// Copyright 2021 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This proto definition describes the deployment info of a machine LSE (host) in UFS. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: /...
// Copyright 2018 The go-hpb Authors // Modified based on go-ethereum, which Copyright (C) 2014 The go-ethereum Authors. // // The go-hpb is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version...
package events import ( "encoding/binary" "fmt" "github.com/juju/errors" . "github.com/wingerx/drt/tools" "io" "strings" ) // A format description event is the first event for binlog-version 4; // it describes how the following events are structured. type FormatDescriptionEvent struct { BinlogVersion ...
package color import ( "strconv" "strings" "gitlab.com/ethanbakerdev/colors/css" "gitlab.com/ethanbakerdev/colors/sol" ) /* For future development with special escape code sequences ClearScreen = "\033[2J\033[H" ClearLine = "\033[2K\033[G" CursorOff = "\033[?25l" CursorOn = "\033[?25h" StrikeOut = ...
// Copyright (C) 2021 Gridworkz Co., Ltd. // KATO, Application Management Platform // 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 r...
// Copyright (c) 2019 The Eacred developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. package pool import ( "context" "crypto/rand" "encoding/binary" "encoding/hex" "fmt" "math/big" "net/http" "strconv" "strings" "sync" "sync/atomic" bolt "github.c...
package hcl import ( "errors" "fmt" "os" "path/filepath" "reflect" "strings" "github.com/hashicorp/hcl/v2" "github.com/hashicorp/hcl/v2/ext/tryfunc" yaml "github.com/zclconf/go-cty-yaml" "github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty/function" "github.com/zclconf/go-cty/cty/function/stdlib...
/* Package repository implements repository for handling fast and efficient access to data required by the resolvers of the API server. Internally it utilizes RPC to access Opera/Lachesis full node for blockchain interaction. Mongo database for fast, robust and scalable off-chain data storage, especially for aggregate...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: envoy/service/ratelimit/v2/rls.proto package envoy_service_ratelimit_v2 import ( context "context" fmt "fmt" _ "github.com/cncf/udpa/go/udpa/annotations" core "github.com/envoyproxy/go-control-plane/envoy/api/v2/core" ratelimit "github.com/envoyproxy/go...
package test161 import ( "crypto/md5" "encoding/hex" "encoding/json" "errors" "fmt" "github.com/kevinburke/go.uuid" "io/ioutil" "os" "os/exec" "path" "sort" "strings" "sync" "time" ) type SubmissionUserInfo struct { Email string `yaml:"email"` Token string `yaml:"token"` KeyHash string `yaml:"-"`...
package color import ( "fmt" "math" "strconv" "strings" ) var ( // ---------- basic(16) <=> 256 color convert ---------- basicTo256Map = map[uint8]uint8{ 30: 0, // black 000000 31: 160, // red c51e14 32: 34, // green 1dc121 33: 184, // yellow c7c329 34: 20, // blue 0a2fc4 35: 170, // magent...
package types import ( "fmt" "math" "net" "os" "strconv" "strings" //"golang.org/x/tools/go/gcimporter15/testdata" ) type ElabSystem struct { Data ElabData `json:"data"` Name string } type ElabData struct { Id string `json:"id"` Name string ...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: api/config/cds/config_request.proto package cds 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/protobuf/proto" wrapper...
package ipmigo import ( "crypto/hmac" "crypto/rand" "crypto/sha1" "encoding/binary" "encoding/hex" "fmt" ) const ( openSessionRequestSize = 32 openSessionResponseSize = 36 rakpMessage1Size = 44 rakpMessage2Size = 40 rakpMessage3Size = 8 rakpMessage4Size = 8 integrityCheckSiz...
package daemon import ( "bytes" "errors" "reflect" "runtime/debug" "sync" "time" "github.com/boltdb/bolt" "github.com/spo-next/spo/src/daemon/gnet" "github.com/spo-next/spo/src/daemon/pex" "github.com/spo-next/spo/src/util/elapse" "github.com/spo-next/spo/src/util/iputil" "github.com/spo-next/spo/src/ut...
/* Copyright The containerd 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...
// Code generated by protoc-gen-go. // source: raftrpc/raft_rpc.proto // DO NOT EDIT! /* Package RaftRPC is a generated protocol buffer package. It is generated from these files: raftrpc/raft_rpc.proto It has these top-level messages: RPCMessage LogEntry AppendEntriesRequest AppendEntriesReply RequestVoteReque...
// Copyright 2018 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
// 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. // Garbage collector: marking and scanning package runtime import "unsafe" // Scan all of the stacks, greying (or graying if in America) the referents // but...
//line parser.y:16 package eskip import __yyfmt__ "fmt" //line parser.y:16 import "strconv" // conversion error ignored, tokenizer expression already checked format func convertNumber(s string) float64 { n, _ := strconv.ParseFloat(s, 64) return n } //line parser.y:28 type eskipSymType struct { yys int tok...
package core import ( "embed" "errors" "fmt" "io/ioutil" "net/url" "regexp" "strconv" "strings" "sync" "time" "github.com/PuerkitoBio/goquery" log "github.com/sirupsen/logrus" scraper "github.com/vcore8/gowap/pkg/scraper" jsoniter "github.com/json-iterator/go" "go.zoe.im/surferua" ) var json = jsonit...
// Copyright 2019 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 i...
/* Copyright 2017 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
// Copyright 2019-2020 <NAME>. All rights reserved. Use of this source // code is governed by the MIT license that can be found in the LICENSE // file. // Package ui contains user-interface functions and helpers for termshark. package ui import ( "fmt" "github.com/gcla/gowid" "github.com/gcla/termshark/v2/theme"...
package gotham import ( "bufio" "errors" "fmt" "io" "log" "net" "runtime" "sync" "sync/atomic" "time" "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes/any" ) // ErrServerClosed is returned by the Server's Serve, var ErrServerClosed = errors.New("tcp: Server closed") type Handler int...
package command import ( "context" "errors" "flag" "fmt" "io" "net" "net/http" "os" "path" "sort" "strings" "sync" "time" "github.com/hashicorp/errwrap" log "github.com/hashicorp/go-hclog" "github.com/hashicorp/vault/api" "github.com/hashicorp/vault/command/agent/auth" "github.com/hashicorp/vault/co...
package wasm // Opcode is the binary Opcode of an instruction. See also InstructionName type Opcode = byte const ( // OpcodeUnreachable causes an unconditional trap. OpcodeUnreachable Opcode = 0x00 // OpcodeNop does nothing OpcodeNop Opcode = 0x01 // OpcodeBlock brackets a sequence of instructions. A branch inst...
// Copyright 2014 The rkt 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...
package plugins import ( "fmt" "log" "github.com/stellar/kelp/stellargohorizonclientv300/build" hProtocol "github.com/stellar/go/protocols/horizon" "github.com/stellar/go/txnbuild" "github.com/stellar/kelp/api" "github.com/stellar/kelp/model" "github.com/stellar/kelp/support/utils" ) const actionSell = "sell...
/* 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, ...
// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: github.com/solo-io/gloo/projects/gloo/api/external/envoy/extensions/transformation_ee/transformation.proto package transformation_ee import ( fmt "fmt" math "math" _ "github.com/envoyproxy/protoc-gen-validate/validate" proto "github.com/gogo/protobuf/...
//go:generate mcube enum -m -p // // Code generated by protoc-gen-go-ext. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v3.17.1 // source: pkg/endpoint/pb/endpoint.proto package endpoint import ( _ "github.com/infraboard/mcube/cmd/protoc-gen-g...
package zipper import ( "context" "encoding/hex" "errors" "fmt" "io/ioutil" "net" "net/http" _ "net/http/pprof" "net/url" "strconv" "time" pb3 "github.com/go-graphite/carbonzipper/carbonzipperpb3" "github.com/go-graphite/carbonzipper/limiter" "github.com/go-graphite/carbonzipper/pathcache" cu "github.c...