text
stringlengths
8.57k
38.1k
// 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...
// Copyright 2020 New Relic Corporation. All rights reserved. // SPDX-License-Identifier: Apache-2.0 package oldfritter import ( "encoding/json" "errors" "fmt" "net/http" "os" "regexp" "strings" "time" "github.com/oldfritter/go-agent/v3/internal" "github.com/oldfritter/go-agent/v3/internal/logger" "github...
package db import ( "fmt" "net/http" "strings" "sync" "time" sgbucket "github.com/couchbase/sg-bucket" "github.com/couchbase/sync_gateway/auth" "github.com/couchbase/sync_gateway/base" ch "github.com/couchbase/sync_gateway/channels" pkgerrors "github.com/pkg/errors" ) // ViewVersion should be incremented e...
package bosh_helpers import ( "crypto/tls" "encoding/json" "fmt" "io/ioutil" "net/http" "os" "os/exec" "path" "path/filepath" "runtime" "strings" "time" "github.com/blang/semver" "github.com/onsi/gomega/types" "github.com/pborman/uuid" "github.com/pivotal-cf/on-demand-service-broker/system_tests/test_...
// 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. package render import ( "bytes" "errors" "fmt" "go/ast" "go/format" "go/printer" "go/scanner" "go/token" "regexp" "strconv" "strings" "unicode" "...
package proc import "sync" import "sync/atomic" import "fmt" import "runtime" import "accnt" import "bounds" import "defs" import "fd" import "limits" import "mem" import "res" import "tinfo" import "ustr" import "vm" import "hashtable" // per-process limits type Ulimit_t struct { Pages int Nofile uint Novma u...
// Copyright © 2019 The Homeport Team // // 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, publis...
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
package smpp //go:generate stringer -type=SessionState,SessionType import ( "context" "crypto/rand" "errors" "flag" "fmt" "io" "log" "net" "sync" "time" "github.com/ajankovic/smpp/pdu" ) var smppLogs bool func init() { flag.BoolVar(&smppLogs, "smpp.logs", false, "show smpp logging") } // Error impleme...
// Copyright (c) of parts are held by the various contributors (see the CLA) // Licensed under the MIT License. See LICENSE file in the project root for full license information. package opr import ( "bytes" "context" "crypto/sha256" "encoding/hex" "fmt" "sort" "sync" "time" "github.com/FactomProject/factom...
// Copyright 2014 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...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/cloud/securitycenter/v1/asset.proto package securitycenter import ( fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" _struct "github.com/golang/protobuf/ptypes/struct" timestamp "github.com/golang/protobuf/ptypes/timestamp" _ "goo...
package main import ( "flag" "fmt" "image" "io/ioutil" "os" "path/filepath" "strings" "time" "github.com/driusan/de/actions" "github.com/driusan/de/demodel" "github.com/driusan/de/kbmap" "github.com/driusan/de/position" "github.com/driusan/de/renderer" "github.com/driusan/de/viewer" "golang.org/x/exp/s...
package main import ( "bytes" "context" "encoding/base64" "fmt" "io/ioutil" "os" "os/exec" "os/signal" "os/user" "path" "path/filepath" "regexp" "runtime" "strconv" "strings" "syscall" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/ecr" "github.com/blang/semver/v4" "githu...
// Copyright 2011 Google Inc. All rights reserved. // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. /* go-app-builder is a program that builds Go App Engine apps. It takes a list of source file names, loads and parses them, deduces their package structure, cre...
package squantified import ( "crypto/sha256" "encoding/base64" "fmt" "html" "html/template" "path/filepath" "regexp" "sort" "strings" "time" "github.com/yosssi/ace" "github.com/brandur/modulir" "github.com/brandur/modulir/modules/mace" "github.com/brandur/modulir/modules/mtoml" "github.com/brandur/sor...
package huobipro import ( "fmt" . "github.com/georgexdz/ccxt/go/base" "math" "reflect" "strings" ) type Huobipro struct { Exchange } func New(config *ExchangeConfig) (ex *Huobipro, err error) { ex = new(Huobipro) err = ex.Init(config) ex.Child = ex err = ex.InitDescribe() if err != nil { ex = nil ret...
package storage import ( "fmt" "io" "sync" "time" "github.com/open-horizon/edge-sync-service/common" ) // Cache is the caching store type Cache struct { destinations map[string]map[string]common.Destination Store Storage lock sync.RWMutex } // Init initializes the Cache store func (store *Cac...
// Copyright 2018 The Terraformer 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...
// package p2p is a low-level library responsible for peer discovery and // sending/receiving messages. package p2p import ( "context" "crypto/rand" "errors" "fmt" "io/ioutil" mathrand "math/rand" "path/filepath" "sync" "time" "github.com/0xProject/0x-mesh/constants" "github.com/0xProject/0x-mesh/p2p/banne...
// 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. package runtime import ( "runtime/internal/atomic" "runtime/internal/sys" "unsafe" ) // For gccgo, use go:linkname to export compiler-called functions. // ...
// Copyright (c) 2018 <NAME> <<EMAIL>> // MIT Licence applies http://opensource.org/licenses/MIT package env import ( "fmt" "net/url" "os" "strings" "testing" "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) type Nested struct { NestedString string NestedNum int } typ...
// Copyright 2018 Microsoft. All rights reserved. // MIT License package npm import ( "fmt" "reflect" "time" "github.com/Azure/azure-container-networking/log" "github.com/Azure/azure-container-networking/npm/ipsm" "github.com/Azure/azure-container-networking/npm/metrics" "github.com/Azure/azure-container-netwo...
// 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 u...
// Copyright 2020 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
package backend import ( "bytes" "crypto/x509" "encoding/base64" "encoding/pem" "fmt" "io" "net" "net/url" "regexp" "strconv" "strings" "text/template" "time" gocontext "context" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/aws/session" "git...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v3.17.1 // source: openapi-validator/api.proto package openapi_validator import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect...
// // Package - transpiled by c4go // // If you have found any issues, please raise an issue at: // https://github.com/Konstantin8105/c4go/ // // Warning (*ast.MemberExpr): /home/istvan/packages/downloaded/cbuild/cli.c:148 :cannot determine type for LHS '[hash_t * hash_t *]', will use 'void *' for all fields. Is lval...
package ecs import ( "time" "github.com/qiniu/stack-go/params" ) // Instance 主机 type Instance struct { *params.CostInfo ID string `json:"_id"` UID uint32 `json:"uid"` InstanceID string `json:"instance_id"` ImageInfo ImageInfo ...
// Copyright © 2013-2018 <NAME> <<EMAIL>> // Use of this file is governed by the license that can be found in LICENSE. // TODO: Test how memoization scales with caches. // TODO: Check if proxy env variables are taken into account for AcoustID and musicbrainz. // TODO: Add CLI option to select the online entry to tag f...
// WARNING(mkopriva): IF NOT NECESSARY TRY NOT TO DO ANYTHING THAT WILL REORDER // LINES OR ADD NEW LINES IN THE MIDDLE OF THE FILE, ONLY ADD NEW CODE AT THE TAIL END. package testdata import ( "context" "database/sql" "encoding/json" "math/big" "net" "time" "github.com/frk/gosql" "github.com/frk/gosql/intern...
package exporter import ( "fmt" "log" "math" "strconv" "time" "github.com/prometheus/client_golang/prometheus" "github.com/Chainflow/solana-mission-control/alerter" "github.com/Chainflow/solana-mission-control/config" "github.com/Chainflow/solana-mission-control/monitor" "github.com/Chainflow/solana-missio...
// Copyright (c) 2013-2016 The btcsuite developers // Copyright (c) 2015-2017 The Decred developers // Copyright (c) 2018-2020 The Hc developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. package txscript import ( "fmt" "math/big" "github.com/nbit99/hcd/cha...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.1 // protoc v3.20.0--rc2 // source: tensorflow/core/protobuf/saver.proto package for_core_protos_go_proto import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtim...
/* Copyright 2015 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 server import ( "crypto/md5" "embed" "encoding/json" "fmt" "html/template" "io" "io/ioutil" "math" "net/http" "net/url" "os" "os/exec" "path" "path/filepath" "sort" "strconv" "strings" "sync" "time" "github.com/dustin/go-humanize" "github.com/schollz/httpfileserver" "github.com/schollz/l...
// +build kvdb_etcd package etcd import ( "context" "fmt" "math" "strings" v3 "github.com/coreos/etcd/clientv3" ) type CommitStats struct { Rset int Wset int Retries int } // KV stores a key/value pair. type KV struct { key string val string } // STM is an interface for software transactional memo...
// Copyright (c) 2017-2018 The qitmeer developers package blockchain import ( "fmt" "github.com/Qitmeer/qitmeer-lib/common/hash" "github.com/Qitmeer/qitmeer-lib/core/types" "github.com/Qitmeer/qitmeer/core/dbnamespace" "github.com/Qitmeer/qitmeer/database" "github.com/Qitmeer/qitmeer/engine/txscript" "sync" ) ...
package contractcourt import ( "encoding/binary" "fmt" "io" "sync" "github.com/btcsuite/btcd/wire" "github.com/btcsuite/btcutil" "github.com/davecgh/go-spew/spew" "github.com/lightningnetwork/lnd/chainntnfs" "github.com/lightningnetwork/lnd/channeldb" "github.com/lightningnetwork/lnd/input" "github.com/lig...
// Copyright 2018 The Cockroach Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
// Copyright 2021 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 modload import ( "cmd/go/internal/mvs" "context" "reflect" "sort" "golang.org/x/mod/module" "golang.org/x/mod/semver" ) // editRequirements ret...
// Code generated by protoc-gen-go. // source: github.com/NEU-SNS/ReverseTraceroute/datamodel/traceroute.proto // DO NOT EDIT! package datamodel 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.Ma...
// Copyright 2016 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum library 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 3 of the License...
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) 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 * * ...
// 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 ov import ( "encoding/json" "fmt" "github.com/HewlettPackard/oneview-golang/rest" "github.com/HewlettPackard/oneview-golang/utils" "github.com/docker/machine/libmachine/log" ) type Enclosure struct { ActiveOaPreferredIP string `json:"activeOaPreferredIP,omitempty"` ...
package collectors import ( "compress/gzip" "encoding/csv" "fmt" "io/ioutil" "os" "path/filepath" "reflect" "regexp" "sort" "strconv" "strings" "time" "bosun.org/metadata" "bosun.org/opentsdb" "bosun.org/slog" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/credentials" "github.com/aw...
// Package emitter generates the bytecode instructions by traversing the abstract syntax tree // generated by the parser. package emitter import ( "errors" "strconv" "strings" "github.com/saward/agora/bytecode" "github.com/saward/agora/compiler/parser" ) var ( binSym2op = map[string]bytecode.Opcode{ "+": by...
package javo /* Classfile version number for this information */ const ( JVM_MAJOR_VERSION_JAVA_5 = 49 JVM_MAJOR_VERSION_JAVA_6 = 50 JVM_MAJOR_VERSION_JAVA_7 = 51 JVM_MAJOR_VERSION_JAVA_8 = 52 JVM_MAJOR_VERSION_JAVA_9 = 53 JVM_MAJOR_VERSION_JAVA_10 = 54 JVM_MAJOR_VERSION_JAVA_11 = 55 JV...
package apidump import ( "io/ioutil" "os" "os/exec" "os/signal" "path/filepath" "regexp" "strings" "sync" "syscall" "time" "github.com/pkg/errors" "github.com/spf13/viper" "github.com/akitasoftware/akita-cli/ci" "github.com/akitasoftware/akita-cli/deployment" "github.com/akitasoftware/akita-cli/locati...
package testhelper import ( "bytes" "context" "crypto/sha256" "encoding/base64" "encoding/json" "fmt" "io" "io/ioutil" "net" "os" "os/exec" "path" "path/filepath" "runtime" "strconv" "strings" "sync" "syscall" "testing" "time" grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware" grpc_l...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. package sync import ( "bufio" "flag" "fmt" "os" "os/exec" "path" "path/filepath" "strconv" "strings" "github.com/microsoft/go-infra/buildmodel" "github.com/microsoft/go-infra/gitcmd" "github.com/microsoft/go-infra/gitpr" ) type F...
package data import ( "sync/atomic" ) //nolint const ( SM_CONNID_LEN = 16 SM_MSG_LEN = 254 SM_SYSID_LEN = 16 SM_MSGID_LEN = 64 SM_PASS_LEN = 9 SM_DATE_LEN = 17 SM_SRVTYPE_LEN = 6 SM_SYSTYPE_LEN = 13 SM_ADDR_LEN = 21 SM_DATA_ADDR_LEN ...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.9.1 // source: wso2/discovery/api/api.proto package api import ( proto "github.com/golang/protobuf/proto" any "github.com/golang/protobuf/ptypes/any" protoreflect "google.golang.org/protobuf/reflect/protore...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/firestore/admin/v1/index.proto package admin import ( fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" ) // Reference imports to suppress errors if they are not otherwise us...
package cluster import ( "encoding/json" "fmt" v1 "k8s.io/api/core/v1" apiextv1b1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1" "k8s.io/apimachinery/pkg/api/equality" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" "k8s.io/a...
// Copyright 2012 The LevelDB-Go and Pebble 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 pebble import ( "bytes" "fmt" "io" "math" "sync" "sync/atomic" "github.com/cockroachdb/errors" "github.com/cockroachdb/erro...
// Copyright 2014 The Serviced 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 ...
// // // File generated from our OpenAPI spec // // package stripe import ( "encoding/json" "github.com/stripe/stripe-go/v72/form" ) // The status of the most recent automated tax calculation for this quote. type QuoteAutomaticTaxStatus string // List of values that QuoteAutomaticTaxStatus can take const ( Quote...
package main import ( "context" "fmt" "os" "path/filepath" "sync" "time" "github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options" "github.com/Microsoft/hcsshim/internal/cow" "github.com/Microsoft/hcsshim/internal/hcs" "github.com/Microsoft/hcsshim/internal/hcsoci" "github.com/Microsoft/hcsshim/...
// Copyright © 2022 Cisco Systems, Inc. and its affiliates. // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 //...
package vorbis import ( "fmt" "sort" "unsafe" "github.com/toy80/debug" ) var floor1InverseDB = [256]float32{ 1.0649863e-07, 1.1341951e-07, 1.2079015e-07, 1.2863978e-07, 1.3699951e-07, 1.4590251e-07, 1.5538408e-07, 1.6548181e-07, 1.7623575e-07, 1.8768855e-07, 1.9988561e-07, 2.1287530e-07, 2.2670913e-07, 2.414...
// 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...
/* // Copyright (c) 2016 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
package service import ( "encoding/hex" "encoding/json" "fmt" "io/ioutil" "log" "net/http" "path/filepath" "strings" types "github.com/dell/goscaleio/types/v1" "github.com/gorilla/mux" codes "google.golang.org/grpc/codes" ) var ( debug bool sdcMappings []types.MappedSdcInfo sdcMappingsID stri...
package main import ( "context" "fmt" "github.com/hashicorp/go-hclog" "regexp" "strings" "sync" "time" "github.com/odpf/optimus/instance" "github.com/odpf/optimus/plugin" "github.com/odpf/optimus/models" "github.com/mitchellh/hashstructure/v2" "github.com/patrickmn/go-cache" "github.com/spf13/cast" "...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: server.proto package inventory 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 compi...
package ossimg import ( "bytes" "encoding/base64" "encoding/json" "errors" "fmt" "github.com/qiniu/log" "io" "net/http" "os" "regexp" "strconv" "strings" "ufop" ) /* @TODO basic image operation 1. brighten 2. darken 3. internal circle 4. round rectangle 5. crop by slice 6. crop by absolute position //w...
// Copyright 2016-2018, Kulado Corporation. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
package bladedb import ( "container/heap" "github.com/pkg/errors" "sort" "time" ) type HeapEle struct { iterator *IterableSST rec SSTRec } type heapArr []*HeapEle func (h heapArr) Len() int { return len(h) } func (h heapArr) Less(i, j int) bool { if string(h[i].rec.key) == string(h[j].rec.key) { //rec w...
// Copyright 2020 The LUCI 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. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.1 // protoc v3.17.3 // source: go.chromium.org/lu...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.1 // protoc v3.19.1 // source: pagination.proto package pagination import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v3.15.8 // source: cluster.proto package pb import ( reflect "reflect" sync "sync" _ "github.com/erda-project/erda-proto-go/common/pb" _ "github.com/erda-project/erda-proto-go/core/pipeline/cron/pb" _ "gith...
// Copyright 2020 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 regtest provides an environment for writing regression tests. package regtest import ( "bytes" "context" "fmt" "io" "io/ioutil" "os" "os/exec...
// Copyright 2020 The Monogon Project Authors. // // 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...
package bffnt_headers import ( "bufio" "bytes" "encoding/binary" "fmt" "image" "math" "github.com/disintegration/imaging" ) type AddrTileMode uint const ( ADDR_TM_LINEAR_GENERAL AddrTileMode = iota ADDR_TM_LINEAR_ALIGNED ADDR_TM_1D_TILED_THIN1 ADDR_TM_1D_TILED_THICK ADDR_TM_2D_TILED_THIN1 ADDR_TM_2D_TI...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: tensorflow/core/protobuf/debug.proto package for_core_protos_go_proto 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.Erro...
package main import ( "encoding/binary" "image/color" "math" "math/rand" "os" "strconv" "github.com/chewxy/math32" "github.com/goki/gi/gi3d" "github.com/goki/gi/gist" "github.com/goki/mat32" "github.com/spaolacci/murmur3" ) type classDetails struct { class string brightColor color.RGBA medColor ...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0-devel // protoc v3.13.0 // source: wso2/discovery/subscription/subscription_policy.proto package subscription import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/...
package vfsindex import ( "context" "sync" //"encoding/csv" "fmt" "os" "path/filepath" "strconv" "strings" "time" "github.com/kazu/fbshelper/query/base" "github.com/kazu/vfs-index/query" "github.com/vbauerster/mpb/v5" "github.com/kazu/loncha" "github.com/kazu/vfs-index/vfs_schema" ) const ( RECORDS...
package mongersvast import ( "errors" ) //misc vars here var ( ErrFailedToString = errors.New("mongersvast: string Format failed") ErrFailedToStringNilValue = errors.New("mongersvast: string Format failed (nil value found)") ErrFailedFileOpen = errors.New("mongersvast: XML file open fail...
package langserver import ( "bytes" "context" "encoding/json" "errors" "fmt" "go/ast" "go/build" "go/parser" "go/token" "go/types" "io" "math" "strconv" "strings" "sync" "time" "golang.org/x/tools/go/buildutil" "golang.org/x/tools/go/loader" "golang.org/x/tools/imports" "golang.org/x/tools/refacto...
package disk import ( "context" "fmt" "github.com/capitalonline/cds-csi-driver/pkg/driver/utils" "github.com/container-storage-interface/spec/lib/go/csi" "github.com/kubernetes-csi/drivers/pkg/csi-common" log "github.com/sirupsen/logrus" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "strings"...
// Code generated by go-swagger; DO NOT EDIT. package operations // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "net/http" "strings" "github.com/go-openapi/errors" "github.com/go-openapi/loads" "github.com/go-...
// Code generated by cmd/blockhash; DO NOT EDIT. package block const hashAir = 0 const hashAncientDebris = 1 const hashAndesite = 2 const hashBarrier = 3 const hashBasalt = 4 const hashBeacon = 5 const hashBedrock = 6 const hashBeetrootSeeds = 7 const hashBlueIce = 8 const hashBoneBlock = 9 const hashBricks = 10 cons...
// Copyright 2011 <NAME> // The gofinder program is an acme user interface to search through Go projects. // It uses 2-1 chording (see https://swtch.com/plan9port/man/man1/acme.html). // It uses a JSON configuration file to define project(s) to search on; see // projects-example.json for a working configuration exampl...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: ad-hermes-proxy.proto /* Package Spotify is a generated protocol buffer package. It is generated from these files: ad-hermes-proxy.proto appstore.proto authentication.proto facebook-publish.proto keyexchange.proto mercury.proto mergedprofile.proto me...
// 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...
// Copyright 2018 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...
// Copyright 2015 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
// Copyright 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...
// 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 ...
package co // DRAWITEMSTRUCT itemAction. // // 📑 https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-drawitemstruct type ODA uint32 const ( ODA_DRAWENTIRE ODA = 0x0001 ODA_SELECT ODA = 0x0002 ODA_FOCUS ODA = 0x0004 ) // SetSystemCursor() id. // // 📑 https://docs.microso...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: message.proto package xuperp2p 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 compi...
/* Copyright 2015 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 (c) 2021-present Mattermost, Inc. All Rights Reserved. // See License.txt for license information. package build import ( "crypto/sha256" "encoding/json" "fmt" "os" "path/filepath" "sort" "strings" "time" intoto "github.com/in-toto/in-toto-golang/in_toto" v02 "github.com/in-toto/in-toto-golang...
// Package layerfetcher fetches layers from remote peers package layerfetcher import ( "context" "errors" "fmt" "sync" "github.com/spacemeshos/go-spacemesh/common/types" "github.com/spacemeshos/go-spacemesh/common/util" "github.com/spacemeshos/go-spacemesh/database" "github.com/spacemeshos/go-spacemesh/fetch"...
package ds /* * 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 * "Lic...
// Copyright (C) 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 t...
// Copyright © 2014-2018 Galvanized Logic Inc. // Use is governed by a BSD-style license found in the LICENSE file. package vu // input.go wraps the device package for the engine applications. // FUTURE: Have the device package support text entry. import ( "github.com/gazed/vu/device" ) // Input is used to communi...