text
string
label
int64
{'name': 'BPF._sym_cache@src/python/bcc/__init__.py', 'description': '_sym_cache(pid)\n\nReturns a symbol cache for the specified PID.\nThe kernel symbol cache is accessed by providing any PID less than zero.', 'signature': 'def _sym_cache(pid):'}</s>{'name': 'BPF@src/python/bcc/__init__.py', 'description': 'DOCSTRING'...
1
{'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': 'write_predictions@qbert/extraction/utils_squad.py', 'description': 'Write final predictions to the json file and log-odds of null if needed.', 'signature': 'def write_predictions(all_examples, all_features, all_results, n_best_size,'}</s>{'name': 'convert_example_to_features@qbert/extraction/utils_squad.py', ...
0
{'name': 'create_transforms@scripts/imagenet/utils.py', 'description': 'Create transforms from configuration\n\nParameters\n----------\ninput_config : dict\n Dictionary containing the configuration options for input pre-processing.\n\nReturns\n-------\ntrain_transforms : list\n List of transforms to be applied to...
0
{'name': 'new@todoman/cli.py', 'description': 'Create a new task with SUMMARY.', 'signature': 'def new('}</s>{'name': 'PorcelainFormatter@todoman/formatters.py', 'description': 'DOCSTRING', 'base_classes': ['DefaultFormatter'], 'methods': [{'name': 'PorcelainFormatter._todo_as_dict@todoman/formatters.py', 'description'...
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': 'test_LocalstackEndpointResolver@tests/integration/test_contrib/test_botocore.py', 'description': 'Test pytest_localstack.botocore.LocalstackEndpointResolver.', 'signature': 'def test_LocalstackEndpointResolver('}</s>DEFAULT_AWS_SESSION_TOKEN = "token"
0
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>BoolDecoder = _ModifiedDecoder( wire_format.WIRETYPE_VARINT...
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': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'test_linkauth_rw_pb@tests/bundles/test_hframe.py', 'description': 'Write LINKAUTH PBs to disk and back.\n:return:', 'signature': 'def test_linkauth_rw_pb():'}</s>{'name': 'validate_hframe_record@tests/bundles/test_hframe.py', 'description': 'Given an HFR, validate the frames contain similar data.\nEnumerate t...
0
{'name': 'create_overview_tile@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Generating an overview tile from no more than 4 underlying tiles(base tiles)', 'signature': 'def create_overview_tile('}</s>{'name': 'TileJobInfo@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Plain object ...
0
{'name': 'LoadtestWorkerStub.__init__@load-test-framework/python_src/proto_dir/loadtest_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>MessageIdentifier = _reflection.GeneratedProtocolMessageType('MessageIdentifier', (_message.Message,),...
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': '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': 'plot_cum_error_dist@nelpy/plotting/decoding.py', 'description': 'Plot (and optionally compute) the cumulative distribution of\ndecoding errors, evaluated using a cross-validation procedure.\n\nSee Fig 3.(b) of "Analysis of Hippocampal Memory Replay Using Neural\n Population Decoding", Fabian Kloosterman, 2...
0
{'name': 'PMMLBaseEstimator.predict_proba@sklearn_pmml_model/base.py', 'description': 'Predict class probabilities for X.\n\nThis call is preceded with a data preprocessing step, that enables data scaling\nand categorical feature encoding.\n\nFor more information on parameters, check out the specific implementation in ...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMDL_LEVEL_750 = 750
0
{'name': 'View.update_pick_info_long@picasso/gui/render.py', 'description': 'Called when evaluating picks statistics in Info Dialog. ', 'signature': 'def update_pick_info_long(self):'}</s>{'name': 'cluster_center@picasso/clusterer.py', 'description': 'Finds cluster centers and their attributes.\n\nAssumes locs to be a ...
0
{'name': 'bmesh_join@blender_kitti/particles.py', 'description': "takes as input a list of bm references and outputs a single merged bmesh\nallows an additional 'normal_update=True' to force _normal_ calculations.", 'signature': 'def bmesh_join(list_of_bmeshes, list_of_matrices, *, normal_update=False, bmesh):'}</s>{'n...
0
{'name': 'test_second_hoisted_setting_is_applied@test/io/test_io.py', 'description': 'test that statement_timeout is applied and work_mem is not applied', 'signature': 'def test_second_hoisted_setting_is_applied(defaultenv):'}</s>{'name': 'test_log_query@test/io/test_io.py', 'description': 'log_query=true should log th...
0
{'name': 'gen_inc_module@da/compiler/incgen.py', 'description': 'Generates the interface file from a DistPy AST.', 'signature': 'def gen_inc_module(daast, cmdline_args, filename=""):'}</s>STUB_ASSIGN = " def {1}(_{0}): global {0} if type(_{0}) is set: {0} = set() for elt in {0}: {0}....
0
{'name': 'XMLElement.get_character_style_range@src/simple_idml/components.py', 'description': 'The applied style may be contained or the container. ', 'signature': 'def get_character_style_range(self):'}</s>STORIES_DIRNAME = "Stories"
0
{'name': 'MergeJob.update_from_target_branch_and_push@marge/job.py', 'description': 'Updates `source_branch` on `target_branch`, optionally add trailers and push.\nThe update strategy can either be rebase or merge. The default is rebase.\n\nReturns\n-------\n(sha_of_target_branch, sha_after_update, sha_after_rewrite)',...
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': 'get_perplexity@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def get_perplexity(loss, round=2, base=2):\n from fairseq.logging.meters imp...
0
{'name': '_FunctionDataTypeDef.__call__@lib/rule_engine/types.py', 'description': '.. versionadded:: 4.0.0\n\n:param str name: The name of the function, e.g. "split".\n:param return_type: The data type of the functions return value.\n:param tuple argument_types: The data types of the functions arguments.\n:param int mi...
0
{'name': 'PiPluginManager.load_all_plugins@pibooth/plugins/__init__.py', 'description': 'Register the core plugins, load plugins from setuptools entry points\nand the load given module/package paths.\n\nnote:: by default hooks are called in LIFO registered order thus\n plugins register order is important.\n\n:par...
0
{'name': 'Portal.get_device_by_property@os_brick/initiator/connectors/nvmeof.py', 'description': 'Look for a specific device (namespace) within a controller.\n\nUse a specific property to identify the namespace within the\ncontroller and returns the device path under /dev.\n\nReturns None if device is not found.', 'sig...
1
{'name': 'TestViewMixins.test_permission_is_checked_before_view_is_computed@guardian/testapp/tests/test_mixins.py', 'description': 'This test would fail if permission is checked **after** view is\nactually resolved.', 'signature': 'def test_permission_is_checked_before_view_is_computed(self):'}</s>{'name': 'TestView@gu...
1
{'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': 'add_implicit_resolver@strictyaml/ruamel/main.py', 'description': 'Add an implicit scalar detector.\nIf an implicit scalar value matches the given regexp,\nthe corresponding tag is assigned to the scalar.\nfirst is a sequence of possible initial characters or None.', 'signature': 'def add_implicit_resolver('}<...
0
{'name': 'circulation_configuration@pymultimatic/api/urls.py', 'description': 'Url to handle :class:`~pymultimatic.model.component.Circulation`\nconfiguration.', 'signature': 'def circulation_configuration(**kwargs: Any) -> str:'}</s>{'name': 'photovoltaics@pymultimatic/api/urls.py', 'description': 'Url to get photovol...
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': 'TLP.set_ca_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completer abort (CA) completion for TLP', 'signature': 'def set_ca_completion(self, tlp, completer_id):'}</s>{'name': 'MSIXCapability@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name':...
0
{'name': 'spenders_taproot_active@test/functional/feature_taproot.py', 'description': 'Return a list of Spenders for testing post-Taproot activation behavior.', 'signature': 'def spenders_taproot_active():'}</s>SIG_POP_BYTE = {"failure": {"sign": byte_popper(default_sign)}}
1
{'name': 'IsOutOfLineMethodDefinition@tools/cpplint.py', 'description': 'Check if current line contains an out-of-line method definition.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains an out-of-line method d...
0
{'name': 'testWriteXMLParametersGAFF@openmoltools/tests/test_forcefield_generators.py', 'description': 'Test writing XML parameters loaded from Amber GAFF parameter files ', 'signature': 'def testWriteXMLParametersGAFF():'}</s>{'name': 'temporary_directory@openmoltools/utils.py', 'description': 'Context for safe creati...
0
{'name': 'solve_only_batch@diffcp/cone_program.py', 'description': 'Solves a batch of cone programs. \nUses a ThreadPool to perform operations across\nthe batch in parallel.\n\nFor more information on the arguments and return values,\nsee the docstring for `solve_and_derivative_batch` function.\n\nThis function simply ...
0
{'name': 'test_set_format_int3@cyvcf2/tests/test_reader.py', 'description': 'test that we can handle multiple (in this case 3) values per sample', 'signature': 'def test_set_format_int3():'}</s>{'name': 'test_filters@cyvcf2/tests/test_reader.py', 'description': 'DOCSTRING', 'code': 'def test_filters():\n v = VCF(VCF...
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>SEL_EMPTY = 1
0
{'name': 'TestDefiningRecipes.test_prepare_recipes_with_args@tests/test_recipes.py', 'description': 'Overriding some fields values at recipe execution', 'signature': 'def test_prepare_recipes_with_args(self):'}</s>{'name': 'TestM2MField@tests/test_recipes.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': ...
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>FIXED_TYPES = [ TYPE_FLOAT, TYPE_DOUBLE, TYPE_FIXED32, TYPE_SFIXED32, TYPE_FIXED64, TYPE_SFIXED64, ]
0
{'name': '_StreamBase.__enter__@sounddevice.py', 'description': 'Start the stream in the beginning of a "with" statement.', 'signature': 'def __enter__(self):'}</s>{'name': '_buffer@sounddevice.py', 'description': 'Create a buffer object from a pointer to some memory.', 'code': 'def _buffer(ptr, frames, channels, samp...
0
{'name': 'process_im_single_pass@eval_helper.py', 'description': 'A single pass version, aka global step only.', 'signature': 'def process_im_single_pass(model, im, seg, min_size, para):'}</s>{'name': 'safe_forward@eval_helper.py', 'description': 'Slightly pads the input image such that its length is a multiple of 8', ...
1
{'name': 'basicConfig@cli/rpc2socks/utils/vendor/loggex.py', 'description': 'A `logging.basicConfig` wrapper with default values that fit better to the\npurpose of this module.\n\nCall ``stdBasicConfig`` for the standard unwrapped `logging.basicConfig`.', 'signature': 'def basicConfig(**kwargs):'}</s>Formatter = _mod_l...
1
{'name': 'get_formatted_scans_key_row@heudiconv/bids.py', 'description': 'Parameters\n----------\ndcm_fn: str\n\nReturns\n-------\nrow: list\n [ISO acquisition time, performing physician name, random string]', 'signature': 'def get_formatted_scans_key_row(dcm_fn: str | Path) -> list[str]:'}</s>{'name': 'group_dicoms...
0
{'name': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>amount_screen_8 = " sats)"
1
{'name': 'API.subscribe_count@src/api/python/cloudi.py', 'description': 'returns the number of subscriptions for a single service name pattern', 'signature': 'def subscribe_count(self, pattern):'}</s>_MESSAGE_KEEPALIVE = 8
0
{'name': 'ancestral_reconstruction@treetime/wrappers.py', 'description': 'implementing treetime ancestral', 'signature': 'def ancestral_reconstruction(params):'}</s>{'name': 'TreeTimeError@treetime/__init__.py', 'description': 'TreeTimeError class\nParent class for more specific errors\nRaised when treetime is used inc...
1
{'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': 'AproposWithProcessTestCase.test_apropos_with_process@llvm-12.0.0-project/lldb/test/API/commands/apropos/with-process/TestAproposWithProcess.py', 'description': "Test that apropos env doesn't crash trying to touch the process plugin command.", 'signature': 'def test_apropos_with_process(self):'}</s>{'name': 'A...
1
{'name': 'GetOutputOfAllCommands@googletest/test/googletest-output-test.py', 'description': 'Returns concatenated output from several representative commands.', 'signature': 'def GetOutputOfAllCommands():'}</s>IS_LINUX = os.name == 'posix' and os.uname()[0] == 'Linux'
0
{'name': 'TrayNotifyBar.Items@qt4c/wincontrols.py', 'description': '返回TrayNotifyBar的全部TrayNotifyIcon\n ', 'signature': 'def Items(self):'}</s>{'name': 'Control@qt4c/wincontrols.py', 'description': 'Win32 Window类,实现Win32窗口常用属性。', 'base_classes': ['control.Control'], 'methods': [{'name': 'Control.__init__@qt4c/win...
0
{'name': 'BottomUpRandomAffine.__call__@mmpose/datasets/pipelines/bottom_up_transform.py', 'description': 'Perform data augmentation with random scaling & rotating.', 'signature': 'def __call__(self, results):'}</s>{'name': 'BottomUpGenerateHeatmapTarget@mmpose/datasets/pipelines/bottom_up_transform.py', 'description':...
0
{'name': 'check_format_of_annotation_in_file@tools/task-SI_scorer.py', 'description': ':param row: a list of fields describing the annotation elements (technique name, start_span, end_span)\n:param i:\n:return:', 'signature': 'def check_format_of_annotation_in_file(row, i, techniques_names, filename):'}</s>{'name': 'me...
0
{'name': 'encodeLength@src/mqtt/pdu.py', 'description': 'Encodes value into a multibyte sequence defined by MQTT protocol.\nUsed to encode packet length fields.', 'signature': 'def encodeLength(value):'}</s>{'name': 'StringValueError@src/mqtt/error.py', 'description': 'MQTT strings exceeds 65535 bytes', 'base_classes':...
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'test_genetic_operations@gplearn/tests/test_genetic.py', 'description': "Check all genetic operations are stable and don't change programs", 'signature': 'def test_genetic_operations():'}</s>perm = rng.permutation(cancer.target.size)
0
{'name': 'rdheader@wfdb/io/record.py', 'description': "Read a WFDB header file and return a `Record` or `MultiRecord`\nobject with the record descriptors as attributes.\n\nParameters\n----------\nrecord_name : str\n The name of the WFDB record to be read, without any file\n extensions. If the argument contains an...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQDCC_TARGET_ENC_NORMAL = 256
0
{'name': 'CalculateTestLists@swap-ssdb-1.9.2/tests/googletest/googletest/test/gtest_shuffle_test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>TEST_FILTER = "A*.A:A*.B:C*"
1
{'name': 'InconsistencyChecker.check_lacking_install_requires@pipenv_setup/inconsistency_checker.py', 'description': 'report pypi packages that are in pipfile default package but not in install_requires', 'signature': 'def check_lacking_install_requires(self): # type: () -> List[str]'}</s>{'name': 'is_pypi_package@pip...
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': '_prepare_inputs@packages/ml_api/scripts/populate_database.py', 'description': 'Prepare input data by removing key rows with NA values.', 'signature': 'def _prepare_inputs(dataframe: pd.DataFrame) -> pd.DataFrame:'}</s>BSMT_QUAL_VALUES = ('Gd', 'TA', 'Ex', 'Fa')
1
{'name': 'IUCoordinator.register_entity@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'A HA entity has been registered', 'signature': 'def register_entity('}</s>CONF_VOLUME = "volume"
0
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'expectedFailure@llvm-project/lld...
0
{'name': 'Field.default_factory@pyfields/core.py', 'description': 'Decorator to register the decorated function as the default factory of a field. Any previously registered\ndefault factory will be overridden.\n\nThe decorated function should accept a single argument `(obj/self)`, and should return a value to use as th...
0
{'name': 'WriteWrapper.setUp@testing/test_parser.py', 'description': 'Setup for each test.\n\n ', 'signature': 'def setUp(self):'}</s>overwrite_blocks = {'oveAct':{'Unit':'W', 'Description': 'Control signal for heater thermal power', 'Minimum': 0, ...
0
{'name': 'cancel_workflow@director/commands/workflows.py', 'description': 'Cancel a workflow', 'signature': 'def cancel_workflow(ctx, id):'}</s>{'name': 'run_workflow@director/commands/workflows.py', 'description': 'Execute a workflow', 'code': 'def run_workflow(ctx, fullname, payload, comment):\n """Execute a workf...
0
{'name': 'fit_beta_parameters@tensorqtl/core.py', 'description': 'r2_perm: array of max. r2 values from permutations\ndof_init: degrees of freedom', 'signature': 'def fit_beta_parameters(r2_perm, dof_init, tol=1e-4, return_minp=False):'}</s>{'name': 'filter_covariates@tensorqtl/core.py', 'description': 'Inputs:\n ...
0
{'name': 'common_main@tools/warn/warn_common.py', 'description': 'Shared main function for Google3 and non-Google3 versions of warn.py.', 'signature': 'def common_main(use_google3, create_launch_subprocs_fn, classify_warnings_fn,'}</s>{'name': 'emit_const_int_array@tools/warn/html_writer.py', 'description': 'DOCSTRING'...
0
{'name': 'Migrator.add_column@peewee_moves.py', 'description': 'Add the given column to the given table.\n\n:param table: Table name to add column to.\n:param name: Name of the column field to add.\n:param coltype: Column type (from FIELD_TO_PEEWEE).\n:param kwargs: Arguments for the given column type.\n:return: None',...
0
{'name': 'get@ffn/data.py', 'description': "Helper function for retrieving data as a DataFrame.\n\nArgs:\n * tickers (list, string, csv string): Tickers to download.\n * provider (function): Provider to use for downloading data.\n By default it will be ffn.DEFAULT_PROVIDER if not provided.\n * common_da...
0
{'name': 'ReplaceByFeeTest.test_too_many_replacements@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>{'name': 'disable_mocktime@qa/rpc-tests/test_framework/util.py', 'description': 'DOCSTRING', 'code'...
0
{'name': 'save_cmd_orig@src/python_scripts/afnipy/lib_physio_logs.py', 'description': 'Write out input cmd output dir.', 'signature': 'def save_cmd_orig(retobj, verb=1):'}</s>hlp = '''Set the maximum breaths per minute for respiratory proc (def: {}) '''.format(DEF_max_bpm_resp)
0
{'name': 'process_assignments_and_deletions@da/compiler/incgen.py', 'description': 'Generate stub and hook for assignments and deletions.\n\nThis should be called after the query parameters have been accumulated.', 'signature': 'def process_assignments_and_deletions(state):'}</s>JBSTYLE_DIRECTIVES = """""".format(JB_ST...
0
{'name': 'ProcessLine@tools/caffe-sphereface/scripts/cpp_lint.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 representing a line of th...
0
{'name': 'create_ignore_elem@varname/ignore.py', 'description': 'Create an ignore element according to the type', 'signature': 'def create_ignore_elem(ignore_elem: IgnoreElemType) -> IgnoreElem:'}</s>{'name': 'MaybeDecoratedFunctionWarning@varname/utils.py', 'description': 'When a suspecious decorated function used as ...
0
{'name': 'ctrl_c_signal_handler@shutit_util.py', 'description': 'CTRL-c signal handler - enters a pause point if it can.\n ', 'signature': 'def ctrl_c_signal_handler(_, frame):'}</s>{'name': 'random_id@shutit_util.py', 'description': 'Generates a random string of given size from the given chars.\n\n@param size: ...
0
{'name': 'downloadFile@common.py', 'description': 'Downloads a file from the given URL.\nWill either return "bytes" if is_text = False, or a unicode string if is_text = True\nRaises an exception on error.\n\n:param url:\n:return:', 'signature': 'def downloadFile(url, is_text):'}</s>{'name': 'extractOrCopyFile@common.py...
0
{'name': 'ParserSpec.p_field_seq@thriftrw/idl/parser.py', 'description': 'field_seq : field sep field_seq\n| field field_seq\n|', 'signature': 'def p_field_seq(self, p):'}</s>{'name': 'MapType@thriftrw/idl/ast.py', 'description': 'A ``map<key, value>`` type.\n\n.. py:attribute:: key_type\n\n Type of the keys in the ...
0
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ...
0
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ...
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': 'main@tools/pydfu.py', 'description': 'Test program for verifying this files functionality.', 'signature': 'def main():'}</s>__DFU_STATE_DFU_MANIFEST = 7
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': 'test_mac@examples/amacs.py', 'description': 'Test basic GGM amac', 'signature': 'def test_mac():'}</s>{'name': 'rerandomize_sig_ggm@examples/amacs.py', 'description': 'DOCSTRING', 'code': 'def rerandomize_sig_ggm(params, sig):\n _, _, _, o = params\n u, up = sig\n r = o.random()\n return r * u, r ...
1
{'name': 'deserialize@streaming/python/raystreaming/function.py', 'description': 'Deserialize a binary function serialized by `serialize` method.', 'signature': 'def deserialize(func_bytes):'}</s>{'name': '_get_simple_function_class@streaming/python/raystreaming/function.py', 'description': 'Get the wrapper function fo...
0
{'name': 'optimize_if01@libc/kernel/tools/cpp.py', 'description': 'Remove the code between #if 0 .. #endif in a list of CppBlocks.', 'signature': 'def optimize_if01(blocks):'}</s>{'name': 'strip_space@libc/kernel/tools/cpp.py', 'description': 'Strip out redundant space in a given string.', 'code': 'def strip_space(s):\...
0
{'name': 'readFdat@fwtool/sony/fdat.py', 'description': 'Reads a decrypted FDAT file and returns its contents', 'signature': 'def readFdat(file):'}</s>{'name': '_calcCrc@fwtool/sony/fdat.py', 'description': 'DOCSTRING', 'code': 'def _calcCrc(file):\n return crc32(FilePart(file, 12, FdatHeader.size - 12))'}
1
{'name': 'pack@src/utils/ops.py', 'description': 'Pack a flattened list l into the structure of the nested list a.', 'signature': 'def pack(l, a):'}</s>{'name': 'detach_module@src/utils/ops.py', 'description': 'DOCSTRING', 'code': 'def detach_module(mdl):\n for param in mdl.parameters():\n param.requires_grad...
0
{'name': 'SyncEnumValuesOp.sync_enum_values@alembic_autogenerate_enums/__init__.py', 'description': 'Define every enum value from `new_values` that is not present in\n`old_values`.\n:param operations:\n ...\n:param str schema:\n Schema name.\n:param name:\n Enumeration type name.\n:param list old_values:\n ...
0
{'name': 'MergeDirectoryTask._handle_local_file@onedrive_client/od_tasks/merge_dir.py', 'description': ':param str item_name:\n:param onedrive_client.od_repo.ItemRecord | None item_record:\n:param posix.stat_result | None item_stat:\n:param str item_local_abspath:', 'signature': 'def _handle_local_file(self, item_name,...
1
{'name': 'BreakpointAfterJoinTestCase.test@llvm-project/lldb/test/API/functionalities/thread/break_after_join/TestBreakAfterJoin.py', 'description': 'Test breakpoint handling after a thread join.', 'signature': 'def test(self):'}</s>PROCESS_IS_VALID = "Process is valid"
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': 'Bucket.width@src/rust/vendor/unicode-width/scripts/unicode.py', 'description': 'If all codepoints in this bucket have the same width, return that width; otherwise,\nreturn `None`.', 'signature': 'def width(self) -> CharWidthInTable | None:'}</s>{'name': 'lookup_fns@src/rust/vendor/unicode-width/scripts/unicod...
0
{'name': 'MainWindow.set_format@labelImg.py', 'description': 'if save_format == FORMAT_PASCALVOC:\n self.actions.save_format.setText(FORMAT_PASCALVOC)\n self.actions.save_format.setIcon(newIcon("format_voc"))\n self.usingPascalVocFormat = False\n self.usingYoloFormat = False\n self.usingYoloOBBFormat = T...
0
{'name': '_parse_config_file@pelicun/tools/DL_calculation.py', 'description': 'Parse and validate the config file for Pelicun.\n\nParameters\n----------\nconfig_path : str\n Path to the configuration file.\noutput_path : Path\n Directory for output files.\nauto_script_path : str\n Path to the auto-generation s...
0
{'name': 'JavaObjectUnmarshaller.do_classdesc@javaobj/v1/unmarshaller.py', 'description': 'Handles a TC_CLASSDESC opcode\n\n:param parent:\n:param ident: Log indentation level\n:return: A JavaClass object', 'signature': 'def do_classdesc(self, parent=None, ident=0):'}</s>{'name': 'JavaString@javaobj/v1/beans.py', 'desc...
1