text
string
label
int64
{'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': 'CheckForNonConstReference@third_party/cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance conta...
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': 'test_copy_in_s3_file_with_remote@tests/bundles/test_file_bundle_api.py', 'description': 'Test copying in s3 file\nThe file should be copied into the remote context', 'signature': 'def test_copy_in_s3_file_with_remote(run_test):'}</s>{'name': 'pull@disdat/api.py', 'description': 'Pull bundles from the remote c...
0
{'name': '_JS.__decode_event@ros_ws/src/crazyswarm/scripts/pycrazyswarm/linuxjsdev.py', 'description': 'Decode a jsdev event into a dict ', 'signature': 'def __decode_event(self, jsdata):'}</s>__all__ = ['Joystick']
0
{'name': 'TLP.set_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completion for TLP', 'signature': 'def set_completion(self, tlp, completer_id, has_data=False, status=CPL_STATUS_SC):'}</s>TLP_PREFIX_VENDOR_L1 = (FMT_TLP_PREFIX, 0x0F)
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': 'BaseAlert.configure@graphite_beacon/alerts.py', 'description': 'Configure the alert.', 'signature': 'def configure(self, name=None, rules=None, query=None, **options):'}</s>HISTORICAL = "historical"
0
{'name': 'sniffPossibleFeed@src/feedvalidator/__init__.py', 'description': 'Use wild heuristics to detect something that might be intended as a feed.', 'signature': 'def sniffPossibleFeed(rawdata):'}</s>{'name': 'InvalidReviewerType@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['InvalidVal...
0
{'name': 'convert_to_nii@dvn/utils.py', 'description': 'Convert image files to nifti image files.', 'signature': 'def convert_to_nii(filenames):'}</s>{'name': 'convert_dicom@dvn/utils.py', 'description': 'converts dicom series to image format specified in path.\n\nParameters\n----------\nsource_path : string\n path ...
0
{'name': 'merge@linopy/expressions.py', 'description': 'Merge multiple expression together.\n\nThis function is a bit faster than summing over multiple linear expressions.\nIn case a list of LinearExpression with exactly the same shape is passed\nand the dimension to concatenate on is TERM_DIM, the concatenation uses\n...
0
{'name': 'MPEServiceCommand.publish_proto_in_ipfs@snet/cli/commands/mpe_service.py', 'description': 'Publish proto files in ipfs and print hash ', 'signature': 'def publish_proto_in_ipfs(self):'}</s>{'name': 'load_mpe_service_metadata@snet/cli/metadata/service.py', 'description': 'DOCSTRING', 'code': 'def load_mpe_serv...
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': 'encode@src/future/backports/email/_encoded_words.py', 'description': "Encode string using th...
0
{'name': 'summaryReport@pipelines/pipeline_scxl.py', 'description': 'Prepare a PDF summary report.', 'signature': 'def summaryReport(infile, outfile):'}</s>{'name': 'markerReport@pipelines/pipeline_scxl.py', 'description': 'Prepare a PDF report visualising the discovered cluster markers', 'code': 'def markerReport(infi...
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': 'Uda_lightweight.generate_descriptors@src/scripts/uda2xmf.py', 'description': '!\n@brief Generates h5 and xmf files in order.\n\n@param h5_handle handle of the opened h5 file\n@param xmf_handle handle of the opened xmf file\n@return None', 'signature': 'def generate_descriptors(self, h5_handle, xmf_handle):'}<...
0
{'name': 'DebuggerAPI.do_resume_packet_in@tools/p4dbg.py', 'description': 'Start accepting packets into the switch again (undoes stop_packet_in)', 'signature': 'def do_resume_packet_in(self, line):'}</s>{'name': 'Msg@tools/p4dbg.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Msg.__in...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_NESTED_BAG_NOT_SUPPORTED = 2325
0
{'name': 'libmain@da/__main__.py', 'description': "Main program entry point.\n\nParses command line options, sets up global variables, and calls the 'main'\nfunction of the DistAlgo program.", 'signature': 'def libmain():'}</s>CONSOLE_LOG_FORMAT = "[%(relativeCreated)d] %(name)s<%(processName)s>:%(levelname)s: %(messag...
0
{'name': 'BIDSLayout.add_derivatives@src/bids/layout/layout.py', 'description': 'Add BIDS-Derivatives datasets to tracking.\n\nParameters\n----------\npath : str or list\n One or more paths to BIDS-Derivatives datasets.\n Each path can point to either a derivatives/ directory\n containing one or more pipeline ...
0
{'name': 'uniq_user_id@app/util/analytics/analytics_utils.py', 'description': 'Create a user ID for the run, encoded with a secure hash.\n\n:param: server_url: URL to the product instance on which tests were running.\n:return: user ID.', 'signature': 'def uniq_user_id(server_url: str):'}</s>OS = {'macOS': ['Darwin'], '...
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>{'name': 'QuantifierRef@src/api/python/z3/z3.py', 'd...
0
{'name': 'write@code/html/generate_static_website.py', 'description': 'Writes a generated HTML page to a file, but checks with a HTML parser before.\n:param text:\n:param file:', 'signature': 'def write(text, path):'}</s>{'name': 'convert_inspirations@code/html/generate_static_website.py', 'description': ':param inspir...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQBACF_MQCBD_STRUCT = 7024
0
{'name': 'graph@python/DisplayTests.py', 'description': 'Send the given graph file (a .gif) back to the user.', 'signature': 'def graph(req, type, revision, machine, buildType, graphName, timestamp=None):'}</s>{'name': '_formatRunTime@python/DisplayTests.py', 'description': 'Return a human-readable version of the given...
0
{'name': 'bustools_project@kb_python/count.py', 'description': 'Runs `bustools project`.\n\n bus_path: Path to BUS file to sort\n out_dir: Path to output directory\n map_path: Path to file containing source-to-destination mapping\n ecmap_path: Path to ecmap file, as generated by `kallisto bus`\n txnames_...
0
{'name': '_PhenotypicPhasePlaneChunkEvaluator.mass_yield@cameo/flux_analysis/analysis.py', 'description': 'gram product divided by gram of feeding source\n\nonly defined when we have only one product (as defined by the model\nobjective) and only one compound as carbon source (as defined by the\nmodel medium).\n\nReturn...
0
{'name': 'generate_calibration_cache@shenlan_homework_bert/builder.py', 'description': 'BERT demo needs a separate engine building path to generate calibration cache.\nThis is because we need to configure SLN and MHA plugins in FP32 mode when\ngenerating calibration cache, and INT8 mode when building the actual engine....
0
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'test_named_tuples_validate_as_tuples@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': "def test_named_tuples_validate_as_tuples():\n NT = collections.namedtup...
0
{'name': 'PUBLISH.decode@src/mqtt/pdu.py', 'description': 'Decode a PUBLISH control packet. ', 'signature': 'def decode(self, packet):'}</s>{'name': 'decodeLength@src/mqtt/pdu.py', 'description': 'Decodes a variable length value defined in the MQTT protocol.\nThis value typically represents remaining field lengths', 'c...
0
{'name': 'on_load_data@src/server/server.py', 'description': 'Allow pages to load needed data', 'signature': 'def on_load_data(data):'}</s>{'name': 'db_init@src/server/server.py', 'description': 'Initialize database.', 'code': "def db_init(nofill=False):\n '''Initialize database.'''\n RaceContext.rhdata.db_init(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>MQSMPO_NONE = 0
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': 'overwrites_mem@panoramix/simplify.py', 'description': "for a given line, returns True if it potentially\noverwrites *any part* of memory index, False if it *for sure* doesn't", 'signature': 'def overwrites_mem(line, mem_idx):'}</s>{'name': 'make_range@panoramix/simplify.py', 'description': 'DOCSTRING', 'code'...
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>MQRC_SELECTOR_LIMIT_EXCEEDED = 2066
0
{'name': 'write_order@robust_serial/robust_serial.py', 'description': ':param f: file handler or serial file\n:param order: (Order Enum Object)', 'signature': 'def write_order(f: BinaryIO, order: Order) -> None:'}</s>{'name': 'write_i32@robust_serial/robust_serial.py', 'description': ':param f: file handler or serial f...
0
{'name': '_convert_to_example@utils/wholeslideimages/build_image_data.py', 'description': "Build an Example proto for an example.\nArgs:\n filename: string, path to an image file, e.g., '/path/to/example.JPG'\n image_buffer: string, JPEG encoding of RGB image\n label: integer, identifier for the ground truth for the...
0
{'name': 'InitiatorConnector.factory@os_brick/initiator/connector.py', 'description': 'Build a Connector object based upon protocol and architecture.', 'signature': 'def factory(protocol, root_helper, driver=None,'}</s>OS_TYPE_LINUX = "LINUX"
0
{'name': 'HomographyTransform.bfs_search@util/homg_trans.py', 'description': 'Do a BFS search on battle_map starting from start_tile.\nThe object on start_tile will be ignored.\n:param battle_map: map created by create_map()\n:param start_tile: the index of the tile to start BFS\n:return: found_enemies and found_suppli...
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': 'CIFAR10.__getitem__@gandogs/datasets.py', 'description': 'Args:\n index (int): Index\nReturns:\n tuple: (image, target) where target is index of the target class.', 'signature': 'def __getitem__(self, index):'}</s>{'name': 'get_origin_max_crop@gandogs/datasets.py', 'description': 'DOCSTRING', 'code': 'd...
0
{'name': 'athena_source@05_explore/data-wrangler/99_GENERATED_Python_Code.py', 'description': 'Represents a source that handles Athena.\n\nNote: Input dataset_definition is a Mohave specific dataset definition and is different from Processing Job\ndataset definition.', 'signature': 'def athena_source(spark, mode, datas...
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>MQSCO_RESET_COUNT_DEFAULT = 0
0
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'IpamStatistics@infoblox_client/objects.py', 'description': "IpamStatistics: I...
0
{'name': 'SendClient.send_message@uamqp/client.py', 'description': 'Send a single message or batched message.\n\n:param messages: A message to send. This can either be a single instance\n of `Message`, or multiple messages wrapped in an instance of `BatchMessage`.\n:type message: ~uamqp.message.Message\n:param close_on...
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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_SOURCE_BUFFER_ERROR = 2145
0
{'name': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>{'name': 'IUSchedule@custom_components/irrigation_unlimited/irrigation_unlimited.p...
0
{'name': 'GitlabTree.print_tree@gitlabber/gitlab_tree.py', 'description': 'Print the tree in specified format.\n\nArgs:\n format: Print format to use\n \nRaises:\n GitlabTreeError: If printing fails', 'signature': 'def print_tree(self, format: PrintFormat = PrintFormat.TREE) -> None:'}</s>{'name': 'CloneMethod...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_CONN_NAME_LENGTH = 264
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': 'BaseRequest@SalesforcePy/commons.py', 'desc...
0
{'name': '_to_typedef@swagger_to/elm_client.py', 'description': 'Translate the intermediate type definition to a definition of an Elm type.\n\n:param intermediate_typedef: intermediate type definition\n:return: definition of an Elm type', 'signature': 'def _to_typedef(intermediate_typedef: swagger_to.intermediate.Typed...
0
{'name': 'BaseImage.range_threshold@wand/image.py', 'description': "Applies soft & hard thresholding.\n\nFor a soft thresholding, parameters should be monotonically increasing:\n\n with Image(filename='text.png') as img:\n img.range_threshold(0.2, 0.4, 0.6, 0.8)\n\nFor a hard thresholding, parameters should b...
0
{'name': 'create_nerf@run_nerf.py', 'description': "Instantiate NeRF's MLP model.", 'signature': 'def create_nerf(args):'}</s>{'name': 'Embedder@run_nerf_helpers.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Embedder.__init__@run_nerf_helpers.py', 'description': 'DOCSTRING', 'code': 'def __...
0
{'name': 'dashboard_get_definition@tessera-server/tessera/views_api.py', 'description': 'Fetch the definition for a dashboard. This returns the\nrepresentation to use when modifiying a dashboard.', 'signature': 'def dashboard_get_definition(id):'}</s>{'name': 'SingleStat@tessera-server/tessera/client/api/model.py', 'de...
0
{'name': 'TestEntityPostSavePostDeleteSignalSync.test_post_updated_entity_no_cascade@entity/tests/sync_tests.py', 'description': 'Verify that updating a mirrored entity does not cause the entity to be deleted (which\nresults in a cascading delete for all pointers.', 'signature': 'def test_post_updated_entity_no_cascade...
0
{'name': 'ISmoothingSpline.__call__@csaps/_base.py', 'description': 'Evaluates spline on the data sites', 'signature': 'def __call__(self, xi: TXi, nu: Optional[TNu] = None, extrapolate: Optional[TExtrapolate] = None) -> np.ndarray:'}</s>TProps = TypeVar('TProps', int, Tuple[int, ...])
0
{'name': 'GDAL2Tiles.generate_base_tiles@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Generation of the base tiles (the lowest in the pyramid) directly from the input raster', 'signature': 'def generate_base_tiles(self) -> Tuple[TileJobInfo, List[TileDetail]]:'}</s>{'name': 'submain@auxiliary/gdal2c...
0
{'name': 'test_cli_addremove_role@tests/test_cli.py', 'description': 'Test add/remove role.', 'signature': 'def test_cli_addremove_role(cli_app):'}</s>{'name': 'test_cli_activate_deactivate@tests/test_cli.py', 'description': 'Test create user CLI.', 'code': 'def test_cli_activate_deactivate(cli_app):\n """Test creat...
0
{'name': 'AGraph.successors_iter@pygraphviz/agraph.py', 'description': 'Return iterator over successor nodes of n.\n\nNote: modifying the graph structure while iterating over\nnode successors may produce unpredictable results. Use\nsuccessors() as an alternative.', 'signature': 'def successors_iter(self, n):'}</s>{'na...
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>ICMP_PHOTURIS_AUTH_FAILED = 2
0
{'name': 'process_assignments_and_deletions@da/compiler/incgen.py', 'description': 'Generate stub and hook for assignments and deletions.\n\nThis should be called after the query parameters have been accumulated.', 'signature': 'def process_assignments_and_deletions(state):'}</s>{'name': 'ListCompExpr@da/compiler/dast....
0
{'name': 'SettingsForm.validate@app/users/forms.py', 'description': 'Validate the form.', 'signature': 'def validate(self):'}</s>{'name': 'SettingsForm@app/users/forms.py', 'description': 'User settings form.', 'base_classes': ['FlaskForm'], 'methods': [{'name': 'SettingsForm.validate@app/users/forms.py', 'description'...
1
{'name': 'load_data@joeynmt/data.py', 'description': 'Load train, dev and optionally test data as specified in configuration.\nVocabularies are created from the training set with a limit of `voc_limit` tokens\nand a minimum token frequency of `voc_min_freq` (specified in the configuration\ndictionary).\n\nThe training ...
1
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'write_text_to_f...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'PropKB.retract@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Remove the sentence's clauses from the KB.", 'signature': 'def retract(self, sentence):'}</s>{'name': 'dpll_satisfiable@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'Check satisfiability of a propositional sen...
0
{'name': 'raw_in_count@h8mail/utils/localsearch.py', 'description': 'StackOverflow trick to rapidly count lines in big files.\nReturns total line number.', 'signature': 'def raw_in_count(filename):'}</s>{'name': 'colors@h8mail/utils/colors.py', 'description': 'Colors class:\nreset all colors with colors.reset\ntwo subc...
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': 'show_settings@versions/speed-cam_8.87.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>MO_CROP_AUTO_ON = False
0
{'name': 'jam_solver@graph/traffic_scheduling_problem.py', 'description': "The traffic jam solver\n- a bidirectional search algorithm that uses simulated annealing\nto induce bias to accelerate the solvers direction of search.\n\n:param graph network available for routing.\n:param loads: dictionary or list with load id...
1
{'name': 'Printer.print@tools/hadb.py', 'description': 'Print header, states & events.', 'signature': 'def print(self) -> None:'}</s>HDR_SEP = "-|-"
0
{'name': 'KeyValueStore.transaction@skein/kv.py', 'description': "An atomic transaction on the key-value store.\n\nParameters\n----------\nconditions : Condition or sequence of Conditions, optional\n A sequence of conditions to evaluate together. The conditional\n expression succeeds if all conditions evaluate to...
0
{'name': '_convert_dataset_one_pair_rec_withFlip@datasets/convert_DF.py', 'description': "Converts the given pairs to a TFRecord dataset.\n\nArgs:\n split_name: The name of the dataset, either 'train' or 'validation'.\n pairs: A list of image name pairs.\n labels: label list to indicate positive(1) or negative...
0
{'name': 'transform_value@fhirpy/base/searchset.py', 'description': ">>> transform_value(datetime.datetime(2019, 1, 1, tzinfo=pytz.utc))\n'2019-01-01T00:00:00Z'\n\n>>> transform_value(datetime.date(2019, 1, 1))\n'2019-01-01'\n\n>>> transform_value(True)\n'true'", 'signature': 'def transform_value(value):'}</s>{'name': ...
0
{'name': 'file_found@install.py', 'description': 'find a file in a directory ', 'signature': 'def file_found(folder, directory):'}</s>{'name': 'install_dependencies@install.py', 'description': 'install required softwares', 'code': "def install_dependencies():\n '''install required softwares'''\n os.chdir(LYNDOR_P...
0
{'name': 'map_async_run_loop@tools/lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Blocks until the Pool.map_async completes and the channel completes.\n\n@param future an AsyncResult instance from a Pool.map_async() call.\n\n@param channel_map the asyncore dispatch channel map that should be pumped.\nOp...
0
{'name': 'test_RunningSession_endpoint_url@tests/unit/test_session.py', 'description': 'Test pytest_localstack.session.RunningSession.endpoint_url.', 'signature': 'def test_RunningSession_endpoint_url(use_ssl, service_name, not_service_name):'}</s>{'name': 'RegionError@pytest_localstack/exceptions.py', 'description': "...
0
{'name': 'TestSequences.test_increment_for_numbers_2@tests/test_recipes.py', 'description': 'This test is a repeated one but it is necessary to ensure Sequences atomicity', 'signature': 'def test_increment_for_numbers_2(self):'}</s>{'name': 'TestDefiningRecipes@tests/test_recipes.py', 'description': 'DOCSTRING', 'base_...
0
{'name': 'StaffProfileAdminForm.clean_nhif@small_small_hr/forms.py', 'description': 'Check if NHIF number is unique.', 'signature': 'def clean_nhif(self):'}</s>{'name': 'StaffProfileAdminForm@small_small_hr/forms.py', 'description': 'Form used when managing StaffProfile objects.', 'base_classes': ['forms.ModelForm'], '...
1
{'name': 'getSchemaDetails@redfish_service_validator/metadata.py', 'description': 'Find Schema file for given Namespace.\n\nparam SchemaType: Schema Namespace, such as ServiceRoot\nparam SchemaURI: uri to grab schema, given LocalOnly is False\nreturn: (success boolean, a Soup object, origin)', 'signature': 'def getSche...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_USAGE_RESTART_EXTENTS = 1163
0
{'name': 'resnet50@models/resnext.py', 'description': 'Constructs a ResNet-50 model.\n ', 'signature': 'def resnet50(**kwargs):'}</s>{'name': 'get_fine_tuning_parameters@models/resnext.py', 'description': 'DOCSTRING', 'code': 'def get_fine_tuning_parameters(model, ft_begin_index):\n if ft_begin_index == 0:\n ...
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': 'csqrt@python/taichi/math/_complex.py', 'description': 'Returns the complex square root of a 2d vector `z`, so that\nif `w^2=z`, then `w = csqrt(z)`.\n\nAmong the two square roots of `z`, if their real parts are non-zero,\nthe one with positive real part is returned. If both their real parts\nare zero, the one...
1
{'name': 'int_or_str@examples/plot_input.py', 'description': 'Helper function for argument parsing.', 'signature': 'def int_or_str(text):'}</s>args = parser.parse_args(remaining)
0
{'name': 'init@tilemapbase/tiles.py', 'description': 'Initialise the cache. To avoid spamming the tile server, we cache the\nresulting tiles. We are a little paranoid, so by default, the package will\nnot work if no cache file exists. Fix this by running\n\n init(create=True)\n\nto build the cache. Optionally se...
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': 'BIDSLayout.add_derivatives@src/bids/layout/layout.py', 'description': 'Add BIDS-Derivatives datasets to tracking.\n\nParameters\n----------\npath : str or list\n One or more paths to BIDS-Derivatives datasets.\n Each path can point to either a derivatives/ directory\n containing one or more pipeline ...
0
{'name': 'MyVS.srch@src/examples/simple_constrained_advanced_api/simple_constrained_advanced_api.py', 'description': 'Line search, <- argmax {alpha \\in Real >= 0 : alpha x + y >= 0} where y > 0', 'signature': 'def srch(x,y):'}</s>rname = sys.argv[2] if len(sys.argv)==3 else ""
0
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'p32@gef.py', 'description': 'Pack one dword respecting the current archi...
0
{'name': 'removeFiles@mininet-wifi/scalabilityTest/code.py', 'description': 'Remove Files', 'signature': 'def removeFiles():'}</s>mem_ovs_linear = "mem_ovs_linear.txt"
1
{'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': 'Simplifier@src/api/python/z3/z3.py',...
0
{'name': 'splittag@bleach/_vendor/parse.py', 'description': "splittag('/path#tag') --> '/path', 'tag'.", 'signature': 'def splittag(url):'}</s>_DefragResultBase = namedtuple('DefragResult', 'url fragment')
0
{'name': 'create_test_loader@mseg_semantic/tool/mseg_dataloaders.py', 'description': 'Create a Pytorch dataloader from a dataroot and list of relative paths.\n\nArgs:\n args: CfgNode object\n use_batched_inference: whether to process images in batch mode\n\nReturns:\n test_loader\n data_list: list of 2-tupl...
0
{'name': 'follow@twitter_to_sqlite/cli.py', 'description': 'Experimental: Follow these Twitter users and save tweets in real-time', 'signature': 'def follow(db_path, identifiers, attach, sql, ids, auth, verbose):'}</s>{'name': 'fetch@twitter_to_sqlite/cli.py', 'description': 'Make an authenticated request to the Twitte...
0
{'name': '_RDIReader.read_dat@mhkit/dolfyn/io/rdi.py', 'description': 'Main function map used to read or skip stored IDs', 'signature': 'def read_dat(self, id):'}</s>{'name': 'date2str@mhkit/dolfyn/time.py', 'description': "Convert list of datetime objects to legible strings\n\nParameters\n----------\ndt : datetime.dat...
0
{'name': '_type_expression@swagger_to/ts_angular5_client.py', 'description': 'Translate the type definition in Typescript representation to a type expression as Typescript code.\n\n:param typedef: Typescript representation of the type definition\n:param path: path in the Swagger spec\n:return: Typescript code', 'signat...
0
{'name': 'argnode_source@varname/utils.py', 'description': 'Get the source of an argument node\n\nArgs:\n source: The executing source object\n node: The node to get the source from\n vars_only: Whether only allow variables and attributes\n\nReturns:\n The source of the node (node.id for ast.Name,\n ...
0
{'name': 'get_revision_string_from_file@python/infra/GenerateUserTutorials.py', 'description': 'Forms a string at the top of each file that looks like:\n\nThis tutorial is automatically generated from {file_link} at revision {revision}.\nNote that the code is given in full at the bottom of the page.\n\n:param abs_file_...
0