text string | label int64 |
|---|---|
{'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': 'calc_zero_dtype@src/python_scripts/afnipy/afni_util.py', 'description': 'Calc an appropriate zero for initializing... | 0 |
{'name': 'weighted_impurity@chapter4/decision_tree_implementation.py', 'description': "Calculate weighted impurity of children after a split\n@param groups: list of children, and a child consists a list of class labels\n@param criterion: metric to measure the quality of a split, 'gini' for Gini Impurity or 'entropy' fo... | 0 |
{'name': 'HACoordinator.__init__@custom_components/hpprinter/managers/ha_coordinator.py', 'description': 'Initialize my coordinator.', 'signature': 'def __init__('}</s>MODEL_PROPERTY = "make_and_model" | 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': 'NumbersUnread.get@feedreader/views.py', 'description': 'Count numbers of unread entries, return in json object', 'signature': 'def get(self, request, *args, **kwargs):'}</s>{'name': 'Search@feedreader/views.py', 'description': 'Simple string search.\n\nDisplay entries with titles and/or descriptions which\nco... | 0 |
{'name': 'parse_filename@scripts/python-skywater-pdk/skywater_pdk/corners.py', 'description': "Extract corner information from a filename.\n\nSee Also\n--------\nskywater_pdk.base.parse_pathname\nskywater_pdk.base.parse_filehname\n\nExamples\n--------\n\n>>> parse_filename('tt_1p80V_3p30V_3p30V_25C')\n(Corner(corner=(C... | 1 |
{'name': 'test_singular_covariance_init_or_prior_strictpd@test/test_mahalanobis_mixin.py', 'description': "Tests that when using the 'covariance' init or prior, it returns the\nappropriate error if the covariance matrix is singular, for algorithms\nthat need a strictly PD prior or init (see\nhttps://github.com/scikit-l... | 0 |
{'name': 'AlarmoBaseEntity.device_info@custom_components/alarmo/alarm_control_panel.py', 'description': 'Return info for device registry.', 'signature': 'def device_info(self) -> dict:'}</s>DOMAIN = "alarmo" | 1 |
{'name': 'requeue_job@ss_baselines/savi/ddppo/algo/ddp_utils.py', 'description': 'Requeues the job by calling ``scontrol requeue ${SLURM_JOBID}``\n ', 'signature': 'def requeue_job():'}</s>{'name': 'init_distrib_slurm@ss_baselines/savi/ddppo/algo/ddp_utils.py', 'description': 'Initializes torch.distributed by parsin... | 0 |
{'name': 'Confidence._assign_confidence@mokapot/confidence.py', 'description': 'Assign confidence estimates to PSMs and peptides.\n\nThis method processes the dataset to assign confidence estimates\n(q-values and PEPs) at different levels (PSMs, peptides) using the\nspecified algorithms. It can optionally stream the co... | 0 |
{'name': 'tweet@twtxt/cli.py', 'description': 'Append a new tweet to your twtxt file.', 'signature': 'def tweet(ctx, created_at, twtfile, text):'}</s>{'name': 'style_source_with_status@twtxt/helper.py', 'description': 'DOCSTRING', 'code': 'def style_source_with_status(source, status, porcelain=False):\n if porcelain... | 0 |
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>{'name': '_void_scalar_repr@venv/Lib/site-packages/numpy/core/arrayprint.py', 'description': 'Implements the repr f... | 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': 'Plant.pick_petal@src/astrobotany/models.py', 'description': "Pick a petal from a flowering plant.\n\nArgs:\n user: The user picking the petal, if not the plant's owner.\n\nReturns: A string with a description of the resulting action.", 'signature': 'def pick_petal(self, user: User | None = None) -> str:'}<... | 0 |
{'name': 'pre_clean_addr_str@scourgify/cleaning.py', 'description': 'Remove any known undesirable sub-strings and special characters.\n\nCleaning should be enacted on an addr_str to remove known characters\nand phrases that might prevent usaddress from successfully parsing.\nFollows USPS pub 28 guidelines for undesirab... | 0 |
{'name': 'ParamikoSshConnection.__init__@pexpect_connection.py', 'description': 'Initializer.\n\nArgs:\n host: As per parent.\n username: As per parent.\n password: As per parent.\n success: As per parent.\n timeout: As per parent.\n find_prompt: As per parent.\n ssh_keys: A tuple of strings, SSH private keys (o... | 0 |
{'name': 'CheckBraces@tools/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 call with any errors fou... | 0 |
{'name': 'oracle@qbayes/qbayes.py', 'description': 'Implements an oracle that flips the sign of states that contain P = 1.', 'signature': 'def oracle(circ):'}</s>net = QuantumRegister(4, 'qreg') | 1 |
{'name': 'fill_in_rule@tests/helpers.py', 'description': 'Fill in default param for a rule given a partial rule definition.', 'signature': 'def fill_in_rule(partial_rule: dict) -> dict:'}</s>{'name': 'rekey@tests/helpers.py', 'description': 'DOCSTRING', 'code': 'def rekey(dic: dict, new_vals: dict) -> dict:\n dic_co... | 0 |
{'name': 'Serial.open@serial/rfc2217.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>SERVER_SET_LINESTATE_MASK = b'n' | 0 |
{'name': 'TransformerDecoder.output_layer@fairseq/models/hubert/hubert_asr.py', 'description': 'Project features to the vocabulary size.', 'signature': 'def output_layer(self, features, **kwargs):'}</s>{'name': 'Embedding@fairseq/models/hubert/hubert_asr.py', 'description': 'DOCSTRING', 'code': 'def Embedding(num_embed... | 0 |
{'name': 'ConstantPerceivedHueColourMatches_Hung1995.__post_init__@colour_datasets/loaders/hung1995.py', 'description': 'Post-initialise the class.', 'signature': 'def __post_init__(self) -> None:'}</s>__maintainer__ = "Colour Developers" | 0 |
{'name': 'P2PConnection._on_data@test/functional/test_framework/mininode.py', 'description': 'Try to read P2P messages from the recv buffer.\n\nThis method reads data from the buffer in a loop. It deserializes,\nparses and verifies the P2P header, then passes the P2P payload to\nthe on_message callback for processing.'... | 0 |
{'name': '_get_vault_password_helper@kayobe/vault.py', 'description': 'Return the path to the kayobe-vault-password-helper executable.', 'signature': 'def _get_vault_password_helper():'}</s>{'name': '_get_default_vault_password_file@kayobe/vault.py', 'description': 'Return the default value for the vault password file ... | 0 |
{'name': 'PrintState@MRT.py', 'description': 'Make a pretty version of the current state ', 'signature': 'def PrintState():'}</s>azoff = -180. | 0 |
{'name': 'View.scale_contrast@picasso/gui/render.py', 'description': 'Scales image based on contrast values from Display Settings\nDialog.\n\nParameters\n----------\nimage : np.array or list of np.arrays\n Array with rendered locs (grayscale)\nautoscale : boolean (default=False)\n If True, finds optimal contrast\... | 0 |
{'name': 'map_gateway@pymultimatic/model/mapper.py', 'description': 'Map gateway.', 'signature': 'def map_gateway(json) -> str:'}</s>{'name': 'map_room@pymultimatic/model/mapper.py', 'description': 'Map *room*.', 'code': 'def map_room(raw_room) -> Optional[Room]:\n """Map *room*."""\n if raw_room:\n raw_ro... | 0 |
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>PFTM_TCP_OPENING = 1 | 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>gui_moved = dvz.dvz_gui_moved | 0 |
{'name': 'merge@pairtools/cli/merge.py', 'description': 'Merge .pairs/.pairsam files.\nBy default, assumes that the files are sorted and maintains the sorting.\n\nMerge triu-flipped sorted pairs/pairsam files. If present, the @SQ records\nof the SAM header must be identical; the sorting order of\nthese lines is taken f... | 0 |
{'name': 'configure_via_file@isi_data_insights_config.py', 'description': "Configure the daemon's stat groups and the stats processor via command line\narguments and configuration file. The command line args override settings\nprovided in the config file.", 'signature': 'def configure_via_file(daemon, args, config_file... | 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': 'FindStartOfExpressionInLine@tools/cpplint.py', 'description': 'Find position at the matching start of current expression.\n\nThis is almost the reverse of FindEndOfExpressionInLine, but note\nthat the input position and returned position differs by 1.\n\nArgs:\n line: a CleansedLines line.\n endpos: start s... | 0 |
{'name': 'BertPreTrainedModel.from_pretrained@pytorch_pretrained_bert/modeling.py', 'description': 'Instantiate a BertPreTrainedModel from a pre-trained model file or a pytorch state dict.\nDownload and cache the pre-trained model file if needed.\n\nParams:\n pretrained_model_name_or_path: either:\n - a str w... | 0 |
{'name': '_cg_independent@gpflow_sampling/sampling/updates/cg_updates.py', 'description': 'Return (independent) pathwise updates for each of the latent prior processes\n$f$ subject to the condition $p(f | u) = N(f | u, diag)$ on $f = f(Z)$.', 'signature': 'def _cg_independent(kern: kernels.MultioutputKernel,'}</s>{'nam... | 0 |
{'name': 'receive_offline_message@bauhinia_push.py', 'description': '等待100ms,批量发送推送', 'signature': 'def receive_offline_message():'}</s>{'name': 'xg_push@bauhinia_push.py', 'description': 'DOCSTRING', 'code': 'def xg_push(appid, appname, token, content, extra):\n XGPush.push(appid, appname, token, content, extra)'} | 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... | 0 |
{'name': 'NetworkProfile.__init__@gmacpyutil/gmacpyutil/profiles.py', 'description': 'Initializes a network configuration profile with no payloads.\n\nArgs:\n username: str, the username associated with this profile.', 'signature': 'def __init__(self, username):'}</s>{'name': 'Error@gmacpyutil/gmacpyutil/profiles.py',... | 0 |
{'name': 'process_mtl_data@refreshdata.py', 'description': 'Processes new Sante Montreal data.\n\nParameters\n----------\nsources_dir : str\n Absolute path to source data dir.\nprocessed_dir : str\n Absolute path to processed data dir.\ndate : str\n Date of data to append (yyyy-mm-dd).', 'signature': 'def proc... | 0 |
{'name': 'test_raising_failed_validation@tests/test_models.py', 'description': 'Test validating valid receipts.', 'signature': 'def test_raising_failed_validation(populated_db: None) -> None:'}</s>{'name': 'ReceiptFCEAWithVatAndTaxFactory@django_afip/factories.py', 'description': 'Receipt FCEA with a valid Vat and Tax,... | 0 |
{'name': 'Datasets.add_dataset@testrail_api/_category.py', 'description': 'Creates a new dataset.\n:param project_id: int\n The ID of the project to which the dataset should be added\n:param id: int\n The database ID of the dataset\n:param name: str\n Name of the dataset as provided\n:param variables: List[dic... | 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>MATCH_LHU = 20483 | 0 |
{'name': 'run_concurrent_futures_threadpool@pythoncourse/coursecode/packagedemo/concurrencydemo.py', 'description': 'Loads URLs using concurrent.futures (abstraction on top of threading)\n\nReturns\n-------\nstr (list)', 'signature': 'def run_concurrent_futures_threadpool():'}</s>{'name': 'run_concurrent_futures_proces... | 0 |
{'name': 'test_admin_works_with_host_special_values@test/io/test_io.py', 'description': 'Should get a success from the admin live and ready endpoints when using special host values for the main app', 'signature': 'def test_admin_works_with_host_special_values(specialhostvalue, defaultenv):'}</s>{'name': 'test_fail_with... | 0 |
{'name': 'dictOf@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper to easily and clearly define a dictionary by specifying the respective patterns\nfor the key and value. Takes care of defining the C{L{Dict}}, C{L{ZeroOrMore}}, and C{L{Group}} tokens\nin the proper order. The key pattern ... | 0 |
{'name': 'test_aspls_overflow@tests/test_weighting.py', 'description': 'Ensures exponential overflow does not occur from aspls weighting.', 'signature': 'def test_aspls_overflow(one_d, asymmetric_coef):'}</s>{'name': '_quantile@pybaselines/_weighting.py', 'description': 'An approximation of quantile loss.\n\nThe loss i... | 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>MQIAMO_MSGS_DELIVERED = 819 | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_COMMAND_FAILED = 3008 | 0 |
{'name': 'haversine@haversine/haversine.py', 'description': "Calculate the great-circle distance between two points on the Earth surface.\n\nTakes two 2-tuples, containing the latitude and longitude of each point in decimal degrees,\nand, optionally, a unit of length.\n\n:param point1: first point; tuple of (latitude, ... | 0 |
{'name': 'Nifti1Extensions.get_codes@src/pkundu/meica.libs/nibabel/nifti1.py', 'description': 'Return a list of the extension code of all available extensions', 'signature': 'def get_codes(self):'}</s>{'name': 'quat2mat@src/pkundu/meica.libs/nibabel/quaternions.py', 'description': 'Calculate rotation matrix correspondi... | 0 |
{'name': 'parse_atom@support/docopt.py', 'description': "atom ::= '(' expr ')' | '[' expr ']' | 'options'\n| long | shorts | argument | command ;", 'signature': 'def parse_atom(tokens, options):'}</s>{'name': 'LeafPattern@support/docopt.py', 'description': 'Leaf/terminal node of a pattern tree.', 'base_classes': ['Patt... | 0 |
{'name': 'Project.read_configuration@src/nitpick/core.py', 'description': 'Return the ``[tool.nitpick]`` table from the configuration file.\n\nOptionally, validate it against a Marshmallow schema.', 'signature': 'def read_configuration(self) -> Configuration:'}</s>PYTHON_PYPROJECT_TOML = "pyproject.toml" | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCAMO_CLOSE_DATE = 2701 | 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_SET = 13 | 0 |
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ... | 0 |
{'name': 'handle_scene_activated@custom_components/zwave_mqtt/__init__.py', 'description': 'Handle a (central) scene activation message.', 'signature': 'def handle_scene_activated(hass: HomeAssistant, scene_value: OZWValue):'}</s>ATTR_CONFIG_SIZE = "size" | 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': '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': 'azure_user@backend-tests/tests/test_azure_iothub.py', 'description': 'Create Mender user and create an Azure IoT Hub integration in iot-manager using the connection string.', 'signature': 'def azure_user(clean_mongo) -> Optional[User]:'}</s>URL_2FA_DISABLE = "/users/{id}/2fa/disable" | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_RESET_CF_STRUC = 213 | 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>_TOKEN_TO_REL = {
_T_EQUAL: EQUAL,
_T_GREATER: GREATER,
... | 0 |
{'name': 'LinearExpression.__repr__@linopy/expressions.py', 'description': 'Print the expression arrays.', 'signature': 'def __repr__(self) -> str:'}</s>{'name': 'filter_nulls_polars@linopy/common.py', 'description': 'Filter out rows containing "empty" values from a polars DataFrame.\n\nArgs:\n----\n df (pl.DataFram... | 0 |
{'name': 'SemisupervisedTranslationTask.load_dataset@fairseq/tasks/semisupervised_translation.py', 'description': 'Load a dataset split.', 'signature': 'def load_dataset(self, split, epoch=1, **kwargs):'}</s>{'name': 'set_torch_seed@fairseq/utils.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [... | 0 |
{'name': 'GTestJsonOutputUnitTest.testSuppressedJsonOutput@googletest/test/googletest-json-output-unittest.py', 'description': 'Verifies that no JSON output is generated.\n\nTests that no JSON file is generated if the default JSON listener is\nshut down before RUN_ALL_TESTS is invoked.', 'signature': 'def testSuppresse... | 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>MASK_FSGNJ_D = 4261441663 | 0 |
{'name': 'circos_labels@nxviz/annotate.py', 'description': 'Annotate node labels for circos plot.', 'signature': 'def circos_labels('}</s>{'name': 'node_table@nxviz/utils.py', 'description': 'Return the node table of a graph G.\n\n## Parameters\n\n- `G`: A NetworkX graph.\n- `group_by`: A key in the node attribute dict... | 1 |
{'name': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_... | 0 |
{'name': 'AttributeErrorTests.test_set_dict_comprehension@didyoumean/didyoumean_sugg_tests.py', 'description': '{} creates a dict and not an empty set leading to errors.', 'signature': 'def test_set_dict_comprehension(self):'}</s>{'name': 'up_to_version@didyoumean/didyoumean_sugg_tests.py', 'description': 'Create tuple... | 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': 'Handle.set_handle_foreground@handle/handle.py', 'description': '在前台显示', 'signature': 'def set_handle_foreground(self):'}</s>{'name': 'show_image@tools/functions.py', 'description': 'DOCSTRING', 'code': 'def show_image(png_name, key_function=None, key_params: tuple = None):\n img_src = Image.open(path_join(... | 0 |
{'name': 'aggregateUMIsPseudobulks@pipelines/pipeline_scxl.py', 'description': 'Aggregate UMI counts across cells within cluster to form pseudobulks.\n\nUseful for performing e.g. DESeq2 analysis of clusters from\nmultiple samples.', 'signature': 'def aggregateUMIsPseudobulks(infile, outfile):'}</s>PARAMS = P.get_param... | 1 |
{'name': 'CalculateCompositionHydrophobicity@PyBioMed/PyProtein/CTD.py', 'description': '###############################################################################################\nA method used for calculating composition descriptors based on Hydrophobicity of\n\nAADs.\n\nUsage:\n\nresult=CalculateCompositionHydr... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQOT_REQUESTER_CHANNEL = 1009 | 0 |
{'name': 'VimPlugin.LookupTag@vimdoc/module.py', 'description': 'Returns the tag name for the given type and name.', 'signature': 'def LookupTag(self, typ, name):'}</s>{'name': 'MultipleHeaders@vimdoc/error.py', 'description': 'DOCSTRING', 'base_classes': ['ParseError'], 'methods': [{'name': 'MultipleHeaders.__init__@v... | 0 |
{'name': 'ProcessFile@tools/cpplint.py', 'description': 'Does google-lint on a single file.\n\nArgs:\n filename: The name of the file to parse.\n\n vlevel: The level of errors to report. Every error of confidence\n >= verbose_level will be reported. 0 is a good default.\n\n extra_check_functions: An array of addi... | 0 |
{'name': 'INFO@lib/charliecloud.py', 'description': 'Note: Use print() for output; this function is for logging.', 'signature': 'def INFO(msg, hint=None, **kwargs):'}</s>term_width = shutil.get_terminal_size(fallback=(sys.maxsize, -1))[0] | 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': 'put_file@tests/zenko_tests/create_buckets.py', 'description': 'Put an object in a bucket', 'signature': 'def put_file(bucket, object_name, body):'}</s>{'name': 'create_aws_buckets@tests/zenko_tests/create_buckets.py', 'description': 'DOCSTRING', 'code': "def create_aws_buckets():\n VERIFY_CERTIFICATES = ge... | 0 |
{'name': 'get_bert_config@araelectra/util/training_utils.py', 'description': 'Get model hyperparameters based on a pretraining/finetuning config', 'signature': 'def get_bert_config(config):'}</s>{'name': 'BertConfig@araelectra/model/modeling.py', 'description': 'Configuration for `BertModel` (ELECTRA uses the same mode... | 1 |
{'name': 'set_jwst_to_hst_keywords@grizli/jwst_utils.py', 'description': 'Make primary header look like an HST instrument\n\nParameters\n----------\ninput : str, `~astropy.io.fits.HDUList`\n Filename or FITS HDUList object to modify.\n\nreset : bool\n Reset original JWST keywords to their original values.\n\nverb... | 1 |
{'name': 'Client.client_id@mqttools/client.py', 'description': 'The client identifier string.\n\n ', 'signature': 'def client_id(self):'}</s>{'name': 'PayloadReader@mqttools/common.py', 'description': 'DOCSTRING', 'base_classes': ['BytesIO'], 'methods': [{'name': 'PayloadReader.__init__@mqttools/common.py', 'des... | 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': '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>{'name': 'Intersect@src/api/python/z3/z3.py', 'description': 'Create intersection of regular expressions.\n>>> re = Intersect(Re("a"), ... | 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': '_download_file@pyngrok/installer.py', 'description': 'Download a file to a temporary path and emit a status to stdout (if possible) as the download progresses.\n\n:param url: The URL to download.\n:param retries: The retry attempt index, if download fails.\n:param kwargs: Remaining ``kwargs`` will be passed t... | 0 |
{'name': 'BaseDataset.collate_fn@joeynmt/datasets.py', 'description': 'Custom collate function.\nSee https://pytorch.org/docs/stable/data.html#dataloader-collate-fn for details.\nPlease override the batch class here. (not in TrainManager)\n\n:param batch:\n:param pad_index:\n:param eos_index:\n:param device:\n:return: ... | 1 |
{'name': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'test_schema_decorator_unmatch_with_kwargs@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_schema... | 0 |
{'name': '_configure_container_iface@kuryr/lib/binding/drivers/utils.py', 'description': 'Configures the interface that is placed in the container net ns\n\n:param iface: the pyroute IPDB interface object to configure\n:param subnets: an iterable of all the Neutron subnets which the\n endpo... | 1 |
{'name': 'crosstab@examples/statistical_rethinking_lectures/utils.py', 'description': 'Simple cross tabulation of two discrete vectors x and y', 'signature': 'def crosstab(x: np.array, y: np.array, labels: list[str] = None):'}</s>{'name': 'plot_x_errorbar@examples/statistical_rethinking_lectures/utils.py', 'description... | 0 |
{'name': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi... | 0 |
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>SINGLE_PLAYER_EXPLANATION = [4032] | 0 |
{'name': '_remove_absolute_rpaths@delocate/tools.py', 'description': 'Remove absolute filename rpaths in `filename`.\n\nParameters\n----------\nfilename : str\n filename of library\nad_hoc_sign : {True, False}, optional\n If True, sign file with ad-hoc signature', 'signature': 'def _remove_absolute_rpaths(filenam... | 0 |
{'name': 'parse_return_val@disdat/hyperframe.py', 'description': 'Interpret the return values and create an HFrame to wrap them.\nThis means setting the correct presentation bit in the HFrame so that\nwe call downstream tasks with parameters as the author intended.\n\nPOLICY / NOTE: An non-HF output is a Presentable.\... | 0 |
{'name': 'IB.reqMktData@ib_insync/ib.py', 'description': 'Subscribe to tick data or request a snapshot.\nReturns the Ticker that holds the market data. The ticker will\ninitially be empty and gradually (after a couple of seconds)\nbe filled.\n\nhttps://interactivebrokers.github.io/tws-api/md_request.html\n\nArgs:\n ... | 0 |
{'name': 'MessageSetItemEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': 'Encoder for extensions of MessageSet.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n required int32 type_id = 2;\n required stri... | 0 |
{'name': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'DiscoveryClicredential@infoblox_client/objects.py', 'description': 'DOCSTRING'... | 0 |
{'name': 'GRRFlowTests.testDownloadFilesForFlow@tests/lib/collectors/grr_hosts.py', 'description': 'Test if results are downloaded to the correct directories.', 'signature': 'def testDownloadFilesForFlow(self, mock_Get):'}</s>{'name': 'TimesketchQuery@dftimewolf/lib/containers/containers.py', 'description': 'Timesketch... | 0 |
{'name': 'BIDSLayoutIndexer._index_metadata@src/bids/layout/index.py', 'description': 'Index metadata for all files in the BIDS dataset.\n ', 'signature': 'def _index_metadata(self):'}</s>{'name': 'Entity@src/bids/layout/models.py', 'description': "Represents a single entity defined in the JSON config.\n\nParame... | 1 |
{'name': 'MarketstoreServicer.Write@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Missing associated documentation comment in .proto file.', 'signature': 'def Write(self, request, context):'}</s>MultiQueryResponse = _reflection.GeneratedProtocolMessageType('MultiQueryResponse', (_message.Message,), {
... | 0 |
{'name': '_generate_unique_filename@vendor/attr/_make.py', 'description': 'Create a "filename" suitable for a function being generated.', 'signature': 'def _generate_unique_filename(cls, func_name):'}</s>_run_validators = True | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.