text string | label int64 |
|---|---|
{'name': 'ErbLexer.get_tokens_unprocessed@lib/pygments/lexers/templates.py', 'description': 'Since ERB doesn\'t allow "<%" and other tags inside of ruby\nblocks we have to use a split approach here that fails for\nthat too.', 'signature': 'def get_tokens_unprocessed(self, text):'}</s>{'name': 'XmlDjangoLexer@lib/pygmen... | 0 |
{'name': 'BinaryNinjaBasicBlockCoverage._get_disassembly_info@s2e_env/commands/code_coverage/binaryninja_basic_block.py', 'description': 'Extract disassembly information from the target binary using Binary\nNinja.', 'signature': 'def _get_disassembly_info(self, module_path):'}</s>{'name': 'CommandError@s2e_env/command.... | 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': 'IUController.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the controller', 'signature': 'def load(self, config: OrderedDict) -> "IUController":'}</s>{'name': 'IUAdjustment@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'descriptio... | 0 |
{'name': 'diff_entire_folder_against_full_history_subcommand@ascmhl/commands.py', 'description': 'Checks MHL hashes from all generations against all file hash entries.\n\nROOT_PATH: the root path to use for the asc mhl history\n\nTraverses through the content of a folder. The command finds all files that are existent i... | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_MQCB_OPERATION = 1362 | 0 |
{'name': 'fsn2text@Monika After Story/game/python-packages/mutagen/_senf/_fsnative.py', 'description': 'Args:\n path (fsnative): The path to convert\n strict (bool): Fail in case the conversion is not reversible\nReturns:\n `text`\nRaises:\n TypeError: In case no `fsnative` has been passed\n ValueError: ... | 0 |
{'name': 'assert_content_equals_array@tests/test_algorithms.py', 'description': 'Assert that the result is an Arrow structure and the content matches an array.', 'signature': 'def assert_content_equals_array(result, expected):'}</s>{'name': 'test_vector64_auto@tests/test_algorithms.py', 'description': 'DOCSTRING', 'cod... | 0 |
{'name': 'SubType.__init__@tools/system_design/xmlparser/type.py', 'description': 'Constructor\n\nKeyword Arguments:\nvalue -- type name\ntypes -- list of all available types', 'signature': 'def __init__(self, value, types):'}</s>{'name': 'Struct@tools/system_design/xmlparser/type.py', 'description': 'Representatio... | 0 |
{'name': 'main@baselines/seq2seq_attention_copy/bin/tools/profile.py', 'description': 'Main functions. Runs all anaylses.', 'signature': 'def main(_argv):'}</s>{'name': 'param_analysis_options@baselines/seq2seq_attention_copy/bin/tools/profile.py', 'description': 'Options for model parameter analysis\n ', 'code': 'def... | 1 |
{'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': 'ModelWrapper.val_dataloader@packnet_sfm/models/model_wrapper.py', 'description': 'Prepare validation dataloader.', 'signature': 'def val_dataloader(self):'}</s>{'name': 'setup_depth_net@packnet_sfm/models/model_wrapper.py', 'description': 'Create a depth network\n\nParameters\n----------\nconfig : CfgNode\n ... | 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': 'extract_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def extract_kalman_boxes(dataset_test, net, rpn_conf, test_path, data_folder):'}</s>{'name': 'imzoom@lib/util.py', 'description': 'DOCSTRING', 'code': 'def imzoom(im, zoom=0):\n\n # si... | 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': '_options_to_dict@src/wagtailmarkdown/mdx/inlinepatterns.py', 'description': 'Takes a "key=value,key2=value2" string and converts it to a dict', 'signature': 'def _options_to_dict(value: str) -> dict:'}</s>{'name': 'LinkExtension@src/wagtailmarkdown/mdx/inlinepatterns.py', 'description': 'DOCSTRING', 'base_cla... | 0 |
{'name': 'TestSanitizeTxData.test_no_combine_with_fee@tests/test_transaction.py', 'description': 'Verify that unused unspents do not increase fee.', 'signature': 'def test_no_combine_with_fee(self):'}</s>FINAL_TX_RBF = "02000000000102a98d0073d91755d4546b9333f9e72fec479213837b55c83bce880c4a61878b5d0000000000fdffffffb8b4... | 0 |
{'name': 'ParametricOperatorTemplate.verify@src/opinf/operators/_base.py', 'description': 'Verify dimension attributes and :meth:`evaluate()`.\n\nParameters\n----------\ntestparam : (p,) ndarray or None\n Test parameter at which to evaluate the operator.\n If ``None`` (default), draw test parameter entries from t... | 0 |
{'name': 'main@components/create_swagger_config.py', 'description': 'Main method for create_swagger_config executable.', 'signature': 'def main():'}</s>{'name': 'resolve_schema_issues@components/create_swagger_config.py', 'description': 'Correct invalid PAPI schemas.', 'code': 'def resolve_schema_issues(definition_name... | 0 |
{'name': 'test_multiple_backends_https_h1@test/integration/test_integration_basics.py', 'description': 'Test that we can load-test multiple backends on https.\n\nRuns the CLI configured to use HTTP/1 with TLS against multiple test servers, and sanity\nchecks statistics from both client and server.', 'signature': 'def t... | 1 |
{'name': 'PerspectiveProjection.__init__@habitat_baselines/common/obs_transformers.py', 'description': 'Args:\nimg_h: (int) the height of camera image\nimg_w: (int) the width of camera image\nf: (float) the focal length of camera\nR: (torch.Tensor) 3x3 rotation matrix of camera', 'signature': 'def __init__('}</s>{'name... | 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>MQCIT_MULTICAST = 1 | 0 |
{'name': 'FileInfo.BaseName@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'File base name - text after the final slash, before the final period.', 'signature': 'def BaseName(self):'}</s>{'name': '_ShouldPrintError@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'If confidence >= verbose, category pass... | 0 |
{'name': 'model_average@examples/estimator_suite.py', 'description': 'Run ModelAverage in default mode (QuicGraphicalLassoCV) to obtain proportion\nmatrix.\n\nNOTE: This returns precision_ proportions, not cov, prec estimates, so we\n return the raw proportions for "cov" and the threshold support\n estimat... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_CF_STRUC_ENTRIES_USED = 1143 | 0 |
{'name': 'RemoteDetail.patch@tests/fiddle-flask-rest.py', 'description': 'Update an item given its name', 'signature': 'def patch(self, name):'}</s>{'name': 'rte_root@tests/fiddle-flask-rest.py', 'description': 'DOCSTRING', 'code': 'def rte_root():\n return jsonify({"description":"d6tpipe API","version":1.0})'} | 0 |
{'name': 'create_run_container_task@vulfocus-api/tasks/tasks.py', 'description': '创建运行容器任务\n:param container_vul: 漏洞容器对象\n:param user_info: 用户信息', 'signature': 'def create_run_container_task(container_vul, user_info):'}</s>{'name': 'create_image@vulfocus-api/tasks/tasks.py', 'description': '创建镜像名称', 'code': 'def create... | 0 |
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ... | 0 |
{'name': 'BaseTestKeyMapping.test_accuracy@tests/test_mapping.py', 'description': 'Test the mapping on a large range of relative accuracies', 'signature': 'def test_accuracy(self):'}</s>{'name': '_cbrt@ddsketch/mapping.py', 'description': 'DOCSTRING', 'code': 'def _cbrt(x):\n # type: (float) -> float\n y = float(... | 0 |
{'name': 'parseOptionsAndInitTestdirs@llvm-12.0.0-project/lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}... | 0 |
{'name': 'on_shutdown_pi@src/server/server.py', 'description': 'Shutdown the raspberry pi.', 'signature': 'def on_shutdown_pi(*args):'}</s>{'name': 'on_duplicate_race_class@src/server/server.py', 'description': 'Adds new race class by duplicating an existing one.', 'code': "def on_duplicate_race_class(data):\n '''Ad... | 0 |
{'name': 'FrameRecord.get_link_urls@disdat/hyperframe.py', 'description': 'Assuming a link FrameRecord, return all the URLs in the frame\n\nReturns:\n (:list:str): An ordered set of link URLs', 'signature': 'def get_link_urls(self):'}</s>{'name': 'BadLinkError@disdat/common.py', 'description': 'DOCSTRING', 'base_cl... | 0 |
{'name': 'Helpfile.WriteRow@vimdoc/output.py', 'description': 'Writes a horizontal divider row.', 'signature': 'def WriteRow(self):'}</s>{'name': 'OrderedChildSections@vimdoc/error.py', 'description': 'DOCSTRING', 'base_classes': ['BadStructure'], 'methods': [{'name': 'OrderedChildSections.__init__@vimdoc/error.py', 'd... | 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>MQXPT_DECNET = 5 | 0 |
{'name': 'makefigure@bdpy/fig/fig.py', 'description': 'Create a figure', 'signature': "def makefigure(figtype='a4landscape'):"}</s>{'name': 'draw_footnote@bdpy/fig/fig.py', 'description': 'Draw footnote on a figure', 'code': "def draw_footnote(fig, string, fontsize=9):\n '''Draw footnote on a figure'''\n ax = fig... | 0 |
{'name': 'RIPPER.score@wittgenstein/ripper.py', 'description': "Score the performance of a fit model.\n\nX : DataFrame, numpy array, or other iterable\n Examples to score.\ny : Series, numpy array, or other iterable\n Class label actuals.\n\nscore_function : function, default=score_accuracy\n Any scoring funct... | 0 |
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>ICMP6_WRUREPLY = 140 | 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': 'ProcessLine@third_party/cpplint/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n ... | 0 |
{'name': 'divisible_shape@dpipe/predict/shape.py', 'description': 'Pads an incoming array to be divisible by ``divisor`` along the ``axes``. Afterwards the padding is removed.\n\nParameters\n----------\ndivisor\n a value an incoming array should be divisible by.\naxis\n axes along which the array will be padded. ... | 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': 'set_platform_directories@python-build-with-qt/sip-4.11.2/configure.py', 'description': 'Initialise the global variables relating to platform specific\ndirectories.', 'signature': 'def set_platform_directories():'}</s>plat_bin_dir = None | 1 |
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'safe_hasattr@fairseq/utils.py', 'description': 'Returns True if the given key exists and is not None.', 'code': 'def safe_hasattr(obj, k):\n """Ret... | 0 |
{'name': 'run_doxygen@scripts/docs/api_docgen/system_commands.py', 'description': 'Run Doxygen to generate documentation metadata', 'signature': 'def run_doxygen():'}</s>OCCA_DIR = os.environ.get(
'OCCA_DIR',
os.path.abspath(
os.path.join(os.path.dirname(__file__), '../../..')
)
) | 1 |
{'name': 'is_remote_a_wordpress@plecost_lib/libs/helpers.py', 'description': 'This functions checks if remote host contains a WordPress installation.\n\n:param base_url: Base url\n:type base_url: basestring\n\n:param error_page: error page content\n:type error_page: basestring\n\n:param downloader: download function. T... | 0 |
{'name': 'SupportsCredentialsCase.test_credentials_supported@tests/decorator/test_private_network_headers.py', 'description': 'The specified route should return the\nAccess-Control-Allow-Credentials header.', 'signature': 'def test_credentials_supported(self):'}</s>{'name': 'serialize_options@flask_cors/core.py', 'desc... | 0 |
{'name': 'MarketstoreStub.__init__@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>CreateRequest = _reflection.GeneratedProtocolMessageType('CreateRequest', (_message.Message,), {
'DESCRIPTOR' : _CREATE... | 0 |
{'name': '_net_interface_type@kayobe/plugins/filter/networks.py', 'description': "Return a string describing the network interface type.\n\nPossible types include 'ether', 'bridge', 'bond'.", 'signature': 'def _net_interface_type(context, name, inventory_hostname):'}</s>{'name': 'net_select_bridges@kayobe/plugins/filte... | 0 |
{'name': 'xldate_as_datetime@IDE/src/main/resources/Lib/xlrd/xldate.py', 'description': 'Convert an Excel date/time number into a :class:`datetime.datetime` object.\n\n:param xldate: The Excel number\n:param datemode: 0: 1900-based, 1: 1904-based.\n\n:returns: A :class:`datetime.datetime` object.', 'signature': 'def xl... | 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': 'html_escape@src/back/kite/bottle.py', 'description': 'Escape HTML special characters ``&<>`` and quotes ``\'"``. ', 'signature': 'def html_escape(string):'}</s>{'name': 'TornadoServer@src/back/kite/bottle.py', 'description': 'The super hyped asynchronous server by facebook. Untested. ', 'base_classes': ['Serv... | 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': 'read_fixed_fmt@meza/io.py', 'description': "Reads a fixed-width csv file.\n\nArgs:\n filepath (str): The fixed width formatted file path or file like object.\n widths (List[int]): The zero-based 'start' position of each column.\n mode (Optional[str]): The file open mode (default: 'r').\n kwargs (d... | 0 |
{'name': 'CheckBraces@tools/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of 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 call with any errors fou... | 0 |
{'name': 'nestedExpr@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and\nclosing delimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list\n (default= ``"("``); can also ... | 0 |
{'name': 'read_table@bioframe/io/fileops.py', 'description': 'Read a tab-delimited file into a data frame.\n\nEquivalent to :func:`pandas.read_table` but supports an additional\n`schema` argument to populate column names for common genomic formats.\n\nParameters\n----------\nfilepath_or : str, path object or file-like ... | 0 |
{'name': 'Parser._parse@util/py_lib/pyratemp.py', 'description': 'Recursive part of `parse()`.\n\n:Parameters:\n - template\n - fpos: position of ``template`` in the complete template (for error-messages)', 'signature': 'def _parse(self, template, fpos=0):'}</s>{'name': 'EvalPseudoSandbox@util/py_lib/pyratemp.py'... | 0 |
{'name': 'IDispatch.Invoke@comtypes/automation.py', 'description': 'Invoke a method or property.', 'signature': 'def Invoke(self, dispid: int, *args: Any, **kw: Any) -> Any:'}</s>VT_UI1 = 17 | 0 |
{'name': 'guess_lexer@lib/pygments/lexers/__init__.py', 'description': 'Guess a lexer by strong distinctions in the text (eg, shebang).', 'signature': 'def guess_lexer(_text, **options):'}</s>oldmod = sys.modules['pygments.lexers'] | 0 |
{'name': 'DonutModel.unload@loudml/donut.py', 'description': 'Unload current model', 'signature': 'def unload(self):'}</s>{'name': 'Url@loudml/schemas.py', 'description': 'Validate an URL.', 'base_classes': [], 'methods': [{'name': 'Url.__init__@loudml/schemas.py', 'description': 'DOCSTRING', 'code': 'def __init__(self... | 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>OP_LEFT = CScriptOp(0x80) | 0 |
{'name': 'head@advocate/api.py', 'description': 'Sends a HEAD request.\n\n:param url: URL for the new :class:`Request` object.\n:param \\*\\*kwargs: Optional arguments that ``request`` takes.\n:return: :class:`Response <Response>` object\n:rtype: requests.Response', 'signature': 'def head(url, **kwargs):'}</s>{'name': ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQTYPE_INT32 = 64 | 0 |
{'name': 'NewDatabase.write_superstructure_db_to_brightway@premise/new_database.py', 'description': 'Register a super-structure database,\naccording to https://github.com/dgdekoning/brightway-superstructure\n:param name: name of the super-structure database\n:param filepath: filepath of the "scenarios difference file"\... | 1 |
{'name': 'parse_content_transfer_encoding_header@src/future/backports/email/_header_value_parser.py', 'description': 'mechanism\n\n ', 'signature': 'def parse_content_transfer_encoding_header(value):'}</s>COMMASPACE = ", " | 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': 'Input.get_fields@verif/input.py', 'description': 'Get the available fields in this input\n\nReturns:\n list(verif.field): The available fields', 'signature': 'def get_fields(self):'}</s>{'name': 'get_threshold_string@verif/util.py', 'description': 'DOCSTRING', 'code': 'def get_threshold_string(bin_type):\n ... | 0 |
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>LJE_STREAM_IS_ACTIVE = 25 | 0 |
{'name': 'create_estimator_and_inputs@object_detection/model_lib.py', 'description': "Creates `Estimator`, input functions, and steps.\n\nArgs:\n run_config: A `RunConfig`.\n hparams: A `HParams`.\n pipeline_config_path: A path to a pipeline config file.\n config_override: A pipeline_pb2.TrainEvalPipelineConfig tex... | 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': 'test_image_upgrade_01010@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade.py', 'description': '### Classes and Methods\n- ``ImageUpgrade``\n - ``commit``\n\n### Test\n\n- ``upgrade.nxos`` set to invalid value\n\n### Setup\n\n- ``devices`` is set to a list of one dict for a device t... | 0 |
{'name': '_fit@diffxpy/testing/tests.py', 'description': ':param noise_model: str, noise model to use in model-based unit_test. Possible options:\n\n - \'nb\': default\n:param design_loc: Design matrix of location model.\n:param design_loc: Design matrix of scale model.\n:param constraints_loc: : Constraints for loc... | 0 |
{'name': 'checkVectorList@src/python/Optizelle/Properties.py', 'description': 'Checks that an input is a list', 'signature': 'def checkVectorList(name,value):'}</s>{'name': 'checkFunction@src/python/Optizelle/Properties.py', 'description': 'Checks that an input is a function', 'code': 'def checkFunction(name,value):\n ... | 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>RECORDER_DRAW_INDEXED_INDIRECT = 5 | 0 |
{'name': 'REP.__init__@rep0/rep.py', 'description': 'Init object from an open REP file object.', 'signature': 'def __init__(self, rep_file):'}</s>{'name': 'REP@rep0/rep.py', 'description': "Representation of REPs.\n\nAttributes:\n\n + number : int\n REP number.\n\n + title : str\n REP title.\n\n ... | 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>{'name': 'update_svars_from_special@src/python_scripts/afnipy/lib_uber_subject.py', 'description': 'in special cases, a spec... | 0 |
{'name': 'TestRegression.test_fancy_output@tests/test_regression.py', 'description': 'Test the descriptive statistics output in the results file for a regressor.', 'signature': 'def test_fancy_output(self):'}</s>config_dir = tests_dir / "configs" | 1 |
{'name': 'parse@SneakerBot 2019/venv/lib/python3.7/site-packages/cssselect/parser.py', 'description': "Parse a CSS *group of selectors*.\n\nIf you don't care about pseudo-elements or selector specificity,\nyou can skip this and use :meth:`~GenericTranslator.css_to_xpath`.\n\n:param css:\n A *group of selectors* as a... | 0 |
{'name': 'BaseCheckTypesTestCase.test_base_check_types_are_public@oslo_policy/tests/test_policy.py', 'description': 'Check that those check types are part of public API.\n\nThey are blessed to be used by library consumers.', 'signature': 'def test_base_check_types_are_public(self):'}</s>{'name': 'BaseCheck@oslo_policy/... | 0 |
{'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': 'train@latent_rationale/snli/train.py', 'description': 'Main SNLI training loop.', 'signature': 'def train():'}</s>{'name': 'make_kv_string@latent_rationale/common/util.py', 'description': 'DOCSTRING', 'code': 'def make_kv_string(d):\n out = []\n for k, v in d.items():\n if isinstance(v, float):\n... | 1 |
{'name': 'validate_security_groups@verify_security_groups.py', 'description': 'Validate the security groups by printing them out.\n\nArgs:\n matching_entries (List[Dict[str, Any]]): A list of dictionaries representing the matching CSV entries.\nReturns:\n List of everything we validated\nRaises:\n ... | 0 |
{'name': 'api_probes_avail@GeoHealthCheck/app.py', 'description': 'Get available (configured) Probes for this\ninstallation, optional for resource type', 'signature': 'def api_probes_avail(resource_type=None, resource_id=None):'}</s>{'name': 'test@GeoHealthCheck/app.py', 'description': 'test a resource', 'code': 'def t... | 0 |
{'name': 'make_app@cesium_app/app_server.py', 'description': "Create and return a `tornado.web.Application` object with specified\nhandlers and settings.\n\nParameters\n----------\ncfg : Config\n Loaded configuration. Can be specified with '--config'\n (multiple uses allowed).\nbaselayer_handlers : list\n Tor... | 1 |
{'name': 'AGraph.layout@pygraphviz/agraph.py', 'description': 'Assign positions to nodes in graph.\n\n.. caution:: EXPERIMENTAL\n\nThis version of the layout command uses libgvc for layout instead\nof command line GraphViz tools like in versions <1.6 and the default.\n\nOptional prog=[\'neato\'|\'dot\'|\'twopi\'|\'circ... | 0 |
{'name': 'RerankingParser.parse_constrained@python/bllipparser/RerankingParser.py', 'description': "Parse pre-tokenized text with part of speech and/or phrasal\nconstraints. Constraints is a dictionary of\n\n {(start, end): [terms]}\n\nwhich represents the constraint that all spans between [start,end)\nmust be one o... | 1 |
{'name': 'upload@flickr_api/upload.py', 'description': 'Authentication:\n\n This method requires authentication with \'write\' permission.\n\nArguments:\n photo_file\n The file to upload.\n title (optional)\n The title of the photo.\n description (optional)\n A description of the photo.... | 1 |
{'name': 'resnet18@siim_acr/src/layers/backbone/resnet.py', 'description': 'Constructs a ResNet-18 model.\n\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': 'def resnet18(pretrained=False, **kwargs):'}</s>{'name': 'Bottleneck@siim_acr/src/layers/backbone/resnet.py', 'descri... | 0 |
{'name': 'answer_question@server.py', 'description': ' Will get entities for the question.\n Generate subgraph\n Run corechain and aux predictions\n\n\n:param question: str: intended question to answer\n:return:', 'signature': 'def answer_question(question, entities=None):'}</s>GET_ENTITIES_OF_CLASS = "SELECT ... | 0 |
{'name': 'generate_difference_report@llvm-12.0.0-project/libcxx/utils/google-benchmark/tools/gbench/report.py', 'description': "Calculate and report the difference between each test of two benchmarks\nruns specified as 'json1' and 'json2'.", 'signature': 'def generate_difference_report('}</s>{'name': 'print_utest@llvm-... | 1 |
{'name': '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(tmpdir, allow_ips, connect_to, addresses, expected):'}</s>STATE... | 0 |
{'name': 'OAuth2Credentials.authorize@third_party/oauth2client/client.py', 'description': "Authorize an httplib2.Http instance with these credentials.\n\nThe modified http.request method will add authentication headers to each\nrequest and will refresh access_tokens when a 401 is received on a\nrequest. In addition the... | 0 |
{'name': 'smooth2d@src/erinn/simpeg_extended/random_model.py', 'description': 'Smooth 2d array using moving average.\n\nParameters\n----------\narr : array_like\n\nkernel_shape : sequence of ints\n\nReturns\n-------\narr : numpy.ndarray', 'signature': 'def smooth2d(arr: np.ndarray, kernel_shape: tuple) -> np.ndarray:'}... | 0 |
{'name': 'get_frame@asynq/debug.py', 'description': 'Given a generator, returns its current frame.', 'signature': 'def get_frame(generator):'}</s>{'name': 'DUMP_ALL@asynq/debug.py', 'description': 'DOCSTRING', 'code': 'def DUMP_ALL(value=None):\n return options.DUMP_ALL(value)'} | 0 |
{'name': 'writePreamble@cxxtest/cxxtestgen.py', 'description': 'Write the CxxTest header (#includes and #defines)', 'signature': 'def writePreamble( output ):'}</s>{'name': 'scanLineForExceptionHandling@cxxtest/cxxtestgen.py', 'description': 'Check if current line uses exception handling', 'code': "def scanLineForExcep... | 0 |
{'name': 'extract_spoes@examples/task_relation_extraction.py', 'description': '抽取输入text所包含的三元组\n ', 'signature': 'def extract_spoes(text):'}</s>subject = Lambda(extract_subject)([output, subject_ids]) | 1 |
{'name': 'rmtree@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/_backport/shutil.py', 'description': 'Recursively delete a directory tree.\n\nIf ignore_errors is set, errors are ignored; otherwise, if onerror\nis set, it is called to handle the error with arguments (func,\npath, exc_info) where func is... | 0 |
{'name': 'BaseImage.convex_hull@wand/image.py', 'description': "Find the smallest convex polygon, and returns a list of points.\n\n.. note:: Requires ImageMagick-7.0.10 or greater.\n\nYou can pass the list of points directly to\n:meth:`Drawing.polygon() <wand.drawing.Drawing.polygon>` method\nto draw the convex hull sh... | 0 |
{'name': 'TestFolium.test_choropleth_geopandas_str@tests/test_folium.py', 'description': 'Test to make sure that Choropleth function does complete the lookup\nbetween a GeoJSON generated from a GeoDataFrame and data from a DataFrame.\n\nkey_on field and column 0 from data are both strings.\nAll geometries have matching... | 1 |
{'name': 'normalize_prevalence@quapy/functional.py', 'description': "Normalizes a vector or matrix of prevalence values. The normalization consists of applying a L1 normalization in\ncases in which the prevalence values are not all-zeros, and to convert the prevalence values into `1/n_classes` in\ncases in which all va... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.