text
string
label
int64
{'name': 'Serial._reconfigure_port@serial/rfc2217.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>SET_CONTROL_USE_DCD_FLOW_CONTROL = b'\x11'
0
{'name': 'molecular_hamiltonian_mpo@pytenet/hamiltonian.py', 'description': "Construct a molecular Hamiltonian as MPO,\nusing physicists' convention for the interaction term (note ordering of k and \\ell):\n\n.. math::\n\n H = \\sum_{i,j} t_{i,j} a^{\\dagger}_i a_j + \\frac{1}{2} \\sum_{i,j,k,\\ell} v_{i,j,k,\\ell} ...
0
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ...
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': 'ctype2ext@meza/convert.py', 'description': "Converts an http content type to a file extension.\n\nArgs:\n content_type (str): Output file path or directory.\n\nReturns:\n str: file extension\n\nExamples:\n >>> ctype2ext('/csv;') == 'csv'\n True\n >>> ctype2ext('/xls;') == 'xls'\n True\n >...
0
{'name': 'find_output@test/functional/test_framework/util.py', 'description': 'Return index to output of txid with value amount\nRaises exception if there is none.', 'signature': 'def find_output(node, txid, amount):'}</s>{'name': 'satoshi_round@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code...
0
{'name': 'AdbDevice._filesync_send@adb_shell/adb_device.py', 'description': 'Send/buffer FileSync packets.\n\nPackets are buffered and only flushed when this connection is read from. All\nmessages have a response from the device, so this will always get flushed.\n\nParameters\n----------\ncommand_id : bytes\n Comman...
0
{'name': '_CppLintState.PrintErrorCounts@tools/cpplint.py', 'description': 'Print a summary of errors by category, and the total.', 'signature': 'def PrintErrorCounts(self):'}</s>_RE_FIRST_COMPONENT = re.compile(r'^[^-_.]+')
0
{'name': 'CosS3Client.change_object_storage_class@qcloud_cos/cos_client.py', 'description': "改变文件的存储类型\n\n:param Bucket(string): 存储桶名称.\n:param Key(string): COS路径.\n:param StorageClass(bool): 是否需要SDK计算Content-MD5,打开此开关会增加上传耗时.\n:kwargs(dict): 设置上传的headers.\n:return(dict): 上传成功返回的结果,包含ETag等信息.\n\n.. code-block:: python\...
0
{'name': 'View.analyze_cluster@picasso/gui/render.py', 'description': 'Clusters picked locs using k-means clustering. ', 'signature': 'def analyze_cluster(self):'}</s>CumulativeExponentialModel = _Model(cumulative_exponential)
0
{'name': 'parseOptionsAndInitTestdirs@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():'}</s>filecheck = None
1
{'name': '_parse_config_file@pelicun/tools/DL_calculation.py', 'description': 'Parse and validate the config file for Pelicun.\n\nParameters\n----------\nconfig_path : str\n Path to the configuration file.\noutput_path : Path\n Directory for output files.\nauto_script_path : str\n Path to the auto-generation s...
1
{'name': 'Launcher.Run@third_party/usd/lib/python/pxr/Usdviewq/__init__.py', 'description': 'The main entry point to launch a process using UsdView.', 'signature': 'def Run(self):'}</s>{'name': 'PrepareModule@third_party/usd/lib/python/pxr/Tf/__init__.py', 'description': "PrepareModule(module, result) -- Prepare an ext...
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': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': '_AddPropertiesForNonRepeatedScalarField@python/google/protobuf/internal/python_message.py',...
0
{'name': '_dedup_chunk@pairtools/lib/dedup.py', 'description': 'Mark duplicates in a dataframe of pairs\n\nParameters\n----------\ndf : pd.DataFrame\n Dataframe with pairs, has to contain columns \'chrom1\', \'pos1\', \'chrom2\', \'pos2\'\n \'strand1\', \'strand2\'\nr : int\n Allowed distance between two pairs...
0
{'name': 'safe_run2@amptk/process_illumina_folder.py', 'description': 'Call run(), catch exceptions.', 'signature': 'def safe_run2(*args, **kwargs):'}</s>{'name': 'convertSize@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def convertSize(num, suffix=\'B\'):\n for unit in [\'\',\'K\',\'M\',\'G\',\'T\',\'P\...
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': 'HTTPConnectionPool._make_request@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/packages/urllib3/connectionpool.py', 'description': 'Perform a request on a given urllib connection object taken from our\npool.\n\n:param conn:\n a connection from one of our connection pools\n\n:param ti...
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': 'FrameUtilsTestCase.test_frame_utils@tools/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py', 'description': 'Test utility functions for the frame object.', 'signature': 'def test_frame_utils(self):'}</s>{'name': 'skipIfDarwin@tools/lldb/packages/Python/lldbsuite/test/decorators....
0
{'name': 'tsv_maker@pyrgg/graph_gen.py', 'description': 'Create output file in tsv format.\n\n:param edge_dic: dictionary containing edges data\n:type edge_dic: dict\n:param weight_dic: dictionary containing weights data\n:type weight_dic: dict\n:param mdata: meta data\n:type mdata: dict\n:return: None', 'signature': '...
0
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>STOPPED_DUE_TO_WATCHPOINT = "Process shoul...
0
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>TSUID = 2048
0
{'name': 'start_watchdog@pretty_printers_tests/lldb_batchmode.py', 'description': 'Starts a watchdog thread that will terminate the process after a certain\nperiod of time', 'signature': 'def start_watchdog():'}</s>target_path = sys.argv[1]
0
{'name': 'FancyPage.afterDrawPage@rst2pdf/createpdf.py', 'description': 'Draw header/footer.', 'signature': 'def afterDrawPage(self, canv, doc):'}</s>{'name': 'FancyPage@rst2pdf/createpdf.py', 'description': 'A page template that handles changing layouts.', 'base_classes': ['PageTemplate'], 'methods': [{'name': 'FancyP...
1
{'name': 'user_can_push@src/oca_github_bot/manifest.py', 'description': 'Check if the user is maintainer of all modified addons.\n\nAssuming, addons_dir is a git clone of an addons repository,\nreturn true if username is declared in the maintainers key\non the target branch, for all addons modified in the current branc...
0
{'name': 'PreparedRequest.prepare_body@src/requests/models.py', 'description': 'Prepares the given HTTP body data.', 'signature': 'def prepare_body(self, data, files, json=None):'}</s>{'name': 'MissingSchema@src/requests/exceptions.py', 'description': 'The URL scheme (e.g. http or https) is missing.', 'base_classes': [...
0
{'name': 'HostAny.command_initiate@tool/module/machine_unit.py', 'description': 'start guest instance', 'signature': 'def command_initiate(self) -> str:'}</s>{'name': 'HostAny@tool/module/machine_unit.py', 'description': 'conatainer manager prototype', 'base_classes': ['abc.ABC'], 'methods': [{'name': 'HostAny.__init__...
1
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>{'name': 'get_between_months@spider/utils/tools.py', 'description': "@summary: 获取一段时间间隔内的月份\n需要满一整月\n---------\n@param begin_date: 开始时间 如 2018-01-01\n@param end_date: 默认当前时间\n---------\n@result: 列表 如 ['2018-01', '2018-02']...
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': 'CheckStyle@tools/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n f...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_CF_STRUC_ERROR = 2349
0
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'raises@voluptuous/schema_builder.py', 'description': 'DOCSTRING', 'code': 'def raises(\n exc, msg: typing.Optional[str] = None, regex: typing.Optional[re.Pattern] = None\n) ...
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': 'Fzip@amptk/amptklib.py', 'description': 'function to zip as fast as it can, pigz -> bgzip -> gzip', 'signature': 'def Fzip(input, output, cpus):'}</s>ASCII = {'!':'0','"':'1','#':'2','$':'3','%':'4','&':'5', "'":'6','(':'7',')':'8','*':'9','+':'10',',':'11', '-':'12','.':'13','/':'14','0':'1...
0
{'name': 'set_key_value@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Send key value to device', 'signature': 'def set_key_value(sniffer, payload):'}</s>{'name': 'Sniffer@tools/ble_sniffer/extcap/SnifferAPI/Sniffer.py', 'description': 'DOCSTRING', 'base_classes': ['threading.Thread', 'SnifferCollector.S...
0
{'name': 'IoManager._get_responses_list@pygdbmi/IoManager.py', 'description': 'Get parsed response list from string output\nArgs:\n raw_output (unicode): gdb output to parse\n stream (str): either stdout or stderr', 'signature': 'def _get_responses_list('}</s>{'name': '_buffer_incomplete_responses@pygdbmi/IoManag...
1
{'name': '_remove_bom_from_list@meza/io.py', 'description': 'Remove a byte order marker (BOM) from a list', 'signature': 'def _remove_bom_from_list(row, bom):'}</s>{'name': 'encode_all@meza/unicsv.py', 'description': 'Encode unicode into bytes (str)', 'code': 'def encode_all(f=None, **kwargs):\n """\n Encode unic...
0
{'name': 'install_python@bootstrap.py', 'description': 'Install just the base environment, no distutils patches etc', 'signature': 'def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, symlink=True):'}</s>MH_CIGAM = 3472551422
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': 'VolumeEncryptionNotSupported@os_brick/exception.py', 'de...
0
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>TIMELINE_END = "end"
0
{'name': 'add_headers@aiosonic/http_parser.py', 'description': 'Safe add multiple headers.', 'signature': 'def add_headers(headers: "HeadersType", headers_to_add: "HeadersType"):'}</s>ParsedBodyType = Union[ bytes, AsyncIterator[bytes], Iterator[bytes], ]
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_LENGTH = 24
0
{'name': 'AutoCVWrap.transform@lightautoml/transformers/image.py', 'description': 'Transform dataset to image embeddings.\n\nArgs:\n dataset: Pandas or Numpy dataset of image paths.\n\nReturns:\n Numpy dataset with image embeddings.', 'signature': 'def transform(self, dataset: NumpyOrPandas) -> NumpyDataset:'}</s...
0
{'name': 'WhatHappenedToTheWeirdAdditionP1.play_farey_addition_animations@ford_circles_explained.py', 'description': "Returns a series of animations showing 'a/b oplus c/d equals (a+c)/(b+d)'", 'signature': 'def play_farey_addition_animations(self, a, b, c, d):'}</s>{'name': 'get_approximation_sequence_with_threshold@f...
0
{'name': 'test_HindcastEnsemble_verify_lead0_lead1@src/climpred/tests/test_HindcastEnsemble_class.py', 'description': 'Checks that HindcastEnsemble.verify() returns the same results with a lead-0 and\nlead-1 framework.', 'signature': 'def test_HindcastEnsemble_verify_lead0_lead1('}</s>{'name': 'test_dim_input_type@src/...
0
{'name': 'sourceforge_import@code/synchronization/sourceforge_import.py', 'description': 'Scraps Sourceforge project sites and adds developer information to the entries', 'signature': 'def sourceforge_import():'}</s>{'name': 'hg_repo@code/utils/osg.py', 'description': 'Tests if a repo URL is a hg repo, then returns the...
0
{'name': 'SysTrayIcon.__enter__@python/site-packages/winsystray/traybar.py', 'description': 'Context manager so SysTray can automatically close', 'signature': 'def __enter__(self):'}</s>SetMenuDefaultItem = ctypes.windll.user32.SetMenuDefaultItem
0
{'name': 'GoogleVisibleMap.__init__@salem/datasets.py', 'description': "Initialize\n\nParameters\n----------\nx : array\n x coordinates of the points to include on the map\ny : array\n y coordinates of the points to include on the map\ncrs : proj or Grid\n coordinate reference system of x, y\nsize_x : int\n image s...
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>MQCNO_VERSION_5 = 5
0
{'name': 'timefield_from_args@api/project/__init__.py', 'description': 'returns the appropriate time field for searching the document type\nin the args dictionary\n\nParameters\n----------\nargs : dict\n The dictionary which should contain \'doctype\' value. Missing\n key returns value of app.config["MALCOLM_NETW...
0
{'name': 'safe_run2@amptk/process_illumina_folder.py', 'description': 'Call run(), catch exceptions.', 'signature': 'def safe_run2(*args, **kwargs):'}</s>{'name': 'runSubprocess5@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': "def runSubprocess5(cmd):\n #function where no logfile and stdout/stderr to fnull\...
0
{'name': 'on_restore_database@src/server/server.py', 'description': 'Restore database.', 'signature': 'def on_restore_database(data):'}</s>DB_BKP_DIR_NAME = "db_bkp"
1
{'name': 'DarwinLogEventBasedTestBase.do_test@lldb/packages/Python/lldbsuite/test/darwin_log.py', 'description': 'Runs the test inferior, returning collected events.\n\nThis method runs the test inferior to the first breakpoint hit.\nIt then adds a listener for structured data events, and collects\nall events from that...
0
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi...
1
{'name': 'SimpleScrapingLocator.get_page@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/locators.py', 'description': "Get the HTML for an URL, possibly from an in-memory cache.\n\nXXX TODO Note: this cache is never actually cleared. It's assumed that\nthe data won't get stale over the lifetime of a loc...
0
{'name': 'Chat.start@twitchAPI/chat/__init__.py', 'description': 'Start the Chat Client\n\n:raises RuntimeError: if already started', 'signature': 'def start(self) -> None:'}</s>{'name': 'ChatMessage@twitchAPI/chat/__init__.py', 'description': 'Represents a chat message', 'base_classes': ['EventData'], 'methods': [{'na...
0
{'name': 'RegBlock.build_blocks@hw/vendor/pulp_platform_gpio/util/reggen/reggen/reg_block.py', 'description': "Build a dictionary of blocks for a 'registers' field in the hjson\n\nThere are two different syntaxes we might see here. The simple syntax\njust consists of a list of entries (register, multireg, window,\nskip...
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': 'Scenario.from_dir@transformer/scenario.py', 'description': 'Makes a :class:`Scenario` out of the provided directory *path*.\n\n*path* must represent a "scenario directory", which contains at least\none HAR file or another scenario directory.\nSymbolic link loops are not checked but forbidden!\n\nThere may exi...
0
{'name': 'CBSAuthMixin.handle_token@uamqp/authentication/cbs_auth.py', 'description': "This function is called periodically to check the status of the current\ntoken if there is one, and request a new one if needed.\nIf the token request fails, it will be retried according to the retry policy.\nA token refresh will be ...
0
{'name': 'git_versions_from_keywords@external/containers/versioneer.py', 'description': 'Get version information from git keywords.', 'signature': 'def git_versions_from_keywords(keywords, tag_prefix, verbose):'}</s>{'name': 'do_vcs_install@external/containers/versioneer.py', 'description': 'Git-specific installation l...
0
{'name': 'GroupStats.plot_correlation@ffn/core.py', 'description': "Utility function to plot correlations.\n\nArgs:\n * freq (str): Pandas data frequency alias string\n * title (str): Plot title\n * figsize (tuple (x,y)): figure size\n * kwargs: passed to Pandas' plot_corr_heatmap function", 'signature': 'd...
0
{'name': 'SimpleScrapingLocator._fetch@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/locators.py', 'description': 'Get a URL to fetch from the work queue, get the HTML page, examine its\nlinks for download candidates and candidates for further scraping.\n\nThis is a handy method to run in a thread.', ...
0
{'name': 'IPDatabase.generate_makefile@ipstools/ipstools/IPDatabase.py', 'description': "Exports the mid-level Makefiles for simulation.\n\n :param filename: Output Makefile file name.\n :type filename: str\n\n :param target_tech: Target silicon or FPGA technology.\n :type target_te...
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': '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': 'get_split@slim/datasets/raw_patches_for_heatmaps.py', 'description': "Gets a dataset tuple with instructions for reading flowers.\n\nArgs:\n split_name: A train/validation split name.\n dataset_dir: The base directory of the dataset sources.\n file_pattern: The file pattern to use when matching the dataset...
0
{'name': 'swaggerCheck@apim-traffic-tool/lib/traffic-tool/src/python/create_api_scenario.py', 'description': 'This function will check if the swagger definitions exist for all APIs\n:return: True if exists. False otherwise', 'signature': 'def swaggerCheck():'}</s>token_registration_endpoint = ""
0
{'name': '_remove_absolute_rpaths@delocate/tools.py', 'description': 'Remove absolute filename rpaths in `filename`.\n\nParameters\n----------\nfilename : str\n filename of library\nad_hoc_sign : {True, False}, optional\n If True, sign file with ad-hoc signature', 'signature': 'def _remove_absolute_rpaths(filenam...
0
{'name': 'keyError@chryswoods.com/python_and_data/testing/mypkg/mymodule_answer.py', 'description': 'A function that raises a KeyError. ', 'signature': 'def keyError():'}</s>{'name': 'add@chryswoods.com/python_and_data/testing/mypkg/mymodule_answer.py', 'description': 'A function to add two numbers. ', 'code': 'def add...
0
{'name': 'sync_blocks@qa/rpc-tests/test_framework/util.py', 'description': "Wait until everybody has the same tip.\n\nsync_blocks needs to be called with an rpc_connections set that has least\none node already synced to the latest, stable tip, otherwise there's a\nchance it might return before all nodes are stably sync...
0
{'name': 'OneVsAllAggregative.classify@quapy/method/aggregative.py', 'description': 'If the base quantifier is not probabilistic, returns a matrix of shape `(n,m,)` with `n` the number of\ninstances and `m` the number of classes. The entry `(i,j)` is a binary value indicating whether instance\n`i `belongs to class `j`....
0
{'name': 'test_change_statement_timeout@test/io/test_io.py', 'description': 'Statement timeout changes take effect immediately', 'signature': 'def test_change_statement_timeout(defaultenv, metapostgrest):'}</s>{'name': 'test_read_secret_from_stdin@test/io/test_io.py', 'description': 'Authorization should succeed when t...
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': 'Model.add_constraints@linopy/model.py', 'description': 'Assign a new, possibly multi-dimensional array of constraints to the\nmodel.\n\nConstraints are added by defining a left hand side (lhs), the sign and\nthe right hand side (rhs). The lhs has to be a linopy.LinearExpression\nand the rhs a constant (array ...
1
{'name': 'now@yaql/standard_library/date_time.py', 'description': ':yaql:now\n\nReturns the current local date and time.\n\n:signature: now(offset => timespan(0))\n:arg offset: datetime offset in microsecond resolution, needed for tzinfo,\n timespan(0) by default\n:argType offset: timespan type\n:returnType: datetim...
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>MQAUTHOPT_NAME_AS_WILDCARD = 64
0
{'name': 'TestAdminTreeList.test_result_tree_list_escapes_labels@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree_list_escapes_labels(self, model_with_unicode):'}</s>{'name': 'NS_Tes...
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>mock_band = dvz.dvz_mock_band
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': 'process_bout@avgn/segment_song/wav_to_syllables.py', 'description': 'Processes a single bout for syllable information\n ', 'signature': 'def process_bout(wav_file, _mel_basis, hparams,submode=True, visualize=False):'}</s>{'name': 'butter_bandpass@avgn/segment_song/preprocessing.py', 'description': 'DOCSTRI...
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': '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': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>INFO_VAL_STRING_EMPTY = "Warning: The %s parameter is empty"
0
{'name': 'TarFile.gettarinfo@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': "Create a TarInfo object for either the file `name' or the file\nobject `fileobj' (using os.fstat on its file descriptor). You can\nmodify some of the TarInfo's attributes before you add it...
0
{'name': 'test_fit_verbose_raises_error@sysidentpy/neural_network/tests/test_narxnn.py', 'description': 'Fit raises ValueError if verbose=True but no validation data is provided.', 'signature': 'def test_fit_verbose_raises_error():'}</s>{'name': 'test_steps_3_fourier@sysidentpy/neural_network/tests/test_narxnn.py', 'de...
0
{'name': 'add_multi_constructor@strictyaml/ruamel/main.py', 'description': 'Add a multi-constructor for the given tag prefix.\nMulti-constructor is called for a node if its tag starts with tag_prefix.\nMulti-constructor accepts a Loader instance, a tag suffix,\nand a node object and produces the corresponding Python ob...
0
{'name': '_ParseConfigSteps.__init__@mne_bids_pipeline/_docs.py', 'description': 'Build a mapping from config options to tuples of steps that use each option.\n\nThe mapping is stored in `self.steps`.', 'signature': 'def __init__(self, force_empty: tuple[str, ...] | None = None) -> None:'}</s>_EPOCHS_DESCRIPTION_TO_PRO...
0
{'name': 'parseMappingFile@amptk/amptklib.py', 'description': 'function to parse mapping file pull out primers and barcode sequences', 'signature': 'def parseMappingFile(input, output):'}</s>{'name': 'stripPrimersPE@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def stripPrimersPE(R1, R2, RL, samplename, fwdp...
0
{'name': 'CosS3Client.get_vod_playlist@qcloud_cos/cos_client.py', 'description': "查询指定时间段播放列表文件\n\n:param Bucket(string): 存储桶名称.\n:param ChannelName(string): 直播通道名称.\n:param StartTime(int): 播放列表ts文件的起始时间,格式为unix时间戳.\n:param EndTime(int): 播放列表ts文件的结束时间,格式为unix时间戳.\n:param kwargs(dict): 设置请求headers.\n:return(string).\n\n...
0
{'name': 'takePantiltSequence@source/pi-timolo.py', 'description': 'Take a sequence of images based on a list of pantilt positions and save with\na sequence number appended to the filename', 'signature': 'def takePantiltSequence(filename, daymode, pix_ave, num_count, num_path):'}</s>__version__ = PROG_VER
0
{'name': 'process_assignments_and_deletions@da/compiler/incgen.py', 'description': 'Generate stub and hook for assignments and deletions.\n\nThis should be called after the query parameters have been accumulated.', 'signature': 'def process_assignments_and_deletions(state):'}</s>{'name': 'SetExpr@da/compiler/dast.py', ...
0
{'name': 'compute_persistence_from_first_lead@src/climpred/reference.py', 'description': 'Compute persistence skill based on first ``lead`` in ``initialized``.\n\nThis function unlike :py:func:`~climpred.reference.compute_persistence` is\nsensitive to ``comparison``. Requires\n``climpred.set_options(PerfectModel_persis...
1
{'name': 'test_change_statement_timeout@test/io/test_io.py', 'description': 'Statement timeout changes take effect immediately', 'signature': 'def test_change_statement_timeout(defaultenv, metapostgrest):'}</s>{'name': 'test_iat_claim@test/io/test_io.py', 'description': "A claim with an 'iat' (issued at) attribute shou...
0
{'name': 'Metar.__init__@metar/Metar.py', 'description': 'Parse raw METAR code.', 'signature': 'def __init__( self, metarcode, month=None, year=None, utcdelta=None):'}</s>RECENT_RE = re.compile(r"""^RE(?P<desc>MI|PR|BC|DR|BL|SH|TS|FZ)? (?P<prec>(DZ|RA|SN|SG|IC|PL|GR|GS|UP)*)? ...
0
{'name': 'NDInputAttrTree._renameAttr@scripts/mpylib/ui/mpynode_designer.py', 'description': 'Triggered when the user renames an attribute using the UI', 'signature': 'def _renameAttr(self, item, col):'}</s>ERROR_LOG_PATH = BASE_DIR + "/" + APP_NAME.lower().replace(" ", "_") + "_error_log.txt"
0
{'name': 'SimpleBlock.__init__@models/kpconv/blocks.py', 'description': 'Initialize a simple convolution block with its ReLU and BatchNorm.\n:param in_dim: dimension input features\n:param out_dim: dimension input features\n:param radius: current radius of convolution\n:param config: parameters', 'signature': 'def __in...
0
{'name': 'read_fixed_fmt@meza/io.py', 'description': "Reads a fixed-width csv file.\n\nArgs:\n filepath (str): The fixed width formatted file path or file like object.\n widths (List[int]): The zero-based 'start' position of each column.\n mode (Optional[str]): The file open mode (default: 'r').\n kwargs (d...
0