text string | label int64 |
|---|---|
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>{'name': 'versions_from_parentdir@versioneer.py', 'description': 'Try to determine the version from... | 1 |
{'name': 'get_hhh_investigator@website/web/__init__.py', 'description': 'Returns all the captures related to a cookie name entry, used in the web interface.', 'signature': 'def get_hhh_investigator(hhh: str, offset: int | None=None, limit: int | None=None, search: str | None=None) -> tuple[int, list[tuple[str, str, str... | 0 |
{'name': 'run_playbooks@kayobe/ansible.py', 'description': 'Run a Kayobe Ansible playbook.', 'signature': 'def run_playbooks(parsed_args, playbooks,'}</s>LOG = logging.getLogger(__name__) | 1 |
{'name': 'set_rng_seeds_context@examples/lm-design/utils/sampling.py', 'description': 'Context manager for temporarily setting seeds.\nFor example, can be used when random sampling to get\ndeterministic outputs for test cases. ', 'signature': 'def set_rng_seeds_context(seeds: Union[SeedDict, int], disable=False):'}</s>... | 0 |
{'name': 'accuracy@official_quantization/main.py', 'description': 'Computes the accuracy over the k top predictions for the specified values of k', 'signature': 'def accuracy(output, target, topk=(1,)):'}</s>{'name': 'print_size_of_model@official_quantization/main.py', 'description': 'DOCSTRING', 'code': 'def print_siz... | 0 |
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie... | 0 |
{'name': '_check_description@swagger_to/style.py', 'description': 'Check whether a description is well-styled.\n\n:param description: the description\n:param starts_with_verb:\n if True, check that the description should start with a verb in third person singular (stem -s).\n:return: the failed check, if any', 'sign... | 0 |
{'name': 'HtmlFormatter.make_html_word@src/freetype/src/tools/docmaker/tohtml.py', 'description': 'Analyze a simple word to detect cross-references and markup.', 'signature': 'def make_html_word(self, word):'}</s>re_source_keywords = re.compile('''\\b ( typedef |
struct |
... | 0 |
{'name': 'main@streaming/language_support/python/distribute_setup.py', 'description': 'Install or upgrade setuptools and EasyInstall', 'signature': 'def main(version=DEFAULT_VERSION):'}</s>{'name': '_before_install@streaming/language_support/python/distribute_setup.py', 'description': 'DOCSTRING', 'code': "def _before_... | 0 |
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ... | 0 |
{'name': 'Shape.hit@pyrt/geometry/shape.py', 'description': ':param ray: the ray to check hit\n:param tmin: tmin to test intersection\n:param tmax: tmax to test intersection\n:param hitrecord: the hitrecord which is only valid if there is a hit\n:return: True if there is a hit', 'signature': 'def hit(self, ray: Ray, hi... | 1 |
{'name': 'get_instantiation_lines@config/instantiation_file.py', 'description': 'Generate the lines for a C++ file that instantiates a configuration.', 'signature': 'def get_instantiation_lines(cores, caches, ptws, pmem, vmem, build_id):'}</s>{'name': 'decorate_queues@config/instantiation_file.py', 'description': 'DOCS... | 1 |
{'name': 'IsDerivedFunction@tools/cpplint.py', 'description': 'Check if current line contains an inherited function.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains a function with "override"\n virt-specifier... | 0 |
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ... | 0 |
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo... | 0 |
{'name': 'IUSequence.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load sequence data from the configuration', 'signature': 'def load(self, config: OrderedDict) -> "IUSequence":'}</s>{'name': 'IUSequenceRunAllocation@custom_components/irrigation_unlimited/irrigation_unlimited.py'... | 0 |
{'name': 'main@tests/run_all_tests.py', 'description': 'Main function to parse arguments, set up the testing environment, and\nexecute tests.\n\nThis function performs the following steps:\n1. Parses command line arguments.\n2. Reads configuration from a JSON file if specified.\n3. Merges arguments from the JSON file a... | 0 |
{'name': 'select_hfr_db@disdat/hyperframe.py', 'description': 'Create an HFrame Record from a row in our DB.\nWhere uuid= && owner= && human_name= && processing_name=\n\nArgs:\n engine_g:\n uuid (str): add to where clause\n owner (str): add to where clause\n human_name (str): add to where clause\n proce... | 0 |
{'name': '_test_core@ci/weekly/test_all_sat_end_to_end_on_disk.py', 'description': 'Core function testing all data\nArgs:\n pattern (str): Pattern of the satellite\n prod_dirs (Union[str, list]): Product directory\n possible_bands(list): Possible bands\n debug (bool): Debug option', 'signature': 'def _test_... | 0 |
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t... | 0 |
{'name': 'logout@n26/cli.py', 'description': 'Logout ', 'signature': 'def logout():'}</s>DATETIME_FORMATS = [
'%m/%d/%Y %H:%M:%S',
'%m/%d/%Y',
'%Y-%m-%d',
'%Y-%m-%dT%H:%M:%S',
'%Y-%m-%d %H:%M:%S',
'%d.%m.%Y',
'%d.%m.%Y %H:%M:%S'
] | 0 |
{'name': 'MatchSet.get@xcs/framework.py', 'description': 'Return the action set, if any, associated with this action. If\nno action set is associated with this action, return the default.\nIf no default is provided, None is used.\n\nUsage:\n action_set = match_set.get(action)\n\nArguments:\n action: The action su... | 0 |
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': 'new_enter_or_exit_at_callback@src/server/server.py', 'description': 'DOCSTRING', 'code': "def new_enter_or_exit_at_callback(node, is_enter_at_flag):\n gevent.... | 0 |
{'name': 'load_heterogeneous_data@HetSANN_MR/utils/process.py', 'description': 'Load data.', 'signature': 'def load_heterogeneous_data(dataset_str,'}</s>{'name': 'parse_index_file@HetSANN_MR/utils/process.py', 'description': 'Parse index file.', 'code': 'def parse_index_file(filename):\n """Parse index file."""\n ... | 0 |
{'name': '_format_compatibility_errors@jupyterlab/commands.py', 'description': 'Format a message for compatibility errors.', 'signature': 'def _format_compatibility_errors(name, version, errors):'}</s>{'name': 'install_extension@jupyterlab/commands.py', 'description': 'Install an extension package into JupyterLab.\n\nT... | 0 |
{'name': 'guess_json_utf@src/requests/utils.py', 'description': ':rtype: str', 'signature': 'def guess_json_utf(data):'}</s>{'name': 'get_encoding_from_headers@src/requests/utils.py', 'description': 'Returns encodings from given HTTP Header Dict.\n\n:param headers: dictionary to extract encoding from.\n:rtype: str', 'c... | 0 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQENC_INTEGER_REVERSED = 2 | 0 |
{'name': 'bias_variable@bff_positioning/models/layer_functions.py', 'description': 'Function to initialize the bias. For ReLUs, it MUST be > 0.0\n\n:param shape: the shape of the bias variable\n:param val: the value of the bias variable', 'signature': 'def bias_variable(shape, bias=0.01):'}</s>{'name': 'weight_variable... | 0 |
{'name': 'update_payout_screen@displays/waveshare2in13v3.py', 'description': "Update the payout screen to reflect balance of deposited coins.\nScan the invoice??? I don't think so!", 'signature': 'def update_payout_screen():'}</s>lntxbot_balance_3 = " Satoshis" | 0 |
{'name': 'generate_docs_only_paths@scripts/schema/subset_filter.py', 'description': "Returns a list of field paths: ['process.same_as_process'] for subset fields\nmarked as `docs_only: True`", 'signature': 'def generate_docs_only_paths('}</s>{'name': 'remove_internal_attributes@scripts/generators/intermediate_files.py'... | 0 |
{'name': 'tag_copy@spatialmedia/mpeg/box.py', 'description': 'Copies a block of data from in_fh to out_fh.\n\nArgs:\n in_fh: file handle, source of uncached file contents.\n out_fh: file handle, destination for saved file.\n size: int, amount of data to copy.', 'signature': 'def tag_copy(in_fh, out_fh, size):'}</s>V... | 0 |
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 0 |
{'name': 'writeWorld@cxxtest/cxxtestgen.py', 'description': 'Write the world definitions', 'signature': 'def writeWorld( output ):'}</s>{'name': 'scanLineForTest@cxxtest/cxxtestgen.py', 'description': 'Check if current line starts a test', 'code': "def scanLineForTest( suite, lineNo, line ):\n '''Check if current li... | 0 |
{'name': '_install@ez_setup.py', 'description': 'Install Setuptools.', 'signature': 'def _install(archive_filename, install_args=()):'}</s>{'name': '_parse_args@ez_setup.py', 'description': 'Parse the command line for options.', 'code': 'def _parse_args():\n """Parse the command line for options."""\n parser = op... | 0 |
{'name': 'PULP_CBC_CMDTest.test_cuts_off@pulp/tests/test_pulp.py', 'description': 'Test if setting cuts=False adds cuts off to the command line.', 'signature': 'def test_cuts_off(self):'}</s>{'name': 'LpProblem@pulp/pulp.py', 'description': 'An LP Problem', 'base_classes': [], 'methods': [{'name': 'LpProblem.__init__@p... | 1 |
{'name': 'register_extensions@app/app.py', 'description': 'Register all extensions.', 'signature': 'def register_extensions(app):'}</s>{'name': 'register_database@app/app.py', 'description': 'Register database.', 'code': 'def register_database(app):\n """Register database."""\n db.init_app(app)'} | 0 |
{'name': 'joydata@project_sample/2019-2ProjectSamples_Code/11조-수강과목을 통한 전공 예측 프로그램/joy.py', 'description': "joydata reads data/joydata.txt file and returns the data'\nParameters\n standardized: If True, performs standardization or \n feature scaling such that mean is 0 and std dev = 1.0\n shuffled: If True... | 0 |
{'name': 'extract_nodes@mako/ext/babelplugin.py', 'description': "Extract messages from Mako's lexer node objects\n\n:param nodes: an iterable of Mako parsetree.Node objects to extract from\n:param keywords: a list of keywords (i.e. function names) that should be\n recognized as translation functions\n:... | 0 |
{'name': 'test_allocation_after_unsetting_profile_function@tests/integration/test_tracing.py', 'description': 'After tracking starts, unset the profile function then allocate.\n\nMake sure that the stack for the allocation is unknown.', 'signature': 'def test_allocation_after_unsetting_profile_function(tmp_path):'}</s>... | 0 |
{'name': 'NHC2HassFan.__init__@custom_components/nhc2/fan.py', 'description': 'Initialize a light.', 'signature': 'def __init__(self, nhc2fan: CoCoFan):'}</s>SPEED_LOW = 10 | 0 |
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>{'name': 'Event@src/ast... | 0 |
{'name': 'PBES2.encrypt@blockchain-env/lib/python3.7/site-packages/Cryptodome/IO/_PBES.py', 'description': "Encrypt a piece of data using a passphrase and *PBES2*.\n\n:Parameters:\n data : byte string\n The piece of data to encrypt.\n passphrase : byte string\n The passphrase to use for encrypting the data.\n ... | 0 |
{'name': 'sign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'varname,ctype,atype\ninit,init.r,init.i,pytype\nvardebuginfo,vardebugshowvalue,varshowvalue\nvarrfromat\nintent', 'signature': 'def sign2map(a, var):'}</s>{'name': 'markoutercomma@venv/Lib/site-packages/numpy/f2py/crackfortran.py', 'des... | 1 |
{'name': 'connect@src/main/python/jep/jdbc.py', 'description': "Connect to a JDBC data source using java.sql.DriverManager.\nReturns a java.sql.Connection instance.\n\nurl - JDBC connection url. See your driver's documentation for this value\nuser - connection username\npassword - optional password\ntimeout - time in s... | 0 |
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro... | 0 |
{'name': 'is_mutibyte_string@qt4a/androiddriver/util.py', 'description': '判断是否是多字节字符串', 'signature': 'def is_mutibyte_string(data):'}</s>{'name': 'set_default_encoding@qt4a/androiddriver/util.py', 'description': 'DOCSTRING', 'code': 'def set_default_encoding(code="utf8"):\n if six.PY2:\n if sys.getdefaultenco... | 0 |
{'name': 'ensure_dir_exists@sql-cli/src/odfe_sql_cli/config.py', 'description': 'Try to create config file in OS.\n\nIgnore existing destination. Raise error for other OSError, such as errno.EACCES (Permission denied),\nerrno.ENOSPC (No space left on device)', 'signature': 'def ensure_dir_exists(path):'}</s>{'name': '_... | 0 |
{'name': 'print_numpy@utils/util.py', 'description': 'Print the mean, min, max, median, std, and size of a numpy array\n\nParameters:\n val (bool) -- if print the values of the numpy array\n shp (bool) -- if print the shape of the numpy array', 'signature': 'def print_numpy(x, val=True, shp=False):'}</s>{'name': ... | 0 |
{'name': 'BluetoothServer.start@bluedot/btcomm.py', 'description': 'Starts the Bluetooth server if its not already running. The server needs to be started before\nconnections can be made.', 'signature': 'def start(self):'}</s>BLUETOOTH_TIMEOUT = 0.01 | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQZTO_SECONDARY = 1 | 0 |
{'name': 'About.set_standard_fields@src/attributecode/model.py', 'description': 'Create fields in an ordered dict to keep a standard ordering. We\ncould use a metaclass to track ordering django-like but this approach\nis simpler.', 'signature': 'def set_standard_fields(self):'}</s>{'name': 'update_about_resource@src/at... | 0 |
{'name': 'generate_files@scripts/update_api.py', 'description': 'Scan the api files in ``api_files`` and emit the relevant API files into\nthe output directories specified. If an output directory is set to ``None``\nthen the files for that language binding or module are not emitted.\n\nThe reason for this function inte... | 0 |
{'name': 'clip_to_window@alphaction/dataset/datasets/evaluation/ava/pascal_evaluation/np_box_list_ops.py', 'description': 'Clip bounding boxes to a window.\n\nThis op clips input bounding boxes (represented by bounding box\ncorners) to a window, optionally filtering out boxes that do not\noverlap at all with the window... | 0 |
{'name': 'test_pkg_test_conda_package_format@test/test_utils.py', 'description': 'Running a mulled-build test with .tar.bz2/.conda package formats', 'signature': 'def test_pkg_test_conda_package_format('}</s>{'name': 'LoggingSourceRenameFilter@bioconda_utils/utils.py', 'description': 'Logging filter for abbreviating mo... | 0 |
{'name': 'uploaded_file@sleepypuppy/upload/upload.py', 'description': 'Route to retrieve screenshot when requested.', 'signature': 'def uploaded_file(filename):'}</s>{'name': 'allowed_file@sleepypuppy/upload/upload.py', 'description': 'Method to filter out bad filenames and prevent dir traversal.', 'code': 'def allowed... | 0 |
{'name': 'imGrad@training_codes/utils/utils_model.py', 'description': 'Computes the discrete gradient of an input batch of images of size \nB x C x H x W. The output is of size B x 2*C x H x W where in the 2nd \ndimension from 0:C the gradient with respect to the y-axis of each channel\nof the image is stored, while in... | 0 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'vgg13_bn@models/encoder/vgg.py', 'description': 'VGG 13-layer model (configuration "B") with batch normalization\n`"Very Deep Convolutional Networks For Large-Scale Image Recognition" <https://arxiv.org/pdf/1409.1556.pdf>`_\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet\n p... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQDXP_CURRENT_VERSION = py23long(1) | 0 |
{'name': 'isCpio@fwtool/archive/cpio.py', 'description': 'Returns true if the file provided is a cpio file', 'signature': 'def isCpio(file):'}</s>{'name': 'Struct@fwtool/util/__init__.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Struct.__init__@fwtool/util/__init__.py', 'descriptio... | 0 |
{'name': 'IsDerivedFunction@tools/cpplint.py', 'description': 'Check if current line contains an inherited function.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains a function with "override"\n virt-specifier... | 0 |
{'name': 'NewDatabase.update@premise/new_database.py', 'description': 'Update a specific sector by name.', 'signature': 'def update(self, sectors: [str, list, None] = None) -> None:'}</s>FILEPATH_TRUCKS = INVENTORY_DIR / "lci-trucks.xlsx" | 0 |
{'name': 'remove_qs@deliverance/utils.py', 'description': 'Remove URL query string the lazy way', 'signature': 'def remove_qs(url):'}</s>{'name': 'jitter@deliverance/utils.py', 'description': 'This seems unnecessary', 'code': 'def jitter(seconds):\n """This seems unnecessary"""\n pct = abs(random.gauss(.2, .05))\... | 0 |
{'name': 'training_pipeline@alphapy/__main__.py', 'description': 'AlphaPy Training Pipeline\n\nParameters\n----------\nmodel : alphapy.Model\n The model object for controlling the pipeline.\n\nReturns\n-------\nmodel : alphapy.Model\n The final results are stored in the model object.\n\nRaises\n------\nKeyError\n... | 0 |
{'name': 'SimFinger.__set_pybullet_params@python/rrc_simulation/sim_finger.py', 'description': 'To change properties of the robot such as its mass, friction, damping,\nmaximum joint velocities etc.', 'signature': 'def __set_pybullet_params(self):'}</s>finger_types_data = {
"fingerone": FingerTypesDataFormat("finger... | 0 |
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be... | 0 |
{'name': 'render_pep440_pre@versioneer.py', 'description': 'TAG[.post.devDISTANCE] -- No -dirty.\n\nExceptions:\n1: no tags. 0.post.devDISTANCE', 'signature': 'def render_pep440_pre(pieces):'}</s>{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns... | 0 |
{'name': 'HindcastEnsemble.plot_alignment@src/climpred/classes.py', 'description': 'Plot ``initialized`` ``valid_time`` where matching ``verification`` ``time``.\n\nDepends on ``alignment``. Plots ``days since reference date`` controlled by\n``date2num_units``. ``NaN`` / white space shows where no verification is done.... | 0 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'fpNeg@src/api/python/z3/z3.py', 'desc... | 0 |
{'name': 'read_input_fn_infinite@classification/feature_generation/feature_generation.py', 'description': 'Read data for training.\n\nBecause we are IO bound during training, we return the raw IDs. These\nare mapped real IDs using the vessel metadata.', 'signature': 'def read_input_fn_infinite(paths, num_features, num_... | 0 |
{'name': 'cleanup_properties@skosify/skosify.py', 'description': 'Remove unnecessary property definitions.\n\nRemoves SKOS and DC property definitions and definitions of unused\nproperties.', 'signature': 'def cleanup_properties(rdf):'}</s>{'name': 'check_hierarchy@skosify/skosify.py', 'description': 'Check for, and op... | 0 |
{'name': 'ParseArguments@tools/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{'name': 'FlagC... | 0 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>_html_infix_map = {} | 0 |
{'name': 'Environment.compile_expression@third_party/dawn/third_party/jinja2/environment.py', 'description': 'A handy helper method that returns a callable that accepts keyword\narguments that appear as variables in the expression. If called it\nreturns the result of the expression.\n\nThis is useful if applications w... | 0 |
{'name': 'TileMatrixSet.tiles@morecantile/models.py', 'description': 'Get the tiles overlapped by a geographic bounding box\n\nOriginal code from https://github.com/mapbox/mercantile/blob/master/mercantile/__init__.py#L424\n\nParameters\n----------\nwest, south, east, north : sequence of float\n Bounding values in d... | 0 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'test_escaped_html@tests/test_linkify.py', 'description': 'If I pass in escaped HTML, it should probably come out escaped.', 'signature': 'def test_escaped_html():'}</s>{'name': 'test_mangle_text@tests/test_linkify.py', 'description': 'We can muck with the inner text of a link.', 'code': 'def test_mangle_text(... | 0 |
{'name': 'run@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`s... | 0 |
{'name': 'TIS.select_format@python/capture-sequence/TIS.py', 'description': ' ', 'signature': 'def select_format(self):'}</s>{'name': 'TIS@python/capture-sequence/TIS.py', 'description': 'The Imaging Source Camera', 'base_classes': [], 'methods': [{'name': 'TIS.__init__@python/capture-sequence/TIS.py', 'descript... | 1 |
{'name': 'read_frame@django_pandas/io.py', 'description': 'Returns a dataframe from a QuerySet\n\nOptionally specify the field names/columns to utilize and\na field as the index\n\nParameters\n----------\n\nqs: The Django QuerySet.\nfieldnames: The model field names to use in creating the frame.\n You can span a re... | 1 |
{'name': 'Workflow._filter_item@src/workflow/workflow.py', 'description': 'Filter ``value`` against ``query`` using rules ``match_on``.\n\n:returns: ``(score, rule)``', 'signature': 'def _filter_item(self, value, query, match_on, fold_diacritics):'}</s>{'name': 'PickleSerializer@src/workflow/workflow.py', 'description'... | 0 |
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_NUM_PUBS = 1396 | 0 |
{'name': 'loadSwagger@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_create_scenario.py', 'description': 'This function will load and set the swagger definitions for APIs\n:return: None', 'signature': 'def loadSwagger():'}</s>token_registration_endpoint = "" | 0 |
{'name': 'CheckForFunctionLengths@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Reports for long function bodies.\n\nFor an overview why this is done, see:\nhttp://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Short_Functions\n\nUses a simplistic algorithm assuming other style guidelines\... | 0 |
{'name': 'PBES1.decrypt@blockchain-env/lib/python3.7/site-packages/Cryptodome/IO/_PBES.py', 'description': 'Decrypt a piece of data using a passphrase and *PBES1*.\n\nThe algorithm to use is automatically detected.\n\n:Parameters:\n data : byte string\n The piece of data to decrypt.\n passphrase : byte string\n ... | 0 |
{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK... | 0 |
{'name': 'local@tune/cli.py', 'description': 'Run a local tune.\n\nParameters defined in the `tuning_config` file always take precedence.', 'signature': 'def local( # noqa: C901'}</s>{'name': 'run_match@tune/local.py', 'description': 'Run a cutechess-cli match of two engines with paired random openings.\n\nParameters\... | 1 |
{'name': 'create_mapping@goblin/mapper.py', 'description': 'Constructor for :py:class:`Mapping`', 'signature': 'def create_mapping(namespace, properties):'}</s>{'name': 'map_props_to_db@goblin/mapper.py', 'description': 'Convert OGM property names/values to DB property names/values', 'code': 'def map_props_to_db(elemen... | 0 |
{'name': '_FixPath@gyp/pylib/gyp/generator/msvs.py', 'description': 'Convert paths to a form that will make sense in a vcproj file.\n\nArguments:\n path: The path to convert, may contain / etc.\nReturns:\n The path with all slashes made into backslashes.', 'signature': 'def _FixPath(path, separator="\\\\"):'}</s>_xml... | 0 |
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ... | 0 |
{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK... | 0 |
{'name': 'have_qstring@labelImg.py', 'description': 'p3/qt5 get rid of QString wrapper as py3 has native unicode str type', 'signature': 'def have_qstring():'}</s>{'name': 'read@labelImg.py', 'description': 'DOCSTRING', 'code': "def read(filename, default=None):\n try:\n with open(filename, 'rb') as f:\n ... | 0 |
{'name': 'attrib@vendor/attr/_make.py', 'description': "Create a new attribute on a class.\n\n.. warning::\n\n Does *not* do anything unless the class is also decorated with\n `attr.s`!\n\n:param default: A value that is used if an ``attrs``-generated ``__init__``\n is used and no value is passed while instan... | 0 |
{'name': 'conf_from_file@pecan/configuration.py', 'description': 'Creates a configuration dictionary from a file.\n\n:param filepath: The path to the file.', 'signature': 'def conf_from_file(filepath):'}</s>{'name': 'initconf@pecan/configuration.py', 'description': 'Initializes the default configuration and exposes it ... | 0 |
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be... | 0 |
{'name': 'test_set_format_int3@cyvcf2/tests/test_reader.py', 'description': 'test that we can handle multiple (in this case 3) values per sample', 'signature': 'def test_set_format_int3():'}</s>{'name': 'test_closed_iter@cyvcf2/tests/test_reader.py', 'description': 'DOCSTRING', 'code': 'def test_closed_iter():\n pat... | 0 |
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ... | 0 |
{'name': '_IsType@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check if expression looks like a type name, returns true if so.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n nesting_state: A NestingState instance which maintains information about\n the current stac... | 0 |
{'name': 'CheckBraces@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to ca... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.