text string | label int64 |
|---|---|
{'name': 'fileUrlToSystemPath@main/pyuno/source/module/uno.py', 'description': 'returns a system path (determined by the system, the python interpreter is running on)', 'signature': 'def fileUrlToSystemPath( url ):'}</s>{'name': 'generateUuid@main/pyuno/source/module/uno.py', 'description': 'returns a 16 byte sequence ... | 0 |
{'name': 'lm3_importer@menpo3d/io/input/landmark_mesh.py', 'description': 'Importer for the LM3 file format from the bosphorus dataset. This is a 3D\nlandmark type and so it is assumed it only applies to meshes.\n\nLandmark set label: LM3\n\nLandmark labels:\n\n+------------------------+\n| label |\n+=... | 0 |
{'name': 'athena_source@05_explore/data-wrangler/99_GENERATED_Python_Code.py', 'description': 'Represents a source that handles Athena.\n\nNote: Input dataset_definition is a Mohave specific dataset definition and is different from Processing Job\ndataset definition.', 'signature': 'def athena_source(spark, mode, datas... | 0 |
{'name': 'Application._perform_deferred_reload@robopianist/viewer/application.py', 'description': 'Performs the deferred part of initialization related to Physics reload.\n\nArgs:\n params: Deferred reload parameters, an instance of ReloadParams.', 'signature': 'def _perform_deferred_reload(self, params):'}</s>{'name'... | 0 |
{'name': 'main@nanoplot/NanoPlot.py', 'description': 'Organization function\n-setups logging\n-gets inputdata\n-calls plotting function', 'signature': 'def main():'}</s>{'name': 'make_output_dir@nanoplot/utils.py', 'description': 'DOCSTRING', 'code': 'def make_output_dir(path):\n try:\n if not os.path.exists(... | 1 |
{'name': 'make_default_config@atlas/make_config.py', 'description': 'generates a dict with all the default values, if they exist', 'signature': 'def make_default_config():'}</s>CONTIG_COUNT_MULTI_MAPPED_READS = False | 1 |
{'name': 'test_create@tests/test_class.py', 'description': 'test create', 'signature': 'def test_create():'}</s>{'name': 'SoftWebauthnDevice@soft_webauthn.py', 'description': "This simulates the Webauthn browser API with a authenticator device\nconnected. It's primary use-case is testing, device can hold only\none cred... | 1 |
{'name': 'graph@python/DisplayTests.py', 'description': 'Send the given graph file (a .gif) back to the user.', 'signature': 'def graph(req, type, revision, machine, buildType, graphName, timestamp=None):'}</s>{'name': 'index@python/DisplayTests.py', 'description': 'The main test display page.\n\nThis displays a summar... | 0 |
{'name': 'CommandsBuilder.build_help_message@python/modules/commands_builder.py', 'description': 'Builds help message.\n\nArguments:\n- {peer_id} - chat ID;\n- {karma} - is karma enabled in chat.', 'signature': 'def build_help_message('}</s>{'name': 'BetterBotBaseDataService@python/modules/data_service.py', 'descriptio... | 0 |
{'name': 'main@run.py', 'description': 'Main function ', 'signature': 'def main():'}</s>{'name': 'create_soup@module/save.py', 'description': 'create soup object ', 'code': "def create_soup(url):\n ''' create soup object '''\n request = requests.get(url)\n page_content = request.content\n return BeautifulSo... | 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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRC_SD_ERROR = 2424 | 0 |
{'name': 'download_papers_given_url_and_group_id@lib/openreview.py', 'description': 'downlaod papers for the given web url and the paper group id\n:param save_dir: str, paper save path\n:type save_dir: str\n:param year: int, iclr year, current only support year >= 2018\n:type year: int\n:param base_url: str, paper webs... | 0 |
{'name': 'Package.generate_package@nordicsemi/dfu/package.py', 'description': 'Generates a Nordic DFU package. The package is a zip file containing firmware(s) and metadata required\nfor Nordic DFU applications to perform DFU onn nRF5X devices.\n\n:param str filename: Filename for generated package.\n:param bool preser... | 1 |
{'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': 'LocalstackEndpointResolver.valid_regions@pytest_localstack/contrib/botocore.py', 'description': 'Return a list of regions we can resolve endpoints for.', 'signature': 'def valid_regions(self):'}</s>DEFAULT_AWS_ACCESS_KEY_ID = "accesskey" | 0 |
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>_DEFAULT_FILTERS = ['-build/include_alpha'] | 0 |
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W... | 0 |
{'name': 'bisect_bad@nix_bisect/bisect_runner.py', 'description': "Mark a commit as bad.\n\nWarning: This may have the side-effect of switching to a different\nrevision.\n\nUnfortunately we don't have control about that. In the future we may want\nto manage the refs and the bisect-log manually.", 'signature': 'def bise... | 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': 'demo@src/doitlive/cli.py', 'description': 'Run a demo doitlive session.', 'signature': 'def demo(quiet, shell, speed, prompt, commentecho):'}</s>ENVVAR_OPTION = click.option(
"--envvar", "-e", metavar="<envvar>", multiple=True, help="Adds a session variable."
) | 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': 'device_removed@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is removed', 'signature': 'def device_removed(notification):'}</s>{'name': 'teardown_extcap_log_handler@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Remove and reset the extcap log handler', 'code': 'def tea... | 0 |
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n... | 0 |
{'name': 'test_face_areas_compute_face_areas_geoflow_small@test/test_grid.py', 'description': 'Checks if the GeoFlow Small can generate a face areas output.', 'signature': 'def test_face_areas_compute_face_areas_geoflow_small():'}</s>grid_mpas = ux.open_grid(mpas_filepath) | 0 |
{'name': 'InputsTest.test_error_with_bad_eval_model_config@object_detection/inputs_test.py', 'description': 'Tests that a TypeError is raised with improper eval model config.', 'signature': 'def test_error_with_bad_eval_model_config(self):'}</s>{'name': '_rot90_boxes@object_detection/core/preprocessor.py', 'description... | 0 |
{'name': 'find_next_range@utils/file_utils.py', 'description': 'Finds the next value of the Range header\n:param content_range_header: The content-range header value returned in the response, ex. 0-1000/7181823761\n If None, the default Range header that is bytes=0-CHUNK_SIZE is returned\n:pa... | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'make_timing_data_string@src/python_scripts/afnipy/afni_util.py', 'description': 'return a string of row data, to t... | 0 |
{'name': 'ChainstateWriteCrashTest.restart_node@test/functional/feature_dbcrash.py', 'description': 'Start up a given node id, wait for the tip to reach the given block hash, and calculate the utxo hash.\n\nExceptions on startup should indicate node crash (due to -dbcrashratio), in which case we try again. Give up\naft... | 0 |
{'name': 'TestSegwitAddress.test_invalid_checksum@tests/test_segwit_addr.py', 'description': 'Test validation of invalid checksums.', 'signature': 'def test_invalid_checksum(self):'}</s>{'name': 'hex_to_bytes@bit/utils.py', 'description': 'DOCSTRING', 'code': "def hex_to_bytes(hexed):\n\n if len(hexed) & 1:\n ... | 0 |
{'name': 'Router.add@src/back/kite/bottle.py', 'description': 'Add a new rule or replace the target for an existing rule. ', 'signature': 'def add(self, rule, method, target, name=None):'}</s>{'name': 'parse_date@src/back/kite/bottle.py', 'description': 'Parse rfc1123, rfc850 and asctime timestamps and return UTC epoch... | 0 |
{'name': 'ttm12@char60/accounting_60.py', 'description': ":param series: variables' name\n:param df: dataframe\n:return: ttm12", 'signature': 'def ttm12(series, df):'}</s>data_rawq = data_rawq[data_rawq['temp'].notna()] | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCACF_SYSP_LOG_CORREL_ID = 3117 | 0 |
{'name': 'update_precond_dense@preconditioned_stochastic_gradient_descent.py', 'description': 'update dense preconditioner P = Q^T*Q\nQ: Cholesky factor of preconditioner\ndxs: a list of random perturbation on parameters\ndgs: a list of resultant perturbation on gradients\nstep: update step size', 'signature': 'def upd... | 0 |
{'name': 'dict_indexer_with_default@yaql/standard_library/collections.py', 'description': ':yaql:operator indexer\n\nReturns value of a dictionary by given key or default if there is\nno such key.\n\n:signature: left[right, default]\n:arg left: input dictionary\n:argType left: dictionary\n:arg right: key\n:argType righ... | 0 |
{'name': 'ParseNolintSuppressions@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Updates the global list of error-suppressions.\n\nParses any NOLINT comments on the current line, updating the global\nerror_suppressions store. Reports an error if the NOLINT comment\nwas malformed.\n\nArgs:\n filename: st... | 0 |
{'name': 'RuntimeConfigurationObject.set_runtime_upgrades_head@scalecodec/base.py', 'description': 'Sets head for given block_number to last runtime_id in runtime_upgrades cache\n\nParameters\n----------\nblock_number\n\nReturns\n-------', 'signature': 'def set_runtime_upgrades_head(self, block_number: int):'}</s>{'nam... | 0 |
{'name': 'BareValidator._validate_max@cerberus/validator.py', 'description': "{'nullable': False }", 'signature': 'def _validate_max(self, max_value, field, value):'}</s>BAD_TYPE_FOR_SCHEMA = ErrorDefinition(0x25, 'schema') | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'TCam.shutdown@ESP32/python/tcam.py', 'description': "shutdown()\n\nUse this to not only disconnect the socket, but also shut down the manager thread. If you are using\nthis object in an ipython session, you may find that the session won't exit until you ctrl+c. This is\nbecause the manager thread is still a... | 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': 'Bottle._cast@src/back/kite/bottle.py', 'description': 'Try to convert the parameter into something WSGI compatible and set\ncorrect HTTP headers when possible.\nSupport: False, str, unicode, dict, HTTPResponse, HTTPError, file-like,\niterable of strings and iterable of unicodes', 'signature': 'def _cast(self,... | 0 |
{'name': 'CivisAsyncResultBase._state@src/civis/base.py', 'description': 'State of the CivisAsyncResultBase in `future` language.', 'signature': 'def _state(self):'}</s>{'name': 'CivisJobFailure@src/civis/base.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': [{'name': 'CivisJobFailure.__init__... | 0 |
{'name': 'CheckPrintf@tools/cpplint.py', 'description': 'Check for printf related issues.\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 call with any errors found.', 'signature': 'd... | 0 |
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': '_op_name@src/api/python/z3/z3printer.py', 'description': 'DOCSTRING', 'code': 'def _op_name(a):\n if isinstance(a, z3.FuncDeclRef):\n f = a\n else... | 0 |
{'name': 'EntriesMaintainer.update_readme_tocs@code/maintenance_entries.py', 'description': 'Recounts entries in sub categories and writes them to the readme.\nAlso updates the _toc files in the categories directories.\n\nNote: The Readme must have a specific structure at the beginning, starting with "# Open Source Gam... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_XR_CAPABILITY = 243 | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQGACF_ACTIVITY_TRACE = 8013 | 0 |
{'name': 'is_disabled_path@fandjango/utils.py', 'description': 'Determine whether or not the path matches one or more paths\nin the DISABLED_PATHS setting.\n\n:param path: A string describing the path to be matched.', 'signature': 'def is_disabled_path(path):'}</s>{'name': 'authorization_denied_view@fandjango/utils.py'... | 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': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'AdAuthService@infoblox_client/objects.py', 'description': "AdAuthService: Act... | 0 |
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PFR_DIR_MAX = 2 | 0 |
{'name': 'UserStoreTests.test_storeAndRetrieveKey@vertex/test/test_standalone.py', 'description': 'A key is derived for a password and stored under the domain\nand user.', 'signature': 'def test_storeAndRetrieveKey(self):'}</s>{'name': 'NotAllowed@vertex/q2qadmin.py', 'description': 'DOCSTRING', 'base_classes': ['Excep... | 0 |
{'name': 'KeyValueStore.transaction@skein/kv.py', 'description': "An atomic transaction on the key-value store.\n\nParameters\n----------\nconditions : Condition or sequence of Conditions, optional\n A sequence of conditions to evaluate together. The conditional\n expression succeeds if all conditions evaluate to... | 0 |
{'name': 'MultispeakerDictionaryMixin.save_oovs_found@montreal_forced_aligner/dictionary/multispeaker.py', 'description': 'Save all out of vocabulary items to a file in the specified directory\n\nParameters\n----------\ndirectory : str\n Path to directory to save ``oovs_found.txt``', 'signature': 'def save_oovs_foun... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_CHANNEL_CLOSED = 4090 | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_INVALID_PROTOCOL = 3365 | 0 |
{'name': 'openLabJack@src/LabJackPython.py', 'description': 'openLabJack(deviceType, connectionType, firstFound = True, pAddress = 1, LJSocket = None)\n\nNote: On Windows, UE9 over Ethernet, pAddress MUST be the IP address. ', 'signature': 'def openLabJack(deviceType, connectionType, firstFound = True, pAddress = None,... | 0 |
{'name': 'BL3Save.import_protobuf@bl3save/bl3save.py', 'description': 'Given raw protobuf data, load it into ourselves so\nthat we can work with it. This also sets up a few\nconvenience vars for our later use', 'signature': 'def import_protobuf(self, data):'}</s>{'name': 'BL3Save@bl3save/bl3save.py', 'description': 'R... | 1 |
{'name': 'Compound.write@nbtlib/tag.py', 'description': 'Override :meth:`Base.write` for compound tags.', 'signature': 'def write(self, fileobj, byteorder="big"):'}</s>{'name': 'Numeric@nbtlib/tag.py', 'description': "Intermediate class that represents a numeric nbt tag.\n\nThis class inherits from the :class:`Base` cl... | 0 |
{'name': 'TrainManager.__init__@joeynmt/training.py', 'description': 'Creates a new TrainManager for a model, specified as in configuration.\n\n:param model: torch module defining the model\n:param model_dir: directory to save ckpts\n:param device: torch device\n:param n_gpu: number of gpus. 0 if cpu.\n:param num_worke... | 0 |
{'name': 'validate_apis@swagger_spec_validator/validator20.py', 'description': 'Validates semantic errors in #/paths.\n\n:param apis: dict of all the #/paths\n:param deref: callable that dereferences $refs\n\n:raises: :py:class:`swagger_spec_validator.SwaggerValidationError`\n:raises: :py:class:`jsonschema.exceptions.V... | 0 |
{'name': 'RecentList.getall@shingetsu/cache.py', 'description': 'Search nodes and update my recent list.', 'signature': 'def getall(self):'}</s>retry_join = 2 | 0 |
{'name': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>{'name': 'evaluate_marker@blockchain-env... | 0 |
{'name': 'Serial._update_dtr_state@serial/serialwin32.py', 'description': 'Set terminal status line: Data Terminal Ready', 'signature': 'def _update_dtr_state(self):'}</s>PURGE_RXCLEAR = 8 | 0 |
{'name': 'losslessTrim@amptk/amptklib.py', 'description': 'function to trim primers if found from SE reads\nand then trim/pad to a set length', 'signature': 'def losslessTrim(input, fwdprimer, revprimer, mismatch, trimLen, padding, minlength, output):'}</s>degenNuc = [("R", "A"), ("R", "G"),
("M", "A"), ("M... | 0 |
{'name': 'DastUnparser.enter@da/compiler/pseudo.py', 'description': "Print ':', and increase the indentation.", 'signature': 'def enter(self):'}</s>BOOLOP_SYMBOLS = {
AndOp: '∧',
OrOp: '∨',
NotOp: '¬'
} | 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>MQGACF_COMMAND_CONTEXT = 8001 | 0 |
{'name': 'CheckStyle@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line leng... | 0 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'site_f1_score@detectree2/models/evaluation.py', 'description': 'Calculating all the intersections of shapes in a pair of files and the area of the corresponding polygons.\n\nArgs:\n tile_directory: path to the folder containing all of the tiles\n test_directory: path to the folder containing just the te... | 0 |
{'name': 'MUSX.__init__@examples/musx.py', 'description': 'Constructor.', 'signature': "def __init__(self, formula, solver='m22', verbosity=1):"}</s>{'name': 'Solver@pysat/solvers.py', 'description': 'Main class for creating and manipulating a SAT solver. Any available\nSAT solver can be accessed as an object of this c... | 1 |
{'name': 'View._dbscan@picasso/gui/render.py', 'description': 'Performs DBSCAN in a given channel with user-defined parameters\nand saves the result.\n\nParameters\n----------\nchannel : int\n Index of the channel were clustering is performed\npath : str\n Path to save clustered localizations\nradius : float\n ... | 0 |
{'name': 'BL3Save.set_max_sdus@bl3save/bl3save.py', 'description': 'Sets the specified SDUs (or all SDUs that we know about) to be at the max level', 'signature': 'def set_max_sdus(self, sdulist=None):'}</s>profile_weapontrinkets_eng_to_hash = {v: k for k, v in profile_weapontrinkets_hash_to_eng.items()} | 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': 'WinograndeTask.load_dataset@examples/roberta/wsc/wsc_task.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset('}</s>{'name': 'get_tpu_device@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def get_tpu... | 0 |
{'name': 'parse_numbers@verif/util.py', 'description': 'Parses numbers from an input string. Recognizes MATLAB syntax, such as:\n3 single numbers\n3,4,5 list of numbers\n3:5 number range\n3:2:12 number range with a step size of 2\n3,4:6,2:5:9,6 combinations\n\nAborts if the num... | 0 |
{'name': 'worker_status@gedgo/views/dashboard.py', 'description': 'XHR view for whether the celery worker is up', 'signature': 'def worker_status(request):'}</s>GEDGO_DOCUMENTARY_ROOT = os.environ.get('GEDGO_DOCUMENTARY_ROOT', '/app/.files/documentaries/') | 0 |
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>ICMP6_PARAMPROB_OPTION = 2 | 0 |
{'name': 'update_files@tools/regression.py', 'description': 'Save current status as reference for the next run\n\n- Remove all *.txt files\n- Rename *.2.txt -> *.txt', 'signature': 'def update_files():'}</s>{'name': 'check_and_print_results@tools/regression.py', 'description': 'Returns True if the size differes compare... | 0 |
{'name': 'picked_locs@picasso/postprocess.py', 'description': 'Finds picked localizations.\n\nParameters\n----------\nlocs : np.recarray\n Localization list.\ninfo : list of dicts\n Metadata of the localizations list.\npicks : list\n List of picks.\npick_shape : {\'Circle\', \'Rectangle\', \'Polygon\'}\n Sh... | 0 |
{'name': 'apply_detrend@dts/datasets/uci_single_households.py', 'description': 'Perform detrending on a time series by subtrating from each value of the dataset\nthe average value computed over the training dataset for each hour/minute/weekdays\n:param df: the dataset\n:param test_len: test length,\n:return:\n - the... | 0 |
{'name': 'buildmodule@venv/Lib/site-packages/numpy/f2py/rules.py', 'description': 'Return', 'signature': 'def buildmodule(m, um):'}</s>{'name': 'issigned_long_longarray@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': "def issigned_long_longarray(var):\n return isarray(var) and var... | 0 |
{'name': '_check@petlib/cipher.py', 'description': 'Checks the return code of the C calls', 'signature': 'def _check(return_val):'}</s>{'name': 'test_aes_ctr@petlib/cipher.py', 'description': 'DOCSTRING', 'code': 'def test_aes_ctr():\n aes = Cipher("AES-128-CTR")\n enc = aes.op(key=b"A" * 16, iv=b"A" * 16)\n\n ... | 0 |
{'name': '_htmlentity_transform@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Transforms an HTML entity to a character.', 'signature': 'def _htmlentity_transform(entity_with_semicolon):'}</s>{'name': 'PUTRequest@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOCSTRING', 'base_cl... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_SUB_ALREADY_EXISTS = 3311 | 0 |
{'name': 'fid_inception_v3@metric/inception.py', 'description': "Build pretrained Inception model for FID computation\n\nThe Inception model for FID computation uses a different set of weights\nand has a slightly different structure than torchvision's Inception.\n\nThis method first constructs torchvision's Inception a... | 1 |
{'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>MQIA_CMD_SERVER_DLQ_MSG = 89 | 0 |
{'name': 'toposort_flatten@dags/ethereumetl_airflow/parse/toposort.py', 'description': 'Returns a single list of dependencies. For any set returned by\ntoposort(), those items are sorted and appended to the result (just to\nmake the results deterministic).', 'signature': 'def toposort_flatten(data, sort=True):'}</s>__a... | 0 |
{'name': 'initState@Deprecated/mrtf_test.py', 'description': 'Initialize a dictionary to hold the state ', 'signature': 'def initState():'}</s>BDTX = b'BDTX\r\n' | 0 |
{'name': '_make_json_entry@s2e_env/commands/execution_trace.py', 'description': "Combine a trace entry header and item into a single JSON-serializable\nentry. Return this entry as a ``dict``.\n\nSome things to note:\n * The header's ``size`` field is removed - it is not required in the\n JSON\n * Enums are r... | 0 |
{'name': 'Schema._compile_mapping@voluptuous/schema_builder.py', 'description': 'Create validator for given mapping.', 'signature': 'def _compile_mapping(self, schema, invalid_msg=None):'}</s>{'name': 'ValueInvalid@voluptuous/error.py', 'description': 'The value was found invalid by evaluation function.', 'base_classes... | 0 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'Template.compile@Cheetah/Template.py', 'description': 'The core API for compiling Cheetah source code into template classes.\n\nThis class method compiles Cheetah source code and returns a python\nclass. You then create template instances using that class. All\nCheetah\'s other compilation API\'s use this m... | 0 |
{'name': 'SDDP.solve@msppy/solver.py', 'description': 'Solve the discretized problem.\n\nParameters\n----------\n\nn_processes: int, optional (default=1)\n The number of processes to run in parallel. Run serial SDDP if 1.\n If n_steps is 1, n_processes is coerced to be 1.\n\nn_steps: int, optional (default=1)\n ... | 1 |
{'name': 'IrokoTopo._install_proactive@dc_gym/topos/topo_dumbbell.py', 'description': 'Install proactive flow entries for the switch.', 'signature': 'def _install_proactive(self):'}</s>{'name': 'TopoFactory@dc_gym/utils.py', 'description': 'Generator class.\nReturns a target subclass based on the provided target option... | 0 |
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>app_keyboard = dvz.dvz_app_keyboard | 0 |
{'name': 'get_gpu_memory_map@jupyter_main.py', 'description': 'Get the current gpu usage.\n\nReturns\n-------\nusage: dict\n Keys are device ids as integers.\n Values are memory usage as integers in MB.', 'signature': 'def get_gpu_memory_map():'}</s>{'name': 'GPT2LMHeadModel@kogpt2/model/torch_gpt2.py', '... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.