text
string
label
int64
{'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': 'run@test/io/postgrest.py', 'description': 'Run PostgREST and yield an endpoint that is ready for connections.', 'signature': 'def run('}</s>{'name': 'freeport@test/io/postgrest.py', 'description': 'Find a free port on localhost.', 'code': 'def freeport(used_port=None):\n "Find a free port on localhost."\n ...
1
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQBACF_SUB_ID = 7016
0
{'name': 'hyp_softmax_k@scratch/learning_util.py', 'description': 'Hyperbolic softmax.\na_k is a Euclidean and p_k is a hyperbolic parameter.', 'signature': 'def hyp_softmax_k(a_k, p_k, x, c=1):'}</s>{'name': 'torch_tanh@scratch/learning_util.py', 'description': 'DOCSTRING', 'code': 'def torch_tanh(x):\n return torc...
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
0
{'name': 'CodeChunk.__pre_init__@codebraid/code_chunks.py', 'description': 'Create lists of errors and warnings. Subclasses may need to record\nerrors or warnings during preprocessing, before they are ready\nto call `super().__init__()`', 'signature': 'def __pre_init__(self):'}</s>{'name': 'StderrRunErrorRef@codebraid...
0
{'name': 'torgb@boxx/ylimg/ylimgTool.py', 'description': 'try to transfer a tensor to normalized RGB image\n\nnormalizing img value to 0~1\nand transpose (..., 3, w, h) to (..., w, h, 3)', 'signature': 'def torgb(img):'}</s>{'name': 'getDefaultColorList@boxx/ylimg/ylimgTool.py', 'description': '产生尽可能不同的颜色集,用于多label上色\n...
0
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'render_pep440_post_branch@versioneer.py', 'description': 'TAG[.postDISTANCE[.dev0]+gHEX[.dirty]] .\n\nThe ".dev0" means not master branch.\n\nExceptions:\n...
1
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': 'connect_handler@src/server/server.py', 'description': 'Starts the interface and a heartbeat thread for rssi.', 'code': "def connect_handler(auth):\n '''Starts...
0
{'name': 'uberenv_create_mirror@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'Calls uberenv to create a spack mirror.', 'signature': 'def uberenv_create_mirror(prefix, spec, project_file, mirror_path):'}</s>{'name': 'build_and_test_host_config@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description':...
0
{'name': 'set_jwst_to_hst_keywords@grizli/jwst_utils.py', 'description': 'Make primary header look like an HST instrument\n\nParameters\n----------\ninput : str, `~astropy.io.fits.HDUList`\n Filename or FITS HDUList object to modify.\n\nreset : bool\n Reset original JWST keywords to their original values.\n\nverb...
0
{'name': 'Win32Serial.setRTS@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Set terminal status line: Request To Send', 'signature': 'def setRTS(self, level=1):'}</s>FILE_FLAG_OVERLAPPED = 1073741824
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQGMO_STRUC_ID = b'GMO '
0
{'name': 'GlobalAverageBlock.__init__@models/kpconv/blocks.py', 'description': 'Initialize a global average block with its ReLU and BatchNorm.', 'signature': 'def __init__(self):'}</s>{'name': 'KPConv@models/kpconv/blocks.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], 'methods': [{'name': 'KPConv.__ini...
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': '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': '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': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ...
0
{'name': 'TLP.set_ca_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completer abort (CA) completion for TLP', 'signature': 'def set_ca_completion(self, tlp, completer_id):'}</s>TLP_MSG_DATA_ID = (FMT_4DW_DATA, 0x12)
0
{'name': 'GAEBuffer.store@fireup/algos/trpo/trpo.py', 'description': 'Append one timestep of agent-environment interaction to the buffer.', 'signature': 'def store(self, obs, act, rew, val, logp, info):'}</s>{'name': 'sync_all_params@fireup/utils/mpi_torch.py', 'description': 'DOCSTRING', 'code': 'def sync_all_params(p...
0
{'name': 'is_ip_addr@signac/_vendor/configobj/validate.py', 'description': 'Check that the supplied value is an Internet Protocol address, v.4,\nrepresented by a dotted-quad string, i.e. \'1.2.3.4\'.\n\n>>> vtor.check(\'ip_addr\', \'1 \')\n\'1\'\n>>> vtor.check(\'ip_addr\', \' 1.2\')\n\'1.2\'\n>>> vtor.check(\'ip_addr\...
0
{'name': 'GoEl@MRT_FUNC_PY4_influxDB.py', 'description': 'Go to a specific elevation without changing azimuth', 'signature': 'def GoEl(elGe=None):'}</s>{'name': 'read_ser_buffer_to_eot@MRT_FUNC_PY4_influxDB.py', 'description': 'DOCSTRING', 'code': 'def read_ser_buffer_to_eot(ser):\n output = []\n buf = ser.readli...
0
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>quotedString = Combine(Regex(r'"(?:[^"\n\r\\]|(?:"")|(?:\\(?:[^x]|x[0-9a-fA-F]+))...
1
{'name': 'Variant.do_import@qa/rpc-tests/import-rescan.py', 'description': 'Call one key import RPC.', 'signature': 'def do_import(self, timestamp):'}</s>IMPORT_VARIANTS = [Variant(*variants) for variants in itertools.product(Call, Data, Rescan, (False, True))]
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_SYSP_OUT_BUFFER_COUNT = 1181
0
{'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':...
1
{'name': 'legalize_and_lift_params@build.py', 'description': 'First-stage: Legalize ops and trace', 'signature': 'def legalize_and_lift_params('}</s>{'name': 'debug_dump_shader@build.py', 'description': 'Debug dump mode', 'code': 'def debug_dump_shader(ex, name, args):\n """Debug dump mode"""\n if not args.debug_...
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': 'RandomResizedCrop.__call__@randomcrop.py', 'description': 'Args:\n img (PIL Image): Image to be cropped and resized.\n\nReturns:\n PIL Image: Randomly cropped and resized image.', 'signature': 'def __call__(self, img,img_gt):'}</s>{'name': 'RandomHorizontallyFlip@randomcrop.py', 'description': 'DOCSTRIN...
0
{'name': 'second_pass_threshold@avgn/segment_song/wav_to_syllables.py', 'description': 'The first pass threshold finds bouts based upon silences. The second pass, sets a more liberal threshold, based upon stretches of audio\nwhich are controlled for the expected bout rate', 'signature': 'def second_pass_threshold(onset...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQPD_CURRENT_VERSION = 1
0
{'name': 'update_payout_screen@displays/waveshare2in13v3.py', 'description': "Update the payout screen to reflect balance of deposited coins.\nScan the invoice??? I don't think so!", 'signature': 'def update_payout_screen():'}</s>qr_failed_2 = "Try again."
0
{'name': 'post_comment@shingetsu/mch/post.py', 'description': 'Post article.', 'signature': 'def post_comment(env, thread_key, name, mail, body, passwd, tag=None):'}</s>enable2ch = _get_value(_extconf, 'Gateway', 'enable_2ch', False, 'boolean')
0
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'IPv6HostAddress@infoblox_client/objects.py', 'description': "IPv6HostAddress: IPv6 Host address object.\nCorresponds to WAPI object 'record:host_ipv6addr'\n\nAn IPv6 host addr...
0
{'name': 'genesets@pipelines/pipeline_scxl.py', 'description': 'Intermediate target to run geneset tasks', 'signature': 'def genesets(infile, outfile):'}</s>{'name': 'topClusterMarkers@pipelines/pipeline_scxl.py', 'description': 'Identify the strongest cluster markers\nbased on significance, expression frequency, expre...
0
{'name': 'Control.report_incorrect_image@src/python3_anticaptcha/control.py', 'description': 'Complaints are accepted for image captchas only.\n\nExamples:\n >>> Control(api_key="99d7d111a0111dc11184111c8bb111da").report_incorrect_image(taskId=425436541)\n {\n "errorId":0,\n "status":"success"\n ...
1
{'name': '_align_column@misc/tableutils.py', 'description': '[string] -> [padded_string]\n\n>>> list(map(str,_align_column(["12.345", "-1234.5", "1.23", "1234.5", "1e+234", "1.0e234"], "decimal")))\n[\' 12.345 \', \'-1234.5 \', \' 1.23 \', \' 1234.5 \', \' 1e+234 \', \' 1.0e234\']\n\n>>> list(map(st...
0
{'name': 'is_ip_addr@signac/_vendor/configobj/validate.py', 'description': 'Check that the supplied value is an Internet Protocol address, v.4,\nrepresented by a dotted-quad string, i.e. \'1.2.3.4\'.\n\n>>> vtor.check(\'ip_addr\', \'1 \')\n\'1\'\n>>> vtor.check(\'ip_addr\', \' 1.2\')\n\'1.2\'\n>>> vtor.check(\'ip_addr\...
0
{'name': 'get_boxes@dpipe/im/grid.py', 'description': "Yield boxes appropriate for a tensor of shape ``shape`` in a convolution-like fashion.\n\nParameters\n----------\nshape\n the input tensor's shape.\nbox_size\naxis\n axes along which the slices will be taken.\nstride\n the stride (step-size) of the slice.\...
0
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>_THREADING_LIST = ( ('asctime(', 'asctime_r(', _UNSAFE_FUNC_PREFIX + r'asctime\([^)]+\)'), ...
0
{'name': 'tt_entails@aimacode/logic.py', 'description': "Does kb entail the sentence alpha? Use truth tables. For propositional\nkb's and sentences. [Figure 7.10]. Note that the 'kb' should be an\nExpr which is a conjunction of clauses.\n>>> tt_entails(expr('P & Q'), expr('Q'))\nTrue", 'signature': 'def tt_entails(kb, ...
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': 'get_versions@cytoolz/_version.py', 'description': 'Get version information or return default if unable to do so.', 'signature': 'def get_versions():'}</s>{'name': 'NotThisMethod@cytoolz/_version.py', 'description': 'Exception raised if a method is not valid for the current scenario.', 'base_classes': ['Except...
1
{'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': '_test_core@ci/weekly/test_all_sat_end_to_end_on_disk.py', 'description': 'Core function testing all data\nArgs:\n pattern (str): Pattern of the satellite\n prod_dirs (Union[str, list]): Product directory\n possible_bands(list): Possible bands\n debug (bool): Debug option', 'signature': 'def _test_...
0
{'name': 'Message.to_dict@src/betterproto/__init__.py', 'description': 'Returns a JSON serializable dict representation of this object.\n\nParameters\n-----------\ncasing: :class:`Casing`\n The casing to use for key values. Default is :attr:`Casing.CAMEL` for\n compatibility purposes.\ninclude_default_values: :cl...
1
{'name': 'picked_locs@picasso/postprocess.py', 'description': 'Finds picked localizations.\n\nParameters\n----------\nlocs : np.recarray\n Localization list.\ninfo : list of dicts\n Metadata of the localizations list.\npicks : list\n List of picks.\npick_shape : {\'Circle\', \'Rectangle\', \'Polygon\'}\n Sh...
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': 'CSSParser.selector_iter@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Iterate selector tokens.', 'signature': 'def selector_iter(self, pattern):'}</s>{'name': 'CustomSelectors@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_types.py', 'description': ...
0
{'name': '_decode_region@pylibdmtx/pylibdmtx.py', 'description': 'Decodes and returns the value in a region.\n\nArgs:\n region (DmtxRegion):\n\nYields:\n Decoded or None: The decoded value.', 'signature': 'def _decode_region(decoder, region, corrections, shrink, return_vertices=False):'}</s>{'name': '_image@pylib...
0
{'name': 'BaseImage.convex_hull@wand/image.py', 'description': "Find the smallest convex polygon, and returns a list of points.\n\n.. note:: Requires ImageMagick-7.0.10 or greater.\n\nYou can pass the list of points directly to\n:meth:`Drawing.polygon() <wand.drawing.Drawing.polygon>` method\nto draw the convex hull sh...
0
{'name': 'NetSuiteClient.login@netsuitesdk/internal/client.py', 'description': 'Authenticate and login user for a Netsuite session. The passport argument is\nof type Passport(email, password, role and account) which holds the credentials\nand can be created with NetSuiteClient.create_password.\n\n:param int application...
0
{'name': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>{'name': 'Help@robopianist/viewer/application.py', 'description': 'Contains the description of input map employed in the application.', 'b...
0
{'name': 'shows@boxx/ylimg/ylimgTool.py', 'description': '图片展示分析工具 使用浏览器同步显示同一图像的不同数据表示 如不同通道的image,gt,resoult \n支持放大缩小与拖拽\n\nParameters\n----------\nimgs : list include path or np.ndarray \n 图片地址或图片np.ndarray 组成的list 要求所有图片宽高相同', 'signature': 'def shows(*imgs, png=False, coln=None):'}</s>{'name': '__torchShape@box...
0
{'name': '_dependents@shipwright/_lib/dependencies.py', 'description': "Returns a target it's dependencies and everything that depends on it", 'signature': 'def _dependents(target, tree):'}</s>{'name': '_find@shipwright/_lib/dependencies.py', 'description': 'DOCSTRING', 'code': 'def _find(tree, name):\n def find_(lo...
1
{'name': 'lprint@art/functions.py', 'description': 'Print a grid (length X height) of the given character.\n\n:param length: the grid length\n:type length: int\n:param height: the grid height\n:type height: int\n:param char: target character\n:type char: str\n:return: None', 'signature': "def lprint(length=15, height=1...
0
{'name': 'SwitchJoyConLeft.__init__@src/python/approxeng/input/switch.py', 'description': 'Create a new Nintendo Switch Joycon controller instance\n\nLeft hand controller only\n\n:param float dead_zone:\n Used to set the dead zone for each :class:`approxeng.input.CentredAxis` and\n :class:`approxeng.input.Trigger...
0
{'name': 'start@server.py', 'description': ' Pulls the parameters from disk\n Instantiate QuestionAnswering class (onefile).\n\n Thus, all models are loaded.\n Help loading the model, then start the server.\n\n CHANGE MAJOR CONFIGS HERE\n:return:', 'signature': 'def start():'}</s>EMBEDDING_GLOVE_DIM = 30...
0
{'name': 'post2rss@morerss/zhihu_stream.py', 'description': ':param post (dict): 帖子数据\n:param digest (bool): 输出摘要\n:param pic (str): pic=cf 或 pic=google:指定图片代理提供方\n:param extra_types (tuple): 除回答和文章之外的其他帖子类型\n:return: PyRSS2Gen.RSSItem: post RSS item', 'signature': 'def post2rss(post, digest=False, pic=None, extra_type...
1
{'name': 'request_get_body@wrappers/python/indy_vdr/bindings.py', 'description': 'Get the canonical signature input for a prepared request.', 'signature': 'def request_get_body(handle: RequestHandle) -> str:'}</s>{'name': 'set_ledger_txn_cache@wrappers/python/indy_vdr/bindings.py', 'description': 'Set the library confi...
0
{'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:', 'signature': 'def _insert_newlines(text: str, n=40):'}</s>GET = "get"
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': 'render_pep440_pre@versioneer.py', 'description': 'TAG[.post0.devDISTANCE] -- No -dirty.\n\nExceptions:\n1: no tags. 0.post0.devDISTANCE', 'signature': 'def render_pep440_pre(pieces):'}</s>CONFIG_ERROR = " setup.cfg is missing the necessary Versioneer configuration. You need a section like: [versioneer] VCS...
0
{'name': 'Test.runTest@agithub/test.py', 'description': 'Run a single test with the given API session', 'signature': 'def runTest(self, test, api):'}</s>Skip = "Skip"
1
{'name': 'Decoration.__init__@transformer/python.py', 'description': ':param decorator: Name of the decorator applied to *target*.\n:param target: Function or class definition to which is applied\n *decorator*.', 'signature': 'def __init__('}</s>{'name': 'IfElse@transformer/python.py', 'description': 'The if/elif/el...
0
{'name': 'data_generator@driving/maskModel.py', 'description': 'A generator that returns images and corresponding target class ids,\nbounding box deltas, and masks.\n\ndataset: The Dataset object to pick data from\nconfig: The model config object\nshuffle: If True, shuffles the samples before every epoch\naugment: If T...
0
{'name': 'test_style_hang@tests/test_css.py', 'description': 'The sanitizer should not hang on any inline styles', 'signature': 'def test_style_hang():'}</s>{'name': 'clean@bleach/__init__.py', 'description': 'Clean an HTML fragment of malicious content and return it\n\nThis function is a security-focused function whos...
1
{'name': 'search_ast@core/text.py', 'description': 'Returns the number of descendants of `node` that match `template`\n(either a type or tuple that is passed to `isinstance`,\nor a partial AST that is passed to `is_ast_like`)\nand satisfy the optional predicate.', 'signature': 'def search_ast(node, template, predicate=...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQPMO_NO_SYNCPOINT = 4
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQZAO_DISPLAY = 262144
0
{'name': 'SystemTest.test_get_active_mode_hot_water_no_hotwater@tests/test_system.py', 'description': 'Test active mode without hot water.', 'signature': 'def test_get_active_mode_hot_water_no_hotwater(self) -> None:'}</s>{'name': 'SystemTest@tests/test_system.py', 'description': 'Test class.', 'base_classes': ['unitte...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQICM_SEND_THEN_COMMIT = b'1'
0
{'name': 'parse_args_mat_plot@src/python_scripts/afnipy/lib_mat2d_plot.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args_mat_plot(full_argv):'}</s>opts_list = ab.parse_help_text_for_opts( help_string_mat_plot )
1
{'name': 'add_constructor@Others_Labs/code/Survey-Survey/yaml/__init__.py', 'description': 'Add a constructor for the given tag.\nConstructor is a function that accepts a Loader instance\nand a node object and produces the corresponding Python object.', 'signature': 'def add_constructor(tag, constructor, Loader=Loader)...
0
{'name': '_load_ips@jupyter_client/localinterfaces.py', 'description': 'load the IPs that point to this machine\n\nThis function will only ever be called once.\n\nIf will use psutil to do it quickly if available.\nIf not, it will use netifaces to do it quickly if available.\nThen it will fallback on parsing the output ...
1
{'name': 'Helpfile.WriteParagraph@vimdoc/output.py', 'description': 'Writes one paragraph.', 'signature': 'def WriteParagraph(self, p, namespace, indent=0):'}</s>empty_vimdoc_leader = re.compile(r'^\s*""$')
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': 'DFTimewolfTool.ValidateArguments@dftimewolf/cli/dftimewolf_recipes.py', 'description': 'Validate the arguments.\n\nArgs:\n dry_run: True if the tool is only testing parameters, False otherwise.\n\nRaises:\n errors.CriticalError: If one or more arguments could not be validated.', 'signature': 'def ValidateAr...
0
{'name': 'run@utils/data_preparation_rdf_type.py', 'description': ' Main script which calls and does everything.\n:return: nothing', 'signature': 'def run():'}</s>ASK_RE_PATTERN = "(?i)ask\s*where"
0
{'name': 'View.undrift_from_picked2d@picasso/gui/render.py', 'description': 'Undrifts in x and y based on picked locs in a given channel.\nAvailable when 3D data is loaded.', 'signature': 'def undrift_from_picked2d(self):'}</s>{'name': '_fill_dnfl@picasso/postprocess.py', 'description': 'DOCSTRING', 'code': 'def _fill_...
0
{'name': 'test_image_upgrade_01010@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade.py', 'description': '### Classes and Methods\n- ``ImageUpgrade``\n - ``commit``\n\n### Test\n\n- ``upgrade.nxos`` set to invalid value\n\n### Setup\n\n- ``devices`` is set to a list of one dict for a device t...
0
{'name': 'SimFinger.__set_pybullet_params@python/rrc_simulation/sim_finger.py', 'description': 'To change properties of the robot such as its mass, friction, damping,\nmaximum joint velocities etc.', 'signature': 'def __set_pybullet_params(self):'}</s>{'name': 'get_number_of_fingers@python/rrc_simulation/finger_types_d...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQAUTHOPT_CUMULATIVE = 256
0
{'name': 'FileInfo.RepositoryName@third_party/cpplint/cpplint.py', 'description': 'FullName after removing the local path to the repository.\n\nIf we have a real absolute path name here we can try to do something smart:\ndetecting the root of the checkout and truncating /path/to/checkout from\nthe name so that we get h...
0
{'name': 'preprocess_jittable@pydsge/engine.py', 'description': 'jitted preprocessing of system matrices until (l_max, k_max)', 'signature': 'def preprocess_jittable(S, T, V, W, h, fq1, fp1, fq0, omg, lam, x_bar, l_max, k_max):'}</s>{'name': 't_func_jit@pydsge/engine.py', 'description': 'jitted transitiona function', '...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_NPM_CLASS = 78
0
{'name': 'ViewRotation.load_locs@picasso/gui/rotation.py', 'description': 'Loads localizations from a pick in the main window.\n\nCalled when updating rotation window from there or when \nshifting the pick from rotation window.\n\nParameters\n----------\nupdate_window : boolean (default=False)\n If True, load attrib...
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': 'FileInfo.BaseName@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'File base name - text after the final slash, before the final period.', 'signature': 'def BaseName(self):'}</s>{'name': '_ClassifyInclude@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Figures out what kind of header \'includ...
0
{'name': 'strategy2mealy@tulip/synth.py', 'description': 'Convert strategy to Mealy transducer.\n\nNote that the strategy is a deterministic game graph,\nbut the input `A` is given as the contraction of\nthis game graph.\n\n@param A:\n strategy', 'signature': 'def strategy2mealy('}</s>Solver = _ty.Literal[ 'gr1c...
0
{'name': 'NonCallableMock._get_child_mock@Contents/Libraries/Shared/mock.py', 'description': 'Create the child mocks for attributes and return value.\nBy default child mocks will be the same type as the parent.\nSubclasses of Mock may want to override this to customize the way\nchild mocks are made.\n\nFor non-callable...
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': 'extract_comments_from_str@comment_parser/comment_parser.py', 'description': "Extracts and returns comments from the given source string.\n\nArgs:\n code: String containing code to extract comments from.\n mime: Optional MIME type for code (str). Note some MIME types accepted\n don't comply with RFC2045. ...
1
{'name': 'RstToPdf.createPdf@rst2pdf/createpdf.py', 'description': "Create a PDF from text (ReST input),\nor doctree (docutil nodes) and save it in outfile.\n\nIf outfile is a string, it's a filename.\nIf it's something with a write method, (like a StringIO,\nor a file object), the data is saved there.", 'signature': '...
0
{'name': 'convert_generation_model@onnxruntime/python/tools/transformers/convert_generation.py', 'description': 'Convert model according to command line arguments.\n\nArgs:\n args (argparse.Namespace): arguments parsed from command line', 'signature': 'def convert_generation_model('}</s>{'name': 'update_decoder_subg...
0
{'name': 'Controller.open_current_msg@tg/controllers.py', 'description': 'Open msg or file with cmd in mailcap', 'signature': 'def open_current_msg(self) -> None:'}</s>CONFIG_FILE = os.path.join(CONFIG_DIR, "conf.py")
0
{'name': 'TestRP.test_authn_request_redirect@example/tests/test_07_sp_httpredirect.py', 'description': 'HTTP-REDIRECT login', 'signature': 'def test_authn_request_redirect(self):'}</s>sp_eid = SAML_SP_CONFIG['entityid']
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIAMO64_Q_TIME_MAX = 742
0
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_cos_client_retry@ut/test.py', 'description': '默认配置:重试时不打开切换cos域名\n ', 'code': "def test_cos_client_retry():\n\n '''默认配置:重试时不打开切换cos域名\n '''\n conf...
0
{'name': 'score_hmm_events@nelpy/analysis/replay.py', 'description': 'score all sequences in the entire bst using the transition matrix shuffle and cross-validation', 'signature': 'def score_hmm_events('}</s>{'name': 'incoherent_shuffle_bst@nelpy/analysis/replay.py', 'description': 'Incoherent shuffle on BinnedSpikeTra...
0