text
stringlengths
5.51k
28.1k
package committee import ( "context" "errors" "fmt" "sync" "time" "github.com/opentracing/opentracing-go" "github.com/prometheus/client_golang/prometheus" "github.com/oasislabs/oasis-core/go/common/cbor" "github.com/oasislabs/oasis-core/go/common/crash" "github.com/oasislabs/oasis-core/go/common/crypto/has...
// Copyright 2018 The Chubao 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 ©2017 The bíogo 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 cram is a WIP CRAM reader implementation. // // Currently the package implements container, block and slice retrieval, and // SAM header values c...
/* 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...
/* * @Author: yangdihang * @Date: 2020/5/21 */ package servicefence import ( "context" "fmt" "reflect" "strings" "time" "slime.io/slime/pkg/apis/config/v1alpha1" microservicev1alpha1 "slime.io/slime/pkg/apis/microservice/v1alpha1" "slime.io/slime/pkg/apis/networking/v1alpha3" "slime.io/slime/pkg/bootstrap"...
// Code generated by smithy-go-codegen DO NOT EDIT. package ec2 import ( "context" "fmt" awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" "github.com/aws/aws-sdk-go-v2/aws/signer/v4" "github.com/aws/aws-sdk-go-v2/service/ec2/types" "github.com/aws/smithy-go/middleware" smithyhttp "github.com/aws/smi...
/* * Copyright 2018-2019 Authors of Cilium * Copyright 2017 Mirantis * * 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 re...
package servercheck /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (th...
/* 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 2017 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 (c) The Thanos Authors. // Licensed under the Apache License 2.0. package block import ( "context" "encoding/json" stderrors "errors" "io/ioutil" "os" "path" "path/filepath" "sort" "sync" "time" "github.com/go-kit/kit/log" "github.com/go-kit/kit/log/level" "github.com/oklog/ulid" "github.c...
package k8splan import ( "context" "encoding/json" "errors" "fmt" "reflect" "strconv" "strings" "time" "github.com/rancher/lasso/pkg/cache" "github.com/rancher/lasso/pkg/client" "github.com/rancher/lasso/pkg/controller" "github.com/rancher/lasso/pkg/scheme" "github.com/rancher/system-agent/pkg/applyinato...
package output import ( "bytes" "context" "errors" "fmt" "io" "mime/multipart" "net/http" "net/textproto" "sync" "time" "github.com/gorilla/websocket" "github.com/benthosdev/benthos/v4/internal/batch" "github.com/benthosdev/benthos/v4/internal/component" "github.com/benthosdev/benthos/v4/internal/compo...
package ginkgo import ( "bytes" "context" "fmt" "io" "io/fs" "io/ioutil" "os" "os/signal" "path/filepath" "sort" "strings" "syscall" "time" "github.com/onsi/ginkgo/config" "github.com/openshift/origin/pkg/monitor" "github.com/openshift/origin/pkg/monitor/monitorapi" monitorserialization "github.com/o...
package docker import ( "context" "fmt" "io" "io/ioutil" "net" "net/http" "os" "path/filepath" "strconv" "strings" "time" "github.com/blang/semver" "github.com/docker/cli/cli/command" "github.com/docker/cli/cli/config" cliflags "github.com/docker/cli/cli/flags" "github.com/docker/distribution/referenc...
package main import ( "context" "fmt" "strings" "github.com/cashapp/transflect/pkg/transflect" "github.com/gogo/protobuf/types" "github.com/pkg/errors" "github.com/rs/zerolog/log" "google.golang.org/grpc" "google.golang.org/protobuf/types/descriptorpb" ist "istio.io/api/networking/v1alpha3" istionet "istio...
/* * Copyright 2017-2019 Kopano and its licensors * * 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 provider import ( "context" "encoding/json" "fmt" "io" "strings" "sync" "time" "github.com/sirupsen/logrus" "google.golang.org/grpc" "google.golang.org/grpc/connectivity" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" utilerrors "k8s.io/apimachinery/pkg/util/errors...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/ads/googleads/v3/services/geographic_view_service.proto package services import ( context "context" fmt "fmt" math "math" proto "github.com/catper/protobuf/proto" resources "google.golang.org/genproto/googleapis/ads/googleads/v3/resources" _ "g...
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // // Originally authored by <NAME> (https://code.google.com/p/rsc/source/browse/cmd/bundle/main.go) // // Modified by <NAME>, 2015 // Gocat combines multiple ...
// Copyright (c) 2020 The btcsuite developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. package wallet import ( "bytes" "fmt" "github.com/tinhnguyenhn/colxd/txscript" "github.com/tinhnguyenhn/colxd/wire" "github.com/tinhnguyenhn/colxutil" "github.com/tin...
package http2 import ( "bytes" "errors" "fmt" "sync" ) // HPACK represents header compression methods to // encode and decode header fields in HTTP/2. // // HPACK is equivalent to an HTTP/1 header. // // Use AcquireHPACK to acquire new HPACK structure. type HPACK struct { // DisableCompression disables compressi...
package grpcserver import ( "context" "fmt" pb "github.com/spacemeshos/api/release/go/spacemesh/v1" "github.com/spacemeshos/go-spacemesh/api" "github.com/spacemeshos/go-spacemesh/common/types" "github.com/spacemeshos/go-spacemesh/events" "github.com/spacemeshos/go-spacemesh/log" "google.golang.org/grpc/codes"...
// Copyright 2013-Present Couchbase, Inc. // // Use of this software is governed by the Business Source License included in // the file licenses/BSL-Couchbase.txt. As of the Change Date specified in that // file, in accordance with the Business Source License, use of this software // will be governed by the Apache Lic...
package generator import ( "bytes" "fmt" "net/url" "regexp" "strings" "text/template" log "github.com/sirupsen/logrus" "github.com/Masterminds/sprig" "github.com/iancoleman/strcase" "github.com/armchair-philosophy/protoc-gen-grpc-gateway-ts/data" "github.com/armchair-philosophy/protoc-gen-grpc-gateway-ts...
package reporter import ( "encoding/json" "fmt" "strconv" "strings" "time" ) // AppleEpochTime is an arbitrary epoch date that Apple uses in NSDate on iOS and Mac. // It is defined as January 1st, 2001 00:00:00 UTC. var AppleEpochTime = time.Unix(978307200, 0) // ISO8601 is the standard ISO 8601 timestamp forma...
/* (c) Copyright [2021-2022] Micro Focus or one of 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 Unless required by applicable law...
// Copyright 2019 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
// Package authz provides an implemention of http authorization where specific // URI (or URI's and their children) are allowed access by a set of roles // // the caller can supply a way to map from a request to a role name. // // the access control points are on entire URI segments only, e.g. // Allow("/foo/bar", "bob...
package model import ( "bytes" "context" "crypto/sha1" "fmt" "hash" "io" "sort" "time" "github.com/evergreen-ci/cedar" "github.com/evergreen-ci/pail" "github.com/mongodb/anser/bsonutil" "github.com/mongodb/anser/db" "github.com/mongodb/grip" "github.com/mongodb/grip/level" "github.com/mongodb/grip/mes...
// Licensed to Elasticsearch B.V. under one or more contributor // license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright // ownership. Elasticsearch B.V. licenses this file to you under // the Apache License, Version 2.0 (the "License"); you may // not use ...
// 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 main import ( "context" "encoding/base64" "fmt" "math/rand" "os" "sort" "strconv" "strings" "time" "github.com/Azure/azure-sdk-for-go/profiles/latest/keyvault/keyvault" kvauth "github.com/Azure/azure-sdk-for-go/services/keyvault/auth" "github.com/Azure/go-autorest/autorest" "github.com/Azure/go-a...
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
// Copyright 2018 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 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 writing, software dist...
// Copyright 2019-2021 go-gtp 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 provides encoding/decoding feature of GTPv2 Information Elements. */ package ie import ( "encoding/binary" "fmt" "io" ) // IE definition...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: verrpc/verrpc.proto package verrpc 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" ) // Reference impo...
/* Copyright The Pharmer Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software...
// 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 eval import ( "fmt" "os" "sync" "src.elv.sh/pkg/diag" "src.elv.sh/pkg/eval/errs" "src.elv.sh/pkg/eval/vals" "src.elv.sh/pkg/eval/vars" "src.elv.sh/pkg/fsutil" "src.elv.sh/pkg/parse" "src.elv.sh/pkg/parse/cmpd" ) // An operation with some side effects. type effectOp interface{ exec(*Frame) Exception...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/ads/googleads/v0/resources/keyword_plan.proto package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources" import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import wrappers "github.co...
package component import ( "fmt" "sort" "strings" "time" "dmitri.shuralyov.com/state" "github.com/dustin/go-humanize" homecomponent "github.com/shurcooL/home/component" "github.com/shurcooL/home/internal/exp/service/notification" "github.com/shurcooL/htmlg" "github.com/shurcooL/notifications" "github.com/s...
package format import ( "github.com/wader/fq/pkg/scalar" ) // based on ffmpeg libavformat/isom.c ff_mp4_obj_type //nolint:revive const ( MPEGObjectTypeMOV_TEXT = 0x08 MPEGObjectTypeMPEG4 = 0x20 MPEGObjectTypeH264 = 0x21 MPEGObjectTypeHEVC = 0x23 MPEGObjectTypeAAC ...
// Copyright 2019 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...
package iso20022 // Set of elements providing information specific to the individual transaction(s) included in the message. type CreditTransferTransactionInformation2 struct { // Set of elements to reference a payment instruction. PaymentIdentification *PaymentIdentification2 `xml:"PmtId"` // Set of elements use...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: adb_over_usb_service.proto package arc import ( context "context" fmt "fmt" proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.gola...
/* Copyright (c) 2021 <NAME> 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, publish, distribute, sublicen...
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package rapidcore import ( "bytes" "context" "errors" "fmt" "io" "io/ioutil" "math" "net/http" "sync" "time" "go.amzn.com/lambda/core/directinvoke" "go.amzn.com/lambda/core/statejson" "go.amzn.co...
// Code generated by azure-service-operator-codegen. DO NOT EDIT. // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. package v1alpha1api20180501previewstorage import ( "github.com/Azure/azure-service-operator/v2/pkg/genruntime" "github.com/Azure/azure-service-operator/v2/pkg/genruntime/condit...
package chain import ( "context" "encoding/json" "errors" "fmt" "math" "reflect" "sort" "time" "0chain.net/chaincore/block" "0chain.net/chaincore/client" "0chain.net/chaincore/config" "0chain.net/chaincore/httpclientutil" "0chain.net/chaincore/node" "0chain.net/chaincore/state" "0chain.net/chaincore/tr...
// Copyright 2019 eBay Inc. // Primary authors: <NAME>, <NAME>, // <NAME>, and <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 // https://www.apache.org/licenses/...
package cloudig import ( "bytes" "fmt" "os" "sort" "strconv" "strings" "sync" "text/template" "time" awslocal "github.com/Optum/cloudig/pkg/aws" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/endpoints" "github.com/aws/aws-sdk-go/service/athena" "github.com/kris-nova/logger" ) const ( ...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/ads/googleads/v2/resources/ad_group_simulation.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/ad...
package dupver import ( "archive/zip" "encoding/json" "errors" "fmt" "os" "path" "path/filepath" "sort" "strings" "time" // "log" "github.com/BurntSushi/toml" "github.com/akbarnes/dupver/src/fancyprint" ) type Commit struct { ID string Branch string Message string Time string Paren...
package tests import ( "testing" "time" "github.com/stretchr/testify/require" "github.com/ShoshinNikita/budget-manager/internal/db" "github.com/ShoshinNikita/budget-manager/internal/pkg/money" "github.com/ShoshinNikita/budget-manager/internal/web/api/models" ) func TestBasicUsage(t *testing.T) { t.Parallel()...
/* * Copyright 2011-2013 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
package http_comms import ( "bytes" "context" "crypto/tls" "crypto/x509" "fmt" "io" "io/ioutil" "net" "net/http" "runtime/debug" "sync" "sync/atomic" "time" "github.com/golang/protobuf/proto" errors "github.com/pkg/errors" actions_proto "www.velocidex.com/golang/velociraptor/actions/proto" api_proto ...
// Code generated by protoc-gen-go. // source: types.proto // DO NOT EDIT! /* Package types is a generated protocol buffer package. It is generated from these files: types.proto It has these top-level messages: Identifier Value ValueList */ package types import proto "github.com/golang/protobuf/proto" import fm...
/* Copyright 2022 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distribu...
// Copyright 2016-2017 VMware, Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
package mp4 import ( "bytes" "testing" "github.com/abema/go-mp4/bitio" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) func TestMarshal(t *testing.T) { type inner struct { Array [4]byte `mp4:"0,size=8,string"` } type testBox struct { mockBox FullBox `mp4:"0,extend"` // ...
package main import ( "bytes" "crypto/md5" "errors" "fmt" "io" "os" "path/filepath" "regexp" "strings" "time" "github.com/bitrise-io/go-utils/command" "github.com/bitrise-io/go-utils/fileutil" "github.com/bitrise-io/go-utils/log" "github.com/bitrise-io/go-utils/pathutil" "github.com/bitrise-io/go-utils...
package main import ( "bytes" "crypto/sha1" "encoding/base64" "encoding/hex" "encoding/json" "fmt" "html/template" "log" "net/http" "sort" "strconv" "strings" "github.com/ghodss/yaml" servicemanagement "google.golang.org/api/servicemanagement/v1" corev1 "k8s.io/api/core/v1" "k8s.io/api/extensions/v1b...
package lsp_test import ( "fmt" "testing" "github.com/nokia/ntt/internal/loc" "github.com/nokia/ntt/internal/lsp" "github.com/nokia/ntt/internal/lsp/protocol" "github.com/nokia/ntt/internal/ntt" "github.com/stretchr/testify/assert" ) func generateSymbols(t *testing.T, suite *ntt.Suite) (*ntt.ParseInfo, []prot...
package faucet import ( "bytes" "fmt" "runtime" "time" "github.com/labstack/echo/v4" "github.com/pkg/errors" "github.com/gohornet/hornet/pkg/common" "github.com/gohornet/hornet/pkg/dag" "github.com/gohornet/hornet/pkg/model/hornet" "github.com/gohornet/hornet/pkg/model/milestone" "github.com/gohornet/horn...
// Copyright 2020 <NAME>. All rights reserved. // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file. package nstatic import ( "bytes" "crypto/sha1" "encoding/base64" "errors" "fmt" "io" "io/ioutil" "mime" "net/http" "os" "path/filepath" "strings" "sync" ...
package yolosvc import ( "context" "fmt" "strings" "time" "berty.tech/yolo/v2/go/pkg/yolopb" "github.com/google/go-github/v32/github" "github.com/tevino/abool" "go.uber.org/zap" ) type GithubWorkerOpts struct { Logger *zap.Logger MaxBuilds int LoopAfter time.Duration ClearCache *abool.AtomicBool O...
package windows import ( "errors" "fmt" "fyne.io/fyne/v2" "fyne.io/fyne/v2/container" "fyne.io/fyne/v2/data/binding" "fyne.io/fyne/v2/dialog" "fyne.io/fyne/v2/theme" "fyne.io/fyne/v2/widget" "github.com/neflyte/timetracker/internal/appstate" tterrors "github.com/neflyte/timetracker/internal/errors" "github....
package controller import ( "bytes" "context" "encoding/json" "fmt" "io/ioutil" "net/http" "reflect" "time" "github.com/cenkalti/backoff/v4" "github.com/containous/maesh/pkg/api" "github.com/containous/maesh/pkg/deploylog" "github.com/containous/maesh/pkg/k8s" "github.com/containous/maesh/pkg/providers/b...
package api import ( "encoding/json" "errors" "fmt" "math/big" "strings" "github.com/ThinkiumGroup/go-common" "github.com/ThinkiumGroup/go-common/hexutil" "github.com/ThinkiumGroup/go-common/math" "github.com/ThinkiumGroup/go-thinkium/models" ) const ( PendingBlockNumber = BlockNumber(-2) LatestBlockNumb...
package bdns import ( "fmt" "math/rand" "net" "strings" "sync" "time" "github.com/jmhodges/clock" "github.com/miekg/dns" "github.com/prometheus/client_golang/prometheus" "golang.org/x/net/context" "github.com/letsencrypt/boulder/metrics" ) func parseCidr(network string, comment string) net.IPNet { _, ne...
// // Copyright (c) 2016 <NAME> <<EMAIL>>. // All rights reserved. This program is free software. It comes without // any warranty, to the extent permitted by applicable law. You can // redistribute it and/or modify it under the terms of the Do What // The Fuck You Want To Public License, Version 2, as published by // ...
package chain import ( "bytes" "testing" "time" cfg "github.com/dusk-network/dusk-blockchain/pkg/config" "github.com/dusk-network/dusk-blockchain/pkg/core/consensus" "github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user" "github.com/dusk-network/dusk-blockchain/pkg/core/database" _ "github.com/dusk...
// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: alert_conditions.proto package monitor import ( fmt "fmt" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" types "github.com/gogo/protobuf/types" math "math" ) // Reference imports to suppress errors if they are not other...
// Copyright 2018, OpenCensus 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...
// ui mode specific handlers package vxsv import ( "bufio" "encoding/json" "fmt" "io" "io/ioutil" "math" "os/exec" "sort" "strconv" "strings" "unicode" "github.com/montanaflynn/stats" "github.com/nsf/termbox-go" ) type ModeHandler interface { HandleKey(ev termbox.Event) Repaint() } type HandlerDefau...
// Package processor does the work of taking incoming events from machines and // updating the machine state using that information. The goal is to move all // the logic out of `skia_mobile.py` and into processor. // // TODO(jcgregorio) Add support for devices beyond Android. // TODO(kjlubick,jcgregorio) Use ro.build.f...
// Package cron implements the database.Model interface for the Cron entity. // The Cron entity allows for build's to be submitted on a defined schedule. package cron import ( "context" "database/sql" "database/sql/driver" "encoding/json" "net/url" "strconv" "strings" "time" "djinn-ci.com/build" "djinn-ci.c...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/ads/googleads/v3/resources/shared_set.proto package resources import ( fmt "fmt" math "math" proto "github.com/catper/protobuf/proto" wrappers "github.com/catper/protobuf/ptypes/wrappers" enums "google.golang.org/genproto/googleapis/ads/googlead...
package logic // skipping keys is often possible in ages dungeons, but it doesn't matter in // logic because you could misuse the keys anyway. the logic always assumes the // worst possible key usage. // third key door is changed to a shutter from the "wrong" side, since if you // use your first key on it, you can't ...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: dapr/proto/sentry/v1/sentry.proto package v1 import ( context "context" fmt "fmt" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" statu...
package v2 import ( "encoding/json" "fmt" smith_v1 "github.com/atlassian/smith/pkg/apis/smith/v1" "github.com/atlassian/voyager" orch_v1 "github.com/atlassian/voyager/pkg/apis/orchestration/v1" "github.com/atlassian/voyager/pkg/execution/plugins/generic/secretplugin" compute_common "github.com/atlassian/voyage...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** package azuread import ( "context" "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) // Gets information about an Azure Active Directory...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: infra/libs/bqschema/tabledef/table_def.proto package tabledef 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 _...
/* Copyright NetFoundry, 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software ...
// An HTTP Client which sends json and binary requests, handling data marshalling and response processing. package http import ( "bytes" "crypto/tls" "encoding/json" "fmt" "io" "io/ioutil" "net/http" "net/url" "regexp" "strconv" "sync" "time" "gopkg.in/goose.v2" "gopkg.in/niedbalski/goose.v3/errors" "...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: peer/proposal_response.proto package peer import ( fmt "fmt" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = p...
package tui import ( "errors" "fmt" "sort" "github.com/gdamore/tcell" "github.com/google/go-cmp/cmp" "github.com/mattn/go-runewidth" "github.com/nbedos/cistern/utils" ) type nodeID interface{} type TableNode interface { // Unique identifier of this node among its siblings NodeID() interface{} NodeChildren...
package sap_api_output_formatter import ( "encoding/json" "sap-api-integrations-candidate-reads/SAP_API_Caller/responses" "github.com/latonaio/golang-logging-library/logger" "golang.org/x/xerrors" ) func ConvertToHeader(raw []byte, l *logger.Logger) ([]Header, error) { pm := &responses.Header{} err := json.Un...
// Copyright © 2017 Circonus, Inc. <<EMAIL>> // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // package config import ( "encoding/json" "expvar" "fmt" "io" "github.com/circonus-labs/circonus-agent/internal/config/defaults" toml "github.com/pelletier/go-to...
// Copyright (c) 2020 <NAME>. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // The representation of a DBImpl consists of a set of Versions. The // newest version is called "current". Older versions may be kept // around to provide a co...
// Copyright 2019 Yunion // // 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 writi...
package cmd import ( "flag" "os" "strconv" "github.com/makocchi-git/kubectl-free/pkg/table" "github.com/makocchi-git/kubectl-free/pkg/util" "github.com/spf13/cobra" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" "k8s.io/cli-runtime/pkg/genericclioptions" clientv1 "k8s.io/client-go/kubernete...
package sweetiebot import ( "encoding/json" "fmt" "reflect" "strings" "strconv" "github.com/bwmarrin/discordgo" ) type ConfigModule struct { } func (w *ConfigModule) Name() string { return "Configuration" } func (w *ConfigModule) Register(info *GuildInfo) {} func (w *ConfigModule) Commands() []Command { ...
// Copyright 2016 The Periph Authors. All rights reserved. // Use of this source code is governed under the Apache License, Version 2.0 // that can be found in the LICENSE file. package allwinner import ( "errors" "fmt" "os" "path" "strconv" "strings" "time" "periph.io/x/periph" "periph.io/x/periph/conn/gpi...
/* Copyright 2016 GitHub Inc. See https://github.com/github/gh-ost/blob/master/LICENSE */ package main import ( "flag" "fmt" "os" "os/signal" "syscall" "github.com/github/gh-ost/go/base" "github.com/github/gh-ost/go/logic" "github.com/github/gh-ost/go/sql" _ "github.com/go-sql-driver/mysql" "github.co...
// Copyright (c) 2018 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge...
/* * Copyright 2017 <NAME>, Inc. and Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
// Copyright 2020 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...