text
string
label
int64
{'name': 'CheckStyle@tools/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n f...
0
{'name': 'GitHubTools.list_gists@getgist/github.py', 'description': 'Prints all gists names, filenames and URLs', 'signature': 'def list_gists(self):'}</s>{'name': 'oauth_only@getgist/github.py', 'description': 'Decorator to restrict some GitHubTools methods to run only with OAuth', 'code': 'def oauth_only(function):\n...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQNT_Q = 1
0
{'name': 'Adam_GCC.step@GC_code/CIFAR100/algorithm/Adam.py', 'description': 'Performs a single optimization step.\n\nArguments:\n closure (callable, optional): A closure that reevaluates the model\n and returns the loss.', 'signature': 'def step(self, closure=None):'}</s>{'name': 'AdamW@GC_code/CIFAR100/algor...
0
{'name': 'bind_gre_fmaps@bidskit/fmaps.py', 'description': 'GRE fieldmap binding\n\n:param gre_fmap_jsons:\n:param bold_jsons:\n:param t_bold:\n:param no_sessions: bool\n:param nii_ext: str\n:return:', 'signature': 'def bind_gre_fmaps(gre_fmap_jsons, bold_jsons, t_bold, no_sessions, nii_ext):'}</s>{'name': 'create_file...
0
{'name': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>{'name': 'SearchList@shingetsu/node.py', 'description': 'List of existing nodes.', 'base_classes': ['RawNodeList'], 'methods': [{'name': 'SearchList.__init__@shingetsu/...
0
{'name': 'show_settings@versions/speed-cam_12.06.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>fix_msg = " ---------- Upgrade Instructions ----------- To Fix Problem Run ./menubox.sh UPGRADE menu pick. After upgrade newest conf...
0
{'name': 'Metar._handleWind@metar/Metar.py', 'description': 'Parse the wind and variable-wind groups.\n\nThe following attributes are set:\n wind_dir [direction]\n wind_speed [speed]\n wind_gust [speed]\n wind_dir_from [int]\n wind_dir_to [int]', 'signature': 'def _...
0
{'name': 'rmtree@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/_backport/shutil.py', 'description': 'Recursively delete a directory tree.\n\nIf ignore_errors is set, errors are ignored; otherwise, if onerror\nis set, it is called to handle the error with arguments (func,\npath, exc_info) where func is...
0
{'name': 'YAML.__init__@strictyaml/ruamel/main.py', 'description': "_kw: not used, forces keyword arguments in 2.7 (in 3 you can do (*, safe_load=..)\ntyp: 'rt'/None -> RoundTripLoader/RoundTripDumper, (default)\n 'safe' -> SafeLoader/SafeDumper,\n 'unsafe' -> normal/unsafe Loader/Dumper\n 'base' ->...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_ERROR_OFFSET = 1018
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': 'Decoder.forward@model.py', 'description': 'encoder_out: shape(N, L, D)\ntgt: shape(N, L)', 'signature': 'def forward(self, encoder_out, tgt):'}</s>{'name': 'EncoderDecoder@model.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], 'methods': [{'name': 'EncoderDecoder.__init__@model.py', 'descriptio...
0
{'name': 'edge_gen@pyrgg/engines/pyrgg.py', 'description': 'Generate each vertex connection number.\n\n:param vertices_number: number of vertices\n:type vertices_number: int\n:param min_weight: weight min range\n:type min_weight: int\n:param max_weight: weight max range\n:type max_weight: int\n:param min_edge: minimum ...
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': 'is_valid_backup_vault_arn@installer/resources/src/cdk_construct.py', 'description': 'Check if the provided ARN is a...
0
{'name': 'MessageReceiver.get_state@uamqp/receiver.py', 'description': 'Get the state of the MessageReceiver and its underlying Link.\n\n:rtype: ~uamqp.constants.MessageReceiverState', 'signature': 'def get_state(self):'}</s>{'name': 'MessageResponse@uamqp/errors.py', 'description': 'DOCSTRING', 'base_classes': ['AMQPE...
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': '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': 'test_empty_string_with_url@tests/test_bare.py', 'description': 'Originally for https://github.com/mverleg/pyjson_tricks/issues/51 ', 'signature': 'def test_empty_string_with_url():'}</s>{'name': 'test_cls_slots@tests/test_bare.py', 'description': 'DOCSTRING', 'code': 'def test_cls_slots():\n\tslots = [SlotsBa...
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': 'indentedBlock@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining space-delimited indentation blocks, such as\nthose used to define block statements in Python source code.\n\nParameters:\n - blockStatementExpr - expression defining syntax of statement that\n ...
0
{'name': 'load@source-builder/sb/options.py', 'description': 'Copy the defaults, get the host specific values and merge them overriding\nany matching defaults, then create an options object to handle the command\nline merging in any command line overrides. Finally post process the\ncommand line.', 'signature': "def loa...
0
{'name': '_value_owner_pair@skein/kv.py', 'description': 'Build a ValueOwnerPair from a KeyValue object', 'signature': 'def _value_owner_pair(kv):'}</s>{'name': 'Condition@skein/kv.py', 'description': 'Base class for all key-value store conditional expressions', 'base_classes': ['_Base'], 'methods': [{'name': 'Conditio...
0
{'name': 'make_html_table@grizli/aws/db.py', 'description': ' ', 'signature': 'def make_html_table(engine=None, columns=[\'root\', \'status\', \'id\', \'p_ra\', \'p_dec\', \'mag_auto\', \'flux_radius\', \'z_spec\', \'z_map\', \'bic_diff\', \'chinu\', \'log_pdf_max\', \'d4000\', \'d4000_e\'], where="AND status >= 5 A...
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': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign...
0
{'name': 'RearrangeTHOREnvironment.__init__@rearrange/environment.py', 'description': "Initialize a new rearrangement controller.\n\n# Parameters\nmode : See description of this class' attributes.\ncontroller_kwargs : Dictionary specifying any keyword arguments to be passed\n when initializing the `ai2thor.controlle...
0
{'name': 'main@agfusion/cli.py', 'description': 'Main function for processing command line options', 'signature': 'def main():'}</s>{'name': 'TooManyGenesException@agfusion/exceptions.py', 'description': 'Exception to handle case of too many genes.\n\nArgs:\n Exception (Exception): Base python exception.', 'base_cla...
0
{'name': 'isa_pseudo@riscvmodel/isa.py', 'description': 'TODO: documentation', 'signature': 'def isa_pseudo():'}</s>{'name': 'Variant@riscvmodel/variant.py', 'description': 'RISC-V ISA Variants', 'base_classes': [], 'methods': [{'name': 'Variant.__init__@riscvmodel/variant.py', 'description': 'DOCSTRING', 'code': 'def ...
0
{'name': 'ParseArguments@tools/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{'name': 'Check...
0
{'name': 'clean_number@nova/utils.py', 'description': 'Utility method to clean up a number contained in a string to dot decimal format\n\nArgs:\n string (str): Number contained in a string\n\nReturns:\n str: The formatted number as a string', 'signature': 'def clean_number(string):'}</s>{'name': 'get_int@nova/uti...
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': 'superimposition_matrix@imgviz/external/transformations.py', 'description': 'Return matrix to transform given 3D point set into second point set.\n\nv0 and v1 are shape (3, *) or (4, *) arrays of at least 3 points.\n\nThe parameters scale and usesvd are explained in the more general\naffine_matrix_from_points ...
0
{'name': 'NVMeOFConnectorTestCase.test_extend_volume_unreplicated_nvme_fails@os_brick/tests/initiator/connectors/test_nvmeof.py', 'description': 'nvme command fails, so it rescans, waits, and reads size.', 'signature': 'def test_extend_volume_unreplicated_nvme_fails('}</s>MY_IP = "10.0.0.1"
0
{'name': 'stagger@phi/field/_field_math.py', 'description': "Creates a new grid by evaluating `face_function` given two neighbouring cells.\nOne layer of missing cells is inferred from the extrapolation.\n\nThis method returns a Field of type `type` which must be either StaggeredGrid or CenteredGrid.\nWhen returning a ...
0
{'name': 'run@slim/datasets/download_and_convert_mnist.py', 'description': 'Runs the download and conversion operation.\n\nArgs:\n dataset_dir: The dataset directory where the dataset is stored.', 'signature': 'def run(dataset_dir):'}</s>{'name': '_clean_up_temporary_files@slim/datasets/download_and_convert_mnist.py',...
1
{'name': 'get_snapshot_status@k8s_snapshots/backends/google.py', 'description': 'In Google Cloud, the createSnapshot operation returns a ZoneOperation\nobject which goes from PENDING, to RUNNING, to DONE.\nThe snapshot object itself can be CREATING, DELETING, FAILED, READY,\nor UPLOADING.\n\nWe check both states to mak...
0
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>PF_AFRT = 15
0
{'name': 'flatten_map@transit/writer.py', 'description': "Expand a dictionary's items into a flat list\n ", 'signature': 'def flatten_map(m):'}</s>QUOTE = "'"
0
{'name': 'TestAlgorithmsRFC7520.test_rsapss_verify_should_return_true_for_test_vector@tests/test_algorithms.py', 'description': 'This test verifies that RSA-PSS verification works with a known good\nsignature and key.\n\nReference: https://tools.ietf.org/html/rfc7520#section-4.2', 'signature': 'def test_rsapss_verify_s...
0
{'name': 'BaseMSS._basis_function_predict@sysidentpy/narmax_base.py', 'description': 'Basis function prediction.', 'signature': 'def _basis_function_predict('}</s>{'name': 'rowhouse@sysidentpy/narmax_base.py', 'description': 'Perform a row Householder transformation.\n\nParameters\n----------\nRA : array-like of shape ...
0
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'help_simplify@src/api/python/z3/z3.p...
0
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>ICMP_PARAMPROB_ERRATPTR = 0
0
{'name': 'Serial._reconfigure_port@serial/rfc2217.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>RFC2217_REVERSE_STOPBIT_MAP = dict((v, k) for k, v in RFC2217_STOPBIT_MAP.items())
0
{'name': 'MarkMethodMixin.mark_text@altair/vegalite/v3/schema/mixins.py', 'description': "Set the chart's mark to 'text'\n\nFor information on additional arguments, see :class:`MarkDef`", 'signature': 'def mark_text(self, align=Undefined, angle=Undefined, baseline=Undefined, binSpacing=Undefined,'}</s>{'name': 'Legend@...
0
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'CanaryCommand@gef.py', 'description': 'Shows the canary value of the current process.', 'base_classes': ['GenericCommand'], 'methods': [{'name': 'Canary...
0
{'name': 'Bottle._cast@src/back/kite/bottle.py', 'description': 'Try to convert the parameter into something WSGI compatible and set\ncorrect HTTP headers when possible.\nSupport: False, str, unicode, dict, HTTPResponse, HTTPError, file-like,\niterable of strings and iterable of unicodes', 'signature': 'def _cast(self,...
0
{'name': 'Dbg.on_activate@cyber/dbg.py', 'description': 'if self.hook is not None:\npass', 'signature': 'def on_activate(self, idx):'}</s>{'name': 'get_ip_val_old_impl@cyber/dbg.py', 'description': 'DOCSTRING', 'code': 'def get_ip_val_old_impl():\n inf = get_inf_structure()\n proc_name = inf.procName.lower()\n ...
0
{'name': '_dual_to_ugrid@uxarray/io/_mpas.py', 'description': 'Encodes the MPAS Dual-Mesh in the UGRID conventions.', 'signature': 'def _dual_to_ugrid(in_ds, out_ds):'}</s>{'name': '_parse_face_faces@uxarray/io/_mpas.py', 'description': 'Parses face-face connectivity for Primal Mesh.', 'code': 'def _parse_face_faces(in...
0
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'ApplyResult@src/api/python/z3/z3.py', 'description': 'An ApplyResult object contains the subgoals produced by a tactic when applied to a goal.\nIt also contain...
0
{'name': 'Iface.removeSupervisors@jstorm-on-yarn/src/main/gen-py/JstormAM/JstormAM.py', 'description': 'Parameters:\n - number', 'signature': 'def removeSupervisors(self, number):'}</s>{'name': 'ListBlobsResult@jstorm-core/src/main/py/storm/ttypes.py', 'description': 'Attributes:\n - keys\n - session', 'base_classes': ...
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_LBU = 16387
0
{'name': 'CheckStyle@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside co...
0
{'name': 'generate_flat_fields@scripts/generators/intermediate_files.py', 'description': 'Generate ecs_flat.yml', 'signature': 'def generate_flat_fields(fields: Dict[str, FieldEntry]) -> Dict[str, Field]:'}</s>{'name': 'remove_non_root_reusables@scripts/generators/intermediate_files.py', 'description': 'Remove field se...
1
{'name': 'associate_all@Pose2Sim/personAssociation.py', 'description': "For each frame,\n- Find all possible combinations of detected persons\n- Triangulate 'tracked_keypoint' for all combinations\n- Reproject the point on all cameras\n- Take combination with smallest reprojection error\n- Write json file with only one...
1
{'name': 'update_protocol@小红书/shumei_slide.py', 'description': '更新协议', 'signature': 'def update_protocol(protocol_num, js_uri):'}</s>{'name': 'pad@小红书/shumei_slide.py', 'description': '块填充', 'code': 'def pad(b):\n """\n 块填充\n """\n block_size = 8\n while len(b) % block_size:\n b += b\'\\0\'\n r...
0
{'name': '_drop_channels_func@mne_bids_pipeline/_import_data.py', 'description': 'Drop channels from the data.\n\nModifies ``raw`` in-place.', 'signature': 'def _drop_channels_func('}</s>{'name': '_read_raw_msg@mne_bids_pipeline/_import_data.py', 'description': 'DOCSTRING', 'code': 'def _read_raw_msg(\n bids_path_in...
0
{'name': 'generate_anchors@lib/rpn_util.py', 'description': 'Generates the anchors according to the configuration and\n(optionally) based on the imdb properties.', 'signature': 'def generate_anchors(conf, imdb, cache_folder):'}</s>{'name': 'draw_transparent_polygon@lib/util.py', 'description': 'DOCSTRING', 'code': 'def...
0
{'name': 'taproot_construct@test/functional/test_framework/script.py', 'description': 'Construct a tree of Taproot spending conditions\n\npubkey: a 32-byte xonly pubkey for the internal pubkey (bytes)\nscripts: a list of items; each item is either:\n - a (name, CScript or bytes, leaf version) tuple\n - ...
0
{'name': 'Rules.load@oslo_policy/policy.py', 'description': 'Allow loading of YAML/JSON rule data.\n\n.. versionadded:: 1.5.0', 'signature': 'def load(cls, data, default_rule=None):'}</s>AndCheck = _checks.AndCheck
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_CMD_SERVER_STATUS = 1233
0
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'ElfInfoCommand@gef.py', 'description': 'Display a lim...
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': 'HomographyTransform.__match_character@util/homg_trans.py', 'description': 'Find the tile where the character is located.\nResult will write into the corresponded tile in battle_map.\nDependencies: init_map_coordinate\n:param screen_trans: the color screen to find the arrow of the character\n:param battle_map:...
0
{'name': 'createHub@assemblyHub/halGenerateComparisonHub.py', 'description': 'Main method that organizes the creation of the meta-compartive hub.', 'signature': 'def createHub(target, genomes, opts):'}</s>{'name': 'parse_args@assemblyHub/halGenerateComparisonHub.py', 'description': 'Parses arguments from sys.argv.', 'c...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQXR_PUBLICATION = 30
0
{'name': 'main@robot_upstart/install_script.py', 'description': 'Implementation of the ``install`` script.', 'signature': 'def main():'}</s>{'name': 'Systemd@robot_upstart/providers.py', 'description': "The Systemd implementation places the user-specified files in ``/etc/ros/DISTRO/NAME.d``,\nand creates an systemd job...
1
{'name': 'TestConfigBase.tearDown@test/test_config.py', 'description': 'Test case common fixture teardown.', 'signature': 'def tearDown(self):'}</s>DEFAULT_LOCALDB_FILENAME = "aardvark.db"
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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_SECURITY_CASE_CONFLICT = 3303
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': 'TileMatrixSet.feature@morecantile/models.py', 'description': 'Get the GeoJSON feature corresponding to a tile.\n\nOriginally from https://github.com/mapbox/mercantile/blob/master/mercantile/__init__.py\n\nParameters\n----------\ntile : Tile or sequence of int\n May be be either an instance of Tile or 3 int...
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>MQXF_CB = 19
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': 'FancyPage.is_left@rst2pdf/createpdf.py', 'description': 'Default behavior is that the first page is on the left.\n\nIf the user has --first_page_on_right, the calculation is reversed.', 'signature': 'def is_left(self, page_num):'}</s>{'name': 'HeaderOrFooter@rst2pdf/createpdf.py', 'description': 'A helper obj...
0
{'name': 'XExtractParser.find_correction@linguee_api/parsers.py', 'description': 'Find the correction for a NOT FOUND page.', 'signature': 'def find_correction(self, page_html: str) -> Optional[str]:'}</s>SearchResultOrError = Union[SearchResult, ParseError, Correction, NotFound]
0
{'name': 'test_compilefun_nested@tests/test_compile_deco.py', 'description': 'tests that @compile_fun correctly compiles nested functions recursively', 'signature': 'def test_compilefun_nested():'}</s>{'name': 'is_compiled@tests/test_compile_deco.py', 'description': 'DOCSTRING', 'code': "def is_compiled(target):\n f...
1
{'name': 'UFPCA.transform@FDApy/preprocessing/dim_reduction/ufpca.py', 'description': "Apply dimensionality reduction to the data.\n\nThe functional principal components scores are defined as the\nprojection of the observation :math:`X_i` on the eigenfunction\n:math:`\\phi_k`. These scores are given by:\n\n.. math::\n ...
0
{'name': 'takePano@source/pi-timolo.py', 'description': 'Take a series of overlapping images using pantilt at specified PANO_CAM_STOPS\nthen attempt to stitch the images into one panoramic image. Note this\nwill take time so depending on number of cpu cores and speed. The PANO_TIMER\nshould be set to avoid multiple sti...
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': 'fillAvailableBlenderDists@BlendNet/addon.py', 'description': 'Cached blender dists list for the UI interface', 'signature': 'def fillAvailableBlenderDists(scene = None, context = None):'}</s>{'name': 'getProviderMessages@BlendNet/providers/__init__.py', 'description': 'Returns messages happening in the provid...
0
{'name': 'Driver.setParamInfo@pcaspy/driver.py', 'description': 'set PV meta info, limits, precision, limits, units.\n\n:param str reason: PV base name\n:param dict info: information dictionary, same as used in :meth:`SimpleServer.createPV`.\n\nThe new meta information will be pushed to registered clients the next time...
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': 'normalize_path@tools/warn/warn_common.py', 'description': 'Normalize file p...
0
{'name': 'Scheduler.check_task_status@spider/core/scheduler.py', 'description': '检查任务状态 预警', 'signature': 'def check_task_status(self):'}</s>{'name': 'ItemBuffer@spider/buffer/item_buffer.py', 'description': 'DOCSTRING', 'base_classes': ['threading.Thread', 'Singleton'], 'methods': [{'name': 'ItemBuffer.__init__@spider...
0
{'name': 'parse_extrinsics@fairnr/data/geometry.py', 'description': 'this function is only for numpy for now', 'signature': 'def parse_extrinsics(extrinsics, world2camera=True):'}</s>{'name': 'cross@fairnr/data/geometry.py', 'description': 'DOCSTRING', 'code': 'def cross(x, y, axis=0):\n T = torch if isinstance(x, t...
0
{'name': 'generate_files@scripts/update_api.py', 'description': 'Scan the api files in ``api_files`` and emit the relevant API files into\nthe output directories specified. If an output directory is set to ``None``\nthen the files for that language binding or module are not emitted.\n\nThe reason for this function inte...
0
{'name': 'TestMQTTPublisherDisconnect.test_disconnect_6@src/mqtt/client/test/test_publisher.py', 'description': 'connect with persistent session, generate a deferred , rebuilds protocol', 'signature': 'def test_disconnect_6(self):'}</s>__all__ = [ 'v31', 'v311', 'PY2', ]
0
{'name': 'KadenzeClient.download_all_courses_videos@kadenze_dl/kadenzeclient.py', 'description': 'main function to download all courses videos', 'signature': 'def download_all_courses_videos(self) -> None: # pragma: no cover'}</s>{'name': 'get_courses_from_json@kadenze_dl/utils.py', 'description': 'DOCSTRING', 'code':...
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': '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': 'read_archived_xml@eoreader/utils.py', 'description': 'Overload of sertit.files.read_archived_xml to cache its reading:\nthis operation is expensive when done with large archives (especially tars) stored on the cloud (and thus better done only once)', 'signature': 'def read_archived_xml(archive_path: AnyPathSt...
0
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat...
0
{'name': 'focal_tversky_loss@dpipe/torch/functional.py', 'description': 'References\n----------\n`Focal Tversky Loss https://arxiv.org/abs/1810.07842`_', 'signature': 'def focal_tversky_loss(pred: torch.Tensor, target: torch.Tensor, gamma=4 / 3, alpha=0.5, epsilon=1e-7):'}</s>{'name': 'loss_with_logits@dpipe/torch/func...
0
{'name': 'BertTokenizer.save_vocabulary@albert/albert_zh/tokenization_bert.py', 'description': 'Save the tokenizer vocabulary to a directory or file.', 'signature': 'def save_vocabulary(self, vocab_path):'}</s>{'name': '_is_control@albert/albert_zh/tokenization_bert.py', 'description': 'Checks whether `chars` is a cont...
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>FLOWCONTROL_SUSPEND = b'\x08'
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': '_GenerateMSVSProject@gyp/pylib/gyp/generator/msvs.py', 'description': 'Generates a .vcproj file. It may create .rules and .user files too.\n\nArguments:\n project: The project object we will generate the file for.\n options: Global options passed to the generator.\n version: The VisualStudioVersion object...
0
{'name': 'Device.open@src/LabJackPython.py', 'description': 'Device.open(devType, Ethernet=False, firstFound = True, serial = None, localId = None, devNumber = None, ipAddress = None, handleOnly = False, LJSocket = None)\n\nOpen a device of type devType. ', 'signature': 'def open(self, devType, Ethernet=False, firstFou...
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>startup_screen_3 = "- veuillez insérer des pièces -"
0
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'InvalidUriChar@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['InvalidLink'], 'meth...
0