text
string
label
int64
{'name': 'init_log_file@lib/util.py', 'description': "This function inits a log file given a folder to write the log to.\nit automatically adds a timestamp and optional suffix to the log.\nAnything written to the log will automatically write to console too.\n\nExample:\n import logging\n\n init_log_file('output/l...
0
{'name': 'JalaliDate.strftime@persiantools/jdatetime.py', 'description': 'Format a Jalali date according to the given format string.\n\nThis method returns a string representing the Jalali date, controlled by an explicit format string.\nIt is similar to the `strftime` method used with `datetime` objects.\n\nArgs:\n ...
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>ArcCh...
0
{'name': 'Lookyloo.get_crawled_tree@lookyloo/lookyloo.py', 'description': 'Get the generated tree in ETE Toolkit format.\nLoads the pickle if it exists, creates it otherwise.', 'signature': 'def get_crawled_tree(self, capture_uuid: str, /) -> CrawledTree:'}</s>{'name': 'CaptureCache@lookyloo/capturecache.py', 'descript...
0
{'name': 'answer_question@onefile.py', 'description': 'Uses everything to do everyhing for one data instance (one question, subgraph etc).', 'signature': 'def answer_question(qa, index, data, relations, parameter_dict):'}</s>{'name': 'checker@utils/natural_language_utilities.py', 'description': "Checks if uri ends and ...
0
{'name': '_build_simple_row@misc/tabulate.py', 'description': 'Format row according to DataRow format without padding.', 'signature': 'def _build_simple_row(padded_cells, rowfmt):'}</s>_invisible_codes = re.compile(r"\x1b\[\d*m|\x1b\[\d*\;\d*\;\d*m")
0
{'name': 'eGetRawS@src/LabJackPython.py', 'description': 'Function not yet implemented.\n\nFor Windows only.', 'signature': 'def eGetRawS(Handle, pIOType, Channel, pValue, x1):'}</s>LJ_chTIMER_CLOCK_BASE = 1001
0
{'name': 'stop_flops_count@src/utils/flops_counter.py', 'description': 'A method that will be available after add_flops_counting_methods() is called\non a desired net object.\nStops computing the mean flops consumption per image.\nCall whenever you want to pause the computation.', 'signature': 'def stop_flops_count(sel...
0
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ...
0
{'name': 'evaluate_pruning@03_pruning/helpers/pruning.py', 'description': 'Pruning Test Accuracy Evaluation - Prune Types: weight, unit, filter ', 'signature': 'def evaluate_pruning(net_config, load_in_path, criterion, device, test_loader,'}</s>{'name': 'TrainDojo@03_pruning/helpers/train_dojo.py', 'description': 'Lear...
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': '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': 'AdbDevice._filesync_read@adb_shell/adb_device.py', 'description': 'Read ADB messages and return FileSync packets.\n\nParameters\n----------\nexpected_ids : tuple[bytes]\n If the received header ID is not in ``expected_ids``, an exception will be raised\nadb_info : _AdbTransactionInfo\n Info and settings...
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': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'GridServicerestartRequest@infoblox_client/objects.py', 'description': "GridSe...
0
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>TCP_NSTATES = 11
0
{'name': 'macroexpand@hy/macros.py', 'description': "If `tree` isn't an `Expression` that might be a macro call,\nreturn it unchanged. Otherwise, try to expand it. Do this\nrepeatedly unless `once` is true. Call `as_model` after each\nexpansion. If the return value is a compiler `Result` object, and\n`result_ok` is fal...
0
{'name': 'BL3Save.import_protobuf@bl3save/bl3save.py', 'description': 'Given raw protobuf data, load it into ourselves so\nthat we can work with it. This also sets up a few\nconvenience vars for our later use', 'signature': 'def import_protobuf(self, data):'}</s>challenge_to_eng = { ERIDIAN_ANALYZER: 'Eridian ...
0
{'name': 'Assignment.__init__@lib/rule_engine/ast.py', 'description': ':param str name: The symbol name that the assignment is defining.\n:param value: The value of the assignment.\n:param value_type: The data type of the assignment.\n:type value_type: :py:class:`~.DataType`', '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': 'main@v1/custom_function_app/create_regions/__init__.py', 'description': 'Create regions from a larger image, suitable to labelling with CustomVision.ai.', 'signature': 'def main(req: func.HttpRequest) -> func.HttpResponse:'}</s>{'name': 'table_service_insert@v1/custom_function_app/create_regions/azure_storage...
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': '_AutoReject.transform@autoreject/autoreject.py', 'description': 'Fix and find the bad epochs.\n\nParameters\n----------\nepochs : instance of mne.Epochs\n The epochs object for which bad epochs must be found.\n\nreturn_log : bool\n If true the rejection log is also returned.\n\nReturns\n-------\nepochs_...
0
{'name': 'CheckForNonConstReference@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instan...
0
{'name': 'crackline@venv/Lib/site-packages/numpy/f2py/crackfortran.py', 'description': 'reset=-1 --- initialize\nreset=0 --- crack the line\nreset=1 --- final check if mismatch of blocks occurred\n\nCracked data is saved in grouplist[0].', 'signature': 'def crackline(line, reset=0):'}</s>groupbegins90 = groupbegin...
0
{'name': '_conj_actions@tulip/synth.py', 'description': 'Conjunction of multiple action types.\n\nIncludes solver expression substitution.\nSee also `_conj_action`.', 'signature': 'def _conj_actions('}</s>{'name': 'exactly_one@tulip/synth.py', 'description': 'N-ary xor.\n\nContrast with pure mutual exclusion.', 'code':...
0
{'name': 'ProcessFileData@tools/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a li...
0
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ...
0
{'name': 'Project.suite_mode@testrail/project.py', 'description': 'The suite mode of the project (1 for single suite mode,\n2 for single suite + baselines, 3 for multiple suites)\n(added with TestRail 4.0)', 'signature': 'def suite_mode(self):'}</s>{'name': 'TestRailBase@testrail/base.py', 'description': 'Base class fo...
0
{'name': 'TestInvoiceGenerationCommand.test_2nd_sub_after_trial_with_consumed_units_underflow@silver/tests/commands/test_generate_docs.py', 'description': 'The subscription:\n * start_date=2015-05-20\n * trial_end=2015-06-03\n * first billing_date=2015-06-01\n * second billing_date=2015-06-04 (right after t...
1
{'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': 'losslessTrim@amptk/amptklib.py', 'description': 'function to trim primers if found from SE reads\nand then trim/pad to a set length', 'signature': 'def losslessTrim(input, fwdprimer, revprimer, mismatch, trimLen, padding, minlength, output):'}</s>{'name': 'trim3prime@amptk/amptklib.py', 'description': 'DOCSTR...
0
{'name': 'IUSequence.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this sequence as a dict', 'signature': 'def as_dict(self, extended=False, sqr: IUSequenceRun = None) -> OrderedDict:'}</s>CONF_REFRESH_INTERVAL = "refresh_interval"
0
{'name': 'AutoModelForSequenceClassification.from_pretrained@small_cls/pytorch_transformers/modeling_auto.py', 'description': "Instantiates one of the sequence classification model classes of the library\nfrom a pre-trained model configuration.\n\nThe `from_pretrained()` method takes care of returning the correct model...
1
{'name': 'APIConnection.__init__@qingcloud/iaas/connection.py', 'description': '@param qy_access_key_id - the access key id\n@param qy_secret_access_key - the secret access key\n@param zone - the zone id to access\n@param host - the host to make the connection to\n@param port - the port to use when connect to host\n@pa...
0
{'name': 'RandomInitializer.get_goal@python/rrc_simulation/gym_wrapper/envs/cube_env.py', 'description': 'Get a random goal depending on the difficulty.', 'signature': 'def get_goal(self):'}</s>{'name': 'Pose@python/rrc_simulation/tasks/move_cube.py', 'description': 'Represents a pose given by position and orientation....
0
{'name': 'Modules@vimdoc/module.py', 'description': 'Creates modules from a plugin directory.\n\nNote that there can be many, if a plugin has standalone parts that merit their\nown helpfiles.\n\nArgs:\n directory: The plugin directory.\nYields:\n Module objects as necessary.', 'signature': 'def Modules(directory):'}<...
0
{'name': 'check_sign_f8_quantization@onnxruntime/test/python/quantization/op_test_utils.py', 'description': 'Quantization to float 8 type does not change the sign as zero_point is always null.\nThis function checks that the quantized parameters did not change.', 'signature': 'def check_sign_f8_quantization(model_path_o...
0
{'name': 'IREP._grow_ruleset_cn@wittgenstein/irep.py', 'description': 'Grow a Ruleset with (optional) pruning.', 'signature': 'def _grow_ruleset_cn(self, pos_df, neg_df, initial_model=None):'}</s>{'name': 'score_accuracy@wittgenstein/base_functions.py', 'description': 'Calculate accuracy score of a trained model on a t...
0
{'name': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign...
0
{'name': 'MidiStatus.get_columns@robopianist/viewer/application.py', 'description': 'Returns the text to display in two columns.', 'signature': 'def get_columns(self):'}</s>_SOUNDFONT_LABEL = "Soundfont"
1
{'name': 'all_equal@aioredlock/redis.py', 'description': 'Returns True if all the elements are equal to each other', 'signature': 'def all_equal(iterable):'}</s>{'name': 'LockRuntimeError@aioredlock/errors.py', 'description': 'Error in acquiring or releasing the lock due to an unexpected event', 'base_classes': ['LockE...
0
{'name': 'ExportHtmlCommand.run@ExportHtml.py', 'description': 'Run command.', 'signature': 'def run(self, **kwargs):'}</s>{'name': 'plugin_loaded@ExportHtml.py', 'description': 'Setup plugin.', 'code': 'def plugin_loaded():\n """Setup plugin."""\n\n global JS_DIR\n JS_DIR = path.join(\'Packages\', \'ExportHtm...
0
{'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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCMDL_LEVEL_110 = 110
0
{'name': 'find_on_path@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Yield distributions accessible on a sys.path directory', 'signature': 'def find_on_path(importer, path_item, only=False):'}</s>{'name': 'DistInfoDistribution@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Wrap an actua...
0
{'name': 'RPCBindTest.run_bind_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with requested rpcallowip and rpcbind parameters,\nthen try to connect, and check if the set of bound addresses\nmatches the expected set.', 'signature': 'def run_bind_test(self, allow_ips, connect_to, addresses, expected):'...
0
{'name': 'Board.status@Monika After Story/game/python-packages/chess/__init__.py', 'description': 'Gets a bitmask of possible problems with the position.\n\nMove making, generation and validation are only guaranteed to work on\na completely valid board.\n\n:data:`~chess.STATUS_VALID` for a completely valid board.\n\nOt...
0
{'name': 'sniffPossibleFeed@src/feedvalidator/__init__.py', 'description': 'Use wild heuristics to detect something that might be intended as a feed.', 'signature': 'def sniffPossibleFeed(rawdata):'}</s>{'name': 'ValidHeight@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['ValidValue'], 'met...
0
{'name': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'register_external_context_pane@gef.py', 'description': 'Registering function for new GEF Context View.\npane...
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>{'name': '_get_bool_config@llvm-project/ll...
0
{'name': 'BatchBase.flush@asynq/batching.py', 'description': "Flushes the batch.\n\nAlmost the same as ``self.value()``, but:\n\n* this method doesn't throw an error even if underlying batch\n flush actually completed with an error\n* on the other hand, subsequent flush throws an error.\n\nSo this method is intended t...
0
{'name': 'connect@pyngrok/ngrok.py', 'description': 'Establish a new ``ngrok`` tunnel for the given protocol to the given port, returning an object representing\nthe connected tunnel.\n\nIf a `tunnel definition in ngrok\'s config file\n<https://ngrok.com/docs/agent/config/v2/#tunnel-configurations>`_ matches the given\...
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': 'AGraph.remove_node@pygraphviz/agraph.py', 'description': 'Remove the single node n.\n\nAttempting to remove a node that isn\'t in the graph will produce\nan error.\n\n>>> import pygraphviz as pgv\n>>> G = pgv.AGraph()\n>>> G.add_node("a")\n>>> G.remove_node("a")', 'signature': 'def remove_node(self, n):'}</s>...
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
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIA_TOPIC_NODE_COUNT = 253
0
{'name': 'IUSequence.icon@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the icon to use in the frontend.', 'signature': 'def icon(self) -> str:'}</s>CONF_RESET = "reset"
0
{'name': 'athena_source@05_explore/data-wrangler/99_GENERATED_Python_Code.py', 'description': 'Represents a source that handles Athena.\n\nNote: Input dataset_definition is a Mohave specific dataset definition and is different from Processing Job\ndataset definition.', 'signature': 'def athena_source(spark, mode, datas...
0
{'name': 'resolveAndSplit@ValveFileSystem/path.py', 'description': "recursively expands all environment variables and '..' tokens in a pathname", 'signature': 'def resolveAndSplit(path, envDict=None, raiseOnMissing=False):'}</s>_CONTENT = None
0
{'name': 'IOCQ.__getitem__@scripts/psd.py', 'description': 'get 4-dword CQE from the queue', 'signature': 'def __getitem__(self, index):'}</s>{'name': 'test_create_delete_iocq_non_contig@scripts/psd.py', 'description': 'DOCSTRING', 'code': 'def test_create_delete_iocq_non_contig(nvme0):\n prp_list = PRPList()\n p...
0
{'name': 'get_name_addr@src/future/backports/email/_header_value_parser.py', 'description': 'name-addr = [display-name] angle-addr\n\n ', 'signature': 'def get_name_addr(value):'}</s>{'name': 'StartBoundaryNotFoundDefect@src/future/backports/email/errors.py', 'description': 'The claimed start boundary was never foun...
0
{'name': 'DOMNode.fire@zombie/browser.py', 'description': "Fires a specified DOM event on the current node.\n\n:param event: the name of the event to fire (e.g., 'click').\n\nReturns the :class:`zombie.dom.DOMNode` to allow function chaining.", 'signature': 'def fire(self, event):'}</s>{'name': 'Browser@zombie/browser....
0
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'user_prop_decide@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def user_prop_decide(ctx, cb, t_ref, idx, pha...
0
{'name': 'Line.clone@transformer/python.py', 'description': 'Creates an exact but disconnected copy of self.\nUseful in tests.', 'signature': 'def clone(self) -> "Line":'}</s>{'name': 'Import@transformer/python.py', 'description': 'The import statement in all its forms: ``import X``, ``import X as A``,\n``from M import...
0
{'name': 'DNSIncoming.readOthers@stino/pyarduino/base/zeroconf.py', 'description': 'Reads the answers, authorities and additionals section of the\npacket', 'signature': 'def readOthers(self):'}</s>_TYPE_MX = 15
0
{'name': 'GTestHelpTest.TestHelpFlag@third_party/include/protobuf-2.6.1/gtest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to the binar...
1
{'name': 'QnliProcessor._create_examples@examples/utils_sequence_level_task.py', 'description': 'Creates examples for the training and dev sets.', 'signature': 'def _create_examples(self, lines, set_type):'}</s>{'name': 'LcqmcProcessor@examples/utils_sequence_level_task.py', 'description': 'Processor for the XNLI data ...
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': '_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': 'op_everseen@meza/fntools.py', 'description': "List min/max/equal... elements, preserving order. Remember all\nelements ever seen.\n\n>>> list(op_e...
0
{'name': 'is_new_mtl_data_available@refreshdata.py', 'description': "Returns whether new date provided by Sante Montreal is available.\nData is available if the data's last date is equal the given expected date.\n\nParameters\n----------\nexpected_date : date\n The date that new data needs to have to be considered n...
0
{'name': 'get_validate@geetest_online/geetest_online.py', 'description': 'get geetest validate result by serial call', 'signature': 'def get_validate(session, search_name):'}</s>{'name': 'calc_diff_position@geetest_online/geetest_online.py', 'description': 'calculate different between two images, by threshold', 'code':...
0
{'name': 'git_call@airflow_code_editor/git.py', 'description': 'Run git command. If capture_output is true, stdout and stderr will be captured.', 'signature': 'def git_call(argv: List[str], capture_output: bool = False) -> Tuple[int, bytes, bytes]:'}</s>DEFAULT_GIT_BRANCH = "main"
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': 'parse_info@parseoutput.py', 'description': 'Parses result of :i <name> command of ghci and returns derived Symbols.Declaration', 'signature': 'def parse_info(name, contents):'}</s>{'name': 'SublimeHaskellNextError@parseoutput.py', 'description': 'DOCSTRING', 'base_classes': ['CommandWin.SublimeHaskellTextComm...
0
{'name': 'ConfigPathTest.test_list_out_of_range_get@ml_collections/config_flags/tests/config_path_test.py', 'description': 'Tries to access out-of-range value in list.', 'signature': 'def test_list_out_of_range_get(self):'}</s>{'name': 'get_config@ml_collections/config_flags/tests/fieldreference_config.py', 'descriptio...
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': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
0
{'name': 'WinograndeTask.load_dataset@examples/roberta/wsc/wsc_task.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset('}</s>{'name': 'get_mem_usage@fairseq/data/data_utils.py', 'description': 'DOCSTRING', 'code': 'de...
0
{'name': 'Model.initialize_templates@wobble/model.py', 'description': 'Initialize spectral templates for all components. \n\n*NOTE:* this will initialize each subsequent component from the residuals \nof the previous, so make sure you have added the components in order of \nlargest to smallest contribution to the net s...
1
{'name': 'DetectionNetwork.postprocess_fastrcnn@libs/networks/build_whole_network.py', 'description': ':param rois:[-1, 4]\n:param bbox_ppred: [-1, (cfgs.Class_num+1) * 4]\n:param scores: [-1, cfgs.Class_num + 1]\n:return:', 'signature': 'def postprocess_fastrcnn(self, rois, bbox_ppred, scores, img_shape):'}</s>MUTILPY...
0
{'name': '_transform_attrs@vendor/attr/_make.py', 'description': "Transform all `_CountingAttr`s on a class into `Attribute`s.\n\nIf *these* is passed, use that and don't look for them on the class.\n\n*collect_by_mro* is True, collect them in the correct MRO order, otherwise\nuse the old -- incorrect -- order. See #4...
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': 'LayoutViewSet.create@vulfocus-api/layout_image/views.py', 'description': '创建编排环境信息', 'signature': 'def create(self, request, *args, **kwargs):'}</s>{'name': 'run_container@vulfocus-api/tasks/tasks.py', 'description': '运行 docker 容器\n:param container_id: 漏洞容器数据库 id\n:param user_id: 用户ID\n:param tmp_task_id: 任务I...
0
{'name': 'main@tests/stresstest.py', 'description': 'Command line driver for ConcurrentRotatingFileHandler stress test.', 'signature': 'def main():'}</s>{'name': 'ConcurrentRotatingFileHandler@src/concurrent_log_handler/__init__.py', 'description': 'Handler for logging to a set of files, which switches from one file to...
0
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru...
0
{'name': 'ip_address@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/ipaddress.py', 'description': "Take an IP string/int and return an object of the correct type.\n\nArgs:\n address: A string or integer, the IP address. Either IPv4 or\n IPv6 addresses may be supplied; integers less than 2**32 will\n ...
0
{'name': 'Dot.wait_for_double_press@bluedot/dot.py', 'description': 'Waits until a Blue Dot is double pressed.\nReturns ``True`` if the button was double pressed.\n\n:param float timeout:\n Number of seconds to wait for a Blue Dot to be double pressed, if ``None``\n (the default), it will wait indefinetly.', 'sig...
0
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_ci_get_image_info@ut/test.py', 'description': 'DOCSTRING', 'code': 'def test_ci_get_image_info():\n if TEST_CI != \'true\':\n return\n\n """ci获取图...
0
{'name': 'load_some_model@examples/convert_legacy_llama.py', 'description': 'Load a model of any supported format.', 'signature': 'def load_some_model(path: Path) -> ModelPlus:'}</s>{'name': 'Tensor@examples/convert_legacy_llama.py', 'description': 'DOCSTRING', 'base_classes': ['ABC'], 'methods': [{'name': 'Tensor.asty...
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>TCPS_FIN_WAIT_1 = 6
0
{'name': 'env_perform_reproduce_update@self_organising_systems/biomakerca/env_logic.py', 'description': "Perform reproduce operations in the environment.\n\nThis is the function that should be used for high level step_env design.\n\nArguments:\n key: a jax random number generator.\n env: the input environment to be m...
0
{'name': 'PiPluginManager.load_all_plugins@pibooth/plugins/__init__.py', 'description': 'Register the core plugins, load plugins from setuptools entry points\nand the load given module/package paths.\n\nnote:: by default hooks are called in LIFO registered order thus\n plugins register order is important.\n\n:par...
0
{'name': 'get_validate@geetest_online/geetest_online.py', 'description': 'get geetest validate result by serial call', 'signature': 'def get_validate(session, search_name):'}</s>TOKEN_JS = None
0
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'PbGe@src/api/python/z3/z3.py', 'description': "Create a Pseudo-Boolean inequality k constraint.\n\n>>> a, b, c =...
0
{'name': 'Normalizer.__init__@PyBioMed/PyPretreat/PyPretreatMolutil.py', 'description': 'Initialize a Normalizer with an optional custom list of :class:`~molvs.normalize.Normalization` transforms.\n\n:param normalizations: A list of :class:`~molvs.normalize.Normalization` transforms to apply.\n:param int max_restarts:...
0
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'...
0
{'name': 'create_config@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Create the PyQt configuration module so that it can be imported by build\nscripts.\n\nmodule is the module file name.\ntemplate is the template file name.\nmacros is the dictionary of platform specific build macros.', 'signatur...
1
{'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...
1
{'name': 'instruction_form_init@codegen/x86_64.py', 'description': 'Generates initialization code for a particular instruction form', 'signature': 'def instruction_form_init(code, instruction_form, instruction_subforms,'}</s>{'name': 'generate_operand_check@codegen/x86_64.py', 'description': 'DOCSTRING', 'code': 'def g...
1