text
string
label
int64
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_TARGET_LENGTH_ERROR = 2144
0
{'name': 'writeInitialize@cxxtest/cxxtestgen.py', 'description': 'Write CxxTest::initialize(), which replaces static initialization', 'signature': 'def writeInitialize(output):'}</s>{'name': 'main@cxxtest/cxxtestgen.py', 'description': 'The main program', 'code': "def main():\n '''The main program'''\n files = pa...
0
{'name': 'timolo@source/pi-timolo.py', 'description': 'Main motion and or motion tracking\ninitialization and logic loop', 'signature': 'def timolo():'}</s>SECONDS2MICRO = 1000000
0
{'name': 'AccountsDaemon.__init__@packages/python-google-compute-engine/google_compute_engine/accounts/accounts_daemon.py', 'description': "Constructor.\n\nArgs:\n groups: string, a comma separated list of groups.\n remove: bool, True if deprovisioning a user should be destructive.\n useradd_cmd: string, command to ...
0
{'name': 'balance@n26/cli.py', 'description': 'Show account balance ', 'signature': 'def balance():'}</s>REFRESH_TOKEN_KEY = "refresh_token"
0
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>PFTM_PURGE = 21
0
{'name': 'SetCriterion.loss_masks@models/detr.py', 'description': 'Compute the losses related to the masks: the focal loss and the dice loss.\ntargets dicts must contain the key "masks" containing a tensor of dim [nb_target_boxes, h, w]', 'signature': 'def loss_masks(self, outputs, targets, indices, num_boxes):'}</s>{'...
0
{'name': 'parse_markdown@bin/docs/markdown.py', 'description': 'Parse a Markdown text and return a document instance.', 'signature': 'def parse_markdown(text: str) -> "MarkdownDoc":'}</s>{'name': 'Header@bin/docs/markdown.py', 'description': 'A header token (https://daringfireball.net/projects/markdown/syntax#header).'...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQXF_OPEN = 6
0
{'name': 'NewDatabase.update@premise/new_database.py', 'description': 'Update a specific sector by name.', 'signature': 'def update(self, sectors: [str, list, None] = None) -> None:'}</s>{'name': 'create_scenario_list@premise/utils.py', 'description': 'DOCSTRING', 'code': 'def create_scenario_list(scenarios: list) -> l...
0
{'name': 'CheckBraces@scripts/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 f...
0
{'name': '_validate_args@kayobe/kolla_ansible.py', 'description': 'Validate Kayobe Ansible arguments.', 'signature': 'def _validate_args(parsed_args, inventory_filename):'}</s>{'name': '_read_vault_password_file@kayobe/vault.py', 'description': 'Return the password from a vault password file.', 'code': 'def _read_vault...
0
{'name': 'View.save_pick_properties@picasso/gui/render.py', 'description': "Saves picks' properties in a given channel to path.\n\nProperties include number of locs, mean and std of all locs\ndtypes (x, y, photons, etc) and others.\n\nParameters\n----------\npath : str \n Path for saving picks' properties.\nchannel ...
0
{'name': 'MaxPoolDark.forward@YOLOv4/darknet.py', 'description': 'darknet output_size = (input_size + p - k) / s +1\np : padding = k - 1\nk : size\ns : stride\ntorch output_size = (input_size + 2*p -k) / s +1\np : padding = k//2', 'signature': 'def forward(self, x):'}</s>{'name': 'MaxPoolDark@YOLOv4/darknet.py', 'descr...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQDCC_TARGET_ENC_REVERSED = py23long(0x00000200)
0
{'name': 'ContainerVulViewSet.check_flag@vulfocus-api/dockerapi/views.py', 'description': '验证Flag是否正确\n:param request:\n:param pk:\n:return:', 'signature': 'def check_flag(self, request, pk=None):'}</s>{'name': 'share_image@vulfocus-api/tasks/tasks.py', 'description': '贡献镜像\n:param task_id: 任务 id\n:return:', 'code': 'd...
0
{'name': 'FinalizeMetadata@tools/releasetools/ota_utils.py', 'description': 'Finalizes the metadata and signs an A/B OTA package.\n\nIn order to stream an A/B OTA package, we need \'ota-streaming-property-files\'\nthat contains the offsets and sizes for the ZIP entries. An example\nproperty-files string is as follows.\...
0
{'name': 'RoomStateChangeEvent.room@twitchAPI/chat/__init__.py', 'description': 'Returns the Room from cache', 'signature': 'def room(self) -> Optional[ChatRoom]:'}</s>{'name': 'ChatSub@twitchAPI/chat/__init__.py', 'description': 'Represents a sub to a channel', 'base_classes': [], 'methods': [{'name': 'ChatSub.__init_...
0
{'name': 'ConnectionInterface.is_idle@httpcore/_sync/interfaces.py', 'description': 'Return `True` if the connection is currently idle.', 'signature': 'def is_idle(self) -> bool:'}</s>{'name': 'enforce_bytes@httpcore/_models.py', 'description': 'Any arguments that are ultimately represented as bytes can be specified\ne...
0
{'name': 'Sheet.header_props@tksheet/sheet.py', 'description': 'Retrieve options (properties - props)\nfrom a cell in the header', 'signature': 'def header_props('}</s>BINDING_TO_ATTR = { "replace_all": ("MT", "extra_end_replace_all_func"), # begin sort cells "begin_sort_cells": ("MT", "extra_begin_sort_cel...
0
{'name': 'test_internal_flows_elsewhere@test/test_dataset.py', 'description': 'Internal flows should not be included in to/from Elsewhere bundles.\n\n ', 'signature': 'def test_internal_flows_elsewhere():'}</s>{'name': 'test_dataset_only_includes_unused_flows_in_elsewhere_bundles@test/test_dataset.py', 'description'...
0
{'name': 'KeysightM8190A.upload_waveform@src/auspex/instruments/keysight.py', 'description': 'Uploads the waveform to the device. Technically we should split the data into multiple chunks\nif we exceed the 999999999 Bytes, i.e. 1GB SCPI transfer limit.', 'signature': 'def upload_waveform(self, wf_data, segment_id, chan...
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_NOP = CScriptOp(0x61)
0
{'name': 'HubitatValve._get_is_closed@custom_components/hubitat/valve.py', 'description': 'Return True if the valve is open.', 'signature': 'def _get_is_closed(self) -> bool:'}</s>{'name': 'DeviceAttribute@custom_components/hubitat/hubitatmaker/const.py', 'description': 'DOCSTRING', 'base_classes': ['StrEnum'], 'method...
1
{'name': 'term_to_binary@src/api/python/erlang.py', 'description': 'Encode Python types into Erlang terms in binary data', 'signature': 'def term_to_binary(term, compressed=False):'}</s>_TAG_ATOM_CACHE_REF = 78
0
{'name': 'S2V_Tests.test2@blockchain-env/lib/python3.7/site-packages/Cryptodome/SelfTest/Protocol/test_KDF.py', 'description': 'Verify that no more than 127(AES) and 63(TDES)\ncomponents are accepted.', 'signature': 'def test2(self):'}</s>MODE_OCB = 12
0
{'name': 'AGraph.draw@pygraphviz/agraph.py', 'description': 'Output graph to path in specified format.\n\n.. caution:: EXPERIMENTAL\n\nThis version of the draw command uses libgvc for drawing instead\nof command line GraphViz tools like in versions <1.6 and the default.\n\nAn attempt will be made to guess the output fo...
0
{'name': 'dmtxVersion@pylibdmtx/wrapper.py', 'description': 'Returns the version of the libdmtx libraray\n\nReturns:\n str: Version string', 'signature': 'def dmtxVersion():'}</s>DmtxPassFail = c_uint
0
{'name': 'TestingParser.set_parser@tests/run_all_tests.py', 'description': 'Sets a new argument parser.\n\nThis method sets a new instance of the argument parser.\n\nParameters:\n- newParser (argparse.ArgumentParser): The new argument parser to set.', 'signature': 'def set_parser(self, newParser: argparse.ArgumentParse...
0
{'name': 'cli@toggl/cli/commands.py', 'description': 'CLI interface to interact with Toggl tracking application.\n\nMany of the options can be set through Environmental variables. The names of the variables\nare denoted in the option\'s helps with format "(ENV: <name of variable>)".\n\nThe authentication credentials ca...
0
{'name': 'Callback.training_start@demosaicnet/utils.py', 'description': 'Hook to execute code when the training begins.\n\nArgs:\n dataloader(th.utils.data.Dataloader): a data loading class that\n provides batches of data for training.', 'signature': 'def training_start(self, dataloader):'}</s>{'name': 'KeyedCall...
0
{'name': 'StandardizeMol.__init__@scopy/ScoPretreat/pretreat.py', 'description': 'Initialize a Standardizer with optional custom parameters.\n\n:param normalizations: A list of Normalizations to apply (default: :data:`~molvs.normalize.NORMALIZATIONS`).\n:param acid_base_pairs: A list of AcidBasePairs for competitive re...
1
{'name': 'analyze@docstr_coverage/coverage.py', 'description': 'EXPERIMENTAL: More expressive alternative to `get_docstring_coverage`.\n\n Checks contents of `filenames` for missing docstrings, and produces a report detailing\ndocstring status\n\nNote that this method, as well as its parameters and return types\n ...
0
{'name': 'View.scale_contrast@picasso/gui/render.py', 'description': 'Scales image based on contrast values from Display Settings\nDialog.\n\nParameters\n----------\nimage : np.array or list of np.arrays\n Array with rendered locs (grayscale)\nautoscale : boolean (default=False)\n If True, finds optimal contrast\...
0
{'name': 'Asizer._sizer@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Size an object, recursively.\n ', 'signature': 'def _sizer(self, obj, deep, sized):'}</s>__all__ = ['adict', 'asized', 'asizeof', 'asizesof', 'Asized', 'Asizer', # classes 'basicsize', 'f...
0
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'CallExpr@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['Expression'], 'methods': [{'name': 'CallExpr.__init__@da/compiler/dast.py', 'd...
0
{'name': 'TypeAndTypeListTestCase.test@tools/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py', 'description': 'Exercise SBType and SBTypeList API.', 'signature': 'def test(self):'}</s>{'name': 'skipIfiOSSimulator@tools/lldb/packages/Python/lldbsuite/test/decorators.py', 'description': 'Decorate the ...
0
{'name': 'on_restart_server@src/server/server.py', 'description': 'Re-execute the current process.', 'signature': 'def on_restart_server():'}</s>{'name': 'on_duplicate_heat@src/server/server.py', 'description': 'DOCSTRING', 'code': "def on_duplicate_heat(data):\n RaceContext.rhdata.duplicate_heat(data['heat'])\n ...
0
{'name': 'genesetAnalysisBetweenConditions@pipelines/pipeline_scxl.py', 'description': 'Naive geneset over-enrichment analysis of genes DE within-cluster.\n\nTesting is performed with the gsfisher package.\n\nGO categories and KEGG pathways are tested by default.\n\nArbitrary sets of genes cat be supplied as GMT files\...
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': 'Dbsnapshot@infoblox_client/objects.py', 'description': "Dbsnapshot: The DBSna...
0
{'name': 'splittag@bleach/_vendor/parse.py', 'description': "splittag('/path#tag') --> '/path', 'tag'.", 'signature': 'def splittag(url):'}</s>{'name': '_decode_args@bleach/_vendor/parse.py', 'description': 'DOCSTRING', 'code': "def _decode_args(args, encoding=_implicit_encoding,\n errors=_implici...
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_proxintparam_...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQXT_CHANNEL_AUTO_DEF_EXIT = 16
0
{'name': 'tidy_order@cpca/__init__.py', 'description': '整理顺序,唯一作用是让列的顺序好看一些', 'signature': 'def tidy_order(df, pos_sensitive):'}</s>{'name': 'pos_setter@cpca/__init__.py', 'description': 'DOCSTRING', 'code': 'def pos_setter(pos_sensitive):\n def set_pos(res, rank, pos):\n res[rank2pos_key[rank]] = pos\n\n ...
0
{'name': '_StreamBase.__init__@sounddevice.py', 'description': "Base class for PortAudio streams.\n\nThis class should only be used by library authors who want to\ncreate their own custom stream classes.\nMost users should use the derived classes\n`Stream`, `InputStream`, `OutputStream`,\n`RawStream`, `RawInputStream` ...
0
{'name': 'read_config_from_cmdline@nematus/config.py', 'description': 'Reads a config from the command-line.\n\nLogs an error and exits if the parameter values are not mutually\nconsistent.\n\nReturns:\n An argparse.Namespace object representing the config.', 'signature': 'def read_config_from_cmdline():'}</s>{'name...
0
{'name': 'is_same_transform@transformations.py', 'description': 'Return True if two matrices perform same transformation.\n\n>>> is_same_transform(numpy.identity(4), numpy.identity(4))\nTrue\n>>> is_same_transform(numpy.identity(4), random_rotation_matrix())\nFalse', 'signature': 'def is_same_transform(matrix0, matrix1...
0
{'name': 'control_read_initial_values@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Read initial control values', 'signature': 'def control_read_initial_values(sniffer):'}</s>GLOBAL_HEADER = struct.pack("<LHHIILL", 0xa1b2c3d4, # PCAP magic number ...
0
{'name': 'balance@n26/cli.py', 'description': 'Show account balance ', 'signature': 'def balance():'}</s>{'name': '_insert_newlines@n26/cli.py', 'description': 'Inserts a newline into the given text every n characters.\n:param text: the text to break\n:param n:\n:return:', 'code': 'def _insert_newlines(text: str, n=40)...
0
{'name': 'KeycloakAdmin.get_client_role@ansible/roles/keycloak-deploy/files/python-keycloak-0.12.0/keycloak/keycloak_admin.py', 'description': 'Get client role id by name\nThis is required for further actions with this role.\n\n:param client_id: id of client (not client-id)\n:param role_name: role’s name (not id!)\n\nR...
0
{'name': 'accuracy@lib/core/evaluate.py', 'description': "Calculate accuracy according to PCK,\nbut uses ground truth heatmap rather than x,y locations\nFirst value to be returned is average accuracy across 'idxs',\nfollowed by individual accuracies", 'signature': "def accuracy(output, target, hm_type='gaussian', thr=0...
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': 'test_self_all@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_self_all():\n schema = Schema(\...
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': 'ReSort@src/api/python/z3/z3.py', 'descript...
0
{'name': 'get_async_fn@asynq/decorators.py', 'description': 'Returns an async function for the specified source function.', 'signature': 'def get_async_fn(fn, wrap_if_none=False):'}</s>{'name': 'asynq@asynq/decorators.py', 'description': 'Async task decorator.\nConverts a method returning generator object to\na method ...
1
{'name': 'AndroidTestBase.acquire_device@qt4a/androidtestbase.py', 'description': '申请设备接口\n\n:param device_id: 设备ID,用于本地调试\n:type device_id: string', 'signature': 'def acquire_device(self, device_id=None, **kwargs):'}</s>{'name': 'clear_logger_file@qt4a/androiddriver/util.py', 'description': '清空log文件', 'code': 'def cl...
0
{'name': 'urlsplit@bleach/_vendor/parse.py', 'description': "Parse a URL into 5 components:\n<scheme>://<netloc>/<path>?<query>#<fragment>\nReturn a 5-tuple: (scheme, netloc, path, query, fragment).\nNote that we don't break the components up in smaller bits\n(e.g. netloc is a single string) and we don't expand % escap...
0
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'u8@gef.py', 'description': 'Unpack one byte ...
0
{'name': 'backlog_subscriber@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'Pick up the table lock, poll BQ job id until completion and process next\nitem in the backlog.', 'signature': 'def backlog_subscriber(gcs_client: Optional[storage.Client],'}</s>{'name': 'wait...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIAMO_TOTAL_BYTES_SENT = 812
0
{'name': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike...
0
{'name': 'CosS3Client.ci_list_workflowexecution@qcloud_cos/cos_client.py', 'description': "获取工作流实例列表 https://cloud.tencent.com/document/product/436/80048\n\n:param Bucket(string): 存储桶名称.\n:param WorkflowId(string): 工作流实例ID.\n:param Name(string): 触发对象.\n:param StartCreationTime(string): 开始时间.\n:param EndCreationTime(str...
0
{'name': 'MainInterface.process_options@src/python_scripts/scripts/uber_ttest.py', 'description': 'return 1 on valid and exit\n 0 on valid and continue\n-1 on invalid', 'signature': 'def process_options(self):'}</s>{'name': 'gen_float_list_string@src/python_scripts/afnipy/afni_util.py', 'description': 'mesg is printed...
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': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>WISE_BANDS = OrderedDict( ...
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': 'FrameCutter@rst2pdf/flowables.py', 'description': 'DOCSTRING', 'ba...
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>MQCMD_CLEAR_Q = 9
0
{'name': 'setup_module@pyFileFixity/tests/test_repair_ecc.py', 'description': 'Initialize the tests by emptying the out directory ', 'signature': 'def setup_module():'}</s>{'name': 'entry_fields@pyFileFixity/header_ecc.py', 'description': "From a raw ecc entry (a string), extract the metadata fields (filename, filesize...
0
{'name': 'get_reader@meza/io.py', 'description': "Gets the appropriate reader for a given file extension.\n\nArgs:\n extension (str): The file extension.\n\nReturns:\n func: The file reading function\n\nSee also:\n `meza.io.read`\n\nRaises:\n TypeError: If unable to find a suitable reader.\n\nExamples:\n ...
0
{'name': 'read_html@meza/io.py', 'description': "Reads tables from an html file\n\nTODO: convert to lxml.etree.iterparse\nhttp://lxml.de/parsing.html#iterparse-and-iterwalk\n\nArgs:\n filepath (str): The html file path or file like object.\n If you have a url, use the following pattern:\n\n r = request...
0
{'name': 'ConfigUtilTest.testDontOverwriteEmptyLabelMapPath@object_detection/utils/config_util_test.py', 'description': 'Tests that label map path will not by overwritten with empty string.', 'signature': 'def testDontOverwriteEmptyLabelMapPath(self):'}</s>EvalConfig = _reflection.GeneratedProtocolMessageType('EvalConf...
0
{'name': 'Metadata.check_tags@redfish_service_validator/metadata.py', 'description': 'Perform some checks on the tags in the $metadata XML looking for unrecognized tags,\ntags missing required attributes, etc.', 'signature': 'def check_tags(self):'}</s>{'name': 'check_redfish_extensions_alias@redfish_service_validator/...
0
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inlin...
0
{'name': 'RobotFileParser.can_fetch@src/future/backports/urllib/robotparser.py', 'description': 'using the parsed robots.txt decide if useragent can fetch url', 'signature': 'def can_fetch(self, useragent, url):'}</s>{'name': 'splitquery@src/future/backports/urllib/parse.py', 'description': "splitquery('/path?query') -...
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': 'ParseNolintSuppressions@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Updates the global list of line error-suppressions.\n\nParses any NOLINT comments on the current line, updating the global\nerror_suppressions store. Reports an error if the NOLINT comment\nwas malformed.\n\nArgs:\n filename: s...
0
{'name': 'VolumeDataGenerator.__init__@enzynet/volume.py', 'description': 'Initialization.', 'signature': 'def __init__('}</s>RAW_DIR = os.path.join(ROOT_DIR, 'datasets/make_files/raw/')
0
{'name': 'fetch_enron_dataset@tests/conftest.py', 'description': "Downloads and caches a given part of the Enron dataset archive (one per individual)\n\nArgs:\n name: The individual's name\n files: A list of expected PST files\n url: The download URL for that file\n\nReturns:\n A directory path", 'signature...
0
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw...
0
{'name': 'create_test_gitlab@tests/gitlab_test_utils.py', 'description': 'Creates a test GitlabTree instance with mocked data', 'signature': 'def create_test_gitlab(monkeypatch: pytest.MonkeyPatch, '}</s>{'name': 'validate_root@tests/gitlab_test_utils.py', 'description': 'DOCSTRING', 'code': 'def validate_root(root):\n...
0
{'name': 'sysinit@da/common.py', 'description': 'Initialize the DistAlgo system.\n\nThis function must be called before any DistAlgo code can run. Specifically,\nevery child process created under spawning semantics must call this function\nduring initialization.', 'signature': 'def sysinit():'}</s>FILE_LOG_FORMAT = "[%...
1
{'name': 'Tadt_Tracker.visualize_feature@tadt_tracker.py', 'description': 'function: visualize the selected feature of the first frame', 'signature': "def visualize_feature(self, features = None, stage = 'conv4_1', srch_window_size = None, subwindow = None, feature_weights = None, balance_weights = None):"}</s>{'name':...
0
{'name': 'VimPlugin.LookupTag@vimdoc/module.py', 'description': 'Returns the tag name for the given type and name.', 'signature': 'def LookupTag(self, typ, name):'}</s>numbers_args = re.compile(r'^((?:\s|\d)*)$')
0
{'name': 'include_decl@src/services/mpiwrap/wrap.py', 'description': 'This function is used by macros to include attributes MPI declarations in their scope.', 'signature': 'def include_decl(scope, decl):'}</s>f_wrap_suffix = "_fortran_wrapper"
0
{'name': 'circulation_configuration@pymultimatic/api/urls.py', 'description': 'Url to handle :class:`~pymultimatic.model.component.Circulation`\nconfiguration.', 'signature': 'def circulation_configuration(**kwargs: Any) -> str:'}</s>_SYSTEM = _FACILITIES + "/systemcontrol/v1"
0
{'name': 'FormatCode@tools/yapf/yapf/yapflib/yapf_api.py', 'description': 'Format a string of Python code.\n\nThis provides an alternative entry point to YAPF.\n\nArguments:\n unformatted_source: (unicode) The code to format.\n filename: (unicode) The name of the file being reformatted.\n remaining arguments: see co...
0
{'name': 'CreatorNameMapView.post@metro_map_saver/map_saver/views.py', 'description': 'Allow creators to name / "tag" their maps\n(but not after I\'ve named them)\nAlso prevent subsequent visitors from naming the maps', 'signature': 'def post(self, request, **kwargs):'}</s>{'name': 'City@metro_map_saver/map_saver/model...
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': 'test_multiclass_classification_logloss@tests/system/test_gamaclassifier.py', 'description': 'Multiclass classification, log loss (probabilities), numpy data.', 'signature': 'def test_multiclass_classification_logloss():'}</s>wine = dict( name="wine", load=load_wine, test_size=45, n_classes=3, ...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_CF_OFFLOAD_THRESHOLD3 = 227
0
{'name': 'PosixSerial.getRI@stino/pyarduino/base/pyserial/serialposix.py', 'description': 'Read terminal status line: Ring Indicator', 'signature': 'def getRI(self):'}</s>{'name': 'PosixSerial@stino/pyarduino/base/pyserial/serialposix.py', 'description': 'Serial port class POSIX implementation. Serial port configuratio...
1
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>DB_FILE_NAME = "database.db"
0
{'name': 'CycleGANModel.__init__@models/cycle_gan_model.py', 'description': 'Initialize the CycleGAN class.\n\nParameters:\n opt (Option class)-- stores all the experiment flags; needs to be a subclass of BaseOptions', 'signature': 'def __init__(self, opt):'}</s>{'name': 'init_net@models/networks.py', 'description':...
0
{'name': 'ensure_vpc@aegea/util/aws/__init__.py', 'description': 'If a default VPC exists in the current account/region, return it; otherwise, return the first VPC managed by aegea,\ncreating a new one (with an associated IGW, route table, and subnet per AZ) if it does not exist.', 'signature': 'def ensure_vpc():'}</s>...
0
{'name': 'ParseArguments@scripts/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>_cpplint_stat...
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': 'note_to_svara_h@librosa/core/convert.py', 'description': "Convert western notes to Hindustani svara\n\nNote that this conversion assumes 12-tone equal temperament.\n\nParameters\n----------\nnotes : str or iterable of str\n Notes to convert (e.g., `'C#'` or `['C4', 'Db4', 'D4']`\n\nSa : str\n Note corre...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQACH_CURRENT_LENGTH = MQACH_LENGTH_1
0
{'name': 'ImageInfoViewSet.delete_image@vulfocus-api/dockerapi/views.py', 'description': '删除镜像\n:param request:\n:param pk:\n:return:', 'signature': 'def delete_image(self, request, pk=None):'}</s>{'name': 'create_image_task@vulfocus-api/tasks/tasks.py', 'description': '创建镜像任务', 'code': 'def create_image_task(image_inf...
0
{'name': 'download_file@autodecrypt/utils.py', 'description': 'Download file from IPSW or OTA.', 'signature': 'def download_file('}</s>{'name': 'foreman_get_json@autodecrypt/scrapkeys.py', 'description': 'Get json file from foreman host', 'code': 'def foreman_get_json(foreman_host: str, device: str, build: str) -> dict...
0