text
string
label
int64
{'name': 'CheckCommaSpacing@tools/cpplint.py', 'description': 'Checks for horizontal spacing near commas and semicolons.\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 ...
0
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>IL = None
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': 'resolve_rpc_at_end_of_request@src/supporting-files/lock_util.py', 'description': "Call get_result() on this rpc at the end of the current request.\n\nThere's nothing to do this automatically. So if you have an RPC\nthat can take all request long, but you want to make sure finishes\nbefore this request does, ...
0
{'name': 'get_security_data@src/rororo/openapi/security.py', 'description': 'Get security data from request.\n\nCurrently supported getting API Key & HTTP security data. OAuth & OpenID\ndata not supported yet.', 'signature': 'def get_security_data('}</s>{'name': 'get_jwt_security_data@src/rororo/openapi/security.py', '...
1
{'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': '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': '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>panel_panzoom = dvz.dvz_panel_panzoo...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_TOPIC_TYPE_ERROR = 3305
0
{'name': 'furl.set@furl/furl.py', 'description': "Set components of a url and return this furl instance, <self>.\n\nIf any overlapping, and hence possibly conflicting, parameters\nare provided, appropriate UserWarning's will be raised. The\ngroups of parameters that could potentially overlap are\n\n <scheme> and <orig...
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': 'device_removed@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is removed', 'signature': 'def device_removed(notification):'}</s>CTRL_CMD_SET = 1
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>{'name': 'Timer@lib/charliecloud.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Timer.__init__@lib/charliecloud.py', 'desc...
0
{'name': 'DataFrame.toPandas@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/sql/dataframe.py', 'description': "Returns the contents of this :class:`DataFrame` as Pandas ``pandas.DataFrame``.\n\nThis is only available if Pandas is installed and available.\n\n.. note:: This method should only be u...
0
{'name': 'MarkerManager.mark_compiler_output@parseoutput.py', 'description': 'Parse text into a list of OutputMessage objects.\n ', 'signature': 'def mark_compiler_output(self, view, banner, base_dir, text, exit_code):'}</s>MARKER_MANAGER = MarkerManager()
0
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'is_store@src/api/python/z3/z3.py', 'description': "Return `True` if `a` is a Z3 array store application.\n\n>>> ...
0
{'name': 'BasicTestFaultTolerance.do_test_image_download_retry_timeout@tests/tests/test_fault_tolerance.py', 'description': "Install an update, and block storage connection when we detect it's\nbeing copied over to the inactive partition.\n\nThe test should result in a successful download retry.\n\nNOTE: storage and ga...
0
{'name': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>thumbnail_size = _get_value(_extconf, 'Application Thread', 'thumbnail_size', None, '')
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': 'TenantForeignKey.get_extra_descriptor_filter@django_multitenant/fields.py', 'description': "Return an extra filter condition for related object fetching when\nuser does 'instance.fieldname', that is the extra filter is used in\nthe descriptor of the field.\n\nThe filter should be either a dict usable in .filt...
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': 'generate_string_HP@random_search.py', 'description': 'Chooses from one of the choices in `choices`.\n ', 'signature': 'def generate_string_HP(choices):'}</s>SSUDAN_LOSS_WEIGHT = torch.tensor(SSUDAN_LOSS_WEIGHT, dtype=torch.float32).cuda()
0
{'name': 'processPEreads@amptk/process_illumina_folder.py', 'description': 'function for multiprocessing of the data, so take file list as input, need global forward/reverse list available', 'signature': 'def processPEreads(input, args=False):'}</s>{'name': 'Fzip@amptk/amptklib.py', 'description': 'function to zip as f...
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': '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': 'MatrixExp3@7_Demo_youBotPickAndPlace/code/modern_robotics/core.py', 'description': 'Computes the matrix exponential of a matrix in so(3)\n\n:param so3mat: A 3x3 skew-symmetric matrix\n:return: The matrix exponential of so3mat\n\nExample Input:\n so3mat = np.array([[ 0, -3, 2],\n [ 3,...
1
{'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': 'TargetDdlFactory.metadata_transform@transform/src/target_ddl_factory.py', 'description': 'Overridable function to transform the metadata into a suitable format, e.g.\nfor postgres_cstore_fdw, which requires table-level transformations', 'signature': 'def metadata_transform(metadata: MetaData) -> MetaData:'}</...
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': 'gis_prepro_tasks@oggm/workflow.py', 'description': 'Run all flowline preprocessing tasks on a list of glaciers.\n\nParameters\n----------\ngdirs : list of :py:class:`oggm.GlacierDirectory` objects\n the glacier directories to process', 'signature': 'def gis_prepro_tasks(gdirs):'}</s>{'name': 'ParamsLogging...
0
{'name': 'test_fail_with_invalid_dbname_and_automatic_recovery_disabled@test/io/test_io.py', 'description': 'Should fail without retries when automatic recovery is disabled and dbname is invalid', 'signature': 'def test_fail_with_invalid_dbname_and_automatic_recovery_disabled(defaultenv):'}</s>{'name': 'test_admin_live...
0
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>CMDARG_DATA_DIR = "--data"
0
{'name': 'dashboard_get@tessera-server/tessera/views_api.py', 'description': 'Get the metadata for a single dashboard.\n\n ', 'signature': 'def dashboard_get(id):'}</s>{'name': 'ChartPresentation@tessera-server/tessera/client/api/model.py', 'description': 'Base class for all chart presentations.\n\nJS Class: ds.mode...
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': '_AppHandler._populate_staging@jupyterlab/commands.py', 'description': 'Set up the assets in the staging directory.', 'signature': 'def _populate_staging(self, name=None, version=None, static_url=None, clean=False): # noqa'}</s>{'name': '_format_compatibility_errors@jupyterlab/commands.py', 'description': 'Fo...
0
{'name': 'ProcessLine@ament_cpplint/ament_cpplint/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 representing a line of the fi...
0
{'name': 'cem@cem/cem.py', 'description': 'Generic implementation of the cross-entropy method for maximizing a black-box function\nf: a function mapping from vector -> scalar\nth_mean: initial mean over input distribution\nbatch_size: number of samples of theta to evaluate per batch\nn_iter: number of batches\nelite_fr...
0
{'name': 'DetectionNetwork.postprocess_fastrcnn@libs/networks/build_whole_network.py', 'description': ':param rois:[-1, 4]\n:param bbox_ppred: [-1, (cfgs.Class_num+1) * 4]\n:param scores: [-1, cfgs.Class_num + 1]\n:return:', 'signature': 'def postprocess_fastrcnn(self, rois, bbox_ppred, scores, img_shape):'}</s>RPN_MIN...
0
{'name': 'mach_o_change@bootstrap.py', 'description': "Replace a given name (what) in any LC_LOAD_DYLIB command found in\nthe given binary with a new name (value), provided it's shorter.", 'signature': 'def mach_o_change(path, what, value):'}</s>ACTIVATE_SH = convert(""" eJytVd9v2kAMfs9fYQLq2m4MscdNVKMqEkgtVIQxbeuUHolp...
0
{'name': 'error_screen@displays/papiruszero2in.py', 'description': 'Error screen\n ', 'signature': 'def error_screen(message="ERROR"):'}</s>button_fault_2 = "Fallo en el botón"
0
{'name': 'set_key_value@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Send key value to device', 'signature': 'def set_key_value(sniffer, payload):'}</s>{'name': 'Device@tools/ble_sniffer/extcap/SnifferAPI/Devices.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Device.__init__...
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>{'name': 'pf_rule_ptr@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Union'], 'methods': []}
0
{'name': 'indent@redbaron/utils.py', 'description': 'Helper function to indent a block of text.\n\nTake a block of text, an indentation string and return the indented block.', 'signature': 'def indent(block_of_text, indentation):'}</s>{'name': 'truncate@redbaron/utils.py', 'description': 'DOCSTRING', 'code': 'def trunc...
0
{'name': 'Expression.statement@da/compiler/dast.py', 'description': 'The first statement parent of this expression, if any.\n\n ', 'signature': 'def statement(self):'}</s>{'name': 'UAddOp@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['UnaryOperator'], 'methods': []}
0
{'name': 'YoutubeDL._load_cookies@script.module.youtube.dl/lib/youtube_dl/YoutubeDL.py', 'description': 'Loads cookies from a `Cookie` header\n\nThis tries to work around the security vulnerability of passing cookies to every domain.\n\n@param data The Cookie header as a string to load the cookies from\n@param ...
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': 'TrainManager.__init__@joeynmt/training.py', 'description': 'Creates a new TrainManager for a model, specified as in configuration.\n\n:param model: torch module defining the model\n:param model_dir: directory to save ckpts\n:param device: torch device\n:param n_gpu: number of gpus. 0 if cpu.\n:param num_worke...
0
{'name': 'initialize_jwst_image@grizli/jwst_utils.py', 'description': 'Make copies of some header keywords to make the headers look like\nand HST instrument\n\n1) Apply gain correction [*NOT PERFORMED*]\n2) Clip DQ bits\n3) Copy header keywords\n4) Apply exposure-level 1/f correction\n5) Apply flat field if necessary\n...
1
{'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': 'initialize_jwst_image@grizli/jwst_utils.py', 'description': 'Make copies of some header keywords to make the headers look like\nand HST instrument\n\n1) Apply gain correction [*NOT PERFORMED*]\n2) Clip DQ bits\n3) Copy header keywords\n4) Apply exposure-level 1/f correction\n5) Apply flat field if necessary\n...
0
{'name': 'install_python@python/virtualenv/virtualenv.py', 'description': 'Install just the base environment, no distutils patches etc', 'signature': 'def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, symlink=True):'}</s>{'name': '_find_file@python/virtualenv/virtualenv.py', 'description': '...
0
{'name': 'fsn2text@Monika After Story/game/python-packages/mutagen/_senf/_fsnative.py', 'description': 'Args:\n path (fsnative): The path to convert\n strict (bool): Fail in case the conversion is not reversible\nReturns:\n `text`\nRaises:\n TypeError: In case no `fsnative` has been passed\n ValueError: ...
0
{'name': 'MessageSetItemDecoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for a MessageSet item.\n\nThe parameter is the message Descriptor.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n ...
0
{'name': 'ProcessGlobalSuppresions@tools/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty if the file is...
0
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_149 = Badge("rabbit face",...
0
{'name': 'pbinom@src/luminol/utils.py', 'description': 'Compute cdf for binomial with prob = 0.5\ncompare to R pbinom\n:param k:\n:param n:\n:return: cumulative probability', 'signature': 'def pbinom(k, n):'}</s>DEFAULT_CORRELATE_THRESHOLD = 0.7
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=False):'}</s>{'name': 'pep440_split_post@versioneer.py', 'description': 'Split pep440 version string at the post...
0
{'name': 'Number.__call__@voluptuous/validators.py', 'description': ':param v: is a number enclosed with string\n:return: Decimal number', 'signature': 'def __call__(self, v):'}</s>{'name': 'IsFalse@voluptuous/validators.py', 'description': 'Assert that a value is false, in the Python sense.\n\n(see :func:`IsTrue` for ...
0
{'name': 'SOCAInstall.security_groups@installer/resources/src/cdk_construct.py', 'description': 'Create security groups (or re-use existing ones).', 'signature': 'def security_groups(self):'}</s>{'name': 'create_ingress_rule@installer/resources/src/helpers/security_groups.py', 'description': 'DOCSTRING', 'code': 'def c...
1
{'name': 'indent@Others_Labs/code/Survey-Survey/yattag/indentation.py', 'description': "takes a string representing a html or xml document and returns\n a well indented version of it\n\narguments:\n- string: the string to process\n- indentation: the indentation unit (default to two spaces)\n- newline: the string to be ...
0
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': 'is_ui_message_set@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def is_ui_message_set(mainclass):\n return mainclass in UI_server_messages'}
0
{'name': 'test_factory_import_directory_correct_arguments@elpis/transformer/test_transformer.py', 'description': 'Test if the import_directory decorator raises an error when the arguments of\nthe decorated function are not correct.', 'signature': 'def test_factory_import_directory_correct_arguments(tdtaf):'}</s>{'name'...
0
{'name': 'RIPPER.fit@build/lib/wittgenstein/ripper.py', 'description': "Fit a Ruleset model.\n\nParameters\n----------\ntrainset : DataFrame, numpy array, or other iterable\n Training dataset. Optional whether to include or exclude class labels column.\ny : iterable of str, int, bool\n Class labels corresponding ...
0
{'name': 'Data._get_score@verif/data.py', 'description': 'Load the field variable from input, but only include the common data\n\nScores loaded will have the same dimension, regardless what input_index\nis used.\n\nfield: The type is of verif.field\ninput_index: which input to load from', 'signature': 'def _g...
1
{'name': 'DebuggerAPI.do_delete@tools/p4dbg.py', 'description': "Unsets a break point, previously set with the 'break' command: delete(d) <obj_type> <obj_name>", 'signature': 'def do_delete(self, line):'}</s>{'name': 'BasicMsg@tools/p4dbg.py', 'description': 'DOCSTRING', 'base_classes': ['Msg'], 'methods': []}
0
{'name': 'record_request_data@exercise_notebooks/prometheus_exercise/app/helpers/middleware.py', 'description': 'Capture request data.\n\nUses the flask request object to extract information such as\nthe HTTP request method, endpoint and HTTP status.', 'signature': 'def record_request_data(response: Response) -> Respon...
1
{'name': 'main@examples/hifigan/train_hifigan.py', 'description': 'Run training process.', 'signature': 'def main():'}</s>{'name': 'HifiGANDiscriminatorConfig@tensorflow_tts/configs/hifigan.py', 'description': 'Initialize HifiGAN Discriminator Config.', 'base_classes': ['object'], 'methods': [{'name': 'HifiGANDiscrimin...
1
{'name': 'MeanStddevBoxCoder._decode@object_detection/box_coders/mean_stddev_box_coder.py', 'description': 'Decode.\n\nArgs:\n rel_codes: a tensor representing N anchor-encoded boxes.\n anchors: BoxList of anchors.\n\nReturns:\n boxes: BoxList holding N bounding boxes\n\nRaises:\n ValueError: if the anchors still h...
1
{'name': 'PyImportResolver.update_doc@python/ffi_navigator/import_resolver.py', 'description': 'Update the resolver state by adding a document.\n\nParameters\n----------\npath : str\n The module path\n\nsource : list or str\n The source code.', 'signature': 'def update_doc(self, path, source):'}</s>{'name': '_num...
0
{'name': 'test_email_validation_with_none@voluptuous/tests/tests.py', 'description': 'Test with invalid None email address', 'signature': 'def test_email_validation_with_none():'}</s>{'name': 'test_path_with_tuple_dict_key@voluptuous/tests/tests.py', 'description': 'Not obvious case with dict having not strings, but tu...
0
{'name': 'quantize_pact@nemo/transform.py', 'description': "Takes a PyTorch module and makes it quantization-aware with PACT, recursively.\n\nThe function follows recursively the data structures containing PyTorch layers (typically as hierarchical lists, e.g.\nblock-level :py:class:`torch.nn.Sequential` for networks li...
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': 'test_asda_artificial@sunkit_image/tests/test_asda.py', 'description': 'Generate an artificial vortex using the Lamb_Oseen class in asda, then\nperform the vortex detection.', 'signature': 'def test_asda_artificial():'}</s>{'name': 'get_velocity_field@sunkit_image/asda.py', 'description': 'Calculates the veloc...
1
{'name': 'main_branch_bot_actions@src/oca_github_bot/tasks/main_branch_bot.py', 'description': "Run main branch bot actions on a local git checkout.\n\n'cwd' is the directory containing the root of a local git checkout.", 'signature': 'def main_branch_bot_actions(org, repo, branch, cwd):'}</s>{'name': 'build_and_publis...
0
{'name': 'Resource.update@pysnow/resource.py', 'description': 'Updates a record in the API resource\n\n:param query: Dictionary, string or :class:`QueryBuilder` object\n:param payload: Dictionary containing key-value fields of the record to be updated\n:return:\n - Dictionary of the updated record', 'signature': 'de...
0
{'name': 'Player.update@demo_experiments/breakout_tobii.py', 'description': 'Update the player position. ', 'signature': 'def update(self):'}</s>{'name': 'generate_blocks@demo_experiments/breakout_tobii.py', 'description': 'DOCSTRING', 'code': 'def generate_blocks():\n blocks = []\n top = screen_size[1] / 2.0 - b...
0
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_SWAP = CScriptOp(0x7c)
0
{'name': 'extract_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def extract_kalman_boxes(dataset_test, net, rpn_conf, test_path, data_folder):'}</s>{'name': 'run_kitti_eval_script@lib/rpn_util.py', 'description': 'DOCSTRING', 'code': "def run_kitti_ev...
0
{'name': 'ProcessFileData@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: An array of strings, each representing a ...
0
{'name': 'Marshaler.marshal_top@transit/writer.py', 'description': 'Given a complete object that needs to be marshaled into Transit\ndata, and optionally a cache, dispatch accordingly, and flush the data\ndirectly into the IO stream.', 'signature': 'def marshal_top(self, obj, cache=None):'}</s>PY3 = sys.version_info[0]...
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': 'GroupFitter.xfit_redshift@grizli/fitting.py', 'description': 'Two-step procedure for fitting redshifts\n\n1. polynomial, spline template fits\n2. redshift grids\n3. ...\n\nParameters\n----------\nprior : None, (array, array)\n Redshift prior (z, pz). Will be interpolated to the redshift\n fit grid\n\nt...
0
{'name': 'ising_mpo@pytenet/hamiltonian.py', 'description': 'Construct Ising Hamiltonian `sum J sz sz + h sz + g sx`\non a 1D lattice as MPO.\n\nArgs:\n L: number of lattice sites\n J: interaction parameter\n h: longitudinal-field strength\n g: transverse-field strength\n\nReturns:\n MPO: Ising Hamil...
0
{'name': 'ROMTable.for_each@pyocd/coresight/rom_table.py', 'description': '! @brief Apply an action to every component defined in the ROM table and child tables.\n\nThis method iterates over every entry in the ROM table. For each entry it calls the\nfilter function if provided. If the filter passes (returns True or was...
0
{'name': 'TestUnusualSocketConditions.test_handle_recv_eagain_download@test/test_sync_connection.py', 'description': 'When a socket is marked readable during response body download but\nreturns EAGAIN when read from, the code simply retries the read.', 'signature': 'def test_handle_recv_eagain_download(self):'}</s>SOCK...
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': 'compMatch@InteractiveHtmlBom/core/units.py', 'description': 'Return a normalized value and units for a given component value string\ne.g. compMatch("10R2") returns (1000, R)\ne.g. compMatch("3.3mOhm") returns (0.0033, R)', 'signature': 'def compMatch(component):'}</s>UNIT_L = ["henry", "h"]
0
{'name': 'YOLO_ONNX.get_anchors@yolo.py', 'description': 'loads the anchors from a file', 'signature': 'def get_anchors(self, anchors_path):'}</s>{'name': 'get_anchors@utils/utils.py', 'description': 'loads the anchors from a file', 'code': "def get_anchors(anchors_path):\n '''loads the anchors from a file'''\n w...
0
{'name': 'DirectiveValidator.not_exists@drheader/validators/directive_validator.py', 'description': 'See base class.', 'signature': 'def not_exists(self, config, header, **kwargs):'}</s>{'name': 'UnsupportedValidationError@drheader/validators/base.py', 'description': 'Exception to be raised when an unsupported validati...
0
{'name': 'LibcxxMultiMapDataFormatterTestCase.test_with_run_command@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py', 'description': 'Test that that file and class static variables display correctly.', 'signature': 'def test_with_ru...
0
{'name': 'install_python@bootstrap.py', 'description': 'Install just the base environment, no distutils patches etc', 'signature': 'def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, symlink=True):'}</s>is_pypy = hasattr(sys, 'pypy_version_info')
1
{'name': 'CascadeRCNNRel.aug_test@mmdet/models/detectors/cascade_rcnn_rel.py', 'description': 'Test with augmentations.\nIf rescale is False, then returned bboxes and masks will fit the scale\nof imgs[0].', 'signature': 'def aug_test(self, imgs, img_metas, proposals=None, rescale=False):'}</s>{'name': 'merge_aug_masks@...
0
{'name': 'main_sync@signac/__main__.py', 'description': 'Handle sync subcommand.', 'signature': 'def main_sync(args):'}</s>{'name': '_locate_config_dir@signac/_config.py', 'description': 'Locates directory containing a signac configuration file in a directory hierarchy.\n\nParameters\n----------\nsearch_path : str\n ...
0
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_97 = Badge("squid", series=1, number=97, symbol="🦑")
0
{'name': 'init@python/taichi/lang/misc.py', 'description': 'Initializes the Taichi runtime.\n\nThis should always be the entry point of your Taichi program. Most\nimportantly, it sets the backend used throughout the program.\n\nArgs:\n arch: Backend to use. This is usually :const:`~taichi.lang.cpu` or :const:`~taich...
0
{'name': 'chunks@sublime_lxml.py', 'description': 'Return a generator that will split the range into chunks of the specified size.', 'signature': 'def chunks(start, end, chunk_size): # inspired by http://stackoverflow.com/a/18854817/4473405'}</s>{'name': 'region_chunks@sublime_lxml.py', 'description': 'Return a generat...
0
{'name': '_wrap@dill/source.py', 'description': "encapsulate a function and it's __import__ ", 'signature': 'def _wrap(f):'}</s>{'name': '_namespace@dill/source.py', 'description': "_namespace(obj); return namespace hierarchy (as a list of names)\nfor the given object. For an instance, find the class hierarchy.\n\nFor...
0
{'name': 'search_ast@core/text.py', 'description': 'Returns the number of descendants of `node` that match `template`\n(either a type or tuple that is passed to `isinstance`,\nor a partial AST that is passed to `is_ast_like`)\nand satisfy the optional predicate.', 'signature': 'def search_ast(node, template, predicate=...
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': 'Message._postprocess_single@src/betterproto/__init__.py', 'description': 'Adjusts values after parsing.', 'signature': 'def _postprocess_single('}</s>{'name': 'sfixed64_field@src/betterproto/__init__.py', 'description': 'DOCSTRING', 'code': 'def sfixed64_field(\n number: int, group: Optional[str] = None, o...
0