text
string
label
int64
{'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': 'CalculateNumRotatableBonds@scopy/ScoDruglikeness/molproperty.py', 'description': 'Calculation of the number of rotatableBonds\n--->nRot\n\nNote:\n In some situaion Amide C-N bonds are not considered \n because of their high rotational energy barrier\n\n:param mol: molecule\n:type mol: rdkit.Chem.rdchem....
0
{'name': 'TestRemoveDeclaration.testNotRemoved@src/tests/testXmlEncodingDecode.py', 'description': "Make sure that invalid, or missing, declarations aren't affected.", 'signature': 'def testNotRemoved(self):'}</s>{'name': 'ValidURI@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['ValidValue'...
0
{'name': 'crnnSource@crnn/crnn_torch.py', 'description': '加载模型', 'signature': 'def crnnSource():'}</s>{'name': 'CRNN@crnn/network_torch.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], 'methods': [{'name': 'CRNN.__init__@crnn/network_torch.py', 'description': '是否加入lstm特征层', 'code': 'def __init__(self, im...
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': 'station_text@metro_map_saver/map_saver/templatetags/metromap_utils.py', 'description': 'Generate the SVG text tag for a station based on\n whether it\'s a transfer station, and\n what its orientation is.\n\nOrientations where the text is on the left:\n text-anchor: "end" and x - .75 (or 1.5 for xfer)...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCMD_MOVE_Q = 127
0
{'name': 'ReplaceByFeeTest.test_spends_of_conflicting_outputs@test/functional/feature_rbf.py', 'description': 'Replacements that spend conflicting tx outputs are rejected', 'signature': 'def test_spends_of_conflicting_outputs(self):'}</s>{'name': 'hash160@test/functional/test_framework/script.py', 'description': 'DOCST...
0
{'name': 'Retry.increment@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/urllib3/util/retry.py', 'description': 'Return a new Retry object with incremented retry counters.\n\n:param response: A response object, or None, if the server did not\n return a response.\n:type response: :class:`~urllib3.response.HT...
0
{'name': 'AdbDevice._push@adb_shell/adb_device.py', 'description': 'Push a file-like object to the device.\n\nParameters\n----------\nstream : _io.BytesIO\n File-like object for reading from\ndevice_path : str\n Destination on the device to write to\nst_mode : int\n Stat mode for the file\nmtime : int\n Mod...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_OPEN_BROWSE = 1102
0
{'name': '_align_column@misc/tableutils.py', 'description': '[string] -> [padded_string]\n\n>>> list(map(str,_align_column(["12.345", "-1234.5", "1.23", "1234.5", "1e+234", "1.0e234"], "decimal")))\n[\' 12.345 \', \'-1234.5 \', \' 1.23 \', \' 1234.5 \', \' 1e+234 \', \' 1.0e234\']\n\n>>> list(map(st...
1
{'name': 'simplify_layer_name@scripts/localization/suspected_bugs_detector.py', 'description': "simplify layer name 'conv2d_copy_LA' -> conv2d", 'signature': 'def simplify_layer_name(layer_name:str):'}</s>{'name': 'get_inconsistency_value@scripts/localization/suspected_bugs_detector.py', 'description': 'DOCSTRING', 'co...
0
{'name': 'Swelling.__init__@morphomnist/perturb.py', 'description': 'Parameters\n----------\nstrength : float, optional\n Exponent of radial power transform (>1).\nradius : float, optional\n Radius to be affected by the swelling, relative to low-resolution pixel scale.', 'signature': 'def __init__(self, strength:...
0
{'name': 'CortexM.write_core_registers_raw@pyocd/coresight/cortex_m.py', 'description': 'Write one or more core registers\n\nWrite core registers in reg_list with the associated value in\ndata_list. If any register in reg_list is a string, find the number\nassociated to this register in the lookup table CORE_REGISTER....
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': 'BIP9SoftForksTest.csv_invalidate@test/functional/feature_bip9_softforks.py', 'description': 'Modify the signature in vin 0 of the tx to fail CSV\nPrepends -1 CSV DROP in the scriptSig itself.', 'signature': 'def csv_invalidate(self, tx):'}</s>{'name': 'create_lots_of_big_transactions@test/functional/test_fram...
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': 'get_samples_from_fastq@atlas/init/create_sample_table.py', 'description': 'creates table sampleID R1 R2 with the absolute paths of fastq files in a given folder', 'signature': 'def get_samples_from_fastq(path, fraction_split_character=split_character):'}</s>{'name': 'parse_file@atlas/init/create_sample_table....
1
{'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': 'modsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'modulename', 'signature': 'def modsign2map(m):'}</s>{'name': 'isarray@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': "def isarray(var):\n return 'dimension' in var and not isexternal(var)"}
0
{'name': 'RPCBindTest.run_allowip_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with rpcallow IP, and request getnetworkinfo\nat a non-localhost IP.', 'signature': 'def run_allowip_test(self, allow_ips, rpchost, rpcport):'}</s>{'name': 'sync_blocks@qa/rpc-tests/test_framework/util.py', 'description':...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQPMO_RESOLVE_LOCAL_Q = 262144
0
{'name': 'CSSParser.parse_pseudo_class_custom@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse custom pseudo class alias.\n\nCompile custom selectors as we need them. When compiling a custom selector,\nset it to `None` in the dictionary so we can avoid an infinite loop.',...
0
{'name': 'get_domain_literal@src/future/backports/email/_header_value_parser.py', 'description': 'domain-literal = [CFWS] "[" *([FWS] dtext) [FWS] "]" [CFWS]\n\n ', 'signature': 'def get_domain_literal(value):'}</s>{'name': 'Comment@src/future/backports/email/_header_value_parser.py', 'description': 'DOCSTRING', 'ba...
0
{'name': 'PythonModuleSourceFileGenerator._GetSequenceType@yaldevtools/source_generators/python_module.py', 'description': 'Determines if the function prototype implies a sequence type.\n\nArgs:\n python_function_prototype (PythonTypeObjectFunctionPrototype): Python\n type object function prototype.\n\nReturns:\n...
0
{'name': 'MethodReferenceSyntaxTest.test_method_reference_to_the_new_method_with_explict_type@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': "test support for method references to 'new' with an\nexplicit type.", 'signature': 'def test_method_reference_to_the_new_method_with_explict_type(self...
0
{'name': 'update_price_figure@dash-stock-pricing/app.py', 'description': 'Create a plot of stock prices\n\nArgs:\n tickers: ticker symbols from the dropdown select\n price: the radio button price selection\nReturns:\n a graph `figure` dict containing the specificed\n price data points per stock', 'signature...
0
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>CONF_SEQUENCE_ZONES = "sequence_zones"
0
{'name': 'fillAvailableBlenderDists@BlendNet/addon.py', 'description': 'Cached blender dists list for the UI interface', 'signature': 'def fillAvailableBlenderDists(scene = None, context = None):'}</s>provider_info_cache = [{}, '', 0]
0
{'name': 'parse_url@src/ahip/util/url.py', 'description': "Given a url, return a parsed :class:`.Url` namedtuple. Best-effort is\nperformed to parse incomplete urls. Fields not provided will be None.\nThis parser is RFC 3986 compliant.\n\nThe parser logic and helper functions are based heavily on\nwork done in the ``rf...
0
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ...
0
{'name': 'get_bind_addrs@qa/rpc-tests/test_framework/netutil.py', 'description': 'Get bind addresses as (host,port) tuples for process pid.', 'signature': 'def get_bind_addrs(pid):'}</s>STATE_TIME_WAIT = "06"
0
{'name': 'paginate@dj_pagination/templatetags/pagination_tags.py', 'description': 'Renders the ``pagination/pagination.html`` template, resulting in a\nDigg-like display of the available pages, given the current page. If there\nare too many pages to be displayed before and after the current page, then\nelipses will be...
0
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre...
0
{'name': 'source_nwm2usgs@src/Utility/Pre-Processing/STOFS-3D-Atl-shadow-VIMS/Pre_processing/Source_sink/Replace_with_USGS/replace_with_obs.py', 'description': "This script is to adjust the vsource.th file based on USGS data.\nThe adjustment is done by comparing the NWM data near the vsource and the USGS data near the ...
1
{'name': 'ConfigFixture.start_fixture@gnocchi/tests/functional/fixtures.py', 'description': 'Create necessary temp files and do the config dance.', 'signature': 'def start_fixture(self):'}</s>APPCONFIGS = {}
0
{'name': 'Message.to_dict@src/betterproto/__init__.py', 'description': 'Returns a JSON serializable dict representation of this object.\n\nParameters\n-----------\ncasing: :class:`Casing`\n The casing to use for key values. Default is :attr:`Casing.CAMEL` for\n compatibility purposes.\ninclude_default_values: :cl...
0
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>VAR_DIR = tempfile.mkdtemp(prefix=_tmpdirprefix, dir=PACKSTACK_VAR_DIR)
0
{'name': 'ParseArguments@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args)...
1
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': 'on_datadir_handler@src/server/server.py', 'description': 'DOCSTRING', 'code': "def on_datadir_handler(data):\n method = data['method']\n if method:\n ...
0
{'name': 'YoutubeDL._load_cookies@script.module.youtube.dl/lib/youtube_dl/YoutubeDL.py', 'description': 'Loads cookies from a `Cookie` header\n\nThis tries to work around the security vulnerability of passing cookies to every domain.\n\n@param data The Cookie header as a string to load the cookies from\n@param ...
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': 'TraceMallocRetBreakpoint@gef.py', 'description': 'Internal temporary breakpoint to retrieve the return value of malloc().', 'ba...
0
{'name': 'Wheel.install@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/wheel.py', 'description': 'Install a wheel to the specified paths. If kwarg ``warner`` is\nspecified, it should be a callable, which will be called with two\ntuples indicating the wheel version of this software and the wheel\nversio...
0
{'name': '_matched_kv_pairs@stix2matcher/test/v20/test_unicode_normalization.py', 'description': 'This returns an iterable through all the matched prop name/value pairs.', 'signature': 'def _matched_kv_pairs():'}</s>{'name': 'test_unicode_normalization_set_nomatch@stix2matcher/test/v20/test_unicode_normalization.py', '...
0
{'name': 'Wheel.update@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/wheel.py', 'description': 'Update the contents of a wheel in a generic way. The modifier should\nbe a callable which expects a dictionary argument: its keys are\narchive-entry paths, and its values are absolute filesystem paths\nwher...
0
{'name': 'clone_axom@scripts/llnl_scripts/find_unused_tpl_dirs.py', 'description': 'Creates a fresh clone of axom', 'signature': 'def clone_axom():'}</s>{'name': 'get_shared_mirror_dir@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'DOCSTRING', 'code': 'def get_shared_mirror_dir():\n return pjoin(get_s...
0
{'name': 'RMLAttribute.get@src/z3c/rml/attr.py', 'description': 'See zope.schema.interfaces.IField', 'signature': 'def get(self):'}</s>{'name': 'IPostProcessorManager@src/z3c/rml/interfaces.py', 'description': 'Manages all post processors', 'base_classes': ['zope.interface.Interface'], 'methods': []}
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': 'OutPut.summary@OnePy/sys_module/components/output.py', 'description': '在最后输出简要回测结果', 'signature': 'def summary(self):'}</s>{'name': 'get_max_drawdown_date@OnePy/custom_module/analysis.py', 'description': 'DOCSTRING', 'code': "def get_max_drawdown_date(balance):\n df = get_drawdown_df(balance)\n max_draw...
1
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ...
0
{'name': '_FloatingPointEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for float fields.\n\nThis is like StructPackEncoder, but catches errors that may be due to\npassing non-finite floating-point values to struct.pack, and mak...
0
{'name': 'VtkFile.addData@pyevtk/vtk.py', 'description': 'Add array description to xml header section.\n\nParameters\n----------\nname : str\n data array name.\ndata : array-like\n one numpy array or a tuple with 3 numpy arrays.\n If a tuple, the individual arrays must represent the components\n of a vector...
0
{'name': 'Merger.get_mod_edit_info@bcml/mergers/__init__.py', 'description': 'Gets a list of modified items in mod for this merger', 'signature': 'def get_mod_edit_info(self, mod: util.BcmlMod) -> set:'}</s>{'name': 'get_profile@bcml/util.py', 'description': 'DOCSTRING', 'code': 'def get_profile(profile_name: str) -> D...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQSECITEM_MQPROC = 3
0
{'name': 'BertModel.__init__@araelectra/model/modeling.py', 'description': 'Constructor for BertModel.\n\nArgs:\n bert_config: `BertConfig` instance.\n is_training: bool. true for training model, false for eval model. Controls\n whether dropout will be applied.\n input_ids: int32 Tensor of shape [batch_size, seq_...
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>MACOSX_SDK_DIR = "/Developer/SDKs"
0
{'name': 'clip_boxes@lib/fast_rcnn/bbox_transform.py', 'description': 'Clip boxes to image boundaries.', 'signature': 'def clip_boxes(boxes, im_shape):'}</s>{'name': 'bbox_transform_inv@lib/fast_rcnn/bbox_transform.py', 'description': 'DOCSTRING', 'code': 'def bbox_transform_inv(boxes, deltas, im_info):\n if boxes.s...
0
{'name': 'Swagger.as_dict@flask_restx/swagger.py', 'description': 'Output the specification as a serializable ``dict``.\n\n:returns: the full Swagger specification in a serializable format\n:rtype: dict', 'signature': 'def as_dict(self):'}</s>{'name': 'OrderedModel@flask_restx/model.py', 'description': 'A thin wrapper ...
0
{'name': 'CortexM.write_core_registers_raw@pyocd/coresight/cortex_m.py', 'description': 'Write one or more core registers\n\nWrite core registers in reg_list with the associated value in\ndata_list. If any register in reg_list is a string, find the number\nassociated to this register in the lookup table CORE_REGISTER....
0
{'name': 'AcousticCorpusMixin.load_reference_alignments@montreal_forced_aligner/corpus/acoustic_corpus.py', 'description': 'Load reference alignments to use in alignment evaluation from a directory\n\nParameters\n----------\nreference_directory: :class:`~pathlib.Path`\n Directory containing reference alignments', 's...
0
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw...
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': 'localtime@tool/mkarchive.py', 'description': 'Return YYYY-mm-dd HH:MM.', 'signature': 'def localtime(stamp=0):'}</s>docroot = _get_value(_extconf, 'Path', 'docroot', './www', 'path')
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PFTM_OTHER_MULTIPLE = 13
0
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'NotBase64@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['InvalidValue'], 'methods'...
0
{'name': 'networkd_networks@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd network configuration.\n\nThe format is compatible with the systemd_networkd_network variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: ...
0
{'name': 'Swagger.as_dict@flask_restx/swagger.py', 'description': 'Output the specification as a serializable ``dict``.\n\n:returns: the full Swagger specification in a serializable format\n:rtype: dict', 'signature': 'def as_dict(self):'}</s>{'name': 'Swagger@flask_restx/swagger.py', 'description': 'A Swagger document...
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': 'Controller.choose_and_send_file@tg/controllers.py', 'description': 'Call file picker and send chosen file based on mimetype', 'signature': 'def choose_and_send_file(self) -> None:'}</s>URL_VIEW = "urlview"
0
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>OP_IF = CScriptOp(0x63)
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': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ...
0
{'name': 'TestLongGf.test_parse_mouse@test/test_parsers.py', 'description': 'Test basic parsing.', 'signature': 'def test_parse_mouse(self):'}</s>{'name': 'Arriba@agfusion/parsers.py', 'description': 'Arriba parser.', 'base_classes': ['_Parser'], 'methods': [{'name': 'Arriba.__init__@agfusion/parsers.py', 'description'...
0
{'name': 'check_scenarios@premise/new_database.py', 'description': 'Check that the scenarios are properly formatted and that\nall the necessary info is given.', 'signature': 'def check_scenarios(scenario: dict, key: bytes) -> dict:'}</s>FILEPATH_CARBON_FIBER_INVENTORIES = INVENTORY_DIR / "lci-carbon-fiber.xlsx"
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': 'RecurrentDecoder.forward@joeynmt/decoders.py', 'description': 'Unroll the decoder one step at a time for `unroll_steps` steps. For every step,\nthe `_forward_step` function is called internally.\n\nDuring training, the target inputs (`trg_embed\') are already known for the full\nsequence, so the full unrol is...
0
{'name': 'create_and_configure_vpc@lib/workshop.py', 'description': 'Create VPC', 'signature': "def create_and_configure_vpc(tag='research-workshop'): "}</s>{'name': 'get_latest_amazon_linux@lib/workshop.py', 'description': 'Search EC2 Images for Amazon Linux', 'code': 'def get_latest_amazon_linux():\n """Search EC2...
0
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ...
0
{'name': 'TerragruntTest.__init__@tftest.py', 'description': 'A helper class that could be used for testing terragrunt\n\nMost operations that apply to :func:`~TerraformTest` also apply to this class.\nNotice that to use this class for Terragrunt run-all, `tg_run_all` needs to be set to\nTrue. The class would then onl...
0
{'name': 'test_connectivity_build_n_nodes_per_face@test/test_grid.py', 'description': 'Tests the construction of the ``n_nodes_per_face`` variable.', 'signature': 'def test_connectivity_build_n_nodes_per_face():'}</s>gridfile_mpas_two = current_path / 'meshfiles' / "mpas" / "QU" / 'oQU480.231010.nc'
0
{'name': 'ParseArguments@tools/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{'name': '_Verb...
1
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIAMO_OBJECT_COUNT = 732
0
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_ref_t@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'DOCSTRING', 'base_classes': ['c.Structure...
0
{'name': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike...
0
{'name': 'invoice_details@BambiCTF_2021/ringring/InvoiceApp/app.py', 'description': 'Return full invoice details for an invoice number. Needs both the invoice number and the guest name.\n:return:', 'signature': 'def invoice_details():'}</s>{'name': 'home@BambiCTF_2021/ringring/InvoiceApp/app.py', 'description': 'Main e...
0
{'name': 'JsonProtocolEncoder.default@tests/coaster_tests/sqlalchemy_roles_test.py', 'description': 'Encode JSON.', 'signature': 'def default(self, o: Any) -> Any:'}</s>{'name': 'TestLazyRoleSet@tests/coaster_tests/sqlalchemy_roles_test.py', 'description': 'Tests for LazyRoleSet, isolated from RoleMixin.', 'base_classe...
0
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_37 = Badge("volca...
0
{'name': 'search@ytmdl/core.py', 'description': 'Search the song on YouTube, ask the user for an input and accordingly\nreturn a selected song.\n\nThe song can be extracted either from an URL or the name. If the name is\npresent, we will search on YouTube for the name, ask the user for a choice\nand accordingly return ...
0
{'name': 'sign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'varname,ctype,atype\ninit,init.r,init.i,pytype\nvardebuginfo,vardebugshowvalue,varshowvalue\nvarrfromat\nintent', 'signature': 'def sign2map(a, var):'}</s>{'name': 'getpydocsign@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'descript...
1
{'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': '_export_polytope@contrib/xml/xmlio.py', 'description': 'Builds an XML tree from a polytope.\n\n@param poly:\n polytope to export\n@return:\n `None` (if parent is not `None`), or\n an xml tree', 'signature': 'def _export_polytope('}</s>{'name': '_import_pwasys@contrib/xml/xmlio.py', 'description': 'DO...
0
{'name': 'training_loop_hparams_from_scoped_overrides@tensor2tensor_envi/rl/trainer_model_based_params.py', 'description': 'Create HParams suitable for training loop from scoped HParams.\n\nArgs:\n scoped_overrides: HParams, with keys all scoped by one of HP_SCOPES. These\n parameters are overrides for the base HPa...
0
{'name': 'prometheus_metrics@emissionsapi/web.py', 'description': 'Return metrics in OpenMetrics format for Prometheus.\nMetrics are collected using the collectors from `emissionsapi.metrics`.\n\n:return: OpenMetrics data\n:rtype: werkzeug.wrappers.response.Response', 'signature': 'def prometheus_metrics():'}</s>logger...
0
{'name': 'PhysicsOracle.__call__@python-sdk/nuscenes/prediction/models/physics.py', 'description': 'Makes prediction.\n:param token: string of format {instance_token}_{sample_token}.', 'signature': 'def __call__(self, token) -> Prediction:'}</s>{'name': 'ConstantVelocityHeading@python-sdk/nuscenes/prediction/models/phy...
0
{'name': 'colorise@shutit_util.py', 'description': 'Colorize the given string for a terminal.\nSee https://misc.flogisoft.com/bash/tip_colors_and_formatting', 'signature': 'def colorise(code, msg):'}</s>{'name': 'emblinken@shutit_util.py', 'description': 'Blink the message for a terminal\n ', 'code': 'def emblin...
0
{'name': 'noncritical@PFERD/crawl/crawler.py', 'description': "Catches and logs a few noncritical exceptions occurring during the function\ncall, mainly CrawlWarning.\n\nIf any exception occurs during the function call, the crawler's error_free\nvariable is set to False. This includes noncritical exceptions.\n\nWarning...
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': 'lanuch_app@cfgexplorer/utils.py', 'description': ':param prompt: whether lannuch a browser immediately\n:type prompt: true\n:param port: port to host the flask app\n:type port: int\n:return: None\n:rtype: None', 'signature': 'def lanuch_app(prompt=False, port=5000):'}</s>{'name': 'CFGVisEndpoint@cfgexplorer/e...
0
{'name': 'install_tees@calrissian/main.py', 'description': 'Reconnects stdout/stderr to `tee` processes via subprocess.PIPE that can write to user-supplied files\nhttps://stackoverflow.com/a/651718/595085\n:param stdout_path: optional path of file to tee standard output to\n:param stderr_path: optional path of file to ...
0