text
string
label
int64
{'name': 'BaseBaggingPU.fit@src/pulearn/bagging.py', 'description': 'Build a Bagging ensemble of estimators from the training set (X, y).\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 they are supp...
0
{'name': 'TarInfo.frombuf@scripts/pdns/lib/python2.7/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>{'name': 'calc_chksums@scripts/pdns/lib/python2.7/site-packages/p...
1
{'name': 'MultipleChoiceFilterTests.test_filter_conjoined_true@tests/test_filters.py', 'description': 'Tests that a filter with `conjoined=True` returns objects that\nhave all the values included in `value`. For example filter\nusers that have all of these books.', 'signature': 'def test_filter_conjoined_true(self):'}<...
0
{'name': 'Test.test_Container_Get_Item_By_Slice@tests/test_imagecollection.py', 'description': 'Test the Container Emulation Methods', 'signature': 'def test_Container_Get_Item_By_Slice(self):'}</s>MOD09GQ = ee.ImageCollection("MODIS/006/MOD09GQ").filterBounds(point)
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': 'get_domain_literal@src/future/backports/email/_header_value_parser.py', 'description': 'domain-literal = [CFWS] "[" *([FWS] dtext) [FWS] "]" [CFWS]\n\n ', 'signature': 'def get_domain_literal(value):'}</s>{'name': 'Token@src/future/backports/email/_header_value_parser.py', 'description': 'DOCSTRING', 'base...
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': 'aggfields@api/project/__init__.py', 'description': 'Returns a bucket aggregation for a particular field over a given time range\n\nParameters\n----------\nfieldname : string or Array of string\n The name of the field(s) on which to perform the aggregation\ncurrent_request : Request\n The flask Request o...
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_farey_sequence@ford_circles_explained.p...
0
{'name': 'render@src/harvesters_gui/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'register_vcs_handler@src/harvesters_gui/_version.py', 'description': 'Decorator to mark a method as the handler for a particular VCS.', 'c...
0
{'name': 'DastUnparser.enter@da/compiler/pseudo.py', 'description': "Print ':', and increase the indentation.", 'signature': 'def enter(self):'}</s>{'name': 'LenCompExpr@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['ComprehensionExpr'], 'methods': []}
0
{'name': 'handleDownload@script.module.youtube.dl/lib/YDStreamExtractor.py', 'description': 'Download the selected video to a path the user chooses.\nDisplays a progress dialog and ok/error message when finished.\nSet bg=True to download in the background.\nReturns a DownloadResult object for foreground transfers.', 's...
0
{'name': 'many@funcparserlib/parser.py', 'description': 'Return a parser that applies the parser `p` as many times as it succeeds at\nparsing the tokens.\n\nReturn a parser that infinitely applies the parser `p` to the input sequence\nof tokens as long as it successfully parses them. The parsed value is a list of\nthe ...
1
{'name': 'get_bbox_and_stat_pcl@obstacle-detection/scripts/test.py', 'description': 'Gettitng bounding boxes for reqired sequence of scans and labels\nAlso ability to grep time execution statistic.\nscan_lst: list,\nA list of LIDAR scans\nlabels_lst: list,\nA list of labels respectively\nobstacle_lst: list,\nA list of ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQ_LDAP_FIELD_LENGTH = 128
0
{'name': 'TestError.test_from_raw_error@test/test_response.py', 'description': 'Can identify an error type', 'signature': 'def test_from_raw_error(self):'}</s>{'name': 'TestError@test/test_response.py', 'description': 'Test our error response class', 'base_classes': ['unittest.TestCase'], 'methods': [{'name': 'TestErro...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_CONFIG_EVENT = 43
0
{'name': 'run_commands@rf/batch.py', 'description': 'Load files, apply commands and write result files.', 'signature': 'def run_commands(command, commands=(), events=None, inventory=None,'}</s>{'name': 'init_data@rf/batch.py', 'description': 'Return appropriate get_waveforms function.\n\nSee example configuration file ...
1
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ...
0
{'name': 'configure_testgres@testgres/config.py', 'description': 'Adjust current global options.\nLook at the GlobalConfig to learn about existing settings.', 'signature': 'def configure_testgres(**options):'}</s>config_stack = []
0
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'distributed_main@fairseq/distributed/utils.py', 'description': 'DOCSTRING', 'code': 'def distributed_main(i, main, cfg: FairseqConfig, kwargs):\n c...
0
{'name': 'temp_tree@tests/test_ignore.py', 'description': 'fixture used by all tests in this file.\nsets up a static file tree in a temp dir for each test, then deletes after test.', 'signature': 'def temp_tree():'}</s>XML_IGNORE_TAG = "pattern"
0
{'name': 'cross_validate@src/upgini/utils/sklearn_ext.py', 'description': 'Evaluate metric(s) by cross-validation and also record fit/score times.\n\nRead more in the :ref:`User Guide <multimetric_cross_validation>`.\n\nParameters\n----------\nestimator : estimator object implementing \'fit\'\n The object to use to ...
0
{'name': 'test_expected_loss_improvement_is_less_than_total_loss@adaptive/tests/test_learners.py', 'description': 'The estimated loss improvement can never be greater than the total loss.', 'signature': 'def test_expected_loss_improvement_is_less_than_total_loss('}</s>LOSS_FUNCTIONS = { Learner1D: ( "loss_p...
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>ICMP6_MEMBERSHIP_REDUCTION = 132
0
{'name': 'CosS3Client.ci_list_workflowexecution@qcloud_cos/cos_client.py', 'description': "获取工作流实例列表 https://cloud.tencent.com/document/product/436/80048\n\n:param Bucket(string): 存储桶名称.\n:param WorkflowId(string): 工作流实例ID.\n:param Name(string): 触发对象.\n:param StartCreationTime(string): 开始时间.\n:param EndCreationTime(str...
0
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im...
0
{'name': 'attrib@vendor/attr/_make.py', 'description': "Create a new attribute on a class.\n\n.. warning::\n\n Does *not* do anything unless the class is also decorated with\n `attr.s`!\n\n:param default: A value that is used if an ``attrs``-generated ``__init__``\n is used and no value is passed while instan...
0
{'name': 'FindStartOfExpressionInLine@tools/cpplint.py', 'description': 'Find position at the matching start of current expression.\n\nThis is almost the reverse of FindEndOfExpressionInLine, but note\nthat the input position and returned position differs by 1.\n\nArgs:\n line: a CleansedLines line.\n endpos: start 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': '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': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ...
0
{'name': 'PDDLParser._parse_into_literal@pddlgym/parser.py', 'description': 'Parse the given string (representing either preconditions or effects)\ninto a literal. Check against params to make sure typing is correct.', 'signature': 'def _parse_into_literal(self, string, params, is_effect=False):'}</s>{'name': 'Anti@pdd...
1
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'test_image_upgrade_01150@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade.py', 'description': '### Classes and Methods\n\n- ``ImageUpgrade``\n - ``_build_payload``\n - ``commit``\n\n### Test\n\nInvalid value for ``options.package.install``.\n\n### Setup\n\n- ``devices`` is 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>MQCMD_INQUIRE_Q = 13
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_POLICY_NOT_FOUND = 3328
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': 'CheckStyle@scripts/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 ...
0
{'name': 'Environment.compile_expression@third_party/dawn/third_party/jinja2/environment.py', 'description': 'A handy helper method that returns a callable that accepts keyword\narguments that appear as variables in the expression. If called it\nreturns the result of the expression.\n\nThis is useful if applications w...
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': 'FootnoteExtension.extendMarkdown@source-builder/sb/markdown/extensions/footnotes.py', 'description': 'Add pieces to Markdown. ', 'signature': 'def extendMarkdown(self, md, md_globals):'}</s>STX = ""
0
{'name': 'StatusWikiPageGenerator._GetVersionsPerLibrary@scripts/overview-generate.py', 'description': 'Retrieves the versions per library.\n\nArgs:\n projects (list[Project]): projects.\n category (str): category.\n\nReturns:\n dict[str, object]: libraries, their versions and the the names of the\n project tha...
0
{'name': 'BaseRequest.query@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'The :attr:`query_string` parsed into a :class:`FormsDict`. These\nvalues are sometimes called "URL arguments" or "GET parameters", but\nnot to be confused with "URL wildcards" as they are provided by the\n:class:`Router`. ', 's...
0
{'name': 'About.dump_lic@src/attributecode/model.py', 'description': 'Write LICENSE files and return the a list of key, name, context and the url\nas these information are needed for the ABOUT file', 'signature': 'def dump_lic(self, location, license_dict):'}</s>{'name': 'copy_redist_src@src/attributecode/model.py', 'd...
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': 'model_...
0
{'name': 'register_signal_handlers@src/wagtailtrans/signals.py', 'description': 'Registers signal handlers.\n\nTo create a signal for TranslatablePage we have to use wagtails\nget_page_model.', 'signature': 'def register_signal_handlers():'}</s>{'name': 'synchronize_deletions@src/wagtailtrans/signals.py', 'description'...
1
{'name': 'test_ecog@autoreject/tests/test_autoreject.py', 'description': 'Test that autoreject runs on ECoG and sEEG data.', 'signature': 'def test_ecog(ch_type):'}</s>{'name': '_AutoReject@autoreject/autoreject.py', 'description': "Automatically reject bad epochs and repair bad trials.\n\nParameters\n----------\nn_int...
0
{'name': 'main@train.py', 'description': 'start training\n ', 'signature': 'def main(_):'}</s>slim = tf.contrib.slim
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': 'set_sc_ltk@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Send LE secure connections Long Term Key (LTK) to device', 'code': '...
1
{'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>MQCACF_COMMAND_SCOPE = 3080
0
{'name': 'accuracy@lib/core/evaluate.py', 'description': "Calculate accuracy according to PCK,\nbut uses ground truth heatmap rather than x,y locations\nFirst value to be returned is average accuracy across 'idxs',\nfollowed by individual accuracies", 'signature': "def accuracy(output, target, hm_type='gaussian', thr=0...
0
{'name': 'AutoModel.from_pretrained@baselines/models_pytorch/classifier_pytorch/transformers/modeling_auto.py', 'description': "Instantiates one of the base model classes of the library\nfrom a pre-trained model configuration.\n\nThe model class to instantiate is selected as the first pattern matching\nin the `pretrain...
0
{'name': 'w_pb_fs@disdat/hyperframe.py', 'description': "Write the pb contained in the xxxRecord.\n\nNote: If atomic=True, in almost all cases there won't actually be another file with\nthis name. But if there is, this will atomically replace the file with the new version.\n\nNote: Atomicity means we won't have a corr...
0
{'name': 'peakdetect_zero_crossing@findpeaks/peakdetect.py', 'description': "Function for detecting local maxima and minima in a signal.\nDiscovers peaks by dividing the signal into bins and retrieving the\nmaximum and minimum value of each the even and odd bins respectively.\nDivision into bins is performed by smoothi...
0
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add...
0
{'name': 'character_level_rep@vsm.py', 'description': 'Get a representation for `word` as the sum of all the\nrepresentations of `n`grams that it contains, according to `cf`.\n\nParameters\n----------\nword : str\n The word to represent.\n\ncf : pd.DataFrame\n The character-level VSM (e.g, the output of `ngram_vs...
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': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PF_AFRT = 15
0
{'name': 'TestPathHelper.inFile@util/py_lib/seqan/app_tests.py', 'description': 'Convert the path of a test file.\n\nThe given path, relative to the test directory, will be transformed into an\nabsolute path to the file.\n\nArgs:\n path -- relative path to a file in the test directory.\n\nReturns:\n Absolute to the f...
0
{'name': 'read_info@mcu/elk/elk_io.py', 'description': 'Read the INFO.OUT file', 'signature': 'def read_info(filename): '}</s>charges_MATCH = re.compile(r''' [ ]* Charges [ ]* \: (?P<content> [\s\S]*?(?=\n.*?[ ] $|\n[ ]\n) # match everything until next blank line or EOL ) ''', re.VERBOSE)
0
{'name': 'get_credentials@scripts/mailing-list-management/report-and-record.py', 'description': 'Gets valid user credentials from storage.\n\nIf nothing has been stored, or if the stored credentials are invalid,\nthe OAuth2 flow is completed to obtain the new credentials.\n\nReturns:\n Credentials, the obtained cred...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_BACKOUT_THRESHOLD_REACHED = 2362
0
{'name': 'BaseRequest.is_xhr@src/back/kite/bottle.py', 'description': 'True if the request was triggered by a XMLHttpRequest. This only\nworks with JavaScript libraries that support the `X-Requested-With`\nheader (most of the popular libraries do). ', 'signature': 'def is_xhr(self):'}</s>{'name': 'Jinja2Template@src/ba...
0
{'name': 'rel_err@oggm/utils/_funcs.py', 'description': 'Relative error. Ref should be non-zero', 'signature': 'def rel_err(ref, data):'}</s>DATA = dict()
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQNVS_APPL_TYPE = b'OPT_APP_GRP '
0
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>INIT_STUB_PREFIX = "Init_"
0
{'name': 'MarkerManager.mark_compiler_output@parseoutput.py', 'description': 'Parse text into a list of OutputMessage objects.\n ', 'signature': 'def mark_compiler_output(self, view, banner, base_dir, text, exit_code):'}</s>{'name': 'window_view_and_file@sublime_haskell_common.py', 'description': "Returns window...
0
{'name': 'Nifti1Extensions.get_codes@src/pkundu/meica.libs/nibabel/nifti1.py', 'description': 'Return a list of the extension code of all available extensions', 'signature': 'def get_codes(self):'}</s>{'name': 'AnalyzeImage@src/pkundu/meica.libs/nibabel/analyze.py', 'description': 'DOCSTRING', 'base_classes': ['Spatial...
0
{'name': 'reset_password@flask_security/views.py', 'description': 'View function that handles a reset password request.', 'signature': 'def reset_password(token):'}</s>{'name': 'get_url@flask_security/utils.py', 'description': 'Returns a URL if a valid endpoint is found. Otherwise, returns the\nprovided value.\n\n:para...
1
{'name': 'PUBLISH.encode@src/mqtt/pdu.py', 'description': 'Encode and store a PUBLISH control packet.\n@raise e: C{ValueError} if encoded topic string exceeds 65535 bytes.\n@raise e: C{ValueError} if encoded packet size exceeds 268435455 bytes.\n@raise e: C{TypeError} if C{data} is not a string, bytearray, int, boolean...
1
{'name': 'wait_on_db_update@grizli/aws/db.py', 'description': 'Wait for db to stop updating on root', 'signature': 'def wait_on_db_update(root, t0=60, dt=30, n_iter=60, engine=None):'}</s>BKG_CLIP = None
0
{'name': 'DebPkgToolsTestCase.test_package_building@deb_pkg_tools/tests.py', 'description': 'Test building of Debian binary packages.', 'signature': 'def test_package_building(self, repository=None, overrides={}, contents={}):'}</s>{'name': 'check_version_conflicts@deb_pkg_tools/checks.py', 'description': 'Check for ve...
0
{'name': 'list_members@twitter_to_sqlite/cli.py', 'description': 'Fetch lists - accepts one or more screen_name/list_slug identifiers', 'signature': 'def list_members(db_path, identifiers, auth, ids):'}</s>{'name': 'fetch_favorites@twitter_to_sqlite/utils.py', 'description': 'DOCSTRING', 'code': 'def fetch_favorites(se...
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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCACF_UOW_LOG_START_TIME = 3063
0
{'name': 'docker_build_trt@onnxruntime/python/tools/tensorrt/perf/build/build_image.py', 'description': 'Builds a Docker image that installs TensorRT from a public repository.\n\n:param args: The arguments to this script.', 'signature': 'def docker_build_trt(args: argparse.Namespace):'}</s>{'name': 'main@onnxruntime/py...
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': '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': 'predict_query@ddparser/run.py', 'description': 'Predict one query', 'signature': 'def predict_query(env):'}</s>{'name': 'kmeans@ddparser/parser/data_struct/utils.py', 'description': 'kmeans algorithm, put sentence id into k buckets according to sentence length\n\nArgs:\n x: list, sentence length\n k: in...
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': 'show_usage@linodecli/plugins/obj/__init__.py', 'description': 'Shows space used by all buckets in this cluster, and total space', 'signature': 'def show_usage(get_client, args, **kwargs): # pylint: disable=unused-argument'}</s>{'name': 'CLI@linodecli/cli.py', 'description': 'Responsible for loading or baking...
0
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im...
0
{'name': 'TrinoDialect.get_foreign_keys@trino/sqlalchemy/dialect.py', 'description': 'Trino has no support for foreign keys. Returns an empty list.', 'signature': 'def get_foreign_keys('}</s>Date = datetime.date
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': 'convert_entries@code/html/generate_static_website.py', 'description': ':param entries:\n:param inspirations:\n:param developers:\n:return:', 'signature': 'def convert_entries(entries, inspirations, developers):'}</s>{'name': 'divide_in_three_columns_and_transform@code/html/generate_static_website.py', 'descri...
0
{'name': 'RasterMap@MRT_FUNC_PY4.py', 'description': 'Make a map centered at a given point, with given dimensions', 'signature': 'def RasterMap():'}</s>{'name': 'PrintState@MRT_FUNC_PY4.py', 'description': 'Make a pretty version of the current state ', 'code': 'def PrintState():\n """ Make a pretty version of the cu...
1
{'name': 'XWiki20Renderer.__init__@mistletoe/contrib/xwiki20_renderer.py', 'description': 'Args:\n extras (list): allows subclasses to add even more custom tokens.', 'signature': 'def __init__(self, *extras):'}</s>{'name': 'add_token@mistletoe/span_token.py', 'description': 'Allows external manipulation of the parsi...
0
{'name': 'FindDevices.is_filtered_device@qmk_cli/subcommands/console.py', 'description': 'Returns True if the device should be included in the list of available consoles.\n ', 'signature': 'def is_filtered_device(self, hid_device):'}</s>{'name': 'import_hid@qmk_cli/subcommands/console.py', 'description': 'Attemp...
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>__doc__ = " pyparsing module - Classes and methods to define and execute parsing ...
0
{'name': 'get_attn_pad_mask@models/common_layers.py', 'description': 'mask position is set to 1', 'signature': 'def get_attn_pad_mask(padded_input, input_lengths, expand_length):'}</s>{'name': 'MultiHeadAttention@models/common_layers.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], 'methods': [{'name': '...
0
{'name': 'TarInfo.frombuf@scripts/pdns/lib/python2.7/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>XGLTYPE = b'g'
0
{'name': 'MHLGenerationCreationSession.commit@ascmhl/generator.py', 'description': 'this method needs to create the generations of the children bottom up\n# so each history can reference the children correctly and can get the actual hash of the file', 'signature': 'def commit(self, creator_info: MHLCreatorInfo, process...
0
{'name': 'GetJob.__init__@SalesforcePy/jobs.py', 'description': "Constructor. Calls `super`, then encodes the `service` including the `query_string` provided\n\n:param: session_id: Session ID used to make request\n:type: session_id: string\n:param: instance_url: Instance URL used to make the request (eg. `'eu11.salesfo...
0
{'name': 'rate_from_tuning@tools/audio/extraction/tuning.py', 'description': 'Decompose a tuning value into a pair (samplerate, basenote) that round-trips when ran through `recalc_tuning`', 'signature': 'def rate_from_tuning(tuning : float) -> Tuple[Tuple[str,int]]:'}</s>g_pitch_frequencies = ( 0x3DD744F6, 0x3DE411...
1
{'name': 'RequestsMock.add_passthru@responses/__init__.py', 'description': "Register a URL prefix or regex to passthru any non-matching mock requests to.\n\nFor example, to allow any request to 'https://example.com', but require\nmocks for the remainder, you would add the prefix as so:\n\n>>> import responses\n>>> resp...
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>MQOO_SET_ALL_CONTEXT = 2048
0
{'name': 'About.dump_lic@src/attributecode/model.py', 'description': 'Write LICENSE files and return the a list of key, name, context and the url\nas these information are needed for the ABOUT file', 'signature': 'def dump_lic(self, location, license_dict):'}</s>__version__ = "11.1.1"
0
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ...
0