text
string
label
int64
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat...
0
{'name': 'check_scenarios@premise/new_database.py', 'description': 'Check that the scenarios are properly formatted and that\nall the necessary info is given.', 'signature': 'def check_scenarios(scenario: dict, key: bytes) -> dict:'}</s>FILEPATH_PV_GAAS = INVENTORY_DIR / "lci-PV-GaAs.xlsx"
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': 'register_adapter@psycopg2/extensions.py', 'description': "Register 'callable' as an ISQLQuote adapter for type 'typ'.", 'signature': 'def register_adapter(typ, callable):'}</s>STATUS_IN_TRANSACTION = STATUS_BEGIN
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...
0
{'name': 'DescriptorBase.GetOptions@python/google/protobuf/descriptor.py', 'description': 'Retrieves descriptor options.\n\nReturns:\n The options set on this descriptor.', 'signature': 'def GetOptions(self):'}</s>{'name': '_Lock@python/google/protobuf/descriptor.py', 'description': "Wrapper class of threading.Lock(),...
0
{'name': 'PPOBuffer.store@rl-fair.py', 'description': 'Append one timestep of agent-environment interaction to the buffer.', 'signature': 'def store(self, obs, cobs, act, mask, rew, val, logp):'}</s>{'name': 'mlp_v3@rl-fair.py', 'description': 'DOCSTRING', 'code': 'def mlp_v3(x, act_dim):\n x = tf.reshape(x, shape=[...
0
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n...
0
{'name': 'get_current_error@wrappers/python/indy_vdr/bindings.py', 'description': 'Get the error result from the previous failed API method.\n\nArgs:\n expect: Return a default error message if none is found', 'signature': 'def get_current_error(expect: bool = False) -> VdrError:'}</s>{'name': 'dereference@wrappers/...
0
{'name': 'MpesaStkPushTestCase.test_parse_stk_push_result_wrong_pin@tests/test_parse_result.py', 'description': 'Test parse STK push result with wrong user PIN', 'signature': 'def test_parse_stk_push_result_wrong_pin(self):'}</s>{'name': 'IllegalPhoneNumberException@django_daraja/mpesa/exceptions.py', 'description': 'R...
0
{'name': '_JS._read_all_events@ros_ws/src/crazyswarm/scripts/pycrazyswarm/linuxjsdev.py', 'description': 'Consume all the events queued up in the JS device', 'signature': 'def _read_all_events(self):'}</s>{'name': 'Joystick@ros_ws/src/crazyswarm/scripts/pycrazyswarm/linuxjsdev.py', 'description': 'Linux jsdev implement...
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>MS_CTS_ON = 16
0
{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK...
0
{'name': 'test_compare_equal_segments@tests/test_parser.py', 'description': 'Just make sure that comparing Segment objects works', 'signature': 'def test_compare_equal_segments(parser, default_una_segment):'}</s>{'name': 'default_una_segment@tests/test_parser.py', 'description': 'DOCSTRING', 'code': 'def default_una_se...
1
{'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': 'prune_cmdstan@python/setup.py', 'description': 'Keep only the cmdstan executables and tbb files (minimum required to run a cmdstanpy commands on a pre-compiled model).', 'signature': 'def prune_cmdstan(cmdstan_dir: str) -> None:'}</s>{'name': 'get_backends_from_env@python/setup.py', 'description': 'DOCSTRING'...
0
{'name': '_convert_to_exclusive_op@self_organising_systems/biomakerca/env_logic.py', 'description': 'Process ExclusiveInterface to convert it to ExclusiveOp.\n\nThis also performs sanity checks and potentially rejects badly formed ops.', 'signature': 'def _convert_to_exclusive_op('}</s>{'name': 'set_nutrients_to_materi...
0
{'name': 'Serial.open@serial/serialwin32.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>FILE_ATTRIBUTE_NORMAL = 128
1
{'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': 'azure_user@backend-tests/tests/test_azure_iothub.py', 'description': 'Create Mender user and create an Azure IoT Hub integration in iot-manager using the connection string.', 'signature': 'def azure_user(clean_mongo) -> Optional[User]:'}</s>URL_USERS = "/users"
0
{'name': 'ResnetCompleteNetworkTest._resnet_small@Attackset/Iter8_v3_resv2_inresv2_random/nets/resnet_v1_test.py', 'description': 'A shallow and thin ResNet v1 for faster tests.', 'signature': 'def _resnet_small(self,'}</s>{'name': 'resnet_v1_200@Attackset/fgsm_ensv3_random/nets/resnet_v1.py', 'description': 'ResNet-20...
0
{'name': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam...
0
{'name': 'euler_from_quaternion@utils/transformations.py', 'description': 'Return Euler angles from quaternion for specified axis sequence.\n\n>>> angles = euler_from_quaternion([0.99810947, 0.06146124, 0, 0])\n>>> numpy.allclose(angles, [0.123, 0, 0])\nTrue', 'signature': "def euler_from_quaternion(quaternion, axes='s...
0
{'name': 'Ava._images_and_boxes_preprocessing@models/SlowFast/slowfast/datasets/ava_dataset.py', 'description': 'This function performs preprocessing for the input images and\ncorresponding boxes for one clip.\n\nArgs:\n imgs (tensor): the images.\n boxes (ndarray): the boxes for the current clip.\n\nReturns:\n ...
0
{'name': 'lift_blocks@maf/impl/naiveLiftUp.py', 'description': 'Lift the given blocks file to a new reference using the given pairwise alignments file.\n\nThe pairwise alignments must point from the old reference to the new.', 'signature': 'def lift_blocks(alignments, blocks, other_genome, output):'}</s>{'name': 'makeU...
0
{'name': 'RIPPER._grow_ruleset_cn@build/lib/wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': 'prune_rule@wittgenstein/base_functions.py', 'description': "Return a pruned version of the Rule by removing Conds.\n\nrule : Rule\n Rule to prune.\npr...
0
{'name': '_parabolic_bed_from_topo@oggm/core/centerlines.py', 'description': 'this returns the parabolic bedshape for all points on idl', 'signature': 'def _parabolic_bed_from_topo(gdir, idl, interpolator):'}</s>{'name': '_trapezoidal_bottom_width_from_terrain_cross_section_area@oggm/core/centerlines.py', 'description'...
0
{'name': 'dumpsource@dill/source.py', 'description': "'dump to source', where the code includes a pickled object.\n\nIf new=True and object is a class instance, then create a new\ninstance using the unpacked class source code. If enclose, then\ncreate the object inside a function enclosure (thus minimizing\nany global ...
0
{'name': 'MetalAPI.get_position@uarm/wrapper/metal_api.py', 'description': "Get the position\n:param wait: True/False, default is True\n:param timeout: timeout, default is use the default cmd timeout\n:param callback: callback, default is None\n:return: [x, y, z] or 'TIMEOUT' if wait is True else None", 'signature': 'd...
0
{'name': 'TestDocumentsTransactions.test_no_transaction_creation_for_issued_documents_case_1@silver/tests/integration/test_documents_transactions.py', 'description': 'The payment method is not recurring', 'signature': 'def test_no_transaction_creation_for_issued_documents_case_1(self):'}</s>{'name': 'TriggeredProcessor...
1
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'find_command_end@src/python_scripts/afnipy/afni_util.py', 'descri...
0
{'name': 'IsOutOfLineMethodDefinition@tools/cpplint.py', 'description': 'Check if current line contains an out-of-line method definition.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains an out-of-line method d...
0
{'name': 'generate_files@scripts/update_api.py', 'description': 'Scan the api files in ``api_files`` and emit the relevant API files into\nthe output directories specified. If an output directory is set to ``None``\nthen the files for that language binding or module are not emitted.\n\nThe reason for this function inte...
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': 'ConfigObj._parse@BlDevCube/lib.bflb_configobj.pyc.py', 'description': 'Actually parse the config file.', 'signature': 'def _parse(self, infile):'}</s>{'name': 'RepeatSectionError@BlDevCube/lib.bflb_configobj.pyc.py', 'description': 'DOCSTRING', 'base_classes': ['ConfigObjError'], 'methods': []}
0
{'name': 'CheckREOS@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check molecular under REOS program\n\nReference:\n Walters, W. Patrick, and Mark Namchuk.\n Nat Rev Drug Discov, 2.4 (2003): 259.\n \nRule details:\n 200 <= MW <= 500\n -5 <= logP <= 5\n nHD <= 5\n nHA <= 10\n nRot <= 8\n...
0
{'name': 'InputPipe.__init__@pypsexec/pipe.py', 'description': "Thin wrapper around an input Named Pipe. This isn't run in a thread\nand any data sent to write is written to the Named Pipe.\n\n:param tree: The SMB tree connected to IPC$\n:param name: The name of the input Named Pipe", 'signature': 'def __init__(self, t...
1
{'name': 'schedule_email@sitemessage/shortcuts.py', 'description': 'Schedules an email message for delivery.\n\n:param message: str or dict: use str for simple text email;\n dict - to compile email from a template (default: `sitemessage/messages/email_html__smtp.html`).\n:param to: recipients addresses or Django Use...
0
{'name': '_htmlentity_transform@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Transforms an HTML entity to a character.', 'signature': 'def _htmlentity_transform(entity_with_semicolon):'}</s>{'name': 'hyphenate_date@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': "Convert a date i...
0
{'name': 'MainWindow.__init__@SpicesUpdate@claudiux/files/SpicesUpdate@claudiux/cs/4.0/cinnamon-settings.py', 'description': 'Create the UI ', 'signature': 'def __init__(self):'}</s>mod_files = glob.glob(config.currentPath + "/modules/*.py")
0
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t...
0
{'name': 'Shortcut._set_menu_items@shortcuts/shortcut.py', 'description': 'Menu consists of many items:\n start menu\n menu item 1\n menu item2\n end menu\nAnd start menu must know all items (titles).\nSo this function iterates over all actions, finds menu items and saves information\nabout them to a corres...
1
{'name': 'get_link_status@analyze.py', 'description': ':param predicted_spans: from get_prediction()\n:param predicted_antecedents:\n:param gold_to_cluster_id, non_anaphoric: from get_gold_to_cluster_id()\n:return: dict of gold spans indicating wrong(False) or correct(True) link', 'signature': 'def get_link_status(pred...
0
{'name': 'Field.transform@ddparser/parser/data_struct/field.py', 'description': 'Sequences transform function, such as converting word to id, adding bos tags to sequences, etc.', 'signature': 'def transform(self, sequences):'}</s>{'name': 'backtrack@ddparser/parser/nets/nn.py', 'description': 'Backtrack the position ma...
0
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.8.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>{'name': 'traceParseAction@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendo...
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': 'plot_sounding_data_csv@pymeteo/skewt.py', 'description': 'Plot SkewT from a CSV sounding data file\n\n:param filename: The name of the file to open.\n:type filename: str\n:param output: The name of the file to output plot\n:type output: str\n\nThe datafile format is CSV with the following columns: \n\n- press...
0
{'name': 'StaticVariableTestCase.test_with_run_command@llvm-12.0.0-project/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py', 'description': 'Test that file and class static variables display correctly.', 'signature': 'def test_with_run_command(self):'}</s>{'name': 'expectedFlakeyFreeBSD@llvm-12.0.0-project/l...
0
{'name': 'RDBComputeDomain.__init__@py3/SciServer/SciQuery.py', 'description': 'Creates an instance of an RDBComputeDomain, which defines a domain or environment with databases that users.\nare able to query.\n\n:param rdb_compute_domain: Parameter that identifies the domain. Could be either its name (string),\n ID ...
0
{'name': '_calculate_minimum_wheel_name@delocate/delocating.py', 'description': 'Return a wheel name with an updated platform tag.\n\nBased on the architecture of the libraries in the wheel and actual platform\ntag.\n\nParameters\n----------\nwheel_name : str\n The name of the wheel.\nwheel_dir : Path\n The direc...
1
{'name': 'genesetAnalysisBetweenConditions@pipelines/pipeline_scxl.py', 'description': 'Naive geneset over-enrichment analysis of genes DE within-cluster.\n\nTesting is performed with the gsfisher package.\n\nGO categories and KEGG pathways are tested by default.\n\nArbitrary sets of genes cat be supplied as GMT files\...
0
{'name': '_IncludeState.CheckNextIncludeOrder@scripts/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants defined above.\n\nRe...
0
{'name': 'post_processing@ytmdl/main.py', 'description': 'Handle all the activities post search of the song.\n\nThis function will handle the following:\nConvert, Trim, Metadata, Cleaning up.', 'signature': 'def post_processing('}</s>{'name': 'exe@ytmdl/utility.py', 'description': 'Execute the command externally.\n\nWr...
0
{'name': '_rs_total_bits@build/lib/ruleset/ripper.py', 'description': 'Returns total description length (in bits) of ruleset -- the sum of its theory dl and exceptions dl.\n\nbestsubset_dl (optional, <bool>): whether to return estimated minimum possible dl were all rules that increase dl to be removed\nret_bestsubset (...
0
{'name': 'document@api/project/__init__.py', 'description': 'Returns the matching document(s) from the specified index\n\nParameters\n----------\nrequest : Request\n Uses \'from\', \'to\', \'limit\', \'filter\', and \'doctype\' from request arguments\n\nReturns\n-------\nfilter\n dict containing the filters, e.g....
0
{'name': 'decryptAES@flask_api/api_server.py', 'description': '解析AES密文', 'signature': 'def decryptAES(src):'}</s>{'name': 'allowed_file@flask_api/api_server.py', 'description': 'DOCSTRING', 'code': "def allowed_file(filename):\n return '.' in filename and \\\n filename.rsplit('.', 1)[1] in ALLOWED_EXTENSIO...
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': 'main@verify_security_groups.py', 'description': 'Main Python function to attach security group to ENIs. Responsible for:\n1. Identifying current account id, region.\n2. Importing CSV file and loading into state.\n3. Comparing CSV ARN entry with AWS current ID and Region.\n4. Identifying Security Group ID and ...
1
{'name': '_to_typedef@swagger_to/elm_client.py', 'description': 'Translate the intermediate type definition to a definition of an Elm type.\n\n:param intermediate_typedef: intermediate type definition\n:return: definition of an Elm type', 'signature': 'def _to_typedef(intermediate_typedef: swagger_to.intermediate.Typed...
0
{'name': 'build@tools/ipp_custom_library_tool_python/tool/core.py', 'description': 'Builds dynamic library\n\n:return: True if build was successful and False in the opposite case', 'signature': 'def build():'}</s>PACKAGE = "Package"
0
{'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>GALEX_AIS_VIZIER = "II/312/ais"
0
{'name': 'Cache.get_with_range@shingetsu/cache.py', 'description': 'Get data in range.', 'signature': 'def get_with_range(self, node=None):'}</s>{'name': 'Cache@shingetsu/cache.py', 'description': 'Cache of BBS.\n\nPlain text (encode: UTF-8).\nOne record par one line.', 'base_classes': ['dict'], 'methods': [{'name': 'C...
1
{'name': 'refine_detections_graph@Mask_RCNN/mrcnn/model.py', 'description': 'Refine classified proposals and filter overlaps and return final\ndetections.\n\nInputs:\n rois: [N, (y1, x1, y2, x2)] in normalized coordinates\n probs: [N, num_classes]. Class probabilities.\n deltas: [N, num_classes, (dy, dx, log(d...
0
{'name': 'init_screen@displays/inkyphat.py', 'description': 'Prepare the screen for drawing and return the draw variables\n ', 'signature': 'def init_screen(color):'}</s>wallet_scan_2 = "le credenziali"
0
{'name': 'RemoveSelfDependencies@gyp/pylib/gyp/input.py', 'description': 'Remove self dependencies from targets that have the prune_self_dependency\nvariable set.', 'signature': 'def RemoveSelfDependencies(targets):'}</s>{'name': 'LoadBuildFileIncludesIntoList@gyp/pylib/gyp/input.py', 'description': 'DOCSTRING', 'code'...
0
{'name': '_AdbIOManager.send@adb_shell/adb_device.py', 'description': 'Send a message to the device.\n\nParameters\n----------\nmsg : AdbMessage\n The data that will be sent\nadb_info : _AdbTransactionInfo\n Info and settings for this ADB transaction', 'signature': 'def send(self, msg, adb_info):'}</s>MESSAGE_FOR...
0
{'name': 'flux_balance_impact_degree@cameo/flux_analysis/analysis.py', 'description': 'Flux balance impact degree by Zhao et al 2013\n\nParameters\n----------\nmodel: cobra.Model\n Wild-type model\nknockouts: list\n Reactions to knockout\nmethod: str\n The method to compute the perturbation. default is "fva" -...
0
{'name': 'circulation_configuration@pymultimatic/api/urls.py', 'description': 'Url to handle :class:`~pymultimatic.model.component.Circulation`\nconfiguration.', 'signature': 'def circulation_configuration(**kwargs: Any) -> str:'}</s>_ZONES_LIST = _SYSTEM + "/zones"
0
{'name': 'set_default@art/functions.py', 'description': 'Change text2art, tprint and tsave default values.\n\n:param font: input font\n:type font:str\n:param chr_ignore: ignore not supported character\n:type chr_ignore:bool\n:param filename: output file name (only tsave)\n:type filename:str\n:param print_status : save ...
1
{'name': 'get_qnn_qdq_config@onnxruntime/python/tools/quantization/execution_providers/qnn/quant_config.py', 'description': 'Returns a static quantization configuration suitable for running QDQ models on QNN EP.\nThis is done primarily by setting tensor-level quantization overrides.\n\nParams:\n model_input: Path to...
1
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>g_rest_defs = VO.VarsObject("resting state defaults")
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQBACF_MESSAGE_DATA = 7020
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>BUFFER_TYPE_UNDEFINED = 0
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': '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': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ...
0
{'name': 'db@backend/app/tests/conftest.py', 'description': "Return a database connection that can be used to commit items during testing.\n\nBecause this method is 'autouse=True', it will be ran before *every* test method.\nThis means that every test will have a test database with tables created to use\nhowever the te...
0
{'name': 'olScoreStat@python/app/olss.py', 'description': 'upper tail statistic for outlier score', 'signature': 'def olScoreStat(dirPath, keyLen, shoHist):'}</s>{'name': 'getKeyedOlScores@python/app/olss.py', 'description': 'extracts outlier score from spark output files', 'code': 'def getKeyedOlScores(dirPath, keyLen...
0
{'name': 'TreeAnc.infer_gtr@treetime/treeanc.py', 'description': "Calculates a GTR model given the multiple sequence alignment and the tree.\nIt performs ancestral sequence inferrence (joint or marginal), followed by\nthe branch lengths optimization. Then, the numbers of mutations are counted\nin the optimal tree and r...
1
{'name': 'define_shell_indices@dmipy/utils/utils.py', 'description': "Function to facilitate defining shell indices given some manual ranges\nin b-values. This function is useful as in practice the actual b-values may\nfluctuate slightly around the planned b-value. This information is needed\nby some models doing spher...
0
{'name': 'ClusterAction.start_clusters@qingcloud/iaas/actions/cluster.py', 'description': 'Start one or more clusters.\n@param clusters: the array of clusters IDs.', 'signature': 'def start_clusters(self, clusters,'}</s>ACTION_CREATE_VXNETS = "CreateVxnets"
0
{'name': 'ShopTests.test_order@tests/test_shop.py', 'description': "Test that a completed order contains cart items and that\nthey're removed from stock.", 'signature': 'def test_order(self):'}</s>{'name': 'Order@cartridge/shop/models.py', 'description': 'DOCSTRING', 'base_classes': ['SiteRelated'], 'methods': [{'name'...
1
{'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': 'engine.number_to_words@src/bids/external/inflect.py', 'description': 'Return a number in words.\n\ngroup = 1, 2 or 3 to group numbers before turning into words\ncomma: define comma\n\nandword:\n word for \'and\'. Can be set to \'\'.\n e.g. "one hundred and one" vs "one hundred one"\n\nzero: word for \'0...
0
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>GRIS...
0
{'name': 'g_k@layers.py', 'description': 'Three convolution layers for getting s_k,mu_k conditioning with x_{k-1} and condition h (if specified)\n\nArgs:\n filters: the output channels of the first two convolution layers\n channels: the output channels of s_k, mu_k\n\nReturns:\n shift, logs: 4D tensor', 'signa...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIA_PUBSUB_CLUSTER = 249
0
{'name': 'EntriesMaintainer.update_statistics@code/maintenance_entries.py', 'description': 'Generates the statistics page.\n\nShould be done every time the entries change.', 'signature': 'def update_statistics(self):'}</s>{'name': 'subprocess_run@code/utils/utils.py', 'description': 'Runs a cmd via subprocess and displ...
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': 'CheckForNewlineAtEOF@third_party/cpplint/cpplint.py', 'description': 'Logs an error if there is no newline char at the end of the file.\n\nArgs:\n filename: The name of the current file.\n lines: An array of strings, each representing a line of the file.\n error: The function to call with any errors found....
0
{'name': '_validate@src/feedvalidator/__init__.py', 'description': 'validate RSS from string, returns validator object', 'signature': 'def _validate(aString, firstOccurrenceOnly, loggedEvents, base, encoding, selfURIs=None, mediaType=None):'}</s>{'name': 'InvalidNamespace@src/feedvalidator/logging.py', 'description': '...
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>ICON_SEQUENCE_OFF = "mdi:stop-circle-outline"
0
{'name': '_NestingState.Update@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to cal...
0
{'name': 'convert_inspirations@code/html/generate_static_website.py', 'description': ':param inspirations:\n:param entries:\n:return:', 'signature': 'def convert_inspirations(inspirations, entries):'}</s>{'name': 'write_entries@code/utils/osg.py', 'description': ':return:', 'code': 'def write_entries(entries):\n """...
0
{'name': 'logkv_mean@qbert/logger.py', 'description': 'The same as logkv(), but if called many times, values averaged.', 'signature': 'def logkv_mean(key, val):'}</s>{'name': 'set_level@qbert/logger.py', 'description': 'Set logging threshold on current logger.', 'code': 'def set_level(level):\n """\n Set logging ...
0
{'name': 'ResnetUtilsTest.testAtrousValuesBottleneck@slim/nets/resnet_v2_test.py', 'description': 'Verify the values of dense feature extraction by atrous convolution.\n\nMake sure that dense feature extraction by stack_blocks_dense() followed by\nsubsampling gives identical results to feature extraction at the nominal...
1
{'name': 'Workflow.last_version_run@src/workflow/workflow.py', 'description': 'Return version of last version to run (or ``None``).\n\n.. versionadded:: 1.9.10\n\n:returns: :class:`~workflow.update.Version` instance\n or ``None``', 'signature': 'def last_version_run(self):'}</s>{'name': 'PasswordNotFound@src/workflo...
0
{'name': 'Struct.field@python/taichi/lang/struct.py', 'description': 'Creates a :class:`~taichi.StructField` with each element\nhas this struct as its type.\n\nArgs:\n members (dict): a dict, each item is like `name: type`.\n methods (dict): a dict of methods that should be included with\n the field. Each...
0
{'name': 'get_index_of_first_statement@stino/pyarduino/arduino_src.py', 'description': "Returns the index of the first character that's not whitespace, a comment\nor a pre-processor directive.\n\nArgs:\n src_text: The source code.\n\nReturns:\n index: The index of first statement.", 'signature': 'def get_index_of...
0
{'name': 'get_n_batch@src/deepwave/common.py', 'description': 'Get the size of the batch dimension.', 'signature': 'def get_n_batch(args: List[Optional[Tensor]]) -> int:'}</s>{'name': 'create_or_pad@src/deepwave/common.py', 'description': 'DOCSTRING', 'code': 'def create_or_pad(tensor: Tensor, fd_pad: int, device: torc...
0