text string | label int64 |
|---|---|
{'name': 'SysTrayIcon.update@python/site-packages/winsystray/traybar.py', 'description': 'update icon image and/or hover text ', 'signature': 'def update(self, icon=None, hover_text=None, menu=None):'}</s>NIF_TIP = 4 | 0 |
{'name': 'update_weights_gd@chapter7/linear_regression.py', 'description': 'Update weights by one step and return updated wights', 'signature': 'def update_weights_gd(X_train, y_train, weights, learning_rate):'}</s>y_train = diabetes.target[:-num_test] | 1 |
{'name': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'PCustomCommand@gef.py', 'description': 'Dump user defined structure.\nThis command attempts to reproduce WinDBG awesome `dt` co... | 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': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'TraceReallocRetBreakpoint@gef.py', 'description': 'Internal temporary breakpoint to retrieve the return value of realloc().', '... | 0 |
{'name': 'test_get_atoms_errors@vermouth/tests/test_ffinput.py', 'description': 'Test _get_atoms fails when expected.', 'signature': 'def test_get_atoms_errors(tokens, natoms):'}</s>{'name': '_parse_link_attribute@vermouth/ffinput.py', 'description': 'DOCSTRING', 'code': 'def _parse_link_attribute(tokens, context, sect... | 0 |
{'name': 'count_nac@kb_python/count.py', 'description': 'Generates RNA velocity matrices for single-cell RNA seq.\n\nArgs:\n index_path: Path to kallisto index\n t2g_path: Path to transcript-to-gene mapping\n cdna_t2c_path: Path to cDNA transcripts-to-capture file\n intron_t2c_path: Path to intron transcrip... | 1 |
{'name': 'StringTime.year@miniakio/utils.py', 'description': ':return: 2016', 'signature': 'def year(self):'}</s>echo = _Echo() | 0 |
{'name': 'InputsTest.test_faster_rcnn_resnet50_eval_input@object_detection/inputs_test.py', 'description': 'Tests the eval input function for FasterRcnnResnet50.', 'signature': 'def test_faster_rcnn_resnet50_eval_input(self, eval_batch_size=1):'}</s>{'name': 'check_and_parse_input_config_key@object_detection/utils/conf... | 0 |
{'name': 'load_image_gt@Mask_RCNN/mrcnn/model.py', 'description': 'Load and return ground truth data for an image (image, mask, bounding boxes).\n\naugment: (deprecated. Use augmentation instead). If true, apply random\n image augmentation. Currently, only horizontal flipping is offered.\naugmentation: Optional. An ... | 0 |
{'name': 'Subject.complete@signalrcore/subject.py', 'description': 'Finish streaming\n ', 'signature': 'def complete(self):'}</s>{'name': 'StreamItemMessage@signalrcore/messages/stream_item_message.py', 'description': 'DOCSTRING', 'base_classes': ['BaseHeadersMessage'], 'methods': [{'name': 'StreamItemMessage.__... | 0 |
{'name': 'NodeList.init@shingetsu/node.py', 'description': 'Connect initial node.', 'signature': 'def init(self):'}</s>cache_hash_method = "asis" | 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': '_prove_html@src/api/python/z3/z3.py', 'des... | 0 |
{'name': 'test_escaped_html@tests/test_linkify.py', 'description': 'If I pass in escaped HTML, it should probably come out escaped.', 'signature': 'def test_escaped_html():'}</s>{'name': 'test_end_of_sentence@tests/test_linkify.py', 'description': 'example.com. should match.', 'code': 'def test_end_of_sentence(url, per... | 0 |
{'name': 'primary_avatar@avatar/templatetags/avatar_tags.py', 'description': 'This tag tries to get the default avatar for a user without doing any db\nrequests. It achieve this by linking to a special view that will do all the \nwork for us. If that special view is then cached by a CDN for instance,\nwe will avoid man... | 0 |
{'name': 'CheckBraces@third_party/cpplint/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 ... | 1 |
{'name': 'CenterNetHead.forward@mmdet/models/dense_heads/centernet_head.py', 'description': 'Forward features. Notice CenterNet head does not use FPN.\n\nArgs:\n feats (tuple[Tensor]): Features from the upstream network, each is\n a 4D-tensor.\n\nReturns:\n center_heatmap_preds (List[Tensor]): center predi... | 0 |
{'name': 'GetTokens@swap-ssdb-1.9.2/tests/googletest/googlemock/scripts/generator/cpp/tokenize.py', 'description': 'Returns a sequence of Tokens.\n\nArgs:\n source: string of C++ source code.\n\nYields:\n Token that represents the next token in the source.', 'signature': 'def GetTokens(source):'}</s>HEX_DIGITS = set(... | 1 |
{'name': 'normalize_text@Text/TextQualityWatchdog/Watchdog/PreprocessData.py', 'description': 'This function applies puntuation and whitespace normalization,\nand returns the processed text in lowercase.', 'signature': 'def normalize_text(text):'}</s>{'name': 'truncate_text@Text/TextQualityWatchdog/Watchdog/PreprocessD... | 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': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_DELETE_G... | 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': 'ROMTable.for_each@pyocd/coresight/rom_table.py', 'description': '! @brief Apply an action to every component defined in the ROM table and child tables.\n\nThis method iterates over every entry in the ROM table. For each entry it calls the\nfilter function if provided. If the filter passes (returns True or was... | 0 |
{'name': '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>FILEPATH_PHOTOVOLTAICS = INVENTORY_DIR / "lci-PV.xl... | 1 |
{'name': 'TDClient.hours@tdameritrade/client.py', 'description': "get market hours\n\nArgs:\n market (str): market to get hours for, in ('EQUITY', 'OPTION', 'FUTURE', 'BOND', 'FOREX')\n date (str): date to get hours for, yyyy-MM-dd or yyyy-MM-dd'T'HH:mm::ssz", 'signature': 'def hours(self, market="EQUITY", date=N... | 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_CONN_TAG_IN_USE = 2271 | 0 |
{'name': 'get_hostname_from_ip_addr@core/friendly_organizer.py', 'description': 'Returns the hostname associated with an IP address.\n\nReturns an empty string if the hostname is not found.', 'signature': 'def get_hostname_from_ip_addr(ip_addr: str, in_memory_only=False) -> str:'}</s>global_state_lock = threading.Lock(... | 1 |
{'name': 'calibrate_cams_all@Pose2Sim/calibration.py', 'description': 'Either converts a preexisting calibration file, \nor calculates calibration from scratch (from a board or from points).\nStores calibration in a .toml file\nPrints recap.\n\nINPUTS:\n- a config_dict dictionary\n\nOUTPUT:\n- a .toml camera calibratio... | 1 |
{'name': '_parse_jitlog@jitlog/parser.py', 'description': "JitLog is parsed. if an exception is raised after\nthe header has been read, it is saved in the field 'exc' on\nthe forest returned.\n\nThis allows to parse an incomplete log file an still display\neverything that was readable!\nIf a ParseException is directly ... | 0 |
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro... | 0 |
{'name': 'ONNXModelChecker.expect@tests/helper.py', 'description': 'Compare model output and test runtime output.\n\nMake an ONNX model from target model with args, and put output\ndirectory. Then test runtime load the model, and compare.\n\nArguments:\n model (~chainer.Chain): The target model.\n args (list or d... | 0 |
{'name': 'nestedExpr@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pyparsing ex... | 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': 'get_iou@yolo_modules/yolo_gluon.py', 'description': 'Parameter:\n----------\npredict: mxnet.ndarray\n channels are {???}*4\ntarget: mxnet.ndarray\n target.shape = (5)\nmode: [1,2]\n 1: target format is cltrb\n 2: target fromat is cyxhw\n\nReturns\n----------\nious: mxnet.ndarray\n ious between predict an... | 0 |
{'name': 'Graph.__init__@train.py', 'description': 'Args:\n num: Either 1 or 2. 1 for Text2Mel 2 for SSRN.\n mode: Either "train" or "synthesize".', 'signature': 'def __init__(self, num=1, mode="train"):'}</s>{'name': 'get_spectrograms@utils.py', 'description': 'Parse the wave file in `fpath` and\nReturns normalized ... | 0 |
{'name': 'TestMommyCreatesAssociatedModels.test_create_many_to_many_with_through_option@tests/test_mommy.py', 'description': 'This does not works', 'signature': 'def test_create_many_to_many_with_through_option(self):'}</s>{'name': 'DummyBlankFieldsModel@tests/generic/models.py', 'description': 'DOCSTRING', 'base_class... | 0 |
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>MIN_PYTHON_MINOR_VERSION = 9 | 0 |
{'name': '_iscoroutinefunction@tests/test_calling_unsupported_method.py', 'description': 'inspect.iscoroutinefunction backport for Python<3.8', 'signature': 'def _iscoroutinefunction(object):'}</s>{'name': 'BackendModeMock@tests/test_calling_unsupported_method.py', 'description': 'DOCSTRING', 'base_classes': ['enum.Enu... | 0 |
{'name': 'ProcessFileData@tools/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a li... | 0 |
{'name': 'pack@src/utils/ops.py', 'description': 'Pack a flattened list l into the structure of the nested list a.', 'signature': 'def pack(l, a):'}</s>{'name': 'var_to_numpy@src/utils/ops.py', 'description': 'DOCSTRING', 'code': 'def var_to_numpy(x):\n return x.data.cpu().numpy()'} | 0 |
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra... | 0 |
{'name': 'create_hydraulic_model@wntr/sim/hydraulics.py', 'description': "Parameters\n----------\nwn: WaterNetworkModel\nmode: str\nHW_approx: str\n Specifies which Hazen-Williams headloss approximation to use. Options are 'default' and 'piecewise'. Please\n see the WNTR documentation on hydraulics for details.\n... | 1 |
{'name': 'CheckBraces@third_party/cpplint/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 ... | 0 |
{'name': 'make_circle_obj@marching_cubes_3d.py', 'description': 'Writes an obj file containing a sphere meshed via marching cubes', 'signature': 'def make_circle_obj(filename):'}</s>{'name': 'circle_function@marching_cubes_3d.py', 'description': 'DOCSTRING', 'code': 'def circle_function(x, y, z):\n return 2.5 - math... | 1 |
{'name': 'TranslationFromPretrainedBARTTask.load_dataset@fairseq/tasks/translation_from_pretrained_bart.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset(self, split, epoch=1, combine=False, **kwargs):'}</s>{'name': ... | 0 |
{'name': 'draw_water_mix_ratio@pymeteo/skewt.py', 'description': 'Plot lines of constant water vapor mixing ratio on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates isolines of constant water vapor\nmixing ratio and plots these lines. Values of w calcul... | 0 |
{'name': 'CosS3Client.ci_auditing_image_batch@qcloud_cos/cos_client.py', 'description': "图片同步批量审核接口 https://cloud.tencent.com/document/product/436/63593\n\n:param Bucket(string): 存储桶名称.\n:param Input(dict array): 需要审核的图片信息,每个array元素为dict类型,支持的参数如下:\n Object: 存储在 COS 存储桶中的图片文件名称,例如在目录 test 中的文件 image.... | 0 |
{'name': 'localtime@tool/mkarchive.py', 'description': 'Return YYYY-mm-dd HH:MM.', 'signature': 'def localtime(stamp=0):'}</s>get_timeout = 2*60 | 0 |
{'name': 'get_connector_mapping@os_brick/initiator/connector.py', 'description': 'Get connector mapping based on platform.\n\nThis is used by Nova to get the right connector information.\n\n:param arch: The architecture being requested.', 'signature': 'def get_connector_mapping(arch=None):'}</s>OS_TYPE_LINUX = "LINUX" | 0 |
{'name': 'CeleryHaystackSignalHandler.run@celery_haystack/tasks.py', 'description': "Trigger the actual index handler depending on the\ngiven action ('update' or 'delete').", 'signature': 'def run(self, action, identifier, **kwargs):'}</s>{'name': 'CeleryHaystackSignalHandler@celery_haystack/tasks.py', 'description': '... | 1 |
{'name': 'render@pyevtk/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'versions_from_parentdir@pyevtk/_version.py', 'description': 'Try to determine the version from the parent directory name.\n\nSource tarballs conventio... | 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>{'name': 'saveRecent@versions/speed-cam_12.06.py', 'description': 'Create a symlink file in recent folder or file if non unix system\nor symlink... | 0 |
{'name': 'test_ssl_adapters@cheroot/test/test_ssl.py', 'description': 'Test ability to connect to server via HTTPS using adapters.', 'signature': 'def test_ssl_adapters('}</s>ANY_INTERFACE_IPV4 = "0.0.0.0" | 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': 'guess_json_utf@src/requests/utils.py', 'description': ':rtype: str', 'signature': 'def guess_json_utf(data):'}</s>{'name': 'urldefragauth@src/requests/utils.py', 'description': 'Given a url remove the fragment and the authentication part.\n\n:rtype: str', 'code': 'def urldefragauth(url):\n """\n Given a... | 0 |
{'name': 'synchronize_cams_all@Pose2Sim/synchronization.py', 'description': 'Post-synchronize your cameras in case they are not natively synchronized.\n\nFor each camera, computes mean vertical speed for the chosen keypoints, \nand find the time offset for which their correlation is highest. \n\nDepending on the analys... | 0 |
{'name': 'control_write_defaults@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Write default control values', 'signature': 'def control_write_defaults():'}</s>capture_only_advertising = False | 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': '_update_steel@premise/steel.py', 'description': 'DOCSTRING', 'code': 'def _update_steel(scenario, version, system_model):\n... | 1 |
{'name': 'steerable_filters@src/pyrtools/pyramids/filters.py', 'description': 'Steerable pyramid filters.\n\nTransform described in [1]_, filter kernel design described in [2]_.\n\nReferences\n----------\n.. [1] E P Simoncelli and W T Freeman, "The Steerable Pyramid: A Flexible Architecture for\n Multi-Scale Derivati... | 1 |
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>LJE_MAX_USER_ERROR = 3999 | 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': 'LeastSquares@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Computes a linear least squares fit for ys as a function of xs.\n\nArgs:\n xs: sequence of values\n ys: sequence of values\n\nReturns:\n tuple of (intercept, slope)', 'signature': 'def LeastSquares(xs, ys):'}</s>{'name': 'MakeUnifo... | 0 |
{'name': 'display_sidebar@src/penn_chime/view/st_display.py', 'description': "Initializes the UI in the sidebar. These function calls create input elements, and bind the values they are set to\nto the appropriate variables. It's similar to Ember or Angular, if you are familiar with those frameworks.", 'signature': 'def... | 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': 'fields_to_enum@twitchAPI/helper.py', 'description': 'Iterates a dict or list and tries to replace every dict entry with key in fields with the correct Enum value\n\n:param data: dict or list\n:param fields: list of keys to be replaced\n:param _enum: Type of Enum to be replaced\n:param default: The default val... | 0 |
{'name': 'ApiMixIn.watch_list@k8s/base.py', 'description': "Return a generator that yields WatchEvents of cls.\nIf allowBookmarks is True, WatchBookmarks will also be yielded.\nIt's recommended to use the Watcher class instead of calling this directly,\nsince it handles reconnects and resource versions.", 'signature': ... | 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_pplanfloatpar... | 0 |
{'name': 'main@oaiharvest/registry.py', 'description': 'Process command line options, hand off to appropriate function.', 'signature': 'def main(argv=None):'}</s>logger = logging.getLogger(__name__) | 1 |
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>CPAL032_CATEGORY20B_20 = 144 | 0 |
{'name': 'ReplaceByFeeTest.test_new_unconfirmed_inputs@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that add new unconfirmed inputs are rejected', 'signature': 'def test_new_unconfirmed_inputs(self):'}</s>{'name': 'create_confirmed_utxos@qa/rpc-tests/test_framework/util.py', 'description': 'DOCSTRING',... | 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': '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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_DESTINATION_CLASS = 1273 | 0 |
{'name': 'write_rig_as_usdskel@tools/export_usdskel_from_scratch/python/convert_maya_to_usdskel/converter.py', 'description': 'Write an animated USD Skeleton to-disk.\n\nIf no time range is given then a start/end range is found by looking\nat the earliest start and the latest end animation keys from the\ngiven nodes.\n... | 0 |
{'name': 'BasicTokenizer._clean_text@pytorch_pretrained_bert/tokenization.py', 'description': 'Performs invalid character removal and whitespace cleanup on text.', 'signature': 'def _clean_text(self, text):'}</s>{'name': 'BasicTokenizer@pytorch_pretrained_bert/tokenization.py', 'description': 'Runs basic tokenization (... | 1 |
{'name': 'profiler@python/rmm/rmm/statistics.py', 'description': 'Decorator and context to profile function or code block.\n\nIf statistics are enabled (the current memory resource is an\ninstance of StatisticsResourceAdaptor), this decorator records the\nmemory statistics of the decorated function or code block.\n\nIf... | 0 |
{'name': 'ExportHtml.write_body@ExportHtml.py', 'description': 'Write the body of the HTML.', 'signature': 'def write_body(self, html):'}</s>PACKAGE_SETTINGS = "ExportHtml.sublime-settings" | 0 |
{'name': 'Window.initUI@picasso/gui/render.py', 'description': 'Initializes the main window. Builds dialogs and menu bar.\n\nParameters\n----------\nplugins_loaded : boolean\n If True, plugins have been loaded before.', 'signature': 'def initUI(self, plugins_loaded):'}</s>{'name': 'undrift@picasso/postprocess.py', '... | 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': 'update@hokusai/cli/review_app.py', 'description': 'Updates the Kubernetes based resources defined in ./hokusai/{APP_NAME}.yml', 'signature': 'def update(app_name, verbose):'}</s>{'name': 'deploy@hokusai/cli/review_app.py', 'description': "Update the project's deployment(s) to reference the given image tag", '... | 0 |
{'name': 'state_wait_validate@pibooth/plugins/hookspecs.py', 'description': 'Return the next state name if application can switch to it\nelse return None.\n\n:param cfg: application configuration\n:param app: application instance\n:param win: graphical window instance\n:param events: pygame events generated since last ... | 0 |
{'name': 'edge_to_surface_pts@voxelmorph/py/utils.py', 'description': 'Converts edges to surface points.', 'signature': 'def edge_to_surface_pts(X_edges, nb_surface_pts=None):'}</s>{'name': 'read_file_list@voxelmorph/py/utils.py', 'description': 'Reads a list of files from a line-seperated text file.\n\nParameters:\n ... | 0 |
{'name': 'ProcessGlobalSuppresions@tools/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty if the file is... | 0 |
{'name': 'NetParser.sort_distance@archive/skylift/app/utils/net_parser.py', 'description': 'Sorts networks by geo distance', 'signature': 'def sort_distance(self, networks, scan_type):'}</s>DIR_JSON = join(DIR_DATA, 'json') | 0 |
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru... | 0 |
{'name': 'parseOptionsAndInitTestdirs@llvm-12.0.0-project/lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}... | 1 |
{'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': 'publish_file_in_filecoin@snet/cli/utils/ipfs_utils.py', 'description': 'Push a file to Filecoin given its path.... | 0 |
{'name': 'predict_to_file@examples/task_iflytek_adversarial_training.py', 'description': '输出预测结果到文件\n结果文件可以提交到 https://www.cluebenchmarks.com 评测。', 'signature': 'def predict_to_file(in_file, out_file):'}</s>{'name': 'Adam@bert4keras/optimizers.py', 'description': '重新定义Adam优化器,便于派生出新的优化器\n(tensorflow的optimizer_v2类)', 'b... | 0 |
{'name': 'get_list@ocr_utils.py', 'description': "Read the entire database of fonts to find out what unique entries are \navailable.\n\nParameters\n---------------\n pathName : the path of the zip file containing the database of characters\n input_filters_dict : a dictionary containing columns in the .csv file to... | 0 |
{'name': 'NamespaceLookupTestCase.test_scope_ambiguity_after_using_lookup_with_run_command@tools/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py', 'description': 'Test scope lookup ambiguity after using in lldb.', 'signature': 'def test_scope_ambiguity_after_using_lookup_with_run_command(s... | 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': 'favorites@twitter_to_sqlite/cli.py', 'description': 'Save tweets favorited by specified user', 'signature': 'def favorites(db_path, auth, user_id, screen_name, stop_after):'}</s>{'name': 'read_archive_js@twitter_to_sqlite/utils.py', 'description': 'Open zip file, return (filename, content) for all .js', 'code... | 0 |
{'name': 'main_config_show@signac/__main__.py', 'description': 'Handle config show subcommand.', 'signature': 'def main_config_show(args):'}</s>__version__ = "2.2.0" | 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>SAMPLING_RATE = 44100 | 0 |
{'name': 'kernels_DN_act_R2@e2cnn/kernels/r2.py', 'description': 'Builds a basis for convolutional kernels equivariant to reflections and :math:`N` discrete rotations,\nmodeled by the group :math:`D_N`.\n``in_repr`` and ``out_repr`` need to be :class:`~e2cnn.group.Representation` s\nof :class:`~e2cnn.group.DihedralGrou... | 0 |
{'name': 'test_parse_uri_invalid_uri@cheroot/test/test_core.py', 'description': 'Check that server responds with Bad Request to invalid GET queries.\n\nInvalid request line test case: it should only contain US-ASCII.', 'signature': 'def test_parse_uri_invalid_uri(test_client):'}</s>{'name': 'test_malformed_header@chero... | 0 |
{'name': 'preprocess_and_save_data@Chapter08/Code/utils.py', 'description': "Preprocesses image data and saves the image features and labels as pickle files to be used for the model\n:param data_type: data_type is 'train' or 'test'\n:return: None", 'signature': "def preprocess_and_save_data(data_type ='train'):"}</s>FR... | 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': 'ReplaceByFeeTest.test_new_unconfirmed_inputs@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that add new unconfirmed inputs are rejected', 'signature': 'def test_new_unconfirmed_inputs(self):'}</s>OP_MOD = CScriptOp(0x97) | 0 |
{'name': 'processPEreads@amptk/process_illumina_folder.py', 'description': 'function for multiprocessing of the data, so take file list as input, need global forward/reverse list available', 'signature': 'def processPEreads(input, args=False):'}</s>{'name': 'getSize@amptk/amptklib.py', 'description': 'DOCSTRING', 'code... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.