filename
stringlengths
4
198
content
stringlengths
25
939k
environment
list
variablearg
list
constarg
list
variableargjson
stringclasses
1 value
constargjson
stringlengths
2
3.9k
lang
stringclasses
3 values
constargcount
float64
0
129
variableargcount
float64
0
0
sentence
stringclasses
1 value
pkg/nuctl/command/run.go
/* Copyright 2017 The Nuclio Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
[ "\"NUCTL_RUN_REGISTRY\"" ]
[]
[ "NUCTL_RUN_REGISTRY" ]
[]
["NUCTL_RUN_REGISTRY"]
go
1
0
networking/main.go
package main import ( "bufio" "crypto/sha256" "encoding/hex" "encoding/json" "io" "log" "net" "os" "strconv" "sync" "time" "github.com/davecgh/go-spew/spew" "github.com/joho/godotenv" ) // Block represents each 'item' in the blockchain type Block struct { Index int Timestamp string BPM int ...
[ "\"PORT\"" ]
[]
[ "PORT" ]
[]
["PORT"]
go
1
0
ChernMachine/kernel/VImage.py
import json import os import sys import subprocess from Chern.utils import csys from Chern.utils import metadata from ChernMachine.kernel.VJob import VJob """ This should have someting A image can be determined uniquely by the ? """ class VImage(VJob): def __init__(self, file_name): super(VImage, self).__in...
[]
[]
[ "HOME" ]
[]
["HOME"]
python
1
0
src/amuse/rfi/tools/create_python_worker.py
from amuse.support.core import late, print_out from amuse.support.options import option from amuse.support.options import OptionalAttributes import os import inspect import sys class CreateAPythonWorker(OptionalAttributes): @option(sections=['data']) def amuse_root_dir(self): if 'AMUSE...
[]
[]
[ "AMUSE_DIR" ]
[]
["AMUSE_DIR"]
python
1
0
pkg/image/export/main.go
package main import ( "fmt" "io/ioutil" "log" "os" "path/filepath" "sort" "strings" "github.com/coreos/go-semver/semver" kd "github.com/rancher/rancher/pkg/controllers/management/kontainerdrivermetadata" img "github.com/rancher/rancher/pkg/image" ext "github.com/rancher/rancher/pkg/image/external" "github...
[ "\"HOME\"", "\"HOME\"" ]
[]
[ "HOME" ]
[]
["HOME"]
go
1
0
service/network/tunnel/mucp/mucp_test.go
// 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 // distributed...
[ "\"IN_TRAVIS_CI\"" ]
[]
[ "IN_TRAVIS_CI" ]
[]
["IN_TRAVIS_CI"]
go
1
0
pandaharvester/harvestersubmitter/htcondor_submitter.py
import os import errno import datetime import tempfile import threading import random import json from concurrent.futures import ThreadPoolExecutor import re from math import log1p from pandaharvester.harvesterconfig import harvester_config from pandaharvester.harvestercore.queue_config_mapper import QueueConfigMappe...
[]
[]
[ "X509_USER_PROXY", "X509_USER_PROXY_ANAL", "TMPDIR" ]
[]
["X509_USER_PROXY", "X509_USER_PROXY_ANAL", "TMPDIR"]
python
3
0
sdks/python/apache_beam/runners/interactive/caching/streaming_cache.py
# # 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 us...
[]
[]
[ "TEST_TMPDIR" ]
[]
["TEST_TMPDIR"]
python
1
0
main.go
package main import ( "flag" "fmt" "net/http" "net/url" "os" "strconv" "strings" "time" log "github.com/Sirupsen/logrus" "github.com/alphagov/govuk_crawler_worker/http_crawler" "github.com/alphagov/govuk_crawler_worker/queue" "github.com/alphagov/govuk_crawler_worker/ttl_hash_set" "github.com/alphagov/g...
[ "\"MIRROR_ROOT\"", "\"RATE_LIMIT_TOKEN\"" ]
[]
[ "MIRROR_ROOT", "RATE_LIMIT_TOKEN" ]
[]
["MIRROR_ROOT", "RATE_LIMIT_TOKEN"]
go
2
0
PhoneSearch/manage.py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'PhoneSearch.settings') try: from django.core.management import execute_from_command_line ...
[]
[]
[]
[]
[]
python
0
0
github-clone-all.py
#!/usr/bin/env python3 import os import time import json import requests import subprocess import sys from dotenv import load_dotenv scriptDir = os.path.dirname(__file__) envPath = os.path.join(scriptDir, ".env") if os.path.isfile(envPath) is False: sys.exit("No .env file found, please create one. :)") load_dot...
[]
[]
[ "GITHUB_USERNAME", "GITHUB_TOKEN", "OUTPUT_DIR" ]
[]
["GITHUB_USERNAME", "GITHUB_TOKEN", "OUTPUT_DIR"]
python
3
0
fastmri_recon/training_scripts/nc_train_block.py
import math import os import os.path as op import time import pickle import tensorflow as tf import tensorflow.keras.backend as K from tensorflow.keras.callbacks import TensorBoard from tensorflow.keras.mixed_precision import experimental as mixed_precision from tensorflow_addons.callbacks import TQDMProgressBar from...
[]
[]
[ "CUDA_VISIBLE_DEVICES" ]
[]
["CUDA_VISIBLE_DEVICES"]
python
1
0
geodescriber/__init__.py
"""The Geodescriber ANALYSIS API MODULE""" import logging import os import CTRegisterMicroserviceFlask import ee from flask import Flask from geodescriber.config import SETTINGS from geodescriber.routes.api import error from geodescriber.routes.api.v1 import geodescriber_endpoints_v1 from geodescriber.utils.files imp...
[]
[]
[ "LOCAL_URL", "CT_REGISTER_MODE", "CT_URL" ]
[]
["LOCAL_URL", "CT_REGISTER_MODE", "CT_URL"]
python
3
0
mysqld_exporter.go
// Copyright 2018 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...
[ "\"HOME\"" ]
[]
[ "HOME" ]
[]
["HOME"]
go
1
0
kmd_labs/oracles/select_oracle.py
#!/usr/bin/env python3 import sys import os import json import getconf import colorTable def selectRange(low,high, msg): while True: try: number = int(input(msg)) except ValueError: print("integer only, try again") continue if low <= number <= high: return number else: print("input outside ran...
[]
[]
[ "HOME" ]
[]
["HOME"]
python
1
0
net/arp.go
package net import ( "fmt" "io" "os" "path/filepath" ) // Configure the ARP cache parameters for the given interface. This // makes containers react more quickly to a change in the MAC address // associated with an IP address. func ConfigureARPCache(procPath, name string) error { if err := sysctl(procPath, fmt....
[]
[]
[]
[]
[]
go
null
null
null
api/utils/fs/fs.go
package fs import ( "os" "path/filepath" ) func CreateDirIfNotExists(dirPath string) error { if _, err := os.Stat(dirPath); os.IsNotExist(err) { return os.Mkdir(dirPath, 0755) } return nil } func IsUserArchiveExists(userCode string) bool { if _, err := os.Stat(os.Getenv("FILE_DIR") + userCode + ".zip"); os.I...
[ "\"FILE_DIR\"", "\"FILE_DIR\"", "\"FILE_DIR\"" ]
[]
[ "FILE_DIR" ]
[]
["FILE_DIR"]
go
1
0
testsuite/runtest.py
#!/usr/bin/env python from __future__ import print_function import os import glob import sys import platform import subprocess import difflib import filecmp import shutil from optparse import OptionParser # # Get standard testsuite test arguments: srcdir exepath # srcdir = "." tmpdir = "." path = "../.." # Option...
[]
[]
[ "APPVEYOR", "OIIO_TESTSUITE_SRC", "OIIO_TESTSUITE_IMAGEDIR", "TRAVIS", "DEBUG", "PYTHON_VERSION", "OIIO_TESTSUITE_ROOT", "SANITIZE" ]
[]
["APPVEYOR", "OIIO_TESTSUITE_SRC", "OIIO_TESTSUITE_IMAGEDIR", "TRAVIS", "DEBUG", "PYTHON_VERSION", "OIIO_TESTSUITE_ROOT", "SANITIZE"]
python
8
0
pkg/cloud-provider/alicloud.go
/* Copyright 2018 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, ...
[ "\"ACCESS_KEY_ID\"", "\"ACCESS_KEY_SECRET\"", "\"REGION_ID\"" ]
[]
[ "ACCESS_KEY_SECRET", "ACCESS_KEY_ID", "REGION_ID" ]
[]
["ACCESS_KEY_SECRET", "ACCESS_KEY_ID", "REGION_ID"]
go
3
0
gateware/de0nanoplatform.py
# # This file is part of LUNA. # # Copyright (c) 2020 Great Scott Gadgets <info@greatscottgadgets.com> # SPDX-License-Identifier: BSD-3-Clause """ The DE0 Nano does not have an explicit USB port. Instead, you'll need to connect an external ULPI PHY breakout, such as https://www.waveshare.com/wiki/USB3300_USB_HS_Board. ...
[]
[]
[ "QUARTUS_PGM" ]
[]
["QUARTUS_PGM"]
python
1
0
provider/coredns.go
/* 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, ...
[ "\"ETCD_URLS\"", "\"ETCD_CA_FILE\"", "\"ETCD_CERT_FILE\"", "\"ETCD_KEY_FILE\"", "\"ETCD_TLS_SERVER_NAME\"", "\"ETCD_TLS_INSECURE\"" ]
[]
[ "ETCD_TLS_SERVER_NAME", "ETCD_URLS", "ETCD_KEY_FILE", "ETCD_TLS_INSECURE", "ETCD_CA_FILE", "ETCD_CERT_FILE" ]
[]
["ETCD_TLS_SERVER_NAME", "ETCD_URLS", "ETCD_KEY_FILE", "ETCD_TLS_INSECURE", "ETCD_CA_FILE", "ETCD_CERT_FILE"]
go
6
0
work/src/py/google/protobuf/internal/api_implementation.py
# Protocol Buffers - Google's data interchange format # Copyright 2008 Google Inc. All rights reserved. # https://developers.google.com/protocol-buffers/ # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redi...
[]
[]
[ "PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION_VERSION", "PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION" ]
[]
["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION_VERSION", "PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"]
python
2
0
python/examples/env-os.py
#!/usr/bin/env python3 import os print('Home:', os.environ['HOME']) print('My:', os.environ.get('MY')) print('Foo:', os.environ.get('FOO', 'default_value'))
[]
[]
[ "HOME", "FOO", "MY" ]
[]
["HOME", "FOO", "MY"]
python
3
0
tests/dbshell/test_postgresql_psycopg2.py
# -*- coding: utf8 -*- from __future__ import unicode_literals import locale import os from django.db.backends.postgresql.client import DatabaseClient from django.test import SimpleTestCase, mock from django.utils import six from django.utils.encoding import force_bytes, force_str class PostgreSqlDbshellCommandTest...
[]
[]
[ "PGPASSFILE" ]
[]
["PGPASSFILE"]
python
1
0
vendor/github.com/docker/cli/cli/command/commands/commands.go
package commands import ( "os" "runtime" "github.com/docker/cli/cli/command" "github.com/docker/cli/cli/command/builder" "github.com/docker/cli/cli/command/container" "github.com/docker/cli/cli/command/engine" "github.com/docker/cli/cli/command/image" "github.com/docker/cli/cli/command/manifest" "github.com/...
[ "\"DOCKER_HIDE_LEGACY_COMMANDS\"" ]
[]
[ "DOCKER_HIDE_LEGACY_COMMANDS" ]
[]
["DOCKER_HIDE_LEGACY_COMMANDS"]
go
1
0
cybergis_compute_client/CyberGISCompute.py
""" This module exposes CyberGISCompute class which creates a CyberGISCompute object that serves as an entry point to the CyberGISX environment from a Python/Jupyter notebook. All interactions with the High Performance Computing (HPC) backend are performed using this object. Example: cybergis = CyberGISCompute...
[]
[]
[ "JUPYTER_INSTANCE_URL", "JUPYTERHUB_API_TOKEN" ]
[]
["JUPYTER_INSTANCE_URL", "JUPYTERHUB_API_TOKEN"]
python
2
0
backend/pah_fm/settings.py
import os import datetime # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Base URL without trailing slash BASE_URL = os.environ.get("BASE_URL") SECRET_KEY = os.environ.get("SECRET_KEY") DEBUG = os.environ.get("DEBUG", "0"...
[]
[]
[ "PAH_FM_DB_NAME", "BASE_URL", "PAH_FM_DB_HOST", "PAH_FM_DB_USER", "SECRET_KEY", "PAH_FM_DB_PASS", "PAH_FM_DB_PORT", "DEBUG" ]
[]
["PAH_FM_DB_NAME", "BASE_URL", "PAH_FM_DB_HOST", "PAH_FM_DB_USER", "SECRET_KEY", "PAH_FM_DB_PASS", "PAH_FM_DB_PORT", "DEBUG"]
python
8
0
vendor/golang.org/x/tools/go/packages/golist.go
// 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. package packages import ( "bytes" "encoding/json" "fmt" "go/types" "io/ioutil" "log" "os" "os/exec" "path/filepath" "reflect" "regexp" "strconv" "...
[ "\"GOPACKAGESDEBUG\"", "\"GOPACKAGESPRINTGOLISTERRORS\"" ]
[]
[ "GOPACKAGESDEBUG", "GOPACKAGESPRINTGOLISTERRORS" ]
[]
["GOPACKAGESDEBUG", "GOPACKAGESPRINTGOLISTERRORS"]
go
2
0
providers/nextcloud/nextcloud_test.go
package nextcloud_test import ( "os" "testing" "github.com/anant-sharma/goth" "github.com/anant-sharma/goth/providers/nextcloud" "github.com/stretchr/testify/assert" ) func Test_New(t *testing.T) { t.Parallel() a := assert.New(t) p := provider() a.Equal(p.ClientKey, os.Getenv("NEXTCLOUD_KEY")) a.Equal(p.S...
[ "\"NEXTCLOUD_KEY\"", "\"NEXTCLOUD_SECRET\"", "\"NEXTCLOUD_KEY\"", "\"NEXTCLOUD_SECRET\"", "\"NEXTCLOUD_DNS\"", "\"NEXTCLOUD_KEY\"", "\"NEXTCLOUD_SECRET\"" ]
[]
[ "NEXTCLOUD_SECRET", "NEXTCLOUD_DNS", "NEXTCLOUD_KEY" ]
[]
["NEXTCLOUD_SECRET", "NEXTCLOUD_DNS", "NEXTCLOUD_KEY"]
go
3
0
com.dynamo.cr/com.dynamo.cr.bob/src/com/dynamo/bob/util/Exec.java
// Copyright 2020 The Defold Foundation // Licensed under the Defold License version 1.0 (the "License"); you may not use // this file except in compliance with the License. // // You may obtain a copy of the License, together with FAQs at // https://www.defold.com/license // // Unless required by applicable law or a...
[ "\"DM_BOB_VERBOSE\"" ]
[]
[ "DM_BOB_VERBOSE" ]
[]
["DM_BOB_VERBOSE"]
java
1
0
main.go
package main import ( "bytes" "crypto/tls" "crypto/x509" "encoding/json" "flag" "io/ioutil" "log" "net/http" "os" "path/filepath" "strings" "time" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" ) var errorCounter = prometheus.NewCounter(promet...
[ "\"MESOS_EXPORTER_PRIVATE_KEY\"", "\"MESOS_EXPORTER_USERNAME\"", "\"MESOS_EXPORTER_PASSWORD\"" ]
[]
[ "MESOS_EXPORTER_USERNAME", "MESOS_EXPORTER_PRIVATE_KEY", "MESOS_EXPORTER_PASSWORD" ]
[]
["MESOS_EXPORTER_USERNAME", "MESOS_EXPORTER_PRIVATE_KEY", "MESOS_EXPORTER_PASSWORD"]
go
3
0
mne/forward/forward.py
# Authors: Alexandre Gramfort <alexandre.gramfort@telecom-paristech.fr> # Matti Hamalainen <msh@nmr.mgh.harvard.edu> # Martin Luessi <mluessi@nmr.mgh.harvard.edu> # # License: BSD (3-clause) from ..externals.six import string_types from time import time import warnings from copy import deepcopy impor...
[]
[]
[]
[]
[]
python
0
0
vetApp/vetApp/asgi.py
""" ASGI config for vetApp project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/4.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault("DJANGO_SETTIN...
[]
[]
[]
[]
[]
python
0
0
hood/settings.py
from pathlib import Path import os import django_heroku import dj_database_url from decouple import config,Csv # Build paths inside the project like this: BASE_DIR / 'subdir'. #BASE_DIR = Path(__file__).resolve().parent.parent BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start deve...
[]
[]
[ "DEBUG" ]
[]
["DEBUG"]
python
1
0
tests/main_test.go
package tests import ( "bytes" "context" "encoding/json" "fmt" "github.com/gin-gonic/gin" "github.com/joho/godotenv" "github.com/letsgo-framework/letsgo/database" letslog "github.com/letsgo-framework/letsgo/log" "github.com/letsgo-framework/letsgo/routes" "github.com/letsgo-framework/letsgo/types" "go.mongo...
[ "\"PORT\"", "\"DATABASE_PORT\"", "\"PORT\"", "\"PORT\"", "\"PORT\"", "\"PORT\"", "\"PORT\"", "\"PORT\"", "\"PORT\"", "\"PORT\"", "\"PORT\"", "\"PORT\"", "\"PORT\"", "\"PORT\"", "\"PORT\"" ]
[]
[ "PORT", "DATABASE_PORT" ]
[]
["PORT", "DATABASE_PORT"]
go
2
0
tests/vector_test.py
import os import pickle import pytest from pyrsistent._pvector import python_pvector @pytest.fixture(scope='session', params=['pyrsistent._pvector', 'pvectorc']) def pvector(request): if request.param == 'pvectorc' and os.environ.get('PYRSISTENT_NO_C_EXTENSION'): pytest.skip('Configured to not run tests ...
[]
[]
[ "PYRSISTENT_NO_C_EXTENSION" ]
[]
["PYRSISTENT_NO_C_EXTENSION"]
python
1
0
src/bpm/runc/client/client.go
// Copyright (C) 2017-Present CloudFoundry.org Foundation, Inc. All rights reserved. // // This program and the accompanying materials are made available under // the terms of the under the Apache License, Version 2.0 (the "License”); // you may not use this file except in compliance with the License. // // You may obt...
[ "\"TERM\"" ]
[]
[ "TERM" ]
[]
["TERM"]
go
1
0
backend/api_app/api_app/wsgi.py
""" WSGI config for api_app project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[]
[]
[]
[]
[]
python
0
0
main.go
package main import ( "log" "net/http" "os" "strconv" "time" "github.com/dgrijalva/jwt-go" "github.com/gin-gonic/gin" "github.com/go-redis/redis/v7" "github.com/twinj/uuid" ) // User authentication data type type User struct { ID uint64 `json:"id"` Username string `json:"username"` Password string ...
[ "\"REDIS_DSN\"" ]
[]
[ "REDIS_DSN" ]
[]
["REDIS_DSN"]
go
1
0
channel/two-listeners/main.go
package main import ( "fmt" "sync" ) func main() { var wg sync.WaitGroup wg.Add(4) ch := make(chan string) go func() { for v := range ch { fmt.Println("1:", v) wg.Done() } }() go func() { for v := range ch { fmt.Println("2:", v) wg.Done() } }() go func() { for v := range ch { fmt...
[]
[]
[]
[]
[]
go
null
null
null
tokenbalance_test.go
package tokenbalance import ( "github.com/stretchr/testify/assert" "math/big" "os" "testing" ) func TestFailedConnection(t *testing.T) { c := &Config{ GethLocation: "https://google.com", Logs: true, } err := c.Connect() assert.Error(t, err) } func TestFailingNoConfig(t *testing.T) { _, err := Ne...
[ "\"ETH\"", "\"ETH\"" ]
[]
[ "ETH" ]
[]
["ETH"]
go
1
0
core/src/main/java/io/questdb/log/LogFactory.java
/******************************************************************************* * ___ _ ____ ____ * / _ \ _ _ ___ ___| |_| _ \| __ ) * | | | | | | |/ _ \/ __| __| | | | _ \ * | |_| | |_| | __/\__ \ |_| |_| | |_) | * \__\_\\__,_|\___||___/\__|____/|____/ * * Copyright (c...
[ "\"QDB_LOG_\" + key.replace('.', '_'" ]
[]
[ "QDB_LOG_\" + key.replace('.', '_" ]
[]
["QDB_LOG_\" + key.replace('.', '_"]
java
1
0
synchronize_test_cases.py
#!/usr/bin/env python import base64 import getpass import hashlib import json import os import requests import sys import time from ConfigParser import ConfigParser from argparse import ArgumentParser, ArgumentTypeError from collections import defaultdict from urlparse import urljoin class Synchronize(object): PA...
[]
[]
[ "APPDATA", "HOME", "XDG_CONFIG_HOME" ]
[]
["APPDATA", "HOME", "XDG_CONFIG_HOME"]
python
3
0
src/specs/vendor/github.com/cloudfoundry-incubator/cf-test-helpers/workflowhelpers/test_suite_setup_test.go
package workflowhelpers_test import ( "os" "time" "github.com/cloudfoundry-incubator/cf-test-helpers/config" starterFakes "github.com/cloudfoundry-incubator/cf-test-helpers/internal/fakes" . "github.com/cloudfoundry-incubator/cf-test-helpers/workflowhelpers" "github.com/cloudfoundry-incubator/cf-test-helpers/wo...
[ "\"CF_HOME\"", "\"CF_HOME\"", "\"CF_HOME\"", "\"CF_HOME\"" ]
[]
[ "CF_HOME" ]
[]
["CF_HOME"]
go
1
0
installforlogin.go
// Copyright 2021 John Slee. Released under the terms of the MIT License // (see LICENSE.md in this directory) package main import ( "fmt" "os" "os/exec" "path" "strings" "howett.net/plist" ) type installForLoginPlist struct { UserName string `plist:"UserName"` GroupName string `plist:"G...
[ "\"HOME\"" ]
[]
[ "HOME" ]
[]
["HOME"]
go
1
0
src/testcases/CWE369_Divide_by_Zero/s02/CWE369_Divide_by_Zero__int_Environment_divide_72a.java
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE369_Divide_by_Zero__int_Environment_divide_72a.java Label Definition File: CWE369_Divide_by_Zero__int.label.xml Template File: sources-sinks-72a.tmpl.java */ /* * @description * CWE: 369 Divide by zero * BadSource: Environment Read data from an environment variable *...
[ "\"ADD\"", "\"ADD\"" ]
[]
[ "ADD" ]
[]
["ADD"]
java
1
0
src/cmd/compile/internal/gc/ssa.go
// 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 gc import ( "bytes" "encoding/binary" "fmt" "html" "os" "sort" "cmd/compile/internal/ssa" "cmd/compile/internal/types" "cmd/internal/obj" "c...
[ "\"GOSSAFUNC\"", "\"GOSSAFUNC\"" ]
[]
[ "GOSSAFUNC" ]
[]
["GOSSAFUNC"]
go
1
0
acquisition/hydrate_users.py
"""Hydration from users ids to csv file MIT License (MIT) Copyright (c) 2015 Julien BLEGEAN <julien.blegean@aalto.fi> """ from datetime import datetime import json import math import sys import csv import os import time import requests from requests_oauthlib import OAuth1 from urlparse import parse_qs # taken from ...
[]
[]
[ "CONSUMER_KEY", "CONSUMER_SECRET", "ACCESS_TOKEN_SECRET", "ACCESS_TOKEN" ]
[]
["CONSUMER_KEY", "CONSUMER_SECRET", "ACCESS_TOKEN_SECRET", "ACCESS_TOKEN"]
python
4
0
rlog/log.go
/* * 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 ...
[ "\"ROCKETMQ_GO_LOG_LEVEL\"" ]
[]
[ "ROCKETMQ_GO_LOG_LEVEL" ]
[]
["ROCKETMQ_GO_LOG_LEVEL"]
go
1
0
main.go
package main import ( "log" "net/http" "os" "golang.org/x/net/webdav" ) type methodMux map[string]http.Handler func (m *methodMux) ServeHTTP(w http.ResponseWriter, r *http.Request) { if h, ok := (*m)[r.Method]; ok { h.ServeHTTP(w, r) } else { http.Error(w, "Method not allowed", http.StatusMethodNotAllowed...
[ "\"LISTEN\"", "\"ROOT\"", "\"PREFIX\"" ]
[]
[ "PREFIX", "ROOT", "LISTEN" ]
[]
["PREFIX", "ROOT", "LISTEN"]
go
3
0
cmd/rhoas/main.go
package main import ( "encoding/json" "fmt" "github.com/markbates/pkger" "github.com/redhat-developer/app-services-cli/pkg/api/kas" "github.com/redhat-developer/app-services-cli/pkg/doc" "github.com/redhat-developer/app-services-cli/pkg/dump" "os" "github.com/redhat-developer/app-services-cli/pkg/cmdutil" "...
[ "\"GENERATE_DOCS\"" ]
[]
[ "GENERATE_DOCS" ]
[]
["GENERATE_DOCS"]
go
1
0
client/common.go
package client import ( "bytes" "encoding/json" "fmt" "io" "io/ioutil" "net/http" "net/url" "os" "regexp" "time" "github.com/gorilla/websocket" "github.com/pkg/errors" ) const ( SELF = "self" COLLECTION = "collection" ) var ( debug = false dialer = &websocket.Dialer{} p...
[ "\"RANCHER_CLIENT_DEBUG\"" ]
[]
[ "RANCHER_CLIENT_DEBUG" ]
[]
["RANCHER_CLIENT_DEBUG"]
go
1
0
internal/operations/client_test.go
package operations import ( "fmt" "os" "testing" "github.com/Azure/terraform-provider-acsengine/internal/tester" "github.com/stretchr/testify/assert" ) func TestSetACSEngineClient(t *testing.T) { resourceGroup := "clusterResourceGroup" masterDNSPrefix := "masterDNSPrefix" cluster := tester.MockContainerServi...
[ "\"ARM_SUBSCRIPTION_ID\"", "\"ARM_CLIENT_SECRET\"", "\"ARM_SUBSCRIPTION_ID\"", "\"ARM_CLIENT_SECRET\"", "\"ARM_SUBSCRIPTION_ID\"" ]
[]
[ "ARM_SUBSCRIPTION_ID", "ARM_CLIENT_SECRET" ]
[]
["ARM_SUBSCRIPTION_ID", "ARM_CLIENT_SECRET"]
go
2
0
lib/cgroup/cpu.go
package cgroup import ( "fmt" "io/ioutil" "os" "runtime" "strconv" "strings" "github.com/VictoriaMetrics/metrics" ) // AvailableCPUs returns the number of available CPU cores for the app. // // The number is rounded to the next integer value if fractional number of CPU cores are available. func AvailableCPUs(...
[ "\"GOMAXPROCS\"" ]
[]
[ "GOMAXPROCS" ]
[]
["GOMAXPROCS"]
go
1
0
fhirclient/r4models/device_tests.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 4.0.0-a53ec6ee1b on 2019-05-07. # 2019, SMART Health IT. import os import io import unittest import json from . import device from .fhirdate import FHIRDate class DeviceTests(unittest.TestCase): def instantiate_from(self, fi...
[]
[]
[ "FHIR_UNITTEST_DATADIR" ]
[]
["FHIR_UNITTEST_DATADIR"]
python
1
0
sls/handler.py
import json import datetime import time import boto3 import os def train_and_generate_recommendations(event, context): # 200 is the HTTP status code for "ok". status_code = 200 try: # From the input parameter named "event", get the body, which contains # the input rows. event_bod...
[]
[]
[ "sagemaker_role_arn", "region", "training_image_ecr_path", "s3_bucket" ]
[]
["sagemaker_role_arn", "region", "training_image_ecr_path", "s3_bucket"]
python
4
0
pkg/executor/executortype/poolmgr/gp.go
/* Copyright 2016 The Fission 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, sof...
[ "\"POD_READY_TIMEOUT\"", "\"RUNTIME_IMAGE_PULL_POLICY\"", "\"TEST_FETCHER_URL\"" ]
[]
[ "POD_READY_TIMEOUT", "TEST_FETCHER_URL", "RUNTIME_IMAGE_PULL_POLICY" ]
[]
["POD_READY_TIMEOUT", "TEST_FETCHER_URL", "RUNTIME_IMAGE_PULL_POLICY"]
go
3
0
main.go
package main import ( "os" "fmt" "net/http" "strings" "io/ioutil" ) type Weather struct { Url string Api string Location string } func main() { weter := Weather{} // Get weather service url fmt.Println("Get variables from os.envs") weter.Url = os.Getenv("PLUGIN_URL") if weter.Url == "" { weter.Ur...
[ "\"PLUGIN_URL\"", "\"PLUGIN_API\"", "\"PLUGIN_LOCATION\"", "\"PLUGIN_FILENAME\"" ]
[]
[ "PLUGIN_API", "PLUGIN_URL", "PLUGIN_FILENAME", "PLUGIN_LOCATION" ]
[]
["PLUGIN_API", "PLUGIN_URL", "PLUGIN_FILENAME", "PLUGIN_LOCATION"]
go
4
0
deepspeed/runtime/engine.py
''' Copyright 2019 The Microsoft DeepSpeed Team ''' import os import re import stat import math import torch import warnings import hashlib import torch.distributed as dist from collections import defaultdict, OrderedDict from shutil import copyfile from torch.nn.modules import Module from torch.nn.parameter import Pa...
[]
[]
[ "OMPI_COMM_WORLD_LOCAL_RANK", "LOCAL_RANK", "DLWS_JOB_ID", "DLTS_JOB_ID" ]
[]
["OMPI_COMM_WORLD_LOCAL_RANK", "LOCAL_RANK", "DLWS_JOB_ID", "DLTS_JOB_ID"]
python
4
0
zwaymqtt.go
package main import ( "os" "log" "flag" "fmt" "time" "strings" "regexp" "errors" "strconv" "encoding/json" "net/http" "io/ioutil" MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git" pfl "github.com/davecheney/profile" ) type MqttUpdate struct { Topic string Value stri...
[ "\"ZWAY_SERVER\"", "\"ZWAY_SERVER\"", "\"ZWAY_USERNAME\"", "\"ZWAY_USERNAME\"", "\"ZWAY_PASSWORD\"", "\"ZWAY_PASSWORD\"", "\"ZWAY_HOME\"", "\"ZWAY_HOME\"", "\"ZWAY_REFRESH\"", "\"ZWAY_REFRESH\"", "\"MQTT_SERVER\"", "\"MQTT_SERVER\"", "\"MQTT_USERNAME\"", "\"MQTT_USERNAME\"", "\"MQTT_PASS...
[]
[ "MQTT_PROTOCOL", "MQTT_PASSWORD", "ZWAY_USERNAME", "ZWAY_SERVER", "ZWAY_PASSWORD", "MQTT_USERNAME", "ZWAY_REFRESH", "MQTT_SERVER", "ZWAYMQTT_DEBUG", "ZWAY_HOME" ]
[]
["MQTT_PROTOCOL", "MQTT_PASSWORD", "ZWAY_USERNAME", "ZWAY_SERVER", "ZWAY_PASSWORD", "MQTT_USERNAME", "ZWAY_REFRESH", "MQTT_SERVER", "ZWAYMQTT_DEBUG", "ZWAY_HOME"]
go
10
0
dpxdt/server/__init__.py
#!/usr/bin/env python # Copyright 2013 Brett Slatkin # # 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...
[]
[]
[]
[]
[]
python
0
0
src/main.py
"""Модуль запуска сервера.""" import os from flask import Flask, url_for from flask_admin.contrib.sqla import ModelView from flask_admin.menu import MenuLink from flask_dance.contrib.github import make_github_blueprint from flask_mail import Mail from flask_sessionstore import SqlAlchemySessionInterface from src imp...
[]
[]
[ "ADMINS", "MAIL_SERVER", "MAIL_PASSWORD", "MAIL_PORT", "SECRET_KEY", "MAIL_USERNAME", "GITHUB_OAUTH_CLIENT_SECRET", "MAIL_USE_TLS", "GITHUB_OAUTH_CLIENT_ID" ]
[]
["ADMINS", "MAIL_SERVER", "MAIL_PASSWORD", "MAIL_PORT", "SECRET_KEY", "MAIL_USERNAME", "GITHUB_OAUTH_CLIENT_SECRET", "MAIL_USE_TLS", "GITHUB_OAUTH_CLIENT_ID"]
python
9
0
install/install.py
import boto3 import json import os import yaml from subprocess import run def handler(event, context): p = run( [ 'cdk', 'version' ], capture_output = True ) print("AWS Cloud Development Kit (CDK)", p.stdout.decode()) os.system('export CDK_NEW_BOOTSTRAP=1 && cdk bootstrap --show-template > /tmp/c...
[]
[]
[ "BOOTSTRAP", "BUCKET" ]
[]
["BOOTSTRAP", "BUCKET"]
python
2
0
e2e/cloud_manager/events_test.go
// Copyright 2020 MongoDB 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...
[ "\"MCLI_PROJECT_ID\"", "\"MCLI_ORG_ID\"" ]
[]
[ "MCLI_ORG_ID", "MCLI_PROJECT_ID" ]
[]
["MCLI_ORG_ID", "MCLI_PROJECT_ID"]
go
2
0
experiments/IMGEP-BigVAE/repetition_000008/experiment_config.py
import autodisc as ad import goalrepresent as gr def get_system_config(): system_config = ad.systems.Lenia.default_config() system_config.version = "pytorch_fft" system_config.use_gpu = True return system_config def get_system_parameters(): system_parameters = ad.systems.Lenia.default_system_param...
[]
[]
[]
[]
[]
python
null
null
null
third_party/phantomjs/test/run-tests.py
#!/usr/bin/env python import argparse import collections import errno import glob import imp import os import platform import posixpath import re import shlex import SimpleHTTPServer import socket import SocketServer import ssl import string import cStringIO as StringIO import subprocess import sys import threading im...
[]
[]
[ "TEST_HTTPS_BASE", "TEST_HTTP_BASE", "TZ" ]
[]
["TEST_HTTPS_BASE", "TEST_HTTP_BASE", "TZ"]
python
3
0
gaussian_processes/src/models/run_gps_and_plot.py
import os, sys, pickle from datetime import datetime import numpy as np import pandas as pd from matplotlib import pyplot as plt from dotenv import load_dotenv, find_dotenv load_dotenv(find_dotenv()) sys.path.append(os.environ.get("PROJECT_ROOT")) import GPy_1_0_5 # date config current_month = datetime(2021, 1, 19) ...
[]
[]
[ "PROJECT_ROOT" ]
[]
["PROJECT_ROOT"]
python
1
0
adapter/sites/open/config/default.py
# -*- coding: utf-8 -*- import os # sdk ESB_SDK_NAME = "adapter.sites.open.blueking.component" # bk_login OAUTH_COOKIES_PARAMS = {"bk_token": "bk_token"} RUN_VER_DISPLAY = os.environ.get("RUN_VER_DISPLAY", "企业版") INIT_SUPERUSER = ["admin"] BIZ_ACCESS_URL = os.getenv("BKAPP_BIZ_ACCESS_URL", "") DEMO_BIZ_ID = os.geten...
[]
[]
[ "BKAPP_DEMO_BIZ_ID", "RUN_VER_DISPLAY", "BKAPP_BIZ_ACCESS_URL", "BKAPP_DEMO_BIZ_EDIT_ENABLED" ]
[]
["BKAPP_DEMO_BIZ_ID", "RUN_VER_DISPLAY", "BKAPP_BIZ_ACCESS_URL", "BKAPP_DEMO_BIZ_EDIT_ENABLED"]
python
4
0
pkg/client/connector/install.go
package connector import ( "bytes" "context" "fmt" "os" "strconv" "strings" "sync" "time" "github.com/pkg/errors" corev1 "k8s.io/api/core/v1" errors2 "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/util/intstr" "github.com/datawire/ambassador/pkg/kates" "github.com/datawire/dlib/dlog" "g...
[ "\"TELEPRESENCE_MANAGER_NAMESPACE\"" ]
[]
[ "TELEPRESENCE_MANAGER_NAMESPACE" ]
[]
["TELEPRESENCE_MANAGER_NAMESPACE"]
go
1
0
src/main/java/com/lambdaschool/bookstore/config/AuthorizationServerConfig.java
package com.lambdaschool.bookstore.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security.crypto.password.PasswordEncoder; import or...
[ "\"OAUTHCLIENTID\"", "\"OAUTHCLIENTSECRET\"" ]
[]
[ "OAUTHCLIENTID", "OAUTHCLIENTSECRET" ]
[]
["OAUTHCLIENTID", "OAUTHCLIENTSECRET"]
java
2
0
executor/executor_test.go
// 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...
[ "\"log_level\"" ]
[]
[ "log_level" ]
[]
["log_level"]
go
1
0
app/main.go
package main import ( "fmt" "log" "net/http" "os" "strings" "github.com/Useurmind/go-greetings/pkg/db" ) var dbType string = "" var dataSource string = "" func splitOutFirstPathPart(path string) (string, string) { parts := strings.SplitN(path, "/", 2) secondPart := "" if len(parts) > 1 { secondPart = pa...
[ "\"GOGREETING_DBTYPE\"", "\"GOGREETING_DATASOURCE\"" ]
[]
[ "GOGREETING_DBTYPE", "GOGREETING_DATASOURCE" ]
[]
["GOGREETING_DBTYPE", "GOGREETING_DATASOURCE"]
go
2
0
generator/header.go
package generator import ( "bytes" "os" "strings" "text/template" "time" "go.uber.org/zap" ) const ( templateHeader = `#!/usr/bin/env bash # # PATCHFILES SCRIPT FOR {{.ScriptFor}} # # author: {{.Author}} # version: {{.Version}} # environment: {{.Environment}} # built: {{.Built}} # # args=("$@") c...
[ "\"AUTHOR\"", "\"VERSION\"" ]
[]
[ "VERSION", "AUTHOR" ]
[]
["VERSION", "AUTHOR"]
go
2
0
drivers/node/gke/gke.go
package gke import ( "os" "time" "github.com/sirupsen/logrus" "github.com/libopenstorage/cloudops" "github.com/libopenstorage/cloudops/gce" "github.com/portworx/torpedo/drivers/node" "github.com/portworx/torpedo/drivers/node/ssh" ) const ( // DriverName is the name of the gke driver DriverName = "gke" ) t...
[ "\"INSTANCE_GROUP\"" ]
[]
[ "INSTANCE_GROUP" ]
[]
["INSTANCE_GROUP"]
go
1
0
snowflake/muon-app/src/main/java/muon/app/ui/components/session/terminal/ssh/SshTtyConnector.java
package muon.app.ui.components.session.terminal.ssh; import java.awt.Dimension; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.concurrent.atom...
[]
[]
[]
[]
[]
java
0
0
routers/router.go
package routers import ( "dogego/api" "dogego/auth" "dogego/middlewares" "os" "github.com/gin-gonic/gin" ) func NewRouter() *gin.Engine { router := gin.Default() // 中间件, 顺序必须是这样 //router.Use(middlewares.SentryReportor()) router.Use(middlewares.Session(os.Getenv("SESSION_SECRET"))) router.Use(middlewares.C...
[ "\"SESSION_SECRET\"", "\"CORS_DOMAIN\"" ]
[]
[ "CORS_DOMAIN", "SESSION_SECRET" ]
[]
["CORS_DOMAIN", "SESSION_SECRET"]
go
2
0
utils/fsutils/fsutils.go
package fsutils import ( "fmt" "os" "os/user" "path/filepath" "strings" ) // ResolvePath {"" -> ".", "~..." -> "user.HomeDir..."} -> Abs func ResolvePath(path string, usr *user.User) (string, error) { // var err error if path == "" { path = "." } if strings.HasPrefix(path, "~") && usr != nil { //if usr =...
[ "\"SUDO_USER\"" ]
[]
[ "SUDO_USER" ]
[]
["SUDO_USER"]
go
1
0
setup.py
#!/usr/bin/env python import os from distutils.core import setup from Cython.Build import cythonize from setuptools.extension import Extension import numpy as np # Only compile with OpenMP if user asks for it USE_OPENMP = os.environ.get('USE_OPENMP', False) print("USE_OPENMP", USE_OPENMP) # Create the extensions. Man...
[]
[]
[ "USE_OPENMP" ]
[]
["USE_OPENMP"]
python
1
0
weatherProj/asgi.py
""" ASGI config for weatherProj project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[]
[]
[]
[]
[]
python
0
0
web/static.go
package web import ( "blockexchange/types" "html/template" "net/http" "os" "github.com/gorilla/mux" ) const template_str = ` <!DOCTYPE HTML> <html> <head> <meta name="og:title" content="{{.Schema.Name}} by {{.Username}}"/> <meta name="og:type" content="Schematic"/> <meta name="og:url" content="{{.BaseURL...
[ "\"BASE_URL\"" ]
[]
[ "BASE_URL" ]
[]
["BASE_URL"]
go
1
0
tests/fixtures/noqa.py
# -*- coding: utf-8 -*- """ This file contains all possible violations. It is used for e2e tests. """ from __future__ import print_function # noqa: WPS422 import os.path # noqa: WPS301 import sys as sys # noqa: WPS113 from some import _protected # noqa: WPS436 from .version import get_version # noqa: WPS300 ...
[]
[]
[]
[]
[]
python
0
0
segmentation/models/Ours-novel-model/training.py
#System import numpy as np import sys import os import random from glob import glob from skimage import io from PIL import Image import random import SimpleITK as sitk #Torch from torch.autograd import Variable from torch.utils.data import Dataset, DataLoader import torch.optim as optim import torch.nn.functional as F ...
[]
[]
[ "CUDA_VISIBLE_DEVICES" ]
[]
["CUDA_VISIBLE_DEVICES"]
python
1
0
main.py
import numpy as np from recommenders.Rec4RecRecommender import Rec4RecRecommender from recommenders.KNNRecommender import KNNRecommender from recommenders.RNNRecommender import RNNRecommender from util import evaluation from util.make_data import * from util.metrics import mrr,recall import os import argparse os.envi...
[]
[]
[ "KMP_DUPLICATE_LIB_OK" ]
[]
["KMP_DUPLICATE_LIB_OK"]
python
1
0
test/functional/test_framework/test_node.py
#!/usr/bin/env python3 # Copyright (c) 2017-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Class for cypheriumlited node under test""" import contextlib import decimal import errno from enum im...
[]
[]
[]
[]
[]
python
0
0
venv/Lib/site-packages/selenium/webdriver/common/service.py
# Licensed to the Software Freedom Conservancy (SFC) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The SFC licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[]
[]
[]
[]
[]
python
0
0
cmd/vulcan-nessus/nessus.go
/* Copyright 2019 Adevinta */ package main import ( "context" "encoding/json" "errors" "fmt" "math/rand" "os" "strconv" "strings" "time" "github.com/jpillora/backoff" log "github.com/sirupsen/logrus" "github.com/adevinta/restuss" "github.com/adevinta/vulcan-check-sdk/helpers" checkstate "github.com/ad...
[ "\"NESSUS_POLICY_ID\"", "\"NESSUS_USERNAME\"", "\"NESSUS_PASSWORD\"", "\"NESSUS_USERNAME\"", "\"NESSUS_PASSWORD\"", "\"NESSUS_ENDPOINT\"" ]
[]
[ "NESSUS_POLICY_ID", "NESSUS_USERNAME", "NESSUS_PASSWORD", "NESSUS_ENDPOINT" ]
[]
["NESSUS_POLICY_ID", "NESSUS_USERNAME", "NESSUS_PASSWORD", "NESSUS_ENDPOINT"]
go
4
0
pkg/dlock/dlock.go
// distributed-lock base etcd // usage: // lock, _ := dlock.New(dlock.WithTTL(5), func(){}) // lock.Lock(ctx) // // do something... // lock.Unlock() // // release resource // lock.Close() // see also lock.UnlockAndClose() // //see also dlock_test.go package dlock import ( "context" "crypto/tls" "net/url" "os" "s...
[ "\"ETCD_ENDPOINTS\"" ]
[]
[ "ETCD_ENDPOINTS" ]
[]
["ETCD_ENDPOINTS"]
go
1
0
pxr/usdImaging/usdviewq/stageView.py
# # Copyright 2016 Pixar # # Licensed under the Apache License, Version 2.0 (the "Apache License") # with the following modification; you may not use this file except in # compliance with the Apache License and the following modification to it: # Section 6. Trademarks. is deleted and replaced with: # # 6. Trademarks. T...
[]
[]
[ "USDVIEW_ENABLE_MSAA", "USDVIEW_OCIO_LUT3D_EDGE_SIZE" ]
[]
["USDVIEW_ENABLE_MSAA", "USDVIEW_OCIO_LUT3D_EDGE_SIZE"]
python
2
0
source/git/gitsource.go
package git import ( "bytes" "context" "encoding/base64" "fmt" "io" "io/ioutil" "net/url" "os" "os/exec" "os/user" "path" "path/filepath" "regexp" "strconv" "strings" "github.com/moby/buildkit/cache" "github.com/moby/buildkit/client" "github.com/moby/buildkit/identity" "github.com/moby/buildkit/ses...
[ "\"PATH\"" ]
[]
[ "PATH" ]
[]
["PATH"]
go
1
0
dpyr/tests/test_api.py
import os import operator from typing import Union, Type, Callable import pytest import _pytest as pt import pandas as pd import pandas.util.testing as tm import ibis import ibis.expr.types as ir import ibis.expr.datatypes as dt from dpyr import ( anti_join, cast, desc, distinct, do, groupb...
[]
[]
[ "BATTING_CSV", "DIAMONDS_CSV", "TEST_POSTGRES_DB", "TEST_SQLITE_DB" ]
[]
["BATTING_CSV", "DIAMONDS_CSV", "TEST_POSTGRES_DB", "TEST_SQLITE_DB"]
python
4
0
src/java/org/apache/sqoop/mapreduce/JobBase.java
/** * 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...
[ "\"SQOOP_HOME\"" ]
[]
[ "SQOOP_HOME" ]
[]
["SQOOP_HOME"]
java
1
0
commands/initialize.go
package commands import ( "fmt" "strings" routing_api "code.cloudfoundry.org/routing-api" cfclient "github.com/cloudfoundry-community/go-cfclient" "github.com/vmwarepivotallabs/cf-mgmt/config" "github.com/vmwarepivotallabs/cf-mgmt/configcommands" "github.com/vmwarepivotallabs/cf-mgmt/isosegment" "github.com/v...
[ "\"LOG_LEVEL\"" ]
[]
[ "LOG_LEVEL" ]
[]
["LOG_LEVEL"]
go
1
0
src/terraform-resource/in/in_backend_test.go
package in_test import ( "encoding/json" "io/ioutil" "os" "path" "strconv" "time" "terraform-resource/in" "terraform-resource/models" "terraform-resource/test/helpers" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" ) var _ = Describe("In with Backend", func() { var ( awsVerifier *he...
[ "\"AWS_ACCESS_KEY\"", "\"AWS_SECRET_KEY\"", "\"AWS_BUCKET\"", "\"AWS_BUCKET_SUBFOLDER\"", "\"AWS_REGION\"" ]
[]
[ "AWS_REGION", "AWS_BUCKET", "AWS_BUCKET_SUBFOLDER", "AWS_ACCESS_KEY", "AWS_SECRET_KEY" ]
[]
["AWS_REGION", "AWS_BUCKET", "AWS_BUCKET_SUBFOLDER", "AWS_ACCESS_KEY", "AWS_SECRET_KEY"]
go
5
0
tests/pygametest.py
import pygame import os import sys import time from rpi_vision.agent.capture import PiCameraStream import numpy as np os.environ['SDL_FBDEV'] = "/dev/fb1" os.environ['SDL_VIDEODRIVER'] = "fbcon" capture_manager = PiCameraStream(resolution=(320, 320), rotation=180, preview=False) pygame.init() screen = pygame.display....
[]
[]
[ "SDL_FBDEV", "SDL_VIDEODRIVER" ]
[]
["SDL_FBDEV", "SDL_VIDEODRIVER"]
python
2
0
train.py
import argparse from datetime import datetime import math import numpy as np import os import subprocess import time import tensorflow as tf import traceback from datasets.datafeeder import DataFeeder from hparams import hparams, hparams_debug_string from models import create_model from text import sequence_to_text fr...
[]
[]
[ "TF_CPP_MIN_LOG_LEVEL" ]
[]
["TF_CPP_MIN_LOG_LEVEL"]
python
1
0
tests/speed.py
""" Travis Ci Tests """ ActualData = ['8998bcff9765438bb6089ab93bfad4d3', 'f7c77d999f154a66a87dc4a51ef30d19', 'ed23c309c54645a7b4805f95a2fb76b0', '43db704e10b140b3a38dce059de35a59', '2b7f6bd60cfe4458a35a3312493772fb', '042470004a1f4f3bab91001866784b...
[]
[]
[ "apikey" ]
[]
["apikey"]
python
1
0
api4/apitestlib.go
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved. // See License.txt for license information. package api4 import ( "bytes" "fmt" "io" "io/ioutil" "net" "net/http" "os" "path/filepath" "reflect" "strconv" "strings" "sync" "testing" "time" "github.com/mattermost/mattermost-server/app"...
[ "\"CI_INBUCKET_PORT\"" ]
[]
[ "CI_INBUCKET_PORT" ]
[]
["CI_INBUCKET_PORT"]
go
1
0
folio/asgi.py
""" ASGI config for folio project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/4.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTING...
[]
[]
[]
[]
[]
python
0
0
Src/StdLib/Lib/test/support/__init__.py
"""Supporting definitions for the Python regression tests.""" if __name__ != 'test.support': raise ImportError('support must be imported from the test package') import collections.abc import contextlib import errno import faulthandler import fnmatch import functools import gc import importlib import importlib.uti...
[]
[]
[ "TZ" ]
[]
["TZ"]
python
1
0
cabutils.py
""" CAB-level utils """ import sys import os import configparser import pathlib import pymongo as pm ######################### ########GENERAL########## ######################### #load default settings settings = configparser.ConfigParser() this_dir = pathlib.Path(__file__).parent.absolute() settings_file = os.path.j...
[]
[]
[ "HOME", "CAB_CONFIGFILE" ]
[]
["HOME", "CAB_CONFIGFILE"]
python
2
0