text
stringlengths
5.51k
28.1k
// Code generated by protoc-gen-go. DO NOT EDIT. // source: sourcing.proto package rpc import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import any "github.com/golang/protobuf/ptypes/any" import timestamp "github.com/golang/protobuf/ptypes/timestamp" import ( context "golang.org/x/...
/* 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 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may not // use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" fil...
package defaultadapter import ( "github.com/Kindling-project/kindling/collector/model" "github.com/Kindling-project/kindling/collector/model/constlabels" "github.com/Kindling-project/kindling/collector/model/constvalues" "go.opentelemetry.io/otel/attribute" "sort" "strconv" "sync" ) // LabelConverter works lab...
package main import ( "fmt" "log" "math/rand" "regexp" "strings" "time" "github.com/fatih/structs" "github.com/koblas/askgo" "github.com/mitchellh/mapstructure" ) // States for the Quiz to be in type States int const ( // START ing state START States = iota // QUIZ in progress state QUIZ States = iot...
package wikifier import ( "encoding/json" "errors" "fmt" "regexp" "strings" "unicode" ) type parser struct { pos Position last byte // last byte this byte // current byte next byte // next byte next2 byte // next-next byte escape bool // this byte is escaped parserChar bool //...
package containersnapshot import ( "context" stderr "errors" "os" "path/filepath" "strings" "time" atomv1alpha1 "github.com/supremind/container-snapshot/pkg/apis/atom/v1alpha1" "github.com/supremind/container-snapshot/pkg/constants" "github.com/go-logr/logr" "github.com/operator-framework/operator-sdk/pkg/...
package commands import ( "context" "fmt" "os" "reflect" "strings" "time" "github.com/briandowns/spinner" runtimev1alpha1 "github.com/crossplane/crossplane-runtime/apis/core/v1alpha1" "github.com/crossplane/oam-kubernetes-runtime/apis/core/v1alpha2" "github.com/crossplane/oam-kubernetes-runtime/pkg/oam" "g...
package tutorials import ( "fmt" "image/color" "net/url" "time" "fyne.io/fyne/v2" "fyne.io/fyne/v2/canvas" "fyne.io/fyne/v2/container" "fyne.io/fyne/v2/data/validation" "fyne.io/fyne/v2/driver/mobile" "fyne.io/fyne/v2/layout" "fyne.io/fyne/v2/theme" "fyne.io/fyne/v2/widget" ) const ( loremIpsum = `Lorem...
/* * Copyright 2018- The Pixie Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: envoy/extensions/filters/http/grpc_stats/v3/config.proto package envoy_extensions_filters_http_grpc_stats_v3 import ( fmt "fmt" _ "github.com/cncf/udpa/go/udpa/annotations" v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" _ "github.com/en...
// Copyright 2015 clair 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...
// Code generated by protoc-gen-go. // source: infra/appengine/dashboard/api/dashboard/dashboard.proto // DO NOT EDIT! /* Package dashboard is a generated protocol buffer package. It is generated from these files: infra/appengine/dashboard/api/dashboard/dashboard.proto It has these top-level messages: UpdateOpenIn...
// Copyright © 2020 The Things Network Foundation, The Things Industries B.V. // // 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 // // Un...
package parser_test import ( "strings" "testing" "github.com/genjidb/genji/document" "github.com/genjidb/genji/internal/expr" "github.com/genjidb/genji/internal/expr/functions" "github.com/genjidb/genji/internal/sql/parser" "github.com/genjidb/genji/internal/testutil" "github.com/genjidb/genji/internal/testut...
// Licensed to The Moov Authors under one or more contributor // license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright // ownership. The Moov Authors licenses this file to you under // the Apache License, Version 2.0 (the "License"); you may // not use this...
// Copyright 2015 The Cockroach Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
package command import ( "fmt" "log" "os" "os/exec" "path/filepath" "strings" hclog "github.com/hashicorp/go-hclog" "github.com/hashicorp/go-multierror" plugin "github.com/hashicorp/go-plugin" "github.com/hashicorp/terraform/addrs" terraformProvider "github.com/hashicorp/terraform/builtin/providers/terraf...
// Package ios is a collection of interfaces to the local storage subsystem; // the package includes OS-dependent implementations for those interfaces. /* * Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved. */ package ios import ( "fmt" "sync" "time" "unsafe" "github.com/NVIDIA/aistore/3rdparty...
package rpc import ( ct "context" "sort" "strings" "sync" "sync/atomic" "time" "github.com/cuigh/auxo/config" "github.com/cuigh/auxo/data" "github.com/cuigh/auxo/errors" "github.com/cuigh/auxo/log" "github.com/cuigh/auxo/net/rpc/resolver" "github.com/cuigh/auxo/net/transport" "github.com/cuigh/auxo/util/...
package crossword import ( "bytes" "fmt" "math" "sort" "github.com/jung-kurt/gofpdf" ) const ( font = "Helvetica" blackLevel = 0.70 // ink-saving level: 1 = solid black squares marginPoints = 18.0 titlePoints = 13.0 minColumns = 2 maxColumns = 6 columnSepPoints = 3.0 min...
/* 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...
package services import ( goctx "context" "encoding/json" "github.com/pkg/errors" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery...
package generate import ( "bytes" "encoding/json" "errors" "fmt" "go/ast" "go/parser" "go/token" "io" "io/ioutil" "os" "path/filepath" "reflect" "strings" "github.com/actgardner/gogen-avro/v7/generator" "github.com/actgardner/gogen-avro/v7/generator/flat" avroparser "github.com/actgardner/gogen-avro/v...
package library import ( "bufio" "bytes" "encoding/json" "io/ioutil" "log" "net/http" "os" "strings" "github.com/gorilla/mux" "github.com/pkg/errors" "github.com/yoonsue/labchat/model/library" ) const defaultLibraryAddress = "http://lib.hanyang.ac.kr/pyxis-api" // Service defines some functions that must...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v3.17.3 // source: upload.proto package protoc import ( context "context" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang...
/* Copyright SecureKey Technologies Inc. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package startcmd import ( "fmt" "os" "strconv" "strings" "time" "github.com/spf13/cobra" ) const ( commonEnvVarUsageText = "Alternatively, this can be set with the following environment variable: " hostEnv...
package co // SetTextAlign() align. Includes values with VTA prefix. // // 📑 https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-settextalign type TA uint32 const ( TA_NOUPDATECP TA = 0 TA_UPDATECP TA = 1 TA_LEFT TA = 0 TA_RIGHT TA = 2 TA_CENTER TA = 6 TA_TOP ...
package ingest import ( "bitbucket.org/votecube/votecube-go-lib/model/data" "bitbucket.org/votecube/votecube-go-lib/model/scylladb" "bitbucket.org/votecube/votecube-go-lib/utils" "bitbucket.org/votecube/votecube-ui-aux/mod" "encoding/json" "fmt" "github.com/scylladb/gocqlx" "github.com/scylladb/gocqlx/qb" "lo...
package vcs_kafka import ( "fmt" "github.com/Shopify/sarama" "github.com/influxdata/telegraf" "github.com/influxdata/telegraf/plugins/inputs" "io" "os" "regexp" "strconv" "sync" ) const ( monitorclientID = "kafka-vcs-monitor" ) var sampleConfig = ` ## kafka servers brokers = ["localhost:9092"] ## Kaf...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: alameda_api/v1alpha1/datahub/predict.proto package containers_ai_alameda_v1alpha1_datahub 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 _ = pro...
package controllers import ( "context" "fmt" "net" "strconv" "strings" "time" "github.com/go-logr/logr" clusterv1beta1 "github.com/open-cluster-management/multicloud-operators-foundation/pkg/apis/internal.open-cluster-management.io/v1beta1" "github.com/open-cluster-management/multicloud-operators-foundation/...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: envoy/extensions/filters/http/ip_tagging/v3/ip_tagging.proto package envoy_extensions_filters_http_ip_tagging_v3 import ( fmt "fmt" _ "github.com/cncf/udpa/go/udpa/annotations" v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" _ "github.co...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/ads/googleads/v0/resources/user_interest.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.c...
package vald import ( "context" "fmt" "io/ioutil" "os" "os/signal" "path/filepath" "strings" "sync" "syscall" "time" "github.com/cosmos/cosmos-sdk/client" sdkClient "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" "github.com/cos...
// Copyright 2022 The Okteto 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 ...
// This file contains functions for transpiling binary operator expressions. package transpiler import ( "fmt" goast "go/ast" "go/token" "strings" "github.com/elliotchance/c2go/ast" "github.com/elliotchance/c2go/program" "github.com/elliotchance/c2go/types" "github.com/elliotchance/c2go/util" ) // Comma pro...
package alipay /* tip: response:all response member is string,not float64 request:request is ok */ type ReqCustomerDto struct { PriKey string `json:"pri_key,omitempty" query:"pri_key"` PubKey string `json:"pub_key,omitempty" query:"pub_key"` } type ReqBaseDto struct { AppId string `json:"app_id,omitempty" que...
/* Copyright 2019 DevFactory FZ 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 di...
// MIT License // // Copyright (c) 2016 GenesisKernel // // 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, modif...
// This file is forked from github.com/ispec-inc/civgen-go/mockio/mockgen.go // MockIO generates mock implementations of Go interfaces. package main import ( "bytes" "encoding/json" "flag" "fmt" "go/build" "go/token" "io" "io/ioutil" "log" "os" "os/exec" "path" "path/filepath" "sort" "strconv" "string...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: status.proto package milvus_grpc 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 com...
// Cluster VPC and networking setup // // This file contains functions used to setup additional private sub-networks in an OpenShift cluster VPC // The reason this file is required is due to CRO provisioning multi-AZ resources for AWS, even though the cluster it's // provisioning resources for could be single AZ // // ...
// Copyright 2015 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...
// @<NAME> - [DeedWark] - 2020 // Build an email and send it in Go package main import ( "bufio" "bytes" "crypto/rand" "encoding/base64" "flag" "fmt" "io/ioutil" "log" "net" "net/http" "net/smtp" "os" "strings" "syscall" "time" "golang.org/x/crypto/ssh/terminal" ) const ( // COLOR greenTXT = "\033...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.12.3 // source: v2ray.com/core/proxy/vless/inbound/config.proto package inbound import ( proto "github.com/golang/protobuf/proto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "go...
package main import ( "bytes" "context" "encoding/json" "fmt" "log" "net/http" "os" "os/signal" "path" "strings" "syscall" "time" "github.com/Clever/analytics-util/analyticspipeline" discovery "github.com/Clever/discovery-go" "github.com/Clever/s3-to-redshift/v3/logger" redshift "github.com/Clever/s3-...
package main import ( "io" "os" "path/filepath" "regexp" "strconv" "strings" "time" "github.com/dpinela/charseg" "github.com/mattn/go-runewidth" "github.com/dpinela/mflg/internal/buffer" "github.com/dpinela/mflg/internal/config" "github.com/dpinela/mflg/internal/highlight" "github.com/dpinela/mflg/inter...
package discovery import ( "context" "errors" "fmt" "io" "os" "os/signal" "reflect" "strings" "sync/atomic" "time" "github.com/huajiao-tv/gokeeper/client/schedule" dm "github.com/huajiao-tv/gokeeper/model/discovery" pb "github.com/huajiao-tv/gokeeper/pb/go" uuid "github.com/satori/go.uuid" "github.com/...
package generator import ( "fmt" "go/format" "regexp" "strings" "github.com/gdexlab/go-render/render" "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/kubernetes/scheme" "github.com/PrasadG193/kyaml2go/pkg/importer" "github.com/PrasadG193/ky...
package pcap import ( "bytes" "encoding/binary" "fmt" "reflect" "strings" "time" "github.com/lacework/agent/datacollector/dlog" ) type encapType uint32 const ( NoEncap encapType = iota IP_IN_IP VXLAN GRE ) const MAX_HEADERS uint32 = 4 // const VxLAN_PORT1 uint16 = 4789 // const VxLAN_PORT2 uint16 = 847...
/* * Copyright (c) 2018 QLC Chain Team * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ package mock import ( "encoding/hex" "encoding/json" "fmt" "io/ioutil" "math" "math/big" "math/rand" "os" "path/filepath" "time" "github.com/qlcchain/go-qlc/common" "g...
package dnsutils // ref: https://blog.csdn.net/yatere/article/details/43318147, by Yatere // ref: http://mkaczanowski.com/golang-build-dynamic-dns-service-go/, by <NAME> import ( "encoding/json" "fmt" "github.com/frkhit/goutils/common" "github.com/frkhit/logger" "github.com/miekg/dns" "math" "strconv" "strings...
package monitor // Copyright (c) Microsoft and contributors. 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 // // Unl...
// 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 asm implements the parser and instruction generator for the assembler. // TODO: Split apart? package asm import ( "fmt" "log" "os" "strconv" "t...
package txtrace import ( "encoding/json" "math/big" "strings" "time" "github.com/Fantom-foundation/go-opera/gossip/txtrace" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/log" "github.com/ho...
// This file was generated by github.com/nelsam/hel. Do not // edit this code by hand unless you *really* know what you're // doing. Expect any changes made manually to be overwritten // the next time hel regenerates this file. package services_test import ( "context" "database/sql" "time" "github.com/myshkin5...
/* Copyright 2019 Cisco Systems Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software d...
// Copyright 2020 The Inet.Af 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 netaddr contains an IP address type. // // This is a work in progress. See https://github.com/inetaf/netaddr for background. package netaddr // ...
package gen import ( "fmt" "log" "regexp" "strings" "github.com/dave/jennifer/jen" "github.com/fatih/structtag" "github.com/thanhpd56/dbml-go/core" "github.com/thanhpd56/dbml-go/internal/gen-go-model/genutil" ) const ( GoTypeAnnotation = "gotype" GoPointerAnnotation = "gopointer" GoTagAnnotation...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: telemetry_top.proto /* Package telemetry_top is a generated protocol buffer package. It is generated from these files: telemetry_top.proto It has these top-level messages: TelemetryFieldOptions TelemetryStream IETFSensors EnterpriseSensors JuniperNetw...
/* Copyright 2019 Gravitational, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
//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/application/pb/service.proto package application import ( protoreflect "google.golang.org/protobuf/r...
// Copyright 2020 The Libc Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Some code is copied and adjusted from // https://github.com/lukechampine/uint128, the original LICENSE file // reproduced below in full as of 2021-01-19: ...
package main import ( "crypto/sha1" "crypto/tls" "encoding/json" "fmt" "io" "io/ioutil" "math" "net/http" "os" "path/filepath" "strings" "sync" "time" "github.com/pyke369/golang-support/dynacert" "github.com/pyke369/golang-support/fqdn" "github.com/pyke369/golang-support/jsonrpc" "github.com/pyke369/...
/* 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 2022 VMware, Inc. // SPDX-License-Identifier: BSD-2-Clause package models import ( "sort" "strings" "github.com/coreos/go-semver/semver" ) type Repo struct { Name string `json:"name,omitempty"` Url string `json:"url,omitempty"` } type ChartVersion struct { Id string `json:"id,omitempty"...
package main import ( "context" "fmt" "os" "runtime" fcc "github.com/spieglt/flyingcarpet/core" "github.com/therecipe/qt/core" qgui "github.com/therecipe/qt/gui" "github.com/therecipe/qt/widgets" ) // Gui fulfills the UI interface to be used in the core functions type Gui struct { ProgressBar *widgets.QPro...
// 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 agreed...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.12.3 // source: hello.proto package proto import ( context "context" proto "github.com/golang/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes ...
package fabric import ( "encoding/json" "fmt" "strings" "time" log "github.com/sirupsen/logrus" ) type Metadata struct { Namespace string `json:"namespace"` Name string `json:"name"` Created time.Time `json:"creationTimestamp"` UID string `json:"...
// Copyright (c) 2018 ContentBox Authors. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. package chain import ( "encoding/hex" "encoding/json" "errors" "fmt" "math/big" "github.com/BOXFoundation/boxd/boxd/eventbus" "github.com/BOXFoundation/boxd/core" ...
/* * Copyright 2019 gosoon. * * 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 webcolors import ( "math" "regexp" "strings" "strconv" "encoding/hex" "encoding/binary" ) var HexColorRegex = regexp.MustCompile(`^#([a-fA-F0-9]{3}|[a-fA-F0-9]{6})$`) var SupportedSpecifications = []string{"html4", "css2", "css21", "css3"} var HTML4NamesToHex = map[string]string { ...
package memd import ( "encoding/binary" "errors" "io" "time" ) // Conn represents a memcached protocol connection. type Conn struct { stream io.ReadWriter headerBuf []byte enabledFeatures map[HelloFeature]bool collectionsEnabled bool } // NewConn creates a new connection object which can be used...
/* * Copyright (c) 2015, <NAME> * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and ...
package defragmentation import ( "context" "fmt" "github.com/mohae/deepcopy" v1 "k8s.io/api/core/v1" clientset "k8s.io/client-go/kubernetes" "k8s.io/klog/v2" "sigs.k8s.io/descheduler/pkg/api" "sigs.k8s.io/descheduler/pkg/descheduler/strategies/defragmentation/capacity" "sigs.k8s.io/descheduler/pkg/deschedule...
package impressions import ( "github.com/prebid/prebid-server/endpoints/openrtb2/ctv/util" ) // generator contains Pod Minimum Duration, Pod Maximum Duration, Slot Minimum Duration and Slot Maximum Duration // It holds additional attributes required by this algorithm for internal computation. // It contains Slots ...
/* Copyright 2015 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...
// Copyright 2018 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 !js && !nacl && !plan9 && !solaris && !windows // +build !js,!nacl,!plan9,!solaris,!windows /* Splitdwarf uncompresses and copies the DWARF segment...
/* * Tencent is pleased to support the open source community by making Blueking Container Service available. * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except * in compliance with the License. You may obta...
package replication import ( "bytes" "encoding/binary" "fmt" binlogdatapb "github.com/gitql/vitess/go/vt/proto/binlogdata" ) // binlogEvent wraps a raw packet buffer and provides methods to examine it // by partially implementing BinlogEvent. These methods can be composed // into flavor-specific event types to p...
package server /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * ...
// +build f746xx package sai // DO NOT EDIT THIS FILE. GENERATED BY xgen. import ( "bits" "mmio" "unsafe" "stm32/o/f746xx/mmap" ) type SAI_Block_Periph struct { CR1 RCR1 CR2 RCR2 FRCR RFRCR SLOTR RSLOTR IMR RIMR SR RSR CLRFR RCLRFR DR RDR } func (p *SAI_Block_Periph) BaseAddr() uintptr { ...
/* Copyright 2020 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 userd_trafficmgr import ( "context" "errors" "fmt" "net" "os" "runtime" "sync" "time" grpcCodes "google.golang.org/grpc/codes" grpcStatus "google.golang.org/grpc/status" "google.golang.org/protobuf/proto" "github.com/datawire/dlib/dgroup" "github.com/datawire/dlib/dlog" "github.com/datawire/dli...
package dockerfile // import "github.com/docker/docker/builder/dockerfile" // internals for handling commands. Covers many areas and a lot of // non-contiguous functionality. Please read the comments. import ( "crypto/sha256" "encoding/hex" "fmt" "io" "os" "path" "path/filepath" "runtime" "strings" "github...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.19.1 // source: envoy/config/core/v3/resolver.proto package envoy_config_core_v3 import ( _ "github.com/cncf/xds/go/udpa/annotations" _ "github.com/envoyproxy/protoc-gen-validate/validate" proto "github.com...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: envoy/service/load_stats/v2/lrs.proto /* Package v2 is a generated protocol buffer package. It is generated from these files: envoy/service/load_stats/v2/lrs.proto It has these top-level messages: LoadStatsRequest LoadStatsResponse */ package v2 import ...
package netstorage import ( "container/heap" "flag" "fmt" "runtime" "sort" "sync" "sync/atomic" "time" "github.com/VictoriaMetrics/VictoriaMetrics/app/vmstorage" "github.com/VictoriaMetrics/VictoriaMetrics/lib/bytesutil" "github.com/VictoriaMetrics/VictoriaMetrics/lib/decimal" "github.com/VictoriaMetrics/...
// Copyright © 2019 <NAME> – This file is part of GoatCounter and // published under the terms of a slightly modified EUPL v1.2 license, which can // be found in the LICENSE file or at https://license.goatcounter.com /* Test webhooks with the Stripe CLI: ./stripe listen -sjl -f 'arp242.goatcounter.localhost:8081/stri...
// Copyright 2018 the Service Broker Project 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 applic...
package iocgo import ( "errors" "fmt" "reflect" "strings" "unsafe" ) var ( errNotFound = errors.New("not found") ) type binding struct { specifiedParameters map[int]interface{} //构造对象时参数指定的值 dependsOn map[int]string //构造对象时依赖的其他对象的name constructor interface{} //构造函数指针,用于构造对应的实...
// Copyright 2016 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package derp import ( "bufio" "encoding/binary" "encoding/json" "errors" "fmt" "io" "sync" "time" "go4.org/mem" "golang.org/x/time/rate"...
package main import ( "fmt" "time" "os" "encoding/json" "io/ioutil" "encoding/binary" "github.com/hosslen/lfd/baseline" "github.com/hosslen/lfd/slidingwindow" "github.com/hosslen/lfd/eardet" "github.com/hosslen/lfd/rlfd" "github.com/hosslen/lfd/clef" "github.com/hosslen...
/* Copyright 2018 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 writing, software dis...
/* * Minio Cloud Storage, (C) 2017 Minio, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package syntax import ( "bytes" "fmt" "os" "strings" "testing" ) func TestScanner(t *testing.T) { if testing.Short() { t.Skip("skipping test in short ...
// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: google/rpc/code.proto package rpc import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" import strconv "strconv" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf ...