text
string
label
int64
{'name': 'test_marker_hashable@voluptuous/tests/tests.py', 'description': 'Verify that you can get schema keys, even if markers were used', 'signature': 'def test_marker_hashable():'}</s>{'name': 'test_length_too_long@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': "def test_length_too_long():\n v = ...
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': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'RepeatBitVec@src/api/python/z3/z3.py', 'description': 'Return an expression representing `n` copies of `a`.\n\n>>> x = BitVec(\'x\', 8)\n>>> n = RepeatBitVec(4...
0
{'name': 'test_in_place_or_with_two_empty_counters@tests/test_counter.py', 'description': 'Test RedisCounter.__ior__() with two empty counters', 'signature': 'def test_in_place_or_with_two_empty_counters(redis: Redis) -> None:'}</s>{'name': 'test_del_removes_item@tests/test_counter.py', 'description': 'DOCSTRING', 'cod...
0
{'name': 'make_logical_schema@lang/py/avro/schema.py', 'description': 'Map the logical types to the appropriate literal type and schema class.', 'signature': 'def make_logical_schema(logical_type, type_, other_props):'}</s>{'name': 'DateSchema@lang/py/avro/schema.py', 'description': 'DOCSTRING', 'base_classes': ['Logic...
1
{'name': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>{'name': 'athe...
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': 'Product._load@eoreader/products/product.py', 'description': 'Core function loading optical data bands\n\nArgs:\n bands (list): Band list\n pixel_size (float): Pixel size of the band, in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if pixel_size is provided.\n kwa...
0
{'name': 'ParseArguments@ament_cpplint/ament_cpplint/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)...
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': 'test_preprocessor_expression@tests/macros/test_macro_processor.py', 'description': "Test that macro expansion doesn't recurse", 'signature': 'def test_preprocessor_expression():'}</s>{'name': 'test_macroexpand_source_data@tests/macros/test_macro_processor.py', 'description': 'DOCSTRING', 'code': 'def test_mac...
0
{'name': 'TemplateCreation.set_atlas@voxelmorph/tf/networks.py', 'description': 'Sets the atlas weights.', 'signature': 'def set_atlas(self, atlas):'}</s>{'name': 'Unet@voxelmorph/tf/networks.py', 'description': "A unet architecture that builds off either an input keras model or input shape. Layer features \ncan be spe...
0
{'name': 'EVPTestCase.test_get_ec@tests/test_evp.py', 'description': 'Testing retrieving the EC key from the PKey instance.', 'signature': 'def test_get_ec(self):'}</s>NID_wap_wsg_idm_ecid_wtls10 = m2.NID_wap_wsg_idm_ecid_wtls10
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCFH_CURRENT_VERSION = 3
0
{'name': 'test_make_dag_with_callbacks@tests/test_dagbuilder.py', 'description': 'test_make_dag_with_callbacks\n\nValidate that the DAG builds. Then, check callbacks configured at the DAG-level.', 'signature': 'def test_make_dag_with_callbacks():'}</s>{'name': 'expand_task@tests/test_dagbuilder.py', 'description': 'DOC...
0
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'vec_range_limit...
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': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_156 = Badge("mate", series=2, number=56, symbol="🧉")
0
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>CONF_USER = "user"
0
{'name': '_find_one_lineage@ncbitax2lin/lineage.py', 'description': 'Finds lineage for a single tax id', 'signature': 'def _find_one_lineage(tax_id: int, tax_dict: Dict[int, TaxUnit]) -> Lineage:'}</s>_LOGGER = logging.getLogger(__name__)
0
{'name': 'FrameUtilsTestCase.test_frame_utils@tools/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py', 'description': 'Test utility functions for the frame object.', 'signature': 'def test_frame_utils(self):'}</s>PROCESS_STOPPED = "Process status should be stopped"
1
{'name': 'ParseNolintSuppressions@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Updates the global list of line 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: s...
1
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_FORMAT_LENGTH = 8
0
{'name': 'cifar_generator@tensor2tensor_envi/data_generators/cifar.py', 'description': 'Image generator for CIFAR-10 and 100.\n\nArgs:\n cifar_version: string; one of "cifar10" or "cifar100"\n tmp_dir: path to temporary storage directory.\n training: a Boolean; if true, we use the train set, otherwise the test set.\...
0
{'name': 'download@ytmdl/core.py', 'description': 'Download the song by using the passed link.\n\nThe song will be saved with the passed title.\nReturn the saved path of the song.', 'signature': 'def download(link, yt_title, args) -> str:'}</s>{'name': 'SEARCH_SONG@ytmdl/metadata.py', 'description': 'Do the task by cal...
0
{'name': 'CoCreateInstanceEx@comtypes/_post_coinit/misc.py', 'description': 'The basic windows api to create a COM class object and return a\npointer to an interface, possibly on another machine.\n\nPassing both "machine" and "pServerInfo" results in a ValueError.', 'signature': 'def CoCreateInstanceEx('}</s>{'name': '...
0
{'name': 'MidiStatus.get_columns@robopianist/viewer/application.py', 'description': 'Returns the text to display in two columns.', 'signature': 'def get_columns(self):'}</s>_ROTATE_OBJECT_TOUCHPAD = user_input.Exclusive(user_input.MOUSE_BUTTON_RIGHT)
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_SMDS_NAME_LENGTH = 4
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIA_CMD_SERVER_AUTO = 87
0
{'name': 'RKAdaptiveStepsizeODESolver._interp_fit@torchdiffeq/_impl/rk_common.py', 'description': 'Fit an interpolating polynomial to the results of a Runge-Kutta step.', 'signature': 'def _interp_fit(self, y0, y1, k, dt):'}</s>{'name': '_select_initial_step@torchdiffeq/_impl/misc.py', 'description': 'Empirically selec...
0
{'name': 'engine.classical@src/bids/external/inflect.py', 'description': 'turn classical mode on and off for various categories\n\nturn on all classical modes:\nclassical()\nclassical(all=True)\n\nturn on or off specific claassical modes:\ne.g.\nclassical(herd=True)\nclassical(names=False)\n\nBy default all classical m...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQXR2_USE_EXIT_BUFFER = py23long(4)
0
{'name': 'torgb@boxx/ylimg/ylimgTool.py', 'description': 'try to transfer a tensor to normalized RGB image\n\nnormalizing img value to 0~1\nand transpose (..., 3, w, h) to (..., w, h, 3)', 'signature': 'def torgb(img):'}</s>{'name': 'prettyArray@boxx/ylimg/ylimgTool.py', 'description': 'return str of pretty discrib for...
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': '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': '_build_ssd_model@object_detection/builders/model_builder.py', 'description': 'Builds an SSD detection model based on the model config.\n\nArgs:\n ssd_config: A ssd.proto object containing the config for the desired\n SSDMetaArch.\n is_training: True if this model is being built for training purposes.\n ...
0
{'name': 'cli_progress@tools/pydfu.py', 'description': 'Prints a progress report suitable for use on the command line.', 'signature': 'def cli_progress(addr, offset, size):'}</s>__DFU_DNLOAD = 1
0
{'name': 'Kconfig.__repr__@tools/kconfig_new/kconfiglib.py', 'description': 'Returns a string with information about the Kconfig object when it is\nevaluated on e.g. the interactive Python prompt.', 'signature': 'def __repr__(self):'}</s>_STRING_LEX = frozenset(( _T_BOOL, _T_CHOICE, _T_COMMENT, _T_HEX, ...
0
{'name': 'TaggedItemManager.get_related@tagging/models.py', 'description': 'Retrieve a list of instances of the specified model which share\ntags with the model instance ``obj``, ordered by the number of\nshared tags in descending order.\n\nIf ``num`` is given, a maximum of ``num`` instances will be\nreturned.', 'signa...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMD_INQUIRE_CF_STRUC = 115
0
{'name': 'post_search@geetest_offline/geetest_offline_nm.py', 'description': 'POST /CheckEntContext/showCheck.html', 'signature': 'def post_search(session, textfield, page):'}</s>{'name': 'post_verify_sec@geetest_offline/geetest_offline_nm.py', 'description': 'POST /verify/sec.html', 'code': "def post_verify_sec(sessio...
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': 'scan_setup_py@versioneer.py', 'description': "Validate the contents of setup.py against Versioneer's expectations.", 'signature': 'def scan_setup_py() -> int:'}</s>{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: '...
0
{'name': 'TestHttpHandler.test_listdir@papermill/tests/test_iorw.py', 'description': 'Tests that listdir raises `PapermillException` saying that that\n`listdir` function is not supported.', 'signature': 'def test_listdir(self):'}</s>{'name': 'GithubHandler@papermill/iorw.py', 'description': 'DOCSTRING', 'base_classes':...
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': 'test_conda_as_dep@test/test_utils.py', 'description': 'DOCSTRING', 'code': 'def test_conda_as_dep(conf...
0
{'name': 'StorageKey.generate@substrateinterface/storage.py', 'description': 'Generate a storage key for current specified pallet/function/params\n\nReturns\n-------\nbytes', 'signature': 'def generate(self) -> bytes:'}</s>{'name': 'identity@substrateinterface/utils/hasher.py', 'description': 'DOCSTRING', 'code': 'def ...
1
{'name': 'MapDiffView.get@metro_map_saver/map_saver/views.py', 'description': 'Compare two similar maps and return a diff\n ', 'signature': 'def get(self, request, **kwargs):'}</s>{'name': 'MapsByDateView@metro_map_saver/map_saver/views.py', 'description': 'DOCSTRING', 'base_classes': ['TemplateView'], 'methods'...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCFOP_CONTAINS = 10
0
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ...
0
{'name': 'get_chain_and_interface_metrics@colabfold/alphafold/extra_ptm.py', 'description': 'This function iterates over all pairs of chains and calculates the interface and interchain PTM score for each pair.\n\nArgs:\n result: The result from AlphaFold.\n asym_id: Array indicating chain boundaries.\n use_pro...
1
{'name': 'Win32Serial.setRTS@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Set terminal status line: Request To Send', 'signature': 'def setRTS(self, level=1):'}</s>{'name': 'device@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Turn a port number into a device name', 'code': 'def devic...
0
{'name': 'multihead_attention@tensor2tensor_envi/layers/common_attention.py', 'description': 'Multihead scaled-dot-product attention with input/output transformations.\n\nArgs:\n query_antecedent: a Tensor with shape [batch, length_q, channels]\n memory_antecedent: a Tensor with shape [batch, length_m, channels] or N...
1
{'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': 'AcousticCorpusMixin.load_reference_alignments@montreal_forced_aligner/corpus/acoustic_corpus.py', 'description': 'Load reference alignments to use in alignment evaluation from a directory\n\nParameters\n----------\nreference_directory: :class:`~pathlib.Path`\n Directory containing reference alignments', 's...
0
{'name': 'start@server.py', 'description': ' Pulls the parameters from disk\n Instantiate QuestionAnswering class (onefile).\n\n Thus, all models are loaded.\n Help loading the model, then start the server.\n\n CHANGE MAJOR CONFIGS HERE\n:return:', 'signature': 'def start():'}</s>x_const = ". ?x <http:/...
0
{'name': 'MyVS.srch@src/examples/simple_constrained_advanced_api/simple_constrained_advanced_api.py', 'description': 'Line search, <- argmax {alpha \\in Real >= 0 : alpha x + y >= 0} where y > 0', 'signature': 'def srch(x,y):'}</s>fns = Optizelle.Constrained.Functions.t()
0
{'name': 'Field.set_as_cls_member@pyfields/core.py', 'description': 'Updates a field with all information available concerning how it is attached to the class.\n\n - its owner class\n - the name under which it is known in that class\n - the type hints (python 3.6)\n\nIn python 3.6+ this is called directly at class crea...
0
{'name': 'save_libsvm@kaggler/data_io.py', 'description': 'Save data as a LibSVM file.\n\nArgs:\n X (numpy or scipy sparse matrix): Data matrix\n y (numpy array): Target vector.\n path (str): Path to the CSV file to save data.', 'signature': 'def save_libsvm(X, y, path):'}</s>{'name': 'beep@kaggler/data_io.py'...
0
{'name': 'TestEmbeddedDocumentField.test__parent__init__method_included_in_init_chain@tests/test_db_fields.py', 'description': 'Test to protect from accidental incorrect __init__ method overwrite.', 'signature': 'def test__parent__init__method_included_in_init_chain(self, db, mocker):'}</s>{'name': 'BooleanField@flask_...
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': 'post_comment@shingetsu/mch/post.py', 'description': 'Post article.', 'signature': 'def post_comment(env, thread_key, name, mail, body, passwd, tag=None):'}</s>{'name': 'file_encode@shingetsu/title.py', 'description': 'Encode for filename.\n ', 'code': "def file_encode(type, query):\n '''Encode for filen...
0
{'name': 'verifyFolderStructure@example/STM32F051K4_linker/ideScripts/utilities.py', 'description': "Verify if folder structure is correct.\n'ideScript' folder must be placed in the root of the project, where:\n - exactly one '*.code-workspace' file must exist (this is also Workspace name)\n - '.vscode' folder is...
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': 'Arcball.drag@utils/transformations.py', 'description': 'Update current cursor window coordinates.', 'signature': 'def drag(self, point):'}</s>{'name': 'quaternion_from_matrix@utils/transformations.py', 'description': 'Return quaternion from rotation matrix.\n\nIf isprecise is True, the input matrix is assumed...
0
{'name': 'gqn_draw@gqn/gqn_graph.py', 'description': "Defines the computational graph of the GQN model with a DRAW rendering architecture.\n\nArguments:\n query_pose: Pose vector of the query camera.\n target_frame: Ground truth frame of the query camera. Used in training mode\n by the inference LSTM.\n context...
1
{'name': 'MappedLUNGroup.mapped_lun@rtslib/target.py', 'description': 'Get the integer MappedLUN mapped_lun index.', 'signature': 'def mapped_lun(self):'}</s>{'name': 'fwrite@rtslib/utils.py', 'description': 'This function writes a string to a file, and takes care of\nopening it and closing it. If the file does not exi...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQXF_XACOMMIT = 25
0
{'name': 'View.analyze_cluster@picasso/gui/render.py', 'description': 'Clusters picked locs using k-means clustering. ', 'signature': 'def analyze_cluster(self):'}</s>{'name': 'n_block_locs_at@picasso/postprocess.py', 'description': 'DOCSTRING', 'code': 'def n_block_locs_at(x, y, size, K, L, block_starts, block_ends):\...
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': 'writePreamble@cxxtest/cxxtestgen.py', 'description': 'Write the CxxTest header (#includes and #defines)', 'signature': 'def writePreamble( output ):'}</s>{'name': 'main@cxxtest/cxxtestgen.py', 'description': 'The main program', 'code': "def main():\n '''The main program'''\n files = parseCommandline()\n...
0
{'name': 'afilterfalse@asynq/tools.py', 'description': 'Equivalent of itertools.ifilterfalse() that takes an async filter function.\n\nReturns a list.', 'signature': 'def afilterfalse(function, sequence):'}</s>{'name': 'aretry@asynq/tools.py', 'description': 'Decorator for retrying an async function if it throws an exc...
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': 'ParentalcontrolSubscriber@infoblox_client/objects.py', 'description': 'Parent...
0
{'name': 'get_list@ocr_utils.py', 'description': "Read the entire database of fonts to find out what unique entries are \navailable.\n\nParameters\n---------------\n pathName : the path of the zip file containing the database of characters\n input_filters_dict : a dictionary containing columns in the .csv file to...
0
{'name': 'format@libs/sqlparse/__init__.py', 'description': 'Format *sql* according to *options*.\n\nAvailable options are documented in :ref:`formatting`.\n\nIn addition to the formatting options this function accepts the\nkeyword "encoding" which determines the encoding of the statement.\n\n:returns: The formatted SQ...
0
{'name': 'follow_device@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Follow the selected device', 'signature': 'def follow_device(sniffer, device):'}</s>{'name': 'extcap_interfaces@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'List available interfaces to capture from', 'code': 'def ext...
0
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>{'name': 'CheckLanguage@scripts/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these ru...
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': 'get_dims_with_index_levels@linopy/common.py', 'description': "Get the dimensions of a Dataset with their ...
0
{'name': 'NamespaceLookupTestCase.test_scope_ambiguity_after_using_lookup_with_run_command@tools/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py', 'description': 'Test scope lookup ambiguity after using in lldb.', 'signature': 'def test_scope_ambiguity_after_using_lookup_with_run_command(s...
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': 'delete_models_shares_groups@src/civis/ml/_helper.py', 'description': 'Revoke the permissions a group has on this object\n\nUse this function on both training and scoring jobs.\n\nParameters\n----------\nid : integer\n The ID of the resource that is shared.\ngroup_id : integer\n The ID of the group.\ncli...
0
{'name': 'AGraph.layout@pygraphviz/agraph.py', 'description': 'Assign positions to nodes in graph.\n\n.. caution:: EXPERIMENTAL\n\nThis version of the layout command uses libgvc for layout instead\nof command line GraphViz tools like in versions <1.6 and the default.\n\nOptional prog=[\'neato\'|\'dot\'|\'twopi\'|\'circ...
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': 'PerfectModelEnsemble.generate_uninitialized@src/climpred/classes.py', 'description': 'Generate an uninitialized ensemble by resampling from the control simulation.\n\nReturns:\n ``uninitialzed`` resampled from ``control`` added\n to :py:class:`.PerfectModelEnsemble`', 'signature': 'def generate_uninitia...
0
{'name': 'collect_device_health_self_assessment@smartmon.py', 'description': 'Collect metric about the device health self assessment.\n\nArgs:\n device: (Device) Device in question.', 'signature': 'def collect_device_health_self_assessment(device):'}</s>{'name': 'collect_ata_metrics@smartmon.py', 'description': 'DOC...
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>MQIACF_SYSP_DEALLOC_INTERVAL = 1176
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': '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': 'ProcessLine@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each represe...
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': 'training_loop_hparams_from_scoped_overrides@tensor2tensor_envi/rl/trainer_model_based_params.py', 'description': 'Create HParams suitable for training loop from scoped HParams.\n\nArgs:\n scoped_overrides: HParams, with keys all scoped by one of HP_SCOPES. These\n parameters are overrides for the base HPa...
0
{'name': '_configure_host_iface@kuryr/lib/binding/drivers/veth.py', 'description': 'Configures the interface that is placed on the default net ns\n\n:param ifname: the name of the interface to configure\n:param endpoint_id: the identifier of the endpoint\n:param port_id: the Neutron uuid of the port to which t...
0
{'name': 'run_ablation_studies@src/experiments.py', 'description': 'Run the ablation study experiments reported in the paper.', 'signature': 'def run_ablation_studies(args):'}</s>hp_range = { "beta": [0., .01, .02, .05, .1], "emb_dropout_rate": [0, .1, .2, .3], "ff_dropout_rate": [0, .1, .2, .3], "actio...
0
{'name': 'main@tools/pydfu.py', 'description': 'Test program for verifying this files functionality.', 'signature': 'def main():'}</s>__DFU_STATE_DFU_MANIFEST_WAIT_RESET = 8
0
{'name': 'SFTuner.prepare_dataset@text2text/sft.py', 'description': 'Prepare training (and eval) dataset.', 'signature': 'def prepare_dataset(self, '}</s>{'name': 'PeftTrainingArguments@text2text/sft.py', 'description': 'Stores t2t default values for training args.', 'base_classes': ['SFTConfig'], 'methods': []}
0
{'name': 'user_logout@loginas/views.py', 'description': "This can replace your default logout view. In you settings, do:\n\nfrom django.core.urlresolvers import reverse_lazy\nLOGOUT_URL = reverse_lazy('loginas-logout')", 'signature': 'def user_logout(request):'}</s>USERNAME_FIELD = getattr( settings, "LOGINAS_USERN...
0
{'name': 'ProtocolTest.test_complete_packet@test/test_protocol.py', 'description': 'Protocol should assemble incoming lines into complete packet.', 'signature': 'def test_complete_packet(self):'}</s>ACTUAL_SWITCH_POSITION = "^\d-\d:96\.3\.10.+?\r\n"
0
{'name': 'Connection.next_event@h11/_connection.py', 'description': "Parse the next event out of our receive buffer, update our internal\nstate, and return it.\n\nThis is a mutating operation -- think of it like calling :func:`next`\non an iterator.\n\nReturns:\n : One of three things:\n\n 1) An event object -- s...
0
{'name': 'Splitwise.createComment@splitwise/__init__.py', 'description': 'Creates a new comment.\n\nArgs:\n expense_id: Expense transaction on which a comment has to be made\n comment content: Content of the comment\n\nReturns:\n tuple: tuple containing:\n comment(:obj:`splitwise.comment.Comment`): Object...
1
{'name': 'Table._row@snimpy/mib.py', 'description': 'Get the table row.\n\n:return: row object (as an opaque object)', 'signature': 'def _row(self):'}</s>{'name': 'Notification@snimpy/mib.py', 'description': 'MIB notification node. This class represent a notification.', 'base_classes': ['Node'], 'methods': [{'name': 'N...
0
{'name': '_get_wrapper@src/betterproto/__init__.py', 'description': 'Get the wrapper message class for a wrapped type.', 'signature': 'def _get_wrapper(proto_type: str) -> Type:'}</s>{'name': 'sint64_field@src/betterproto/__init__.py', 'description': 'DOCSTRING', 'code': 'def sint64_field(\n number: int, group: Opti...
0