text
string
label
int64
{'name': 'run_ablation_studies@src/experiments.py', 'description': 'Run the ablation study experiments reported in the paper.', 'signature': 'def run_ablation_studies(args):'}</s>{'name': 'get_complex_kg_state_dict@src/emb/fact_network.py', 'description': 'DOCSTRING', 'code': "def get_complex_kg_state_dict(state_dict):...
0
{'name': 'test_check_classic_valid_with_preprocessor@test/test_utils.py', 'description': 'Test that valid inputs when using a preprocessor raises no warning', 'signature': 'def test_check_classic_valid_with_preprocessor(points):'}</s>{'name': 'test__check_sdp_from_eigen_tol_default_non_psd@test/test_utils.py', 'descrip...
0
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': 'TypeChecker@python/google/protobuf/internal/type_checkers.py', 'description': 'Type checker...
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>ATTR_ACTIONS = "actions"
0
{'name': 'LegistarBillScraper.searchLegislation@legistar/bills.py', 'description': 'Submit a search query on the legislation search page, and return a list\nof summary results.', 'signature': "def searchLegislation(self, search_text='', created_after=None,"}</s>{'name': 'dateWithin@legistar/bills.py', 'description': 'D...
1
{'name': 'Context.add_const@onnx_chainer/context.py', 'description': 'Add a constant array as an ONNX Constant node.\n\nReturns:\n str: registered name.', 'signature': 'def add_const(self, array, name):'}</s>__func_name = None
0
{'name': 'Window.at@tests/auto/wasm/selenium/qwasmwindow.py', 'description': 'Returns (window, offset) for given handle on window', 'signature': 'def at(self, handle):'}</s>{'name': 'Handle@tests/auto/wasm/selenium/qwasmwindow.py', 'description': 'DOCSTRING', 'base_classes': ['Enum'], 'methods': []}
1
{'name': 'TimeEntrySet.all_from_reports@toggl/api/models.py', 'description': 'Method that implements fetching of all time entries through Report API.\nNo limitation on number of time entries.\n\n:param start: From when time entries should be fetched. Defaults to today - 6 days.\n:param stop: Until when time entries sho...
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': 'alru_cache@asynq/tools.py', 'description': "Async equivalent of qcore.caching.lru_cache().\n\nmaxsiz...
0
{'name': 'lvm_snap@freezer/snapshot/lvm.py', 'description': 'Checks the provided parameters and create the lvm snapshot if requested\n\nThe path_to_backup might be adjusted in case the user requested\na lvm snapshot without specifying an exact path for the snapshot).\nThe assumption in this case is that the user wants ...
0
{'name': 'generate_nonce@weibopy/oauth.py', 'description': 'Generate pseudorandom number.', 'signature': 'def generate_nonce(length=8):'}</s>{'name': 'OAuthServer@weibopy/oauth.py', 'description': 'A worker to check the validity of a request against a data store.', 'base_classes': ['object'], 'methods': [{'name': 'OAut...
0
{'name': 'pad@venv/Lib/site-packages/numpy/lib/arraypad.py', 'description': "Pads an array.\n\nParameters\n----------\narray : array_like of rank N\n Input array\npad_width : {sequence, array_like, int}\n Number of values padded to the edges of each axis.\n ((before_1, after_1), ... (before_N, after_N)) unique...
1
{'name': 'CellLogger.gpu_ram@ipyexperiments/cell_logger.py', 'description': 'for the currently selected GPU device return: total, free and used RAM in bytes ', 'signature': 'def gpu_ram(self):'}</s>CellLoggerTime = namedtuple('CellLoggerTime', ['time_delta'])
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_PROCESS_ID = 1024
0
{'name': 'PaymentFactory.change_status@mamona/models.py', 'description': "Always change payment's status via this method. Otherwise the signal\nwill not be emitted.", 'signature': 'def change_status(self, new_status):'}</s>{'name': 'PaymentFactory@mamona/models.py', 'description': 'DOCSTRING', 'base_classes': ['models....
1
{'name': 'predict_structure@colabfold/batch.py', 'description': 'Predicts structure using AlphaFold for the given sequence.', 'signature': 'def predict_structure('}</s>{'name': 'get_actifptm_probs@colabfold/alphafold/extra_ptm.py', 'description': 'This function calculates the interface PTM score for a given interface, ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCFT_BYTE_STRING_FILTER = 15
0
{'name': 'flips_image_augment@pytorch_toolbelt/inference/tta.py', 'description': 'Augment input tensor by adding vertically and horizontally flipped images to it.\n\nArgs:\n image: Tensor of [B,C,H,W] shape\n\nReturns:\n Tensor of [B * 3, C, H, W] shape with:\n - Original tensor\n - Horizontally-fli...
0
{'name': 'add_hostname_info_to_flows@core/friendly_organizer.py', 'description': 'Adds hostname, reg_domain, and tracker_company to flows retroactively.', 'signature': 'def add_hostname_info_to_flows():'}</s>{'name': 'is_ipv4_addr@core/networking.py', 'description': 'Checks if ip_string is a valid IPv4 address.', 'code...
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
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>WIRE_FIXED_32_TYPES = [TYPE_FLOAT, TYPE_FIXED32, TYPE_SFIXED32]
0
{'name': 'IUController.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the controller', 'signature': 'def load(self, config: OrderedDict) -> "IUController":'}</s>CONF_TIMES = "times"
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': 'overwrite_config@habitat/sims/habitat_simulator/habitat_simulator.py', 'description': 'Takes Habitat Lab config and Habitat-Sim config structures. Overwrites\nHabitat-Sim config with Habitat Lab values, where a field name is present\nin lowercase. Mostly used to avoid :ref:`sim_cfg.field = hapi_cfg.FIELD`\nco...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQMCEV_PORT_INTERFACE_FAILOVER = 123
0
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PF_DIVERT_PACKET = 3
0
{'name': 'H3LIS331DL.read_accl@grove/grove_3_axis_digital_accelerometer.py', 'description': 'Read data back from H3LIS331DL_REG_OUT_X_L(0x28), 2 bytes\nX-Axis Accl LSB, X-Axis Accl MSB', 'signature': 'def read_accl(self):'}</s>{'name': 'Bus@grove/i2c.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'na...
0
{'name': 'import_da@da/api.py', 'description': '**DEPRECATED***\n\nImports DistAlgo module \'module\', returns the module object.\n\nThis function mimics the Python builtin __import__() function for DistAlgo\nmodules. \'name\' is the name of the module to be imported, in\n"dotted module name" format. The module must be...
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': 'RDBComputeDomain.__init__@py3/SciServer/SciQuery.py', 'description': 'Creates an instance of an RDBComputeDomain, which defines a domain or environment with databases that users.\nare able to query.\n\n:param rdb_compute_domain: Parameter that identifies the domain. Could be either its name (string),\n ID ...
0
{'name': 'Login.request@SalesforcePy/sfdc.py', 'description': 'Gets the result of `super` for this method, then assigns the `access_token` to `session_id`.\nReturns request response.\n\n :return: Response dict\n :rtype: dict', 'signature': 'def request(self):'}</s>{'name': 'OAuthRequest@SalesforcePy/commons.py', 'des...
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': 'JalaliDateTime.second@persiantools/jdatetime.py', 'description': 'Get the second component of the time.\n\nReturns:\n int: The second component of the time.', 'signature': 'def second(self) -> int:'}</s>NEGATIVE = "منفی "
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQ_FACILITY_LENGTH = 8
0
{'name': 'get_instantiation_lines@config/instantiation_file.py', 'description': 'Generate the lines for a C++ file that instantiates a configuration.', 'signature': 'def get_instantiation_lines(cores, caches, ptws, pmem, vmem, build_id):'}</s>{'name': 'module_include_files@config/instantiation_file.py', 'description': ...
1
{'name': 'print_tokens@araelectra/pretrain/pretrain_data.py', 'description': 'Pretty-print model inputs.', 'signature': 'def print_tokens(inputs: Inputs, inv_vocab, updates_mask=None):'}</s>{'name': 'load_json@araelectra/util/utils.py', 'description': 'DOCSTRING', 'code': 'def load_json(path):\n with tf.io.gfile.GFile...
0
{'name': 'VMCluster.get_tags@dask_cloudprovider/generic/vmcluster.py', 'description': 'Generate tags to be applied to all resources.', 'signature': 'def get_tags(self):'}</s>{'name': 'get_config@dask_cloudprovider/_version.py', 'description': 'Create, populate and return the VersioneerConfig() object.', 'code': 'def ge...
0
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>{'name': 'skipIfDarwin@llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py', 'description': 'Decorate...
0
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>NIRCAM_LW_FILTERS = ['F322W2',...
0
{'name': 'Sun.state_attributes@custom_components/sun/__init__.py', 'description': 'Return the state attributes of the sun.', 'signature': 'def state_attributes(self):'}</s>STATE_ATTR_NEXT_DUSK = "next_dusk"
1
{'name': 'train@examples/natural_language/transformers/retrain_distillbert.py', 'description': 'A function that re-trains BERT for sentiment analysis.', 'signature': 'def train(argv=None):'}</s>{'name': '_set_config@examples/natural_language/transformers/retrain_distillbert.py', 'description': 'A helper function to set...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_BRIDGE_EVENT = 74
0
{'name': 'run_pelicun@pelicun/tools/DL_calculation.py', 'description': "Use settings in the config JSON to prepare and run a Pelicun calculation.\n\nParameters\n----------\nconfig_path: string\n Path pointing to the location of the JSON configuration file.\ndemand_file: string\n Path pointing to the location of a...
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': 'git_versions_from_keywords@versioneer.py', 'description': 'Get version information from git keywords.', 'code': 'def git_versions_from_k...
0
{'name': 'ETagResponseMixin._is_range_request_processable@blockchain-env/lib/python3.7/site-packages/werkzeug/wrappers/etag.py', 'description': 'Return ``True`` if `Range` header is present and if underlying\nresource is considered unchanged when compared with `If-Range` header.', 'signature': 'def _is_range_request_pr...
0
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose: bool = False) -> dict[str, Any]:'}</s>{'name': 'render_pep440_post_branch@versioneer.py', 'description': 'TAG[....
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': 'TPUEstimator._augment_model_fn@baselines/models/xlnet/tpu_estimator.py', 'description': 'Returns a new model_fn, which wraps the TPU support.', 'signature': 'def _augment_model_fn(self, model_fn, train_cache_fn, eval_cache_fn, batch_axis):'}</s>{'name': 'TPUEstimator@baselines/models/xlnet/tpu_estimator.py', ...
1
{'name': 'ClusterAction.start_clusters@qingcloud/iaas/actions/cluster.py', 'description': 'Start one or more clusters.\n@param clusters: the array of clusters IDs.', 'signature': 'def start_clusters(self, clusters,'}</s>ACTION_POWERON_ROUTERS = "PowerOnRouters"
0
{'name': 'ReplaceByFeeTest.test_too_many_replacements@test/functional/feature_rbf.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>{'name': 'hash160@test/functional/test_framework/script.py', 'description': 'DOCSTRING', 'code': "d...
0
{'name': 'init_mp_pool@oggm/workflow.py', 'description': 'Necessary because at import time, cfg might be uninitialized', 'signature': 'def init_mp_pool(reset=False):'}</s>{'name': 'initialize@oggm/cfg.py', 'description': "Read the configuration file containing the run's parameters.\n\nThis should be the first call, bef...
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...
1
{'name': 'About.set_standard_fields@src/attributecode/model.py', 'description': 'Create fields in an ordered dict to keep a standard ordering. We\ncould use a metaclass to track ordering django-like but this approach\nis simpler.', 'signature': 'def set_standard_fields(self):'}</s>{'name': 'format_about_dict_output@src...
0
{'name': 'AdbDevice._filesync_read@adb_shell/adb_device.py', 'description': 'Read ADB messages and return FileSync packets.\n\nParameters\n----------\nexpected_ids : tuple[bytes]\n If the received header ID is not in ``expected_ids``, an exception will be raised\nadb_info : _AdbTransactionInfo\n Info and settings...
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 ...
1
{'name': 'DescriptorPoolTestBase.testEnumDefaultValue@python/google/protobuf/internal/descriptor_pool_test.py', 'description': "Test the default value of enums which don't start at zero.", 'signature': 'def testEnumDefaultValue(self):'}</s>_FEATURESET_FIELD_PRESENCE_LEGACY_REQUIRED = 3
0
{'name': 'Tester._compute_kp@tester.py', 'description': 'Compute Keypoints.\n\nLATER: Clean up code', 'signature': 'def _compute_kp(self):'}</s>{'name': 'get_XYZS_from_res_list@utils/kp_tools.py', 'description': 'DOCSTRING', 'code': 'def get_XYZS_from_res_list(res_list, resize_to_test, scales_to_test, nearby=1,\n ...
1
{'name': 'non_max_suppression@exp2/utils/utils.py', 'description': "Removes detections with lower object confidence score than 'conf_thres'\nNon-Maximum Suppression to further filter detections.\nReturns detections with shape:\n (x1, y1, x2, y2, object_conf, class_conf, class)", 'signature': 'def non_max_suppression...
0
{'name': 'EntriesMaintainer.update_readme_tocs@code/maintenance_entries.py', 'description': 'Recounts entries in sub categories and writes them to the readme.\nAlso updates the _toc files in the categories directories.\n\nNote: The Readme must have a specific structure at the beginning, starting with "# Open Source Gam...
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>colormap_8bit = dvz.dvz_colormap_8bi...
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': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam...
0
{'name': 'ProcessFileData@tools/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a li...
1
{'name': 'StandardMzml.__getitem__@pymzml/file_classes/standardMzml.py', 'description': "Access the item with id 'identifier'.\n\nEither use linear, binary or interpolated search.\n\nArguments:\n identifier (str): native id of the item to access\n\nReturns:\n data (str): text associated with the given identifier"...
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': '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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQPL_VMS = 12
0
{'name': 'loess@src/pyinterp/fill.py', 'description': 'Filter values using a locally weighted regression function or LOESS. The\nweight function used for LOESS is the tri-cube weight function,\n:math:`w(x)=(1-|d|^3)^3`.\n\nArgs:\n mesh: Grid function on a uniform 2-dimensional grid to be filled.\n nx: Number of p...
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_connectivity_build_n_nodes_per_face@test/test_grid.py', 'description': 'Tests the construction of the ``n_nodes_per_face`` variable.', 'signature': 'def test_connectivity_build_n_nodes_per_face():'}</s>mpas_filepath = current_path / "meshfiles" / "mpas" / "QU" / "mesh.QU.1920km.151026.nc"
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': 'Record.remove@shingetsu/cache.py', 'description': 'Remove record.\n\nThe record is removed from cache,\nbut do not removed from file-system.', 'signature': 'def remove(self):'}</s>{'name': 'key_pair@shingetsu/apollo.py', 'description': 'Generate key pair.', 'code': 'def key_pair(key_generator):\n """Genera...
0
{'name': 'TestQueryIndex.test_full_separate_files@tests/test_query.py', 'description': 'Currently if a file has related or annotation files\nthe dtt processes it as if it were a big file so that\nit goes through the old method of downloading,\nregardless of size.\n\nNOTE: This will probably change in the future.', 'sig...
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': 'MidiStatus.get_columns@robopianist/viewer/application.py', 'description': 'Returns the text to display in two columns.', 'signature': 'def get_columns(self):'}</s>KEY_RIGHT_SHIFT = 344
0
{'name': 'NetworkProfile.AddAnchorCertificate@gmacpyutil/gmacpyutil/profiles.py', 'description': 'Adds a certificate payload to the profile for server identification.\n\nArgs:\n certificate: str, PEM-formatted certificate.\n\nRaises:\n CertificateError: there was an error processing the certificate', 'signature': 'de...
1
{'name': 'epoch_stopping_condition@examples/ga/custom_activation.py', 'description': 'This stopping condition lets the training run for 10 epochs\n ', 'signature': 'def epoch_stopping_condition():'}</s>{'name': 'Objective@minos/model/model.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'na...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQPA_ONLY_MCA = py23long(3)
0
{'name': 'euler_from_quaternion@utils/transformations.py', 'description': 'Return Euler angles from quaternion for specified axis sequence.\n\n>>> angles = euler_from_quaternion([0.99810947, 0.06146124, 0, 0])\n>>> numpy.allclose(angles, [0.123, 0, 0])\nTrue', 'signature': "def euler_from_quaternion(quaternion, axes='s...
0
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>_html_infix_map = {}
0
{'name': 'edge_to_surface_pts@voxelmorph/py/utils.py', 'description': 'Converts edges to surface points.', 'signature': 'def edge_to_surface_pts(X_edges, nb_surface_pts=None):'}</s>{'name': 'read_pair_list@voxelmorph/py/utils.py', 'description': 'Reads a list of registration file pairs from a line-seperated text file.\...
0
{'name': 'Unmarshaller._read_body@dbus_next/_private/unmarshaller.py', 'description': 'Read the body of the message.', 'signature': 'def _read_body(self):'}</s>{'name': 'InvalidMessageError@dbus_next/errors.py', 'description': 'DOCSTRING', 'base_classes': ['ValueError'], 'methods': []}
0
{'name': 'collect_inventory_license_expression@src/attributecode/model.py', 'description': 'Read the inventory file at location and return a list of ABOUT objects without\nvalidation. The purpose of this is to speed up the process for `gen_license` command.', 'signature': 'def collect_inventory_license_expression(loca...
0
{'name': 'find_on_path@scripts/pdns/lib/python2.7/site-packages/pkg_resources/__init__.py', 'description': 'Yield distributions accessible on a sys.path directory', 'signature': 'def find_on_path(importer, path_item, only=False):'}</s>{'name': 'Environment@scripts/pdns/lib/python2.7/site-packages/pkg_resources/__init__...
0
{'name': 'Message._postprocess_single@src/betterproto/__init__.py', 'description': 'Adjusts values after parsing.', 'signature': 'def _postprocess_single('}</s>SIZE_DELIMITED = -1
0
{'name': 'SciQuery.get_constraint_names@py3/SciServer/SciQuery.py', 'description': 'Gets a list of the names of table constraints in a particular database belonging to an RDBComputeDomain.', 'signature': 'def get_constraint_names(self, table_name, database=None, rdb_compute_domain=None):'}</s>{'name': 'setToken@py2/Sci...
0
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>{'nam...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACH_BATCH_SIZE = 1502
0
{'name': 'ProcessFileData@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines:...
0
{'name': 'DamerauOsa.distance@symspellpy/editdistance.py', 'description': 'Computes the Damerau-Levenshtein optimal string alignment edit\ndistance between two strings.\n\nArgs:\n string_1: One of the strings to compare.\n string_2: The other string to compare.\n max_distance: The maximum distance that is of i...
0
{'name': 'sub_df@char60/beta.py', 'description': ":param start: the quantile to start cutting, usually it should be 0\n:param end: the quantile to end cutting, usually it should be 1\n:param step: quantile step\n:return: a dictionary including all the 'firm_list' dataframe and 'stock data' dataframe", 'signature': 'def...
1
{'name': 'chapters@module/save.py', 'description': 'create chapters folder ', 'signature': 'def chapters(url, course_folder_path):'}</s>{'name': 'format_chapter@module/save.py', 'description': 'format chapter text ', 'code': 'def format_chapter(chapter, chapter_count):\n \'\'\' format chapter text \'\'\'\n\n # ha...
1
{'name': 'View.pick_areas@picasso/gui/render.py', 'description': 'Finds the areas of all current picks in um^2.\n\nReturns\n-------\nareas : np.1darray\n Areas of all picks.', 'signature': 'def pick_areas(self):'}</s>{'name': 'TiffMultiMap@picasso/io.py', 'description': 'Implements a subclass of AbstractPicassoMovie...
0
{'name': 'attr_category_postprocess@pdir/attr_category.py', 'description': 'Unifies attr_category to a tuple, add AttrCategory.SLOT if needed.', 'signature': 'def attr_category_postprocess(get_attr_category_func):'}</s>ATTR_MAP_CONDITIONAL = { "__reversed__": lambda obj: (AttrCategory.ITER, AttrCategory.FUNCTION) ...
0
{'name': 'Dockerfile.markOrigin@utils/pyHDLC/map.py', 'description': 'Check if a name/id corresponds to another image, an stage or an external image.', 'signature': 'def markOrigin(self, val: str):'}</s>{'name': 'Dockerfile@utils/pyHDLC/map.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Dock...
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': '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': 'last...
0
{'name': 'escape_env_var@tox_docker/plugin.py', 'description': 'Convert a string to a form suitable for use as an environment variable.\n\nThe result will be all uppercase, and will have all invalid characters\nreplaced by an underscore.\n\nThe result will match the following regex: [a-zA-Z_][a-zA-Z0-9_]*\n\nExample:\n...
0
{'name': 'get_hhh_investigator@website/web/__init__.py', 'description': 'Returns all the captures related to a cookie name entry, used in the web interface.', 'signature': 'def get_hhh_investigator(hhh: str, offset: int | None=None, limit: int | None=None, search: str | None=None) -> tuple[int, list[tuple[str, str, str...
0
{'name': 'parse_array@sklearn_pmml_model/base.py', 'description': 'Convert <Array> or <SparseArray> element into list.\n\nParameters\n----------\narray : eTree.Element (Array or SparseArray)\n PMML <Array> or <SparseArray> element, or type-prefixed variant (e.g., <REAL-Array>).\n\nReturns\n-------\noutput : list\n ...
1