text
stringlengths
8.57k
38.1k
// Copyright 2017-2021 DERO Project. All rights reserved. // Use of this source code in any form is governed by RESEARCH license. // license can be found in the LICENSE file. // GPG: 0F39 E425 8C65 3947 702A 8234 08B2 0360 A03A 9DE8 // // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" A...
package acceptance_test import ( "archive/tar" "bytes" "compress/gzip" "crypto/rand" "crypto/rsa" "crypto/sha1" "crypto/tls" "crypto/x509" "crypto/x509/pkix" "encoding/hex" "encoding/pem" "fmt" "io" "io/ioutil" "math/big" "net" "net/http" "net/http/httptest" "os" "os/exec" "path/filepath" "regexp...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v3.6.1 // source: yandex/cloud/validation.proto package cloud import ( descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl ...
package datastore import ( "bytes" "encoding/binary" "errors" "fmt" "math" "regexp" "strings" "time" "code.google.com/p/goprotobuf/proto" log "code.google.com/p/log4go" "github.com/influxdb/influxdb/cluster" "github.com/influxdb/influxdb/common" "github.com/influxdb/influxdb/datastore/storage" "github.c...
/* Copyright 2021 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 main import ( "database/sql" "encoding/json" "fmt" "io/ioutil" "log" "math/rand" "net/http" "net/url" "os" "os/exec" "path" "sort" "strconv" "strings" "text/template" "time" // "github.com/gobwas/glob/util/strings" // _ "github.com/mattn/go-sqlite3" _ "modernc.org/sqlite" "gopkg.in/cas.v2...
package model import ( "bytes" "context" "crypto/sha1" "fmt" "hash" "io" "io/ioutil" "runtime" "strings" "sync" "time" "github.com/evergreen-ci/cedar" "github.com/evergreen-ci/pail" "github.com/evergreen-ci/utility" "github.com/mongodb/anser/bsonutil" "github.com/mongodb/anser/db" "github.com/mongodb...
// Copyright (c) 2020 <NAME>. All rights reserved. // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. package infounit import ( "encoding/binary" "encoding/json" "fmt" "math" "regexp" "strconv" "sync/atomic" "time" ) // BitCount represents a non-negative bit c...
package grpalloc import ( "regexp" sctypes "github.com/Microsoft/KubeDevice-API/pkg/devicescheduler" "github.com/Microsoft/KubeDevice-API/pkg/resource" "github.com/Microsoft/KubeDevice-API/pkg/types" "github.com/Microsoft/KubeDevice-API/pkg/utils" "github.com/Microsoft/KubeDevice/device-scheduler/grpalloc/score...
package node import ( "bytes" "encoding/binary" "errors" "fmt" "math/rand" "net" "strconv" "strings" "sync" "sync/atomic" "time" . "github.com/nknorg/nkn/common" "github.com/nknorg/nkn/core/ledger" "github.com/nknorg/nkn/core/transaction" "github.com/nknorg/nkn/core/transaction/pool" "github.com/nknor...
// Copyright 2018 ProximaX Limited. All rights reserved. // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. package crypto import ( rand2 "crypto/rand" "encoding/binary" "errors" "github.com/proximax-storage/nem2-sdk-go/utils" "io" "math/big" ) //src/tes...
// generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go package orm import ( "database/sql" "encoding/json" "errors" "fmt" "io/ioutil" "log" "os" "path/filepath" "sort" "time" "gorm.io/gorm" "github.com/tealeg/xlsx/v3" "github.com/fullstack-lang/gong/test/go/models" ) // dummy variable ...
// Code generated by optiongen. DO NOT EDIT. // optiongen: github.com/timestee/optiongen package example import ( "sync/atomic" "time" "unsafe" ) // AllConfig should use NewAllConfig to initialize it type AllConfig struct { TypeBool bool `xconf:"type_bool"` TypeString string ...
package loaderi2b2 import ( "github.com/ldsec/unlynx/lib" "go.dedis.ch/kyber/v3" "go.dedis.ch/onet/v3/log" "strconv" "strings" ) // ####----HELPER STRUCTS----#### // Testing defines whether we should run the DDT on test environment (locally) or using real nodes var Testing bool // testing environment // ListSe...
package vader import ( "fmt" "io/ioutil" "log" "math" "regexp" "strconv" "strings" "github.com/gonum/floats" ) const ( //(empirically derived mean sentiment intensity rating increase for booster words) bIncr = 0.293 bDecr = -0.293 //(empirically derived mean sentiment intensity rating increase for using...
/* 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...
package recoverylog import ( "bufio" "context" "fmt" "io" "io/ioutil" "os" "path/filepath" "strconv" "strings" "github.com/pkg/errors" log "github.com/sirupsen/logrus" "go.gazette.dev/core/broker/client" pb "go.gazette.dev/core/broker/protocol" "go.gazette.dev/core/message" "go.gazette.dev/core/metrics...
// Copyright (c) 2016 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,...
package cmd import ( "crypto/hmac" "crypto/sha1" "encoding/hex" "encoding/json" "fmt" "github.com/jenkins-x/jx/pkg/jx/cmd/helper" "io/ioutil" "net/http" "os" "strconv" "strings" "time" "github.com/jenkins-x/jx/pkg/gits" "github.com/jenkins-x/jx/pkg/jenkinsfile" "github.com/jenkins-x/jx/pkg/jx/cmd/opts"...
package collection import ( "context" me "errors" "fmt" "strings" "time" "github.com/blang/semver" kabanerov1alpha1 "github.com/kabanero-io/kabanero-operator/pkg/apis/kabanero/v1alpha1" mf "github.com/kabanero-io/manifestival" // corev1 "k8s.io/api/core/v1" pipelinev1alpha1 "github.com/tektoncd/pipeline/pk...
// Copyright 2015 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 2013 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 ld import ( "cmd/internal/obj" "cmd/internal/objabi" "cmd/internal/src" "cmd/internal/sys" "cmd/link/internal/loader" "cmd/link/internal/sym" "e...
package sql import ( "fmt" "io" "math" "strconv" "strings" "time" ) // Nameable is something that has a name. type Nameable interface { // Name returns the name. Name() string } // Tableable is something that has a table. type Tableable interface { // Table returns the table name. Table() string } // Reso...
package constants import ( api "github.com/kiegroup/kie-cloud-operator/pkg/apis/app/v2" "golang.org/x/mod/semver" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) // Ocp4Versions - OpenShift minor versions used for image curation var Ocp4Versions = []string{"4.7", "4.6"} const ( // Cu...
// Copyright 2018 The Go Cloud 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
// Copyright (c) <NAME> @bwplotka // Licensed under the Apache License 2.0. package flagarize_test import ( "bytes" "fmt" "log" "net" "net/url" "os" "path/filepath" "regexp" "testing" "time" "unsafe" "github.com/alecthomas/units" "github.com/bwplotka/flagarize" "github.com/bwplotka/flagarize/testutil" ...
package tracee import ( "encoding/binary" "net" "strconv" "strings" ) // PrintInodeMode prints the `mode` bitmask argument of the `mknod` syscall // http://man7.org/linux/man-pages/man7/inode.7.html func PrintInodeMode(mode uint32) string { var f []string // File Type switch { case mode&0140000 == 0140000: ...
// Copyright 2015-2019 the u-root 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 kexec import ( "bytes" "debug/elf" "fmt" "io" "io/ioutil" "log" "os" "path" "path/filepath" "reflect" "sort" "strconv" "strings" ...
package cloudmonitoring import ( "context" "encoding/json" "fmt" "io" "io/ioutil" "math" "net/http" "net/url" "path" "regexp" "strconv" "strings" "time" "github.com/grafana/grafana-google-sdk-go/pkg/utils" "github.com/grafana/grafana-plugin-sdk-go/backend" "github.com/grafana/grafana-plugin-sdk-go/ba...
package tx_ver2 import ( "bytes" // "encoding/json" "testing" "github.com/incognitochain/incognito-chain/common" "github.com/incognitochain/incognito-chain/dataaccessobject/statedb" "github.com/incognitochain/incognito-chain/incognitokey" "github.com/incognitochain/incognito-chain/privacy" "github.com/incogni...
package netlink import ( "bytes" "encoding/binary" "errors" "fmt" "net" "syscall" "time" "github.com/vishvananda/netlink/nl" "github.com/vishvananda/netns" "golang.org/x/sys/unix" ) // ConntrackTableType Conntrack table for the netlink operation type ConntrackTableType uint8 const ( // ConntrackTable Con...
/* * Copyright 2018 The microkube 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 command import ( "fmt" "sort" "strconv" "strings" "time" "github.com/gdamore/tcell" "github.com/rivo/tview" "github.com/motki/cli" "github.com/motki/cli/text" "github.com/motki/cli/text/banner" "github.com/motki/core/log" "github.com/motki/core/model" "github.com/motki/core/proto/client" ) // ...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: envoy/api/v2/route.proto package envoy_api_v2 import ( fmt "fmt" core "github.com/cilium/proxy/go/envoy/api/v2/core" route "github.com/cilium/proxy/go/envoy/api/v2/route" _ "github.com/cncf/udpa/go/udpa/annotations" _ "github.com/envoyproxy/protoc-gen-v...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: arena.proto package cross import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf type ArenaPlayer...
// generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go package orm import ( "database/sql" "encoding/json" "errors" "fmt" "io/ioutil" "log" "os" "path/filepath" "sort" "time" "gorm.io/gorm" "github.com/tealeg/xlsx/v3" "github.com/fullstack-lang/gongleaflet/go/models" ) // dummy variabl...
// Copyright <NAME>. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package brimtext contains tools for working with text. Probably the most // complex of these tools is Align, which allows for formatting "pretty // tables". // // This is...
/* This file is part of Astarte. Copyright 2020 Ispirata Srl 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 applica...
/* Copyright 2017 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
// +build !pcre /* Copyright 2017-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 ...
package unum import ( "math" ) // Represents a 4x4 column-major matrix. type Mat4 [16]float64 var ( // The 4x4 identity matrix. Mat4Identity Mat4 m4z Mat4 ) func init() { Mat4Identity[0], Mat4Identity[4], Mat4Identity[8], Mat4Identity[12] = 1, 0, 0, 0 Mat4Identity[1], Mat4Identity[5], Mat4I...
// 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 tls import ( "crypto/ecdsa" "crypto/elliptic" "crypto/internal/boring" "crypto/internal/boring/fipstls" "crypto/rand" "crypto/rsa" "crypto/x509"...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: envoy/extensions/filters/http/grpc_json_transcoder/v3/transcoder.proto package envoy_extensions_filters_http_grpc_json_transcoder_v3 import ( fmt "fmt" _ "github.com/cncf/udpa/go/udpa/annotations" _ "github.com/envoyproxy/protoc-gen-validate/validate" pr...
// 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 arm64asm import ( "fmt" "strings" ) // An Op is an ARM64 opcode. type Op uint16 // NOTE: The actual Op values are defined in tables.go. // They are...
// Copyright 2020 <NAME>. // // Licensed under the MIT license. package main import ( "bufio" "bytes" "fmt" "image" "image/color" "image/draw" "image/png" "log" "os" "strings" "unicode/utf8" "github.com/golang/freetype" "golang.org/x/image/font" "golang.org/x/image/font/gofont/gomono" "golang.org/x/im...
/* 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 2012 The Freetype-Go Authors. All rights reserved. // Use of this source code is governed by your choice of either the // FreeType License or the GNU General Public License version 2 (or // any later version), both of which can be found in the LICENSE file. package freetype // http://projects.tuxee.net/c...
// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: mixer/v1/config/cfg.proto /* Package istio_mixer_v1_config is a generated protocol buffer package. It is generated from these files: mixer/v1/config/cfg.proto It has these top-level messages: AttributeManifest Rule Action Instance Handler */ package...
package orvibo // go-orvibo is a lightweight package that is used to control a variety of Orvibo products // including the AllOne IR / 433mhz blaster and the S10 / S20 sockets import ( "encoding/hex" // For converting stuff to and from hex "errors" // For crafting our own errors "fmt" // For outputt...
package Euler2D import ( "fmt" "math" "strings" "github.com/notargets/gocfd/utils" ) func (it InitType) Print() (txt string) { txt = InitPrintNames[it] return } type FluxType uint const ( FLUX_Average FluxType = iota FLUX_LaxFriedrichs FLUX_Roe FLUX_RoeER ) var ( FluxNames = map[string]FluxType{ "ave...
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.14.0 // source: pkg/proto/category/types.proto package category import ( proto "github.com/golang/protobuf/proto" common "github.com/gomaglev/protos/pkg/proto/common" protoreflect "google.golang.org/protobu...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: envoy/api/v2/core/config_source.proto package envoy_api_v2_core import ( fmt "fmt" _ "github.com/envoyproxy/protoc-gen-validate/validate" proto "github.com/golang/protobuf/proto" duration "github.com/golang/protobuf/ptypes/duration" wrappers "github.com...
/* Copyright 2021 Contributors to the EdgeNet project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
package util import ( "fmt" "math/rand" "strconv" "strings" "time" "github.com/Pallinder/go-randomdata" "github.com/gosimple/slug" "github.com/icrowley/fake" seeds "github.com/lsldigital/gocipe/util/seeds" "github.com/satori/go.uuid" ) //URL represents a seed type Url const URL string = "Url" // Status re...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/cloud/asset/v1/assets.proto package asset import ( fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" _ "github.com/golang/protobuf/ptypes/any" _struct "github.com/golang/protobuf/ptypes/struct" timestamp "github.com/golang/protobuf...
//----------------------------------------------------------------------------- /* Golang wrapper for jackd2. Derived from https://github.com/xthexder/go-jack */ //----------------------------------------------------------------------------- package jack /* #cgo linux LDFLAGS: -ljack #cgo windows,386 LDFLAGS: -lli...
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
// Utilities to help with incremental builds. // // There are four things we consider for each rule: // - the global config, some parts of which affect all rules // - the rule definition itself (the command to run, etc) // - any input files it might have // - any dependencies. // // If all of those are the same as ...
package tunnelproxy import ( "encoding/json" "errors" "fmt" "net" "net/http" "net/url" "os" "os/user" "sort" "strconv" "strings" "sync" "time" "koding/artifact" "koding/httputil" "koding/kites/kloud/pkg/dnsclient" "koding/kites/kloud/utils" "koding/tools/util" "github.com/aws/aws-sdk-go/aws/creden...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: common/common.proto package common import ( fmt "fmt" proto "github.com/golang/protobuf/proto" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a c...
package name var animals = [...]string{ "aardvarks", "albatrosses", "alligators", "alpacas", "anteaters", "antelope", "ants", "apes", "armadillos", "baboons", "badgers", "barracudas", "bats", "bears", "beavers", "bees", "bison", "boar", "buffalo", "bunnies", "butterflies", "camels", "capybaras",...
package main import ( "encoding/binary" "errors" "fmt" "image" "image/png" "io/ioutil" "math" "math/rand" "time" "github.com/ianremmler/trigo" "golang.org/x/mobile/app" "golang.org/x/mobile/asset" "golang.org/x/mobile/event/lifecycle" "golang.org/x/mobile/event/paint" "golang.org/x/mobile/event/size" ...
package main import ( "plugin/dto" "plugin/plugins/sensor" "plugin/plugins/ups" "fmt" "os" "reflect" "regexp" "testing" "github.com/jbrodriguez/mlog" "github.com/kless/osutil/user/crypt" "github.com/kless/osutil/user/crypt/md5_crypt" "github.com/kless/osutil/user/crypt/sha256_crypt" "github.com/kless/osu...
// 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 "License"); you may not...
// Core Raft implementation - Consensus Module. // // <NAME> [https://eli.thegreenplace.net] // This code is in the public domain. package raft import ( "bytes" "encoding/gob" "fmt" "log" "math/rand" "os" "sync" "sync/atomic" "time" ) const DebugCM = 1 /* CommitEntry就是Raft向提交通道发送的数据。每一条提交的条目都会通知客户端, 表明指令已...
package manifest import ( "fmt" "io/fs" "os" "path" "path/filepath" "regexp" "runtime" "sort" "strings" "time" "github.com/cashapp/hermit/platform" "github.com/alecthomas/participle" "github.com/gobwas/glob" "github.com/pkg/errors" "github.com/qdm12/reprint" "github.com/cashapp/hermit/envars" "git...
// Package controllers contains k8s controller logic for AIS cluster /* * Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. */ package controllers import ( "context" "fmt" "sync" "time" "github.com/go-logr/logr" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/client-go/to...
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
package libpod import ( "context" "fmt" "os" "path/filepath" "strings" "sync" "syscall" "github.com/containers/common/pkg/config" is "github.com/containers/image/v5/storage" "github.com/containers/image/v5/types" "github.com/containers/libpod/v2/libpod/define" "github.com/containers/libpod/v2/libpod/event...
package build import ( "bufio" "context" "fmt" "io" "io/ioutil" "os" "path/filepath" "strconv" "strings" "sync" "github.com/containerd/containerd/images" "github.com/containerd/containerd/platforms" "github.com/docker/buildx/driver" "github.com/docker/buildx/util/imagetools" "github.com/docker/buildx/u...
// Copyright 2018 The go-hpb Authors // Modified based on go-ethereum, which Copyright (C) 2014 The go-ethereum Authors. // // The go-hpb is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version...
package persistence import ( "encoding/json" "errors" "fmt" "github.com/boltdb/bolt" "github.com/golang/glog" "github.com/open-horizon/anax/cutil" "time" ) // ephemeral as of v2.1.0 const E_AGREEMENTS = "established_agreements" // may or may not be in agreements const DEVMODE = "devmode" var RemoveDatabaseOn...
/** * Copyright (c) 2019, The Artemis Authors. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT...
/* * This file is part of the KubeVirt project * * 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 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "bytes"; "flag"; "fmt"; "go/ast"; "go/doc"; "go/parser"; "go/printer"; "go/scanner"; "go/token"; "http"; "io"; "log"; "os"; ...
package tasks //go:generate go run gen.go . import ( "context" "errors" "fmt" "strconv" "strings" "time" "github.com/filecoin-project/go-address" "github.com/filecoin-project/go-state-types/big" "github.com/google/uuid" "github.com/ipfs/go-cid" "github.com/ipld/go-ipld-prime" linksystem "github.com/ipld/...
/* Copyright (c) 2022, Network Next, Inc. All rights reserved. This is open source software licensed under the BSD 3-Clause License. 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 mu...
// Code generated by protoc-gen-go. // source: google.golang.org/genproto/googleapis/logging/v2/log_entry.proto // DO NOT EDIT! /* Package v2 is a generated protocol buffer package. It is generated from these files: google.golang.org/genproto/googleapis/logging/v2/log_entry.proto google.golang.org/genproto/googleap...
/* 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 law or agreed to in ...
package engine import ( "fmt" "strconv" "strings" "unicode" ) const ( // Constants representing each piece type. The value of the constants // are selected so they can be used in Position.PieceBB to index the // bitboards representing the given piece. Pawn uint8 = 0 Knight uint8 = 1 Bishop uint8 = 2 Rook...
// Copyright (c) 2018 <NAME> // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. package main import ( "testing" ) func TestObjGibberish(t *testing.T) { data := ` There was a lady named Bright who could walk faster than light. She set out one day in a relative wa...
package devutil import ( "bytes" "errors" "fmt" "io" "io/ioutil" "os" "os/exec" "path" "path/filepath" "regexp" "sort" "strconv" "strings" "github.com/vugu/vugu/distutil" ) // DefaultTinygoDockerImage is used as the docker image for Tinygo unless overridden. var DefaultTinygoDockerImage = "tinygo/tinyg...
// Copyright © 2014-2016 Galvanized Logic Inc. // Use is governed by a BSD-style license found in the LICENSE file. package load // IQM: Inter-Quake Model format. // A binary format for 3D models that includes skeletal animation: // http://www.opengl.org/wiki/Skeletal_Animation // http://content.gpwiki.org/inde...
package modules import ( "bytes" "crypto/cipher" "errors" "io" "time" "github.com/HyperspaceApp/Hyperspace/build" "github.com/HyperspaceApp/Hyperspace/crypto" "github.com/HyperspaceApp/Hyperspace/encoding" "github.com/HyperspaceApp/Hyperspace/types" ) const ( // AcceptResponse is the response given to an R...
package adhoc import ( "context" _ "embed" "fmt" "math" "strconv" "testing" "unsafe" "github.com/tetratelabs/wazero" "github.com/tetratelabs/wazero/api" "github.com/tetratelabs/wazero/internal/platform" "github.com/tetratelabs/wazero/internal/testing/require" "github.com/tetratelabs/wazero/internal/wasm" ...
package claude import ( "bytes" "encoding/binary" "errors" "fmt" "math/big" "sync" "time" "github.com/entropyio/go-entropy/accounts" "github.com/entropyio/go-entropy/blockchain/model" "github.com/entropyio/go-entropy/blockchain/state" "github.com/entropyio/go-entropy/common" "github.com/entropyio/go-entro...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: tensorflow_serving/config/model_server_config.proto package tensorflow_serving import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import any "github.com/golang/protobuf/ptypes/any" import storage_path "github.com/grupawp/tens...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: proto/helpers/rolling_window_reducer/rolling_window_reducer.proto package mako_helpers import ( fmt "fmt" proto "github.com/golang/protobuf/proto" mako_go_proto "github.com/google/mako/spec/proto/mako_go_proto" math "math" ) // Reference imports to supp...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: grpc_benchmark.proto /* Package main is a generated protocol buffer package. It is generated from these files: grpc_benchmark.proto It has these top-level messages: BenchmarkMessage */ package main import proto "github.com/golang/protobuf/proto" import f...
// Copyright 2020 The ZKits 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 applicable law o...
package bytecode /* Default Java major versions Currently there's no stack frame calculation, therefore Java5 should be used at default. */ const Java5 = 49 const Java6 = 50 const Java7 = 51 const Java8 = 52 const Java9 = 53 const Java10 = 54 const Java11 = 55 const Java12 = 56 const Java13 = 57 const Java14 = 58 cons...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: moc_common_computecommon.proto package common import ( fmt "fmt" proto "github.com/golang/protobuf/proto" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // ...
/* Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
// This file is subject to a 1-clause BSD license. // Its contents can be found in the enclosed LICENSE file. package evdev import "unsafe" // KeymapEntry.Flags values. // They specify how the kernel should handle a keymap request. const ( // Kernel should perform lookup in keymap by @index instead of @scancode In...
// Code generated by protoc-gen-go. DO NOT EDIT. // source: peer/chaincode.proto package peer // import "deepchain/protos/peer" import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt...
// // Copyright (c) 2011-2019 Canonical Ltd // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
/* Copyright 2014 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
// Copyright 2017 GRAIL, 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. // Package ec2cluster implements support for maintaining elastic // clusters of Reflow instances on EC2. // // The EC2 instances created launch reflowlet agent p...
package main import ( "strings" "strconv" "fmt" "regexp" "github.com/EndlessCheng/mahjong-helper/util/model" "sort" "github.com/EndlessCheng/mahjong-helper/util" "net/url" "github.com/fatih/color" ) /* <SHUFFLE> - seed Seed for RNG for generating walls and dice rolls. - ref ? <GO> ...
package offsettrk import ( "testing" "time" "github.com/Shopify/sarama" "github.com/mailgun/kafka-pixy/actor" "github.com/mailgun/kafka-pixy/consumer" "github.com/mailgun/kafka-pixy/offsetmgr" "github.com/mailgun/kafka-pixy/testhelpers" . "gopkg.in/check.v1" ) type action int const ( doOfr action = iota d...