text
string
label
int64
{'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': 'get_local_part@src/future/backports/email/_header_value_parser.py', 'description': 'local-part = dot-atom / quoted-string / obs-local-part\n\n ', 'signature': 'def get_local_part(value):'}</s>{'name': 'get_dot_atom_text@src/future/backports/email/_header_value_parser.py', 'description': 'dot-text = 1*atext...
0
{'name': 'Type.get_ref_qualifier@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'Retrieve the ref-qualifier of the type.', 'signature': 'def get_ref_qualifier(self):'}</s>{'name': 'CompileCommands@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'CompileCommands is ...
0
{'name': '_DecodeUnknownField@python/google/protobuf/internal/decoder.py', 'description': 'Decode a unknown field. Returns the UnknownField and new position.', 'signature': 'def _DecodeUnknownField('}</s>__author__ = "robinson@google.com (Will Robinson)"
0
{'name': 'OsLoginUtils._GetStatus@packages/python-google-compute-engine/google_compute_engine/accounts/oslogin_utils.py', 'description': 'Check whether OS Login is installed.\n\nArgs:\n two_factor: bool, True if two factor should be enabled.\n\nReturns:\n bool, True if OS Login is installed.', 'signature': 'def _GetS...
0
{'name': 'LoadFirmwareImage@components/esptool_py/esptool/esptool.py', 'description': 'Load a firmware image. Can be for ESP8266 or ESP32. ESP8266 images will be examined to determine if they are\noriginal ROM firmware images (ESP8266ROMFirmwareImage) or "v2" OTA bootloader images.\n\nReturns a BaseFirmwareImage subcla...
1
{'name': 'get_index_of_first_statement@stino/pyarduino/arduino_src.py', 'description': "Returns the index of the first character that's not whitespace, a comment\nor a pre-processor directive.\n\nArgs:\n src_text: The source code.\n\nReturns:\n index: The index of first statement.", 'signature': 'def get_index_of...
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': 'test_serving_is_false_and_stop_returns_after_ctrlc@cheroot/test/test_server.py', 'description': 'Check that stop() interrupts running of serve().', 'signature': 'def test_serving_is_false_and_stop_returns_after_ctrlc():'}</s>{'name': 'test_reuse_port@cheroot/test/test_server.py', 'description': 'Check that po...
0
{'name': 'SessionRedirectMixin.rebuild_proxies@TDScanner/libs/requests/sessions.py', 'description': 'This method re-evaluates the proxy configuration by considering the\nenvironment variables. If we are redirected to a URL covered by\nNO_PROXY, we strip the proxy configuration. Otherwise, we set missing\nproxy keys for...
0
{'name': 'CheckStyle@tools/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 lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n f...
0
{'name': '_Selector._freeze_relations@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Freeze relation.', 'signature': 'def _freeze_relations(self, relations):'}</s>PAT_TAG = r'(?:(?:{ident}|\*)?\|)?(?:{ident}|\*)'.format(ident=IDENTIFIER)
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'BitcoinTestFramework.join_network@qa/rpc-tests/test_framework.py', 'description': 'Join the (previously split) network halves together.', 'signature': 'def join_network(self):'}</s>{'name': 'wait_bitcoinds@qa/rpc-tests/util.py', 'description': 'DOCSTRING', 'code': 'def wait_bitcoinds():\n # Wait for all bi...
1
{'name': 'parseOptionsAndInitTestdirs@llvm-12.0.0-project/lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}...
1
{'name': 'get_topo_file@oggm/utils/_downloads.py', 'description': "Path(s) to the DEM file(s) covering the desired extent.\n\nIf the needed files for covering the extent are not present, download them.\n\nThe default behavior is to try a list of DEM sources in order, and\nstop once the downloaded data is covering a lar...
1
{'name': 'ShopTests._reset_variations@tests/test_shop.py', 'description': 'Recreates variations and sets up the first.', 'signature': 'def _reset_variations(self):'}</s>{'name': 'ShopTests@tests/test_shop.py', 'description': 'DOCSTRING', 'base_classes': ['TestCase'], 'methods': [{'name': 'ShopTests.setUp@tests/test_sho...
1
{'name': 'get_corp_query_geetest_validate_input@geetest_online/geetest_online.py', 'description': '[105,102,40,33,104,97,115,86,97,108,105,100,41,123,98,114,111,119,115,101,\n114,95,118,101,114,115,105,111,110,40,123,32,118,97,108,117,101,58,32,53,\n48,48,49,56,49,48,56,53,125,41,59,104,97,115,86,97,108,105,100,61,\n11...
0
{'name': 'FormatDecisionState.MustSplit@tools/yapf/yapf/yapflib/format_decision_state.py', 'description': 'Returns True if the line must split before the next token.', 'signature': 'def MustSplit(self):'}</s>DEFAULT_STYLE = "pep8"
0
{'name': 'test_invalid_matrix@tests/test_tms_variable_width.py', 'description': 'Should raise error because we cannot construct a Matrix for variableWidth TMS.', 'signature': 'def test_invalid_matrix():'}</s>{'name': 'test_gnosisg@tests/test_tms_variable_width.py', 'description': 'test GNOSISGlobalGrid TMS.', 'code': '...
0
{'name': 'Constraints.sanitize_infinities@linopy/constraints.py', 'description': 'Replace infinite values in the constraints with a large value.', 'signature': 'def sanitize_infinities(self) -> None:'}</s>{'name': 'maybe_replace_signs@linopy/common.py', 'description': 'Replace signs with alternative signs if available....
0
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>{'name': 'gen_return_txouts@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': 'def gen_return_txouts(...
0
{'name': 'Config.save@cube/io_utils/config.py', 'description': 'Save configuration to file.', 'signature': 'def save(self, filename):'}</s>{'name': 'DCWEConfig@cube/io_utils/config.py', 'description': 'DOCSTRING', 'base_classes': ['Config'], 'methods': [{'name': 'DCWEConfig.__init__@cube/io_utils/config.py', 'descripti...
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>CSR_MHPMEVENT22 = 822
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>MQCBDO_START_CALL = 1
0
{'name': 'Lexer.get_tokens@sqlparse/lexer.py', 'description': "Return an iterable of (tokentype, value) pairs generated from\n`text`. If `unfiltered` is set to `True`, the filtering mechanism\nis bypassed even if filters are defined.\n\nAlso preprocess the text, i.e. expand tabs and strip it if\nwanted and applies regi...
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': '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': 'WrappedSocket.handshake@blockchain-env/lib/python3.7/site-packages/urllib3/contrib/securetransport.py', 'description': "Actually performs the TLS handshake. This is run automatically by\nwrapped socket, and shouldn't be needed in user code.", 'signature': 'def handshake('}</s>{'name': '_cert_array_from_pem@bl...
0
{'name': '_test_core@ci/weekly/test_stac_creation.py', 'description': 'Core function testing all data\n\nArgs:\n pattern (str): Pattern of the satellite\n prod_dir (str): Product directory\n debug (bool): Debug option', 'signature': 'def _test_core('}</s>{'name': 'dask_env@ci/scripts_utils.py', 'description': ...
0
{'name': 'Metric.compute_on_sql_sql_mode@metrics.py', 'description': 'Executes the query from to_sql() and process the result.', 'signature': 'def compute_on_sql_sql_mode(self, table, split_by=None, execute=None):'}</s>{'name': 'SqlComponent@sql.py', 'description': 'Base class for a SQL component like column, tabel and...
0
{'name': 'get_svg_size@make_bw_font.py', 'description': 'Takes a path to an SVG file and reads it.\nChecks for the existence of a \'viewBox\' property in the \'svg\' element.\nConfirms that the viewBox is square.\nReturns the viewBox dimension as an integer.\n\nThe regex match will contain 4 groups:\n 1. String from...
0
{'name': 'initState@Deprecated/mrtf_test.py', 'description': 'Initialize a dictionary to hold the state ', 'signature': 'def initState():'}</s>FORWARD = b'F'
0
{'name': 'ElementDetail.from_data@src/nitpick/blender.py', 'description': 'Create an element detail from dict data.', 'signature': 'def from_data(cls, index: int, data: ElementData, jmes_key: str) -> ElementDetail:'}</s>SEPARATOR_DOT = "."
0
{'name': '_SetVeryStronglyConnected@tools/yapf/yapf/yapflib/split_penalty.py', 'description': 'Set a VERY_STRONGLY_CONNECTED penalty annotation for the given nodes.', 'signature': 'def _SetVeryStronglyConnected(*nodes):'}</s>{'name': 'SetNodeAnnotation@tools/yapf/yapf/yapflib/pytree_utils.py', 'description': 'Set annot...
0
{'name': 'on_restore_database@src/server/server.py', 'description': 'Restore database.', 'signature': 'def on_restore_database(data):'}</s>{'name': 'render_welcome@src/server/server.py', 'description': 'Route to first-run (admin) setup.', 'code': "def render_welcome():\n '''Route to first-run (admin) setup.'''\n ...
0
{'name': 'Parser.remove_client@burpui/misc/parser/burp1.py', 'description': 'See :func:`burpui.misc.parser.interface.BUIparser.remove_client`', 'signature': 'def remove_client('}</s>{'name': 'OSSLConf@burpui/misc/parser/openssl.py', 'description': 'Parse the given OpenSSL configuration file\n\n:param conffile: Configur...
0
{'name': 'test_db_error_logging_to_stderr@test/io/test_io.py', 'description': 'verify that DB errors are logged to stderr', 'signature': 'def test_db_error_logging_to_stderr(level, defaultenv, metapostgrest):'}</s>{'name': 'freeport@test/io/postgrest.py', 'description': 'Find a free port on localhost.', 'code': 'def fr...
0
{'name': 'TrafficGen._init_services@dc_gym/iroko_traffic.py', 'description': 'Run the servers and monitors on all the host interfaces ', 'signature': 'def _init_services(self):'}</s>{'name': 'generate_id@dc_gym/utils.py', 'description': 'Mininet needs unique ids if we want to launch\nmultiple topologies at once ', 'cod...
0
{'name': 'collate_atoms@utility_functions.py', 'description': 'Split each molecule into a random generation trace and then build batch of input\ndata and apply padding.\n\nArgs:\n mol_dicts (list of dict): list of dicts containing properties of a training\n molecule (positions, atomic numbers, connectivity ma...
0
{'name': 'NewDatabase.write_db_to_matrices@premise/new_database.py', 'description': 'Exports the new database as a sparse matrix representation in csv files.\n\n:param filepath: path provided by the user to store the exported matrices.\nIf it is a string, the path is used as main directory from which\n"iam model" / "pa...
0
{'name': 'SensorHandler.start_arm_timer@custom_components/alarmo/sensors.py', 'description': 'start timer for automatical arming', 'signature': 'def start_arm_timer(self, entity):'}</s>PANEL_ICON = "mdi:shield-home"
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACH_PUT_AUTHORITY = 1508
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_CFBF_PARM_ID_ERROR = 3265
0
{'name': 'CheckForNonConstReference@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instan...
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': 'LocaluserAuthservice@infoblox_client/objects.py', 'description': "LocaluserAu...
0
{'name': 'CODSAnalysis.run_bootstrap@rdtools/soiling.py', 'description': "Bootstrapping of CODS algorithm for uncertainty analysis, inherently accounting\nfor model and parameter choices.\n\nFirst, calls on :py:func:`iterative_signal_decomposition` to fit N different\nmodels. Next, bootstrap samples are generated based...
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': 'string_to_type_list@src/python_scripts/afnipy/afni_util.py', 'description': 'return a list of dtype, converted fro...
0
{'name': 'Message.to_pydict@src/betterproto/__init__.py', 'description': 'Returns a python dict representation of this object.\n\nParameters\n-----------\ncasing: :class:`Casing`\n The casing to use for key values. Default is :attr:`Casing.CAMEL` for\n compatibility purposes.\ninclude_default_values: :class:`bool...
0
{'name': 'DNSIncoming.readQuestions@stino/pyarduino/base/zeroconf.py', 'description': 'Reads questions section of packet', 'signature': 'def readQuestions(self):'}</s>_TYPE_AAAA = 28
0
{'name': 'create_files@pretf/pretf/workflow.py', 'description': 'Creates rendered files in target_dir from source files in source_dirs.\n\nHandles the following:\n filename.tf.j2 -> filename.tf\n filename.tf.py -> filename.tf.json\n filename.tfvars.j2 -> filename.tfvars\n filename.tfvars.py -> filename.tfva...
0
{'name': 'galah@gaia_tools/load/__init__.py', 'description': "NAME:\n galah\nPURPOSE:\n Load the GALAH data\nINPUT:\n dr= (2) data release\n ages= (False; DR >= 3) if True, add ages and other info from VAC\n ages_join_type= ('inner') type of table join to do between the main catalog and the ages VAC: 'inner' ...
0
{'name': 'Metar._handlePressure@metar/Metar.py', 'description': 'Parse an altimeter-pressure group.\n\nThe following attributes are set:\n press [int]', 'signature': 'def _handlePressure( self, d ):'}</s>{'name': 'UnitsError@metar/Datatypes.py', 'description': 'Exception raised when unrecognized units are used.',...
0
{'name': 'EntryTransformer.unquoted_value@code/utils/osg_parse.py', 'description': ':param x:\n:return:', 'signature': 'def unquoted_value(self, x):'}</s>{'name': 'git_clear_path@code/utils/utils.py', 'description': "Clears all in a path except the '.git' directory", 'code': 'def git_clear_path(git_path):\n """\n ...
0
{'name': 'rename_columns@snape/make_dataset.py', 'description': "Rename the columns of a dataframe to have X in front of them\n\n:param df: data frame we're operating on\n:param prefix: the prefix string", 'signature': "def rename_columns(df, prefix='x'):"}</s>{'name': 'insert_missing_values@snape/make_dataset.py', 'de...
0
{'name': 'preprocess_objdump_out@tools/asm-differ/diff.py', 'description': 'Preprocess the output of objdump into a format that `process()` expects.\nThis format is suitable for saving to disk with `--write-asm`.\n\n- Optionally filter the output to a single function (`restrict`)\n- Otherwise, strip objdump header (7 l...
0
{'name': 'TranscriptionEvaluationMixin.compute_wer@montreal_forced_aligner/transcription/transcriber.py', 'description': 'Evaluates the transcripts if there are reference transcripts\n\nRaises\n------\n:class:`~montreal_forced_aligner.exceptions.KaldiProcessingError`\n If there were any errors in running Kaldi binar...
0
{'name': 'SensorThermalComfort.__init__@custom_components/thermal_comfort/sensor.py', 'description': 'Initialize the sensor.', 'signature': 'def __init__('}</s>{'name': 'compute_once_lock@custom_components/thermal_comfort/sensor.py', 'description': 'Only compute if sensor_type needs update, return just the value otherw...
0
{'name': 'CorpusMixin.normalize_text@montreal_forced_aligner/corpus/base.py', 'description': "Normalize the text of the corpus using a dictionary's sanitization functions and word mappings", 'signature': 'def normalize_text(self) -> None:'}</s>{'name': 'MfaProfile@montreal_forced_aligner/config.py', 'description': 'Con...
0
{'name': 'safe_dump_all@strictyaml/ruamel/main.py', 'description': 'Serialize a sequence of Python objects into a YAML stream.\nProduce only basic YAML tags.\nIf stream is None, return the produced string instead.', 'signature': 'def safe_dump_all(documents, stream=None, **kwds):'}</s>{'name': 'SafeDumper@strictyaml/ru...
1
{'name': 'ListingManager.__and__@material/plugins/tags/structure/listing/manager/__init__.py', 'description': 'Iterate over the tag references for the mapping.\n\nArguments:\n mapping: The mapping.\n\nYields:\n The current tag reference.', 'signature': 'def __and__(self, mapping: Mapping) -> Iterator[TagReference...
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': 'Client.login_via_device_flow@SalesforcePy/sfdc.py', 'description': 'Performs OAuth device flow end-to-end and returns final authentication response if successful. Raises `SFDCRequestException` otherwise.\n\n:param: **kwargs: kwargs\n:type: **kwargs: dict\n:return: Authentication response\n:rtype: (dict, devic...
0
{'name': 'StandardRun.run_pipeline@selection_pipeline/standard_run.py', 'description': 'Run pipeline runs the pipeline for a standard run\n\n ', 'signature': 'def run_pipeline(self):'}</s>{'name': 'gunzip_file@selection_pipeline/standard_run_utilities.py', 'description': 'Gunzips target file and retuns the file ...
1
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra...
0
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw...
0
{'name': 'enumerate_mpi_declarations@src/services/mpiwrap/wrap.py', 'description': "Invokes mpicc's C preprocessor on a C file that includes mpi.h.\nParses the output for declarations, and yields each declaration to\nthe caller.", 'signature': 'def enumerate_mpi_declarations(mpicc, includes):'}</s>output = sys.stdout
0
{'name': 'degradation_bsrgan_plus@ldm/modules/image_degradation/bsrgan.py', 'description': 'This is an extended degradation model by combining\nthe degradation models of BSRGAN and Real-ESRGAN\n----------\nimg: HXWXC, [0, 1], its size should be large than (lq_patchsizexsf)x(lq_patchsizexsf)\nsf: scale factor\nuse_shuff...
0
{'name': 'ConfigUtilTest.testDontOverwriteEmptyLabelMapPath@object_detection/utils/config_util_test.py', 'description': 'Tests that label map path will not by overwritten with empty string.', 'signature': 'def testDontOverwriteEmptyLabelMapPath(self):'}</s>{'name': '_update_classification_localization_weight_ratio@obje...
0
{'name': 'PropKB.retract@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Remove the sentence's clauses from the KB.", 'signature': 'def retract(self, sentence):'}</s>horn_clauses_KB = PropDefiniteKB()
0
{'name': 'write_rig_as_usdskel@tools/export_usdskel_from_scratch/python/convert_maya_to_usdskel/converter.py', 'description': 'Write an animated USD Skeleton to-disk.\n\nIf no time range is given then a start/end range is found by looking\nat the earliest start and the latest end animation keys from the\ngiven nodes.\n...
0
{'name': 'get_mdot@src/StandAlone/inputs/ARCHES/handoff/genHandoffExample/make_handoff.py', 'description': 'Compute the mdots if v > 0. ', 'signature': 'def get_mdot( Nspace, fp, eta, hl, v, myTable, area, R ): '}</s>eta = ho_info['mixture_fraction'][orig_data_i]
1
{'name': 'EvalUtilsTest.testSpan@eval_utils_test.py', 'description': 'Test inconsistent null spans.', 'signature': 'def testSpan(self):'}</s>TyDiLabel = collections.namedtuple( 'TyDiLabel', [ 'plaintext', # context. 'question_text', # a question text. 'example_id', # the unique id fo...
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': 'sniffer_capture@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Start the sniffer to capture packets', 'signature': 'def sniffer_capture(interface, baudrate, fifo, control_in, control_out):'}</s>{'name': 'set_OOB@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Send OOB to device', ...
0
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>{'name': 'DriverPresent@src/LabJackPython.py', 'description': 'DOCSTRING', 'code': 'def DriverPresent():\n try:\n ...
0
{'name': 'AddressFieldTestCase.test_to_python_postal_town@address/tests/test_forms.py', 'description': 'UK addresses with no `locality`, but a populated `postal_town`, should use the\n`postal_town` as the `locality`', 'signature': 'def test_to_python_postal_town(self):'}</s>{'name': 'AddressWidgetTestCase@address/tests...
0
{'name': 'VolkswagenEntity.__init__@volkswagencarnet/__init__.py', 'description': 'Initialize the entity.', 'signature': 'def __init__(self, hass, vin, attribute):'}</s>{'name': 'VolkswagenData@volkswagencarnet/__init__.py', 'description': 'Hold component state.', 'base_classes': [], 'methods': [{'name': 'VolkswagenDat...
0
{'name': 'SwapForth.store@python/nuc.py', 'description': '! ', 'signature': 'def store(self):'}</s>{'name': 'ForthException@python/nuc.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': [{'name': 'ForthException.__init__@python/nuc.py', 'description': 'DOCSTRING', 'code': 'def __init__(self, val...
0
{'name': 'search_model@examples/ga/search_model_layout_and_params.py', 'description': 'This is where we put everythin together.\nWe get the dataset, build the Training and Experiment objects, and run the experiment.\nThe experiments logs are generated in ~/minos/experiment_label\nWe use the CpuEnvironment to have the e...
1
{'name': 'PythonTypeObjectFunctionPrototype.GetDescription@yaldevtools/source_code.py', 'description': 'Retrieves the description.\n\nReturns:\n list[str]: lines of the description.', 'signature': 'def GetDescription(self):'}</s>FUNCTION_TYPE_CLOSE = "close"
0
{'name': 'PerfectModelEnsemble._compute_persistence@src/climpred/classes.py', 'description': "Verify a simple persistence forecast of the control run against itself.\n\nNote: uses :py:func:`~climpred.reference.compute_persistence_from_first_lead`\nif ``set_options(PerfectModel_persistence_from_initialized_lead_0=True)`...
0
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'clip_grad_norm_@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def clip_grad_norm_(params, max_norm, aggregate_norm_fn=None) -> torch.Tensor:...
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': 'start_client@python/dglke/kvclient.py', 'description': 'Start kvclient for training\n ', 'signature': 'def start_client(args):'}</s>{'name': 'get_local_machine_id@python/dglke/kvclient.py', 'description': 'Get machine ID via server_namebook\n ', 'code': 'def get_local_machine_id(server_namebook):\n "...
1
{'name': 'ZiGate.write_attribute_request@zigate/core.py', 'description': 'Write Attribute request\nattribute could be a tuple of (attribute_id, attribute_type, data)\nor a list of tuple (attribute_id, attribute_type, data)', 'signature': 'def write_attribute_request(self, addr, endpoint, cluster, attributes,'}</s>{'nam...
0
{'name': 'test_copy_in_s3_file_with_remote@tests/bundles/test_file_bundle_api.py', 'description': 'Test copying in s3 file\nThe file should be copied into the remote context', 'signature': 'def test_copy_in_s3_file_with_remote(run_test):'}</s>{'name': 'add@disdat/api.py', 'description': 'Create bundle bundle_name given...
0
{'name': 'EncodingParser.get_attribute@src/html5_parser/encoding_parser.py', 'description': 'Return a name,value pair for the next attribute in the stream,\nif one is found, or None', 'signature': 'def get_attribute(self):'}</s>{'name': 'EncodingParser@src/html5_parser/encoding_parser.py', 'description': 'Mini parser f...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQSECSW_CONNECTION = 9
0
{'name': 'convert_inputs_to_datetimes@transit-network-analysis-tools/AnalysisHelpers.py', 'description': 'Parse start and end day and time from tool inputs and convert them to datetimes.', 'signature': 'def convert_inputs_to_datetimes(start_day_input, end_day_input, start_time_input, end_time_input):'}</s>{'name': 'doe...
0
{'name': 'RPCBindTest.run_bind_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with requested rpcallowip and rpcbind parameters,\nthen try to connect, and check if the set of bound addresses\nmatches the expected set.', 'signature': 'def run_bind_test(self, allow_ips, connect_to, addresses, expected):'...
0
{'name': 'BL3Serial.get_serial_number@bl3save/datalib.py', 'description': 'Returns the binary item serial number. If `orig_seed` is `True`, the\nserial number will use the same seed that was used in the savegame.\nOtherwise, it will use a seed of `0`, which will then be unencrypted.', 'signature': 'def get_serial_numb...
0
{'name': 'process_row@teslalogs/model_sx/extract_log.py', 'description': "Append row d to the store 'key'.\n\nWhen the number of items in the key's cache reaches max_len,\nappend the list of rows to the HDF5 store and clear the list.", 'signature': 'def process_row(d, key, max_len=50000, _cache=None, _store=None):'}</s...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'load_inventory@src/attributecode/gen.py', 'description': 'Load the inventory file at `location` for ABOUT and LICENSE files stored in\nthe `base_dir`. Return a list of errors and a list of About objects\nvalidated against the `base_dir`.\n\nOptionally use `reference_dir` as the directory location of extra ref...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_SYSP_TRACE_CLASS = 1200
0
{'name': 'filter_scores_greater_than@alphaction/dataset/datasets/evaluation/ava/pascal_evaluation/np_box_list_ops.py', 'description': "Filter to keep only boxes with score exceeding a given threshold.\n\nThis op keeps the collection of boxes whose corresponding scores are\ngreater than the input threshold.\n\nArgs:\n ...
0
{'name': 'YoutubeDL.process_info@script.module.youtube.dl/lib/youtube_dl/YoutubeDL.py', 'description': 'Process a single resolved IE result.', 'signature': 'def process_info(self, info_dict):'}</s>{'name': 'ytdl_is_updateable@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Returns if youtube-dl can b...
0
{'name': 'dashboard_list_tagged@tessera-server/tessera/views_api.py', 'description': 'Listing for a set of dashboards with a tag applied. Returns just\nthe metadata, not the definitions.', 'signature': 'def dashboard_list_tagged(tag):'}</s>{'name': 'DatabaseManager@tessera-server/tessera/database.py', 'description': 'D...
0
{'name': 'record@src/doitlive/cli.py', 'description': 'Record a session file. If no argument is passed, commands are written to\n./session.sh.\n\nWhen you are finished recording, run the "stop" command.', 'signature': 'def record(session_file, shell, prompt, alias, envvar):'}</s>SPEED_OPTION = click.option( "--spee...
0