text
string
label
int64
{'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': 'AuthServiceProxy@test/functional/test_framework/authproxy.py', 'description': 'DOCSTRING...
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': 'shelly_http_get@pyShelly/utils.py', 'description': 'Send HTTP GET request', 'signature': 'def shelly_http_get(host, url, username, password, log_error=True):'}</s>{'name': 'timer@pyShelly/utils.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'timer.__init__@pyShelly/utils.py', 'descr...
0
{'name': 'test_error_messages_interface@tests/test_fields.py', 'description': '`errors.messages()` should return a list of Message instances.', 'signature': 'def test_error_messages_interface():'}</s>{'name': 'Time@typesystem/fields.py', 'description': 'DOCSTRING', 'base_classes': ['String'], 'methods': [{'name': 'Time...
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': '_to_float_str@src/api/python/z3/z3.py', 'd...
0
{'name': 'AioJoinableQueue@aioprocessing/__init__.py', 'description': 'Returns an asyncio-friendly version of a multiprocessing.JoinableQueue\n\nReturns an AioJoinableQueue object with the given context. If a context\nis not provided, the default for the platform will be used.', 'signature': 'def AioJoinableQueue(maxsi...
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': '_make_non_blocking@pygdbmi/IoManager.py', 'd...
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': 'draw_transparent_box@lib/util.py', 'description': 'DOCSTRING', 'code': 'def draw_transparent_...
0
{'name': 'Product._load@eoreader/products/product.py', 'description': 'Core function loading optical data bands\n\nArgs:\n bands (list): Band list\n pixel_size (float): Pixel size of the band, in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if pixel_size is provided.\n kwa...
1
{'name': 'takeVideo@source/pi-timolo.py', 'description': 'Take a short motion video if required', 'signature': 'def takeVideo(filename, duration, vidW=1280, vidH=720, fps=25):'}</s>{'name': 'deleteOldFiles@source/pi-timolo.py', 'description': 'Delete Oldest files gt or eq to maxfiles that match filename prefix', 'code'...
0
{'name': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'test_upper_util_handles_various_inputs@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_upper_uti...
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': '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': 'TestAccessEnterprise.mt_env@backend-tests/tests/test_access.py', 'description': 'Prepare 4 tenants across all plans (trial...enterprise) + a device each.', 'signature': 'def mt_env(self):'}</s>{'name': 'User@testutils/common.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'User.__ini...
0
{'name': 'show_hist@序列预测/PCA去趋势化/show.py', 'description': 'def normfun(x,mu,sigma):\n pdf = np.exp(-((x - mu)**2)/(2*sigma**2)) / (sigma * np.sqrt(2*np.pi))\n return pdf\n#正态分布函数\nx = np.arange(-5,5,0.1) \ny = normfun(x, 0, 50)\nplt.plot(x,y)\nplt.show()', 'signature': 'def show_hist(arr):'}</s>{'name': 'show_ind...
0
{'name': 'load_inventory@src/attributecode/gen.py', 'description': 'Load the inventory file at `location` for ABOUT and LICENSE files stored in\nthe `base_dir`. Return a list of errors and a list of About objects\nvalidated against the `base_dir`.\n\nOptionally use `reference_dir` as the directory location of extra ref...
0
{'name': 'ProcessLine@scripts/cpplint.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 the file,\n ...
0
{'name': 'parse_wkt@emissionsapi/web.py', 'description': "Function wrapper replacing 'geoframe', 'country' and 'polygon' with a\nWKT polygon.\n\n:param f: Function to call\n:type f: Function\n:raises e: Possible exception of f\n:return: Result of f", 'signature': 'def parse_wkt(f):'}</s>logger = logging.getLogger(__nam...
1
{'name': 'SummarizeResources@deprecated/gcp/R80.30/ha-byol-R80.30/common.py', 'description': 'Summarizes the name of resources per resource type.', 'signature': 'def SummarizeResources(res_dict):'}</s>{'name': 'MakeLocalComputeLink@deprecated/gcp/R80.30/ha-byol-R80.30/common.py', 'description': 'DOCSTRING', 'code': "de...
0
{'name': 'Client.__init__@SalesforcePy/sfdc.py', 'description': 'Constructor.\n\n:Parameters:\n - `*username` (`string`) - Salesforce username.\n - `*password` (`string`) - Salesforce password.\n - `*login_url` (`string`) - Salesforce login URL.\n - `*client_id` (`string`) - Salesforce client ID.\n - `*c...
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': 'BrokerThread.stop@mqttools/broker.py', 'description': 'Stop the broker. All clients will be disconnected and the thread\nwill terminate.', 'signature': 'def stop(self):'}</s>{'name': 'ConnectReasonCode@mqttools/common.py', 'description': 'DOCSTRING', 'base_classes': ['enum.IntEnum'], 'methods': []}
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': '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': 'download_data@exp/ohl.py', 'description': 'download the raw data from web api', 'signature': 'def download_data(url, fake=False):'}</s>parser = ArgumentParser( description='daytrading tool')
0
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
0
{'name': 'test_kitti_3d_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': "def test_kitti_3d_kalman_boxes(dataset_test, net, rpn_conf, bbox_measure_val, p2s, p2_invs, scales, results_path, test_path, dataset_type='validation', fast=False, report_stats=Fals...
0
{'name': 'get_means_and_ci@scripts/plot_obj.py', 'description': 'Returns means and CI np arrays\nargs:\n values: dict of trials by variant, each value a list of trial data\n window_size: window smoothing of trials\nreturns:\n mean and CI dict, keyed by same variants', 'signature': 'def get_means_and_ci(values,...
1
{'name': 'IDispatch.Invoke@comtypes/automation.py', 'description': 'Invoke a method or property.', 'signature': 'def Invoke(self, dispid: int, *args: Any, **kw: Any) -> Any:'}</s>tagINVOKEKIND = c_int
0
{'name': 'TotalText.parse_carve_txt@dataset/total_text.py', 'description': '.mat file parser\n:param gt_path: (str), mat file path\n:return: (list), TextInstance', 'signature': 'def parse_carve_txt(gt_path):'}</s>cp = copy
0
{'name': 'inv_linear_spectrogram@utils/audio.py', 'description': 'Converts linear spectrogram to waveform using librosa', 'signature': 'def inv_linear_spectrogram(linear_spectrogram, hparams):'}</s>{'name': 'get_duration@utils/audio.py', 'description': 'DOCSTRING', 'code': 'def get_duration(audio,hparams):\n return ...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCA_SERVICE_STOP_ARGS = 2082
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': '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': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': '_is_infix@src/api/python/z3/z3printe...
0
{'name': 'non_max_suppression@yolov3/utils/utils.py', 'description': "Removes detections with lower object confidence score than 'conf_thres'\nNon-Maximum Suppression to further filter detections.\nReturns detections with shape:\n (x1, y1, x2, y2, object_conf, conf, class)", 'signature': 'def non_max_suppression(pre...
0
{'name': 'Serial._telnet_read_loop@serial/rfc2217.py', 'description': 'Read loop for the socket.', 'signature': 'def _telnet_read_loop(self):'}</s>IAC = b'\xff'
1
{'name': 'PDFPage.__init__@pdfminer3/pdfpage.py', 'description': 'Initialize a page object.\n\ndoc: a PDFDocument object.\npageid: any Python object that can uniquely identify the page.\nattrs: a dictionary of page attributes.', 'signature': 'def __init__(self, doc, pageid, attrs):'}</s>{'name': 'PDFParser@pdfminer3/pd...
0
{'name': 'register_adapter@psycopg2/extensions.py', 'description': "Register 'callable' as an ISQLQuote adapter for type 'typ'.", 'signature': 'def register_adapter(typ, callable):'}</s>TRANSACTION_STATUS_ACTIVE = 1
0
{'name': 'preaggregate_time@verif/data.py', 'description': 'Aggregate array across time\n\nArgs:\n array (np.array): 3D array of observations or forecasts\n times (np.array): 1D array of unixtimes (seconds)\n aggregator (verif.aggregator.Aggregator): Aggregate with this function\n length (float): Aggregate ...
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_NEXT_OFFSET_ERROR = 2358
0
{'name': 'create_function@src/makefun/main.py', 'description': 'Creates a function with signature `func_signature` that will call `func_impl` when called. All arguments received\nby the generated function will be propagated as keyword-arguments to `func_impl` when it is possible (so all the\ntime, except for var-positi...
1
{'name': 'WebSocket.connect@vertx-web/src/test/sockjs-protocol/websocket/_core.py', 'description': 'Connect to url. url is websocket url scheme.\nie. ws://host:port/resource\nYou can customize using \'options\'.\nIf you set "header" list object, you can set your own custom header.\n\n>>> ws = WebSocket()\n>>> ws.connec...
0
{'name': 'CustomMainWidget.reinstallMods@src/gui/main_widget.py', 'description': 'Reinstalls selected mods', 'signature': 'def reinstallMods(self):'}</s>{'name': 'normalizePath@src/util/util.py', 'description': 'DOCSTRING', 'code': "def normalizePath(path: str) -> str:\n return os.path.normpath(str(path)).replace('\...
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': 'ImputationKernel.impute_new_data@miceforest/imputation_kernel.py', 'description': 'Impute a new dataset\n\nUses the models obtained while running MICE to impute new data,\nwithout fitting new models. Pulls mean matching candidates from\nthe original data.\n\nsave_models must be > 0. If save_models == 1, the l...
0
{'name': 'plot_sounding_axes@pymeteo/skewt.py', 'description': 'Plots Skew-T/Log-P axes\n\nThis will plot isotherms, isobars, dry and moist adiabats, \nlines of constant water vapor mixing ratio, labels and \nsetup the y axes to be reversed.\n\n:paramter axes: The axes to draw on', 'signature': 'def plot_sounding_axes(...
0
{'name': 'SendClient.send_message@uamqp/client.py', 'description': 'Send a single message or batched message.\n\n:param messages: A message to send. This can either be a single instance\n of `Message`, or multiple messages wrapped in an instance of `BatchMessage`.\n:type message: ~uamqp.message.Message\n:param close_on...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQOT_SHORT_CHANNEL = 1015
0
{'name': 'host_setup@source-builder/sb/check.py', 'description': 'Basic sanity check. All executables and directories must exist.', 'signature': 'def host_setup(opts):'}</s>{'name': 'load@source-builder/sb/options.py', 'description': 'Copy the defaults, get the host specific values and merge them overriding\nany matchi...
0
{'name': 'load_key_pubkey@src/M2Crypto/EVP.py', 'description': 'Load an M2Crypto.EVP.PKey from a public key as a file.\n\n:param file: Name of file containing the key in PEM format.\n\n:param callback: A Python callable object that is invoked\n to acquire a passphrase with which to protect the\n ...
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_NTH_OF_S_DEFAULT = CSSParser( '*|*' ).process_selectors(flags=FLG_PSEUDO)
0
{'name': 'Block._write@pcapng/blocks.py', 'description': 'Writes this block into the given output stream', 'signature': 'def _write(self, outstream):'}</s>LINKTYPE_HDLC = 112
0
{'name': 'main@src/freetype/src/tools/docmaker/docmaker.py', 'description': 'Main program loop.', 'signature': 'def main(argv):'}</s>{'name': 'DocSection@src/freetype/src/tools/docmaker/content.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'DocSection.__init__@src/freetype/src/tools/docmaker...
0
{'name': 'genesets@pipelines/pipeline_scxl.py', 'description': 'Intermediate target to run geneset tasks', 'signature': 'def genesets(infile, outfile):'}</s>{'name': 'parseGMTs@pipelines/pipeline_scxl.py', 'description': 'Helper function for parsing the lists of GMT files', 'code': 'def parseGMTs(param_keys=["gmt_pathw...
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': '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': 'SiteWaterAnalysis.run_entropy_scripts@sstmap/site_water_analysis.py', 'description': 'Rerurns list of trans and orient entropies for each cluster.\n\nParameters\n----------\noutput_dir: string\n Name of the output directory', 'signature': 'def run_entropy_scripts(self, output_dir=None):'}</s>{'name': 'writ...
0
{'name': 'dump@json_tricks/nonp.py', 'description': 'Convert a nested data structure to a json string.\n\n:param fp: File handle or path to write to.\n:param compression: The gzip compression level, or None for no compression.\n:param force_flush: If True, flush the file handle used, when possibly also in the operating...
0
{'name': 'MeCab.__init__@natto/mecab.py', 'description': 'Initializes the MeCab instance with the given options.\n\nArgs:\n options: Optional string or dictionary of the MeCab options to be\n used.\nKwargs:\n debug (bool): Flag for outputting debug messages to stderr.\n\nRaises:\n SystemExit: An un...
1
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>OP_2DUP = CScriptOp(0x6e)
0
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>PropM...
0
{'name': 'ValidateIPTests.test_ip_whitelist_blacklist_conflict@test/test_advocate.py', 'description': 'Manual whitelist should take precedence over manual blacklist', 'signature': 'def test_ip_whitelist_blacklist_conflict(self):'}</s>{'name': 'DisallowedConnectException@test/monkeypatching.py', 'description': 'DOCSTRIN...
0
{'name': 'resize_4d_tensor@metric/cityscapes_mIoU.py', 'description': 'tensor: the semantic label tensor of shape [B, C, H, W]\nwidth: target width\nheight: target height', 'signature': 'def resize_4d_tensor(tensor, width, height):'}</s>{'name': 'drn_d_54@metric/drn.py', 'description': 'DOCSTRING', 'code': "def drn_d_5...
0
{'name': 'fetch_reviews@quapy/data/datasets.py', 'description': 'Loads a Reviews dataset as a Dataset instance, as used in\n`Esuli, A., Moreo, A., and Sebastiani, F. "A recurrent neural network for sentiment quantification."\nProceedings of the 27th ACM International Conference on Information and Knowledge Management. ...
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': 'cli_status@peewee_moves.py', 'description': 'Show information about migration status.', 'signature': 'def cli_status(ctx):'}</s>{'name': 'MigrationHistory@peewee_moves.py', 'description': "Base model to manage migration history in a database.\nYou can use this manually to query the database if you want, but n...
0
{'name': '_mvbuf@lmdb/cffi.py', 'description': 'Convert a MDB_val cdata to a CFFI buffer object.', 'signature': 'def _mvbuf(mv):'}</s>{'name': 'BadDbiError@lmdb/cffi.py', 'description': 'The specified DBI was changed unexpectedly.', 'base_classes': ['Error'], 'methods': []}
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_PARAMETER_ID = 1012
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRFH_NONE = 0
0
{'name': 'test_evaluate_1d_data@tests/model/test_ModelFromData.py', 'description': 'Test ability to evaluate one dimensional data.', 'signature': 'def test_evaluate_1d_data(input_data_file, output_data_file, index):'}</s>{'name': 'output_data_file@tests/model/test_ModelFromData.py', 'description': 'DOCSTRING', 'code': ...
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': 'ModelTester._on_rows_about_to_be_inserted@src/pytestqt/modeltest.py', 'description': 'Store what is about to be inserted.\n\nThis gets stored to make sure it actually happens in rowsInserted.', 'signature': 'def _on_rows_about_to_be_inserted(self, parent, start, end):'}</s>{'name': '_ChangeInFlight@src/pytest...
1
{'name': 'RecentList.getall@shingetsu/cache.py', 'description': 'Search nodes and update my recent list.', 'signature': 'def getall(self):'}</s>{'name': 'Node@shingetsu/node.py', 'description': 'One unit for P2P.', 'base_classes': [], 'methods': [{'name': 'Node.__init__@shingetsu/node.py', 'description': 'DOCSTRING', '...
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': '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': '_encode_identifier@software/hermeslite/VCDWriter.py', 'description': 'Encode identifer value into base-94 string.', 'signature': 'def _encode_identifier(v: int) -> str:'}</s>StringValue = Union[str, None]
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': '_parse_val@pygdbmi/gdbmiparser.py', 'descrip...
0
{'name': 'SchemaHandler.get_current_locale@jupyterlab_server/settings_utils.py', 'description': 'Get the current locale as specified in the translation-extension settings.\n\nReturns\n-------\nstr\n The current locale string.\n\nNotes\n-----\nIf the locale setting is not available or not valid, it will default to ju...
1
{'name': 'Client.__init__@rpcq/_client.py', 'description': 'Create a client that connects to a server at <endpoint>.\n\n:param str endpoint: Socket endpoint, e.g. "tcp://localhost:1234"\n:param float timeout: Timeout in seconds for Server response, set to None to disable the timeout\n:param auth_config: The configurati...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCHSSTATE_HEARTBEATING = 600
0
{'name': 'AssessmentBase.__init__@pelicun/assessment.py', 'description': 'Initialize an Assessment object.\n\nParameters\n----------\nconfig_options:\n User-specified configuration dictionary.', 'signature': 'def __init__(self, config_options: dict[str, Any] | None = None) -> None:'}</s>{'name': 'show_matrix@pelicun...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIA_MAX_Q_FILE_SIZE = 274
0
{'name': 'generate_intervals@emissionsapi/autoupdater.py', 'description': 'Generator for intervals between start and end in days intervals.\n\n:param start: Starting datetime for the intervals.\n:type start: datetime.datetime\n:param end: End datetime for the intervals.\n:type end: datetime.datetime\n:param days: Days ...
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': '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>{'name': 'DvzCameraFlags@datoviz/__i...
0
{'name': 'Bootstrap.compute_children_sql@operations.py', 'description': 'Compute the children on resampled data in SQL.', 'signature': 'def compute_children_sql('}</s>{'name': 'CacheKey@utils.py', 'description': "Represents a cache_key used in the computation of Metrics.\n\nDuring the computation of a Metric, we often ...
0
{'name': 'skew@pymeteo/skewt.py', 'description': 'Puts the skew in skew-T\n\n:parameter p: pressure level of the point.\n\nThis calculates the skew of the T axis for a point to plot. \nThis assumes a logarithmic y axes and uses the variable\n:py:data:skew_angle to determine the skew. This is the \nmagic that turns a ...
0
{'name': 'get_task@araelectra/finetune/task_builder.py', 'description': 'Get an instance of a task based on its name.', 'signature': 'def get_task(config: configure_finetuning.FinetuningConfig, task_name,'}</s>{'name': 'load_vocab@araelectra/model/tokenization.py', 'description': 'Loads a vocabulary file into a diction...
0
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>{'name': 'Base@llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py', 'description': 'Abstract base for ...
0
{'name': 'read_rdi@mhkit/dolfyn/io/rdi.py', 'description': "Read a TRDI binary data file.\n\nParameters\n----------\nfilename : string\n Filename of TRDI file to read.\nuserdata : True, False, or string of userdata.json filename\n Whether to read the '<base-filename>.userdata.json' file. Default = True\nnens : None, ...
0
{'name': 'ChoppedTextProblem.sequence_length@tensor2tensor_envi/data_generators/text_problems.py', 'description': 'Length of each example (in tokens).', 'signature': 'def sequence_length(self):'}</s>{'name': 'DistributedText2TextProblem@tensor2tensor_envi/data_generators/text_problems.py', 'description': "Base class fo...
0
{'name': '_ProxyKeywords.create_raw_soap_message@ExemploSOAPTesting/MyCustomSudsLibrary/proxy.py', 'description': 'Returns an object that can used in lieu of SOAP method arguments.\n\n`message` should be an entire SOAP message as a string. The object\nreturned can be used in lieu of *args for `Call Soap Method`, `Call\...
1
{'name': 'TestHttpHandler.test_read@papermill/tests/test_iorw.py', 'description': 'Tests that the `read` function performs a request to the giving path\nand returns the response.', 'signature': 'def test_read(self):'}</s>{'name': 'TestStreamHandler@papermill/tests/test_iorw.py', 'description': 'DOCSTRING', 'base_classe...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMDL_LEVEL_911 = 911
0
{'name': 'initialize_ad_tracking_db@core/friendly_organizer.py', 'description': 'Initializes the AdTracker table with the default list of trackers. Ran only once at startup.', 'signature': 'def initialize_ad_tracking_db():'}</s>arp_cache = None
0
{'name': 'Dicom2STL@dicom2stl/Dicom2STL.py', 'description': 'The primary dicom2stl function', 'signature': 'def Dicom2STL(args):'}</s>{'name': 'volumeProcessingPipeline@dicom2stl/Dicom2STL.py', 'description': 'Apply a series of filters to the volume image', 'code': 'def volumeProcessingPipeline(\n img, shrinkFlag=Tr...
1
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'get_dset_history@src/python_scripts/afnipy/afni_util.py', 'description': "run 3dinfo -history on 'dname' and return...
0
{'name': 'nestedExpr@tests/_lib_vendors/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 expres...
0