text
string
label
int64
{'name': 'verify_database@oaiharvest/registry.py', 'description': 'Verify that a suitable database exists, create it if not.', 'signature': 'def verify_database(path):'}</s>subparsers = argparser.add_subparsers(help="Actions")
0
{'name': 'pytest_pyfunc_call@pytest_asyncio/plugin.py', 'description': 'Pytest hook called before a test case is run.\n\nWraps marked tests in a synchronous function\nwhere the wrapped test coroutine is executed in an event loop.', 'signature': 'def pytest_pyfunc_call(pyfuncitem: Function) -> object | None:'}</s>ASYNCI...
0
{'name': 'XMTransformerModel.build_model@fairseq/models/speech_to_text/xm_transformer.py', 'description': 'Build a new model instance.', 'signature': 'def build_model(cls, args, task):'}</s>{'name': 'model_eval@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def model_eval(model):\n is_training = model.train...
0
{'name': 'elab_intermodule@rtl/vendor/pulp_platform_register_interface/vendor/lowrisc_opentitan/util/topgen/intermodule.py', 'description': "Check the connection of inter-module and categorize them\n\nIn the top template, it uses updated inter_module fields to create\nconnections between the modules (incl. memories). T...
0
{'name': 'SqlserverMode.start_sql_server@freezer/mode/sqlserver.py', 'description': 'Start the SQL Server instance after the backup is completed ', 'signature': 'def start_sql_server(self):'}</s>LOG = log.getLogger(__name__)
1
{'name': 'merge_dungeonstatic@bcml/mergers/mubin.py', 'description': 'Merges all changes to the CDungeon Static.smubin', 'signature': 'def merge_dungeonstatic(diffs: dict = None):'}</s>{'name': 'download_webview2@bcml/util.py', 'description': 'DOCSTRING', 'code': 'def download_webview2():\n from bcml import native_m...
0
{'name': '_create_initial_typedef@swagger_to/py_client.py', 'description': 'Create a placeholder so that a mapping for identifiable typedefs can be pre-populated.\n\nThis is necessary to avoid looping endlessly through cycles.', 'signature': 'def _create_initial_typedef(intermediate_typedef: swagger_to.intermediate.Typ...
0
{'name': 'IB.reqGlobalCancel@ib_insync/ib.py', 'description': 'Cancel all active trades including those placed by other\nclients or TWS/IB gateway.', 'signature': 'def reqGlobalCancel(self):'}</s>{'name': 'HistoricalSchedule@ib_insync/objects.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': []}
0
{'name': 'field_assertions_and_warnings@scripts/schema/cleaner.py', 'description': 'Additional checks on a fleshed out field', 'signature': 'def field_assertions_and_warnings(field: FieldDetails) -> None:'}</s>{'name': 'is_intermediate@scripts/generators/ecs_helpers.py', 'description': 'Encapsulates the check to see if...
1
{'name': 'get_stock_price_history@src/tehran_stocks/download/price.py', 'description': 'Get stock price history from the web.\n\nparams:\n----------------\nstock_id: int\n http://www.old.tsetmc.com/Loader.aspx?ParTree=151311&i=**35700344742885862#**\n number after i=\n\nreturn:\n----------------\npd.DataFrame\n ...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQST_BEST_EFFORT = 0
0
{'name': 'onion_redirect@ahmia/views.py', 'description': 'Add clicked information and redirect to .onion address.', 'signature': 'def onion_redirect(request):'}</s>{'name': 'HiddenWebsite@ahmia/models.py', 'description': 'Onion service website: http://xyz.onion/ ', 'base_classes': ['models.Model'], 'methods': [{'name':...
0
{'name': 'main@Tools/RunTests.py', 'description': '===================================================================================================\nPURPOSE: The script aims at testing the given model(s) automatically through command line CopasiSE.\nIt enables one to test the model(s) saved in more than one director...
1
{'name': 'Logger.setStream@local/clogging.py', 'description': 'Pass NULL_STREAM to ignore stream output.', 'signature': 'def setStream(self, stream):'}</s>preferredEncoding = None
0
{'name': 'resnet_v1_generator@resnet.py', 'description': 'Generator for ResNet v1 models.\n\nArgs:\n block_fn: `function` for the block to use within the model. Either\n `residual_block` or `bottleneck_block`.\n layers: list of 4 `int`s denoting the number of blocks to include in each\n of the 4 block groups....
0
{'name': 'split_stdout_lines@mhctools/parsing.py', 'description': 'Given the standard output from NetMHC/NetMHCpan/NetMHCcons tools,\ndrop all {comments, lines of hyphens, empty lines} and split the\nremaining lines by whitespace.', 'signature': 'def split_stdout_lines(stdout):'}</s>{'name': 'parse_netmhciipan_stdout@m...
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': 'Block.AddLine@vimdoc/block.py', 'description': 'Adds a line of text to the block. Paragraph type is auto-determined.', 'signature': 'def AddLine(self, line):'}</s>optional_arg = _DelimitedRegex(r'\[([a-zA-Z_][a-zA-Z0-9_]*(?:\.\.\.)?)\]')
0
{'name': 'train@examples/natural_language/transformers/retrain_distillbert.py', 'description': 'A function that re-trains BERT for sentiment analysis.', 'signature': 'def train(argv=None):'}</s>{'name': 'set_up_environment@path_explain/utils.py', 'description': 'A helper function to set up a tensorflow environment.\n\n...
0
{'name': 'loadFilesFromDisk@FastProject/CLI.py', 'description': 'Loads files from disk into data structures\n\nTypically called before calling Pipelines.Analysis()\n\nParameters\n----------\nargs : dict\n Contains file locations on disk\n\nReturns\n-------\nexpressionMatrix : ExpressionData\nsignatures : list of Sig...
1
{'name': 'import_da@da/api.py', 'description': '**DEPRECATED***\n\nImports DistAlgo module \'module\', returns the module object.\n\nThis function mimics the Python builtin __import__() function for DistAlgo\nmodules. \'name\' is the name of the module to be imported, in\n"dotted module name" format. The module must be...
0
{'name': 'automodsumm_to_autosummary_lines@sphinx_automodapi/automodsumm.py', 'description': 'Generates lines from a file with an "automodsumm" entry suitable for\nfeeding into "autosummary".\n\nSearches the provided file for `automodsumm` directives and returns\na list of lines specifying the `autosummary` commands fo...
1
{'name': 'setup_auth_and_regions@mod_my_cfnstacksets.py', 'description': 'Description: This function takes in a profile, and returns the account object and the regions valid for this account / org.\n@param fProfile: A string representing the profile provided by the user. If nothing, then use the default profile or cred...
0
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'dereference_from@gef.py', 'description': 'DOCSTRING', 'code': 'def dereference_from(address: int) -> list[str]:\n if not is_alive():\n return ...
0
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com...
0
{'name': 'AreaTestCase.test_geometry_collection_area@geojson_area/test.py', 'description': 'Compute the area of a geometry collection', 'signature': 'def test_geometry_collection_area(self):'}</s>{'name': 'area@geojson_area/area/__init__.py', 'description': 'DOCSTRING', 'code': 'def area(geometry):\n\n if isinstance...
1
{'name': 'log_to_csv@versions/speed-cam_12.06.py', 'description': 'Store date to a comma separated value file', 'signature': 'def log_to_csv(data_to_append):'}</s>{'name': 'subDirLatest@versions/speed-cam_12.06.py', 'description': 'Scan for directories and return most recent', 'code': 'def subDirLatest(directory):\n ...
0
{'name': 'TestSession.test_session_refresh@tests/test_session.py', 'description': 'Test if session refreshes after interval', 'signature': 'def test_session_refresh(self):'}</s>BHAVCOPY_BASE_FILENAME = "cm%s%s%sbhav.csv"
0
{'name': 'ref_kite@kb_python/ref.py', 'description': 'Generates files necessary for feature barcoding with the KITE workflow.\n\nArgs:\n feature_path: Path to TSV containing barcodes and feature names\n fasta_path: Path to generate fasta file containing all sequences\n that are 1 hamming distance from the ...
1
{'name': '_init@third_party/libassimp/port/PyAssimp/pyassimp/core.py', 'description': "Custom initialize() for C structs, adds safely accessible member functionality.\n\n:param target: set the object which receive the added methods. Useful when manipulating\npointers, to skip the intermediate 'contents' deferencing.", ...
0
{'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': 'ProcessLine@tools/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 wi...
0
{'name': 'get_daily_urls_to_download@aiopvpc/parser.py', 'description': 'Make URLs for ESIOS price series.', 'signature': 'def get_daily_urls_to_download('}</s>UTC_TZ = zoneinfo.ZoneInfo("UTC")
0
{'name': 'Normal.NLL@metrics/Disentangle/MIG_metric.py', 'description': 'Analytically computes\n E_N(mu_2,sigma_2^2) [ - log N(mu_1, sigma_1^2) ]\nIf mu_2, and sigma_2^2 are not provided, defaults to entropy.', 'signature': 'def NLL(self, params, sample_params=None):'}</s>qz_samples = q_dist.sample(params=qz_params)
0
{'name': 'process_normalized_image@Vision/PID/diagramskill/app/__init__.py', 'description': 'Process Values from request JSON\n\nParameters::\n a(JSON): value -- Value record containing normalized image and bounding box\n b(JSON): results -- Return Values to append\n c(bool) debug -- Flag used to indicate debug (tru...
1
{'name': 'lineno@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Returns current line number within a string, counting newlines as line separators.\nThe first line is number 1.\n\nNote: the default parsing behavior is to expand tabs in the input string\nbefore starting the parsing process. See ...
0
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'fpIsNaN@src/api/python/z3/z3.py', 'de...
0
{'name': 'generate_stps_from_gp@gp_query.py', 'description': "Generates a list of source target pairs from a given graph pattern.\n\nThe given graph pattern is immediately used as sparql query to quickly\ngenerate a list of source target pairs. Possible motivations for this:\n- evaluation: can the algorithm re-discover...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_INQUIRE_TOPIC_STATUS = 183
0
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>{'name': 'hash160@test/functional/test_framework/script.py', 'description': 'DOCSTRING', 'code': "def hash160(s):\n return ha...
0
{'name': 'load_data@dts/datasets/gefcom2014.py', 'description': "Create a split of the data according to the given dimensions for each set.\n:param fill_nan: string that identifies how NaN values should be filled. Options are:\n -bfill: fill NaN value at index i with value at index i-1\n -ffill: fill NaN value at...
1
{'name': 'GeneralMethods.get_cookie_by_selenium@myproxy/spiders/general_methods.py', 'description': '使用 selenium 获取 cookie\n\n:param url: 获取 cookie 的地址\n:return: 返回字符串形式的', 'signature': 'def get_cookie_by_selenium(self, url):'}</s>{'name': 'GeneralMethods@myproxy/spiders/general_methods.py', 'description': 'DOCSTRING',...
1
{'name': 'design_and_init_carfac@python/jax/carfac.py', 'description': "Design and init the CARAFAC model.\n\nArgs:\n params: all the design params. Won't be changed in this function.\n\nReturns:\n Newly created and initialised hypers, trainable weights and state of\n CARFAC model.", 'signature': 'def design_and_ini...
0
{'name': 'Metric.compute_through@metrics.py', 'description': 'Precomputes df -> split df and apply compute() -> postcompute.', 'signature': 'def compute_through(self, df, split_by: Optional[List[Text]] = None):'}</s>{'name': 'apply_name_tmpl@utils.py', 'description': 'Applies name_tmpl to all columns or pd.Series.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': 'loadingList@main.py', 'description': '载入官方列表\n:return:', 'signature': 'def loadingList():'}</s>{'name': 'tablistClick@main.py', 'description': '官方阵容鼠标选中时\n:return:', 'code': "def tablistClick():\n '''\n 官方阵容鼠标选中时\n :return:\n '''\n global dangqianData, spjzFrom, zrzwFrom\n # 取当前选中项\n row ...
0
{'name': 'add_filter@_dbms_/__init__.py', 'description': "Persist a filter from GMail if doesn't already exists locally.\n\nArgs:\n db: Local db connection object.\n filter: GMail filter", 'signature': 'def add_filter(db, filter):'}</s>{'name': 'dbpath_by_token@_dbms_/__init__.py', 'description': 'Returns DB path...
0
{'name': 'GTR._exp_lt@treetime/gtr.py', 'description': 'Parameters\n----------\n\n t : float\n time to propagate\n\nReturns\n--------\n\n exp_lt : numpy.array\n Array of values exp(lambda(i) * t),\n where (i) - alphabet index (the eigenvalue number).', 'signature': 'def _exp_lt(self, t):'}</s>VERBOSE = 3
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': 'run_to_breakpoint_make_target@ll...
0
{'name': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'gef_next_instruction@gef.py', 'description': 'Return the next instruction as an Instruction object.', 'code': 'def gef_next_ins...
0
{'name': 'make_circle_obj@marching_cubes_3d.py', 'description': 'Writes an obj file containing a sphere meshed via marching cubes', 'signature': 'def make_circle_obj(filename):'}</s>ZMAX = 3
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQXCC_CLOSE_CHANNEL = py23long(-6)
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': 'download@Data/rda.ucar/rdams_client.py', 'description': 'Download files given request Index\n\nArgs:\n request_idx (str): Request Index, typically a 6-digit integer.\n\nReturns:\n None', 'signature': "def download(request_idx, out_dir='./'):"}</s>{'name': 'get_parser@Data/rda.ucar/rdams_client.py', 'des...
0
{'name': 'OIDCAuthentication.valid_access_token@src/flask_pyoidc/flask_pyoidc.py', 'description': 'Returns a valid access token.\n\n1. If the current access token in the user session is valid, return that.\n2. If the current access token has expired and there is a refresh token in the user session,\n make a refresh t...
0
{'name': 'Grid.face_node_connectivity@uxarray/grid/grid.py', 'description': 'Indices of the nodes that make up each face.\n\nDimensions: ``(n_face, n_max_face_nodes)``\n\nNodes are in counter-clockwise order.', 'signature': 'def face_node_connectivity(self) -> xr.DataArray:'}</s>{'name': '_populate_antimeridian_face_in...
0
{'name': 'XMLDump.finish@TDScanner/sqlmap/lib/core/xmldump.py', 'description': 'Finishes the dumper operation:\n1. Adds the session status to the xml\n2. Writes the xml to the file\n3. Closes the xml file', 'signature': 'def finish(self, resultStatus, resultMsg=""):'}</s>DB_TABLE_VALUES_ELEM_NAME = "DBTableValues"
0
{'name': 'level_successors_padded@vamb/hloss_misc.py', 'description': 'Returns the list of parents and their children at each depth.', 'signature': 'def level_successors_padded('}</s>{'name': 'find_subset_index@vamb/hloss_misc.py', 'description': 'Returns index of subset elements in base list (injective map).', 'code':...
0
{'name': '_node2vec_walks_with_rejective_sampling@csrgraph/numba_backend/random_walks.py', 'description': "Create biased random walks from the transition matrix of a graph \n in CSR sparse format. Bias method comes from Node2Vec paper.\n\nRejective sampling implementation comes from https://github.com/louisabraham/f...
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>MQIAMO_SETS_FAILED = 753
0
{'name': 'RestoreOs._create_image@freezer/openstack/restore.py', 'description': ':param path:\n:param restore_from_timestamp:\n:type restore_from_timestamp: int\n:return:', 'signature': 'def _create_image(self, path, restore_from_timestamp):'}</s>{'name': 'create_dir@freezer/utils/utils.py', 'description': "Creates a d...
0
{'name': 'merge@linopy/expressions.py', 'description': 'Merge multiple expression together.\n\nThis function is a bit faster than summing over multiple linear expressions.\nIn case a list of LinearExpression with exactly the same shape is passed\nand the dimension to concatenate on is TERM_DIM, the concatenation uses\n...
0
{'name': 'RobotFileParser.can_fetch@src/future/backports/urllib/robotparser.py', 'description': 'using the parsed robots.txt decide if useragent can fetch url', 'signature': 'def can_fetch(self, useragent, url):'}</s>_valueprog = None
0
{'name': 'batch_mlp@tf_utils.py', 'description': ':param h: batch * pair * 2k\n:param num_pairs:\n:param init:\n:param net_sizes:\n:param net_acts:\n:param net_keeps:\n:param add_bias\n:return:', 'signature': 'def batch_mlp(h, node_in, num_pairs, init, net_sizes, net_acts, net_keeps, add_bias=True,'}</s>{'name': 'add_n...
0
{'name': 'parsemakesyntax@build/pymake/pymake/parser.py', 'description': 'Given Data, parse it into a data.Expansion.\n\n@param stopon (sequence)\n Indicate characters where toplevel parsing should stop.\n\n@param iterfunc (generator function)\n A function which is used to iterate over d, yielding (char, offset, ...
0
{'name': 'main@baselines/seq2seq_attention_copy/bin/tools/profile.py', 'description': 'Main functions. Runs all anaylses.', 'signature': 'def main(_argv):'}</s>FLAGS = tf.flags.FLAGS
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': '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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_CERT_LABEL_NOT_ALLOWED = 3371
0
{'name': '_clean_up_temporary_files@slim/datasets/download_and_convert_mnist.py', 'description': 'Removes temporary files used to create the dataset.\n\nArgs:\n dataset_dir: The directory where the temporary files are stored.', 'signature': 'def _clean_up_temporary_files(dataset_dir):'}</s>VALIDATION_DIR = DATA_DIR + ...
0
{'name': 'compile@mako/codegen.py', 'description': 'Generate module source code given a parsetree node,\nuri, and optional source filename', 'signature': 'def compile(node,'}</s>MAGIC_NUMBER = 10
0
{'name': 'quarter_and_year@gnocchi/calendar.py', 'description': 'Return the quarter per year of given dates.', 'signature': 'def quarter_and_year(datetimes):'}</s>{'name': 'half_of_year@gnocchi/calendar.py', 'description': 'Return the half of the year of given dates.', 'code': 'def half_of_year(datetimes):\n """Retu...
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': 'ReplaceByFeeTest.test_new_unconfirmed_inputs@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that add new unconfirmed inputs are rejected', 'signature': 'def test_new_unconfirmed_inputs(self):'}</s>OP_IF = CScriptOp(0x63)
0
{'name': 'make_shell_context@app/manage.py', 'description': 'Create a python REPL with several default imports\nin the context of the app', 'signature': 'def make_shell_context():'}</s>{'name': 'drop_db@app/manage.py', 'description': 'Drop all database', 'code': 'def drop_db():\n """Drop all database"""\n if prom...
0
{'name': 'test_create_with_duplicate_dimensions@unyt/tests/test_units.py', 'description': 'Create units with overlapping dimensions. Ex: km/Mpc.', 'signature': 'def test_create_with_duplicate_dimensions():'}</s>{'name': 'test_create_fail_on_dimensions_content@unyt/tests/test_units.py', 'description': 'Fail to create un...
0
{'name': 'FffYmltoCFsConv.fff_yml_2_tree@Utilities/fineFileFramework/source/fine_file_framework/template/fffyml2c.py', 'description': 'yml scanner entry', 'signature': "def fff_yml_2_tree(self, data, path='', level=0):"}</s>{'name': 'FffFolderAttrib@Utilities/fineFileFramework/source/fine_file_framework/template/fffyml...
1
{'name': 'mulaw@utils/audio.py', 'description': 'Mu-Law companding\nMethod described in paper [1]_.\n.. math::\n f(x) = sign(x) ln (1 + mu |x|) / ln (1 + mu)\nArgs:\n x (array-like): Input signal. Each value of input signal must be in\n range of [-1, 1].\n mu (number): Compression parameter ``μ``.\nReturn...
0
{'name': 'apply_styling@jupyter_sphinx/ast.py', 'description': 'Change the cell node appearance, according to its settings.', 'signature': 'def apply_styling(node, thebe_config):'}</s>{'name': 'CellOutputNode@jupyter_sphinx/ast.py', 'description': 'Represent an output cell in the Sphinx AST.', 'base_classes': ['docutil...
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': 'S2V_Tests.test2@blockchain-env/lib/python3.7/site-packages/Cryptodome/SelfTest/Protocol/test_KDF.py', 'description': 'Verify that no more than 127(AES) and 63(TDES)\ncomponents are accepted.', 'signature': 'def test2(self):'}</s>block_size = 64
1
{'name': 'Risk_Margin@riskfolio/src/RiskFunctions.py', 'description': "Calculate the risk margin for each asset based on the risk measure\nselected.\n\nParameters\n----------\nw : DataFrame or Series of shape (n_assets, 1)\n Portfolio weights, where n_assets is the number of assets.\nreturns : DataFrame or nd-array ...
0
{'name': 'Worker.rollout@code/ars.py', 'description': 'test the transition matrix M by process several rollouts\n:return: mean rewards, states statistics (n, mean, var)', 'signature': 'def rollout(self):'}</s>RESULT_DIR = "../result"
0
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_shapeintparam...
0
{'name': 'I2CDriver.capture_start@python/i2cdriver.py', 'description': 'Enter I2C capture mode, capturing I2C transactions.\n:param idle: If ``True`` the generator returns ``None`` when the bus is idle. If ``False`` the generator does nothing during bus idle.\n\n:return: a generator which returns an object for each I2C...
1
{'name': 'TransformerModel.build_model@fairseq_deen_ende/fairseq/models/transformer.py', 'description': 'Build a new model instance.', 'signature': 'def build_model(cls, args, task):'}</s>{'name': 'eval_str_list@fairseq_deen_ende/fairseq/options.py', 'description': 'DOCSTRING', 'code': 'def eval_str_list(x, type=float)...
0
{'name': 'Record.body_string@shingetsu/cache.py', 'description': 'Remove attach field.', 'signature': 'def body_string(self):'}</s>enable2ch = _get_value(_extconf, 'Gateway', 'enable_2ch', False, 'boolean')
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': '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>ROI_SCA...
1
{'name': '__get_system_datadir@rclip/utils/helpers.py', 'description': 'Returns a parent directory path\nwhere persistent application data can be stored.\n\n- linux: ~/.local/share\n- macOS: ~/Library/Application Support\n- windows: C:/Users/<USER>/AppData/Roaming', 'signature': 'def __get_system_datadir() -> pathlib.P...
0
{'name': 'parse_meta_staff_elem@muspy/inputs/musescore.py', 'description': 'Return data parsed from a meta staff element.\n\nThis function only parses the tempos, key and time signatures. Use\n`parse_staff_elem` to parse the notes and lyrics.', 'signature': 'def parse_meta_staff_elem('}</s>{'name': '_get_required_attr@...
0
{'name': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'TraceRunCommand@gef.py', 'description': 'Create a runtime trace of all instructions executed from $pc to LOCATION specified. Th...
0
{'name': 'build_datetime@yaql/standard_library/date_time.py', 'description': ':yaql:datetime\n\nReturns datetime object built on year, month, day, hour, minute, second,\nmicrosecond, offset.\n\n:signature: datetime(year, month, day, hour => 0, minute => 0, second => 0,\n microsecond => 0, offset => ...
0
{'name': 'TLP.unpack@fpga/lib/pcie/tb/pcie.py', 'description': 'Unpack TLP from DWORD array', 'signature': 'def unpack(self, pkt):'}</s>TLP_PREFIX_VENDOR_E1 = (FMT_TLP_PREFIX, 0x1F)
0
{'name': 'test_get_products@warehouse/tests/unit/test_on_order_events.py', 'description': 'Test get_products()', 'signature': 'def test_get_products(lambda_module, order, order_products):'}</s>{'name': 'test_get_products_next@warehouse/tests/unit/test_on_order_events.py', 'description': 'Test get_products() with a Last...
0
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>UInt32Sizer = _SimpleSizer(_VarintSize)
0
{'name': 'attrs@vendor/attr/_make.py', 'description': 'A class decorator that adds `dunder\n<https://wiki.python.org/moin/DunderAlias>`_\\ -methods according to the\nspecified attributes using `attr.ib` or the *these* argument.\n\n:param these: A dictionary of name to `attr.ib` mappings. This is\n useful to avoid t...
0
{'name': 'document@llvm-12.0.0-project/clang/tools/scan-build-py/libscanbuild/report.py', 'description': 'Generates cover report and returns the number of bugs/crashes. ', 'signature': 'def document(args):'}</s>{'name': 'assemble_cover@llvm-12.0.0-project/clang/tools/scan-build-py/libscanbuild/report.py', 'description'...
1
{'name': 'process_log@tools/warn/warn_common.py', 'description': 'Function that handles processing of a log.\n\nThis is isolated into its own function (rather than just taking place in main)\nso that it can be used by both warn.py and the borg job process_gs_logs.py, to\navoid duplication of code.\nNote that if the arg...
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': 'CaaRecord@infoblox_client/objects.py', 'description': 'CaaRecord: DNS CAA rec...
0