text
string
label
int64
{'name': 'FancyPage.afterDrawPage@rst2pdf/createpdf.py', 'description': 'Draw header/footer.', 'signature': 'def afterDrawPage(self, canv, doc):'}</s>{'name': 'DocutilsInterface@rst2pdf/directives/code_block.py', 'description': 'Parse `code` string and yield "classified" tokens.\n\nArguments\n\n code -- string of ...
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PFSTATE_SLOPPY = 2
0
{'name': 'get_image_descriptor@s2e_env/utils/images.py', 'description': "Load the image's JSON descriptor.\n\nArgs:\n image_dir: directory containing a built image.\n\nReturns:\n A dictionary that describes the given image.", 'signature': 'def get_image_descriptor(image_dir):'}</s>{'name': 'ImageDownloader@s2e_en...
0
{'name': 'create_eval_input_fn@object_detection/inputs.py', 'description': 'Creates an eval `input` function for `Estimator`.\n\nArgs:\n eval_config: An eval_pb2.EvalConfig.\n eval_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator` in ...
0
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_navigation_ob...
0
{'name': 'ParseCodeLine@vimdoc/parser.py', 'description': 'Parses one line of code and creates the appropriate CodeLine.', 'signature': 'def ParseCodeLine(line):'}</s>{'name': 'SubSection@vimdoc/docline.py', 'description': 'DOCSTRING', 'base_classes': ['BlockDirective'], 'methods': [{'name': 'SubSection.Assign@vimdoc/d...
0
{'name': 'Work.delete_bookmark@AO3/works.py', 'description': "Removes a bookmark from this work\nThis function is threadable\n\nRaises:\n utils.UnloadedError: Work isn't loaded\n utils.AuthError: Invalid session", 'signature': 'def delete_bookmark(self):'}</s>{'name': 'Comment@AO3/comments.py', 'description': 'AO...
0
{'name': 'from_tk@discopy/quantum/tk.py', 'description': 'Translates from tket to discopy.', 'signature': 'def from_tk(tk_circuit):'}</s>{'name': 'Rz@discopy/quantum/gates.py', 'description': 'Z rotations. ', 'base_classes': ['AntiConjugate', 'Rotation'], 'methods': [{'name': 'Rz.array@discopy/quantum/gates.py', 'descr...
1
{'name': 'MaskedArray.__imul__@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Multiply self by other in-place.', 'signature': 'def __imul__(self, other):'}</s>{'name': '_check_mask_axis@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Check whether there are masked values along the given axis', 'cod...
0
{'name': 'SetCriterion.loss_boxes@models/detr.py', 'description': 'Compute the losses related to the bounding boxes, the L1 regression loss and the GIoU loss\ntargets dicts must contain the key "boxes" containing a tensor of dim [nb_target_boxes, 4]\nThe target boxes are expected in format (center_x, center_y, w, h), n...
0
{'name': 'CenterROIHeads._forward_mask@centermask/modeling/centermask/center_heads.py', 'description': 'Forward logic of the mask prediction branch.\n\nArgs:\n features (dict[str, Tensor]): mapping from feature map names to tensor.\n Same as in :meth:`ROIHeads.forward`.\n instances (list[Instances]): the p...
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': 'ProAntiSaccades.upload_stimuli@demo_experiments/anti_saccades.py', 'description': 'Uploads all relevant stimuli to Pro Lab. They are\n\n* Central fixation point\n\n* Prosaccade left\n* Prosaccade right\n* Practice instruction text prosaccade\n* Instruction text prosaccade\n\n* Antisaccade left\n* Antisaccade ...
0
{'name': 'resolve_by_name@designateclient/v2/utils.py', 'description': 'Helper to resolve a "name" a\'la foo.com to it\'s ID by using REST api\'s\nquery support and filtering on name.', 'signature': 'def resolve_by_name(func, name, *args):'}</s>{'name': 'Unknown@designateclient/exceptions.py', 'description': 'DOCSTRING...
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': 'ZiGate._tag_missing@zigate/core.py', 'description': 'tag a device as missing', 'signature': 'def _tag_missing(self, addr):'}</s>ZIGATE_DEVICE_ADDED = "ZIGATE_DEVICE_ADDED"
0
{'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>GEN_ADDON_README_EXTRA_ARG...
0
{'name': 'imfilter2D_FrequencyDomain@training_codes/utils/utils_model.py', 'description': 'If the input and the kernel are both multichannel tensors then each\nchannel of the input is filtered by the corresponding channel of the \nkernel.Otherwise, if kernel has a single channel each channel of the input\nis filtered b...
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_CAPS_LOCK = 280
0
{'name': 'ghh@layers.py', 'description': 'GHH layer\n\nLATER: Make it more efficient', 'signature': 'def ghh(inputs, num_in_sum, num_in_max, data_format="NHWC"):'}</s>{'name': 'conv2d_unet@layers.py', 'description': 'Creates a new convolutional unet for the given parametrization.\n\n:param x: input tensor, shape [?,nx,...
0
{'name': 'NewDatabase.write_superstructure_db_to_brightway@premise/new_database.py', 'description': 'Register a super-structure database,\naccording to https://github.com/dgdekoning/brightway-superstructure\n:param name: name of the super-structure database\n:param filepath: filepath of the "scenarios difference file"\...
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': 'reduce@polytope/polytope.py', 'description': 'Remove redundant inequalities from the hyperplane representation.\n\nUses the algorithm described at [1],\nby solving one LP for each facet.\n\n[1] https://www.cs.mcgill.ca/~fukuda/soft/polyfaq/node24.html\n\nWarning:\n - nonEmptyBounded == 0 case is not tested m...
0
{'name': 'DNSIncoming.readOthers@stino/pyarduino/base/zeroconf.py', 'description': 'Reads the answers, authorities and additionals section of the\npacket', 'signature': 'def readOthers(self):'}</s>_UNREGISTER_TIME = 125
0
{'name': 'GDAL2Tiles.open_input@auxiliary/gdal2customtiles/legacy/gdal2tiles_3.5.2.py', 'description': 'Initialization of the input raster, reprojection if necessary', 'signature': 'def open_input(self) -> None:'}</s>{'name': 'setup_input_srs@auxiliary/gdal2customtiles/legacy/gdal2tiles_3.5.2.py', 'description': 'Deter...
1
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQAUTHOPT_ENTITY_SET = 2
0
{'name': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'IsFile@voluptuous/validators.py', 'description': 'Verify the file exists.\n\n>>> os.path.basename(IsFile()(__file__)).star...
0
{'name': 'PapermillIO.get_handler@papermill/iorw.py', 'description': 'Get I/O Handler based on a notebook path\n\nParameters\n----------\npath : str or nbformat.NotebookNode or None\nextensions : list of str, optional\n Required file extension options for the path (if path is a string), which\n will log a warning...
0
{'name': 'Router._send_remote@da/sim.py', 'description': 'Forward `mesg` to remote process `dest`.\n\n ', 'signature': 'def _send_remote(self, src, dest, mesg, flags=0, transport=None, **params):'}</s>{'name': 'ConstantPattern@da/pattern.py', 'description': 'DOCSTRING', 'base_classes': ['PatternElement'], 'metho...
0
{'name': 'ImportErrorTests.test_no_module@didyoumean/didyoumean_sugg_tests.py', 'description': "Should be 'math'.", 'signature': 'def test_no_module(self):'}</s>OBJECTDOESNOTSUPPORT = (TypeError, re.OBJ_DOES_NOT_SUPPORT_RE)
0
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>logger = logging.getLogger(__name__)
1
{'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': 'dictOf@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper to easily and clearly define a dictionary by specifying the respective patterns\nfor the key and value. Takes care of defining the C{L{Dict}}, C{L{ZeroOrMore}}, and C{L{Group}} tokens\nin the proper order. The key pattern ...
0
{'name': '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': 'FPNumRef@src/api/python/z3/z3.py', '...
0
{'name': 'TestThresholdBased.test_basic@verif/tests/test_metric.py', 'description': 'Test the basic threshold-based metrics ', 'signature': 'def test_basic(self):'}</s>{'name': 'FromField@verif/metric.py', 'description': 'DOCSTRING', 'base_classes': ['Metric'], 'methods': [{'name': 'FromField.__init__@verif/metric.py',...
0
{'name': 'LogisticRegression.compute_on_sql_magic_mode@models.py', 'description': 'Gets the coefficients by minimizing the cost function.\n\nWe use iteratively reweighted least squares algorithm to solve the model.\nThe algorithm is described in\nhttps://colab.research.google.com/drive/1Srfs4weM4LO9vt1HbOkGrD4kVbG8cso8...
0
{'name': 'now@yaql/standard_library/date_time.py', 'description': ':yaql:now\n\nReturns the current local date and time.\n\n:signature: now(offset => timespan(0))\n:arg offset: datetime offset in microsecond resolution, needed for tzinfo,\n timespan(0) by default\n:argType offset: timespan type\n:returnType: datetim...
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': '_exception_closes_worker_guard@gp_query.py', 'description': 'Temporarily closes _multi_query for current worker.\n\nThis is a workaround for SCOOP\'s map otherwise having already dispatched\nfurther work to this worker, despite an exception of a previous _multi_query\nnot being handled in origin yet.\n\nAn ex...
0
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre...
0
{'name': '_IsType@tools/cpplint.py', 'description': 'Check if expression looks like a type name, returns true if so.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n nesting_state: A NestingState instance which maintains information about\n the current stack of nested blocks bei...
0
{'name': 'add_main_cli@rivalcfg/cli.py', 'description': 'Adds the main CLI options.\n\n:param ArgumentParser cli_parser: An :class:`ArgumentParser` instance.', 'signature': 'def add_main_cli(cli_parser):'}</s>{'name': 'UnsupportedDevice@rivalcfg/devices/__init__.py', 'description': 'Exception raised when the requested ...
0
{'name': 'forward@transformers_learn_icl_by_gd/src/train.py', 'description': 'Transformer forward.', 'signature': 'def forward(tokens: jnp.ndarray, is_training: bool, gd: bool):'}</s>{'name': 'compute_loss@transformers_learn_icl_by_gd/src/train.py', 'description': 'DOCSTRING', 'code': 'def compute_loss(preds, targets):...
0
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>Filters = FilterManager(RHAPI)
0
{'name': 'get_domain_literal@src/future/backports/email/_header_value_parser.py', 'description': 'domain-literal = [CFWS] "[" *([FWS] dtext) [FWS] "]" [CFWS]\n\n ', 'signature': 'def get_domain_literal(value):'}</s>{'name': '_find_mime_parameters@src/future/backports/email/_header_value_parser.py', 'description': 'D...
0
{'name': 'get_plugins@lib/ddupdate/main.py', 'description': 'Handles plugin listing, plugin help or load plugins.\n\nReturn: (auth_plugin, ip plugin, service plugin) tuple.', 'signature': 'def get_plugins(opts, log, sections):'}</s>{'name': 'ip_cache_clear@lib/ddupdate/main.py', 'description': 'Remove the cache file fo...
0
{'name': 'jitcode.generate_lambdas@jitcode/_jitcode.py', 'description': 'If they do not already exists, this generates lambdified functions by calling `self.generate_f_lambda()` and, if wanted, `generate_jac_lambda()`.', 'signature': 'def generate_lambdas(self):'}</s>{'name': 'jitcode_restricted_lyap@jitcode/_jitcode.p...
0
{'name': 'NewDatabase.__import_inventories@premise/new_database.py', 'description': 'This method will trigger the import of a number of pickled inventories\nand merge them into the database dictionary.', 'signature': 'def __import_inventories(self) -> List[dict]:'}</s>{'name': 'check_time_horizon@premise/new_database.p...
0
{'name': 'ActivationChecker._check_all_lights_off@script.service.hue/resources/lib/lightgroup.py', 'description': 'Checks if ALL the lights in the given scene are off', 'signature': 'def _check_all_lights_off(self, scene_id, all_light_states):'}</s>STATE_PLAYING = 1
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': 'MaskRCNN.get_anchors@Mask_RCNN/mrcnn/model.py', 'description': 'Returns anchor pyramid for the given image size.', 'signature': 'def get_anchors(self, image_shape):'}</s>{'name': 'MaskRCNN@Mask_RCNN/mrcnn/model.py', 'description': 'Encapsulates the Mask RCNN model functionality.\n\nThe actual Keras model is i...
1
{'name': 'point_target@mmdet/core/anchor/point_target.py', 'description': 'Compute corresponding GT box and classification targets for proposals.\n\nArgs:\n points_list (list[list]): Multi level points of each image.\n valid_flag_list (list[list]): Multi level valid flags of each image.\n gt_bboxes_list (list[...
0
{'name': 'PrintUsage@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Prints a brief usage string and exits, optionally with an error message.\n\nArgs:\n message: The optional error message.', 'signature': 'def PrintUsage(message):'}</s>C_STANDARD_HEADER_FOLDERS = frozenset([ # standard C library "sys"...
0
{'name': 'main@setup.py', 'description': 'Main function.', 'signature': 'def main():'}</s>{'name': 'SDist@setup.py', 'description': 'Custom sdist command that copies the pytest configuration file into the\npackage.', 'base_classes': ['setuptools.command.sdist.sdist'], 'methods': [{'name': 'SDist.run@setup.py', 'descrip...
1
{'name': 'add_platforms@delocate/wheeltools.py', 'description': "Add platform tags `platforms` to `in_wheel` filename and WHEEL tags.\n\nAdd any platform tags in `platforms` that are missing from `in_wheel`\nfilename.\n\nAdd any platform tags in `platforms` that are missing from `in_wheel`\n``WHEEL`` file.\n\nParameter...
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>MQCACF_SYSP_SERVICE = 3123
0
{'name': 'IUSequence.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this sequence as a dict', 'signature': 'def as_dict(self, extended=False, sqr: IUSequenceRun = None) -> OrderedDict:'}</s>TIMELINE_SCHEDULE_NAME = "schedule_name"
0
{'name': 'NoteTrajectory.seq_to_trajectory@robopianist/music/midi_file.py', 'description': 'Converts a NoteSequence into a time series representation.', 'signature': 'def seq_to_trajectory('}</s>MAX_KEY_NUMBER = 87
0
{'name': 'ProcessFileData@tools/caffe-sphereface/scripts/cpp_lint.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 strin...
0
{'name': 'PollingFuture._invoke_callbacks@stream/clients/python/bookkeeper/common/future/polling.py', 'description': 'Invoke all done callbacks.', 'signature': 'def _invoke_callbacks(self, *args, **kwargs):'}</s>{'name': 'ClientError@stream/clients/python/bookkeeper/common/exceptions.py', 'description': 'Base class for...
0
{'name': 'TensorFlowCallVisitor._get_attribute_full_path@Chapter01/tf_upgrade.py', 'description': 'Traverse an attribute to generate a full name e.g. tf.foo.bar.\nArgs:\n node: A Node of type Attribute.\nReturns:\n a \'.\'-delimited full-name or None if the tree was not a simple form.\n i.e. `foo()+b).bar` returns N...
0
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'Any@voluptuous/validators.py', 'description': 'Use the first validated value.\n\n:param msg: Message to deliver to user if validation fails.\n:param kwargs: All other keyword a...
0
{'name': 'Simulation.set_classes@ciw/simulation.py', 'description': 'Sets the type of ArrivalNode, Node, Exit Node, Individual,\nand Server classes being used in the Simulation model.', 'signature': 'def set_classes('}</s>{'name': 'ExactNode@ciw/exactnode.py', 'description': 'Inherits from the Node class, implements a ...
0
{'name': 'MatchListener.exitPropTestOrder@stix2matcher/matcher.py', 'description': "Consumes an observation data map, {obs_id: {...}, ...}, representing\n selected values from Cyber Observable objects in each observation\n (grouped by observation index and root Cyber Observable object ID).\n See exitObjectPath().\nP...
0
{'name': 'test_admin_works_with_host_special_values@test/io/test_io.py', 'description': 'Should get a success from the admin live and ready endpoints when using special host values for the main app', 'signature': 'def test_admin_works_with_host_special_values(specialhostvalue, defaultenv):'}</s>{'name': 'test_isolation...
0
{'name': '_GetTextInside@scripts/cpplint.py', 'description': "Retrieves all the text between matching open and close parentheses.\n\nGiven a string of lines and a regular expression string, retrieve all the text\nfollowing the expression and between opening punctuation symbols like\n(, [, or {, and the matching close-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': 'parse_object_canned_acl@qcloud_cos/cos_comm.py', 'description': '根据ACL返回的body信息,以及default头部来判断CannedACL', 'signature': 'def parse_object_canned_acl(result_acl, rsp_headers):'}</s>{'name': 'get_date@qcloud_cos/cos_comm.py', 'description': '获取lifecycle中Date字段', 'code': 'def get_date(yy, mm, dd):\n """获取lifec...
0
{'name': '_NestingState.Update@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Update nesting state with current 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: T...
0
{'name': 'Cursor.getmulti@lmdb/cffi.py', 'description': "Returns an iterable of `(key, value)` 2-tuples containing results\nfor each key in the iterable `keys`.\n\n `keys`:\n Iterable to read keys from.\n\n `dupdata`:\n If ``True`` and database was opened with `dupsort=True`, read\n all dupli...
0
{'name': 'ContentsAddon.maybe_add_one_path@py/jupyterlite-core/jupyterlite_core/addons/contents.py', 'description': "add a file or folder's contents (if not ignored)", 'signature': 'def maybe_add_one_path(self, path, root=None):'}</s>{'name': 'has_optional_dependency@py/jupyterlite-core/jupyterlite_core/optional.py', '...
0
{'name': 'test_lex_line_counting_multi@tests/test_reader.py', 'description': 'Make sure we can do multi-line tokenization', 'signature': 'def test_lex_line_counting_multi():'}</s>{'name': 'test_escapes@tests/test_reader.py', 'description': 'DOCSTRING', 'code': 'def test_escapes():\n s = lambda x: tokenize(x)[0]\n\n ...
0
{'name': 'StrategyFactory.make_strategy@tradingbot/strategies/factories.py', 'description': 'Create and return an instance of the Strategy class specified by\nthe strategy_name\n\n - **strategy_name**: name of the strategy as defined in the json\n config file\n - Returns an instance of the requested Strategy...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQSECITEM_MXADMIN = 7
0
{'name': 'writeInitialize@cxxtest/cxxtestgen.py', 'description': 'Write CxxTest::initialize(), which replaces static initialization', 'signature': 'def writeInitialize(output):'}</s>gui = None
0
{'name': 'Temp_Tree.get_file_list@freezer/tests/integration/common.py', 'description': 'walks the dir tree and creates a list of relative pathnames\n:return: list of relative file paths', 'signature': 'def get_file_list(self):'}</s>{'name': 'execute_freezerc@freezer/tests/integration/common.py', 'description': ':param ...
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>MQRQ_SUB_DEST_NOT_AUTHORIZED = 18
0
{'name': 'test_custom_caster_destruction@pybind11/tests/test_custom_type_casters.py', 'description': 'Tests that returning a pointer to a type that gets converted with a custom type caster gets\ndestroyed when the function has py::return_value_policy::take_ownership policy applied.', 'signature': 'def test_custom_caste...
0
{'name': 'generate_docs_only_paths@scripts/schema/subset_filter.py', 'description': "Returns a list of field paths: ['process.same_as_process'] for subset fields\nmarked as `docs_only: True`", 'signature': 'def generate_docs_only_paths('}</s>{'name': 'load_subset_definitions@scripts/schema/subset_filter.py', 'descripti...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQZAC_STRUC_ID = b'ZAC '
0
{'name': '_fold_bn_pact@nemo/transf/bn.py', 'description': 'Performs batch-normalization folding following the algorithm presented in\nhttps://arxiv.org/abs/1905.04166. It performs both normal folding and inverse\nfolding using two separate dictionaries `bn_dict` and `bn_inv_dict`.\n\n:param bn_dict: a dictionary of la...
1
{'name': 'GlacierDirectory.__init__@oggm/utils/_workflow.py', 'description': "Creates a new directory or opens an existing one.\n\nParameters\n----------\nrgi_entity : a ``geopandas.GeoSeries`` or str\n glacier entity read from the shapefile (or a valid RGI ID if the\n directory exists)\nbase_dir : str\n path ...
0
{'name': '_soffice_process@droppdf/apps/apps/annotator/views.py', 'description': 'create processed file,upload to s3, store ref', 'signature': 'def _soffice_process(tempfile_path, filename, md5_hash, process_type):'}</s>{'name': 'download_static@droppdf/apps/apps/annotator/views.py', 'description': 'to download documen...
0
{'name': 'get_reprs_at_word_tokens@rome/repr_tools.py', 'description': 'Retrieves the last token representation of `word` in `context_template`\nwhen `word` is substituted into `context_template`. See `get_last_word_idx_in_template`\nfor more details.', 'signature': 'def get_reprs_at_word_tokens('}</s>{'name': 'get_par...
0
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>{'na...
0
{'name': 'test_ssl_env@cheroot/test/test_ssl.py', 'description': 'Test the SSL environment generated by the SSL adapters.', 'signature': 'def test_ssl_env( # noqa: C901 # FIXME'}</s>IS_WIN2016 = IS_WINDOWS # pylint: disable=unsupported-membership-test and b'Microsoft Windows Server 2016 Datacenter' in subproc...
0
{'name': 'CheckBraces@tools/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors fou...
0
{'name': 'get_intervals_to_process@emissionsapi/autoupdater.py', 'description': 'Get all intervals with associated product files to process.\nIntervals with existing data will be skipped.\n\n:param session: SQLAlchemy Session\n:type session: sqlalchemy.orm.session.Session\n:param table: Table to search for existing dat...
1
{'name': 'device_removed@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is removed', 'signature': 'def device_removed(notification):'}</s>ERROR_USAGE = 0
0
{'name': 'test_server_interrupt@cheroot/test/test_server.py', 'description': 'Check that assigning interrupt stops the server.', 'signature': 'def test_server_interrupt(exc_cls):'}</s>IS_WINDOWS = SYS_PLATFORM == 'Windows'
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': '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': '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': '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>require = None
0
{'name': 'Test.test_MCD43A4@tests/test_image.py', 'description': 'Test the image module for MCD43A4', 'signature': 'def test_MCD43A4(self):'}</s>MOD11A2 = ee.ImageCollection("MODIS/006/MOD11A2").first()
0
{'name': 'Mapping.mapper_func@goblin/mapper.py', 'description': 'Function responsible for mapping db results to ogm', 'signature': 'def mapper_func(self):'}</s>{'name': 'ClientError@goblin/exception.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': []}
0
{'name': 'Lexer.tokeniter@third_party/dawn/third_party/jinja2/lexer.py', 'description': 'This method tokenizes the text and returns the tokens in a\ngenerator. Use this method if you just want to tokenize a template.\n\n.. versionchanged:: 3.0\n Only ``\\n``, ``\\r\\n`` and ``\\r`` are treated as line\n breaks.',...
0
{'name': '_exec_and_log@imagegw/shifter_imagegw/transfer.py', 'description': 'Execute a command and log the results to logger', 'signature': 'def _exec_and_log(cmd, logger):'}</s>{'name': '_get_stdout_and_log@imagegw/shifter_imagegw/transfer.py', 'description': 'Execute a command and return stdout and stderr. Log the r...
0
{'name': 'add_common_flags@agfusion/cli.py', 'description': 'Add commaond line flags that are common to multiple sub parsers', 'signature': 'def add_common_flags(parser):'}</s>GENOME_SHORTCUTS = { "GRCm38": ["mus_musculus", MAX_ENSEMBL_RELEASE], "mm10": ["mus_musculus", MAX_ENSEMBL_RELEASE], "mm9": ["mus_mu...
0
{'name': 'func@python/taichi/lang/kernel_impl.py', 'description': 'Marks a function as callable in Taichi-scope.\n\nThis decorator transforms a Python function into a Taichi one. Taichi\nwill JIT compile it into native instructions.\n\nArgs:\n fn (Callable): The Python function to be decorated\n is_real_function ...
0