[ [ "from ..converters.default import convert_user" ], [ "from django.urls import reverse" ], [ "from cl.visualizations.utils import emails" ], [ "from PyQt4.QtCore import QRectF, QLineF", "from PyQt4.Qt import *" ], [ "RANGE_UNBOUNDED = 'UNBOUNDED'" ], [ "s= marker_sets[\"particle_315 geometry\"]", "mark=s.place_marker((863.454, 1391.08, 3346.29), (0.7, 0.7, 0.7), 249.485)" ], [ "#data_list;", "#dl = [['id', 'url', 'title', 'rev_host', 'visit_count', 'hidden', 'typed', 'favicon_id', 'frecency', 'last_visit_date', 'guid', 'foreign_count', 'url_hash']]; ", "dl = [['id', 'title', 'visit_count', 'last_visit_date', 'category']]; " ], [ "import os", "import os.path", "from os.path import dirname, abspath" ], [ "GAEMemcachedCache = MemcachedCache" ], [ "# In[11]:" ], [ "####################################", "# AxisToolButton", "####################################" ], [ "boot_design = False" ], [ "import django.db.models.deletion" ], [ "from .icon_type import icon_types" ], [ "FORCE_ABSOLUTE_PATH = False" ], [ "IMAGENAME = 'pythonpowered.gif'" ], [ "import numpy as np", "import binascii", "import re" ], [ "FLAGS = flags.FLAGS" ], [ "from neutron.tests.unit import test_extensions" ], [ "from .models import ExecutionRecord" ], [ "# cu2: cubic fit coefs of time-nrmd s2", "# yu1: polyval(cu1)", "# yu2: polyval(cu2); yu1 and yu2 are cut to same length" ], [ "# TODO(wfarner): Consider removing, it doesn't appear this wrapper is useful." ], [ "LOCALHOST = \"/job:localhost/replica:0/task:0/device:CPU:0\"" ], [ "s= marker_sets[\"particle_30 geometry\"]", "mark=s.place_marker((6642.77, 7014.09, 4023.62), (0, 1, 0), 846)" ], [ "from django.contrib.auth.decorators import login_required" ], [ "from opencensus.ext.azure.log_exporter import AzureLogHandler" ], [ "# 7.3.4.2" ], [ "#=============================================================================", "RESERVED_BACKEND_NAMES = [\"any\", \"default\"]" ], [ "######################", "### Init Config ###", "######################" ], [ "from module.plugins.Account import Account" ], [ "import json", "import platform" ], [ "from sentry.utils import db" ], [ "# End def" ], [ "# Create the local cfg if it is not yet there" ], [ "gis_lookups['bbcontains'] = BBContainsLookup" ], [ "class ProxyError(Exception): pass" ], [ "from docker_squash.errors import SquashError, SquashUnnecessaryError" ], [ "index, cores, specs, panzs = pan_feature(mat)" ], [ "# pylint: disable=too-many-instance-attributes" ], [ "from ansible.module_utils.pycompat24 import get_exception" ], [ "###############################################################################", "# BayesianRidge regression" ], [ "s= marker_sets[\"particle_353 geometry\"]", "mark=s.place_marker((4412.07, 1661.65, 2691.84), (0.7, 0.7, 0.7), 240.856)" ], [ "from SoftLayer import testing" ], [ "import re as stdlib_re # Avoid confusion with the re we export.", "import sys", "import types" ], [ "__all__ = [\"tmxreader\"]", "from . import tmxreader" ], [ "from subprocess import Popen", "# submit jobs" ], [ "LOG = minimal_logger(__name__)" ], [ "from tracker.domain import ContestFactory, Participant, Fact, ContestRanker" ], [ "from .util import unique_iterator, sanitize_identifier, dimension_sort, group_select, iterative_select" ], [ "import sys" ], [ "from insights.specs import Specs" ], [ "s= marker_sets[\"particle_28 geometry\"]", "mark=s.place_marker((7425.37, 7808.2, 5585.9), (0.7, 0.7, 0.7), 576.38)" ], [ "import numpy as np" ], [ "from trove.guestagent.datastore.experimental.mongodb.service import MongoDBApp" ], [ "_USE_GLOBAL_STEP = 0" ], [ "# Condition variable", "#" ], [ "from .common import InfoExtractor" ], [ "from ansible.module_utils.basic import AnsibleModule" ], [ "LOGGER = logging.getLogger(__name__)" ], [ "from units.compat.mock import patch", "from ansible.module_utils.basic import AnsibleModule" ], [ "LOGGER = logging.getLogger(__name__)" ], [ "import testbase", "import sys" ], [ "__author__ = 'panzer'" ], [ "re_from_netascii = re.compile(b'(\\x0d\\x0a|\\x0d\\x00)')" ], [ "led = LED(17)" ], [ "RECORDS_PER_PAGE = 12" ], [ "# Utility functions" ], [ "TOPIC_SIMILARITIES_ID = 'topics'" ], [ "from .base_form import BaseForm" ], [ "from openerp.tools.translate import _" ], [ "import config_default", "#\u8fd9\u4e2a\u7c7b\u4e3b\u8981\u53ef\u4ee5\u4f7fdict\u5bf9\u8c61\uff0c\u4ee5object.key \u5f62\u5f0f\u6765\u66ff\u4ee3 object[key]\u6765\u53d6\u503c" ], [ "from archivebox.util import enforce_types", "from archivebox.config import ANSI" ], [ "## remove all atomic charges" ], [ "# These are currently only used by lofarrecipe.run_task to provide default", "# input and output dicts based on copying metadata from the parent.", "# ------------------------------------------------------------------------------" ], [ "from lib2.IQPulseSequence import *", "from lib2.VNATimeResolvedDispersiveMeasurement1D import *" ], [ "from .models import Post" ], [ "# commands", "#" ], [ "code = generate_environment_script('/home/ricardo/catkin_ws/devel/env.sh')", "output_filename = '/home/ricardo/catkin_ws/build/catkin_generated/setup_cached.sh'" ], [ "# pass" ], [ "# pylint: enable=wrong-import-order, wrong-import-position" ], [ "function_cache_lock = threading.Lock()" ], [ "from table_variant import TableVariant" ], [ "from rankconfig import cfg_links_front_page, cfg_link_expiration_seconds", "from google.appengine.api import memcache" ], [ "from pytibrv.Tibrv import *", "import unittest" ], [ "from core import scrapertools" ], [ "from tensorflow.python.platform import test" ], [ "import math" ], [ "from ..io.pick import pick_channels" ], [ "# // Jonas Pfeil converted the file to binary", "# // STL and duplicated its content." ], [ "s= marker_sets[\"particle_34 geometry\"]", "mark=s.place_marker((8839.9, 5505.76, 3309.03), (0.7, 0.7, 0.7), 598.418)" ], [ "r_ = RClass()" ], [ "################################################################################" ], [ "\"\"\"Registry of algorithm names for `rllib train --run=`\"\"\"" ], [ "import os" ], [ "from soap.parser.grammar import compiled_grammars" ], [ "_instance = _VdsProxy()" ], [ "###############################################################################", "# For verbosity" ], [ "_CASE_INSENSITIVE_PLATFORMS = 'win', 'cygwin', 'darwin'" ], [ "from dxr.build import build_instance" ], [ "currpath = py.path.local(__file__).dirpath()", "test_dct = str(currpath.join(\"pythonizablesDict.so\"))" ], [ "#gets device counts by country and sorts them alphabetically:" ], [ "previouscountrypath = None" ], [ "# models for inheritance tests." ], [ "from gluon.utils import simple_hash, DIGEST_ALG_BY_SIZE" ], [ "from south.v2 import SchemaMigration", "from django.db import models, transaction" ], [ "# task sorting functions/accessories" ], [ "from neutron.tests.unit.services.logapi import base" ], [ "# Backward compatibility : define old functions which was defined here if some devs did used it", "# TODO in a near future : delete those functions" ], [ "from web.util.db import db", "from .feed import FeedSite,Feed" ], [ "from scrapy.utils.signal import disconnect_all" ], [ "# prepended to most components in the classpath (some from ivy, the rest from the build),", "# in some runs the classpath gets too big and exceeds ARG_MAX.", "# We prevent this by using paths relative to the current working directory." ], [ "mapfile.close()", "term = \" \"" ], [ "# -----------------------------------------------------------------------------" ], [ "import timeit" ], [ "from . import _tree" ], [ "# create an entity from a dictionary" ], [ "# Deliberately not a subclass of AsyncTestCase so the IOLoop isn't", "# automatically set as current." ], [ "net.input = training_data;", "t = time.time();" ], [ "# Sprite class" ], [ "from_addr = 'user@example.com'", "password = input('Type password and press Enter: ')" ], [ "from data_storage import CircularBuffer" ], [ "# Models for ticket #8190" ], [ "### registry of loaded applications ###" ], [ "import time", "import threading" ], [ "from scene2d.image import TintEffect", "from scene2d.debug import gen_hex_map" ], [ "# Converters from database (string) to Python #", "###############################################" ], [ "from solo.commands.command import SoloCommand, sharedlock" ], [ "from .models import Character, Line, Scene" ], [ "from networkstatus import NetworkStatus", "from blacklist import Blacklist" ], [ "## Only patients with sex and age information are included.", "## Data is [[Patient ID, time (days), vital status, 0, sex, age at diagnosis],...]" ], [ "cache_directory = os.path.join(_base_cache_directory, version)", "# create the cache directory if it does not exist" ], [ "# Test result codes." ], [ "import sys" ], [ "#Detect the existence of a running process" ], [ "from django.db import models" ], [ "from rng_base import BaseRNG" ], [ "standard_admin_paths = ['/sbin', '/usr/sbin']", "path_elts = os.environ['PATH'].split(':') ", "path_fixed = False" ], [ "from django.views.i18n import set_language" ], [ "# 10 -> 11" ], [ "################################################################################", "# Zapisuje pusty obiekt (uzywane do oznaczania roznych rzeczy w grze)" ], [ "import pandas as pd" ], [ "from functools import partial", "from pprint import PrettyPrinter" ], [ "TRAITS = []" ], [ "from tensorflow.python.util import nest" ], [ "# Generate a summary to a text file" ], [ "# .env file, should load only in development environment", "READ_DOT_ENV_FILE = env.bool('DJANGO_READ_DOT_ENV_FILE', default=False)" ], [ "from chainer.dataset import dataset_mixin" ], [ "from .script import CScript, OP_TRUE, OP_CHECKSIG", "# Create a block (with regtest difficulty)" ], [ "from hidi.factorization import W2VBuildDatasetTransform" ], [ "from .models import Addon, Dependency, PostLog" ], [ "from msrest.serialization import Model" ], [ "# In[31]:", "#Trains the Random Forest model. Performing a grid search to select the optimal parameter values" ], [ "log = logging.getLogger(__name__)" ], [ "from geocoder.keys import mapbox_key" ], [ "import time", "from ansible.module_utils.azure_rm_common import AzureRMModuleBase" ], [ "namePattern = re.compile(r' \\([0-9]+\\)')" ], [ "# List of querries, as defined by the user", "# @return A list of lists if pieces of information", "# @see getXpathList" ], [ "FEATURES_WITH_CUSTOM_CERTS_ENABLED.update(FEATURES_WITH_CERTS_ENABLED)" ], [ "from django.db import models", "from mysite.search.models import *" ], [ "from numpy import exp,pi,sqrt", "from scipy.special import erf as errorf" ], [ "# Test writing data in a nested table" ], [ "#-------------------" ], [ "import simplejson as json" ], [ "_mode_factories = dict()" ], [ "# .endlexpos = Ending lex position (optional, set automatically)" ], [ "file_array = []", "row_count = 0", "past_row = \"\"" ], [ "from .. import config", "from .store import Store" ], [ "LOG = logging.getLogger(__name__)" ], [ "SIZE = 4096" ], [ "PIP_DELETE_MARKER_FILENAME = 'pip-delete-this-directory.txt'" ], [ "__all__ = ('angle_anitclockwise', 'cross_product', 'project')" ], [ "from twilio.rest.sync.v1.service.sync_stream.stream_message import StreamMessageList" ], [ "# TAKE BLASTP RESULTS, RUN REVERSE BLASTP, AND APPEND THE SEQUENCES TO THE APPROPRIATE FASTA FILES FOR MUSLCE.", "# TAKES ONLY THE FIRST MATCH INTO THE PRE-MUSCLE FILE" ], [ "from vcstorage.fields import VcFileField", "from vcstorage.storage import MercurialStorage, GitStorage, BazaarStorage" ], [ "DEFAULT_VERSION = \"1.3.2\"", "DEFAULT_URL = \"https://pypi.python.org/packages/source/s/setuptools/\"" ], [ "from . import state" ], [ "from itertools import product" ], [ "# plugin entry point", "decorate(traceLog())" ], [ "################################################################################" ], [ "PYTHON_VERSION = sys.version_info[:3]", "PY2 = (PYTHON_VERSION[0] == 2)" ], [ "from website.notifications import views as notification_views" ], [ "import buckettools.diagnostics.gui as gui", "import buckettools.diagnostics.utils as utils" ], [ "# initial position XY at t = 0, moving forward", "# until t = t_max, using the given timestep and", "# integrator" ], [ "from models import dbsession" ], [ "from keystone.test.functional import common" ], [ "# pylint: disable=maybe-no-member, too-many-public-methods" ], [ "# display all posts for a category" ], [ "SIZE = 100" ], [ "# Output server time" ], [ "import nova.tests.unit.image.fake" ], [ "LIST_OF_IB_PARAMS = [\"ib_ipaddress\", \"ib_port\", \"ib_idoffset\"]" ], [ "# print(db1)" ], [ "log_handler = LogHandler(LogHandler.formatter)" ], [ "#", "# Rules", "#" ], [ "# Set frozen generator docstrings from corresponding docstrings in", "# matrix_normal_gen and fill in default strings in class docstrings" ], [ "# helper that double clicks the table view at specified row and column", "# returns the QExpandingLineEdit (the editable table cell)" ], [ "from aldryn_newsblog.utils.migration import rename_tables_old_to_new, rename_tables_new_to_old" ], [ "manage_addLocalFolderForm = LocalDTMLFile('ui/LocalFolder_add', globals())" ], [ "from . import utils" ], [ "from openerp.osv import fields, osv", "from openerp.tools.translate import _" ], [ "from rogerthat.pages.admin.news import NewsAdminHandler" ], [ "#--------------------" ], [ "# pylint: disable=invalid-name" ], [ "# ## GATK/Picard preparation" ], [ "\"\"\"", "Using ArcGIS", "\"\"\"" ], [ "SPACES_PER_TAB = 3" ], [ "SPATIAL_EXTRAP_VALUES = numpy.array([17., 2.])" ], [ "SHUTDOWN_COMMAND = '/sbin/shutdown'" ], [ "#--- CONCEPT ---------------------------------------------------------------------------------------" ], [ "### Option classes" ], [ "DEBUG = False" ], [ "from ..utils import is_scalar_nan" ], [ "# TODO Could be replaced with Enum class in python 3.4 (is back ported)" ], [ "# funkcja wy\u015bwietlaj\u0105ca komunikat ko\u0144cowy", "# tworzy nowy obrazek z tekstem, pobiera jego prostok\u0105tny obszar", "# pozycjonuje go i rysuje w oknie gry" ], [ "# Integer encoding and decoding functions" ], [ "# heappop() compares): list.sort() is (unsurprisingly!) more efficient", "# for sorting." ], [ "import imp", "imp.reload(sys)" ], [ "from imp import find_module, load_module" ], [ "BrowserEditor.registerMode( \"Files\", FileSystemMode )", "BrowserEditor.FileSystemMode = FileSystemMode" ], [ "import sys" ], [ "s_block_end(\"CMD_FRMT_Z\")" ], [ "from geonode.groups.models import Group" ], [ "###################################################################################" ], [ "logger = logging.getLogger('crawlutils')" ], [ "authorize = extensions.extension_authorizer('compute', 'hypervisors')" ], [ "import time" ], [ "import logging.config" ], [ "# CONNECTIONS BETWEEN USER AND ROLE" ], [ "# Write more features with a bunch of different geometries, and verify the", "# geometries are still OK." ], [ "COLOR_RESET = \"\\033[0;0m\"" ], [ "#solovay-strassen primality test. tests if num is prime" ], [ "_metaref_cache = weakref.WeakKeyDictionary()" ], [ "from os import makedirs", "from os.path import exists" ], [ "import os" ], [ "_RESPONSE_RESPONSE_OFFSET = RESPONSE_HEADER_SIZE" ], [ "_TRUE_VALUES = ('True', 'true', '1', 'yes')" ], [ "##" ], [ "from flask_security import current_user" ], [ "from classes import Device" ], [ "# --- Popen class", "# =====================================================================" ], [ "from test.base_test import BaseTest, HTTP, HTTPS" ], [ "D = decimal.Decimal", "dhash = lambda x: hashlib.sha256(hashlib.sha256(x).digest()).digest()" ], [ "#!/usr/bin/python" ], [ "dump_interval = 1", "next_dump_time = time.time() + dump_interval" ], [ "# Function that gets the dump location or returns the default" ], [ "# struct EventType", "_0_CosNotification.EventType = omniORB.newEmptyClass()" ], [ "__all__ = ['ensure_running', 'register', 'unregister']" ], [ "development_state = DEVELOPMENT_STATES[\"\"]" ], [ "from test_framework.test_framework import TurbocoinTestFramework", "from test_framework.util import assert_equal" ], [ "from CodeGeneratorBase import CodeGeneratorBase" ], [ "# otherwise the payment method will be added automaticaly when setting up the", "# system." ], [ "RETAIN_SCHEMA = util.symbol('retain_schema')" ], [ "\"\"\"", "Write the common header start chunk", "\"\"\"" ], [ "from math import exp", "# Load a CSV file" ], [ "s= marker_sets[\"particle_216 geometry\"]", "mark=s.place_marker((4317.51, 1665.46, 2919.2), (0.7, 0.7, 0.7), 140.14)" ], [ "import base64", "import os" ], [ "UPDATE_LOCK = asyncio.Lock()" ], [ "s= marker_sets[\"particle_29 geometry\"]", "mark=s.place_marker((4960.15, 5382.51, 11055.5), (0.7, 0.7, 0.7), 954.796)" ], [ "import pyjs", "LIBRARY_PATH = os.path.abspath(os.path.dirname(__file__))" ], [ "# coding: utf-8", "import unittest" ], [ "#==============================================================================", "# ZigZag class", "#==============================================================================" ], [ "gp.AddMessage(str(output))", "### check return code" ], [ "option = input(\"[1] NVT Run [2] NPT Run -> NVT Run\\n\")", "# Read Data File for Dimensions" ], [ "s= marker_sets[\"particle_15 geometry\"]", "mark=s.place_marker((-842.514, 5037.89, 6457.03), (0.7, 0.7, 0.7), 803.065)" ], [ "WEIGHTING_LIST = 2" ], [ "import stat" ], [ "from glimpse.util.glist import *" ], [ "s= marker_sets[\"particle_39 geometry\"]", "mark=s.place_marker((5333.97, 9838.61, 11243.6), (0.7, 0.7, 0.7), 606.92)" ], [ "# coding: utf-8", "import numpy as np" ], [ "# on_rtd is whether we are on readthedocs.org", "on_rtd = os.environ.get('READTHEDOCS', None) == 'True'" ], [ "_reals_cache = {}", "_complexes_cache = {}" ], [ "# VARIABLE MANIPULATION" ], [ "# Package imports", "from Model import Model" ], [ "from patterns.factory_pattern import HtmlObjectFactory", "from features.style import Style" ], [ "s= marker_sets[\"particle_2 geometry\"]", "mark=s.place_marker((3652.48, 34.7882, 1331.7), (0.7, 0.7, 0.7), 123.897)" ], [ "# here by the 'zato start /path/to/zato/admin' command. The command in turn", "# fetches values from the 'web-admin.conf' file." ], [ "from s3file.storages import storage", "from tests.testapp.forms import UploadForm" ], [ "print('testing on a png image')" ], [ "# noqa: E301,E302,E303,T001" ], [ "# sample rate, data" ], [ "# TODO(zongheng): it'd be great to factor out this function and various random", "# SparseTensor gen funcs." ], [ "from .udp_packet import UdpPacket" ], [ "logger = logging.getLogger(__name__)" ], [ "N = 100" ], [ "# Add a dynamic field to `RatingDescriptors` model for each rating descriptor." ], [ "# pylint: disable=unused-argument" ], [ "CONF = keystone.conf.CONF" ], [ "logger = logging.getLogger(__name__)" ], [ "from reviewboard.scmtools.errors import FileNotFoundError" ], [ "from .resource import Resource" ], [ "from .models import Role, User, Connection" ], [ "# Command helpers", "prompted = False" ], [ "s= marker_sets[\"particle_243 geometry\"]", "mark=s.place_marker((2389.04, 2776.53, 1839.86), (0.7, 0.7, 0.7), 200.883)" ], [ "# Don't call this function" ], [ "from d4s2_api_v2.models import DDSDeliveryPreview" ], [ "from npoapi.base import NpoApiBase" ], [ "from ctutlz import rfc6962" ], [ "authorize = extensions.extension_authorizer('compute', 'quota_classes')" ], [ "from fuzzy.defuzzify.Base import Base,DefuzzificationException" ], [ "# a caller further down the call stack. This is used to get the environment", "# associated with the yacc() call if none was provided.", "# -----------------------------------------------------------------------------" ], [ "from toontown.toonbase import TTLocalizer", "from direct.task.Task import Task" ], [ "class BadFont(XResourceError): pass", "class BadMatch(XError): pass", "class BadDrawable(XResourceError): pass" ], [ "from frappe.desk.form.load import get_docinfo", "import frappe.share" ], [ "from ansible.module_utils.azure_rm_common import AzureRMModuleBase" ], [ "#------------------------------------------------------------------------------" ], [ "from xml.dom import Node", "from xml.dom.html.HTMLElement import HTMLElement" ], [ "root = os.path.dirname(os.path.dirname(__file__))", "sats_path = os.path.join(root, \"examples\", \"satellites\")" ], [ "s= marker_sets[\"particle_77 geometry\"]", "mark=s.place_marker((1648.59, 359.895, 3411.71), (0.7, 0.7, 0.7), 80.2854)" ], [ "webui2_image_dir = '/var/lib/shinken/share/photos'", "# Set up root logging" ], [ "# MAIN ------------------------------------------------------------------------" ], [ "# TODO: make this a unit test." ], [ "ASTROPY_LT_3_2 = (astropy.version.major, astropy.version.minor) < (3, 2)" ], [ "s= marker_sets[\"particle_16 geometry\"]", "mark=s.place_marker((4879.16, 4450.91, 10522.9), (0.7, 0.7, 0.7), 610.262)" ], [ "from urlobject import URLObject" ], [ "_2TO3_FIXERS = refactor.get_fixers_from_package(\"lib2to3.fixes\")" ], [ "# the role due to the fact that it would require the use of self", "# in a static method. This is also used in the base class for", "# strategies (ansible/plugins/strategies/__init__.py)" ], [ "from lomap.classes.model import Model" ], [ "SRE_INFO_LITERAL = 2 # entire pattern is literal (given by prefix)", "SRE_INFO_CHARSET = 4 # pattern starts with character from given set" ], [ "time.sleep(1)", "wf.find_element_by_xpath(\"html/body/div[1]/div/div[2]/span/span/a\").click()", "time.sleep(1)" ], [ "from mako.cache import CacheImpl" ], [ "import sys" ], [ "#", "# @see elementtree.ElementTree" ], [ "config.readfp(open('tryton.cfg'))", "info = dict(config.items('tryton'))" ], [ "# Set default logging handler to avoid \"No handler found\" warnings.", "import logging" ], [ "registered=True", "external_stream=True" ], [ "from airflow import configuration", "from airflow.contrib.sensors.aws_redshift_cluster_sensor import AwsRedshiftClusterSensor" ], [ "__all__ = ('CSSDataUri',)" ], [ "def cg_version(): return _cg._cg_version", "def renew_cg(): return _cg.renew()" ], [ "result = []" ], [ "import time" ], [ "from prestoadmin.util.exception import ConfigurationError" ], [ "LOG = logging.getLogger(__name__)" ], [ "logger = logging.getLogger(__name__)" ], [ "from xcbgen.expr import Field, Expression", "import __main__" ], [ "# pylint: disable=redefined-builtin" ], [ "from tests.conftest import create_mocks_manually" ], [ "# Special thread class to represent the main thread", "# This is garbage collected through an exit handler" ], [ "SEQUENCE_TYPES = (\"FRST\", \"RCUR\", \"FNAL\", \"OOFF\")" ], [ "import django.db.models.deletion" ], [ "# Create a Grayscale version of the image" ], [ "LOGGER.setLevel(gbplog.INFO)" ], [ "### plotting" ], [ "import re", "import threading", "import math" ], [ "# void PathRemoveExtension(", "# LPTSTR pszPath", "# );" ], [ "_CHANGESET_COUNTER_NAME = 'num_changesets'", "_MAX_MANIFEST_SHARD_PATHS = 1000" ], [ "from Song import Note" ], [ "_SHARD_NUMBERS = [None, 1, 3, 10]" ], [ "LexAction = SCons.Action.Action(\"$LEXCOM\", \"$LEXCOMSTR\")" ], [ "import fechbase" ], [ "class CantDelUniv(SynErr): pass", "class CantMergeView(SynErr): pass", "class CantRevLayer(SynErr): pass" ], [ "from __future__ import print_function" ], [ "from . import ResourceCommand, build_assets" ], [ "# TODO: replace by constructing 'msg' from _msgd{} classes" ], [ "# -*- -*- -*- Begin included fragment: lib/rolebinding.py -*- -*- -*-", "# pylint: disable=too-many-instance-attributes" ], [ "from pypeline.helpers.parallel_helpers import eval_pipeline, cons_function_component" ], [ "Country, Region, City = get_cities_models()" ], [ "# Build a single object file as native code for the translator." ], [ "log = logging.getLogger(\"guessit.transfo.guess_movie_title_from_position\")" ], [ "import gyp.MSVSSettings as MSVSSettings" ], [ "from distutils.version import LooseVersion", "# WindowsError is not defined on unix systems" ], [ "from soc.modules.seeder.logic.seeder import logic as seeder_logic" ], [ "# Function create_isomap_features", "#" ], [ "from .registry import registry" ], [ "# allow a CLI command to support the --project, --box, --all options" ], [ "PA_SAMPLE_MAX = 9", "PA_SAMPLE_INVALID = 10", "pa_sample_format_t = enum_pa_sample_format \t# /usr/include/pulse/sample.h:135" ], [ "from SocialNetwork_API.models import *" ], [ "# chunk synth data", "synthdata = [synthdata[x:x+16] for x in range(0, len(synthdata), 16)]" ], [ "## First-import cache forcing" ], [ "cfg.CONF.register_opts(_novaclient_opts)" ], [ "WSGISERVER = []" ], [ "# Utils - files", "# #####################################################" ], [ "thisFont = Glyphs.font # frontmost font", "thisFont.disableUpdateInterface() # suppresses UI updates in Font View" ], [ "__RCSID__ = \"$Id$\"" ], [ "from . import chdir_fixture # NOQA" ], [ "s= marker_sets[\"particle_70 geometry\"]", "mark=s.place_marker((1915.22, 4886.47, 7998.21), (0.7, 0.7, 0.7), 764.488)" ], [ "from opbeat.traces import trace" ], [ "from cfme.fixtures.pytest_store import store" ], [ "from .core import EventAction" ], [ "# Conflict-elimination heuristic." ], [ "from labonneboite.web.app import app" ], [ "history = []" ], [ "# VIF quotas (libvirt)", "# TODO(stephenfin): Determine whether this should be deprecated now that", "# nova-network is dead" ], [ "# There is no way to add future compulsory fields to all backends without editing each backend individually. ", "# This is probably going to have to be a limitataion we need to live with." ], [ "from __future__ import division", "import sys", "import os" ], [ "# Copyright (C) 2009 Gil Dabah, http://ragestorm.net/disops/", "#" ], [ "Errors = []", "# error data model" ], [ "# template for a null parser - used when we don't recognise/support the", "# descriptor type we find." ], [ "# Activities: processing job, waiting for new job", "#", "#----------------------------------------------------------------------#" ], [ "from ..parsers import PostmarkJSONParser" ], [ "pre5 = None", "pre6 = None" ], [ "from ai_factory import *", "from players_mgr import *" ], [ "version = open('TileStache/VERSION', 'r').read().strip()" ], [ "################################################################" ], [ "import re", "import sys", "import time" ], [ "plt.style.use('ggplot')", "from util import load_single_image, normalize" ], [ "import zope.viewlet.viewlet" ], [ "atexit_done = False" ], [ "s= marker_sets[\"particle_342 geometry\"]", "mark=s.place_marker((2633.03, -78.1253, 2481.19), (0.7, 0.7, 0.7), 134.429)" ], [ "s= marker_sets[\"particle_315 geometry\"]", "mark=s.place_marker((2178.71, 701.146, 3359.98), (0.7, 0.7, 0.7), 249.485)" ], [ "s= marker_sets[\"particle_49 geometry\"]", "mark=s.place_marker((4055.02, 1755.68, 3145.46), (0.7, 0.7, 0.7), 88.1109)" ], [ "# 11.3" ], [ "ExpansionGame = 0", "QuitWindow = 0" ], [ "from .mocks import setup_oauth_mock" ], [ "from cinder.i18n import _" ], [ "lcd_x_characters = 16" ], [ "# Local imports", "import eg" ], [ "MEDIA_ROOT, STATIC_ROOT = define_assets_path(LOCAL_ROOT)", "########## MIDDLEWARE CONFIGURATION" ], [ "# TODO(mdan): Export this symbol." ], [ "logger = logging.getLogger(__name__)" ], [ "import os", "from lib.server_mgmt.server import Server" ], [ "from distutils.core import Command", "from distutils.util import change_root, convert_path" ], [ "logger = logging.getLogger(__name__)" ], [ "from spack import *" ], [ "###############################################################################", "# Display the distorted image" ], [ "### Codec APIs" ], [ "from booki.utils import log", "from booki.editor import models" ], [ "PATH_TO_BUILD_DIR = PATH_TO_REPO_DIR + \"build/compat-check\"", "PATH_TO_JACC_DIR = PATH_TO_REPO_DIR + \"build/jacc\"" ], [ "# Chunk metaclasses" ], [ "# Fast Mode Plus drive mode", "PINSEL_I2C_Fast_Mode = ((1)) " ], [ "from tensorflow.python.util import compat" ], [ "args = parser.parse_args()", "limit = datetime.now(timezone.utc) - timedelta(days=args.age)" ], [ "PreStyle = styles[\"Code\"]" ], [ "# /usr/include/SDL/SDL_image.h: 103" ], [ "from gettext import gettext as _" ], [ "# used when testing senders; just collects what it gets until newline is sent" ], [ "# ", "#

" ], [ "__author__ = 'reimeatbeat'" ], [ "from devilry.devilry_admin.views.assignment.passed_previous_period import passed_previous_semester_manual" ], [ "###############################", "# Dynamic SQLAlchemy bindings #", "###############################" ], [ "# pylint: disable=missing-docstring" ], [ "#----------------------------------------------------------------------", "# Test copying and creating parents from repo to repo" ], [ "import vpar" ], [ "# Test offsetting control points grid" ], [ "LOG = logging.getLogger(__name__)" ], [ "# -----------------------------------------------------------------------------", "# Run a program in the interpreter and check its output" ], [ "# namelast may not be mistaken with name, so namelast must first be", "# converted to %k before name is converted.", "##def _make_cmp(a, b): return -cmp((len(a[1]),a[1]), (len(b[1]), b[1]))" ], [ "# In[60]:" ], [ "log = logging.getLogger(__name__)" ], [ "# tt[myTier] = ndarray of time stamps, resp. on- offsets", "# REMARKS:", "# as in pp_read() pause intervals are skipped, thus output of both functions is in sync" ], [ "good_table = []", "deprecated_table = []" ], [ "xl_wltnoise.timeAnim = 0.1", "# setup user interface" ], [ "from openstack_dashboard.test import helpers as test" ], [ "from mistpy.tags import tags as dec_tags" ], [ "# number of entries", "# vector of hashes", "# hash_stop (hash of last desired block header, 0 to get as many as possible)" ], [ "sctypeNA = {} # Contails all leaf-node types -> numarray type equivalences", "allTypes = {} # Collect the types we will add to the module here" ], [ "import unittest", "# 20ms 100%" ], [ "here = os.path.abspath(os.path.dirname(__file__))" ], [ "# []" ], [ "# #############################################################################", "# ##### Stand alone program ########", "# ##################################" ], [ "#---------------------------------------------------------------------------#", "# Read Device Information", "#---------------------------------------------------------------------------#" ], [ "from sklearn.model_selection import KFold", "from scipy import interpolate" ], [ "# pylint: disable=protected-access,g-doc-return-or-yield,g-doc-args" ], [ "_NAN = float(\"nan\")" ], [ "# returns the top1 string" ], [ "__all__ = ('Commit', )" ], [ "from django.utils.module_loading import import_string" ], [ "# + \" = \" + str(data[name][i]) + \";\\n\"" ], [ "# Base class for semaphores and mutexes; wraps `_multiprocessing.SemLock`", "#" ], [ "\"\"\"Common Models.\"\"\"" ], [ "from pybloom import ScalableBloomFilter" ], [ "from django_dynamic_fixture import G" ], [ "from core import config", "from core import unpackerjs" ], [ "from boto.file.simpleresultset import SimpleResultSet", "from boto.s3.bucketlistresultset import BucketListResultSet" ], [ "s= marker_sets[\"particle_65 geometry\"]", "mark=s.place_marker((2251.04, 2379.41, 217.891), (0.7, 0.7, 0.7), 818.463)" ], [ "# pylint: enable=g-import-not-at-top" ], [ "from rally.plugins.openstack.cfg import cleanup" ], [ "import unittest", "from unittest import TestCase" ], [ "s= marker_sets[\"particle_237 geometry\"]", "mark=s.place_marker((4132.09, 3035.29, 1752.3), (0.7, 0.7, 0.7), 138.575)" ], [ "DEFAULT_CURRENCY = 'EUR'" ], [ "s= marker_sets[\"particle_56 geometry\"]", "mark=s.place_marker((3151.54, 2933.65, 3282.64), (0.7, 0.7, 0.7), 83.3733)" ], [ "yr = dt.strftime('%Y')", "mt = dt.strftime('%m')", "wk = dt.strftime('%V')" ], [ "# \uc720\uc6a9\ud55c None", "thing = None" ], [ "LOG = log.getLogger(__name__)" ], [ "_class_map = {}" ], [ "import difflib", "import svtools.lmerge as lmerge" ], [ "visualize = False" ], [ "from mldb import mldb, MldbUnitTest, ResponseException" ], [ "from classtools import AttrDisplay" ], [ "#import items", "from .CanvasItem import CanvasItem, GroupCanvasItem" ], [ "out = 19", "### maybe an output format was selected" ], [ "# 3.2 fixes cgi.FieldStorage to accept bytes (which makes a lot of sense).", "# 3.1 needs a workaround." ], [ "atexit.register(_exiting)" ], [ "db_string = deployment_settings.get_database_string()" ], [ "alphabet = 'abcdefghijklmnopqrstuvwxyz'" ], [ "import six", "# PY3 support of some PY2 keywords (needs improved)" ], [ "from .. import mparser" ], [ "from tests.utils import MongoDBTestCase, get_as_pymongo" ], [ "# (c) Martin Diers, licensed under MIT", "# taken from: http://code.activestate.com/recipes/576517-calculate-easter-western-given-a-year/" ], [ "#", "# --------------------------------------------------------------------------------" ], [ "from instanceproperties import _set_HTML_property" ], [ "from tensorflow.python.ops import variables" ], [ "_register_types()" ], [ "MEDIUM_AMOUNT = [(i, i) for i in range(5)]" ], [ "# Render Site pages" ], [ "# end class VirtualDnsRecordServer" ], [ "from django.contrib.auth import authenticate, login, logout", "from django.contrib.auth.decorators import login_required" ], [ "cas_site = CASAdminSite()" ], [ "(opts, args) = parser.parse_args()" ], [ "from PodSixNet.Channel import Channel" ], [ "# CIPHERS #", "########################################" ], [ "# ---------------------------------------------------------------" ], [ "from looker_sdk import client, models, error" ], [ "# =============================================================================" ], [ "r = praw.Reddit(USERAGENT)", "r.login(USERNAME, PASSWORD) " ], [ "from a10sdk.common.A10BaseClass import A10BaseClass" ], [ "# Measure model performance with CV" ], [ "from pid import PIDAgent", "from keyframes import hello, leftBackToStand, leftBellyToStand, rightBackToStand, rightBellyToStand, wipe_forehead" ], [ "import random", "import os" ], [ "from matplotlib.dates import date2num", "import datetime" ], [ "import glob", "import sedov" ], [ "TEST_DATA = os.path.join(os.path.dirname(upath(gis.__file__)), 'tests', 'data')" ], [ "# Ensure that we always have a SECRET_KEY set, even when no local_settings.py", "# file is present. See local_settings.py.example for full documentation on the", "# horizon.utils.secret_key module and its use." ], [ "# REQUIRES all types to have been identified", "# REQUIRES all types to be in a line of their own " ], [ "validUuids = list()" ], [ "import socket, threading, pickle, collections", "from xmlrpc.server import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler" ], [ "from openerp import api, models, fields, SUPERUSER_ID" ], [ "# set the ODK_Conf table item odkLastRunResult as 0, log error message, and exit script" ], [ "from tensorflow.python.platform import test as test_lib" ], [ "from Kamaelia.SingleServer import SingleServer", "import sys" ], [ "### FUNC ########################################################################" ], [ "__all__ = [\"CompareFilesAutograder\"]" ], [ "# Inherit abstract methods from NormalTUISpoke", "# pylint: disable=W0223" ], [ "from ava.test_twitter.forms import TwitterTestForm" ], [ "axes.imshow(thl_lines, aspect = 'equal', origin = 'upper', extent = (xlines[0], xlines[-1], ylines[-1], ylines[0]))" ], [ "###########################################################" ], [ "import sys" ], [ "verbose = quiet = verify = 0", "logging_level = \"WARNING\"" ], [ "# loading presets", "pg = FreeCAD.ParamGet(\"User parameter:BaseApp/Preferences/Mod/sheetmetal\")" ], [ "VALID_PARAMS = frozenset(('length', 'encrypt', 'chars'))" ], [ "_LOGGER = logging.getLogger(__name__)" ], [ "from dateutil.relativedelta import relativedelta", "class OverlapError(frappe.ValidationError): pass" ], [ "from rope.refactor import restructure", "import ast" ], [ "from virtenviro.shop.models import *" ], [ "from PyQt5.QtCore import QSize" ], [ "from tethys_apps.base import TethysAppBase, url_map_maker", "from tethys_apps.base import PersistentStore" ], [ "from .comment import Comment" ], [ "from rmake.build import buildcfg", "from rmake.cmdline import query" ], [ "from .mixins.initdb import InitdbCommandMixin" ], [ "from sys import version_info" ], [ "f = sys.stdout", "ftab_file = os.path.join('SubsMat', 'protein_count.txt')" ], [ "# Write a row for each occupation" ], [ "os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))", "VERSION_FILE = \"version\"" ], [ "from sklearn import metrics", "import numpy as np" ], [ "## Deprecated methods", "############################################################" ], [ "CLASSIFIER = SVC(C=10, kernel='linear')" ], [ "from google.ads.googleads.v7.resources.types import currency_constant", "from google.ads.googleads.v7.services.types import currency_constant_service" ], [ "# Extract sequences from OpenMM topology", "seqs = {}", "reslists = {}" ], [ "# STRUCTURES", "################################################################################", "# 2.2.1.1.3 DHCP_SEARCH_INFO_TYPE" ], [ "# taken from https://github.com/scrapy/utils/console.py" ], [ "from six import text_type" ], [ "Server.entity = staticmethod(lambda: Server._entity)" ], [ "from murasyp.vectors import Vector, Polytope", "from cdd import Matrix, RepType, Polyhedron, LPObjType, LinProg, LPStatusType" ], [ "from c7n.utils import local_session, type_schema, chunks" ], [ "ASSOCIATION_HANDLE_LENGTH = getattr(settings, 'SOCIAL_AUTH_ASSOCIATION_HANDLE_LENGTH', 255)" ], [ "s= marker_sets[\"particle_33 geometry\"]", "mark=s.place_marker((8002.09, 7254.54, 4818.09), (0.7, 0.7, 0.7), 673.585)" ], [ "original_dir = os.getcwd()", "os.chdir(os.path.dirname(os.path.abspath(__file__)))" ], [ "import pybindgen.settings", "import warnings" ], [ "from itertools import count" ], [ "# Create a QWidget widget on which we will draw" ], [ "## except:", "## raise ImportError('lobpcg requires symeig')" ], [ "from tvb.simulator import models, integrators" ], [ "MASKFILE = 'MaskSANS2D.txt'" ], [ "import os", "import shutil" ], [ "_RIGHT = 11" ], [ "# automatically belongs to the implied groups (transitively).", "#----------------------------------------------------------" ], [ "from .container import Container", "from .geometry import Size" ], [ "# operation that overlaps with ImageNet-C's test set" ], [ "############################################" ], [ "# ----------------\u56fa\u5b9a\u95f4\u9694\u901a\u77e5--------------------------------------" ], [ "# --- CDATASection" ], [ "# Test calling our `is_valid` callback", "bv = bn.open_view(filename, options={\"analysis.experimental.parseDebugInfo\": False})" ], [ "# Xiph Ogg Theora", "# vidSource = \"t4.ogv\"" ], [ "# IStompServerProtocolFactory(service) to create a factory from a service", "__all__ = [\"IStompServerProtocolFactory\"]" ], [ "sc = StockController()" ], [ "from django.core.exceptions import ImproperlyConfigured", "from django.db import models" ], [ "from bl_ui.properties_paint_common import brush_texture_settings" ], [ "logger = logger.bind(name='sickbeard')" ], [ "import sys", "from .charsetprober import CharSetProber" ], [ "#neutron/services/vpn/service_drivers/cisco_csr_db.py" ], [ "import utils" ], [ "class Ando(Tengwa): name = 'Ando'", "class Umbar(Tengwa): name = 'Umbar'" ], [ "from orator.orm.collection import Collection" ], [ "import math", "import numpy" ], [ "import textwrap" ], [ "#-------------------------------------------------------------------------------", "# F distribution ---------------------------------------------------------------" ], [ "import tensorflow as tf", "import time as ti" ], [ "_sentinel = object()" ], [ "from .models import Artist, Author, Book, BookSigning, Page" ], [ "# b: right item", "# d: direction(1: forward, -1: backward)", "# pos: points at first item (a for forward, b for backward)" ], [ "import unittest" ], [ "# Set up this checkout or source archive with the right BokehJS files." ], [ "# View log button" ], [ "from werkzeug.debug.repr import debug_repr" ], [ "# import module snippets", "from ansible.module_utils.basic import *" ], [ "from ansible.module_utils.basic import *" ], [ "import os", "import pkg_resources" ], [ "tagcode_to_label = dict()", "label_to_categorical = dict()" ], [ "_vheader = _header + 'n'" ], [ "from google.appengine.datastore.datastore_query import Cursor", "from django.db import models, DEFAULT_DB_ALIAS" ], [ "from datetime import datetime", "import collections", "import shelve" ], [ "# ------------------------------------------------------- #" ], [ "pdf(\"ErrorRate_v_PHRED\")", "#plt.savefig('ErrorRate_v_PHRED.pdf', transparent=True, bbox_inches='tight')" ], [ "from . import RSI" ], [ "from PySide import QtCore, QtGui" ], [ "from zfs.zfsautosnap import App, main", "from zfs.snapshot import RollingSnapshotter" ], [ "DbAction.register(ListUsersAction)" ], [ "__all__ = ('ImageLoaderPIL', )" ], [ "srcdir_prefix = \"\"" ], [ "## \\todo Maths expressions to modify the existing value", "## \\todo Enter names of other plugs to create a connection", "## \\todo Reject drag and drop of anything that's not a number" ], [ "signal.signal(signal.SIGTERM, handler)", "signal.signal(signal.SIGINT, handler)" ], [ "from .base import Image" ], [ "from .shared import lazyproperty" ], [ "from gettext import dgettext", "import urllib" ], [ "# from django.db import models" ], [ "# TODO: check the order rgb to confirm" ], [ "class MothTestError(Exception): pass" ], [ "from ...workbook import Workbook" ], [ "# PPPoE Active Discovery Code fields (RFC2516, RFC5578)" ], [ "array.__doc__ = masked_array.__doc__" ], [ "###############################################################################", "# Admin Related", "###############################################################################" ], [ "import salt.payload" ], [ "from django.db import migrations, models", "# Initialize ProductTypes" ], [ "from ansible.module_utils.basic import *" ], [ "from module.plugins.internal.misc import json, timestamp" ], [ "from .factories import ReviewFactory" ], [ "#@implementer(IBodyProducer)" ], [ "def test_array_vspace(): check_vspace(np.zeros((3,2)))", "def test_array_vspace_0_dim(): check_vspace(0.0)", "def test_array_vspace_complex(): check_vspace(1.0j*np.zeros((2,1)))" ], [ "guilds = posts.find({'server':'Shadow Council'}).distinct('guild')", "guild_list =[]" ], [ "message.subtypes[30] = role_status" ], [ "from pip._vendor.six import text_type" ], [ "_LOG = logging.getLogger(__name__)" ], [ "logger = logging.getLogger(__name__)" ], [ "from ansible.module_utils.azure_rm_common import AzureRMModuleBase" ], [ "# clustering initialization (seeds)", "# initialization functions should be of the type f(data, k, distfun)" ], [ "# message indicating user specified parameter" ], [ "xmin = x" ], [ "account_lists = sock.execute(DB, USERID, USERPASS, 'account.account', 'read', ids, ['parent_id','parent_left','parent_right'])", "accounts = dict(map(lambda x: (x['id'],x), account_lists))" ], [ "# pylint: disable=protected-access" ], [ "from openerp.osv import osv, fields" ], [ "# self.sigma2 = np.square(self.sigma)", "# self.constant = -0.5 * np.log(2 * np.pi * self.sigma2)" ], [ "from crispy_forms.utils import render_field" ], [ "# The LR Parsing engine.", "# -----------------------------------------------------------------------------" ], [ "s= marker_sets[\"particle_167 geometry\"]", "mark=s.place_marker((2079.34, 1836.42, 3439.85), (0.7, 0.7, 0.7), 88.4916)" ], [ "IdlUnionType.preprocessed_type = property(preprocess_idl_type)" ], [ "# -*- coding: utf-8 -*-", "from openerp.osv import orm, fields" ], [ "filename = os.path.join(os.environ['PREFIX'], 'somedir', 'subpackage_file1')", "assert os.path.isfile(filename), filename + \" is missing\"", "contents = open(filename).read().rstrip()" ], [ "from pymel.core import warning, scriptJob" ], [ "# leaves aside the fragment part, not needed for link extraction", "URL_DEFAULT_REGEX = r'(?:[A-Za-z0-9.\\-]+|(?:www.|[-;:&=\\+\\$,\\w]+@)[A-Za-z0-9.\\-]+)(?:(?:\\/[\\+~%\\/.\\w\\-_]*)?\\??(?:[\\-\\+=&;%@.\\w_]*)(?:#[.\\!\\/\\w]*)?)?'" ], [ "import django.db.models.deletion" ], [ "from ...users import UserModel" ], [ "#!/bin/env python3", "import functools" ], [ "# script assumes to run in src/Doc", "#os.chdir(\"e:/Develop/FreeCADWin/src/Doc\")", "LogFile = open(\"MakeDoc.log\",'w')" ], [ "from modestpy.estim.error import calc_err" ], [ "from ommongo.fields.base import *" ], [ "import re", "import socket" ], [ "from twilio.http.response import Response" ], [ "from typing import List", "from ontobio.ontol import Ontology" ], [ "_sig = SignalHandler()" ], [ "CHANNEL = Channel(CHANNEL_NAME)" ], [ "__version__ = '1.0.1'" ], [ "FLAGS = flags.FLAGS" ], [ "from .waiting_animation import WaitingAnimation" ], [ "IndexSlice = _IndexSlice()" ], [ "## rest: GET /ui/read/tag/TID.html", "## function: read_tag", "## declared args: tid" ], [ "pytestmark = []" ], [ "from . import models, serializers" ], [ "# Validate the Python implementation of LDLT" ], [ "# opposed to trajectory visualization. This will provide a decent", "# starting point for designing application specific visualizations for", "# data assimilation with ODE systems." ], [ "_FRENCH = \"fr\"" ], [ "#-------------------------------------------------#", "# Functions relating to comparing outputs #", "#-------------------------------------------------#" ], [ "# END GRAMMAR", "#################" ], [ "###############################################################################", "# HMAC with SHA256", "###############################################################################" ], [ "import datetime", "import itertools" ], [ "LOG = logging.getLogger(__name__)" ], [ "s= marker_sets[\"particle_177 geometry\"]", "mark=s.place_marker((3113.57, 3996.88, 3874.19), (0.7, 0.7, 0.7), 231.212)" ], [ "CSRF_SESSION_KEY = '_csrftoken'" ], [ "##############################################################################", "# Command line things are here, this is separate from main logic of script." ], [ "logger = get_logger()" ], [ "from distutils.version import StrictVersion" ], [ "import urllib, urlparse", "from misc.NameSpace import NameSpace" ], [ "_magic_load.argtypes = [magic_t, c_char_p]", "_magic_load.errcheck = errorcheck_negative_one" ], [ "HASHED_KEY_MAGIC = \"|1|\"" ], [ "# Use the c version of ElementTree, which is faster, if possible:" ], [ "s_block_end(\"CMD_FRMT_+MR\")" ], [ "import script #validates syntax", "import osm_handling_config.global_config as osm_handling_config" ], [ "from django.db import utils" ], [ "# Phase 1", "print(\"Phase 1: Create sets of used unicodes per new font.\")" ], [ "from markupupdowndown.config import resolve_path" ], [ "from openstates.utils import LXMLMixin" ], [ "import shutil", "import subprocess" ], [ "from ert_gui.widgets.string_box import StringBox" ], [ "# In GAS mode, single operands are equivalent to shifting by 1 forms" ], [ "import numpy as np", "import copy" ], [ "# AncestorOptions", "#", "#------------------------------------------------------------------------" ], [ "logger = logging.getLogger(\"main\")" ], [ "from selection.reduced_optimization.tests.mixed_model import instance_mixed" ], [ "from rally.task import atomic" ], [ "BOOL_TRUE = frozenset([ \"true\", \"t\", \"y\", \"1\", \"yes\", \"on\" ])" ], [ "from ansible.module_utils.ce import ce_argument_spec, check_args" ], [ "freqs = numpy.linspace(startFreq, endFreq, num=nPoints)", "res = []", "resPhase = []" ], [ "import talloc as __talloc" ], [ "from mi.instrument.nortek.driver import NortekInstrumentDriver", "from mi.core.exceptions import InstrumentCommandException, InstrumentParameterException" ], [ "# Load the chemcomps" ], [ "do_OP_EQUALVERIFY = lambda s: do_OP_EQUAL(s)" ], [ "# \u4e0b\u8f7d\u67d0\u4e00\u671f\u7684\u56fe\u5366\u6b63\u6587\u548c\u56fe\u7247" ], [ "from parsedatetime.pdt_locales import get_icu", "from . import utils" ], [ "import socket" ], [ "#", "#--------------------------------------------------------------", "#" ], [ "_instance = None" ], [ "from sklearn.base import clone ", "from sklearn.cross_validation import KFold" ], [ "# Unfortunately, the following tests would be a good test to run on all", "# backends, but it breaks MySQL hard. Until #13711 is fixed, it can't be run", "# everywhere (although it would be an effective test of #13711)." ], [ "from sympy.core.compatibility import (iterable, range)" ], [ "import pandas as pd", "from ..FileIO import FileIO as ps_open" ], [ "ROLES = ['operator', 'read-only', 'super-user', 'unauthorized']" ], [ "# n\u00e3o pagou a offer de uma issue bem resolvida.", "# Serve tamb\u00e9m pra \"queimar\" o filme do sponsor caloteiro pq fica associado direto com a reputa\u00e7\u00e3o dele.", "#@Auditable" ], [ "options.define('watchdog_auth_reset', False, help='If true, resets credentials for watchdog logins.')" ], [ "from populus.config.backend import ContractBackendConfig" ], [ "depends_on = None" ], [ "from espressopp.integrator.Extension import *", "from _espressopp import integrator_BerendsenBarostat" ], [ "import qiime2.core.type.grammar as grammar" ], [ "from akvo.rsr.models import OrganisationCodelist, Organisation" ], [ "import cairo", "from lib_gpx import lib_gpx" ], [ "# Scene exporter - textures", "# #####################################################" ], [ "from ansible.module_utils.azure_rm_common import AzureRMModuleBase, CIDR_PATTERN" ], [ "table.status.requires = IS_IN_SET([\"new\", \"failed\", \"processing\", \"completed\"])", "modules_list = []" ], [ "import parted" ], [ "par_dim_name.append(['nhru', 'nmonths'])", "par_num.append(1)" ], [ "LARGE_VALUE = sys.maxsize" ], [ "__all__.append('ScrolledWindow')" ], [ "def scindices(): return spacer, scrange, Optional(['/', ','], scrange)" ], [ "ANONYMIZATION_DIRECTION = [('clear -> anonymized', 'clear -> anonymized'), ('anonymized -> clear', 'anonymized -> clear')]" ], [ "logger = logging.getLogger(__name__)" ], [ "log = logging.getLogger(__name__)" ], [ "# globals()['stored_schemas']" ], [ "from .common import InfoExtractor" ], [ "class Socks5AuthError(ProxyError): pass", "class Socks5Error(ProxyError): pass", "class Socks4Error(ProxyError): pass" ], [ "###############################################################" ], [ "from ansible.playbook.included_file import IncludedFile" ], [ "family_files = {}" ], [ "#opens the apex class, trigger, component or page on the server" ], [ "SourceFileURL = \"https://bytescout-com.s3.amazonaws.com/files/demo-files/cloud-api/pdf-to-json/sample.pdf\"" ], [ "import os", "import shutil" ], [ "# end class docInternalTypeSub" ], [ "error_summary = []", "startup_logs = []" ], [ "# test what bits of the urllib code we have to alter" ], [ "from findex_common import static_variables" ], [ "# Check explicit method names.", "WindowsMangle = WindowsMangle + '[^A-Za-z0-9_]('", "sep = ''" ], [ "#To be added, depended on APIListSessionMsg" ], [ "import install_venv_common as install_venv # noqa" ], [ "s= marker_sets[\"particle_280 geometry\"]", "mark=s.place_marker((2589.21, 2881.34, 2112.02), (0.7, 0.7, 0.7), 229.393)" ], [ "from spack import *" ], [ "from tornado.platform.auto import set_close_exec", "from tornado.util import PY3, Configurable, errno_from_exception" ], [ "from translate.storage import html, po" ], [ "user_model_label = '%s.%s' % (User._meta.app_label, User._meta.module_name)", "user_ptr_name = '%s_ptr' % User._meta.object_name.lower()" ], [ "# for use in adding /PY3 to the second (filename) argument", "# of the file pointers in data.py" ], [ "#-------------------------------------------------------------------------------" ], [ "# os.mkdir(val_dogs_dir)", "# os.mkdir(test_dogs_dir)" ], [ "s= marker_sets[\"particle_52 geometry\"]", "mark=s.place_marker((4451.3, 3374.19, 1607.22), (0.7, 0.7, 0.7), 846)" ], [ "import random" ], [ "s= marker_sets[\"particle_51 geometry\"]", "mark=s.place_marker((5284.82, 6867.19, 3239.4), (0.7, 0.7, 0.7), 804.461)" ], [ "# python test_ex01.py for stand-alone test being run" ], [ "import sys", "# windows does not have termios..." ], [ "# Because Oracle treats the empty string as NULL, Oracle is expected to fail", "# when field.empty_strings_allowed is True and the value is None; skip these", "# tests." ], [ "WARNING = '\\033[93m'", "END = '\\033[0m'" ], [ "#" ], [ "from six import iteritems" ], [ "from tests import test_lib as shared_test_lib" ], [ "logger = logging.getLogger('kcaa.browser')" ], [ "from preimage.features.gs_feature_space import GenericStringFeatureSpace" ], [ "from ..utils.auth import async_has_perm" ], [ "import pandas._testing as tm" ], [ "CERTIFICATE_DIR = os.path.join(os.path.dirname(__file__), 'certificate')" ], [ "# parameter-list:" ], [ "AUTH_USER_MODEL = getattr(settings, 'AUTH_USER_MODEL', 'auth.User')" ], [ "from waffle.testutils import override_switch, override_flag, override_sample" ], [ "from TestBase import TestBaseClass", "import sys" ], [ "import zmq" ], [ "from balancer.mixins import MasterSlaveMixin, PinningMixin" ], [ "s= marker_sets[\"particle_10 geometry\"]", "mark=s.place_marker((8036.87, 13067.6, 10288.3), (0.7, 0.7, 0.7), 778.489)" ], [ "from grpc.beta import implementations" ], [ "s= marker_sets[\"particle_39 geometry\"]", "mark=s.place_marker((12115, 4200.5, 9129.55), (0.7, 0.7, 0.7), 606.92)" ], [ "HTML_EXT = '.html.mako'" ], [ "log = logging.getLogger('annzLog')", "annzDir = os.getcwd() if not \"ANNZSYS\" in os.environ else os.environ[\"ANNZSYS\"]" ], [ "import re", "# Method for finding index of certain characters in a string, n being the n'th occurence of the character/string" ], [ "start_time = time()" ], [ "from drops.persistence import base" ], [ "# Public" ], [ "memail = 'user@example.com'", "packages = ['pytz']", "resources = ['zone.tab', 'locales/pytz.pot']" ], [ "MAX_RECORDINGS_PER_ADD = 100" ], [ "# --- Utility functions" ], [ "# Divide stars up into bins in parameter space", "bins = []", "# Create metallicity bins" ], [ "from resultstoreapi.cloud.devtools.resultstore_v2.proto import resultstore_file_download_pb2 as google_dot_cloud_dot_devtools_dot_resultstore__v2_dot_proto_dot_resultstore__file__download__pb2" ], [ "__LOG_LEVEL__ = logging.INFO" ], [ "# t[0] = Value_Ref(val=t[1])", "# 11.5 Module references" ], [ "from train_util import variable_from_sentence" ], [ "WORDS = Counter(words(open('big.txt').read()))" ], [ "# Base class", "from entity import Entity" ], [ "CBOW_MEAN = 1 # http://stackoverflow.com/questions/34249586/the-accuracy-test-of-word2vec-in-gensim" ], [ "admin.site.register(Survey_template, SurveyTemplateAdmin)" ], [ "import theano", "import nonlinearity" ], [ "# draw the campaign area info console with info based on mouse position" ], [ "List_of_produce.append(whitebeet)" ], [ "from pymongo.errors import AutoReconnect" ], [ "# Domains Exceptions", "#################################################" ], [ "logger = logging.getLogger(__name__)" ], [ "FACTOR_DTYPES = frozenset([datetime64ns_dtype, float64_dtype, int64_dtype])" ], [ "from selenium.webdriver.common.by import By", "from selenium.webdriver.common.html5.application_cache import ApplicationCache" ], [ "import Web # Class for communicating with the web server." ], [ "# instantiated per pseudo-channel", "# Stay at same IO rate (1Gbps) to maintain timing relationship with", "# HBM gen1 class (HBM_1000_4H_x128) where possible" ], [ "# TODO: make this portable", "PKG_NAME = 'xes'" ], [ "from telemetry.unittest_util import options_for_unittests" ], [ "from ansible.module_utils.basic import AnsibleModule, get_exception" ], [ "module = os.path.splitext(os.path.basename(xmlFilePath))[0]", "# iterate over all the typedefs in the _cable_::wrappers namespace" ], [ "# trajectory utilities" ], [ "month = int(input(\"Please enter your birthday month\"))", "day = int(input(\"Please enter your birthday day\"))" ], [ "from postgresify import postgresify", "DATABASES = postgresify()" ], [ "from .. import NextGenInstanceResource, NextGenListResource" ], [ "from ansible.module_utils.basic import AnsibleModule, missing_required_lib", "MATRIX_IMP_ERR = None" ], [ "PUBKEY = '!BB33s'" ], [ "TIMEOUT = ContributionsGuard.STAMP_TTL" ], [ "# Number types..." ], [ "import unittest" ], [ "import pytest" ], [ "from pynnless import PyNNLess", "from pynnless_utils import FileLock" ], [ "LogLevel.NOTICE = LogLevel(2)", "LogLevel.WARNING = LogLevel(3)" ], [ "#Todo:Notebook,Panel,Line Refactored by Composite Pattern", "##The Base Class of Ctrl" ], [ "# TODO: bugs in processing time. add support for location range" ], [ "from const import GRATIO, GRIDX, GRIDY" ], [ "##", "class PDFObject(PSObject): pass" ], [ "game_mode = False", "delay_lines = []" ], [ "######################################################################" ], [ "# ==============================================================================" ], [ "Q_xyy = np.imag(fft2(a2_xyy)) - np.real(fft2(b2_xyy))", "Q_xxy = np.imag(fft2(a2_xxy)) - np.real(fft2(b2_xxy))" ], [ "from .helpers import urlparams" ], [ "name = \"v1110\"" ], [ "s= marker_sets[\"particle_160 geometry\"]", "mark=s.place_marker((1527.89, 2610.6, 2626.13), (0.7, 0.7, 0.7), 184.216)" ], [ "import logging", "_logger = logging.getLogger(__name__)" ], [ "m = MyClass()" ], [ "packageFullPath = \"..\\..\\..\\..\\..\\PrimeSenseVersions.nsh\"" ], [ "# 47.2 Single value", "# 47.2.1" ], [ "Book = namedtuple('Book', ['title', 'year_published'])" ], [ "from scrapy.http import Request, FormRequest, XmlRpcRequest, Headers, HtmlResponse" ], [ "br_iface = conn.interfaceLookupByName(\"brempty\")" ], [ "import requests" ], [ "admin.site.register(User, UserAdmin)" ], [ "s= marker_sets[\"particle_50 geometry\"]", "mark=s.place_marker((7327.79, 2482.79, 7418.83), (0.7, 0.7, 0.7), 859.832)" ], [ "s= marker_sets[\"particle_54 geometry\"]", "mark=s.place_marker((412.05, 2637.87, 2929.3), (0.7, 0.7, 0.7), 327.529)" ], [ "\"\"\"iOS flavor utils, used for building for and running tests on iOS.\"\"\"" ], [ "TEST_SUITE = make_test_suite(InvenioWebSessionWebTest, )" ], [ "# Visible for testing." ], [ "# Test correct values." ], [ "_DEFAULT_OUTPUT_DIRECTORY = \".\"", "_Output_directory = None" ], [ "FLAGS = flags.FLAGS" ], [ "my_lib = load_shared_library()" ], [ "s= marker_sets[\"particle_143 geometry\"]", "mark=s.place_marker((3185.78, 1537.68, 2023.75), (0.7, 0.7, 0.7), 92.9331)" ], [ "#-------------------------------------------------------------------------", "# \"Sources having notes\"", "#-------------------------------------------------------------------------" ], [ "from .models import File, Image, Link, Video" ], [ "from yapsy import log" ], [ "# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", "HAS_PURESTORAGE = True" ], [ "\"\"\"Counts of generated serial numbers by device model name.\"\"\"" ], [ "LOG = logging.getLogger(__name__)" ], [ "# FACTORIES ////////////////////////////////////////////////////////////" ], [ "import unittest2" ], [ "from distutils.dir_util import remove_tree" ], [ "from ansible.module_utils.basic import AnsibleModule" ], [ "from social.backends.oauth import BaseOAuth2" ], [ "import template_expander", "import name_utilities" ], [ "from ansible.module_utils.six import integer_types" ], [ "RETURN_NO_MATCH, RETURN_MATCH, RETURN_NEED_MORE = range(3)" ], [ "##~~ Plugin" ], [ "from tests import TestCase" ], [ "from imageDelegate import *", "from comboBoxDelegate import *" ], [ "from libcloud.utils.py3 import next", "from libcloud.utils.py3 import b" ], [ "nullenv = None" ], [ "from setuptools import setup" ], [ "id_at = _buildOid(2, 5, 4)" ], [ "import argparse, os, sys" ], [ "register_projector_slide(\"test/slide2\", slide2)" ], [ "import datetime" ], [ "# Test 6: to check base class" ], [ "logger = LOGBUILDER.get_logger()", "#TODO: sql credentials or table info" ], [ "from django.core.urlresolvers import reverse", "# Django 1.9 deprecation of IPAddressField" ], [ "# search file contents for copyright message of particular category", "################################################################################" ], [ "EOS_INDEX = 0" ], [ "# Examples" ], [ "cli.add_command(input)" ], [ "recapitalize = allow_lazy(recapitalize)" ], [ "from django.conf import settings" ], [ "from RuWord import RuWord" ], [ "################################################################################" ], [ "# ---------------------------------------------------------", "# Input" ], [ "# testing code.", "FORBIDDEN = [\"proton\"]" ], [ "from waflib.TaskGen import feature, before_method, after_method", "from waflib.Errors import WafError" ], [ "from Device import DmaDevice", "from PciHost import PciHost" ], [ "S3_RGW_OUTSCALE_DEFAULT_REGION = 'eu-west-2'" ], [ "###", "# MCNP F1 surface current tally", "###" ], [ "from ..os import makedirs, open_file" ], [ "#=============================================" ], [ "from scrapy.tests.mockserver import MockServer" ], [ "from scrapy.utils.signal import send_catch_log, send_catch_log_deferred", "from scrapy import log" ], [ "import numpy as np", "from random import shuffle" ], [ "# -----------------------------------------------------------------------------", "# Options Menu (available in all Functions' Views)" ], [ "Tweet = namedtuple('Tweet', ['text', 'links', 'original_node'])" ], [ "from common.debug import log_slave", "__author__ = 'Sergej Schumilo'" ], [ "_ = gettext.gettext" ], [ "from ansible.plugins.lookup import LookupBase", "from ansible.utils.listify import listify_lookup_plugin_terms" ], [ "from website.util import web_url_for" ], [ "# associated with the yacc() call if none was provided.", "# -----------------------------------------------------------------------------" ], [ "###############################################################################" ], [ "i=0 ", "j=0", "t10=[]" ], [ "## set shutdowminute" ], [ "from shuup.core import telemetry" ], [ "from nose.tools import assert_equal" ], [ "# TODO: Should this be a NailgunTask? Then it can set its self.dist instead of", "# working directly with DistributionLocator." ], [ "from .csq_filter import CsqFilter", "import logging" ], [ "from ..utils import setup" ], [ "\"\"\" Terminate all running instances when Ctrl-C is pressed. \"\"\"" ], [ "import core", "from core import logger" ], [ "plugin.register(InputPersist, 'test_input', api_ver=2)" ], [ "Base = declarative_base()" ], [ "DEBUG_FMT = '*' * 55 + '\\n%s\\n' + '*' * 55" ], [ "import pytest", "from test import SHORT_TIMEOUT" ], [ "default_lookups['day'] = Day" ], [ "from magnum import RectangularMesh, World, Body, Material, Everywhere, Cylinder", "import unittest" ], [ "from gramps.gen.utils.file import media_path_full", "from gi.repository import Gtk" ], [ "from page_sets.login_helpers import google_login" ], [ "# Clean a given project file.", "#--------------------------------------------------------------------------------------------------" ], [ "URL = None" ], [ "from django.db import models" ], [ "from numpy import testing" ], [ "from RatS.filmaffinity.filmaffinity_site import FilmAffinity" ], [ "import numpy as np" ], [ "# users" ], [ "from telemetry.page import page_set as page_set_module" ], [ "# Note mo10 is the imaginary part of MO^1" ], [ "child_zone = t.zone(\"example.com.\", storage=\".\")", "t.link(child_zone, child, slave, ixfr=True)" ], [ "DEFAULT_SHELL = '/bin/bash -c'" ], [ "from xmodule.modulestore.tests.factories import CourseFactory" ], [ "# Mag field" ], [ "MetricsForSlice = metrics_for_slice_pb2.MetricsForSlice" ], [ "zerobyte = strtobytes(chr(0))" ], [ "from .testcases import WebserverTestCase" ], [ "from mdstudio.utc import from_utc_string, now, to_utc_string, timestamp", "# Python 2 compatibility." ], [ "from .common import CustomObject, CustomJSONEncoder" ], [ "s= marker_sets[\"particle_62 geometry\"]", "mark=s.place_marker((2359.92, 5093.76, 1662.38), (0.7, 0.7, 0.7), 846)" ], [ "down_revision = '1140'" ], [ "from elephantblog.models import Entry, Category, CategoryTranslation" ], [ "EVENT_ALL = 0xff" ], [ "s= marker_sets[\"particle_268 geometry\"]", "mark=s.place_marker((2881.65, 1995.4, 3211.58), (0.7, 0.7, 0.7), 267.674)" ], [ "from landlab.components.cellular_automata.oriented_raster_cts import OrientedRasterCTS" ], [ "## Exceptions" ], [ "s= marker_sets[\"particle_65 geometry\"]", "mark=s.place_marker((2996, 7697.37, 1036.43), (0.7, 0.7, 0.7), 846)" ], [ "import datetime", "import json" ], [ "s= marker_sets[\"particle_59 geometry\"]", "mark=s.place_marker((9097.29, 6968.06, 1939.37), (0.7, 0.7, 0.7), 824.046)" ], [ "import re" ], [ "from urlresolver9.resolver import UrlResolver, ResolverError" ], [ "# include things like eps, weight)", "# Due to the prior" ], [ "TEST_BATCH_SIZE = 1024" ], [ "from .service import Service" ], [ "# Get VM object and return it's name if object exists" ], [ "from sqlalchemy import MetaData, Table" ], [ "logger = logging.getLogger(__name__)" ], [ "snd_config_get_ctl_iface.restype = c_int", "snd_config_get_ctl_iface.argtypes = [POINTER(snd_config_t)]" ], [ "from django.utils.translation import ugettext_lazy as _" ], [ "\"\"\"Used in invenio-jsonschemas to resolve relative $ref.\"\"\"" ], [ "DRIVER_NAME = \"ComputerMonitor\"", "DRIVER_VERSION = \"0.14\"" ], [ "\"\"\"", "\"\"\"" ], [ "from pikos.monitors.focused_function_mixin import FocusedFunctionMixin" ], [ "from setuptools import setup, find_packages", "from setuptools.command.test import test as TestCommand" ], [ "_tzinfo_class = tzinfo" ], [ "from tensorflow.python.ops import gen_collective_ops" ], [ "LPDS3DLISTENER = ctypes.POINTER(DS3DLISTENER)" ], [ "# found in the LICENSE file." ], [ "config.plugins = ConfigSubsection()" ], [ "import ply.lex as lex" ], [ "#print(json.dumps(dialog.get_dialogs(), indent=2))", "#dialogs = dialog.get_dialogs() " ], [ "from _entropy.rigo.utils import prepare_markup" ], [ "# Defina a custom game world, derived from Pyrge's World", "# (of course, you can name the class whatever you want)" ], [ "####" ], [ "__email__ = \"user@example.com\"" ], [ "from __future__ import print_function", "import os, json, time, sys, re, traceback, threading" ], [ "from eventtracking import tracker" ], [ "from bs4 import BeautifulSoup", "import time" ], [ "class ErrorADUnavailable(ResponseMessageError): pass", "class ErrorAffectedTaskOccurrencesRequired(ResponseMessageError): pass", "class ErrorApplyConversationActionFailed(ResponseMessageError): pass" ], [ "from log import LOG", "import utility" ], [ "# TODO(zakaria): Consider adding a _RegressionHead for logistic_regression" ], [ "builder = option_builder.ProfileOptionBuilder" ], [ "class Vendor(GnuCashBusinessEntity): pass" ], [ "from tests.unit.config import STAGE" ], [ "from elephant.statistics import isi" ], [ "arc_flux,arc_var = rhea2_extract.one_d_extract(data=arc_data.T, rnoise=20.0)", "fluxes = []" ], [ "import math", "import numpy as np" ], [ "# Morphing" ], [ "zero_events = []" ], [ "s= marker_sets[\"particle_322 geometry\"]", "mark=s.place_marker((2732.25, 916.748, 3818.9), (0.7, 0.7, 0.7), 148.727)" ], [ "###############################################################################" ], [ "methods = [ '-tmi3', '-toe3', '-tmmc', '-satmmc', '-sad']#, '-wltmmc-0.8-1e-10'] #, '-tmi']", "first_temperature = [True]*len(methods)" ], [ "import os.path", "from PyQt4 import QtCore, QtGui" ], [ "from autothreadharness.harness_case import HarnessCase" ], [ "from spack import *" ], [ "from notifications.verification import VerificationNotification" ], [ "splitext.__doc__ = genericpath._splitext.__doc__" ], [ "log = logging.getLogger(__name__)" ], [ "class SchemaViolation(SynErr): pass", "class SlabAlreadyOpen(SynErr): pass" ], [ "ADD_SERVICER_TO_SERVER_IDENTIFIER = 'add_TestServiceServicer_to_server'" ], [ "_BUFFER_SIZE = 8192" ], [ "import zlib" ], [ "import json", "from py_data.DAO import MonsterDAO, MonsterNameDAO" ], [ "# }" ], [ "log = logging.getLogger('factor:cluster')" ], [ "from scipy import misc" ], [ "_chkcash = []" ], [ "from django.db.migrations.operations.base import Operation" ], [ "notes = \"abcdefg\"", "frequencies = {}" ], [ "from ruamel.yaml.dumper import *", "from ruamel.yaml.compat import StringIO, BytesIO, with_metaclass, PY3" ], [ "from django.utils.functional import cached_property" ], [ "### Defining wavenumber to frequency conversion" ], [ "from memory_inspector.classification import rules" ], [ "logger = logging.getLogger('oscar.catalogue.import')" ], [ "DB_SCHEMA = 'src/schema.sql'", "DB_INSERT = 'src/insert.sql'" ], [ "message = subprocess.check_output('cscript textbox.vbs \"WiN\" \"Message:\"', shell=True)", "message = message.split('\\n')", "message = message[3].rstrip('\\r\\n')" ], [ "from ..externals.six import string_types" ], [ "import wrapper_utils" ], [ "from xmodule.partitions.partitions import Group, UserPartition" ], [ "stata_epoch = datetime.datetime(1960, 1, 1)" ], [ "from MultiPlotting.gridspec_engine import defaultGridspecGrid" ], [ "terms_of_service = never_cache(terms_of_service)" ], [ "from app.models import User, Role, Match", "import bs4" ], [ "# TODO: use actual logging module with log levels and copying stdout", "# instead of this" ], [ "from .models import Address, CreditCard" ], [ "import binascii", "from . import PY3" ], [ "from airflow.contrib.hooks.spark_submit_hook import SparkSubmitHook" ], [ "# Helper functions for reading productions", "#################################################################" ], [ "from openerp import models, api, _" ], [ "from typing import Tuple" ], [ "from neocore.Cryptography.ECCurve import ECDSA" ], [ "from __future__ import unicode_literals" ], [ "from selenium import webdriver" ], [ "from pathlib import Path" ], [ "from django.db import models" ], [ "CONF.import_opt('enabled_ssl_apis', 'nova.service')" ], [ "# List of Access Data for Distributed DB's" ], [ "from zmq.auth.thread import ThreadAuthenticator" ], [ "pi = 3.141592653589793" ], [ "previous_stderr = sys.stderr" ], [ "# tor-specific ipv6 prefix", "pchonioncat = bytearray([0xfd,0x87,0xd8,0x7e,0xeb,0x43])" ], [ "import time", "import threading" ], [ "# --------------------------------------------------------------------.", "# read PSD images" ], [ "import logging", "log = logging.getLogger(__name__)" ], [ "# noinspection PyProtectedMember" ], [ "s= marker_sets[\"particle_344 geometry\"]", "mark=s.place_marker((922.954, 2491.67, 941.875), (0.7, 0.7, 0.7), 189.969)" ], [ "nneighs = None" ], [ "from .managers import LocationLocaleManager" ], [ "__url__ = \"http://www.freecadweb.org\"", "__doc__ = \"Path Custom object and FreeCAD command\"" ], [ "users = sqlalchemy.Table('users', meta, *user.values())" ], [ "#################################################################################" ], [ "from setuptools import setup" ], [ "X86_64_GCC_CFLAGS\t= COMMON_GCC_CFLAGS + [\"-m64\"]", "X86_64_CLANG_CFLAGS\t= COMMON_CLANG_CFLAGS + [\"-m64\"]" ], [ "demo=False #False", "exportImages= False #quits after one trial", "subject='Hubert' #user is prompted to enter true subject name" ], [ "##-------------------------------------------------------------" ], [ "# (experimental) An alternate parser that supports manipulation of new", "# elements." ], [ "__all__ = [\"ClawbackClaimableBalance\"]" ], [ "NUM_BOOKS = 300", "# Create a series of fake authors; also create at least one book for each author" ], [ "#5/16/05 wregglej 159437 - changed script to use rhn-actions-control" ], [ "#convert from int to bytes" ], [ "import django.db.models.deletion" ], [ "#Created by Dmytro Konobrytskyi, 2013 (github.com/Akson)" ], [ "from mozillians.users.tasks import update_basket_task" ], [ "# Pythons 2 and 3 differ on where to get StringIO" ], [ "import subprocess" ], [ "from . import constants as CONS", "from .crazyhash import CrazyHash" ], [ "HOST = 'master.buildandshoot.com'" ], [ "from plumbum.cmd import cp, sed, tar" ], [ "# This need to be before the init of GPU, as it add config variable", "# needed during that phase.", "import theano.tests" ], [ "# NOTE: We have to leave this helper function out of the class to use multiprocess pool.map" ], [ "file = os.path.join(os.path.dirname(os.path.abspath(__file__)), \"..\", f)" ], [ "_opts, _naming_opts, _output_opts, _information_opts, _webservice_opts, _other_opts = None, None, None, None, None, None" ], [ "addItem(ProductNamesItem)" ], [ "################################################################################", "# ResNet block definitions.", "################################################################################" ], [ "lib_sources = {}" ], [ "# set it to smaller value only if you have problems with parser stack overflow", "LINE_LEN_LIMIT = 400 # 200 # or any other value - the larger the smaller probability of errors :)" ], [ "from cvfit.report import Report" ], [ "from .formatting import Formatting" ], [ "class ErrorInvalidIdEmpty(ResponseMessageError): pass", "class ErrorInvalidIdMalformed(ResponseMessageError): pass", "class ErrorInvalidIdMalformedEwsLegacyIdFormat(ResponseMessageError): pass" ], [ "# wrapping these is slightly inferior to a logic tree structure", "# ... since I can't view the structure without calling it" ], [ "from projector.scm_tools import _get_scm_tools_uncached, get_scm_tools" ], [ "level_list_dict = dict(zip(all_categoty, level_list_list))" ], [ "UserModel = get_user_model()" ], [ "DBG = 1", "ALL = 0" ], [ "# ----------------------------", "# log checks" ], [ "from mmd_tools.core.model import getRigidBodySize, Model" ], [ "# Configuration", "# ---------------------------------------------------------------------" ], [ "import unittest", "import copy" ], [ "# The actual NodeConn class", "# This class provides an interface for a p2p connection to a specified node" ], [ "from . import models" ], [ "\"\"\"Pseudo-implemention of the DBSCAN algorithm for learning.\"\"\"" ], [ "# Finds out the version (so we don't have to manually edit that file every", "# time we change the version)", "cassandra_build_file = '../../build.xml'" ], [ "LOG = logging.getLogger(__name__)" ], [ "# --- class Repositories ----------------------------------------------------------------- #" ], [ "import dateutil.parser" ], [ "from builtins import object" ], [ "# Optional/Positional constructor tests", "# =====================================" ], [ "ROOT_URLCONF = \"cornerwise.urls\"" ], [ "from pyms.Peak.Class import Peak", "# If psyco is installed, use it to speed up running time" ], [ "from dxr.testing import SingleFileTestCase, MINIMAL_MAIN" ], [ "from django.utils.encoding import force_text" ], [ "# Subsystem ---------------------------------------------------------------" ], [ "from odoo.tools.float_utils import float_compare, float_is_zero" ], [ "test_mapper = functools.partial(default_mapper, False)" ], [ "# Lennard-Jones Cosine^2" ], [ "from photogal.database.model import Gallery" ], [ "COMPILED_SUFFIXES = '.pyc', '.pyo'" ], [ "# Remove unnecessary properties from the response.", "# This is for doing comparisons with Ansible's current parameters." ], [ "s= marker_sets[\"particle_22 geometry\"]", "mark=s.place_marker((7374.53, -165.59, 7889.5), (0.7, 0.7, 0.7), 805.519)" ], [ "GTEST_OUTPUT_FLAG = \"--gtest_output\"", "GTEST_DEFAULT_OUTPUT_FILE = \"test_detail.xml\"" ], [ "s= marker_sets[\"particle_234 geometry\"]", "mark=s.place_marker((3186.91, 2343.74, 2873.54), (0.7, 0.7, 0.7), 218.437)" ], [ "import os", "import types" ], [ "COUNTER_KEY = 'default counter'" ], [ "import re" ], [ "from openerp.tools import DEFAULT_SERVER_DATETIME_FORMAT" ], [ "__docformat__ = 'restructuredtext en'" ], [ "print(\"build MATLIB\")", "material_lib = [[] for x in range(2)]" ], [ "from utils import info" ], [ "_RE_PATTERN_EXPLICIT_MAKEPAIR = re.compile(r'\\bmake_pair\\s*<')" ], [ "# -----------------------------------------------------------------------------" ], [ "# You should have received a copy of the GNU General Public License", "# along with this program. If not, see .", "#" ], [ "import mallet_lda" ], [ "from openerp import tools", "from openerp.osv import osv, fields" ], [ "from copy import deepcopy", "from textwrap import dedent" ], [ "CONFIG_ARG_KEYS = set([\"url\", \"user\", \"password\", \"use_server_status_metrics\"])" ], [ "import threading" ], [ "# Get Diff (up or down in %), and KRONOR", "varMainDiff = float(0)", "varMainValue = float(0)" ], [ "import os", "import problem.screen" ], [ "RECEIVER = None" ], [ "# --- end of DependencyGraph ---" ], [ "_testcapi = support.import_module('_testcapi')" ], [ "# for sklearn 0.18's alternative syntax", "from distutils.version import LooseVersion as Version", "from sklearn import __version__ as sklearn_version" ], [ "from PyQt4 import QtCore, QtGui" ], [ "fc = 'f08'", "g08 = test.detect_tool(fc)" ], [ "lcong48 = _libraries['/usr/lib/libavcodec.so'].lcong48", "lcong48.restype = None", "lcong48.argtypes = [POINTER(c_ushort)]" ], [ "post_configure = []" ], [ "from gnocchi import storage", "from gnocchi import utils" ], [ "X_FRAME_OPTIONS = ENV_TOKENS.get('X_FRAME_OPTIONS', X_FRAME_OPTIONS)", "##### Third-party auth options ################################################" ], [ "import unittest", "from PySide2.QtCore import *" ], [ "scriptPattern=re.compile(r'\\<.+?\\>')" ], [ "from pyasn1.type import univ" ], [ "ALREADY_TESTED = False" ], [ "# Car button codes" ], [ "import json, sys, re, subprocess, os.path" ], [ "from django.template import loader, RequestContext", "from django.http import HttpResponse, HttpResponsePermanentRedirect, HttpResponseGone" ], [ "import __builtin__", "from itertools import islice" ], [ "_ASCIIupper_table = str.maketrans(string.ascii_lowercase, string.ascii_uppercase)" ], [ "register = template.Library()" ], [ "scores = sorted(scores)", "winningScore = scores[-1]", "winningPlayers = []" ], [ "account_invoice()" ], [ "# @param IsBinaryFile: The flag indicating if the file is binary file ", "# or not", "#" ], [ "import tools.cli as cli" ], [ "# TODO: Create Classes listed above." ], [ "# Regression test for #8651 -- a FK to an object with PK of 0", "# This won't work on MySQL since it won't let you create an object", "# with an autoincrement primary key of 0," ], [ "import struct" ], [ "s= marker_sets[\"particle_53 geometry\"]", "mark=s.place_marker((3145.25, 7084.57, 6244.15), (0.7, 0.7, 0.7), 891.98)" ], [ "empty_like = type_reg(torch.empty_like)", "full_like = type_reg(torch.full_like)" ], [ "gp.AddMessage(str(output))", "### check return code" ], [ "from telemetry.core.platform.profiler import android_prebuilt_profiler_helper", "from telemetry.util import support_binaries" ], [ "import abc" ], [ "s= marker_sets[\"particle_56 geometry\"]", "mark=s.place_marker((3995.85, 7530.21, 7038.87), (0.7, 0.7, 0.7), 1177.93)" ], [ "from .vimeo import vimeo_download", "from .vine import vine_download" ], [ "CPU='cortex-m3'", "CROSS_TOOL='keil'" ], [ "# Python 3 workaround" ], [ "from openapi_core.validation.request.datatypes import RequestParameters" ], [ "from django.conf import settings" ], [ "VAR_ENV_PREFIX = \"AIRFLOW_VAR_\"" ], [ "_pub = None", "_cached_vid = (tempfile.NamedTemporaryFile(), \"\")" ], [ "DEFAULT_ALGORITHM = Algorithm.ROUND_ROBIN" ], [ "####################" ], [ "from games.TicketToRide.server.Constants import dcol, dlin, BlockWg, BlockTr, BLOCK" ], [ "GEN_SUSPENDED = 'GEN_SUSPENDED'", "GEN_CLOSED = 'GEN_CLOSED'" ], [ "Violation = namedtuple('Violation', 'line, message')" ], [ "log = DirectNotify().newCategory(\"SpaceDrive-GUISystem\")" ], [ "from jedi import settings" ], [ "driver = LocalProxy(manager.ensure_open)" ], [ "_STEPS_PER_RUN_VAR = \"steps_per_run\"" ], [ "# it (1) creates a sequence value record and (2) sends out a sequence_update message;", "# note that we don't commit resource here; outside code must commit", "# value should be a plain string (not unicode string), possibly containing binary data or encoded unicode data" ], [ "JARR_CLUSTERIZER_KEY = 'jarr.clusterizer.%d'" ], [ "HEADER_FIELDS = ('row_size_bytes', 'info_flags', 'x', 'y', 'w', 'h')" ], [ "# GrampsTypeMeta class", "#", "#-------------------------------------------------------------------------" ], [ "period_fwd = getattr(nc_fwd, \"dominant source period\")", "nc_fwd.close()" ], [ "REBOOT_SOFT, REBOOT_HARD = 'SOFT', 'HARD'" ], [ "# Serialized fields", "# ---------------------------------------------------------" ], [ "# outside class to define the useful case that is height(nil/none/none) = -1", "# makes code simpler and corner-case free everywhere else." ], [ "logger = getLogger(__name__) # pylint: disable=invalid-name" ], [ "s= marker_sets[\"particle_66 geometry\"]", "mark=s.place_marker((2238.4, 1225.52, 5762.23), (0.7, 0.7, 0.7), 759.539)" ], [ "## Run a shell." ], [ "oxm.subtypes[82184] = tunnel_ipv4_dst_masked" ], [ "# kill whole process" ], [ "print(dawn)", "print(sunrise)", "print(sunset)" ], [ "# TODO: an API to modify the hooked function's arguments" ], [ "_ignore_dirs = ('admin', 'grappelli')" ], [ "print(\"new\", formatTime(tt[-1], 10000))", "start = time.time()" ], [ "checker_props = {'severity': 1, 'falsepositives': False}" ], [ "from erpnext.buying.doctype.purchase_order.purchase_order import make_purchase_receipt, make_purchase_invoice" ], [ "TEST_APP_ERROR = 'test_runner_invalid_app.models'" ], [ "# show command line usage" ], [ "from django.db import models" ], [ "# COW0012 : TTY log closed", "# COW0013 : env var requested" ], [ "LOG = logging.getLogger(__name__)" ], [ "from neutronclient.neutron import v2_0 as neutronV20" ], [ "from pants.build_graph.target import Target" ], [ "# Set default tests", "# =================" ], [ "blueprint = Blueprint('babbage_api', __name__)" ], [ "capfirst = lambda x: x and force_unicode(x)[0].upper() + force_unicode(x)[1:]", "capfirst = allow_lazy(capfirst, unicode)" ], [ "# copy of class in cartopy (before it was released)" ], [ "from django.db import migrations, models" ], [ "version=find_version(\"pypolyline/util.py\")" ], [ "mpl.rcParams['ps.fonttype'] = 42" ], [ "stream = None" ], [ "NUM_CLASSES = 10" ], [ "pyarrow_requirement_message = None" ], [ "export = [TRAIN_DATA, VAL_DATA, TEST_DATA]" ], [ "from setuptools import setup" ], [ "log = get_logger(__name__)" ], [ "lstsq.default_lapack_driver = 'gelsd'" ], [ "import json", "import sys", "import collections" ], [ "RunnerManagerState = _RunnerManagerState()" ], [ "from pattern.vector import SVM, chngrams, count, kfoldcv" ], [ "# read_batch() - Reads data from the device using an scatter/gather interface.", "# write_safe() - Writes data to the device.", "#" ], [ "READ_EVENT_NAME = 'BlobRequest'" ], [ "# self.left = None", "# self.right = None", "import sys" ], [ "restart_type = default(\"/commandParams/restart_type\", \"\")", "version = default(\"/commandParams/version\", None)", "# Handle upgrade and downgrade" ], [ "logger = logging.getLogger('MARKDOWN')" ], [ "#", "###############################################################################" ], [ "from openerp.osv import fields, osv", "from openerp.tools.translate import _" ], [ "# Translation of characters to unique integer values" ], [ "_wpilib._fake_time.FAKETIME = SnakeTime()" ], [ "# Initial build.", "#" ], [ "# pylint: disable-msg=C0103" ], [ "_all_libs = ['capstone.dll', 'libcapstone.so.3', 'libcapstone.so', 'libcapstone.dylib']", "_found = False" ], [ "from valan.r2r import image_encoder" ], [ "oxm.subtypes[129796] = conn_tracking_tp_dst_masked" ], [ "RELOP_IDENT = '(?P' + RELOP + r')\\s*(?P' + VERSPEC + ')'", "RELOP_IDENT_RE = re.compile(RELOP_IDENT)" ], [ "# if not 'django_nyt' in django_settings.INSTALLED_APPS:", "# raise ImproperlyConfigured('django-wiki: needs django_nyt in INSTALLED_APPS')" ], [ "from random import choice,randint,uniform", "from urllib import urlencode" ], [ "# The add-ons that go with the promo modal. Not an actual PromoModule" ], [ "# get all arguments" ], [ "py_modules = []", "packages = []" ], [ "__all__ = ['BaseCalendarEvent', 'CapCalendarEvent']" ], [ "import os", "from setuptools import find_packages, setup" ], [ "from easybuild.tools.run import run_cmd" ], [ "# Displays an error dialog. Errors are critical and the program terminates", "# afterwards.", "#" ], [ "s= marker_sets[\"particle_26 geometry\"]", "mark=s.place_marker((5459.71, 1778.36, 5846.01), (0.7, 0.7, 0.7), 846)" ], [ "logger = logging.getLogger(__name__)" ], [ "logger = get_logger(__name__)" ], [ "from .context import test_utils as tu" ], [ "methods = []", "method_dict_list = []" ], [ "##########################################################################" ], [ "from tensorflow.python.estimator import model_fn" ], [ "# Disabling known bug in pylint.", "# pylint: disable=R0921" ], [ "diagonal_controllers = [SimpleController.init(*args) for args in itertools.product(SimpleButton, diagonal_sticks)]" ], [ "from ._compat import PY2, getargspec" ], [ "last_poll = None", "bus = None" ], [ "__all__ = [\"AppMessageService\", \"Uint8\", \"Uint16\", \"Uint32\", \"Int8\", \"Int16\", \"Int32\", \"CString\", \"ByteArray\"]" ], [ "import copy" ], [ "from Vault import *" ], [ "# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA." ], [ "IPV6Network = fields.IPV6Network" ], [ "import traceback" ], [ "GCS_HOOK_STRING = 'airflow.contrib.operators.dataflow_operator.{}'" ], [ "# -----------------------------------------------------------------------------" ], [ "import six" ], [ "import logging", "logger = logging.getLogger('MDAnalysis.app')" ], [ "# pylint: enable=g-doc-return-or-yield" ], [ "# TenderUAResourceTest" ], [ "from zipline.utils.sentinel import sentinel" ], [ "# pylint: enable=redefined-builtin" ], [ "# =================== #", "# Create XML document #", "# =================== #" ], [ "np.random.seed(2021)" ], [ "###############################################################################", "# Test support for multiple geometry columns (RFC 41)" ], [ "email_separator_re = re.compile(r'[,;\\s]+')" ], [ "##########################" ], [ "dest_path = forms.pick_folder()" ], [ "bsn.subtypes[11] = bsn_auto_negotiation" ], [ "# @memorize is not being used.", "# TODO(absubram): Change this config variable check with", "# subplugin/plugin detection API when it becomes available." ], [ "import os", "import fnmatch" ], [ "ctxs = list_context('Arange')" ], [ "from google.appengine.ext.webapp import util", "from fantasm import handlers, console" ], [ "logger = logging.getLogger(__name__)" ], [ "# #", "#----------------------------------------------------------------------------#" ], [ "ustring_re = re.compile(\"([\\u0080-\\uffff])\")" ], [ "from ansible.module_utils.basic import AnsibleModule" ], [ "from django.core import signals", "signals.got_request_exception.connect(log_traceback)" ], [ "# For non-release builds, push \"nightly\" & \"sha\"", "# For release builds, push \"nightly\" & \"latest\" & \"x.x.x\"" ], [ "import urllib", "import urllib2" ], [ "from .. import models" ], [ "# `time` is of format: HH:MM:SS.MMM" ], [ "# compute the color/class density image" ], [ "### Codec APIs" ], [ "import sublime_plugin" ], [ "# Third-party auth." ], [ "import bftimezone" ], [ "# 2.2.4.35 SHARE_INFO_501_CONTAINER" ], [ "#sample(dist, size=None, rand=None, prng=None):" ], [ "from frappe.desk.form import assign_to", "from erpnext.hr.doctype.employee.employee import get_holiday_list_for_employee" ], [ "from ..python2_3 import basestring" ], [ "del _tempdir_maker" ], [ "class parameters: pass" ], [ "import quickPlot as qp" ], [ "# get number of gold-standard classifications completed by a user (used if weighting)" ], [ "s= marker_sets[\"particle_111 geometry\"]", "mark=s.place_marker((3508.41, 2381.26, 1508.64), (0.7, 0.7, 0.7), 104.777)" ], [ "import sys" ], [ "import pkg_resources" ], [ "time.sleep(5)" ], [ "coords.append(coords[0])", "lines = []" ], [ "#from datetime import datetime, tzinfo, timedelta", "import datetime as py_datetime" ], [ "s= marker_sets[\"particle_278 geometry\"]", "mark=s.place_marker((2403.37, 1895.5, 2438.45), (0.7, 0.7, 0.7), 217.337)" ], [ "import tempfile" ], [ "from ansible.module_utils.basic import *" ], [ "from os import path, R_OK, W_OK" ], [ "from datetime import datetime, time, timedelta, tzinfo", "import warnings" ], [ "from shutil import rmtree", "from basictest import BasicTest" ], [ "UNK_IDX = 0" ], [ "grammar36 = parso.load_grammar(version='3.6')" ], [ "import operator" ], [ "swig = test.where_is('swig')" ], [ "# The ideal way of doing would be to modify the connexion settings in", "# order to have a connexion singleton in the file partner.py it will", "# avoid connexion renegotiation for each partner." ], [ "_pyatb_glut_window_key_MOD_CTRL = 2", "_pyatb_glut_window_key_MOD_ALT =4 " ], [ "script_dir = None" ], [ "# Using this as \"default=\" argument solve the problem with Datetime object not being JSON serializable" ], [ "RECURSIVE = os.path.join(ROOT, 'recursive_templates')" ], [ "# Register your models here." ], [ "from airflow import PY38" ], [ "jinja2_template = functools.partial(template, template_adapter=Jinja2Template)" ], [ "base_omissions = ['.git', '.gitignore', '.gitmodules', 'revision']" ], [ "BLOCK_CONTEXT_KEY = 'block_context'" ], [ "import sys", "import re" ], [ "remat = checkpoint" ], [ "from google.appengine.api import apiproxy_stub" ], [ "FILE_RUN = '/tmp/ansible_test_finish'" ], [ "# Set the CURRENT_AGENT and CURRENT_VERSION to match the agent directory name", "# - This ensures the agent will \"see itself\" using the same name and version", "# as the code that downloads agents." ], [ "# bpmd " ], [ "import os" ], [ "### Begin imported Functions" ], [ "from ansible.module_utils.network.fortimanager.common import FAIL_SOCKET_MSG" ], [ "# TODO test of features parameters" ], [ "from tdl import Console" ], [ "nomt=[\"\" for x in range (0,nmis)]", "nomv=[\"\" for x in range (0,nmis)]" ], [ "from sinz.Util import Util, CmdRunException" ], [ "# Would complicate code with too many branches", "# pylint: disable=too-many-return-statements" ], [ "from django.db import migrations, connections" ], [ "TYPE_TO_PLATFORMS: dict[SensorType, list[str]] = defaultdict(list)" ], [ "logger = logging.getLogger(__name__)" ], [ "# Repulsion function. 'n' is node and 'r' is region" ], [ "# url: http://my.foo.bar/$INSTANCE_ID/", "# post: [ pub_key_dsa, pub_key_rsa, pub_key_ecdsa, instance_id", "#" ], [ "from heat.tests import common" ], [ "#-------------------------------------------------------------------", "# main()", "#-------------------------------------------------------------------" ], [ "import time", "import datetime" ], [ "### invoke the module" ], [ "__all__ = ['LampirisModule']" ], [ "# Functions used to create test cases from the base ones in this module", "#" ], [ "cache_force = False", "cache_show = False" ], [ "new_name = 'python.md'" ], [ "# This function was autogenerated by boilerplate.py. Do not edit as", "# changes will be lost" ], [ "from logilab.common.changelog import ChangeLog" ], [ "from sqlalchemy.dialects.postgresql import UUID, JSON" ], [ "from . import FairseqDecoder" ], [ "LOG = minimal_logger(__name__)" ], [ "# FACTORIES ////////////////////////////////////////////////////////////" ], [ "backend_registry = SortedDict()" ], [ "# The weakref module is unable to create a reference to a bound method. This can." ], [ "from .. import logs, const" ], [ "__all__ = ['BinaryTree']" ], [ "from official.utils.flags._conventions import help_wrap" ], [ "industry_file = codecs.open(path + '/data_files/industry_classify.txt', 'r', 'utf-8')", "industry_dic = {}", "industryLines = [line.strip() for line in industry_file.readlines()]" ], [ "from ..base.decrypter import BaseDecrypter" ], [ "import datetime" ], [ "import lms.djangoapps.courseware.models" ], [ "# Apparently, the offsets we get from tsearch_extras are counted in", "# unicode characters, not in bytes, so we do our processing with text,", "# not bytes." ], [ "# No GEOS library could be found." ], [ "from sympy.core.compatibility import range" ], [ "admin.site.register(models.Club)" ], [ "# https://tools.ietf.org/html/rfc6979#section-3.2" ], [ "PACKAGE_TARGETS = GetPackageTargets()" ], [ "title = \"Thermo Scientific - Arena 20XT\"" ], [ "# USING option AND option AND ..." ], [ "INV_TYPE = REC_PAY_TYPE + REFUND_TYPE" ], [ "import autocomplete_light" ], [ "from .common import TestData" ], [ "from webodm.wsgi import booted" ], [ "_warnings_showwarning = None" ], [ "from django.db import models" ], [ "from pygbe.util.read_data import read_parameters, read_electric_field", "from pygbe.tree.FMMutils import computeIndices, precomputeTerms, generateList" ], [ "# Get the current package version.", "version_ns = {}" ], [ "# Resource Exceptions", "#################################################" ], [ "import comm" ], [ "# Using the ctypes `find_library` utility to find the", "# path to the GDAL library from the list of library names." ], [ "import os.path", "from geometry_msgs.msg import PoseWithCovarianceStamped" ], [ "assert 'r' in x", "assert 'rty' not in x" ], [ "builtin_vars = dir(__import__('__builtin__' if PY2 else 'builtins'))" ], [ "_lib.TCOD_image_get_pixel.restype = Color", "_lib.TCOD_image_get_mipmap_pixel.restype = Color" ], [ "from pinject import providing" ], [ "rm_tgt(stlink_task)" ], [ "# Dissolved gas" ], [ "from rest_framework.utils import html" ], [ "from unittest.mock import MagicMock" ], [ "from openerp import models, fields" ], [ "log = logging.getLogger(__name__)" ], [ "sys.path.insert(1, \"../../../\")", "import h2o, tests" ], [ "# TODO: Consider using cStringIO instead of buffers and data_lists when reading", "# and writing." ], [ "# An undocumented, backwards compatible, API for all the places in the standard", "# library that expect to be able to use tokenize with strings" ], [ "logger = logging.getLogger(__name__)" ], [ "from tasks.models import TaskModel", "from practice.models import StudentModel" ], [ "s_block_end(\"CMD_FRMT_+CMGR\")" ], [ "# reverse trie : add words in reverse fashion for 'endswith' interface" ], [ "####################" ], [ "# Assume that the string is length 1 or more.", "# Hint: s.replace(stra, strb) returns a version of string s", "# where all instances of stra have been replaced by strb." ], [ "TransferRouter = typing.Callable[[pyuavcan.transport.Transfer, float], typing.Awaitable[bool]]" ], [ "import abdi_startstop" ], [ "EXSL_FUNCTIONS_NS = \"http://exslt.org/functions\"" ], [ "import random" ], [ "NUM_SAMPLED = 100", "TARGET = 'autoencoder'" ], [ "from . import schema as db" ], [ "from pygments.token import Comment, Keyword, Literal, Operator, Text", "from pygments.lexer import RegexLexer" ], [ "s= marker_sets[\"particle_169 geometry\"]", "mark=s.place_marker((2449.8, 2888.3, 3064.74), (0.7, 0.7, 0.7), 172.119)" ], [ "from tensorflow.python.ops import math_ops" ], [ "action.subtypes[5] = set_nw_src" ], [ "from prototypes.battle.source.base import constants" ], [ "WEIGHTS_PATH_NO_TOP = 'https://github.com/fchollet/deep-learning-models/releases/download/v0.2/resnet50_weights_tf_dim_ordering_tf_kernels_notop.h5'" ], [ "# 47.4 Value range", "# 47.4.1" ], [ "# Generate all themes article" ], [ "#INF header lines get grabbed" ], [ "_pools_output = _DEFAULT_POOL" ], [ "down_revision = '3b997c7a4f0c'" ], [ "from .models import Text" ], [ "log = get_module_logger(__name__)" ], [ "from lsprof import Profiler, _fn2mod", "from lsprof import Stats as lsprof_Stats" ], [ "# %% Wafer template for MBE growth" ], [ "JSONField.register_lookup(HasAll)" ], [ "# Client" ], [ "import platform", "from pkg_resources import parse_version" ], [ "s= marker_sets[\"particle_9 geometry\"]", "mark=s.place_marker((9467.72, 3229.3, 7654.57), (1, 0.7, 0), 821.043)" ], [ "import os" ], [ "from common_kube import KubeTest" ], [ "BaseManager.register('get_nodeid_by_nename')" ], [ "PORT_ID = _uuid()" ], [ "DRIVER_CONFIG = {\"ATTACH_FROM_CONFIG_WITH_TAPDISK\": True}" ], [ "from official.utils.misc import tpu_lib" ], [ "cmd = paste.script.appinstall.SetupCommand('setup-app')", "cmd.run([test_file])" ], [ "# Functions for use by pandas developers, in addition to User - api" ], [ "import pandas" ], [ "s= marker_sets[\"particle_63 geometry\"]", "mark=s.place_marker((2178.26, 2977.72, 4552.3), (0.7, 0.7, 0.7), 241.406)" ], [ "# Calcula os segurados urbanos que recebem o SM e acima do SM", "# Equa\u00e7\u00e3o 8 da LDO de 2018 " ], [ "User = get_user_model()" ], [ "eq_xpath_wmts = functools.partial(eq_xpath, namespaces=ns_wmts)" ], [ "from cleverhans.experimental.certification import nn" ], [ "class EmptyTableError(ValidationError): pass", "class LinkExistsError(ValidationError): pass", "class InvalidEmailAddressError(ValidationError): pass" ], [ "from msrest.serialization import Model" ], [ "click = sys.modules[__name__.rsplit('.', 1)[0]]" ], [ "import sys, os, markdown, re", "from BeautifulSoup import BeautifulSoup" ], [ "from django.utils.text import format_lazy" ], [ "# Tai Sakuma ", "##__________________________________________________________________||" ], [ "from indivo.tests.internal_tests import TransactionInternalTests", "from indivo.tests.data import TEST_ACCOUNTS, TEST_RECORDS, TEST_TESTMED_JSON" ], [ "# sale journal inherit", "#==============================================" ], [ "del (Cert_6_1_2_REEDAttach_Base)" ], [ "s= marker_sets[\"particle_85 geometry\"]", "mark=s.place_marker((1739.11, 3172.68, 4299.68), (0.7, 0.7, 0.7), 92.1294)" ], [ "from django.db import models" ], [ "from django.core.exceptions import ValidationError" ], [ "s= marker_sets[\"particle_46 geometry\"]", "mark=s.place_marker((2322.87, 1670.33, 3872.56), (1, 0.7, 0), 175.207)" ], [ "DATADOG.update(ENV_TOKENS.get(\"DATADOG\", {}))", "# TODO: deprecated (compatibility with previous settings)" ], [ "# For time of deprecation x,y from Estimator allow direct access", "# pylint: disable=protected-access" ], [ "import sys" ], [ "global_filters['restrict_version'] = ProviderFilter(restrict_version=True)" ], [ "# MSB to LSB" ], [ "here = path.abspath(path.dirname(__file__))", "# Get the long description from the README file" ], [ "# Get count of all punctuations in a tweet." ], [ "def get_boolean_groups(name): return map(int, name[10:].split('_'))", "def get_selection_groups(name): return map(int, name[11:].split('_'))" ], [ "from pySDC.core.Problem import ptype" ], [ "FOF_ALLOWUNDO = 64", "FOF_NOERRORUI = 1024" ], [ "# Create your models here." ], [ "from Exception import Exception" ], [ "log = logging.getLogger(__name__)" ], [ "from scipy.optimize import minimize" ], [ "PE_SPEED = \"Speed\"", "PE_CARRIER = \"Carrier\"" ], [ "# Calculates the bilinear fetch for a certain edge combination:" ], [ "optimizer = torch.optim.Adam(scale_lr(cnn.parameters(), lr_start), lr=lr_start) ", "# Train the Model" ], [ "log = getLogger(__name__)" ], [ "# Emulate the binary." ], [ "from fractions import Fraction", "import sys" ], [ "# procedure to determine whether enemies attack" ], [ "# Every doc_* file needs front matter", "docs = {}" ], [ "import os", "from os.path import join, split" ], [ "from filter_plugins import to_icinga2" ], [ "gis_lookups['overlaps_below'] = OverlapsBelowLookup" ], [ "from aquilon.worker.broker import BrokerCommand" ], [ "# If the last text on screen was printed using sameline, this prints a blank line, else does nothing" ], [ "import collections" ], [ "import numpy" ], [ "from lib2to3.fixer_util import Call, Name, String, touch_import" ], [ "from locale import getpreferredencoding" ], [ "from numbers import Integral", "from IPython.display import display_html, display_javascript" ], [ "import psycopg2" ], [ "## read files", "u = mda.Universe(args.structure,args.input)", "n_frames = len(u.trajectory)" ], [ "s= marker_sets[\"particle_21 geometry\"]", "mark=s.place_marker((7772.37, 3738.47, 6480), (0.7, 0.7, 0.7), 653.154)" ], [ "PY3 = version_info >= (3, 0)" ], [ "from qgis.PyQt.QtCore import QLocale" ], [ "# Ice.initialize returns an initialized Ice communicator,", "# the communicator is destroyed once it goes out of scope.", "#" ], [ "s= marker_sets[\"particle_275 geometry\"]", "mark=s.place_marker((1730.51, 3560.48, 2580.16), (0.7, 0.7, 0.7), 144.412)" ], [ "import os", "from omniORB import any" ], [ "REFERENCE_FILENAME = 'rpc_interface.txt'" ], [ "from autotest_lib.client.common_lib.test_utils import mock, unittest" ], [ "PROC_STATUS_FILENAME_FORMAT = \"/proc/{0}/status\"" ], [ "DelayedCall = try_import('twisted.internet.base.DelayedCall')" ], [ "#------------------------", "# Extraction file object", "#------------------------" ], [ "#", "PRJ_FILE = os.path.join('data', 'projects.sqlite')" ], [ "__docformat__ = \"restructuredtext en\"" ], [ "### Custom G-Zipped Cache ###" ], [ "# ------------------------------------------------------------------------------" ], [ "__author__ = 'Luca Venturini'" ], [ "from ..base.addon import BaseAddon" ], [ "# ==========================================================" ], [ "from .packages import six" ], [ "from PyQt4.QtCore import *", "from electrum_ltc.i18n import _" ], [ "import pylab", "from numpy import *" ], [ "encode_func[TupleType] = encode_list", "encode_func[DictType] = encode_dict" ], [ "# Implementing ChooseFile" ], [ "_FlaskViewBase = _FlaskViewMeta('_FlaskViewBase', (object, ), {})" ], [ "from nova import test" ], [ "import glow" ], [ "from watcher.tests import base" ], [ "from django.db import models, migrations" ], [ "# for atan(), asinh()" ], [ "import models", "from models import Event, make_event, parse_time, Session" ], [ "import binascii, errno, random, re, socket, subprocess, sys, time" ], [ "import time", "from time import time as timestamp", "# ------------------------------------------------------------------------------" ], [ "# models for test_q_object_or:" ], [ "luigi.notifications.DEBUG = True" ], [ "from dashboard.models import anomaly" ], [ "LOCK_NAME = \"saved_searches_report\"" ], [ "NOM_VALIDE = r\"^[A-Za-z]{4,}$\"" ], [ "# Print iterations progress", "# Print iterations progress" ], [ "import tempfile", "import unittest" ], [ "import numpy as np", "import math" ], [ "from .utils.adb import ADB" ], [ "import struct", "from simplejson.scanner import make_scanner" ], [ "print(ctx.m.ctx.result.value)", "print(ctx.result.value)" ], [ "try: url=urllib.unquote_plus(params[\"url\"])", "except: pass" ], [ "from distutils.tests import support", "from sysconfig import get_platform" ], [ "from sympy.utilities.pytest import XFAIL, raises" ], [ "################################################################################" ], [ "import os", "import warnings" ], [ "from type_assertions import accept_types" ], [ "FLAGS = flags.FLAGS" ], [ "# https://stackoverflow.com/questions/4265546/python-round-to-nearest-05" ], [ "from streamlink_cli.output import FileOutput, PlayerOutput" ], [ "from .engine import *" ], [ "import mock # pylint: disable=wrong-import-position" ], [ "from ..utils import parameter_helper as helper" ], [ "# An inter-related setup with a model subclass that has a nullable", "# path to another model, and a return path from that model." ], [ "from sympy.abc import a, b, t, x, y, z" ], [ "from pyphi import convert" ], [ "from hyperv.tests.unit import test_base" ], [ "FPSCLOCK=pygame.time.Clock()", "gameLoop=True" ], [ "from markitup.settings import MARKITUP_PREVIEW_FILTER" ], [ "#Logout settings.", "from shibboleth.app_settings import LOGOUT_URL, LOGOUT_REDIRECT_URL, LOGOUT_SESSION_KEY" ], [ "import sys" ], [ "HAS_BELOW_SHADOW = 2" ], [ "from templateFileGeneration import *" ], [ "from willow.image import Image, RGBImageBuffer" ], [ "_showwarning = warnings.showwarning" ], [ "# =============================================================================" ], [ "from pandas.core.arrays import SparseArray" ], [ "regexs = {}", "lib_dependencies = {}", "file_root_names = {}" ], [ "import cv2 # pip install opencv-python", "available_font = \"arial.ttf\"" ], [ "if N == 4:c = [108, 120, 24, 4]", "if N == 5:c = [1280, 1520, 280, 40, 5]", "if N == 6:c = [18750, 23400, 3930, 510, 60, 6]" ], [ "from traits.api import Callable, Enum, Float, Interface" ], [ "from openerp.osv import osv,fields, orm", "from openerp.tools.translate import _" ], [ "from openerp import models, fields, api, exceptions, _" ], [ "print(50 * '-')" ], [ "s= marker_sets[\"particle_14 geometry\"]", "mark=s.place_marker((6635.08, 807.235, 6705.7), (0.7, 0.7, 0.7), 831.745)" ], [ "# Utils - alignment", "# #####################################################" ], [ "from ormageddon.wrappers import NaiveQueryResultWrapper" ], [ "from django.db import models", "from django.utils.translation import ugettext_lazy as _" ], [ "# Import NumPy", "import numpy as np", "major, minor = [ int(d) for d in np.__version__.split(\".\")[:2] ]" ], [ "import sys" ], [ "from tools.translate import _" ], [ "from urllib import parse" ], [ "## - api is an example of Hypermedia API support and access control", "#########################################################################" ], [ "# Definitions not depending on native semaphores", "#" ], [ "log = logging.getLogger('metainfo_series')" ], [ "# ----" ], [ "# the data", "knn_graph = kneighbors_graph(reduced_data, 30, mode='distance')" ], [ "__all__ = ['Task']" ], [ "from .base import RemoteShieldRepairEffect" ], [ "# Allows running as a script. __name__ check needed with multiprocessing:", "# http://code.google.com/p/robotframework/issues/detail?id=1137" ], [ "logger.info(\"Getting the zip file\")", "request_header = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36'}", "r = requests.get(findex_zip_file_url, stream=True, headers=request_header)" ], [ "from tests.common import get_test_home_assistant" ], [ "assert __version__ is not None" ], [ "# Create customized model view class" ], [ "oarsub.add_command('export OMP_NUM_THREADS=1')", "# Collisions" ], [ "is_index = connection.vendor != 'mysql'" ], [ "import os" ], [ "from .runbot_repo import escape_branch_name" ], [ "assemblers = ['as', 'gas']" ], [ "### Other error-checking routines ###" ], [ "# Fields #####################################################################" ], [ "import sys", "import cPickle as pickle" ], [ "slot = FoodSlot(Door(), Light())" ], [ "from sf import DEFAULT_ENCODING, TEST_TIMEOUT, MAX_BYTES_READ, deread", "from sf.solution import ExecutionException" ], [ "from pumphouse.tasks import secgroup" ], [ "from cfn_sphere.exceptions import CfnSphereException, CfnSphereBotoError" ], [ "######## RATINGS MICROSERVICE" ], [ "codes[' ']=codes['SP']" ], [ "from processing.core.outputs import OutputVector" ], [ "dds_prescalers = [0, 3, 6, 8, 10]", "timer_max = 2**TIMER_BITS - 1" ], [ "logger = ActivityLogObservable.ActivityLogObservable('voting_' + __name__)" ], [ "import re", "#Define exceptions" ], [ "from test_framework.util import assert_equal" ], [ "from surveil.api.storage.mongodb.config import contactgroup as storage" ], [ "def UCRc(x): return x", "def UCRm(x): return x", "def UCRy(x): return x" ], [ "from ansible.module_utils.facts.collector import BaseFactCollector" ], [ "from atom_generator import AtomGeneratorBase" ], [ "sys.path.insert(0, \"..\")" ], [ "# Correctly substitute for %z and %Z escapes in strftime formats." ], [ "dot_re = re.compile(r'\\S')" ], [ "from django.db.models import query", "import django.core.paginator" ], [ "from south.v2 import SchemaMigration", "from django.db import models" ], [ "# Main.{main34}" ], [ "from dojo.models import Finding, Endpoint" ], [ "from django.db import migrations, models" ], [ "# REF [site] >> https://www.pythoncentral.io/introductory-tutorial-python-sqlalchemy/" ], [ "assert(len(session_storage) == 1)", "del session_storage['hi']", "assert(len(session_storage.keys()) == 0)" ], [ "compilers = ['g77', 'f77']" ], [ "command = []" ], [ "_BUILTIN_TYPE_NAMES = {}" ], [ "s= marker_sets[\"particle_265 geometry\"]", "mark=s.place_marker((2251.9, 2643.45, 3166.21), (0.7, 0.7, 0.7), 195.003)" ], [ "from distutils.errors import DistutilsError, DistutilsOptionError", "import os, sys, setuptools, glob" ], [ "from django.db import models, migrations" ], [ "_COMMENTED_LINE = re.compile('#.*?(?=\\n)|\\n(?=$)', re.M | re.S)" ], [ "# Read the list of predictions from txt file" ], [ "# CONFIG UTILS - TO BE MOVED?" ], [ "from pysnmp.smi import error", "from pysnmp import debug" ], [ "_TZ_FMT = '%Y-%m-%d %H:%M:%S %Z%z'" ], [ "class InvalidFieldNameError(frappe.ValidationError): pass", "class UniqueFieldnameError(frappe.ValidationError): pass" ], [ "car.shape(\"turtle\")", "turtle.hideturtle()" ], [ "# Adds items to the given shelf." ], [ "import pymysql", "import time" ], [ "from pymech.units.SI import ureg, Q_" ], [ "from . import sum_resource_volume" ], [ "from sentry.utils import json" ], [ "from ..models import User, Trainer, get_db", "import os" ], [ "from .patchewtest import PatchewTestCase, main" ], [ "# polluting the release with version control files." ], [ "###############################################################################" ], [ "# Given a regular expression pattern, linkifies groups that match it", "# using the provided format string to construct the URL." ], [ "plantestsuite_loadlist(\"samba4.rpc.echo against NetBIOS alias\", \"dc\", [valgrindify(smbtorture4), \"$LISTOPT\", 'ncacn_np:$NETBIOSALIAS', '-U$DOMAIN/$USERNAME%$PASSWORD', 'rpc.echo'])", "# Tests using the \"Simple\" NTVFS backend" ], [ "HANDLERS = {}" ], [ "sale_order_report_extended()" ], [ "#=======================================================================================================================", "# SetupHolder", "#=======================================================================================================================" ], [ "from app_lib import AppLib", "# can't import TCEX profile until the system path is fixed" ], [ "from ..runtime.purity import register_pure" ], [ "#-------------------------------------------------------------------------------", "# Toggle toplevel window height", "#-------------------------------------------------------------------------------" ], [ "from ..compat import compat_urllib_parse_unquote" ], [ "# media.py", "from functools import lru_cache" ], [ "from ansible.module_utils._text import to_bytes, to_native, to_text", "from ansible.module_utils.six import b, binary_type" ], [ "# Given a CM-Well Infoton base (e.g /permid.org) create a consumer token" ], [ "from twisted.python import failure" ], [ "# object classes", "#--------------------------------------------------------------------------------" ], [ "unicode_emoji_list = [os.path.splitext(os.path.basename(fn))[0] for fn in glob.glob(path_to_unicode_emoji)]" ], [ "# Sharing of Variables" ], [ "# Classes" ], [ "from grpc.beta import implementations" ], [ "from . import axis" ], [ "_logger = logging.getLogger(__name__)" ], [ "from .scheme import Scheme, SchemeNode, SchemeLink" ], [ "import threading" ], [ "s= marker_sets[\"particle_174 geometry\"]", "mark=s.place_marker((1541.31, 3634.92, 3039.98), (0.7, 0.7, 0.7), 126.858)" ], [ "from . import domainresource" ], [ "import re" ], [ "# task specific code", "##################", "## FR-HIT" ], [ "from .fixtures import *" ], [ "ch = OnClickHandler()" ], [ "from emonitor.modules.printers.printerutils import PrintLayout" ], [ "from pandas.io.formats.style import Styler, _get_level_lengths # noqa # isort:skip" ], [ "syslog.openlog('ansible-%s' % os.path.basename(__file__))", "syslog.syslog(syslog.LOG_NOTICE, 'Invoked with %s' % \" \".join(sys.argv[1:]))" ], [ "class GeneralProxyError(ProxyError): pass", "class Socks5AuthError(ProxyError): pass", "class Socks5Error(ProxyError): pass" ], [ "from server.models import Account, DiningBalance, sqldb" ], [ "from setuptools.command.test import test as TestCommand" ], [ "from topaz.pwr import PowerSupply" ], [ "from .exceptions import MissingCorpusException" ], [ "from erpnext.accounts.doctype.account.test_account import get_inventory_account", "from erpnext.stock.doctype.item.test_item import make_item", "from six import iteritems" ], [ "# ------------------------------------------------------------------------------" ], [ "cache_id_counter = 0", "cache_id_writelock = Lock()" ], [ "slimmedJetsSequence = makeJets(process, options.isData, 'AK4PFchs', 'pfCHS', 'DeepFlavor')" ], [ "INDEX_TYPE_OPTIONS = ['all', 'global_all', 'global_include', 'global_keys_only', 'include', 'keys_only']" ], [ "provider = None" ], [ "INTERFACE_FULL_NAME = 3" ], [ "from a10sdk.common.A10BaseClass import A10BaseClass" ], [ "logger = getLogger(__name__) # pylint: disable=invalid-name" ], [ "yacc.yacc()" ], [ "MEDIA_URL = '/media/'", "MEDIA_ROOT = os.path.join(BASE_DIR, MEDIA_URL.strip('/'))" ], [ "from registration.users import UsernameField" ], [ "print(\"ArrDelay and FlightDate removed from training data...\")", "# Must convert datetime strings to unix times" ], [ "log = logging.getLogger('WakaTime')" ], [ "import sys", "from collections import defaultdict" ], [ "import re", "import traceback" ], [ "ATTRIBUTE_ENDS = ASPECIALS | WSP", "EXTENDED_ATTRIBUTE_ENDS = ATTRIBUTE_ENDS - set('%')" ], [ "import abjad" ], [ "GETTEXT_FUNCTIONS = ('_', 'gettext', 'ngettext')" ], [ "log = Logger()" ], [ "settrace_and_return.events = [(1, 'return')]" ], [ "from telemetry.perf_tests_helper import PrintPerfResult" ], [ "#listCoord - coordinate of beginning pixel, row, col - rectangle to rotate, iscycle - cycle shape or rec " ], [ "# create inception-resnet-v2" ], [ "#end confirm_resources" ], [ "import sqlalchemy as sa" ], [ "from plone import api" ], [ "import struct", "import time" ], [ "from Helper import (get_nearest_visible_enemy,)" ], [ "s= marker_sets[\"particle_31 geometry\"]", "mark=s.place_marker((2151.3, 3257.49, 4201.04), (0.7, 0.7, 0.7), 156.552)" ], [ "class ErrorCalendarIsCancelledForAccept(ResponseMessageError): pass", "class ErrorCalendarIsCancelledForDecline(ResponseMessageError): pass", "class ErrorCalendarIsCancelledForRemove(ResponseMessageError): pass" ], [ "import stat", "import traceback" ], [ "env.abort_exception = AbortException" ], [ "#", "##########################################################################" ], [ "SUBNET_CIDR = '10.0.0.0/24'" ], [ "import unittest", "import collections", "# 24ms 90.52%" ], [ "# E x a m p l e M o d u l e M g r *", "#*******************************************************************************" ], [ "# Complex type", "# {http://www.fatturapa.gov.it/sdi/fatturapa/v1.1}DatiBolloType with", "# content type ELEMENT_ONLY" ], [ "# #", "########################################################################" ], [ "__all__ = ['Cache']" ], [ "from plone import api" ], [ "urlize = allow_lazy(urlize, six.text_type)" ], [ "from django.forms.models import ModelFormMetaclass", "import django" ], [ "# Only for UV's", "# only returns outline edges for intersection tests. and unique points." ], [ "#", "# Note that this is only the case for git-archives. sdist tarballs have", "# all relevant information (but not the Java sources)." ], [ "###############################################################################", "# Test parallel" ], [ "# \"WizardTreeContentProvider\" class:", "#------------------------------------------------------------------------------" ], [ "__all__ = []" ], [ "#Call main function" ], [ "from espressopp.interaction.Interaction import *", "from _espressopp import interaction_FENECapped, interaction_FixedPairListFENECapped" ], [ "chart_mapping = dict(chart_mapping)" ], [ "MALFORMED_AUTH_RESPONSE = AuthenticationResponse()" ], [ "import marcottievents.models.common.overview as mco" ], [ "KEY, NODE = range(2)" ], [ "## Implementation of 1D color histograms." ], [ "__all__.append('get_component')" ], [ "from hachoir_core.tools import createDict", "from hachoir_parser.network.common import MAC48_Address, IPv4_Address" ], [ "g()", "# this function exercises load_fast_n and store_fast_n opcodes" ], [ "# Response/views used for CsrfResponseMiddleware and CsrfViewMiddleware tests" ], [ "rrd_th.rrd_freemem.restype = None" ], [ "import sys", "## Import" ], [ "s= marker_sets[\"particle_91 geometry\"]", "mark=s.place_marker((3486.51, 3114.93, 3480.38), (0.7, 0.7, 0.7), 83.8386)" ], [ "s= marker_sets[\"particle_194 geometry\"]", "mark=s.place_marker((1785.01, 916.641, 2750.22), (0.7, 0.7, 0.7), 134.26)" ], [ "#==============================================================================" ], [ "# (used in VaultFile header) to a cipher class" ], [ "from django.db import models" ], [ "import logging", "# Add script directory to the PYTHONPATH so we can import our modules (only if run from SecureCRT)" ], [ "from UserList import UserList" ], [ "# don't remove, launcher web_control need it." ], [ "import _numeric", "import _errors" ], [ "import os" ], [ "NDSHOST = 'nds.ligo-la.caltech.edu'" ], [ "from mock import ANY", "from ansible.module_utils.network.fortios.fortios import FortiOSHandler" ], [ "import inspect" ], [ "FD_METHODS = ('2-point', '3-point', 'cs')" ], [ "quotedString = Regex(r'''(?:\"(?:[^\"\\n\\r\\\\]|(?:\"\")|(?:\\\\x[0-9a-fA-F]+)|(?:\\\\.))*\")|(?:'(?:[^'\\n\\r\\\\]|(?:'')|(?:\\\\x[0-9a-fA-F]+)|(?:\\\\.))*')''').setName(\"quotedString using single or double quotes\")", "unicodeString = Combine(_L('u') + quotedString.copy()).setName(\"unicode string literal\")" ], [ "# Translations ###############################################################", "##############################################################################" ], [ "_LOGGER = logging.getLogger(__name__)" ], [ "import urllib2" ], [ "# ----------------------------------------------------------------------" ], [ "from MC6809.components.cpu_utils.instruction_caller import opcode" ], [ "# Help and Version option tests", "# =============================" ], [ "TYPE_MULTI_SEGMENT = 'multi-segment'" ], [ "(_AND, _OR, _NOT, _TRUE, _FALSE) = ('and', 'or', 'not', 'True', 'False')" ], [ "CHECK_INTERVAL_LOWER_BOUND_SEC = 1" ], [ "CONF = config.CONF" ], [ "# Reference: http://en.wikipedia.org/wiki/Line-line_intersection" ], [ "import pygame # pylint: disable=import-error" ], [ "import socket" ], [ "# port of python 2.6's attrgetter with support for dotted notation" ], [ "Rescan = enum.Enum(\"Rescan\", \"no yes late_timestamp\")" ], [ "from affinityparser import main as parse, kill as kill_parser" ], [ "logger = logging.getLogger(__name__)" ], [ "import time" ], [ "###############################################################################", "# Test append of several layers in PG_USE_COPY mode (#6411)" ], [ "from django.db import models" ], [ "image_size = 96", "num_targets = 30" ], [ "import roslib", "## @internal" ], [ "log = logging.getLogger('notify_xmpp')" ], [ "test_dir = os.path.dirname(__file__) or os.curdir", "format_testfile = os.path.join(test_dir, 'formatfloat_testcases.txt')" ], [ "from openstack_dashboard.test.integration_tests.regions import tables" ], [ "# ----------------------------------------------------------------------" ], [ "CONF = nova.conf.CONF" ], [ "from msrest.serialization import Model" ], [ "############################################################################", "## Cutter radius compensation" ], [ "IS_JYTHON = sys.platform.find('java') != -1", "DEBUG = 0" ], [ "# Tests for normal situations" ], [ "from .install import install, uninstall", "from .bkr2ipynb import main" ], [ "###################################" ], [ "List_of_plants.append(cherry)" ], [ "kernel32 = windll.kernel32" ], [ "from dcuolfg.characters.views import _get_server_value_from_name" ], [ "# 36ms 15.91%", "# Definition for a binary tree node." ], [ "from utils import *", "from mhd_utils import *" ], [ "from enumfields import Enum, EnumIntegerField" ], [ "wxAboutBox = wx.AboutBox" ], [ "# Exclude members of some libraries." ], [ "import yaml" ], [ "signal.signal(signal.SIGINT, lambda signal_number, current_stack_frame: sys.exit(0))", "# Define a fatal error handler" ], [ "import tempfile" ], [ "# fuse_br2c_br2c_onnx(registry, network)", "#" ], [ "from xmodule.modulestore.django import modulestore" ], [ "from cherrypy.test import helper" ], [ "from cms.utils.conf import get_cms_setting" ], [ "DEFAULT_ENERGY = 7.6368" ], [ "TestDescription = namedtuple(\"TestDescription\", ['name', 'lines'])" ], [ "## a string (such as an object's docstring). The DocTest class also", "## includes information about where the string was extracted from." ], [ "# Who remembers high school biology?" ], [ "dict_file = \"./data/dict.txt\"", "word_dict = dict()" ], [ "### OrderedDict", "################################################################################" ], [ "from config import MIN_SATOSHIS_PAYMENT" ], [ "_orgsocket = socket.socket", "class ProxyError(Exception): pass" ], [ "Vax.plot(t, data['theta'], 'g', lw=2, label=r'$\\Theta$')", "Vax.set_ylabel('Potential [mV]')" ], [ "from .ipython_widget import IPythonWidget" ], [ "# --------------------------------------------------------------------", "# public interface" ], [ "(options, args) = parser.parse_args(sys.argv[1:])" ], [ "# Base conversions; not really implemented by sympy", "# Whatever. Take credit!" ], [ "42 not in None # [unsupported-membership-test]", "42 in 8.5 # [unsupported-membership-test]" ], [ "admin.site.register(Asset, AssetAdmin)" ], [ "from edxapp_acceptance.pages.lms.course_page import CoursePage" ], [ "from django.db import migrations, models" ], [ "User.get_absolute_url = get_absolute_url" ], [ "from comicvinetalker import ComicVineTalker", "import utils" ], [ "GET_MOUNT_SIZE = {}" ], [ "from . import domainresource" ], [ "from ansible.module_utils.basic import *", "from ansible.module_utils.database import *", "from ansible.module_utils.mysql import *" ], [ "#\u5411\u670d\u52a1\u5668\u83b7\u53d6\u5bc6\u5319\uff0c\u7528\u4e8e\u52a0\u5bc6\u7528\u6237\u5bc6\u7801" ], [ "renderers.enable('default')" ], [ "# Converters (indicate how to convert from string arguments to values)" ], [ "import traceback" ], [ "#test that the Combiner raises error if empty" ], [ "import sys", "# split a matches dump up into learning, testing, and validation datasets" ], [ "import urllib" ], [ "from op_test import OpTest" ], [ "def TypeSwitchCase(): return _, [('case', TypeList), 'default']", "def SelectStmt(): return _, 'select', _, '{', ZeroOrMore(CommClause), _, '}'", "def CommClause(): return CommCase, ':', StatementList" ], [ "DEFAULT_LOG_AFTER = 30" ], [ "script_dir = os.path.dirname(sys.argv[0]) " ], [ "from django.db import models" ], [ "scaled_data = scaler.fit_transform(dataset)", "x_train, y_train = [], []" ], [ "import os" ], [ "# cross_tool provides the cross compiler", "# EXEC_PATH is the compiler execute path, for example, CodeSourcery, Keil MDK, IAR" ], [ "s= marker_sets[\"particle_156 geometry\"]", "mark=s.place_marker((2074.85, 2310.36, 2483.84), (0.7, 0.7, 0.7), 119.582)" ], [ "import google.auth" ], [ "# ===========================================", "# Subclass: SunOS" ], [ "from ..utils import setup" ], [ "import random" ], [ "#clone_objects Copyright (C) 2009 Rune Bromer", "#http://www.bromer.eu/2009/05/23/a-generic-copyclone-action-for-django-11/" ], [ "# Call tree data model level three item" ], [ "args.extend(cflags)", "args.extend(ldflags)", "binary = 'ninja.bootstrap'" ], [ "ATTRIB_COMPONENT = '_pype_component'" ], [ "Iq.vectorized = True # Iq accepts an array of q values" ], [ "from ryu.services.protocols.bgp.operator.commands.show import vrf" ], [ "TENANT2 = '2c014f32-55eb-467d-8fcb-4bd706012f81'" ], [ "converter[tuple] = lambda tup: Tuple(*tup)" ], [ "_notebook_loaded = None" ], [ "MIN_DB_VERSION = 9 # oldest db version we support migrating from", "MAX_DB_VERSION = 18" ], [ "import sys", "import tempfile" ], [ "from phycas.probdist import Exponential", "from phycas.commands.SimImpl import SimImpl" ], [ "#Object to parse command-line arguments" ], [ "genhalflogistic = genhalflogistic_gen(a=0.0, name='genhalflogistic')" ], [ "# Theta", "# -----" ], [ "from wafer.pages.models import Page, page_menus" ], [ "from resources.lib.modules import dom_parser" ], [ "import sys, os" ], [ "VALUE_CAPTURE_MODE_UNKNOWN = \"unknown\"" ], [ "n_samples_range = np.logspace(1, 9, 9)", "plt.figure()" ], [ "sys.path.append(os.path.split(dirName)[0])" ], [ "ARCH = platform.machine()" ], [ "# ---------------------------------------------------------------------------" ], [ "proto = 'UDP'", "# list the redirections :", "i = 0" ], [ "_compare_operators = frozenset(['eq', 'ne', 'lt', 'lteq', 'gt', 'gteq'])" ], [ "from flatbuffers.compat import import_numpy", "np = import_numpy()" ], [ "from targets.utils import csr_map_update" ], [ "registerStanzaPlugin(PubsubOwner, OwnerAffiliations)" ], [ "SCENE_MODEL_SAVE_PATH = \"/home/yan/Desktop/QlabChallengerRepo/ai_challenger_scene/resnet50\"" ], [ "from ansible.module_utils.docker_common import AnsibleDockerClient, DEFAULT_DOCKER_REGISTRY, DockerBaseClass, EMAIL_REGEX" ], [ "from spack import *" ], [ "import sys", "import time" ], [ "import responses" ], [ "import json", "import zope" ], [ "from allauth.socialaccount.providers.oauth.provider import OAuthProvider" ], [ "# Addon Preferences" ], [ "import collections" ], [ "import sys" ], [ "from processing.taudem.TauDEMUtils import TauDEMUtils" ], [ "from apsconnectcli.config import get_config" ], [ "# The callback for when a PUBLISH message is received from the server." ], [ "#--------------------------------------------------------------------------------------------------" ], [ "fileVariable = raw_input(\"Please enter your variable of interest: \")", "outputfile = raw_input(\"Please identify where you want this file to be saved: \")", "excluded =['a', 'an', 'the', 'is', 'are', 'were', 'was']" ], [ "import django_ymap.fields" ], [ "## along with Gajim. If not, see .", "##" ], [ "from setuptools import setup, find_packages" ], [ "chart = workbook.add_chart({'type': 'line'})", "# Configure the series of the chart from the dataframe data." ], [ "#dtype = 'F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,X,X'" ], [ "from airmozilla.new import eventemails" ], [ "from glob import glob", "from collections import defaultdict" ], [ "pytestmark = pytest.mark.django_db" ], [ "XIMHotKeyStateOFF = 2 \t# /usr/include/X11/Xlib.h:1390" ], [ "from unittest import mock" ], [ "# TODO: footer", "# Lines to hide: space instead of ' > '" ], [ "from spyne.client import RemoteProcedureBase" ], [ "HMAC_SIG_SIZE = hashlib.sha256().digest_size" ], [ "# RUN --------------------------------------------------------------------------------------------------" ], [ "_eapi_attrs_cache = {}" ], [ "lssqstc_all_loaded = None" ], [ "logger = logging.getLogger(__name__)" ], [ "_implicit_encoding = 'utf8'", "_implicit_errors = 'strict'" ], [ "EX1_393e = buff(atk=3)" ], [ "from django.db import models", "from django import forms" ], [ "s= marker_sets[\"particle_213 geometry\"]", "mark=s.place_marker((2130.87, 1071.78, 4189.32), (0.7, 0.7, 0.7), 247.413)" ], [ "depends_on = None" ], [ "__all__ = [\"RDD\"]" ], [ "yaml.add_representer(FrozenList, SafeRepresenter.represent_list)" ], [ "LOG = logging.getLogger(__name__)" ], [ "# Copied from transformers.models.vit.modeling_vit.ViTSelfAttention with ViT->DeiT" ], [ "ModuleManager.register_module(**MODULE_INFO)" ], [ "# pylint: disable=protected-access" ], [ "# Response/views used for template tag tests" ], [ "# hook up some signals" ], [ "import os", "import json" ], [ "old_urlopen = None" ], [ "import sdk_tools.config as config" ], [ "cosine = cosine_gen(a=-np.pi, b=np.pi, name='cosine')" ], [ "# Configurator functionality", "#" ], [ "from sentry.utils.retries import TimedRetryPolicy" ], [ "equation.CalculateModelErrors(equation.solvedCoefficients, equation.dataCache.allDataCacheDictionary)", "print()" ], [ "init_data()", "load_all_settings()" ], [ "# This is pretty short for a function but we might be changing the requirements", "# for labels again at some point (such as, must start with a letter)." ], [ "import mpiunittest as unittest" ], [ "#line 109" ], [ "#", "# Define an exception visible to External modules", "#" ], [ "import logging" ], [ "# noinspection PyUnusedLocal" ], [ "import tensorflow as tf" ], [ "from .typehints import Strlist" ], [ "PY_ZIPMODULE = object()" ], [ "print('Max number of Gratings: {}'.format(mono.get_mono_grating_max()))", "# Grating information", "print('Turret gratings: {}'.format(mono.get_mono_turret_gratings()))" ], [ "def getDeepCopy(): return DEEPCOPY", "TYPE_IN_BODY = {}" ], [ "import _mysql" ], [ "s= marker_sets[\"particle_108 geometry\"]", "mark=s.place_marker((3953.21, 2898.68, 2880.14), (0.7, 0.7, 0.7), 92.5947)" ], [ "fc_loading_list_item, _ = uic.loadUiType(get_ui_file_path('loading_list_item.ui'))" ], [ "# See https://stackoverflow.com/questions/4303492" ], [ "_L = Literal", "ParserElement._literalStringClass = Literal" ], [ "from . import utils" ], [ "assert (norm(dataPlot - ref) < 1e-10)" ], [ "# pylint: disable-msg=C0103" ], [ "IOPLYOrientationHelper = orientation_helper_factory(\"IOPLYOrientationHelper\", axis_forward='Y', axis_up='Z')" ], [ "from yahoo_quote_download import yqd, validater" ], [ "from ...models import Indicator, IndicatorPeriod" ], [ "from .models import Employee, Business, Bar, Foo" ], [ "# UI setter helpers #", "#####################" ], [ "CORE_PLUGINS_NAMESPACE = 'neutron.core_plugins'" ], [ "from adspygoogle.common.Errors import ValidationError" ], [ "tag_key_validator = re.compile(r\"\\+?(\\S+/)?[a-zA-Z0-9-]+\")" ], [ "from django.utils.text import capfirst" ], [ "from tensornetwork.backends.pytorch import decompositions" ], [ "# =============================================================================" ], [ "s= marker_sets[\"particle_54 geometry\"]", "mark=s.place_marker((8092.97, 4387.88, 2282.5), (1, 0.7, 0), 803.7)" ], [ "#def collocations():", "# colloc_strings = [w1 + ' ' + w2 for w1, w2 in self._collocations[:num]]" ], [ "s= marker_sets[\"particle_70 geometry\"]", "mark=s.place_marker((4894.09, 574.874, 3255.19), (0.7, 0.7, 0.7), 764.488)" ], [ "from ..web.endpoints import Endpoint", "from abstract import AbstractItemSchema, AbstractCollectionSchema" ], [ "from tensorflow.contrib.slim.python.slim.data import parallel_reader" ], [ "# aget-wide vAA, vBB, vCC ( 8b, 8b, 8b )" ], [ "from ceph_deploy.util import pkg_managers" ], [ "from ._wrapper import Wrapper" ], [ "URLCharTranslation = ''.join('-' for c in nonURLChars)", "URLCharTranslationTable = string.maketrans(nonURLChars, URLCharTranslation)" ], [ "import itertools", "import datetime" ], [ "# read events", "b[\"ipv4_events\"].open_perf_buffer(print_ipv4_event)", "b[\"ipv6_events\"].open_perf_buffer(print_ipv6_event)" ], [ "from trollius.time_monotonic import time_monotonic as time" ], [ "from .go_benchmark import Benchmark" ], [ "formName = xObjectName", "# no encryption" ], [ "from odoo import models, fields, api", "from odoo.exceptions import UserError, ValidationError" ], [ "_interrupt_handler = None" ], [ "from cherrypy.test import helper" ], [ "# This object is a stand-in for a logging object created by the ", "# logging module. " ], [ "s= marker_sets[\"particle_226 geometry\"]", "mark=s.place_marker((2746.97, 3024.79, 3516.08), (0.7, 0.7, 0.7), 250.078)" ], [ "log = logging.getLogger(__name__)" ], [ "import re", "from openerp.osv import osv, fields" ], [ "from melange.models import profile as profile_model" ], [ "# helper function", "_RE_LUA_BRACKETS = re.compile(r\"\\[(=*)\\[|\\](=*)\\]\")" ], [ "account_unreconcile()" ], [ "## END CLASS DEFINITION" ], [ "import mirocommunity_saas" ], [ "from django.conf import settings" ], [ "from rally.task import validation" ], [ "import random" ], [ "i32 = _binary.i32le" ], [ "import numpy as np", "import itertools as it" ], [ "import unittest", "import ctypes" ], [ "import sys, os, inspect, pdb", "_ = os.path.abspath(os.path.split(inspect.getfile(inspect.currentframe()))[0])", "_ = os.path.join (os.path.dirname(_), 'python', 'lib')" ], [ "assert f()()==1" ], [ "_module_typeBindings.tlTypeType = tlTypeType", "# Atomic simple type: [anonymous]" ], [ "from mkt.webapps.models import Webapp" ], [ "#", "# avoid hooking if this is not a benchmarking environment" ], [ "from django.db import migrations" ], [ "# pylint: skip-file", "# flake8: noqa" ], [ "from senlin.common import wsgi" ], [ "# does r_ has justified envy towards r" ], [ "from google.appengine.api import mail as gmail" ], [ "__all__ = [\"BaseActionAliasTestCase\"]" ], [ "# end def main" ], [ "from infobip.api.model.omni.send.LineDataType import LineDataType" ], [ "from .common import copr_client" ], [ "from PyQt4.QtGui import *", "from PyQt4.Qt import *" ], [ "import pickle" ], [ "date.max = date(9999, 12, 31)", "date.resolution = timedelta(days=1)" ], [ "## get slide sequence method", "## \"sequence\": \"ordered\",", "## \"duration\": \"5\"," ], [ "User = get_user_model()" ], [ "from msrest.serialization import Model" ], [ "# TIME FOR SMASH" ], [ "from src.stonix_resources.rules.STIGConfigurePasswordPolicy import STIGConfigurePasswordPolicy", "from re import search" ], [ "(MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY) = range(7)" ], [ "# Device types", "#" ], [ "# From pyzolib/paths.py (https://bitbucket.org/pyzo/pyzolib/src/tip/paths.py)" ], [ "from .corrDn import corrDn" ], [ "from django.core.wsgi import WSGIHandler" ], [ "from scipy.stats import rankdata as _sp_rankdata", "# To remove when we support scipy 0.13" ], [ "from .views import email_users" ], [ "from tests.lib.local_repos import local_checkout" ], [ "ugettext_noop = gettext_noop" ], [ "IPV6LENGTH = 128" ], [ "from trees.lexicalized_tree import LexicalizedTree", "import re" ], [ "multipage(\"figures/figure4/eigenRDM.pdf\")", "plt.close(\"all\")", "print(\"done\")" ], [ "from lp.testing import TestCase" ], [ "# from Autodesk.Revit.DB import Line, XYZ, CurveLoop", "# from Autodesk.Revit.DB import MEPSystem" ], [ "############################### SECTION 3 ####################################", "###############################################################################" ], [ "__license__ = metadata.license" ], [ "import pytest" ], [ "'''COMMAND FUNCTIONS'''" ], [ "from setuptools import setup, find_packages", "# Get the current version number from inside the module" ], [ "from ajenti import apis" ], [ "# 2 = 2-cross ... etc", "wheels = [BicycleWheel() for i in range(5)]" ], [ "from rlkit.util.io import local_path_from_s3_or_local_path" ], [ "# subworkflow 'install' for host 'Server'" ], [ "import utils" ], [ "# Playlist functions" ], [ "\"\"\"", "Draw a box", "\"\"\"" ], [ "here = path.abspath(path.dirname(__file__))", "# Get the long description from the README file" ], [ "metrics = metrics_lib" ], [ "logger = logging.getLogger()" ], [ "#************************************", "''' Introduce Noise in Data '''", "#************************************" ], [ "nrows, ncols = 2, 5", "plt.figure(figsize=(6,3))", "plt.gray()" ], [ "# TODO is there a way to do this via string.format?" ], [ "import postgresql.driver as pg_driver", "import optparse" ], [ "from tensorflow.python.platform import test", "from tensorflow.python.platform import tf_logging" ], [ "known_commands = {} # type: Dict[str, Command]" ], [ "#dtoday = dt.datetime.now()", "#dout = str(dtoday.isoformat())" ], [ "clubchoice = raw_input(\"Which golf club would you like to use to threaten your agent?: \")", "# asks user for club choice and gives info", "validchoice = False" ], [ "from subprocess import check_output" ], [ "# TODO(): Implement the class. It's currently creates this material as generic Radiance", "# material" ], [ "from testlib import VdsmTestCase as TestCaseBase" ], [ "_IGNORE_MISSING_CONTENT_PROVIDERS = [False]" ], [ "# yapf: enable" ], [ "###", "# Functions", "###" ], [ "from apache_beam.internal.util import remove_objects_from_args" ], [ "from mozdef_util.query_models import SearchQuery, TermMatch, PhraseMatch" ], [ "# -*- coding: utf-8 -*-" ], [ "DEPENDENCIES = ['tuya']" ], [ "import openerp.addons.decimal_precision as dp" ], [ "# ---------------------------------------------------------", "# Function fields", "# ---------------------------------------------------------" ], [ "ITEM_FIELD_NAME = '_item'", "UNTAG_TYPE_NAME = '_untag'" ], [ "s= marker_sets[\"particle_135 geometry\"]", "mark=s.place_marker((3582.36, 3242.26, 1992.14), (0.7, 0.7, 0.7), 145.893)" ], [ "feature_weights = np.zeros([n_vertices, n_times])", "# hold on, this may take a moment" ], [ "from docutils.parsers.rst import directives, states", "from docutils.nodes import fully_normalize_name, whitespace_normalize_name", "from docutils.parsers.rst.roles import set_classes" ], [ "TRUE = Boolean(True)", "FALSE = Boolean(False)" ], [ "from tipsip.dialog import Dialog, DialogStore", "from tipsip.storage import MemoryStorage" ], [ "from ansible.module_utils.six import integer_types, PY3", "from ansible.module_utils.six.moves import configparser" ], [ "client = storage.Client()" ], [ "s= marker_sets[\"particle_54 geometry\"]", "mark=s.place_marker((2529.27, 4663.34, 2789.34), (0.7, 0.7, 0.7), 327.529)" ], [ "from pilotTools import Logger, pythonPathCheck, PilotParams, getCommand" ], [ "reminddb = setup_db()" ], [ "# can happen if the user loads it manually. In this case we don't", "# update sys.path; instead we just hope the user managed to do that", "# beforehand." ], [ "# Use the custom handler instead of streaming one." ], [ "docs_directory = sys.argv[1]", "redirect_json = sys.argv[2]" ], [ "from sickchill.providers.torrent.TorrentProvider import TorrentProvider" ], [ "etree.SubElement(dict1, 'key').text = 'Emoticons'", "dict2 = etree.SubElement(dict1, 'dict')" ], [ "# TODO: rename this to concrete state!" ], [ "class forall(MathSymbol): pass", "class exists(MathSymbol): pass" ], [ "pos_model_signals.post_save.connect(update_order_total, sender=OrderItem)" ], [ "# If we're running >Python 2.3, add extra information" ], [ "MAX_FACTOR = 10 # Maximum allowed increase in a step size." ], [ "# -----------------------------------------------------------------" ], [ "from sklearn.datasets.samples_generator import make_regression" ], [ "golden_ratio = 1.61803398875" ], [ "from pathlib import Path" ], [ "# from maratis import export_maratis " ], [ "event_sig_re = re.compile(r'([a-zA-Z-]+)\\s*\\((.*)\\)')" ], [ "from openerp import models, api, fields" ], [ "from Infrastructure.TimeSettingsManager import TimeSettingsManager" ], [ "from robel.simulation.sim_scene import SimScene" ], [ "F_NUM_PER_BIN = 'NumObjectsPerBin'" ], [ "ULONG_FACTOR = 1 << (8 * ctypes.sizeof(ctypes.c_ulong))" ], [ "from ansible.module_utils.digital_ocean import DigitalOceanHelper" ], [ "#### Interactive statements." ], [ "from statsmodels.datasets import macrodata" ], [ "# NOTE(kspear): nova doesn't support instance security group management", "# by an admin. This isn't really the place for this code,", "# but the other ways of special-casing this are even messier." ], [ "import Pyro.util" ], [ "# Ice.initialize returns an initialized Ice communicator,", "# the communicator is destroyed once it goes out of scope.", "#" ], [ "from _pytest.nodes import Item", "from _pytest.terminal import TerminalReporter" ], [ "s= marker_sets[\"particle_40 geometry\"]", "mark=s.place_marker((6440.34, 3537.16, 5565.28), (0.7, 0.7, 0.7), 709.625)" ], [ "import traceback" ], [ "config = CELERY_TRACKER_PLUGINS[\"receive\"]" ], [ "import generator.parsers.SDLRPCV2" ], [ "COMBO_AVFSORT = 0", "COMBO_MRSORT = 1" ], [ "# example: utils/addcol.py country=VEN Exposure_Res_Venezuela.csv" ], [ "# All lines also have `x1()`, `y1()`, `x2()`, and `y2()` methods to get their end-points", "# and a `line()` method to get all the above as one 4 value tuple for `draw_line()`." ], [ "fields = collections.OrderedDict()", "util = collections.defaultdict(list)" ], [ "from ..arch.data_instructions import DByte" ], [ "LOG = logging.getLogger(__name__)" ], [ "## rest: GET /ui/dash/comments.html", "## function: dash_comments", "## declared args:" ], [ "from CNC import CNC" ], [ "# OSErr is special because it is turned into an exception", "# (Could do this with less code using a variant of mkvalue(\"O&\")?)" ], [ "_LOGGER = logging.getLogger(__name__)" ], [ "root = os.path.abspath(os.path.dirname(__file__))" ], [ "#------------------------------------------------------------------------------" ], [ "MESSAGE_SET_ITEM_TAG = encoder.TagBytes(1, wire_format.WIRETYPE_START_GROUP)" ], [ "# iput-wide vA, vB ( 4b, 4b )" ], [ "# without leaving the Python interpreter.", "reload(dmp_module)" ], [ "# Frontend/Databank specific settings" ], [ "defaultParams: IrcMessageParams = IrcMessageParams()" ], [ "from lucky.cards import parse_card" ], [ "# A student would have many stats. Each stat is corresponding to a date." ], [ "from datetime import datetime, timedelta", "from datamodel.datamodel import LoraRadioMessage" ], [ "__doctype__ = \"restructuredtext en\"" ], [ "# for test-time augmentation" ], [ "log = g.log.getLogger('cmd.fdbl_get')" ], [ "# Copied from transformers.models.xlm.modeling_tf_xlm.TFXLMMultiHeadAttention with XLM->Flaubert" ], [ "from ansible.utils.display import Display" ], [ "from .packages.urllib3.exceptions import HTTPError as BaseHTTPError" ], [ "trap_sigs = (SIGINT, SIGTRAP)" ], [ "# =============================================================================" ], [ "# Cursor" ], [ "import aioppspp.tests.utils" ], [ "s= marker_sets[\"particle_307 geometry\"]", "mark=s.place_marker((3037.01, 873.948, 547.52), (0.7, 0.7, 0.7), 182.567)" ], [ "bad_function_warning = '%(bad)s function is deprecated. Use %(good)s instead.'" ], [ "from pyqode.core.api.mode import Mode" ], [ "pool_size = mp.cpu_count() - 1 or 1", "__a__ = Uri(\"rdf:type\")" ], [ "import numpy as np" ], [ "HERE = os.path.abspath(os.path.dirname(__file__))" ], [ "from coalib.results.SourceRange import SourceRange" ], [ "# Racks", "#" ], [ "from antlr4.atn.Transition import WildcardTransition, NotSetTransition, AbstractPredicateTransition, RuleTransition" ], [ "from django.db import models", "from django.db.models.query import Q", "from django.contrib.contenttypes.models import ContentType" ], [ "from boto.s3.connection import check_lowercase_bucketname", "from boto.utils import get_utf8_value" ], [ "# TODO replay protection" ], [ "import threading", "import cv2" ], [ "## rest: GET /ui/list/relations.html", "## function: list_relations", "## declared args:" ], [ "import publisher.utils" ], [ "from sentry.testutils import APITestCase, ReleaseCommitPatchTest, TestCase" ], [ "CONF = config.CONF" ], [ "s_block_end(\"CMD_FRMT_+IFC\")" ], [ "import uuid" ], [ "# util function to convert a tensor into a valid image" ], [ "from library import requests" ], [ "next = advance_iterator" ], [ "from pycoin.encoding import wif_to_tuple_of_secret_exponent_compressed, public_pair_to_hash160_sec", "from pycoin.ecdsa import generator_secp256k1, public_pair_for_secret_exponent" ], [ "count.__doc__ = MaskedArray.count.__doc__" ], [ "print('Copyright (c) Dylan Beswick 2016')", "print('')" ], [ "import pprint", "import urlparse" ], [ "#", "# Functions for external use" ], [ "# pylint: disable=redefined-outer-name" ], [ "# import module snippets", "from ansible.module_utils.basic import *", "from ansible.module_utils.gce import *" ], [ "from django.core import management" ], [ "from docopt import docopt" ], [ "from django.utils.functional import cached_property" ], [ "filename = '{}_{}x{}'.format(filename, nvoxelx, nvoxelx)", "folder_main = '{}/{}'.format(folder_out, filename)" ], [ "Usage = namedtuple(\"Usage\", [\"start\", \"duration\",\"peak_down\", \"peak_up\", \"other_down\", \"other_up\"])" ], [ "from __future__ import (absolute_import, division, print_function)", "__metaclass__ = type" ], [ "# \u767b\u5f55\u6ce8\u518c\u7684\u56de\u590d\u57fa\u672c\u7ed3\u6784" ], [ "LABELS_FILENAME = 'labels.txt'" ], [ "s= marker_sets[\"particle_42 geometry\"]", "mark=s.place_marker((7324.89, 10464.9, 4215.58), (0.7, 0.7, 0.7), 1088.21)" ], [ "INTERACTIVE_MODE = True" ], [ "import random", "from Renderers.Block import BlocksManager" ], [ "gpg_vn = 2" ], [ "error_msg.subtypes[16] = flow_monitor_failed_error_msg" ], [ "import time" ], [ "first_place = [current_student]", "second_place = [current_student]" ], [ "from ansible.plugins import MODULE_CACHE, PATH_CACHE, PLUGIN_PATH_CACHE, PluginLoader" ], [ "from tensorflow.python.platform import test" ], [ "PLAYLIST_EXT = '.m3u|.m3u8'" ], [ "# put this method in utils.py to avoid circular import dependency between helpers and mustache_helpers" ], [ "class ErrorInvalidExchangeImpersonationHeaderData(ResponseMessageError): pass", "class ErrorInvalidExcludesRestriction(ResponseMessageError): pass", "class ErrorInvalidExpressionTypeForSubFilter(ResponseMessageError): pass" ], [ "_I = cast['F'](1j)" ], [ "from products.models import Product, Variant", "from ..views import UUID" ], [ "# to raw data (with :func:`mne.io.Raw.filter`), but to reduce memory", "# consumption of this tutorial, we do it at evoked stage. (At the raw stage,", "# you could alternatively notch filter with :func:`mne.io.Raw.notch_filter`.)" ], [ "import logging", "from lxml import etree" ], [ "from essentia_test import *", "from essentia.streaming import MaxToTotal as sMaxToTotal" ], [ "# validating keywords (based on the keywords from the sci-mathematics/octave package)", "re_keywords = re.compile(r'(~)?(alpha|amd64|hppa|ppc64|ppc|sparc|x86)')" ], [ "from south.v2 import SchemaMigration", "from django.db import models" ], [ "import sys" ], [ "_current_module = _sys.modules[__name__]" ], [ "# pass" ], [ "from django.db import models" ], [ "from test.pickletester import AbstractPickleTests, AbstractPickleModuleTests", "from test import test_support" ], [ "e_when=sys.argv[1][-26:]", "e_when=e_when[:21]" ], [ "from pyflink.table.descriptors import *", "from pyflink.table.window import *" ], [ "from resourcehandlers.aws.models import AWSHandler" ], [ "from .backcaller import BackCaller" ], [ "web.config['SESSION_TYPE'] = 'memcache'" ], [ "# Tabular values for Mobius function", "Mu = [1] + (N + 1)", "Mu[0] = 0" ], [ "s= marker_sets[\"particle_6 geometry\"]", "mark=s.place_marker((9187.2, 3588.27, 1745.06), (0.7, 0.7, 0.7), 710.767)" ], [ "from datetime import datetime", "import psutil", "import numpy" ], [ "LOG = logging.getLogger(__name__)" ], [ "from zipline.modelling.term import Term" ], [ "from ansible.plugins.connection import ConnectionBase, ensure_connect" ], [ "# end class FibCswNewData2007" ], [ "# breadth first" ], [ "html = HtmlGen()" ], [ "countryUpdateFormInstance=CountryUpdateForm()", "#--------------------- for master contact" ], [ "reverse_match = {v: k for k, v in match.items()}" ], [ "s= marker_sets[\"particle_43 geometry\"]", "mark=s.place_marker((3907.81, 7615.38, 4710.08), (0.7, 0.7, 0.7), 1205.72)" ], [ "from tensorflow.python.platform import test" ], [ "import heapq" ], [ "# --------------------------------------------------------------------", "import numpy" ], [ "INPUT = 1", "OUTPUT = 2" ], [ "from django.test import SimpleTestCase" ], [ "import unittest2" ], [ "s= marker_sets[\"particle_16 geometry\"]", "mark=s.place_marker((9322.26, -753.607, 3630.45), (0.7, 0.7, 0.7), 591.565)" ], [ "from bs4 import BeautifulSoup" ], [ "DATE = \"2019\"", "TWITTER = \"Twitter @zadow28\"" ], [ "# Submit a bunch of small tasks to each actor. (approximately 1070 seconds)", "start_time = time.time()", "logger.info(\"Submitting many small actor tasks.\")" ], [ "# edit - the Edit object spawned by the deletion command", "#", "# Returns the number of deleted regions." ], [ "import subprocess", "import sys" ], [ "from P4J import MultiBandPeriodogram", "from P4J.generator import synthetic_light_curve_generator" ], [ "#", "# self.values.append(labeled_value.val)" ], [ "######################################################################", "# `GaussianSplatter` class.", "######################################################################" ], [ "import subprocess" ], [ "outputMacrosQueue = []" ], [ "# _fields_ = [(), ()]" ], [ "cyan = lambda text: color_maybe(36, text)" ], [ "import h2o, tests", "import random" ], [ "from workflow import web, Workflow" ], [ "from .clirundal import mode_run_common" ], [ "SENTINEL = object()" ], [ "OAUTH_SERVER = oauth.OAuthServer(OAuthDataStore())", "OAUTH_SERVER.add_signature_method(oauth.OAuthSignatureMethod_HMAC_SHA1())" ], [ "from django.db import models" ], [ "# return 'invalid json'" ], [ "#############################################################" ], [ "logger = logging.getLogger(__name__)" ], [ "from django.template import Template", "from menus.menu_pool import menu_pool" ], [ "LOG = logging.getLogger(__name__)" ], [ "import string", "from .utils import enumerate_space" ], [ "from indico.util.contextManager import ContextManager" ], [ "dyndep.InitOpsLibrary(\"@/caffe2/caffe2/distributed:file_store_handler_ops\")" ], [ "User = get_user_model()" ], [ "import sys", "sys.path[0:0] = [\"\"]" ], [ "from django.db import models" ], [ "from .fhirdate import FHIRDate" ], [ "from xlgui import guiutil", "from xlgui.widgets import menu" ], [ "from perftest.measure import MeasurementVmSize" ], [ "from sqlalchemy.dialects import mysql" ], [ "from guardian.utils import get_anonymous_user" ], [ "LOG = log.getLogger(__name__)" ], [ "requests.packages.urllib3.disable_warnings()" ], [ "# TODO: use six." ], [ "__all__ = 'Transpose', 'TensorDot', 'dot', 'transpose', 'tensordot'" ], [ "import tensorflow as tf" ], [ "# TODO add support for api ajax calls" ], [ "from yamlsettings.extensions.base import YamlSettingsExtension" ], [ "from django.db import migrations, models" ], [ "# This function was autogenerated by boilerplate.py. Do not edit as", "# changes will be lost" ], [ "# Construct the profiles as a temp variable first. Only the first time it's set will carry through", "metron_spring_profiles_active = config['configurations']['metron-rest-env']['metron_spring_profiles_active']", "metron_ldap_enabled = config['configurations']['metron-security-env']['metron.ldap.enabled']" ], [ "import utils" ], [ "from . import common" ], [ "from motty.config import Config" ], [ "# --------------------------------------------------------------------------", "# IbisInstitution: see uk.ac.cam.ucs.ibis.dto.IbisInstitution.java", "# --------------------------------------------------------------------------" ], [ "import re" ], [ "from nupic.bindings.experimental import ExtendedTemporalMemory" ], [ "COMMAND['can_trans'] = 'TransmissionCan('" ], [ "#--------Facturacion--------------------------------" ], [ "# TODO(nelsonjr): Merge and delete this code once async operation", "# declared in api.yaml" ], [ "from State.ViewStates.ConcreteClassifierState import ConcreteClassifierState" ], [ "# Deprecated API" ], [ "from .models import Email, Log, EmailTemplate, STATUS" ], [ "NotDifferentiable = no_gradient" ], [ "from openerp.tools.translate import _" ], [ "import collections", "import googlemaps" ], [ "############################################################################### " ], [ "err = []" ], [ "_ = lambda text: text" ], [ "from . import models" ], [ "logger = logging.getLogger(__name__)" ], [ "Xp = tp.Union[tp.Any] # TODO(okapies): encode numpy/cupy/ideep/chainerx" ], [ "DTYPES = tuple(FLOAT_DTYPES + INT_DTYPES)" ], [ "kafka_errors = dict([(x.errno, x) for x in _iter_broker_errors()])" ], [ "from subscription_manager.gui import widgets" ], [ "####################" ], [ "# Lots of stdlib and builtin differences." ], [ "# TODO split out lexer, parser into differnt classes in different modules" ], [ "# TODO: test for multidimensional", "NEIGH_MODE = {'zero': 0, 'one': 1, 'constant': 2, 'circular': 3, 'mirror': 4}" ], [ "__author__ = 'Gus Dunn'" ], [ "# Options and Arguments", "# =====================" ], [ "# TODO: move this", "from website.views.api2 import ValidationError" ], [ "# Creating ini folder for network, if it doesn't exist." ], [ "DEFAULT_RESPONSE_CONTENT_TYPE = 'application/json'" ], [ "_request_timeout = 100000 * 60.0" ], [ "#", "# Command update", "#" ], [ "from .forms import AccountForm", "from .models import Account" ], [ "# Python 2.4 compatibility", "# http://code.google.com/p/boto/source/detail?r=1011" ], [ "import armv6instrdecode", "import unittest" ], [ "Complex.register(complex)" ], [ "# #####################################################", "# Generate - Mesh String (for non-scene output) ", "# #####################################################" ], [ "import pulseaudio_dlna.codecs" ], [ "wubiParser = lambda path: tablesParser( path, 'Wubi.txt.in' )", "zrmParser = lambda path: tablesParser( path, 'Ziranma.txt.in' )" ], [ "from pylib.results.flakiness_dashboard import results_uploader" ], [ "oxm.subtypes[2147495942] = arp_sha" ], [ "from ..utils import setup" ], [ "from datetime import date" ], [ "# pylint: disable=unused-argument" ], [ "# =============================================================================", "# Usage()" ], [ "\"\"\" Interfaces \"\"\"" ], [ "log = logging.getLogger(__name__)" ], [ "__test_marker__ = \"test_marker\"" ], [ "print('-'*40)", "result = jieba.tokenize('\u6c38\u548c\u670d\u88c5\u9970\u54c1\u6709\u9650\u516c\u53f8')" ], [ "# Enable Dynamixel#1 Torque", "dynamixel.write1ByteTxRx(port_num, PROTOCOL_VERSION, DXL1_ID, ADDR_PRO_TORQUE_ENABLE, TORQUE_ENABLE)" ], [ "from .course_page import CoursePage" ], [ "# Test if using a different file name is possible" ], [ "_CONTEXT_MANAGER_DAG = None" ], [ "## GROUP ROOTS ##" ], [ "ignoredXmlTemplateAttribes = frozenset([\"map\",\"outType\"])", "usedXmlTemplateAttribes = frozenset([\"name\",\"inType\",\"count\", \"length\"])" ], [ "csrf_protect_m = method_decorator(csrf_protect)" ], [ "ops.RegisterShape(\"refop\")(common_shapes.unknown_shape)" ], [ "compilers = ['SunFCompiler']" ], [ "s= marker_sets[\"particle_16 geometry\"]", "mark=s.place_marker((3029.5, 8536.32, 8719.41), (0.7, 0.7, 0.7), 610.262)" ], [ "X509NameType = X509Name" ], [ "from tensorflow.python.platform import test" ], [ "s= marker_sets[\"particle_26 geometry\"]", "mark=s.place_marker((4313.48, 1732.03, 2353.18), (0.7, 0.7, 0.7), 644.694)" ], [ "__author__ = 'user@example.com (Travis Miller)'", "import unittest" ], [ "# channel_name: se comunidade => \u00e9 o registry_id da comunidade", "# se conversa entre amigos => user1:user2", "#" ], [ "# This function comes from bitcointools, bct-LICENSE.txt." ], [ "SMTLIB_OUTPUT_INDENT_SIZE = 2" ], [ "from .packages import six" ], [ "recursion_limit=150", "go_absolute=False", "standard_includes=['/usr/include']" ], [ "SERVICE_ACCOUNT_FOR_ANVIL = None" ], [ "from msrest.serialization import Model" ], [ "from .._version import VERSION" ], [ "import tensorflow as tf" ], [ "# If this is a json call, compute and stop" ], [ "# CLASSES #", "#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" ], [ "import os" ], [ "class TestApi1(Api1TestCase, ApiTestCase): pass", "# Tests for Version 2 of the API." ], [ "from .log import log" ], [ "NEWRELIC_ENABLE = env.bool('NEWRELIC_ENABLE', default=False)" ], [ "# Test precedence: environment variable > home folder > /etc > yml" ], [ "s= marker_sets[\"particle_243 geometry\"]", "mark=s.place_marker((2223.85, 2366.51, 1651.42), (0.7, 0.7, 0.7), 200.883)" ], [ "# ----------------------------------------------------------------------" ], [ "from controller_implementations.feedforward import Feedforward" ], [ "# Chebyshev" ], [ "other_reports_seen = set()" ], [ "### encodings module API" ], [ "print('for T = ', temp)" ], [ "###insert comment into comment table" ], [ "import torch.nn as nn" ], [ "MAX_PARAMETRIC_JOBS = 20" ], [ "import inspect" ], [ "from .models import Profile, UnregisteredUser" ], [ "logger.disable()", "addonInfo = xbmcaddon.Addon().getAddonInfo" ], [ "from django.db import models", "from datetime import datetime" ], [ "import picklefield.fields" ], [ "from src.common.Util import Model" ], [ "from whoosh.matching import mcore" ], [ "LOG = logging.getLogger(__name__)" ], [ "from wechatpy.pay.utils import calculate_signature" ], [ "import ansible.constants as C" ], [ "import os", "# Create your models here." ], [ "# Comments" ], [ "from openerp.exceptions import Warning" ], [ "\"\"\"Module with definitions common to all block ciphers.\"\"\"", "import sys" ], [ "# RFC 5440 PCEP" ], [ "# attribute related views #", "######################################################################################################################" ], [ "from django.db import models" ], [ "#%%" ], [ "__version__ = '%d.%d.%d' % (MAJOR, MINOR, MICRO)" ], [ "DefaultPolicy = DesignatedWrapPolicy" ], [ "from helpers import ensure_directory" ], [ "\"\"\"", "Write a separator comment in the file", "\"\"\"" ], [ "from neutron.tests import base" ], [ "from . import common_args" ], [ "from hs_core.serialization import GenericResourceMeta" ], [ "# extrac_headings plugin config", "import md5" ], [ "SEQIND = 28" ], [ "from ansible.module_utils.network.aci.mso import MSOModule, mso_argument_spec, issubset" ], [ "import ConfigParser", "# Get JSON data from GOG" ], [ "from django.db import models" ], [ "SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))" ], [ "from Tkinter import *" ], [ "file_spec = None" ], [ "# -*- coding: utf-8 -*-" ], [ "#------------------" ], [ "# =============================================================================", "# =============================================================================" ], [ "# To maintain backwards compatibility:" ], [ "#------------------------------------------------------------------------", "# generic helpers", "#------------------------------------------------------------------------" ], [ "# NOTE(danms): This is just a silly implementation to help make generating", "# XML faster for prototyping. Could be replaced with proper etree gorp", "# if desired" ], [ "_charset_from_content_type_re = re.compile(r';\\s*charset=(?P[^\\s;]+)', re.I)" ], [ "load_tests = testscenarios.load_tests_apply_scenarios" ], [ "LOUD = dict(_out=sys.stdout, _err=sys.stderr)" ], [ "# set up for parametrized test", "rt_sets = []", "rt_frames = [ICRS, FK4, FK5, Galactic]" ], [ "# matchers/attribute_matchers" ], [ "from medpy.features.texture import *", "# code" ], [ "cur.execute('SELECT id, sender FROM Senders')", "senders = dict()" ], [ "# Open/create through broken link read/write and append" ], [ "##plt.figure(1)", "newspeclist = []", "yoffset = 0" ], [ "user_logged_in.connect(update_last_login)" ], [ "# CourseTagResource" ], [ "# Constants", "RESOLUTION=1<<7" ], [ "options, _ = getopt.getopt(sys.argv[1:], '', ['file='])" ], [ "from my_gui import *", "from pgu import high" ], [ "from PyQt5 import QtWidgets, QtGui", "import numpy" ], [ "# Convert HTML URIs to absolute system paths so xhtml2pdf can access those resources" ], [ "import jscompiler" ], [ "codeOut(\"/** Tasks to run on Idle. Returns true if either one of the tasks returned true (eg. they're doing something and want to avoid sleeping) */\")", "codeOut('bool jswIdle() {')", "codeOut(' bool wasBusy = false;') " ], [ "import time, sys, os, shutil, subprocess, distutils.dir_util", "sys.path.append(\"../../configuration\")" ], [ "from karl.content.calendar.tests.presenters.test_base import DummyCatalogEvent" ], [ "# has to be defined at module level since pickling doesn't work right (in", "# general) for classes defined in functions" ], [ "Outcome = namedtuple('Outcome', ['word', 'markup'])" ], [ "tag_literal = tag_emphasis" ], [ "# Part 1: top-level interface." ], [ "from IPython.utils import py3compat", "from traitlets import List, Unicode, Type, Bool, Dict, Set, Instance, Undefined" ], [ "# ______________________________________________________________________" ], [ "memcached_st_p = ctypes.POINTER(memcached_st)" ], [ "from .base import BaseTestCase" ], [ "from supriya.tools import ugentools" ], [ "# Plot clustering results" ], [ "User = get_user_model()" ], [ "dellos10_argument_spec.update(dellos10_top_spec)" ], [ "__all__ = ['Rbf']" ], [ "from datetime import datetime" ], [ "from surveys.models.surveys import Survey" ], [ "import sys" ], [ "# backups = self.IGOR_LOG_BACKUPS", "# )", "# " ], [ "#" ], [ "import zope.formlib.form" ], [ "from zerver.lib.event_queue import EventQueue" ], [ "import licenses" ], [ "erlang = erlang_gen(a=0.0, name='erlang')" ], [ "sys.path.append(\"/home/pdendek/docsim-check/out/document-similarity-logic-1.6-SNAPSHOT-jar-with-dependencies.jar\")", "from pl.edu.icm.coansys.commons.java import DiacriticsRemover" ], [ "layers = loompyfile.layers.keys() # List of layers" ], [ "from collections import UserDict" ], [ "from pymongo import MongoClient" ], [ "LOGGER = logging.getLogger('InaSAFE')" ], [ "from msrest.serialization import Model" ], [ "from .nxos_module import TestNxosModule, load_fixture, set_module_args" ], [ "# Figure out what encoding was sent with the response, if any.", "# Check against lowercased header name.", "encoding = None" ], [ "from django.core import serializers", "from django.contrib.auth.decorators import login_required, user_passes_test" ], [ "from windpowerlib import tools" ], [ "from libqtopensesame.misc import _", "from PyQt4 import QtCore, QtGui" ], [ "import hpOneView as hpov" ], [ "_ews_re = re.compile(r'(?:[ \\t]|#[^\\n]*\\n|#[^\\n]*\\Z|\\n)*')" ], [ "from django.db import models, migrations" ], [ "DATADIR_CFG_SECTION = 'datadir'" ], [ "s= marker_sets[\"particle_7 geometry\"]", "mark=s.place_marker((2820.11, 4640.86, 1957.35), (0.7, 0.7, 0.7), 166.873)" ], [ "s= marker_sets[\"particle_248 geometry\"]", "mark=s.place_marker((2591.81, 3167.29, 2375.77), (0.7, 0.7, 0.7), 115.352)" ], [ "# rank attributes. We'll create a simple Player class that has", "# nothing else." ], [ "from itertools import chain" ], [ "# FreeCAD TemplatePyMod module ", "# (c) 2007 Juergen Riegel LGPL" ], [ "s= marker_sets[\"particle_12 geometry\"]", "mark=s.place_marker((3845.48, 4233.73, 2737.26), (0.7, 0.7, 0.7), 210.273)" ], [ "# if the user permission is applicable for all doctypes, then only", "# one record is created" ], [ "logger = logging.getLogger(__name__)" ], [ "# pylint: disable=too-few-public-methods, attribute-defined-outside-init" ], [ "numconfigs = 4" ], [ "_is_32bit_platform = np.intp(0).itemsize < 8" ], [ "import time" ], [ "rl_config.TTFSearchPath = [os.path.join(os.path.dirname(__file__), 'fonts')]", "font_name = \"Ubuntu\"" ], [ "###########################################################################################################################", "###########################################################################################################################" ], [ "from openerp.osv import fields, osv" ], [ "LOGGER = getLogger(__name__)" ], [ "###############################################################################" ], [ "from Bio.Format.Sam import SamStream", "from multiprocessing import cpu_count" ], [ "## Adapted from", "##https://bitbucket.org/pypy/pypy/src/c1aa74c06e86/lib_pypy/itertools.py#cl-261" ], [ "import sys" ], [ "headers = {\"Authorization\": 'bearer %s' % GITHUB_API_KEY}" ], [ "_LOGGER = logging.getLogger(__name__)" ], [ "from django.db import models" ], [ "s= marker_sets[\"particle_30 geometry\"]", "mark=s.place_marker((3990.46, 3321.12, 3375.95), (0.7, 0.7, 0.7), 130.03)" ], [ "TEST_DATA_DIR = unitTestDataPath()" ], [ "import struct" ], [ "# ----------------------------------------------------------------------", "# Utility functions" ], [ "JSONHEADERS = {'Content-type': 'application/json'}" ], [ "# Given the dict from dump_leaf_page, get the key-value pairs and put them into a dict" ], [ "from nikola.utils import config_changed, copy_file, unicode_str" ], [ "HAVE_SELINUX = False" ], [ "depends_on = None" ], [ "#------------------------------------------------------------------------------" ], [ "# of the offending input and also knows where the parser was", "# in the various paths when the error. Reported by reportNoViableAlternative()", "#" ], [ "harm = espressomd.interactions.HarmonicBond(k=400.0, r_0=diam, r_cut=5.0)", "system.bonded_inter.add(harm)" ], [ "_NaN = float(\"NaN\")" ], [ "app = Flask(__name__)" ], [ "# i.e. they should test for existence of keys and values", "# with read/write invariance." ], [ "# Note: you may want to copy this into your setup.py file verbatim, as", "# you can't import this from another package, when you don't know if", "# that package is installed yet." ], [ "s= marker_sets[\"particle_293 geometry\"]", "mark=s.place_marker((1592.44, 91.0918, 2092.16), (0.7, 0.7, 0.7), 138.702)" ], [ "from splash.utils import truncated" ], [ "from tempest.test import attr" ], [ "# ===================================================================================================", "# Classes ", "# ===================================================================================================" ], [ "# These should be re-enabled once the problems are resolved" ], [ "fonts = cleaned_fonts", "# Save the font, char, label assignment" ], [ "from bundlewrap.utils.testing import make_repo, run" ], [ "# Test python API" ], [ "oxm.subtypes[2147498754] = icmpv6_type_masked" ], [ "import volatility.plugins.overlays.windows.win7 as win7", "import volatility.plugins.overlays.windows.vista as vista" ], [ "from turbion.bits.blogs.fields import PostCountField, CommentCountField", "from turbion.bits.antispam import AntispamModel" ], [ "import fileinput", "import filecmp" ], [ "import os", "import subprocess", "import sys" ], [ "Enum = None" ], [ "s_block_end(\"CMD_FRMT_+CFUN\")" ], [ "emoticon_re = re.compile(r'^' + emoticons_str + '$', re.VERBOSE | re.IGNORECASE)" ], [ "from tensorflow.python.training.adam import AdamOptimizer" ], [ "from weblate.utils.management.base import BaseCommand" ], [ "__version_info__ = (0, 6, 1)", "__version__ = \".\".join(str(i) for i in __version_info__)" ], [ "######################################################################", "# Description: Browse dialog class", "######################################################################" ], [ "def SMTExprNonatom(symb:str, args:Iterable[SMTExpr]) -> SMTExprNonatom_: return SMTExprNonatom_(symb,tuple(args))", "SMTCommand_ = NewType('SMTCommand_', SMTExprNonatom_)" ], [ "attrVal = ''", "dataToCheck = ''" ], [ "# Finally, write all output to the summed output files as averages." ], [ "from .. import intrin as _intrin", "from .._ffi.function import _init_api" ], [ "_RAISE_KEYBOARD_INTERRUPT = os.environ.get(\"_RAISE_KEYBOARD_INTERRUPT_FFI\", None)" ], [ "custom_module = None" ], [ "import sys", "import fileinput", "import argparse" ], [ "import pyffi.spells", "from pyffi.formats.dds import DdsFormat" ], [ "# register and unregister", "# ------------------------------------------------------------------------" ], [ "from caas.provider.models import User" ], [ "CODEC_ID_H264 = 28", "AV_CODEC_ID_H264 = 28", "CODEC_ID_CYUV = 27" ], [ "from .util import log" ], [ "class dashv(MathSymbol): pass", "class equiv(MathSymbol): pass", "class sim(MathSymbol): pass" ], [ "import binascii" ], [ "s= marker_sets[\"particle_80 geometry\"]", "mark=s.place_marker((503.845, 1356.45, 2339.49), (0.7, 0.7, 0.7), 176.391)" ], [ "from pyaem import result as res", "import pycurl" ], [ "# @return An Element instance.", "# @defreturn Element" ], [ "import os, io" ], [ "IntegerField.register_lookup(IntegerGreaterThanOrEqual)" ], [ "# CREATE TABLES OF ELEMENTS PLS" ], [ "# How often is a particular lines important for this." ], [ "X = StandardScaler().fit_transform(X)" ], [ "# This section becomes much clearer if you can look at its output. The bash 'draw' script", "# which calls param_draw.py by default deletes the output after the diagram is gereated,", "# but you can retain the file with the -f flag." ], [ "QUEUE = os.path.join(quodlibet.get_user_dir(), \"queue\")" ], [ "from easybuild.tools.filetools import mkdir, resolve_path, symlink" ], [ "# on or not, something that would be controlled by runtime support and user", "# preference.", "# verify if its type is django.database.db.IntegrityError." ], [ "'''", "Specific Connection exception where the authentication method specified is not supported", "'''" ], [ "import numpy as np" ], [ "# cross_tool provides the cross compiler", "# EXEC_PATH is the compiler execute path, for example, CodeSourcery, Keil MDK, IAR" ], [ "# Test suite #", "# ---------- #" ], [ "from itertools import islice, repeat, count, tee, chain", "import bisect" ], [ "# XXX Eventually this should be de-duplicated with the MNE-MATLAB stuff..." ], [ "convert_to_q_expanded = nonlinear_solver._convert_to_q_expanded" ], [ "# Neither of the following two estimators inherit from BaseEstimator,", "# to test hyperparameter search on user-defined classifiers." ], [ "import operator" ], [ "# @param object: Inherited from object class", "#", "#" ], [ "from html5lib.tokenizer import HTMLTokenizer" ], [ "## - api is an example of Hypermedia API support and access control", "#########################################################################" ], [ "from . import models as mapentity_models" ], [ "from tgit.ui.helpers.ui_file import UIFile" ], [ "RANDOM_SECRET = random.randint(0, 1000000)" ], [ "routes.rename(columns={\"SourceID\": \"start\", \"DestinationID\": \"end\"}, inplace=True)", "lats, lons = [], []" ], [ "CursorObj = TypeVar('CursorObj', bound=cursor)" ], [ "## Represents an Engineering Demand Parameter", "#", "# Wraps a pyslatcore::EDP." ], [ "# from https://github.com/kennethreitz/requests/blob/master/requests/structures.py" ], [ "## for test, run script as", "## PYTHONPATH=$PYTHONPATH:~/gramps/trunk/src/ python gui/widgets/undoablebuffer.py" ], [ "SIGHASH_ANYONECANPAY = 0x81" ], [ "import ptth" ], [ "MANAGER = CONF.datastore_manager" ], [ "ITEMS_LIMIT = 1 # when we have big list, limit number of items to test" ], [ "from glamkit_collections.models import GeographicLocation" ], [ "from fluent.term import Term" ], [ "from functools import total_ordering" ], [ "from base import GMLRangeBase, GMLBase" ], [ "log = logging.getLogger('modif_torrent')" ], [ "import xgboost" ], [ "vocabulary_size = 50000" ], [ "from page_sets import top_pages" ], [ "from paramiko.ssh_exception import SSHException" ], [ "# @{" ], [ "import warnings", "floatX = config.floatX" ], [ "purchase_completed.connect(on_purchase_completed)" ], [ "from googaccount.models import AppCreds", "from main.support import animations_list, font_effects" ], [ "# https://api.slack.com/reference/block-kit/blocks" ], [ "Rmn = Ricci(Riemann(Gamma, X), X)" ], [ "from collections.abc import Iterable" ], [ "# 0.6 Rather than using normal SHA256, which reads the entire file into memory", "# this procedure reads the file blocks and calculates the hashes from that", "# thereby using less memory." ], [ "import unittest" ], [ "from .util.paths import ROOT_DIR, bokehjsdir" ], [ "# In[4]:" ], [ "rtd_version = VERSION" ], [ "###### CHECK BALL ######" ], [ "display = Display()" ], [ "from website.addons.dataverse.provider import DataverseProvider" ], [ "from prjxray.db import Database" ], [ "from runner.koan import *" ], [ "## ===== ADMIN VIEWS =====" ], [ "from oslo_config import types" ], [ "_log = get_actor_logger(__name__)" ], [ "\"Returns information about a quest given its name.\"" ], [ "from .models.job import Job" ], [ "# Some helpers for string/byte handling" ], [ "# Mutually exclusive group in parent parser tests", "# =================================================" ], [ "from core.log import __log_into_file" ], [ "to_enable = [] # list of filters to enable (will automaticaly enable, 1 per logic step)", "to_disable = [] # list of filters to disable (will automaticaly disable, 1 per logic step)" ], [ "s= marker_sets[\"particle_151 geometry\"]", "mark=s.place_marker((2332.26, 2393.17, 1953.59), (0.7, 0.7, 0.7), 99.6588)" ], [ "from django.utils import unittest" ], [ "# deque from 2.4's collections", "# http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/259179/", "#" ], [ "DADDY_FALL = 8000 # milliseconds" ], [ "# 5.153 PrefixTableEntry" ], [ "from .__about__ import __description__, __version__ # noqa" ], [ "from sos.report.plugins import Plugin, IndependentPlugin" ], [ "from wiki import get_path_settings" ], [ "_uuid = test_api_v2._uuid" ], [ "from django.utils.translation import ugettext_lazy as _" ], [ "from .models import Book, Chunk, Image, User", "from .docx import xml_from_docx" ], [ "from ckan.plugins.toolkit import request, c", "import pylons.config as config" ], [ "from ansible.module_utils.ansible_tower import tower_argument_spec, tower_auth_config, tower_check_mode, HAS_TOWER_CLI" ], [ "BGTICKS = 300 # TODO: verify for suitability", "Ticks = IWDTICKS = 200 # TODO: verify for suitability in iwd1" ], [ "# good enough proxy for now", "STATIC_SUPPORTED = PROTOCOL_VERSION >= 2" ], [ "# Version code file generation" ], [ "from case9_6_1 import Case9_6_1" ], [ "from tests.testapp.models import BigCharSetModel, BigIntSetModel, TemporaryModel" ], [ "from edgar_code.cache import Cache, MemoryStore, FileStore, DirectoryStore" ], [ "# -*- coding: utf-8 -*-", "from __future__ import unicode_literals" ], [ "airport.locations = json.load(open(os.path.join(CACHE_PATH, 'airport.locations.json'), 'rUb'))" ], [ "# =============================================================================" ], [ "import sys" ], [ "from gui.utils.numberFormatter import formatAmount, roundToPrec" ], [ "s= marker_sets[\"particle_175 geometry\"]", "mark=s.place_marker((1611.59, 1131.64, 2325.12), (0.7, 0.7, 0.7), 106.046)" ], [ "gen_test.__test__ = False" ], [ "import _plotly_utils.basevalidators" ], [ "from . import _base" ], [ "import os" ], [ "log = get_module_logger(__name__)" ], [ "from gwlfe.MultiUse_Fxns.Discharge.UrbanQTotal import UrbanQTotal", "from gwlfe.MultiUse_Fxns.Discharge.UrbanQTotal import UrbanQTotal_f" ], [ "# Program entry point. Don't execute if imported." ], [ "# States (Pressed, Non Pressed, With Focus, Disabled).", "#----------------------------------------------------------------------" ], [ "SPEAKER_REQUEST_EMAIL_TO = ['user@example.com']" ], [ "import telemetry.core.platform.power_monitor as power_monitor" ], [ "here = path(__file__).parent" ], [ "class ErrorCalendarIsDelegatedForTentative(ResponseMessageError): pass", "class ErrorCalendarIsNotOrganizer(ResponseMessageError): pass", "class ErrorCalendarIsOrganizerForAccept(ResponseMessageError): pass" ], [ "from wasp_general.network.messenger.proto import WMessengerOnionSessionFlowProto" ], [ "from os.path import expanduser" ], [ "from inventory.models import Tshirt, UserTshirt" ], [ "# this class checks if the connection to the server has broken down", "# => reconnects it if necessary" ], [ "class BillTerm(GnuCashCoreClass): pass" ], [ "from operator import itemgetter" ], [ "from pyasm.biz import PrefSetting" ], [ "_sym_db.RegisterMessage(ComputeResponse)" ], [ "global_memmap_cache = {}" ], [ "from tests import make_temp_dir, AUS_TOPO_FILE" ], [ "import os", "from typing import Iterable, Tuple" ], [ "# A quick-and-dirty launch test of sclang. This is temporary, but does the job for now." ], [ "reperr.new_article()" ], [ "import argparse" ], [ "current_request = None" ], [ "lives = 3" ], [ "pending_lookups = {}" ], [ "import os" ], [ "class ErrorInvalidPropertyForOperation(ResponseMessageError): pass", "class ErrorInvalidPropertyRequest(ResponseMessageError): pass", "class ErrorInvalidPropertySet(ResponseMessageError): pass" ], [ "urlpatterns += [url(r'^jsreverse/$', 'django_js_reverse.views.urls_js', name='js_reverse')]" ], [ "import re", "import textwrap" ], [ "from gettext import gettext as _" ], [ "def mpf_tan(x, prec, rnd=round_fast): return mpf_cos_sin(x, prec, rnd, 3)", "def mpf_cos_sin_pi(x, prec, rnd=round_fast): return mpf_cos_sin(x, prec, rnd, 0, 1)", "def mpf_cos_pi(x, prec, rnd=round_fast): return mpf_cos_sin(x, prec, rnd, 1, 1)" ], [ "# pylint: enable=protected-access" ], [ "from myflaskapp.user.models import User" ], [ "import six", "# PY3 support of some PY2 keywords (needs improved)" ], [ "from numba.cuda.testing import unittest, CUDATestCase, skip_on_cudasim", "from numba.tests.support import linux_only" ], [ "#####", "# hooks", "#####" ], [ "import dns.rdata", "import dns.tokenizer" ], [ "exitCode = 0", "errorList = []" ], [ "from django.utils.encoding import python_2_unicode_compatible" ], [ "DATE_FIELDS = ['date_created', 'date_completed', 'date_started']" ], [ "#", "# Test that exclusive locks time while lots of shared locks are held.", "#" ], [ "_queryprog = None" ], [ "###########################################################################" ], [ "#########################" ], [ "class HostUnknown(StreamError): pass" ], [ "from Axon.Ipc import producerFinished, shutdown", "from PureTransformer import PureTransformer" ], [ "from django.core.management import execute_from_command_line" ], [ "EXP_INFO = 2" ], [ "from django.db import models" ], [ "s= marker_sets[\"particle_42 geometry\"]", "mark=s.place_marker((7530.88, 1255.25, 6019.71), (0.7, 0.7, 0.7), 1088.21)" ], [ "FunctionSpace.__init__ = custom_FunctionSpace__init__" ], [ "ds = distributions" ], [ "#neutron/plugins/cisco/db/n1kv_models_v2.py" ], [ "# Test connected components", "#------------------------------------------------------------------------------" ], [ "SUSE = 'suse'" ], [ "test.sleep()" ], [ "d[list] = _deepcopy_list" ], [ "CHUNK = 1024 * 128" ], [ "# C:/PROGRA~1/MICROS~4/VC98/Include/commctrl.h 3417" ], [ "py2_stdlib.extend(manual_stdlib)" ], [ "import pytest", "from sys import platform" ], [ "# If default endpoint is localhost, then default mtls endpoint will be the same.", "# This method modifies the default endpoint so the client can produce a different", "# mtls endpoint for endpoint testing purposes." ], [ "s= marker_sets[\"particle_62 geometry\"]", "mark=s.place_marker((2983.48, 9564.81, 2203.83), (0.7, 0.7, 0.7), 846)" ], [ "import ampsave.tests.sip_pb2", "from ampsave.common import getPrintableAddress, getPrintableDscp" ], [ "from scap.model.oval_5.sc.ItemType import ItemType", "logger = logging.getLogger(__name__)" ], [ "# StringTypes is already outdated. Instead of writing \"type(x) in", "# types.StringTypes\", you should use \"isinstance(x, basestring)\". But", "# we keep around for compatibility with Python 2.2." ], [ "from caffe2.python import core, workspace, test_util" ], [ "from rx.disposable import MultipleAssignmentDisposable" ], [ "import sys", "import time" ], [ "from preprocessing import Preprocessor" ], [ "TS_STOP = \"\"" ], [ "cmdclass = {'test': TestCommand}", "ext_files = []" ], [ "import tempfile", "from setuptools import setup" ], [ "from . import updatecommandline", "from .update import UpdateRunner" ], [ "import re" ], [ "import socket" ], [ "Emitter.register('html', HTMLEmitter, 'text/html; charset=utf-8')" ], [ "### UserString", "################################################################################" ], [ "######################", "# Basic Q" ], [ "# filter bind parameters into datetime objects (required by pyodbc,", "# not sure about other dialects)." ], [ "from PyQt4 import QtCore, QtGui" ], [ "import random" ], [ "\"\"\"Fetching\"\"\"" ], [ "# stackdim = np.where(s==stackenergy.size)[0][0]", "s = np.delete(s, stackdim)" ], [ "DjangoSafeDumper.add_representer(decimal.Decimal, DjangoSafeDumper.represent_decimal)" ], [ "import setuptools.command.build_ext", "import os.path" ], [ "meta = MetaData()" ], [ "s= marker_sets[\"particle_50 geometry\"]", "mark=s.place_marker((10846, 12949, 7952.39), (0.7, 0.7, 0.7), 492.203)" ], [ "import ckeditor_uploader.fields" ], [ "from vilya.models.tag import TAG_TYPE_TEAM_ISSUE" ], [ "from student.models import UserProfile" ], [ "# TODO: mv these classes to a separate file so we don't pollute vault with 'subprocess' etc" ], [ "WARNINGS = []" ], [ "# MovieClip" ], [ "from confiture.schema.types import String, Integer, Boolean" ], [ "log = logging.getLogger(\"bot\")" ], [ "import struct", "import sys", "from configobj import ConfigObj, ConfigObjError" ], [ "# pylint: disable=g-import-not-at-top,unused-import", "_TENSORBOARD_AVAILABLE = True" ], [ "import util" ], [ "#@+node:2014spring.20140628104046.1761: ** class MediaCling" ], [ "# SCALAR OPS", "#" ], [ "from obci.analysis.obci_signal_processing.signal import data_write_proxy", "LOGGER = logger.get_logger(\"andy_gsr\", \"debug\")" ], [ "from .tinterface import get_worlds" ], [ "s= marker_sets[\"particle_283 geometry\"]", "mark=s.place_marker((4194.71, 2816.88, 2652.96), (0.7, 0.7, 0.7), 194.072)" ], [ "_L = Literal", "ParserElement.literalStringClass = Literal" ], [ "coverage_file = coverage_file[0:-len(\".coverage\")]", "run_cov = os.getenv('PYCHARM_RUN_COVERAGE')" ], [ "# 7.4.4" ], [ "luks_default_key_secret_opt = 'key-secret=keysec0'" ], [ "import pyorient" ], [ "_check_size(c_ulong)" ], [ "### Merge BigWigs ##########################################################" ], [ "# ============= local library imports ==========================" ], [ "s= marker_sets[\"particle_292 geometry\"]", "mark=s.place_marker((4684.83, 2820.11, 1774), (1, 0.7, 0), 256)" ], [ "from parse_rest.core import ParseError" ], [ "from itertools import combinations", "from networkx import k_clique_communities" ], [ "import uuid" ], [ "# Writer classes" ], [ "from unittest import TestCase" ], [ "UID = \"m63\"", "# Callback function for end of detection cycle" ], [ "import numpy as np" ], [ "import time", "import socket" ], [ "from InputObservers.InputObserver import InputObserver", "from decorators.overrides import overrides" ], [ "from .xmppstringprep import NODEPREP, RESOURCEPREP", "from .exceptions import JIDError" ], [ "# The main entry point and bootstrapping." ], [ "from reverse_game_of_life import *" ], [ "start_app()" ], [ "import codecs", "from bs4 import BeautifulSoup" ], [ "import collections", "from recognition.rules import astree" ], [ "# =============================================================================" ], [ "## \"The Compact Font Format Specification\")", "##", "NIBBLES = ('0','1','2','3','4','5','6','7','8','9','.','e','e-',None,'-')" ], [ "import weakref", "from weakref import WeakValueDictionary" ], [ "s= marker_sets[\"particle_163 geometry\"]", "mark=s.place_marker((2668.32, 4291.56, 1397.25), (0.7, 0.7, 0.7), 79.0164)" ], [ "# TODO: the names used across CHAR / VARCHAR / NCHAR / NVARCHAR", "# here are inconsistent and not very good" ], [ "relabel_motors(sdd_pos)", "# PCOEdge detector motion" ], [ "SKIP_TIME = 10" ], [ "# TODO entries for merge,suppress,makebot,gblblock,renameuser,globalauth,gblrights ?" ], [ "zone = hass.states.get(zone_entity_id)" ], [ "from hokusai.lib.common import get_region_name", "from hokusai.lib.exceptions import HokusaiError" ], [ "# it would be good to have real board positions, but failing that just generate random ones" ], [ "from datadotworld.util import LazyLoadedValue, memoized" ], [ "#\u53c2\u52a0\u666e\u901a\u6bd4\u8d5b" ], [ "learningBot = LearningBot()" ], [ "__all__ = ['AutoFinalizedObject']" ], [ "# Functions" ], [ "from django.core.management.base import LabelCommand, CommandError", "from django.utils.encoding import force_unicode" ], [ "from c1219.data import getTableIDCBFLD", "from c1219.errors import C1219ParseError" ], [ "#", "# Overseer main logic", "#" ], [ "s= marker_sets[\"particle_1 geometry\"]", "mark=s.place_marker((2121.34, 1686.58, 9195.9), (0.7, 0.7, 0.7), 846)" ], [ "import unicodedata" ], [ "from ansible.plugins.inventory import BaseInventoryPlugin, Constructable, Cacheable" ], [ "from tlslite.integration.ClientHelper import ClientHelper" ], [ "import pytz" ], [ "#### All Telegraf-specific content above this line", "################" ], [ "next = advance_iterator" ], [ "from openerp.osv import fields, osv" ], [ "from rdkit.ML.DecTree import randomtest" ], [ "Coder.register_structured_urn(common_urns.coders.BYTES.urn, BytesCoder)" ], [ "AVERAGE_LOSS_METRIC_KEY = 'average_loss'" ], [ "create_releases_page()" ], [ "#---- public classes" ], [ "c = c + 1", "### should we use the original bounding box" ], [ "socket_path = '/var/run/hera.netd.%d.sock' % ns.uid", "sock = socket.socket(socket.AF_UNIX)" ], [ "s= marker_sets[\"particle_342 geometry\"]", "mark=s.place_marker((5132.5, 1602.26, 2447.13), (0.7, 0.7, 0.7), 134.429)" ], [ "import pytest", "import sys" ], [ "# };" ], [ "beam_size = 5", "model_path = \"models/rnn_lm_pass_00000.tar.gz\"" ], [ "parser.add_argument('-d', dest='classes_out', default=current_directory)" ], [ "import itertools", "from functools import wraps" ], [ "from collections import UserList", "from test import support, list_tests" ], [ "REDIRECT_CACHE_SIZE = 1000" ], [ "s= marker_sets[\"particle_43 geometry\"]", "mark=s.place_marker((4066.58, 9999.36, 5073.68), (0.7, 0.7, 0.7), 809.326)" ], [ "#", "# Note that a failed segments may still be up -- it could be that the conversion to mirror/primary mode failed", "#" ], [ "from models.customerfamily import CustomerFamily" ], [ "from .label import Label" ], [ "# FUN(regionIndices, blockBinCount, blockColumnCount, intra)", "# Return blocksSet" ], [ "from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin" ], [ "import requests" ], [ "normalize_newlines = allow_lazy(normalize_newlines, six.text_type)" ], [ "from telemetry.page import action_runner as action_runner_module" ], [ "_importer = _SixMetaPathImporter(__name__)" ], [ "chrome_path = os.path.join(dir_path,\"chromedriver\")", "driver = webdriver.Chrome(chrome_path)" ], [ "from mpp.gpdb.tests.storage.lib.dbstate import DbStateClass", "from mpp.models import SQLConcurrencyTestCase" ], [ "from .agilentBase8590A import *" ], [ "COLORS = [\"#ffff00\", \"#fcd37f\", \"#ffaa00\", \"#e60000\", \"#730000\"]" ], [ "from time import time" ], [ "from asymmetricbase.logging import logger # @UnusedImport", "from asymmetricbase import forms" ], [ "# In[17]:" ], [ "from twilio.http.response import Response" ], [ "##################################################", "## CLASSES" ], [ "from odoo.addons.http_routing.models.ir_http import slug" ], [ "fixture_data = {}" ], [ "additiv_global = '*' * 1000" ], [ "import threading", "import time" ], [ "##########################################################################" ], [ "from markupsafe import Markup, escape" ], [ "w0 = np.array([-0.5, 2])", "# Determine loss at optimal param values:" ], [ "test_obj_dict = test_state.TestStateDict()" ], [ "READELF_CMD = '/usr/bin/readelf'", "CPPFILT_CMD = '/usr/bin/c++filt'" ], [ "from supybot.test import *" ], [ "# {{{ view assignments" ], [ "_srid_cache = {}" ], [ "from ansible.module_utils.basic import AnsibleModule" ], [ "s= marker_sets[\"particle_24 geometry\"]", "mark=s.place_marker((8437.21, 4527.86, 3706.96), (0.7, 0.7, 0.7), 663.941)" ], [ "TOGGLE_LABEL_HOTKEY = 'ctrl+t'", "HACK_OFF_SPECIES_TYPING = True" ], [ "_all_comments = []" ], [ "from ansible.module_utils.basic import *", "from ansible.module_utils.known_hosts import *" ], [ "_filter_registry = {}" ], [ "# Router" ], [ "MAX_DECEL = 1.0" ], [ "from tensorflow.python.platform import tf_logging" ], [ "# For all postcodes, calculate the centroid" ], [ "__author__ = 'wilmer'", "# This one corresponds to the AverageOpeningTime.pdf document (first model)" ], [ "# =============================================================================" ], [ "out = open('out/hexagons-geom.lxo', 'w')", "out.write(base_hexagon())" ], [ "from ui.eventdialog import BEEFEventDialog" ], [ "import django.db.models.deletion" ], [ "from buildbot_worker.test.util import misc" ], [ "from invenio_records.models import RecordMetadata" ], [ "Layouts = collections.namedtuple('Layouts', ['text', 'icon', 'indicator'])" ], [ "'''Collection of the shared exceptions used in testing'''" ], [ "from google.devtools.clouderrorreporting.v1beta1 import report_errors_service_pb2" ], [ "from pida.ui.prioritywindow import PriorityEditorView, Category, Entry" ], [ "from oscar.test.factories import UserFactory" ], [ "from Tools.Directories import fileExists" ], [ "# This class is copied from", "# 'http://bugs.python.org/file40031/reset_warning_registry.py' by Eli Collins", "# and is related to http://bugs.python.org/issue21724 Python<3.4" ], [ "RED = (0, 0, 0, 0.5)" ], [ "from lib.hachoir_parser.container.ogg import XiphInt", "from datetime import datetime, timedelta" ], [ "BUSY_LOOP_MAX_TIME_SEC = NCTEST_KILL_TIMEOUT_SEC * 2" ], [ "rospy.init_node('handeye_calibration_publisher')" ], [ "import copyreg" ], [ "import sys" ], [ "signal.signal(signal.SIGTERM, sigterm_handler)" ], [ "OAUTH_REALM_KEY_NAME = 'OAUTH_REALM_KEY_NAME'" ], [ "pathsep = ';'", "altsep = '/'", "defpath = '.;C:\\\\bin'" ], [ "from io import BytesIO" ], [ "addr2line_regexp = re.compile(r\"(.*):(\\d+)$\")" ], [ "import django.db.models.deletion" ], [ "# Example configuration for intersphinx: refer to the Python standard library.", "#intersphinx_mapping = {'http://docs.python.org/': None}" ], [ "from neutron.tests import base" ], [ "sphere.draw(gray)", "fig3 = maya.figure(3, bgcolor=white, fgcolor=white)" ], [ "import sys" ], [ "_type_value_re = re.compile('^(\\w+):(.*)$')" ], [ "#==============================================================================" ], [ "from inspirehep.utils.record_getter import get_db_record" ], [ "# Turn this module into a package.", "__path__ = [] # required for PEP 302 and PEP 451", "__package__ = __name__ # see PEP 366 @ReservedAssignment" ], [ "# Global queue for multiprocessing logging", "queue = None" ], [ "import sys", "PY3 = sys.version_info[0] == 3" ], [ "marker_sets={}", "surf_sets={}" ], [ "import unittest" ], [ "# The theme to use for HTML and HTML Help pages. See the documentation for", "# a list of builtin themes." ], [ "# try handlers in order and return the one that works or bail if none work" ], [ "#### Statistics ####" ], [ "import sys,os", "import weiboencode", "import weibosearch" ], [ "# Python narrow build compatibility" ], [ "atexit.register(exit_handler)" ], [ "import matplotlib.pyplot as plt" ], [ "###############################################################################" ], [ "from datetime import timedelta", "from datetime import date" ], [ "CONF = config.CONF" ], [ "ROOT, PROJECT_NAME = helpers.get_app_dirs(__file__)" ], [ "#from scipy.ndimage import maximum_filter" ], [ "# Function create_numpy_features", "#" ], [ "s= marker_sets[\"particle_312 geometry\"]", "mark=s.place_marker((1408.96, 1570.76, 1479.03), (0.7, 0.7, 0.7), 203.674)" ], [ "from sentry.models import EventUser, GroupTagValue, TagKey, TagValue" ], [ "ec2_backends = {}" ], [ "import struct" ], [ "# Project Types" ], [ "LOG = logging.getLogger(__name__)" ], [ "from utils import *", "import os" ], [ "xlims = (0, min(T,1000))", "n_to_plot = np.arange(min(5, D_obs))" ], [ "LOG = logging.getLogger(__name__)" ], [ "parser.add_argument('-o',dest=\"output_prefix\",help=\"Prefix for output files\")", "parser.add_argument('-c',dest=\"chromosome\",help=\"Chromosome to perform fay and wus on\")", "args=parser.parse_args()" ], [ "from canvasapi.util import combine_kwargs" ], [ "from south.v2 import SchemaMigration", "from django.db import models" ], [ "DO_SSH_KEY_NAME = os.environ.get(\"DO_SSH_KEY_NAME\")" ], [ "LOG = log.getLogger(__name__)" ], [ "s= marker_sets[\"particle_44 geometry\"]", "mark=s.place_marker((5700.92, 9464.28, 9712.6), (0.7, 0.7, 0.7), 796.72)" ], [ "# Load the spectral cube cropped in the middle for efficiency" ], [ "\"\"\"Utility functions that build upon SQL and Schema constructs.\"\"\"" ], [ "outf = './checkpoints'" ], [ "_logger_lock = Lock()" ], [ "# - The format of gprof-cc reports is unaffected by the use of", "# -knob enable-call-counts=true (no call counts, ever), or", "# -show-as=samples (results are quoted in seconds regardless)." ], [ "import numpy as np" ], [ "LOG = logging.getLogger('nova.tests.consoleauth')" ], [ "endpoint = \"http://burger.bleepr.io\"" ], [ "###############################################################################", "# Paths functions" ], [ "import sys" ], [ "class vdash(MathSymbol): pass", "class geq(MathSymbol): pass", "class ge(MathSymbol): pass" ], [ "# ImportOpenFileContextManager", "#", "#-------------------------------------------------------------------------" ], [ "import pybindgen.settings", "import warnings" ], [ "import re" ], [ "#######################################################################" ], [ "del extend_path", "__execfiles = []" ], [ "# We should also check to make sure that this extension is explicitly listed", "# in the results. Any other exceptions will be allowed to propagate upwards." ], [ "from airflow.models import BaseOperator", "from airflow.utils.decorators import apply_defaults" ], [ "from slugify import slugify as unicode_slugify" ], [ "beta_map = {}" ], [ "C, D = axelrod.Actions.C, axelrod.Actions.D" ], [ "from bedrock.mozorg.util import page" ], [ "invite = login_required(invite)" ], [ "inputline = None" ], [ "from cherrypy.test import helper, webtest" ], [ "from tensorflow.python.util import nest" ], [ "# limitations under the License." ], [ "import numpy as np", "#Aux. function to write data to a text file." ], [ "# Test using 'opt'" ], [ "from synnefo_admin.admin.utils import update_actions_rbac, send_admin_email" ], [ "from xml.dom import Node", "from xml.dom.html.HTMLElement import HTMLElement" ], [ "node_script_path = join(dirname(realpath(superdesk.__file__)), \"data_updates\", \"00007_20180321-092824_archive.dist.js\")" ], [ "# ===========================================" ], [ "Solid = Trace" ], [ "import tempfile" ], [ "admin.site.register(Role, RoleAdmin)" ], [ "# process arguments", "args = []" ], [ "from django.db import models" ], [ "# Add any Sphinx extension module names here, as strings. They can be extensions", "# coming with Sphinx (named 'sphinx.ext.*') or your custom ones." ], [ "_ENDPOINT_TYPE_IP = 2" ], [ "EventFuncType = Callable[..., Any]" ], [ "# {PE_Prelude.Show.Maybe a instance of Prelude.Show.Show, method show_bb6a4ac68}" ], [ "# uninitialize the script plug-in" ], [ "from share.tasks import DisambiguatorTask" ], [ "from binascii import hexlify" ], [ "__author__ = \"bigfatnoob\"" ], [ "from . import om", "from .shared_resources import UNIQUE_QGRAPHICSITEM_TYPE" ], [ "from setuptools import setup, find_packages", "# just cleanly exit on readthedocs" ], [ "## # NOTE: should also provide get_backend(), .has_backend(), and .backends attr", "## return hasattr(handler, \"set_backend\")" ], [ "# Assignment tests", "############################################################" ], [ "from openerp.osv import orm" ], [ "# Create synapse and set time of synaptic input", "pre_syn_pick = np.random.permutation(np.arange(n_pre_syn))[0:n_synapses]" ], [ "from sickbeard import helpers" ], [ "# a faster version of (base ** exp) % mod", "#\t\ttaken from " ], [ "from espressomd import System, lb" ], [ "# count number of rectangles", "# inside ASCII in input lines" ], [ "# print all numbers from -3 to 2" ], [ "L2CAP, RFCOMM, OBEX = (10, 11, 12)" ], [ "# adjacency", "# ==============================================================================" ], [ "# TODO: Consider using cStringIO instead of buffers and data_lists when reading", "# and writing." ], [ "from datadog import api" ], [ "del k, f, K", "#------------------------------------------------------------------------" ], [ "#############################################################" ], [ "from projects.node_failure.emulate_hard_faults import hard_fault_injection" ], [ "FLAGS = tf.app.flags.FLAGS" ], [ "from openerp.osv import fields, osv", "from openerp import netsvc" ], [ "from xmodule.modulestore.tests.factories import CourseFactory" ], [ "usage = '%s IN OUT' % os.path.basename(__file__)" ], [ "import frappe", "from frappe import _" ], [ "# Bibliographic Elements", "# ========================" ], [ "HANDLERS = {}" ], [ "import math" ], [ "# Enthought library imports", "from traits.api import HasTraits, Instance, Int" ], [ "from app.models.base import BaseModel" ], [ "__all__ = [\"Recaptcha\"]" ], [ "from django.db import models" ], [ "from south.v2 import DataMigration", "from django.db import models" ], [ "out_fprop = model.fprop(im)", "out_fprop_save2 = [x.get() for x in out_fprop]" ], [ "source = ColumnDataSource(make_data())" ], [ "CHECKOUT_DIST = 0", "DEVELOP_DIST = -1" ], [ "from virttest.libvirt_xml.devices import base" ], [ "s= marker_sets[\"particle_110 geometry\"]", "mark=s.place_marker((2092.89, 2750.61, 3511.04), (0.7, 0.7, 0.7), 121.57)" ], [ "ID_LEN = models.ID_LEN" ], [ "from test import test_support" ], [ "internet = {}" ], [ "# TODO(yuefengz): maybe create a common class for those who need to call this", "# _call_for_each_replica." ], [ "del _i" ], [ "# " ], [ "from .. import parser, serializer" ], [ "import os.path" ], [ "from south.v2 import SchemaMigration", "from django.db import models" ], [ "LOG = logging.getLogger(__name__)" ], [ "import logging", "import time" ], [ "from sverchok.node_tree import SverchCustomTreeNode" ], [ "print(\"####################################################################\")" ], [ "s= marker_sets[\"particle_124 geometry\"]", "mark=s.place_marker((1811.4, 2770.88, 3791.12), (0.7, 0.7, 0.7), 145.004)" ], [ "from datetime import tzinfo" ], [ "log = logging.getLogger(__name__)" ], [ "from virtual_box_tools.yaml_config import YamlConfig" ], [ "BookingReservedToOrderedTitleCB = BookingCancelledTitleCB" ], [ "_TABLE_HAS_NO_SCHEMA = 'Table has no schema: call \"client.get_table()\"'" ], [ "logger = logging.getLogger(__name__)" ], [ "from trayjenkins.settings import Settings, CommandLineSettingsParser" ], [ "import socket" ], [ "from shuup.testing.utils import apply_request_middleware" ], [ "import sys" ], [ "from complected import cats" ], [ "from ansible.module_utils.ec2 import camel_dict_to_snake_dict, AWSRetry", "from ansible.module_utils.aws.waiters import get_waiter" ], [ "less_equal_s_d = LessEqualSD()" ], [ "outpath = '../results/pip2015/velfitgroups2/'", "extra = ''", "subpath = ''" ], [ "s= marker_sets[\"particle_196 geometry\"]", "mark=s.place_marker((4846.77, 3286.82, 1909.39), (0.7, 0.7, 0.7), 196.526)" ], [ "STATUS_OK = 0" ], [ "syslog.openlog(logoption=syslog.LOG_PID, facility=syslog.LOG_AUTH)" ], [ "from pythran.range import Range, UNKNOWN_RANGE, combine" ], [ "# using custom id column to test ticket #11107" ], [ "pp_set.add_printer('base::Callback', '^base::Callback<.*>$', CallbackPrinter)" ], [ "from amqp.transport import TCPTransport" ], [ "import six" ], [ "from django.contrib.auth.models import User" ], [ "# THREAD FOR ASYNC SEARCHES IN THE DATABASE", "# RETURNS FIRST 500(number_of_results) RESULTS MATCHING THE QUERY", "# fts VALUE DECIDES IF USE FAST \"MATCH\" OR SLOWER BUT SUBSTRING AWARE \"LIKE\"" ], [ "s= marker_sets[\"particle_15 geometry\"]", "mark=s.place_marker((1340.64, 745.14, 3327.33), (0.7, 0.7, 0.7), 490.595)" ], [ "admin.site.register(Group, GroupAdmin)" ], [ "# end class cimChar16" ], [ "from PyQt5.QtGui import QIcon" ], [ "CTD_ANON_78._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, 'max_angle'), pyxb.binding.datatypes.double, scope=CTD_ANON_78, documentation='\\n Must be greater or equal to min_angle\\n ', location=pyxb.utils.utility.Location('/mnt/work/BlenderRobotDesigner/robot_designer_plugin/resources/xsd_sdf/ray.xsd', 42, 20)))" ], [ "#PROXY={'host':'192.168.0.1','port':3128,'username':'luchs','password':'secret'}", "#######################################" ], [ "# Creates a nice formula for the output file:" ], [ "from acos_client.v21 import base" ], [ "from collections import Iterable" ], [ "RETAIN_SCHEMA = util.symbol('retain_schema')" ], [ "from nailgun.test.base import reverse" ], [ "NO_DATA_VALUE = -9999", "MS_ACCESS_CONNECTION = \"Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=%s;\"" ], [ "VTYSH_STANDARD_PROMPT = _VTYSH_PROMPT_TPL.format(_VTYSH_STANDARD)" ], [ "s= marker_sets[\"particle_40 geometry\"]", "mark=s.place_marker((2661.81, 1831.42, 8566.84), (0.7, 0.7, 0.7), 856.575)" ], [ "import math", "import random" ], [ "interrupter = FixedIntervalInterrupter(s, 1e-3, l)", "l.start(s)" ], [ "###########################################################################", "# Options handling" ], [ "from libUtils import combinations", "from libFinance import STOCK_TIMESERIES" ], [ "from beets.util import displayable_path" ], [ "from django.db.backends import BaseDatabaseValidation" ], [ "# These should be served by nginx for deployed environments,", "# presumably this is here to allow for running without DEBUG", "# on in local dev environments." ], [ "from cerbero.utils import remove_list_duplicates" ], [ "from django.utils.translation import gettext_lazy as _" ], [ "__all__ = ['DefaultAccount']" ], [ "import os", "import time" ], [ "# usually returns True" ], [ "from processing.algs.qgis.QgisAlgorithm import QgisFeatureBasedAlgorithm" ], [ "source_render.is_safe = True", "register.filter(source_render)" ], [ "from barely_json.illegal_value import IllegalValue" ], [ "\"\"\" Send API \"\"\"" ], [ "DHCP_HOSTC = 'hostc'" ], [ "__all__ = ['Softexit', 'softexit']" ], [ "class ErrorSyncFolderNotFound(ResponseMessageError): pass", "class ErrorTimeIntervalTooBig(ResponseMessageError): pass", "class ErrorTimeoutExpired(ResponseMessageError): pass" ], [ "## Start Qt event loop unless running in interactive mode or using pyside." ], [ "total_units_done = 0", "max_elapsed = 0.0", "total_units_requested = 0" ], [ "PER_HOP_HMAC_SIZE = 32" ], [ "###############################################################################" ], [ "# Box2d multiplication" ], [ "import sys", "import pmagpy.pmag as pmag" ], [ "# -- Web-data utilities -------------------------------------------------------" ], [ "daysOfWeek = [\"M\",\"M\",\"T\",\"W\",\"TH\",\"F\",\"S\"]", "#init postgresql table" ], [ "from system.media.models import Media" ], [ "TURTLES = array.array(\"f\", range(num_turtles * 4))" ], [ "parser = TextParser()" ], [ "from entries.models import Eintrag, Band, Archiv, Institution, Person, Bearbeiter" ], [ "from ..base_configs import BaseDateParserConfiguration", "from .date_extractor_config import FrenchDateExtractorConfiguration" ], [ "#---- internal support stuff" ], [ "import functools", "import gzip" ], [ "# returns True if at least one entry in @p list is contained in @p str" ], [ "from openerp.osv import fields, osv" ], [ "a = numpy.zeros(N) + 1000", "noise = numpy.random.normal(a).astype(numpy.float32)" ], [ "VALID_PORT_FIELDS = ['port_num', 'protocol', 'status']" ], [ "# get total distance robot has travelled" ], [ "import os", "import glob" ], [ "PGArray = ARRAY" ], [ "def _load_index(d): return _jsonload(os.path.join(d, 'index.json.gz'))", "def _dump_index(i, d): return _jsondump(i, os.path.join(d, 'index.json.gz'))" ], [ "import tensorflow as tf", "import recsys.util.proto.config_pb2 as config" ], [ "from ccxt.base.errors import OrderNotFound" ], [ "import sys, datetime" ], [ "MagneticDeformation = namedtuple(\"MagneticDeformation\", \"type deformation\")" ], [ "# -----------------------------------------------------------------------------" ], [ "from pygchem import config" ], [ "#==========================================================================" ], [ "random_id_range_start = str(random.randint(1, 10000000))" ], [ "from typing import Union" ], [ "TESTPREAMBLE()", "RandomGenerator.SetSeed(0)" ], [ "MDICT = {\"primary\": \"Primary Field\", \"secondary\": \"Secondary Field\"}" ], [ "test_dir = get_test_dir()" ], [ "from copy import copy", "cmd_folder = os.path.realpath(os.path.abspath(\"..\"))" ], [ "# For backwards compatibility - Port any old database settings over to", "# the new values." ], [ "tagged_system_check.tags = ['simpletag']" ], [ "OLD_HISTORY = os.path.expanduser(os.path.join('~', '.cqlsh_history'))" ], [ "BIG_IMAGES = {}" ], [ "sys.path.append(\"../..\")", "from b2handle.handleclient import EUDATHandleClient" ], [ "xswalk,yswalk = random_walk(100,100)", "print(xswalk,yswalk)" ], [ "CAMERA_MAC = \"C0:C1:D0:F4:B4:D4\"" ], [ "from ticket.models import User, Tickets, UserProfile" ], [ "'''module that aggregates config information'''", "__all__=('_reset','register_reset')" ], [ "from samba import check_password_quality", "from samba.tests import TestCase, TestCaseInTempDir" ], [ "import sys", "import os" ], [ "import subprocess" ], [ "from .init import create_workload" ], [ "# ----------------------------------------------------------------" ], [ "###############################################################################" ], [ "#======================================================================" ], [ "from .filewrapper import CallbackFileWrapper" ], [ "# Representation tests" ], [ "import fblldbobjcruntimehelpers as objc", "import fblldbviewcontrollerhelpers as vcHelpers" ], [ "import sys", "import PyV8" ], [ "from test_framework.test_framework import PivxTestFramework", "from test_framework.util import assert_equal" ], [ "import re" ], [ "from test import patch, MagicMock, async_test" ], [ "from ratemyflight.settings import GRAVATAR_SIZE" ], [ "from agate import utils" ], [ "import numpy as np" ], [ "# LIVEWIRE #", "##########################################" ], [ "# STATIC_URL_BASE specifies the base url to use for static files", "STATIC_URL_BASE = ENV_TOKENS.get('STATIC_URL_BASE', None)" ], [ "################################################################################", "# display encounter menu" ], [ "# pylint: disable=W0223" ], [ "print(dependencies)", "print(changes)" ], [ "# Use the custom handler instead of streaming one." ], [ "from haydi.base.exception import HaydiException, TimeoutException" ], [ "from playoffs.models import Playoff" ], [ "from pyarrow.lib import FeatherWriter" ], [ "from .utils import validators" ], [ "# pylint: disable=super-on-old-class; TestCase is a new-style class" ], [ "from PIL import Image" ], [ "env.reset()" ], [ "_log = logging.getLogger(\"ECC\")" ], [ "# TODO(b/30410315): Support warm starting in all feature columns." ], [ "test_args.rule = None" ], [ "# along with Pixelated. If not, see ." ], [ "# #", "#----------------------------------------------------------------------------#" ], [ "test = subunit.ProtocolTestCase(sys.stdin, passthrough=None)" ], [ "histo = ax.hist(ks, bins=np.arange(0, max(ks)+2))" ], [ "from common.Util.NoteDB import Note", "from common.Util.NoteDB import PARAMETER" ], [ "from openerp.report import report_sxw" ], [ "s= marker_sets[\"particle_333 geometry\"]", "mark=s.place_marker((2630.43, 4580.12, 1484.45), (0.7, 0.7, 0.7), 102.916)" ], [ "s= marker_sets[\"particle_267 geometry\"]", "mark=s.place_marker((2282.74, 1584.73, 1772.01), (0.7, 0.7, 0.7), 189.885)" ], [ "p3m = electrostatics.P3M(prefactor=2.0, accuracy=1e-3)", "system.actors.add(p3m)", "p3m_params = p3m.get_params()" ], [ "from processing.tools import dataobjects, vector" ], [ "#neutron/plugins/vmware/dbexts/models.py" ], [ "from openerp.osv import orm, fields" ], [ "# local('pkill python')" ], [ "from tests.imaging import ImageTestCase" ], [ "from ..broker import Broker" ], [ "from .errors import MethodNotAllowedError, PreConditionError", "from .resources import EmptyParams, _ParamsImpl" ], [ "#******************************************************************************", "#******************************************************************************" ], [ "ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir))", "DOCS_DIR = os.path.join(ROOT_DIR, 'docs')" ], [ "_LPINPUT = ctypes.POINTER(_INPUT)" ], [ "_show_details = True" ], [ "b = BPF(text=bpf_text)", "# header" ], [ "import structs" ], [ "VALID_SUBSETS = frozenset(FACT_SUBSETS.keys())" ], [ "from datetime import datetime", "import pytz" ], [ "from pycloudia.cluster.consts import HEADER, DEFAULT" ], [ "_BODY_ENCODING_STR_RE = re.compile(_BODY_ENCODING_PATTERN, re.I)", "_BODY_ENCODING_BYTES_RE = re.compile(_BODY_ENCODING_PATTERN.encode('ascii'), re.I)" ], [ "from __init__ import DocutilsTestSupport" ], [ "from sqlalchemy.orm.exc import NoResultFound" ], [ "from virtinst.XMLBuilderDomain import _xml_property" ], [ "import os.path", "from collagen import utils" ], [ "#", "#------------------------------------------------------------" ], [ "s= marker_sets[\"particle_48 geometry\"]", "mark=s.place_marker((6209.02, 7719.4, 1430.43), (0.7, 0.7, 0.7), 809.284)" ], [ "import os", "import warnings" ], [ "# ArgumentError tests", "# ===================" ], [ "utils.read_file(os.path.join(sTestDir, 'rule_015_test_input.fixed.vhd'), lExpected)" ], [ "pyfalog = Logger(__name__)" ], [ "## 11. Counting the Weather ##", "weather_counts = {}" ], [ "__all__ = [\"TestSSCursor\"]" ], [ "# ask, if reduce?" ], [ "#Get time and find a correct mesaurement!" ], [ "from tools.translate import _" ], [ "# -----------------------------------------------------------------------------" ], [ "from ndg.security.server.xacml.ctx_handler import saml_ctx_handler" ], [ "from .eventmgr import _BaseThresholdCluster", "from .. import opt" ], [ "OS_MACHINE = machine()" ], [ "import supybot.schedule as schedule" ], [ "gis_lookups['touches'] = TouchesLookup" ], [ "from odoo.exceptions import ValidationError, UserError" ], [ "from zun.api.controllers import link" ], [ "import sys" ], [ "blacklist = [\"/\", \"/tools/\", \"/resources/\", \"/common/\", \"/conformance-checkers/\", \"_certs\"]" ], [ "from csmpe.decorators import delegate" ], [ "s= marker_sets[\"particle_46 geometry\"]", "mark=s.place_marker((6741.14, 3417.61, 6448.81), (0.7, 0.7, 0.7), 881.828)" ], [ "import cpylmnl.linux.rtnetlinkh as rtnetlink", "from cpylmnl.nlstruct import NLStructure" ], [ "class NoSuchTufo(SynErr): pass", "class NoSuchType(SynErr): pass", "class NoSuchProp(SynErr): pass" ], [ "# General API", "#-----------------------------------------------------------------------------" ], [ "s= marker_sets[\"particle_73 geometry\"]", "mark=s.place_marker((8408.48, 10127.3, 5641.1), (0.7, 0.7, 0.7), 846)" ], [ "_OP, _STRING = range(2)" ], [ "# Run correlation:", "non_max_all_results = []", "print (\"correlation analysis of non-maximal results:\")" ], [ "log = logging.getLogger('SerialTest')" ], [ "from csv import DictWriter", "import re " ], [ "# --- end of _ConfigurationSourceAutoVarMapping ---" ], [ "import numpy as np" ], [ "import doctest", "import os", "import glob" ], [ "import sys", "from PyQt4 import QtGui" ], [ "app.register_blueprint(events_app)", "app.register_blueprint(layout_app)" ], [ "class I3(Interface): pass", "class I31(I3): pass", "class I4(Interface): pass" ], [ "import sys", "from compiler.ast import Const, Name, Tuple, Div, Mul, Sub, Add" ], [ "conn = None" ], [ "class simeq(MathSymbol): pass", "class asymp(MathSymbol): pass", "class approx(MathSymbol): pass" ], [ "import stat", "import sys" ], [ "gtk.glade.bindtextdomain(\"system-config-kickstart\")", "_ = lambda x: gettext.ldgettext(\"system-config-kickstart\", x)" ], [ "repo = g.repository('tux3', 'qTox')", "release = repo.create_release(version,'master',title,'This is an automated release of qTox, published by qTox\\'s continous integration server.',False,False)" ], [ "from debian.debian_support import version_compare" ], [ "##################################################", "## if run from command line:" ], [ "# BEFORE importing distutils, remove MANIFEST. distutils doesn't properly", "# update it when the contents of directories change." ], [ "from receiver import api_pb2_grpc", "from configurator import api_pb2 as cfg_pb2" ], [ "#castasap" ], [ "s= marker_sets[\"particle_338 geometry\"]", "mark=s.place_marker((4102.69, 2703.51, 1015.64), (0.7, 0.7, 0.7), 186.797)" ], [ "log = logging.getLogger(__name__)" ], [ "import copy as _copy" ], [ "# str() and repr() tests", "# ======================" ], [ "# Check if Spartan is up", "spartans_up = []" ], [ "class InvalidPhoneNumberError(ValidationError): pass", "class TemplateNotFoundError(ValidationError): pass", "class UniqueValidationError(ValidationError): pass" ], [ "# Communicator class" ], [ "from p2.datashackle.core.models.relation import Relation" ], [ "NEON_DIR = os.path.join('gits','emdrp','neon3')", "PYTHON_INIT_CMD = '#!/bin/bash\\nsource /home/pwatkins/.bash_aliases; '" ], [ "default_bufsize = (2 ** 14) - 20" ], [ "def get_boolean_group(name): return int(name[9:])", "def get_boolean_groups(name): return map(int, name[10:].split('_'))" ], [ "from intermol.forces.abstract_angle_type import AbstractAngleType" ], [ "pytest.importorskip('gunicorn')" ], [ "config = config.rec()" ], [ "from valuation import DiscretePseudoValuation, InfiniteDiscretePseudoValuation, DiscreteValuation", "from sage.structure.factory import UniqueFactory" ], [ "s= marker_sets[\"particle_322 geometry\"]", "mark=s.place_marker((2563.27, 3667.9, 1052.41), (0.7, 0.7, 0.7), 148.727)" ], [ "from resources.lib.libraries import control" ], [ "#noruntests" ], [ "# Map (some) NumPy platform dtypes to TF ones using their fixed-width", "# synonyms. Note that platform dtypes are not always simples aliases,", "# i.e. reference equality is not guaranteed. See e.g. numpy/numpy#9799." ], [ "from openerp import fields, models, api" ], [ "import frappe", "from frappe import _" ], [ "from django.db import models" ], [ "#end Create material only here", "#Create ramps only here" ], [ "# CALCULATE RHS OF RAY TRACING EQUATIONS\t", "# ---------------------------------------------- #" ], [ "import os, sys, re, subprocess;", "import clang.cindex" ], [ "to_sparql_prefix_definition = lambda prefs: '\\n'.join([ 'PREFIX %s: <%s>'%(p,u) for p,u in prefs.items() ])", "PREFIX_CC_JSON = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'prefix.cc.json')" ], [ "# return not self[\"extend\"].value and self[\"signature\"].value == MAGIC and \\", "# self[\"host_os\"].value<12" ], [ "import sys, time", "from binascii import hexlify" ], [ "from waflib import Options, Task", "from waflib.Build import BuildContext" ], [ "from tempest.tests.lib.services import base" ], [ "from openquake.hazardlib.geo.mesh import Mesh" ], [ "from spack import *" ], [ "# https://www.apache.org/licenses/LICENSE-2.0" ], [ "# Exceptions from Google responses", "class GCMMissingRegistrationException(GCMException): pass" ], [ "from pyramidapp.models.group import Group" ], [ "from django_odesk.auth.encrypt import decrypt_token" ], [ "#July 20th, 2018.", "#Looks through the 'csv' fil, and reject Retweets. And also removes Mentions(@xxx)." ], [ "# Captain Greenskin" ], [ "TYPE_MASK = 0x000000ff" ], [ "from resources.lib.extensions import tools", "from resources.lib.externals.beautifulsoup import BeautifulSoup" ], [ "from module.utils import save_join" ], [ "from wheelhouse_uploader.fetch import download_artifacts" ], [ "import pulsar as psr", "import math" ], [ "#=======================================================================================================================", "# InternalSetNextStatementThread", "#=======================================================================================================================" ], [ "import abc", "import rfc3987" ], [ "from timyd.console import colors" ], [ "PY3 = sys.version_info[0] == 3" ], [ "down_revision = '0259_remove_service_postage'" ], [ "import django.db.models.deletion" ], [ "import logging", "from datetime import timedelta, datetime" ], [ "loc_A, loc_B = (1, 1), (2, 1) # The two locations for the Vacuum world" ], [ "db.authenticate('pledgemaster', 'skilodge')", "# Goes through all players in the DB" ], [ "T = TypeVar('T')", "ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]" ], [ "from OpenGL.GLU import *", "from OpenGL.GL import *" ], [ "from cwapi.views import search_text_match" ], [ "from lyricwiki.items import LyricWikiItem" ], [ "# C:/PROGRA~1/MICROS~4/VC98/Include/winuser.h 4283" ], [ "####################################################################################################" ], [ "# Namespace 'contains' tests", "# ==========================" ], [ "from tempest import test" ], [ "from ansible.module_utils._text import to_bytes" ], [ "# Encoders!" ], [ "client = discord.Client()" ], [ "Factory.addProduct(Center)" ], [ "_FILE_CACHE = {}" ], [ "from PyQt4.QtCore import QThread, pyqtSignal" ], [ "ADAPTER_INTERFACE = SERVICE_NAME + \".Adapter1\"", "DEVICE_INTERFACE = SERVICE_NAME + \".Device1\"" ], [ "from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo" ], [ "from django.utils.http import urlencode", "import operator" ], [ "full_dec = decorator_from_middleware(FullMiddleware)" ], [ "from flap.latex.macros.commons import Invocation" ], [ "# These are handy for creating colorful terminal output to enhance readability", "# of the output generated by dask-ssh." ], [ "s_block_end(\"CMD_FRMT_+CMGC\")" ], [ "from spack import *" ], [ "#------------------------------------------------------------------------------" ], [ "username = os.environ.get('RMQ_USERNAME')", "password = os.environ.get('RMQ_PASSWORD')" ], [ "from maas_common import status_ok" ], [ "repo_path = join(basepath, test_name + os.sep)" ], [ "from nose.tools import *", "import networkx as nx" ], [ "TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), 'data')" ], [ "from django.contrib.auth.models import User", "from datetime import *" ], [ "# =============================================================================", "# Jobs", "# =============================================================================" ], [ "__ALL__ = ('MultiSiteBaseManager','MultiSiteBaseManagerAdmin','BaseManager','GenericRelationManager')" ], [ "# POST-ORDER TESTS" ], [ "# Attempt to resolve an appropriate AMI given the architecture and region of the request." ], [ "api_opts = get_options()" ], [ "# Find path to project root", "proj_dir = os.path.split(os.path.abspath(__file__))[0]" ], [ "from enum import Enum" ], [ "# restart instance" ], [ "#", "# Forms", "#" ], [ "_appbundle = None" ], [ "from twisted.web.util import Redirect", "from twisted.web.error import NoResource" ], [ "from srt import srt", "# This function will get all the arguments in the filename. " ], [ "FILE_FORMATS = FileFormatLoader()" ], [ "from twilio.http.response import Response" ], [ "lastcpu = None", "cpu = None", "lineno = 1" ], [ "from django_compat_patcher.registry import django_patching_registry" ], [ "from flexget.utils.titles.parser import TitleParser" ], [ "# IsOwner is a verb that takes a person as subject and a content as modificator" ], [ "###############################################################################", "# Helper functions for SourceMorph methods" ], [ "s= marker_sets[\"particle_129 geometry\"]", "mark=s.place_marker((1229.88, 954.53, 1460.9), (0.7, 0.7, 0.7), 118.567)" ], [ "GeneMark2GFF = os.path.join(parentdir, 'aux_scripts', 'genemark_gtf2gff3.pl')" ], [ "from dmoj.problem import Problem, ProblemDataManager" ], [ "from clang.cindex import Cursor", "from clang.cindex import TranslationUnit" ], [ "# hhea" ], [ "_header = 'nP'", "_align = '0n'" ], [ "s= marker_sets[\"particle_125 geometry\"]", "mark=s.place_marker((2866.74, 2041.78, 4030.49), (0.7, 0.7, 0.7), 148.261)" ], [ "DB_PASSWD = 'gevent_test'", "DB_DB = 'gevent_test'" ], [ "from . import common" ], [ "import serial.tools.list_ports", "import Queue" ], [ "from openerp.tools import float_compare", "import openerp.addons.decimal_precision as dp" ], [ "from six import text_type" ], [ "class UTF8Pairs(char.UTF8String): pass" ], [ "class longrightarrow(MathSymbol): pass", "class Longrightarrow(MathSymbol): pass", "class longleftrightarrow(MathSymbol): pass" ], [ "from bsdapi.Logger import Factory as LoggerFactory" ], [ "ungettext = ngettext" ], [ "# deser_function_name: Allow for an alternate deserialization function on the", "# entries in the vector." ], [ "# Here's an unmanaged model with an m2m to a managed one; the intermediary", "# table *will* be created (unless given a custom `through` as for C02 above)." ], [ "### Helpers" ], [ "s= marker_sets[\"particle_19 geometry\"]", "mark=s.place_marker((4136.41, 10442.6, 5250.39), (0.7, 0.7, 0.7), 677.181)" ], [ "BLUE = \"#06b6ef\"", "PURPLE = \"#815ba4\"" ], [ "logger = logger.bind(name='aria2')" ], [ "# FIXME: omit once disabling the new lint in the source # pylint: disable=fixme", "# See https://github.com/stratis-storage/project/issues/175" ], [ "# LinearRings are used in Polygons.", "class LinearRing(LineString): pass" ], [ "from snisi_tools.sms import send_sms" ], [ "IGNORE = -1" ], [ "from tests.testcase import TestCase" ], [ "Number = Int(base=16, length=8)" ], [ "# Handling bot commands" ], [ "#NOTE: to use LennardJonesSoftcoreTI with VerletList or VerletListHadress, uncomment and check the relevant code in this file and LennardJonesSoftcoreTI.cpp, and implement computeEnergyDeriv in the relevant interaction template" ], [ "here = path.abspath(path.dirname(__file__))" ], [ "cqlshlog = basecase.cqlshlog" ], [ "from django.db import migrations, models" ], [ "TAG_SEPARATOR = ';'" ], [ "# dl.get('NO2', fcinit, fcstart, fcend, 'blatest1.nc')", "## def get(self, species, fcinit, fcstart, fcend, fn_out):" ], [ "from cookiecutter import prompt", "PY3 = sys.version > '3'" ], [ "from .brightcove import BrightcoveIE" ], [ "from treadmill import templates", "from treadmill import yamlwrapper as yaml" ], [ "_RE_PATTERN_EXPLICIT_MAKEPAIR = re.compile(r'\\bmake_pair\\s*<')" ], [ "import signal" ], [ "bamFilesSpec=args.bamFilesSpec", "resultFileName=args.resultFileName", "threads=args.threads" ], [ "register_namespace_handler(object, null_ns_handler)" ], [ "import frappe", "from frappe.model.meta import get_field_precision" ], [ "from gaegraph.business_base import UpdateNode", "from destaque_app.model import Destaques" ], [ "## This required an empty value in the list initialization.", "## Data is: [[Patient ID, time(days), Vital status],[Patient ID, time(days), Vital status],...]", "clinical1=[['','','']]" ], [ "from odoo import api, fields, models" ], [ "s= marker_sets[\"particle_256 geometry\"]", "mark=s.place_marker((3124.55, 3047.5, 2094.26), (0.7, 0.7, 0.7), 150.165)" ], [ "LOG = log.getLogger(__name__)" ], [ "# Main.{main44}" ], [ "from django.conf import settings" ], [ "# actual mirrorring stuff", "html_files = []", "hardlinked_files = []" ], [ "import sys" ], [ "# pylint: disable=protected-access", "# Accesses protected members of tf.Variable to reset the variable's internal", "# state." ], [ "from . import common_args" ], [ "import toolbox" ], [ "from django.forms.widgets import Textarea", "from django.template.loader import render_to_string" ], [ "s= marker_sets[\"particle_61 geometry\"]", "mark=s.place_marker((4666.19, 7335.27, 10704.5), (0.7, 0.7, 0.7), 1011.56)" ], [ "import octavia.tests.unit.base as base" ], [ "# PostgreSQL module specific support methods.", "#" ], [ "from glance.registry.api.v2 import rpc" ], [ "META_PATH = os.path.join(\"src\", \"OpenSSL\", \"version.py\")" ], [ "from distutils import log", "from distutils.errors import *" ], [ "from .base import ScribblerDataTestCase", "from scribbler.conf import CACHE_TIMEOUT" ], [ "# Generate random format strings with a unicode fill character", "# [[fill]align][sign][#][0][width][,][.precision][type]" ], [ "# end SerialCookie" ], [ "from .compat import fromhex, b, u, text_type, binary_type, PY3, unichr", "from .scanner import make_scanner, JSONDecodeError" ], [ "from wiki.editors.markitup import MarkItUpAdminWidget" ], [ "import json", "from collections import OrderedDict" ], [ "from .version import __version__ # noqa" ], [ "from django.utils.translation import ugettext as _" ], [ "from smartanthill.cc.compiler import PlatformIOBuilder" ], [ "OPT_SUM_COLLECTION = \"LOL_summaries\"" ], [ "from pants.util.memo import memoized_property" ], [ "# --------------------- INITIALIZATION ---------------------" ], [ "codes = LookupDict(name='status_codes')" ], [ "from OpenGL.raw.GL.EXT.texture_compression_rgtc import *", "from OpenGL.raw.GL.EXT.texture_compression_rgtc import _EXTENSION_NAME" ], [ "import django.contrib.gis.db.models.fields" ], [ "from google.cloud.speech.alternative import Alternative" ], [ "User = get_user_model()" ], [ "# Typebuilder code is generated in several passes: first typedefs, then other classes.", "# Manual pass management is needed because we cannot have forward declarations for typedefs." ], [ "s= marker_sets[\"particle_194 geometry\"]", "mark=s.place_marker((1119.82, 3297.47, 1902.99), (0.7, 0.7, 0.7), 134.26)" ], [ "from tactics.tactic_position import TacticPosition", "import constants" ], [ "# Mock output stream" ], [ "# https://github.com/mozilla/zamboni/blob/master/mkt/api/permissions.py for", "# more." ], [ "LOGGER = make_logger(__name__)" ], [ "from django.contrib.gis.gdal import HAS_GDAL" ], [ "# Exception raised when an error or invalid response is received", "class Error(Exception): pass", "class error_reply(Error): pass # unexpected [123]xx reply" ], [ "import sys" ], [ "# finding negative peaks by setting thres to the negative of the noise level." ], [ "from mopidy.http import handlers" ], [ "DEFAULT_PORT = '/dev/ttyUSB0'" ], [ "import json" ], [ "#%%" ], [ "from scrapy.utils.python import memoizemethod_noargs, to_native_str" ], [ "__version__ = \"2020.04.01\"" ], [ "from .confirminet import Confirminet" ], [ "from prettytask import Task, TaskGroup, Error, prompt, Separator" ], [ "from data.models.constants import COUNTRY_LOCATION" ], [ "import socket" ], [ "import json" ], [ "# Respond with 404 Not Found if no help request with the specified ID exists." ], [ "import time" ], [ "import argparse", "import logging" ], [ "from readymap import ReadyMap" ], [ "import grpc_version" ], [ "__all__ = ['lsd', 'main']" ], [ "import sys" ], [ "# They are marked as daemon threads so we won't wait for them", "# when we exit (conform previous semantics)." ], [ "about = {}" ], [ "# or else a unique-name", "# from the abstract name-space will be created.", "# Each KernelTree has a single llvm module name-space" ], [ "_orig_stdout, _orig_stderr = sys.stdout, sys.stderr" ], [ "from .splitter import VariableIterator" ], [ "DEVELOP_DIST = -1" ], [ "from .unit.altsrc import AltSrcUnits" ], [ "from sets.core import Step, Dataset" ], [ "# A very trivial server that serves files under the cwd." ], [ "from .singleton import Singleton" ], [ "fixture_data = {}" ], [ "# Store all function bodies" ], [ "logger = getlogger()" ], [ "from cochlear import interleaved_abr_experiment" ], [ "#from pygame.sprite import Sprite", "#from pygame import image" ], [ "from yuno.core.util import decomment_json" ], [ "from hyper.http11.parser import Parser, ParseError" ], [ "import re" ], [ "reftest_items = []" ], [ "from qtpy.QtWidgets import QApplication, QToolTip, QWidget", "from qtpy.QtGui import QRegion, QCursor, QWheelEvent, QPixmap, QImage", "from .canvas_base import MainCanvasBase, FreeMode, SelectMode" ], [ "# We test all language-compiler combinations, just to report what is skipped" ], [ "from apache.aurora.executor.thermos_task_runner import DefaultThermosTaskRunnerProvider" ], [ "s= marker_sets[\"particle_55 geometry\"]", "mark=s.place_marker((5200.85, 3449.82, 5788.68), (0.7, 0.7, 0.7), 812.118)" ], [ "from test_fena.test_common import test_block" ], [ "Session.configure(bind=engine)" ], [ "#", "# CMD/BAT files in Windows", "#" ], [ "from getpass import getpass", "# check python version" ], [ "from libqtile.widget.base import _TextBox" ], [ "# ser_function_name: Allow for an alternate serialization function on the", "# entries in the vector (we use this for serializing the vector of transactions", "# for a witness block)." ], [ "UNITS = {\"Length (mm)\" : \"mm\", \"Length (in)\" : \"in\"}" ], [ "ON_WINDOWS = system() == 'Windows'" ], [ "# See ticket #18389." ], [ "from sverchok.data_structure import updateNode, match_long_repeat", "import numpy as np" ], [ "from pyramid.threadlocal import manager as threadlocal_manager" ], [ "# FACTORIES ////////////////////////////////////////////////////////////" ], [ "stamp = datetime.now().strftime('%Y_%m_%d-%H_%M')", "iter = 0" ], [ "_extensions = {}" ], [ "from .DependsExe import getDependsExePath" ], [ "import sys" ], [ "clusterfile = c_beg + dataidx + c_end", "# Reading the SOM cluster data" ], [ "from functools import wraps" ], [ "import json" ], [ "import test_jar" ], [ "weibull_max = frechet_l_gen(b=0.0, name='weibull_max')" ], [ "# Plugin for SARM (Slice Authority Resource Manager) Implemntation" ], [ "core.wait(1)", "ttl = 0", "#After that, wait for the ttl pulse:" ], [ "http = urllib3.PoolManager()" ], [ "# - final setup" ], [ "spatialite = _default_db == 'spatialite'", "HAS_SPATIALREFSYS = True" ], [ "VERSION = '2.47.0'" ], [ "from pyslds.util import gaussian_map_estimation, regression_map_estimation, gaussian_logprior, regression_logprior" ], [ "from django.http import HttpRequest" ], [ "from boto.regioninfo import RegionInfo" ], [ "STDOFFSET = -time.timezone" ], [ "import random", "import json" ], [ "from dropbox.rest import ErrorResponse" ], [ "B = TypeVar('B')" ], [ "from basic import Layer" ], [ "import GangaCore.Utility.logging", "logger = GangaCore.Utility.logging.getLogger()" ], [ "s= marker_sets[\"particle_78 geometry\"]", "mark=s.place_marker((654.131, 3188.62, 4393.54), (0.7, 0.7, 0.7), 82.4427)" ], [ "#This function is used to send the location and iccid of the SIM card that has been changed." ], [ "from boto.services.message import ServiceMessage", "import boto" ], [ "from pnb.pnb_tree_walker import PNBTreeWalker", "from pnb.pnb_tree_listbox import PNBTreeListBox" ], [ "from devilry.apps.core.models import PointToGradeMap" ], [ "import _urllib2" ], [ "register_device_format(HFSPlus)" ], [ "urlunquote = allow_lazy(urlunquote, six.text_type)" ], [ "# (A function should also be defined to do full *sh-style environment", "# variable expansion.)" ], [ "# RFC 3548, Base 16 Alphabet specifies uppercase, but hexlify() returns", "# lowercase. The RFC also recommends against accepting input case", "# insensitively." ], [ "GRPC_PYTHON_PROTO_RESOURCES_NAME = '_proto'", "DEFINE_MACROS = ()" ], [ "# write cable statistics data", "i=2" ], [ "import unittest" ], [ "from uploader import baseUploader" ], [ "fromlines = open(fromfile).readlines()", "tolines = open(tofile).readlines()" ], [ "# Plugins ######################################################################", "###############################################################################" ], [ "from test import BOGUS_FILE, FAKE_FILE" ], [ "PAGE_HOME = 'home'" ], [ "from coltran.models import core" ], [ "import numeric as _nx", "from numeric import array" ], [ "import networkx as nx", "from collections import defaultdict" ], [ "from telemetry.page import page_set", "from telemetry.value import string" ], [ "# Remove unnecessary properties from the response.", "# This is for doing comparisons with Ansible's current parameters." ], [ "from ansible.module_utils.nxos import nxos_argument_spec, check_args", "from ansible.module_utils.basic import AnsibleModule" ], [ "import glob", "from ansible import utils" ], [ "from tempest import test" ], [ "#import built-in modules", "import os,sys" ], [ "import numpy as np", "from math import pow" ], [ "import django.db.models.deletion" ], [ "titles = []" ], [ "status = request(sys.argv[1], sys.argv[2], sys.argv[3:])" ], [ "import os", "import sys" ], [ "from phased.utils import second_pass_render, drop_vary_headers" ], [ "from compass.utils import logsetting" ], [ "ALLOWED_CHARACTERS = set(string.ascii_letters + string.digits + '_.-')" ], [ "BROOKLYN_PLUGIN_NAME = envvar(\"BROOKLYN_PLUGIN_NAME\", \"a4c-brooklyn-provider\")" ], [ "FIELD_NAME_2 = \"second\"", "FIELD_NAME_3 = \"first-rename\"" ], [ "LOG = logging.getLogger(__name__)" ], [ "from mobiclicks.tasks import confirm_click" ], [ "from rest_framework.utils.urls import remove_query_param, replace_query_param" ], [ "_dtypes = _float_dtypes + _int_bool_dtypes" ], [ "from pandas._libs.tslib import iNaT" ], [ "oper.CreateDirectional()", "# test 1~8 work units for CPU" ], [ "from django.db import models" ], [ "from limitedapt.settings import *" ], [ "from cms.utils.copy_plugins import copy_plugins_to" ], [ "import utils" ], [ "# try handlers in order and return the one that works or bail if none work" ], [ "# file whenever something has been written.", "eventhandlers = []" ], [ "import pylast" ], [ "import sys" ], [ "# The user needn't know about the env though, we can expose the", "# relevant functionality directly. This is also for backwards-compatibility", "# with times where ``django-assets`` was a standalone library." ], [ "import numpy" ], [ "Board = BoardMeta('Board', Board.__bases__, dict(Board.__dict__))" ], [ "# given a qualscore string, return average qual score", "# casting to integer and subtracting 64" ], [ "# [END datalabeling_export_data_beta]" ], [ "### Enum conversion ###" ], [ "__all__ = ['getApiFunctions', 'findApiFunction']" ], [ "# This function was autogenerated by boilerplate.py. Do not edit as", "# changes will be lost" ], [ "###############################################################################", "# Load some categories from the training set" ], [ "import matplotlib", "from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas" ], [ "fixture = None", "target = None" ], [ "# replace the functions with their real counterparts (once we do access the", "# settings)." ], [ "_LABELS = {_SAMPLES[i]: i + 1 for i in range(0, len(_SAMPLES))}" ], [ "phone_digits_re = re.compile(r'^0\\d(\\s|\\.)?(\\d{2}(\\s|\\.)?){3}\\d{2}$')" ], [ "from distutils.version import LooseVersion", "from distutils.spawn import find_executable" ], [ "# ==============================================================================" ], [ "# TODO: readonly attributes cannot be linked to c++ setters" ], [ "import talloc as __talloc" ], [ "TMPDIR_PREFIX = \"syscoin_func_test_\"" ], [ "# Replace the old admin screen." ], [ "_urllib_robotparser_moved_attributes = [", "]" ], [ "#", "from redhawk.codegen.jinja.cpp.component.pull.mapping import PullComponentMapper" ], [ "DEBUG = bool(os.environ.get(\"SETUPTOOLS_SCM_DEBUG\"))" ], [ "TemplateTranslation = None" ], [ "# Las Vegas. Let's look at yelp reviews by category. The category is", "# in an array value.", "cats = []" ], [ "#This is the main body of the script, a function which parses the files and outputs the new files." ], [ "import tablib" ], [ "syscommand='rm -rf testdelayinitialgain.g'", "os.system(syscommand)" ], [ "NEED_CRYPTO_LIBRARY += \" pycrypto in order to function.\"" ], [ "import click" ], [ "# -----" ], [ "# pylint: enable=unused-argument" ], [ "_iptables_dirty = True", "HAS_NAT = False" ], [ "# ================================" ], [ "from openerp.tests.common import TransactionCase" ], [ "# -----------------------------------", "# ---------------------------------------------------------------------------" ], [ "from django.http import HttpResponse" ], [ "import os", "import tokenize", "from collections import defaultdict" ], [ "# -*- coding: utf-8 -*-" ], [ "from nupic.encoders.logarithm import LogEncoder", "from nupic.encoders.scalar import ScalarEncoder" ], [ "# From mitsuhiko/werkzeug (used with permission)." ], [ "# Replace the one 'A' in the middle with 'B' and form \"AABBBBA\".", "# The substring \"BBBB\" has the longest repeating letters, which is 4." ], [ "logging.basicConfig(level=logging.DEBUG)", "sessionfile = \"data/sessions/FE4_session_new_poster.pk\"" ], [ "rx_dir = 'rx_registration'" ], [ "OPTYPE_LOOKUP = {optype.value: optype for optype in list(OperandType)}" ], [ "# Start of footer.py #", "# Backward compatibility" ], [ "from rigl.experimental.jax import fixed_param" ], [ "from PyQt4 import QtCore, QtGui" ], [ "import git_util" ], [ "IMAGES_INDEX_URL = reverse('horizon:project:images:index')" ], [ "y_pred = classifier.fit(X_train, y_train).predict(X_test)" ], [ "import numpy as np" ], [ "# `settings.AUTHENTICATION_BACKENDS`, queried via", "# `django.contrib.auth.get_backends`) and at the realm level (via the", "# `Realm.authentication_methods` BitField)." ], [ "from direct.task.TaskManagerGlobal import taskMgr", "from panda3d.core import PStatCollector, EventQueue, EventHandler" ], [ "app.config['SQLALCHEMY_DATABASE_URI'] = os.environ.get('DATABASE_URL', default_db)", "pool_size = os.environ.get('DB_CONNECTION_POOL_SIZE', None)" ], [ "Unknown = Meaning('Unknown','\\?','Unknown',{},{},{})" ], [ "STORAGE_LOCATION = os.getenv('STORAGE_LOCATION', '')" ], [ "# Create a build directory using mk_make.py" ], [ "import test.runner" ], [ "import networkx as nx" ], [ "################################################################################" ], [ "import inspect" ], [ "print(m_names)", "tmt = [t.name for t in _TILE_TILEMATERIALTYPE.values]", "print(tmt)" ], [ "get_mask = getmask" ], [ "from spack import *" ], [ "QUERY = Q('date_confirmed', 'ne', None) & Q('unclaimed_records', 'ne', {})" ], [ "LOG = logging.getLogger(__name__)" ], [ "from wlauto.exceptions import ConfigError" ], [ "from draftobjects.base import DraftObject" ], [ "# poll/select have the advantage of not requiring any extra file descriptor,", "# contrarily to epoll/kqueue (also, they require a single syscall)." ], [ "class ArrayReference(ChestnutNode): child_names = ['identifier']", "class Return(ChestnutNode): child_names = ['expression']" ], [ "TILES_WIDTH = 256", "TILES_HEIGHT = 256" ], [ "s= marker_sets[\"particle_298 geometry\"]", "mark=s.place_marker((4152.86, 2607.2, 1109.96), (0.7, 0.7, 0.7), 297.623)" ], [ "register.tag(CMSEditableObjectIcon)" ], [ "ortho_group = ortho_group_gen()" ], [ "logger = logging.getLogger()" ], [ "# location module specific support methods.", "#" ], [ "mc = minecraft.Minecraft.create(\"192.168.1.10\") # podaj adres IP Rpi" ], [ "from ... import rdata as dns_rdata", "#from ... import tokenizer as dns_tokenizer" ], [ "property_err_string = \"The following sample property was not passed as an argument: {}\"" ], [ "import subprocess", "import tempfile", "# pylint: disable=import-error" ], [ "# Will inherit managers from AbstractBase1, but not Child4." ], [ "#----------------------------------------------------------------------- Tests" ], [ "from django.db import models" ], [ "# @since 1.1.3", "##" ], [ "import sys" ], [ "i=0 ", "j=0", "t8=[]" ], [ "# auto-created from files in primitives/, but we need the raw names so", "# we can use them later.", "primitives = []" ], [ "msg = comm_msg()" ], [ "# \u4ee3\u7801\u6e05\u5355 11-14", "# " ], [ "from zope.interface import classImplements" ], [ "import espressopp", "from espressopp import Real3D" ], [ "from quodlibet.plugins.gui import UserInterfacePlugin" ], [ "import tornado.options", "from uuid import uuid4" ], [ "from requests.packages.urllib3 import connectionpool" ], [ "from tests.setup_cluster import ReplicaSet" ], [ "import warnings", "from astropy import wcs" ], [ "from PIL import Image", "from PIL._util import isPath" ], [ "df_full = pd.DataFrame(list(results), columns=column_names)" ], [ "Ttest_1sampResult = namedtuple('Ttest_1sampResult', ('statistic', 'pvalue'))" ], [ "# by users, but putting them here helps \"dependency finder\"", "# programs get everything they need (like py2exe)" ], [ "show = plt.show" ], [ "PermissionRequiredMixin = get_class('forum_permission.viewmixins', 'PermissionRequiredMixin')" ], [ "from . import domainresource" ], [ "from typing import Tuple" ], [ "# procedure to check for collision between bullets and sword" ], [ "from ansible.module_utils.basic import AnsibleModule" ], [ "# Stock Location", "#----------------------------------------------------------" ], [ "sys.stdout = codecs.getwriter(DEFAULT_ENCODING)(sys.stdout)", "# Required to parse RFC822 time stamps" ], [ "#Will be called only if exception happens in test()." ], [ "\"\"\"Tools for skipping data tests in cclib.\"\"\"" ], [ "# make field types hashable" ], [ "solvent = open('solvent_content').read().splitlines()" ], [ "dataset = []" ], [ "DETECT_TEST_IMAGE = {\"source\": {\"image_uri\": \"test_uri\"}}" ], [ "logger = logging.getLogger(__name__)" ], [ "LOG = logging.getLogger(__name__)" ], [ "kMagic64SecondHalf = 0xFFFFFF64;", "kMagicFirstHalf = 0xC0BFFFFF;" ], [ "# Replace all modify terms that are left in the text, eg 'lda.# .msb 1000'. ", "# None of these should be in assignments any more" ], [ "import socket" ], [ "from openerp import api, fields, models" ], [ "import c2api" ], [ "# Create a spend of each passed-in utxo, splicing in \"txouts\" to each raw", "# transaction to make it large. See gen_return_txouts() above." ], [ "# ----------------------------------------------------------------------------", "# class definitions" ], [ "_libcudnn.cudnnDestroy.restype = int", "_libcudnn.cudnnDestroy.argtypes = [ctypes.c_void_p]" ], [ "# WatershedFromMarkerEffectTool", "#" ], [ "# only for internal use, 1-to-1 backref with no column inside table" ], [ "logger = logging.getLogger(__name__)" ], [ "# copied from java script CoffeeScript ", "# http://blog.mackerron.com/2011/01/01/javascript-cubic-splines/" ], [ "s= marker_sets[\"particle_247 geometry\"]", "mark=s.place_marker((3024.8, 2438.56, 2540.2), (0.7, 0.7, 0.7), 314.627)" ], [ "#\u7d50\u679c\u3092\u51fa\u529b\u3059\u308b" ], [ "# ------------------------------------------------------------------------------", "# Function result memoization", "# ------------------------------------------------------------------------------" ], [ "boltzmann=5.67e-8 # Stefan-Boltzmann constant", "mv=18.0153 # Mean molar mass of water vapor(g/mol)" ], [ "from tensorflow.python.platform import test" ], [ "import smart_selects.db_fields" ], [ "from chainer.training import extensions" ], [ "import musicbrainzngs", "from Ejerc1_Obj_Band_Artist import artista" ], [ "frechet_l = frechet_l_gen(b=0.0, name='frechet_l')" ], [ "_rtmp_re = re.compile(\"/(?P[^/]+)/(?P.+)\")" ], [ "# Fields" ], [ "print('\\n\\nExponents:', end='')" ], [ "from spreedly.models import Subscription", "import spreedly.settings as spreedly_settings" ], [ "import sys", "import os", "import os.path" ], [ "## Interaction modes for making lines" ], [ "class PatchError(Exception): pass" ], [ "s= marker_sets[\"particle_328 geometry\"]", "mark=s.place_marker((2725.02, 2977.8, 951.549), (0.7, 0.7, 0.7), 151.392)" ], [ "uri_sgs = 'https://dfw.networks.api.rackspacecloud.com/v2.0/security-groups'" ], [ "from flask import g" ], [ "# Generate mask dict for checking repeating groups etc.", "# Map a true bitwise mask to the DICOM mask with \"x\"'s in it.", "masks = {}" ], [ "from ..constantes import CAMPO_DOCUMENTO_FISCAL_ITEM" ], [ "######################", "# ModuleEvent signals" ], [ "s= marker_sets[\"particle_10 geometry\"]", "mark=s.place_marker((9289.39, 6201.83, 3920.38), (0.7, 0.7, 0.7), 873.876)" ], [ "import paddle.fluid.core as core" ], [ "# BIDS validation module" ], [ "from django.conf import settings" ], [ "import mialab.filtering.filter as fltr" ], [ "from django.db import models" ], [ "from sympy import Derivative as D", "from sympy.utilities.pytest import raises" ], [ "from django.db import models" ], [ "s= marker_sets[\"particle_243 geometry\"]", "mark=s.place_marker((2039.56, 1844.64, 2813.29), (0.7, 0.7, 0.7), 200.883)" ], [ "# OsVariant classes #", "#####################" ], [ "GTW_NOW_DELTA = delta(s=10) # cuz gtw 500s when your time range enters the future, and their servers seem to be off by a few seconds" ], [ "from neutron.tests.common import net_helpers" ], [ "__author__ = 'heshed'" ], [ "### UserList", "################################################################################" ], [ "PROGRESS = 'PROGRESS'" ], [ "from django.conf import settings" ], [ "from ansible.plugins.terminal import TerminalBase" ], [ "# Verify that you can't pend_throw from within the running coroutine." ], [ "TEST_DEPLOYMENT = 'my-deployment'" ], [ "find_object = sc.doc.Objects.Find" ], [ "# free persintent requests" ], [ "__version__ = \"0.1\"" ], [ "from openerp.osv import fields,osv", "from openerp import tools" ], [ "# when the interpreter shuts down.", "_global_var = 'foobar'" ], [ "debug=0", "valgrind=0" ], [ "import readcard" ], [ "from ... import io", "from ...examples import get_path" ], [ "from systrace import tracing_agents" ], [ "s= marker_sets[\"particle_108 geometry\"]", "mark=s.place_marker((2344.42, 2198.1, 3963.48), (0.7, 0.7, 0.7), 92.5947)" ], [ "actions_server()" ], [ "from typing import Optional" ], [ "import sys" ], [ "from hotdog.BaseElement import BaseElement" ], [ "log = logging.getLogger('test.auto')" ], [ "# A faster (but limited) version of csv.DictReader" ], [ "# estimator.fit(X, X[:, 0])", "# assert_almost_equal(estimator.predict(X), X[:, 0]**2)" ], [ "RETURN = r'''", "'''" ], [ "_MICROS_IN_SEC = 1000000" ], [ "import pytrix", "import tests" ], [ "is_win32 = os.sep == '\\\\' or sys.platform == 'win32' # msys2" ], [ "from ...views import categories" ], [ "# setuptools allows magic downloading of dependencies", "# but setuptools is often broken, so swallow the error if it's not there." ], [ "###################################################################################################", "###################################################################################################" ], [ "from settings import URL_PREFIX" ], [ "logger = logging.getLogger('promort')" ], [ "#-------------------------------------------------------------------", "# multenterbox", "#-------------------------------------------------------------------" ], [ "import yaml" ], [ "from operator import itemgetter", "PYTHON_VERSION = sys.version_info" ], [ "marker_sets={}", "surf_sets={}" ], [ "#coding=utf-8", "import rrdtool" ], [ "named_re = re.compile(r\"<\\s*(\\w[\\w\\d]*)\\s*=\\s*(.*?)\\s*>\")", "list_re = re.compile(r\"<\\s*((.*?))\\s*>\")" ], [ "###############################################################################" ], [ "admin.site.register(SAMLProviderConfig, SAMLProviderConfigAdmin)" ], [ "# Convert a units file (with fields station_name, unit_id, and esc)", "# to a TSV file (with fields unit_id, station_code, station_name, station_desc,", "# esc_desc)" ], [ "from .transports.grpc_asyncio import GrafeasGrpcAsyncIOTransport" ], [ "LOG = logging.getLogger(__name__)" ], [ "STATUS_IPV6 = 1" ], [ "from test_object_store import TestObjectStore" ], [ "# but it's here so that it can be imported when Python is compiled without", "# threads." ], [ "ax.spines['left'].set_position(('data', 0))" ], [ "# ---------------------------------------------------------------------------" ], [ "file = File(\"stress_tensor.pvd\")" ], [ "from .gui_test import GUITest" ], [ "# Lennard-Jones interactions parameters" ], [ "# This class is used to retrieve information stored in database and convert them", "# into PackageBuildClassObject form for easier use for AutoGen.", "#" ], [ "_SEASONAL_CODE = 'SAI'" ], [ "from tree import Node, Tree" ], [ "import skflow" ], [ "#---- module interface" ], [ "# Pure-Python Wolfe line and scalar searches", "#------------------------------------------------------------------------------" ], [ "# class SecureMedia(BaseSecureMedia):", "# pass" ], [ "USER_PARTITION_SCHEME_NAMESPACE = 'openedx.user_partition_scheme'" ], [ "OUTPUT_DIR = \"config\"", "# ========================================================= " ], [ "### Command line interface" ], [ "from catalogService_test import mockedData", "from mint.mint_error import TargetExists, TargetMissing" ], [ "from abjad.tools.abctools.AbjadObject import AbjadObject" ], [ "from .sampler import MAX_ID_BITS" ], [ "from regcore.management.commands import import_docs" ], [ "from openerp.addons.stock.tests.common import TestStockCommon" ], [ "# =============================================================================" ], [ "Property.types['wikibase-property'] = PropertyPage" ], [ "import oioioi.base.fields" ], [ "import subprocess" ], [ "from . import paths", "from .version import __version__" ], [ "from .ToolTest import ToolTest" ], [ "#get_mongo_db(\"cloudmesh\", DBConnFactory.TYPE_MONGOENGINE)" ], [ "urlRE=re.compile(r'[a-z]+\\:\\/\\/')" ], [ "import tensorflow as tf" ], [ "SUPPORTED_LANGUAGES = (\"en\", \"ru\")" ], [ "from easybuild.toolchains.iccifort import IccIfort" ], [ "from django.core.exceptions import ValidationError", "from django.db import models" ], [ "# @pytest.mark.skipif(1 == 1, reason=\"second test development\" )" ], [ "iris.target = iris.target[perm]" ], [ "cartitems = sometable = metadata = None" ], [ "buyer_retrate = 'BuyerID_fracReturned1DivReturnedNotNull'" ], [ "MIME_BOUNDARY = 'END_OF_PART'" ], [ "from django.core.validators import validate_slug" ], [ "# 9.13" ], [ "# Create models" ], [ "cslog = get_log()" ], [ "from south.v2 import SchemaMigration", "from django.db import models" ], [ "# This script runs and kills db_stress multiple times. It checks consistency", "# in case of unsafe crashes in RocksDB." ], [ "# Base class" ], [ "TARGET = 'mapnik-speed-check'" ], [ "from freedesktopnet.modemmanager.utils.tool import Command, make_option", "from freedesktopnet.modemmanager.modemmanager import ModemManager" ], [ "from south.v2 import DataMigration", "from django.db import models, utils" ], [ "from .material.glow import WhiteGlow" ], [ "from f8a_worker.process import Git, IndianaJones" ], [ "from django.db import models" ], [ "# Add win postinstall script" ], [ "DEFAULT_PAGE_SIZE = 20" ], [ "from .models import Author, Article" ], [ "maxx = j" ], [ "FOLLOWERS_PER_PAGE = getattr(settings, 'RELATIONSHIPS_FOLLOWERS_PER_PAGE', 20)" ], [ "from supybot import conf, registry" ], [ "from ansible.module_utils.basic import *", "from ansible.module_utils.openstack import *" ], [ "s= marker_sets[\"particle_193 geometry\"]", "mark=s.place_marker((3382.97, 3333.21, 1680.69), (0.7, 0.7, 0.7), 172.415)" ], [ "from types import StringTypes" ], [ "jump_in_nested_finally.jump = (4, 9)", "jump_in_nested_finally.output = [2, 9]" ], [ "from openedx.features.content_type_gating.models import ContentTypeGatingConfig" ], [ "from .models import ModelWithNullFKToSite, Post" ], [ "ax.plot(grid_values_thermal, grid, color='red')", "ax.text(2.00, 3 * 10**-6, r'$0.01$', color='black')" ], [ "env_root = os.environ['CUDDLEFISH_ROOT']" ], [ "# Complex type", "# {http://www.fatturapa.gov.it/sdi/fatturapa/v1.1}DatiAnagraficiCessionarioType", "# with content type ELEMENT_ONLY" ], [ "__version__ = bpython.__version__" ], [ "from ansible.module_utils.azure_rm_common import AzureRMModuleBase" ], [ "FILTER_DS_EXE = sys.executable + \" \" + os.path.join(DIR, 'executables', 'filterds.py')" ], [ "resnet_v1.default_image_size = 224" ], [ "from model import PendingAlert, Subject, Subscription", "from utils import _, db, Handler, run" ], [ "import mkt.api.fields" ], [ "logger = logging.getLogger(__name__)" ], [ "# Multiple Geometry types." ], [ "from easybuild.tools.filetools import run_cmd" ], [ "# import module snippets", "from ansible.module_utils.basic import *" ], [ "from django.conf import settings ", "from django.urls import get_script_prefix" ], [ "source.SetStartWithTree(True)", "# Define event-handlers that update the pipeline in response to widget events ..." ], [ "#end function" ], [ "#: Note: Any unit must be *unique* because this dict is used to guess the", "#: unit type.", "unit_types = {}" ], [ "from core.himesis import Himesis" ], [ "_builtins = set(name for name in dir(builtins) if not name.startswith('_'))", "BaseExceptions = (BaseException,)" ], [ "DEBUG = True" ], [ "s= marker_sets[\"particle_37 geometry\"]", "mark=s.place_marker((9938.25, 11609.6, 9277.12), (0.7, 0.7, 0.7), 646.682)" ], [ "#pdb.set_trace()", "oldlatest=copy.copy(latest)", "latest = latest + PT3s" ], [ "logger.addHandler(ish)" ], [ "FLAGS = flags.FLAGS" ], [ "import shutil", "db_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'db'))", "DATABASE_NAME = os.path.join(db_root, '.database.db')" ], [ "# ===========================================" ], [ "import getopt", "import sys" ], [ "from neutron.tests import base" ], [ "# Main", "###############" ], [ "log = logging.getLogger(__name__)" ], [ "__author__ = 'William Fiset, Alex Mason'" ], [ "timedelta.resolution = timedelta(microseconds=1)" ], [ "# =============================================================================" ], [ "__metaclass__ = PoolMeta" ], [ "log = AnsiLogger(\"flowgraph\")" ], [ "from mutagen._compat import izip" ], [ "from rows.plugins.utils import create_table, serialize", "from rows.utils import Source" ], [ "from metaworld.policies.policy import Policy, assert_fully_parsed, move" ], [ "__all__ = ['ResultProcess']" ], [ "import requests", "import math" ], [ "from flask import request", "from kvkit import ValidationError" ], [ "# TODO(fkp): very generic code, it should be moved in a more generic place." ], [ "from test import support" ], [ "Label(fenetre, image=image, background='white').pack(padx=10, pady=10, side=TOP)", "#help_button" ], [ "from open_municipio.om.admin import LinkedTabularInline", "from .filters import FilterActiveCharge" ], [ "import datetime" ], [ "s= marker_sets[\"particle_100 geometry\"]", "mark=s.place_marker((1056.32, 3049.81, 2415.83), (0.7, 0.7, 0.7), 98.3898)" ], [ "# This allows the views in piston.authentication.oauth to cope with", "# Jinja2 templates as opposed to Django templates.", "# Piston view passes: template, context, request_context" ], [ "NO_SUCH_FILE = \"No such file or directory\"" ], [ "NON_PEPPER_BUNDLE_ARCHIVES = MakeNonPepperBundle('bar', with_archives=True)" ], [ "from django.template import Template" ], [ "from binaryninja.enums import LinearViewObjectIdentifierType" ], [ "origin = [399809, 4881610]", "end = [989876, 4291543] # 590067x590067m intermediate point -> 4586576,5" ], [ "from pyrfc3339.utils import timezone, timedelta_seconds" ], [ "processed_input_data_dir = 'processed_data'", "min_token_freq = 5" ], [ "# -------------------------------------", "# Save image to file", "# -------------------------------------" ], [ "# Start of 64-bit Windows timestamp: 1st January 1600 at 00:00", "WIN64_TIMESTAMP_T0 = datetime(1601, 1, 1, 0, 0, 0)" ], [ "from models import User, Sharedfile, Sourcefile, Shake, Favorite, Comment, Conversation", "from base import BaseTestCase" ], [ "s= marker_sets[\"particle_16 geometry\"]", "mark=s.place_marker((1740.92, 4187.47, 5491.63), (0.7, 0.7, 0.7), 241.11)" ], [ "import gslwrap" ], [ "from collections import OrderedDict" ], [ "from django.db import models" ], [ "from casexml.apps.case.xform import CaseDbCache" ], [ "from pypeit import msgs", "from pypeit.core import qa" ], [ "# class Plot()" ], [ "TOPIC_START_TIMER = \"StartTimer\"" ], [ "from tempfile import NamedTemporaryFile" ], [ "TeaFrame = namedtuple(\"TeaFrame\", ['duration', 'flags', 'translation', 'rotation', 'groups'])" ], [ "from odoo import _, api, fields, models" ], [ "from flexvi.handeye.outliers.basic import BasicOutliersEliminator", "from flexvi.handeye.outliers.evalfuncs import m3d_distance" ], [ "import urlparse" ], [ "executable = __BRYTHON__.brython_path+'/brython.js'" ], [ "import subprocess", "import tempfile", "# pylint: disable=import-error" ], [ "intern = C.rb_intern" ], [ "import unittest", "import subprocess" ], [ "import numpy", "import pmagpy.pmag as pmag" ], [ "### Memory leak test" ], [ "isUploadeToDevServer = AskIfUploadToDevServer()" ], [ "NORMALIZED_WEEK_END = 11" ], [ "# Classification Test Case" ], [ "from tl_algs import tl_alg, burak" ], [ "free_device_info = libXi.XIFreeDeviceInfo" ], [ "components.registerAdapter(Testable, TestAvatar, ITestable)" ], [ "from spack import *" ], [ "floatX = theano.config.floatX" ], [ "ignored_by_default = telecfg[\"ignored_by_default\"]", "# Support the old ignored string to array" ], [ "s= marker_sets[\"particle_9 geometry\"]", "mark=s.place_marker((8794.67, 86.2018, 8432.19), (0.7, 0.7, 0.7), 885.508)" ], [ "DIVIDING_LIST = (\"/\", \"//\", \"divide\")" ], [ "import unittest" ], [ "########################################################################" ], [ "# TODO: Abstract static collectors" ], [ "logger.info(' train_x shape: ' + str(np.array(train_x).shape))", "logger.info(' dev_x shape: ' + str(np.array(dev_x).shape))", "logger.info(' test_x shape: ' + str(np.array(test_x).shape))" ], [ "command_focus_change = blinker.Signal()" ], [ "from robokassa.conf import STRICT_CHECK, FORM_TARGET, EXTRA_PARAMS, TEST_MODE", "from robokassa.models import SuccessNotification" ], [ "#TODO - Move this to utils or another application. This is tangential to reporting and useful for other things.", "from django.db import models" ], [ "# An empty case." ], [ "ResPQ.add_constuctor(resPQ_c)" ], [ "IS_WIDE_BUILD = (len('\\U0001F4A9') == 1)" ], [ "import unittest" ], [ "sys.path.insert(0, os.path.abspath('lib'))", "from ansible.release import __version__, __author__" ], [ "# ---" ], [ "__all__ += __operator_names__" ], [ "__all__ = ['saffron']" ], [ "from visvis.core.misc import PropWithDraw, DrawAfter, basestring" ], [ "MODELS_MODULE_NAME = 'models'" ], [ "#", "# return the raw p4 type of a file (text, text+ko, etc)", "#" ], [ "from ansible.module_utils.azure_rm_common import AzureRMModuleBase" ], [ "from f8a_worker.workers import CVEcheckerTask" ], [ "test_zs = [0.25, 0.75, 1.25, 1.75, 2.25, 2.75]" ], [ "from st2actions.runners.pythonrunner import Action" ], [ "from django_webtest import WebTest" ], [ "class Polygon(Geometry): pass" ], [ "from .Ui_E5ErrorMessageFilterDialog import Ui_E5ErrorMessageFilterDialog" ], [ "from openerp.osv import fields, osv", "from openerp.tools.translate import _" ], [ "# NOTE: the support of \"sparse (true)div dense\" is currently not baked in into", "# \"tf.(true_)div()\". Until such an API decision is made, the supported usage is", "# to explicitly use the \"/\" operator to invoke either truediv or div." ], [ "# Define the Sites", "L = [Site(i,[random.random(),random.random()], a, b, c, d, mu, nu) for i in range(0,N)]" ], [ "import wx", "from RCP3.Backends.Sources.ZMQ.Tools.RoutersListProvider import GetAvailableRoutersList" ], [ "from .transports.grpc_asyncio import VpcAccessServiceGrpcAsyncIOTransport" ], [ "import sys, os", "from stat import *" ], [ "# [PutForwards], [Replaceable], [LenientSetter]" ], [ "SIGNING_CA = data_file('pycacert.pem')" ], [ "verify(len(addr_cache_table) == 1)" ], [ "OSVR_ClientInterface = POINTER(OSVR_ClientInterfaceObject)" ], [ "# import logging", "# logging.basicConfig(level=logging.DEBUG)" ], [ "# pylint: enable=relative-import" ], [ "# return K * (1.0 - (1.0 + t/T) * (np.exp(-t/T)) ) + m*t", "# Aperiodic + drift" ], [ "import pytest" ], [ "settings = {'SCRAPELIB_RPM': 30}" ], [ "from psi4.driver import *" ], [ "#def mk_line_list_fits_table(outfil=None,XIDL=True):", "# Class for Absorption Line List " ], [ "from django.db import models" ], [ "from tastypie.constants import ALL, ALL_WITH_RELATIONS" ], [ "TestLoopTypesFloorDivideNoPython.autogenerate()" ], [ "OBJECT_ROOT=BUILD_ROOT + '/object'", "OUTPUT_ROOT=BUILD_ROOT + '/output'" ], [ "from receiver.models import Submission, Attachment", "from receiver.tests.util import *" ], [ "from misago.threads.views.privatethreads import PrivateThreads" ], [ "from werkzeug.wrappers import Request, Response" ], [ "MIRROR_MODE_PRIMARY = \"primary\"", "MIRROR_MODE_QUIESCENT = \"quiescent\"" ], [ "# pylint: disable-msg=C0103" ], [ "from . import Consts, GithubException" ], [ "log = CPLog(__name__)" ], [ "from .base import WidgetTest" ], [ "#------------------------------------------------------------------------------" ], [ "from math import sin,cos,tan,pi,radians" ], [ "# The theme to use for HTML and HTML Help pages. See the documentation for", "# a list of builtin themes.", "on_rtd = os.environ.get('READTHEDOCS', None) == 'True'" ], [ "# for group in char_width_groups}" ], [ "# Complex type prohibitionType with content type EMPTY" ], [ "# -*- coding: UTF-8 -*-" ], [ "scheduled = namedtuple('scheduled', ('eta', 'priority', 'entry'))" ], [ "from module.plugins.internal.Crypter import Crypter" ], [ "from timeit import timeit" ], [ "here = path.abspath(path.dirname(__file__))", "# Get the long description from the README file" ], [ "from ansible.module_utils.influxdb import InfluxDb" ], [ "s= marker_sets[\"particle_125 geometry\"]", "mark=s.place_marker((2089.16, 1152.49, 1372.86), (0.7, 0.7, 0.7), 148.261)" ], [ "# RUN MODULE", "###################################################################################################" ], [ "# __bootstrap() method has returned, which gives us reliable reference counts", "# at the end of a test run." ], [ "talloc.enable_null_tracking()" ], [ "#", "class CompletedException(Exception): pass" ], [ "tf1, tf, tfv = try_import_tf()" ], [ "logger = logging.getLogger(__name__)" ], [ "import matplotlib.pyplot as plt", "import networkx as nx" ], [ "from schedule.utils import get_admin_model_fields" ], [ "s= marker_sets[\"particle_42 geometry\"]", "mark=s.place_marker((3964.83, 3422.3, 3866.17), (0.7, 0.7, 0.7), 846)" ], [ "BASEDIR = os.path.split(os.path.realpath(__file__))[0] + \"/../../\"" ], [ "# overridden below)", "_setlocale = setlocale" ], [ "from odoo.exceptions import UserError" ], [ "# Device types", "#" ], [ "silent = False" ], [ "directory = DirectoryHasRepository()" ], [ "from tests import mock" ], [ "# however, skipUnless was only added in Python 2.7;", "# if not available, we need to do something else" ], [ "# API found via https://groups.google.com/forum/#!topic/exhibitor-users/HoTXQWmQ1bs" ], [ "from .utils import UsingURLPatterns" ], [ "import ioutil" ], [ "print(\"Extracting Yara Files\")", "yarFiles = []" ], [ "from omero.util.concurrency import get_event", "from omero.rtypes import rint, unwrap" ], [ "s= marker_sets[\"particle_343 geometry\"]", "mark=s.place_marker((3266.59, 736.468, 1093.27), (0.7, 0.7, 0.7), 178.971)" ], [ "# end class CIM_VirtualSystemSettingData_Type" ], [ "hiddenimports = []" ], [ "DEFAULT_MIN_SUPPORTED_JAVA_VERSION = 7" ], [ "class GCMNotRegisteredException(GCMException): pass", "class GCMMessageTooBigException(GCMException): pass", "class GCMInvalidRegistrationException(GCMException): pass" ], [ "# self.left = None", "# self.right = None" ], [ "from translate.lang import common" ], [ "ARCHIVEURL = os.getenv('ARCHIVE_URL', 'http://127.0.0.1:8080')" ], [ "import mock" ], [ "from geonode.utils import check_ogc_backend" ], [ "from .support import tag" ], [ "RESET = '\\033[0m'" ], [ "from weboob.exceptions import BrowserPasswordExpired" ], [ "__virtualname__ = 'augeas'" ], [ "from matplotlib import animation", "from scipy import constants" ], [ "import numpy", "#check args" ], [ "montage = op.join(data_dir, 'test.hpts')" ], [ "_holder = object()" ], [ "KING_URL = 'http://play.dizibox.net/king/king.php?p=GetVideoSources'", "QUALITY_MAP = {'HD': QUALITIES.HD720}" ] ]