text
string
label
int64
{'name': 'test_topoplotFast@mne_icalabel/iclabel/tests/test_features.py', 'description': 'Test topoplotFast on a single component.', 'signature': 'def test_topoplotFast(file, eeglab_result_file):'}</s>{'name': '_eeg_rpsd_format@mne_icalabel/iclabel/features.py', 'description': "Apply the formatting steps after 'eeg_rps...
0
{'name': 'l_resnet18@GC_code/Mini_ImageNet/resnet_ws.py', 'description': 'Constructs a ResNet-18 model.\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': 'def l_resnet18(pretrained=False, **kwargs):'}</s>{'name': 'l_resnet50@GC_code/Mini_ImageNet/resnet_ws.py', 'description'...
0
{'name': 'Fzip@amptk/amptklib.py', 'description': 'function to zip as fast as it can, pigz -> bgzip -> gzip', 'signature': 'def Fzip(input, output, cpus):'}</s>{'name': 'runSubprocess@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def runSubprocess(cmd, logfile):\n logfile.debug(\' \'.join(cmd))\n proc ...
0
{'name': 'main@waybackpy/cli.py', 'description': "\x08\n _ _\n | | | |\n__ ____ _ _ _| |__ __ _ ___| | ___ __ _ _\n\\ \\ /\\ / / _` | | | | '_ \\ / _` |/ __| |/ / '_ \\| | | |\n \\ V V / (_| | |_| | |_) | (_| | (__| <| |_) | |_| |\n \\_...
1
{'name': 'FigmaPy.get_file_images@figmapy/session/figma_requests.py', 'description': 'Get urls for server-side rendered images from a file.\nIf the node is not an image, a rasterized version of the node will be returned.', 'signature': 'def get_file_images(self, file_key, ids, scale=None, format=None, version=None) -> ...
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': '_LowLevelParser.getExpressionParts@Cheetah/Parser.py', 'description': 'Get a Cheetah expression that includes $CheetahVars and break at\ndirective end tokens, the end of an enclosure, or at a specified\npyToken.', 'signature': 'def getExpressionParts(self,'}</s>tripleQuotedStringREs = {}
0
{'name': 'parse_binary_acl@msldap/external/bloodhoundpy/acls.py', 'description': 'Main ACL structure parse function.\nThis is offloaded to subprocesses and takes the current entry and the\nacl data as argument. This is then returned and processed back in the main process', 'signature': 'def parse_binary_acl(dn, entry, ...
1
{'name': 'ProcessLine@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of th...
0
{'name': 'AttributeErrorTests.test_set_dict_comprehension@didyoumean/didyoumean_sugg_tests.py', 'description': '{} creates a dict and not an empty set leading to errors.', 'signature': 'def test_set_dict_comprehension(self):'}</s>NO_KEYWORD_ARG_MSG = "use positional arguments (functions written in C do not accept k...
0
{'name': '_generate_tree_leaf@src/backend/api/utils/file_utils.py', 'description': 'Recursive function that generates a tree leaf from parts\n\n@param branches: list(dict({\n title,\n children,\n hash,\n isLeaf,\n}))\n@param parts: list(str)\n@param md5chksum: str', 'signature': 'def _generate_tree_leaf(bra...
0
{'name': 'ReplaceByFeeTest.test_too_many_replacements@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>OP_ADD = CScriptOp(0x93)
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQPRI_PRIORITY_AS_PUBLISHED = -3
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>MQOD_STRUC_ID = b'OD '
0
{'name': 'get_follows@weibo_scraper.py', 'description': ':param max_item_limit:\n:param name:\n:param uid:\n:param pages:\n:return:', 'signature': 'def get_follows(name: str = None, uid: str = None, pages: int = None, max_item_limit: int = None):'}</s>{'name': 'weibo_getIndex@weibo_base/weibo_api.py', 'description': "g...
0
{'name': 'TraceForest.add_trace@jitlog/objects.py', 'description': 'Create a new trace object and attach it to the forest ', 'signature': 'def add_trace(self, trace_type, unique_id, trace_nmr, jd_name=None):'}</s>{'name': 'iter_ranges@jitlog/objects.py', 'description': 'DOCSTRING', 'code': 'def iter_ranges(numbers):\n ...
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': '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': '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': '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
{'name': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'sig...
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': 'TGRG@riskfolio/src/RiskFunctions.py', 'description': 'Calculate the Tail Gini range of a returns series.\n\nParameters\n----------\nX : 1d-array\n Returns series, must have Tx1 size.\nalpha : float, optional\n Significance level of Tail Gini of losses. The default is 0.05.\na_sim : float, optional\n ...
0
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'get_last_history_package@src/python_scripts/afnipy/afni_util.py',...
0
{'name': 'HtmlRenderer.__init__@mistletoe/html_renderer.py', 'description': "Args:\n extras (list): allows subclasses to add even more custom tokens.\n html_escape_double_quotes (bool): whether to also escape double\n quotes when HTML-escaping rendered text.\n html_escape_single_quotes (bool): whether t...
0
{'name': 'get_arguments@train_full.py', 'description': 'Parse all the arguments provided from the CLI.\n\nReturns:\n A list of parsed arguments.', 'signature': 'def get_arguments():'}</s>MOMENTUM = 0.9
1
{'name': 'check_explicit_underscore_import@designateclient/hacking/checks.py', 'description': "Check for explicit import of the _ function\n\nWe need to ensure that any files that are using the _() function\nto translate logs are explicitly importing the _ function. We\ncan't trust unit test to catch whether the impor...
0
{'name': 'position_encoding_init@deepvoice3_pytorch/modules.py', 'description': 'Init the sinusoid position encoding table ', 'signature': 'def position_encoding_init(n_position, d_pos_vec, position_rate=1.0,'}</s>{'name': 'GradMultiply@deepvoice3_pytorch/modules.py', 'description': 'DOCSTRING', 'base_classes': ['torch...
0
{'name': 'glacier_masks@oggm/core/gis.py', 'description': 'Makes a gridded mask of the glacier outlines that can be used by OGGM.\n\nFor a more robust solution (not OGGM compatible) see simple_glacier_masks.\n\nParameters\n----------\ngdir : :py:class:`oggm.GlacierDirectory`\n where to write the data', 'signature': ...
0
{'name': 'bdcn_lossORI@losses.py', 'description': ':param inputs: inputs is a 4 dimensional data nx1xhxw\n:param targets: targets is a 3 dimensional data nx1xhxw\n:return:', 'signature': 'def bdcn_lossORI(inputs, targets, l_weigts=1.1,cuda=False):'}</s>{'name': 'bdcn_loss2@losses.py', 'description': 'DOCSTRING', 'code'...
0
{'name': 'Input.get_fields@verif/input.py', 'description': 'Get the available fields in this input\n\nReturns:\n list(verif.field): The available fields', 'signature': 'def get_fields(self):'}</s>{'name': 'get_screen_width@verif/util.py', 'description': 'How many character wide is the console? ', 'code': 'def get_scr...
0
{'name': 'test_executor_once@tests/test_executor.py', 'description': 'Test that ExecutorEventEmitters also emit events for once.', 'signature': 'def test_executor_once():'}</s>{'name': 'ExecutorEventEmitter@pyee/executor.py', 'description': "An event emitter class which runs handlers in a `concurrent.futures`\nexecutor...
1
{'name': 'SignatureHash@qa/rpc-tests/test_framework/script.py', 'description': 'Consensus-correct SignatureHash\n\nReturns (hash, err) to precisely match the consensus-critical behavior of\nthe SIGHASH_SINGLE bug. (inIdx is *not* checked for validity)', 'signature': 'def SignatureHash(script, txTo, inIdx, hashtype):'}<...
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': '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_setup@lib/ddupdate/main.py', 'description': 'Ensure that our cache di...
0
{'name': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'gef_on_stop_hook@gef.py', 'description': 'DOCSTRING', 'code': 'def gef_on_stop_hook(func: Callable[["gdb.Sto...
0
{'name': 'IEWindow.ie_window@browser/ie.py', 'description': '获取Internet Explorer_Server对应的ie窗口\n ', 'signature': 'def ie_window(self):'}</s>{'name': 'TrayNotifyBar@qt4c/wincontrols.py', 'description': '系统的通知区域\n ', 'base_classes': ['Control'], 'methods': [{'name': 'TrayNotifyBar.__init__@qt4c/wincontrols.py',...
0
{'name': 'LinuxSCSITestCase.test_extend_volume_with_mpath@os_brick/tests/initiator/test_linuxscsi.py', 'description': 'Test extending a volume where there is a multipath device.', 'signature': 'def test_extend_volume_with_mpath(self, mock_realpath,'}</s>{'name': 'VolumePathsNotFound@os_brick/exception.py', 'description...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQZID_CHECK_PRIVILEGED = 13
0
{'name': 'CSSParser.parse_selectors@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse selectors.', 'signature': 'def parse_selectors(self, iselector, index=0, flags=0):'}</s>CSS_PLACEHOLDER_SHOWN = CSSParser( ''' html|*:is( input:is( :not([type]...
0
{'name': 'read_annotations@externals/modified_gap/gap_scorer.py', 'description': "Reads coreference annotations for the examples in the given file.\n\nArgs:\n filename: Path to .tsv file to read.\n is_gold: Whether or not we are reading the gold annotations.\n\nReturns:\n A dict mapping example ID strings to their A...
0
{'name': 'plot_data@point_cloud_results.py', 'description': 'Plot the data from results.txt in the given results directory', 'signature': 'def plot_data():'}</s>{'name': 'load_blender_data@load_blender.py', 'description': 'DOCSTRING', 'code': "def load_blender_data(basedir, half_res=False, testskip=1):\n splits = ['...
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': 'test_substitute_macros_missing@vermouth/tests/test_ffinput.py', 'description': 'Test _substitute_macros fails when a macro is mi...
0
{'name': 'test_parsing_with_links@tests/parsing_test.py', 'description': 'Tests that "links" parses correctly', 'signature': 'def test_parsing_with_links(with_links):'}</s>{'name': 'test_parsing_dupe_operation_id@tests/parsing_test.py', 'description': 'Tests that duplicate operation Ids are an error', 'code': 'def test...
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': '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': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ...
0
{'name': 'GTestHelpTest.TestUnknownFlagWithAbseil@Engine/lib/gtest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when an unknown flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to the...
0
{'name': 'TestError.test_find@test/test_response.py', 'description': 'Can correctly identify the appropriate exception', 'signature': 'def test_find(self):'}</s>{'name': 'InvalidException@nsq/exceptions.py', 'description': 'Exception for E_INVALID', 'base_classes': ['NSQException'], 'methods': []}
1
{'name': 'remove_path_segments@furl/furl.py', 'description': "Removes the path segments of <remove> from the end of the path\nsegments <segments>.\n\nExamples:\n # ('/a/b/c', 'b/c') -> '/a/'\n remove_path_segments(['','a','b','c'], ['b','c']) == ['','a','']\n # ('/a/b/c', '/b/c') -> '/a'\n remove_path_segments(['',...
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MASK_FLQ = 28799
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_CF_STATUS_TYPE = 1135
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PFTM_TCP_ESTABLISHED = 2
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCGWI_DEFAULT = -2
0
{'name': 'net_bond_obj@kayobe/plugins/filter/networks.py', 'description': 'Return a dict representation of a network bond interface.\n\nThe returned dict is compatible with the interfaces_bond_interfaces\nvariable in the MichaelRigaert.interfaces role.', 'signature': 'def net_bond_obj(context, name, inventory_hostname=...
1
{'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': 'get_default_func_arg_map@object_detection/core/preprocessor.py', 'description': 'Returns the default mapping from a preprocessor function to its args.\n\nArgs:\n include_label_weights: If True, preprocessing functions will modify the\n label weights, too.\n include_label_confidences: If True, preprocessi...
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': 'lastrank@bottleneck/slow/move.py', 'description': "The ranking of the last element along the axis, ignoring NaNs.\n\nThe ranking is normalized to be between -1 and 1 instead of the more\ncommon 1 and N. The results are adjusted for ties.\n\nParameters\n----------\na : ndarray\n Input array. If `a` is not a...
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>MQCD_VERSION_7 = py23long(7)
0
{'name': 'FancyPage.afterDrawPage@rst2pdf/createpdf.py', 'description': 'Draw header/footer.', 'signature': 'def afterDrawPage(self, canv, doc):'}</s>{'name': 'Aafig@rst2pdf/directives/aafigure.py', 'description': 'Directive to insert an ASCII art figure to be rendered by aafigure.', 'base_classes': ['rst.Directive'], ...
0
{'name': 'comma_join@montreal_forced_aligner/helper.py', 'description': 'Helper function to combine a list into a human-readable expression with commas and a\nfinal "and" separator\n\nParameters\n----------\nsequence: list[Any]\n Items to join together into a list\n\nReturns\n-------\nstr\n Joined items in list f...
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': 'NetworkContainerV6@infoblox_client/objects.py', 'description': "NetworkContai...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_SERVICE_STATUS_ATTRS = 1225
0
{'name': 'GLPK.solve_problem_from_file@linopy/solvers.py', 'description': 'Solve a linear problem from a problem file using the glpk solver.\n\nThis function reads the linear problem file and passes it to the\nglpk solver. If the solution is successful it returns variable solutions\nand constraint dual values.\n\nFor m...
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>maplist = { 'ContentLength': 'Content-Length', 'ContentMD5': 'Content-MD5', 'ContentType': 'Content-Type', 'CacheCo...
0
{'name': 'parse_data@global_scraper.py', 'description': 'Parse and store all the data\n ', 'signature': 'def parse_data():'}</s>{'name': 'get_fixtures_data@getters.py', 'description': 'Retrieve the fixtures data for the season\n ', 'code': 'def get_fixtures_data():\n """ Retrieve the fixtures data for the seas...
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': 'codep_dist@riskfolio/src/AuxFunctions.py', 'description': "Calculate the codependence and distance matrix according the selected method.\n\nParameters\n----------\nreturns : DataFrame of shape (n_samples, n_assets)\n Assets returns DataFrame, where n_samples is the number of\n observations and n_assets ...
0
{'name': 'extract_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def extract_kalman_boxes(dataset_test, net, rpn_conf, test_path, data_folder):'}</s>{'name': 'iou@lib/core.py', 'description': "Computes the amount of Intersection over Union (IoU) betwee...
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': '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>EASING_OUT_SINE = 2
0
{'name': '_covhelper@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Private function for the computation of covariance and correlation\ncoefficients.', 'signature': 'def _covhelper(x, y=None, rowvar=True, allow_masked=True):'}</s>{'name': 'masked_less_equal@venv/Lib/site-packages/numpy/ma/core.py', 'descri...
0
{'name': 'bbox_iou@quickai/yolo/utils.py', 'description': '@param bboxes1: (a, b, ..., 4)\n@param bboxes2: (A, B, ..., 4)\n x:X is 1:n or n:n or n:1\n@return (max(a,A), max(b,B), ...)\nex) (4,):(3,4) -> (3,)\n (2,1,4):(2,3,4) -> (2,3)', 'signature': 'def bbox_iou(bboxes1, bboxes2):'}</s>cfg = __C
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>DEBUG = True
0
{'name': 'Series.bookmark@AO3/series.py', 'description': 'Bookmarks this series\nThis function is threadable\n\nArgs:\n notes (str, optional): Bookmark notes. Defaults to "".\n tags (list, optional): What tags to add. Defaults to None.\n collections (list, optional): What collections to add this bookmark to. D...
0
{'name': 'ReceiveClient.receive_messages_iter@uamqp/client.py', 'description': 'Receive messages by generator. Messages returned in the generator have already been\naccepted - if you wish to add logic to accept or reject messages based on custom\ncriteria, pass in a callback.\n\n:param on_message_received: A callback t...
0
{'name': 'scene@solution/tools/aliyun_subscribe_actiontrail/index.py', 'description': 'Params: context 格式\n{\n "accountId":"",\n "eventId:":"",\n "rgId":"",\n "resId":"",\n "resType":"disk"\n}\n场景一:有两个账号:\n1、日志账号,开通事件总线 + 函数计算 + RDS,用于响应事件。\n2、业务账号,开通事件总线,将事件总线消息推到日志账号。\n\n场景二:有三个账号:\n1、日志账号,开通事件总线 + 函数计...
1
{'name': 'document_plugins_tokens_list@docs/source/conf.py', 'description': 'Generate the plugins list documentation page from application extraction.', 'signature': 'def document_plugins_tokens_list(list_path: Path, output_path: Path) -> None:'}</s>intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
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': 'CheckForNewlineAtEOF@third_party/cpplint/cpplint.py', 'description': 'Logs an error if there is no newline char at the end of the file.\n\nArgs:\n filename: The name of the current file.\n lines: An array of strings, each representing a line of the file.\n error: The function to call with any errors found....
0
{'name': 'plot_sounding@pymeteo/skewt.py', 'description': 'Plot sounding data\n\nThis plots temperature, dewpoint and wind data on a Skew-T/Log-P plot.\nThis will also plot derived values such as wetbulb temperature and\nlabel the surface based LCL, LFC and EL.\n\n:parameter z: height values (1D array)\n:parameter th: ...
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>MQRCCF_BROKER_DELETED = 3070
0
{'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>CMAP_CET_D10 = 69
0
{'name': 'mpl_palette@nelpy/plotting/palettes.py', 'description': 'Return discrete colors from a matplotlib palette.\n\nNote that this handles the qualitative colorbrewer palettes\nproperly, although if you ask for more colors than a particular\nqualitative palette can provide you will get fewer than you are\nexpecting...
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': 'stream_filter@twitter_to_sqlite/utils.py', 'description': 'DOCSTRING', 'code': 'def stream_f...
1
{'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': 'BaggingPuClassifier.decision_function@src/pulearn/bagging.py', 'description': 'Average of the decision functions of the base classifiers.\n\nParameters\n----------\nX : {array-like, sparse matrix} of shape = [n_samples, n_features]\n The training input samples. Sparse matrices are accepted only if\n the...
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': 'SentenceTreeParser._parse_expr@padatious/bracket_expansion.py', 'description': "Generate sentence token trees from the current position to\nthe next closing parentheses / end of the list and return it\n['1', '(', '2', '|', '3, ')'] -> ['1', [['2'], ['3']]]\n['2', '|', '3'] -> [['2'], ['3']]", 'signature': 'de...
1
{'name': 'Type.input_fields@pygraphy/introspection.py', 'description': 'INPUT_OBJECT only', 'signature': 'def input_fields(self) -> Optional[List[InputValue]]:'}</s>{'name': 'Schema@pygraphy/introspection.py', 'description': 'DOCSTRING', 'base_classes': ['Object'], 'methods': [{'name': 'Schema.directives@pygraphy/intro...
0
{'name': 'edit_string_for_tags@tagging/utils.py', 'description': "Given list of ``Tag`` instances, creates a string representation of\nthe list suitable for editing by the user, such that submitting the\ngiven string representation back without changing it will give the\nsame list of tags.\n\nTag names which contain co...
0
{'name': 'tutorials@api/views.py', 'description': 'get: Return all tutorials\npost: submit a tutorial', 'signature': 'def tutorials(request):'}</s>{'name': 'Tag@app/models.py', 'description': 'tags have a name, creation date and maybe description', 'base_classes': ['models.Model'], 'methods': [{'name': 'Tag.__str__@app...
1
{'name': 'Segsort.get_params_lr@spml/models/predictions/segsort.py', 'description': 'Helper function to adjust learning rate for each sub modules.\n ', 'signature': 'def get_params_lr(self):'}</s>{'name': 'segsort@spml/models/predictions/segsort.py', 'description': 'Non-paramteric prototype predictor.\n ', 'code': ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCFC_LAST = 1
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': 'inform_user@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Tell the user the option values that are going to be used.\n ', 'signature': 'def inform_user():'}</s>{'name': 'run_command@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Run a command and display the out...
0
{'name': 'TestModel.test_simple@tests/test_models.py', 'description': "Tests if Field behaves just like Django's ImageField.", 'signature': 'def test_simple(self, db):'}</s>{'name': 'CustomRenderVariationsModel@tests/models.py', 'description': 'Use custom render_variations.', 'base_classes': ['models.Model'], 'methods'...
0
{'name': 'Mosek._solve@linopy/solvers.py', 'description': 'Solve a linear problem from a Mosek task object.\n\nParameters\n----------\nm : mosek.Task\n Mosek task object.\nsolution_fn : Path, optional\n Path to the solution file.\nlog_fn : Path, optional\n Path to the log file.\nwarmstart_fn : Path, optional\n...
1