text
string
label
int64
{'name': 'BaseResponse.add_header@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Add an additional response header, not removing duplicates. ', 'signature': 'def add_header(self, name, value):'}</s>TEMPLATES = {}
0
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'u64@gef.py', 'description': 'Unpack one qword respecting the current arc...
0
{'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': 'parse_alignment@fairseq_deen_ende/fairseq/utils.py', 'description': 'Parses a single line from the alingment file.\n\nArgs...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQXR_AUTO_RECEIVER = py23long(19)
0
{'name': 'create_hydraulic_model@wntr/sim/hydraulics.py', 'description': "Parameters\n----------\nwn: WaterNetworkModel\nmode: str\nHW_approx: str\n Specifies which Hazen-Williams headloss approximation to use. Options are 'default' and 'piecewise'. Please\n see the WNTR documentation on hydraulics for details.\n...
1
{'name': 'sample_components@products/curv.py', 'description': 'Sample dot products of tangent vectors ', 'signature': 'def sample_components(n1=5, n2=5):'}</s>{'name': 'map_score@utils/distortions.py', 'description': 'DOCSTRING', 'code': 'def map_score(H1, H2, n, jobs):\n #maps = Parallel(n_jobs=jobs)(delayed(map_ro...
0
{'name': 'BL3Profile.set_vaultcard3_keys@bl3save/bl3profile.py', 'description': 'Sets the number of Vault Card 3 keys to `num_keys`', 'signature': 'def set_vaultcard3_keys(self, num_keys):'}</s>{'name': 'BalanceToInvKey@bl3save/datalib.py', 'description': "Little wrapper to provide access to a mapping from Balance name...
0
{'name': '_AdbIOManager.send@adb_shell/adb_device.py', 'description': 'Send a message to the device.\n\nParameters\n----------\nmsg : AdbMessage\n The data that will be sent\nadb_info : _AdbTransactionInfo\n Info and settings for this ADB transaction', 'signature': 'def send(self, msg, adb_info):'}</s>DATA = b'DA...
0
{'name': 'update_network_info@core/networking.py', 'description': 'Updates the network info in global_state.', 'signature': 'def update_network_info():'}</s>{'name': 'enable_ip_forwarding@core/networking.py', 'description': 'DOCSTRING', 'code': "def enable_ip_forwarding():\n\n os_platform = common.get_os()\n\n if...
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': '_main@tools/gfx/png.py', 'description': 'Run the PNG encoder with options from the command line.', 'signature': 'def _main(argv):'}</s>_signature = struct.pack('8B', 137, 80, 78, 71, 13, 10, 26, 10)
0
{'name': 'PostgresNode.__init__@testgres/node.py', 'description': "PostgresNode constructor.\n\nArgs:\n name: node's application name.\n port: port to accept connections.\n base_dir: path to node's data directory.\n bin_dir: path to node's binary directory.", 'signature': 'def __init__(self, name=None, base...
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_2SWAP = CScriptOp(0x72)
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': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>__all__ = ['PFUid', 'PFGid', 'PFPort', 'PFAddr', 'PFRuleAddr', 'PFPool', 'PFDivert', 'PFThre...
0
{'name': 'findlines@tests/utils.py', 'description': 'Extract the lines from the buffer which contains the pattern\n`substring`\n\nArgs:\n substring (str): the pattern to look for\n buffer (str): the buffer to look into\n\nReturns:\n List[str]', 'signature': 'def findlines(substring: str, buffer: str) -> List[s...
0
{'name': 'expr_value@tools/kconfig_new/kconfiglib.py', 'description': "Evaluates the expression 'expr' to a tristate value. Returns 0 (n), 1 (m),\nor 2 (y).\n\n'expr' must be an already-parsed expression from a Symbol, Choice, or\nMenuNode property. To evaluate an expression represented as a string, use\nKconfig.eval_s...
0
{'name': 'test_http_h1_small_request_small_reply_via@benchmarks/test/test_discovery.py', 'description': 'H1 test with small request and reply via injected Envoy.', 'signature': 'def test_http_h1_small_request_small_reply_via(inject_envoy_http_proxy_fixture,'}</s>{'name': 'assertIn@test/integration/asserts.py', 'descrip...
0
{'name': 'ParseArguments@third_party/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):'}</s>_...
1
{'name': 'OpticalProduct._open_bands@eoreader/products/optical/optical_product.py', 'description': 'Open bands from disk.\n\nArgs:\n band_paths (dict): Band dict: {band_enum: band_path}\n pixel_size (float): Band pixel size in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if p...
1
{'name': 'PyMetaWearLoggingModule.download_log@pymetawear/modules/base.py', 'description': 'Download logged data from the MetaWear board\n\n:param timeout: Time to wait for download to resume if connection is lost.\n:param data_callback: Function called to process each downloaded sample.\n:param progress_update_functio...
1
{'name': 'PrePostChange.get_change_raw_sql@operations.py', 'description': "Generates PrePost-adjusted values for PercentChange computation.\n\nThis function generates subqueries like\nWITH PrePostRaw AS (SELECT\n split_by,\n stratified_by,\n condition_column,\n child_metric,\n covariate\nFROM T\nGROUP BY split_by,...
0
{'name': 'glome_test@python/test/fuzzing_test.py', 'description': 'Add hypothesis decorator to _glome function', 'signature': 'def glome_test(private_bytes, public_bytes, msg, tag, counter, min_tag_len):'}</s>{'name': '_glome@python/test/fuzzing_test.py', 'description': 'Calls basic utilities of glome class, accepts on...
1
{'name': 'create_autospec@Contents/Libraries/Shared/mock.py', 'description': "Create a mock object using another object as a spec. Attributes on the\nmock will use the corresponding attribute on the `spec` object as their\nspec.\n\nFunctions or methods being mocked will have their arguments checked\nto check that they ...
0
{'name': 'BisectRunner.get_next@nix_bisect/bisect_runner.py', 'description': 'Computes the next commit to test.\n\nThis takes skip-ranges into account and prioritizes finding the first\ncommit that unbreaks a skip range.\n\nMay add commits for cherry pick. Returns `False` when the bisect is\nfinished.', 'signature': 'd...
0
{'name': 'Model.validate@argus/model/model.py', 'description': 'Perform a validation.\n\nArgs:\n val_loader (Iterable): The validation data loader.\n metrics (list of :class:`argus.metrics.Metric` or str, optional):\n List of metrics to evaluate with the data. Defaults to `None`.\n callbacks (list of :c...
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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_NOT_OPEN_FOR_SET = 2040
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': 'remove_keys@meza/fntools.py', 'description': "Remove keys from a dict and return new dict\n\nArgs:\n record (dict): The dict to remove keys fro...
0
{'name': 'select_hfr_db@disdat/hyperframe.py', 'description': 'Create an HFrame Record from a row in our DB.\nWhere uuid= && owner= && human_name= && processing_name=\n\nArgs:\n engine_g:\n uuid (str): add to where clause\n owner (str): add to where clause\n human_name (str): add to where clause\n proce...
0
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'apply_tweak_shifts@g...
0
{'name': 'JavaObjectMarshaller.write_array@javaobj/v1/marshaller.py', 'description': 'Writes a JavaArray\n\n:param obj: A JavaArray object', 'signature': 'def write_array(self, obj):'}</s>__all__ = ("JavaObjectMarshaller",)
0
{'name': 'display_sidebar@src/penn_chime/view/st_display.py', 'description': "Initializes the UI in the sidebar. These function calls create input elements, and bind the values they are set to\nto the appropriate variables. It's similar to Ember or Angular, if you are familiar with those frameworks.", 'signature': 'def...
0
{'name': 'get_topo_file@oggm/utils/_downloads.py', 'description': "Path(s) to the DEM file(s) covering the desired extent.\n\nIf the needed files for covering the extent are not present, download them.\n\nThe default behavior is to try a list of DEM sources in order, and\nstop once the downloaded data is covering a lar...
0
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': '_visible_width@misc/tabulate.py', 'description': 'Visible width of a printed string. ANSI color codes are removed.\n\n>>> _visible_width(\'\x1b[31mhello\x1b[0m\'), _visible_width("world")\n(5, 5)', 'signature': 'def _visible_width(s):'}</s>{'name': '_padboth@misc/tabulate.py', 'description': "Center string.\n...
0
{'name': '_StreamBase.__init__@sounddevice.py', 'description': "Base class for PortAudio streams.\n\nThis class should only be used by library authors who want to\ncreate their own custom stream classes.\nMost users should use the derived classes\n`Stream`, `InputStream`, `OutputStream`,\n`RawStream`, `RawInputStream` ...
0
{'name': 'default_if_empty@yaql/standard_library/queries.py', 'description': ':yaql:defaultIfEmpty\n\nReturns default value if collection is empty.\n\n:signature: collection.defaultIfEmpty(default)\n:receiverArg collection: input collection\n:argType collection: iterable\n:arg default: value to be returned if collectio...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIAMO_CBS = 769
0
{'name': 'wide_resnet101_2@src/model/tsm/resnet.py', 'description': 'Wide ResNet-101-2 model from\n`"Wide Residual Networks" <https://arxiv.org/pdf/1605.07146.pdf>`_\n\nThe model is the same as ResNet except for the bottleneck number of channels\nwhich is twice larger in every block. The number of channels in outer 1x1...
0
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ...
0
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ...
0
{'name': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\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.', 'signature...
0
{'name': 'StaticVariableTestCase.test_with_run_command@llvm-12.0.0-project/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py', 'description': 'Test that file and class static variables display correctly.', 'signature': 'def test_with_run_command(self):'}</s>COMMAND_FAILED_AS_EXPECTED = "Command has failed as e...
0
{'name': 'get_file@nerpy/get_file.py', 'description': "Downloads a file from a URL if it not already in the cache.\n\nBy default the file at the url `origin` is downloaded to the\ncache_dir `~/.project/datasets`, placed in the cache_subdir `data`,\nand given the filename `fname`. The final location of a file\n`example....
0
{'name': 'convert_to_en_symbols@text/__init__.py', 'description': 'Converts built-in korean symbols to english, to be used for english training\n ', 'signature': 'def convert_to_en_symbols():'}</s>puncuation_table = str.maketrans({key: None for key in string.punctuation})
0
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>CONF_SEQUENCE_ID = "sequence_id"
0
{'name': 'EVPTestCase.test_load_key_string_pubkey_rsa@tests/test_evp.py', 'description': 'Testing creating a PKey instance from PEM string.', 'signature': 'def test_load_key_string_pubkey_rsa(self):'}</s>{'name': 'gen_key@src/M2Crypto/RSA.py', 'description': 'Generate an RSA key pair.\n\n:param bits: Key length, in bit...
1
{'name': 'DirectiveValidator.must_avoid@drheader/validators/directive_validator.py', 'description': 'See base class.', 'signature': 'def must_avoid(self, config, header, **kwargs):'}</s>{'name': 'get_rules_from_uri@drheader/utils.py', 'description': 'DOCSTRING', 'code': 'def get_rules_from_uri(uri):\n response = req...
0
{'name': 'transformer_model@language_model/bert/modeling.py', 'description': 'Multi-headed, multi-layer Transformer from "Attention is All You Need".\n\nThis is almost an exact implementation of the original Transformer encoder.\n\nSee the original paper:\nhttps://arxiv.org/abs/1706.03762\n\nAlso see:\nhttps://github.c...
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': 'CallbacksService.handle_request@src/nagare/services/callbacks.py', 'description': 'Call the actions associated to the callback identifiers received.\n\nIn:\n - ``callbacks`` -- dictionary where the keys are the callback ids and the\n values are tuples (callback, with_request, render)\n - ``request`` -- t...
0
{'name': 'matchOnlyAtCol@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining parse actions that require matching at a specific\ncolumn in the input text.', 'signature': 'def matchOnlyAtCol(n):'}</s>empty = Empty().setName("empty")
0
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>{'name': 'Router@src/back...
0
{'name': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>{'name': 'Oper...
0
{'name': 'register@addon_updater_ops.py', 'description': 'Registering the operators in this module', 'signature': 'def register(bl_info):'}</s>{'name': 'background_update_callback@addon_updater_ops.py', 'description': 'Passed into the updater, background thread updater', 'code': 'def background_update_callback(update_r...
0
{'name': 'StatementSplitter.process@libs/sqlparse/engine/statement_splitter.py', 'description': 'Process the stream', 'signature': 'def process(self, stream):'}</s>Name = Token.Name
0
{'name': 'Arcball.drag@utils/transformations.py', 'description': 'Update current cursor window coordinates.', 'signature': 'def drag(self, point):'}</s>{'name': 'quaternion_from_euler@utils/transformations.py', 'description': "Return quaternion from Euler angles and axis sequence.\n\nai, aj, ak : Euler's roll, pitch an...
0
{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>CONF_PREAMBLE = "preamble"
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': 'jaccard_kernel@modisco/cluster/phenograph/core.py', 'description': 'Compute Jaccard coefficient between nearest-neighbor sets\n:param idx: numpy array of nearest-neighbor indices\n:return (i, j, s): tuple of indices and jaccard coefficients, suitable for constructing COO matrix', 'signature': 'def jaccard_ker...
0
{'name': 'HyASTCompiler._compile_collect@hy/compiler.py', 'description': 'Collect the expression contexts from a list of compiled expression.\n\nThis returns a list of the expression contexts, and the sum of the\nResult objects passed as arguments.', 'signature': 'def _compile_collect(self, exprs, with_kwargs=False, di...
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'QueueManager.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': 'print_numpy@utils/util.py', 'description': 'Print the mean, min, max, median, std, and size of a numpy array\n\nParameters:\n val (bool) -- if print the values of the numpy array\n shp (bool) -- if print the shape of the numpy array', 'signature': 'def print_numpy(x, val=True, shp=False):'}</s>{'name': ...
0
{'name': 'Session.prepare_request@src/requests/sessions.py', 'description': "Constructs a :class:`PreparedRequest <PreparedRequest>` for\ntransmission and returns it. The :class:`PreparedRequest` has settings\nmerged from the :class:`Request <Request>` instance and those of the\n:class:`Session`.\n\n:param request: :cl...
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>{'name': 'new@blockchain-env/lib/python3.7/site-packages/Cryptodome/Hash/SHA1.py'...
1
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_NUMEQUAL = CScriptOp(0x9c)
0
{'name': 'writeFileTree@fwtool.py', 'description': 'Writes a list of UnixFiles to the disk, unpacking known archive files', 'signature': 'def writeFileTree(files, path):'}</s>{'name': '_decryptLittleEndian@fwtool/sony/dslr.py', 'description': 'DOCSTRING', 'code': 'def _decryptLittleEndian(data):\n return _decrypt(data,...
0
{'name': 'Function.get_parameters@sqlparse/sql.py', 'description': 'Return a list of parameters.', 'signature': 'def get_parameters(self):'}</s>{'name': 'Comment@sqlparse/sql.py', 'description': 'A comment.', 'base_classes': ['TokenList'], 'methods': [{'name': 'Comment.is_multiline@sqlparse/sql.py', 'description': 'DOC...
0
{'name': 'convert_to_datetime@fink_broker/common/partitioning.py', 'description': 'Convert date into datetime (timestamp)\n\nBe careful if you are using this outside Fink. First, you need to check\nyou timezone defined in Spark:\n\n```\nspark.conf.get("spark.sql.session.timeZone")\n```\n\nIf this is something else than...
0
{'name': 'BNReLUQuant@learned_quantization.py', 'description': 'A shorthand of BatchNormalization + ReLU + QuantizedActiv.', 'signature': 'def BNReLUQuant(x):'}</s>{'name': 'getfcBNReLUQuant@learned_quantization.py', 'description': 'A shorthand of BatchNormalization + ReLU + QuantizedActiv after FullyConnect.', 'code':...
0
{'name': 'MPyNode._getGenericInput@scripts/mpylib/_mpynode/mpynode_obj.py', 'description': 'Generic method fot getting the plugs input value using the given MDataHandle function name (get_func_name).\nReturns a value or tuple of values depending on the is_array arg.', 'signature': 'def _getGenericInput(self, data_block...
0
{'name': 'CrateNode.start@cr8/run_crate.py', 'description': 'Start the process.\n\nThis will block until the Crate cluster is ready to process requests.', 'signature': 'def start(self):'}</s>{'name': '_is_project_repo@cr8/run_crate.py', 'description': 'DOCSTRING', 'code': 'def _is_project_repo(src_repo):\n path = Pa...
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': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'test_any_with_discriminant@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_any_with_discriminant...
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 ...
1
{'name': 'schedule_messages@sitemessage/toolbox.py', 'description': 'Schedules a message or messages.\n\n:param messages: str or MessageBase heir or list - use str to create PlainTextMessage.\n\n:param recipients: recipients addresses or Django User model heir instances\n If `None` Dispatches should be created befor...
0
{'name': 'test_text_predict_on_public_models@tests/public_models/test_public_models_predicts.py', 'description': 'Test non translation text/nlp models.\nAll these models can take the same test text input.', 'signature': 'def test_text_predict_on_public_models(channel):'}</s>TEXT_MODEL_TITLE_IDS_TUPLE = [ ("text sum...
1
{'name': '_opt2@graph/tsp.py', 'description': 'Iterative improvement based on 2 exchange.', 'signature': 'def _opt2(graph, tour):'}</s>{'name': '_greedy@graph/tsp.py', 'description': 'DOCSTRING', 'code': 'def _greedy(graph):\n c = combinations(graph.nodes(), 2)\n distances = [(graph.edge(a, b), a, b) for a, b in ...
0
{'name': 'MaintenanceModeMiddlewareTestCase.test_enabled_middleware_with_template@testproject/app/tests.py', 'description': 'Enabling the middleware having a 503.html in any of the template\nlocations should return the rendered template', 'signature': 'def test_enabled_middleware_with_template(self):'}</s>_base = depre...
0
{'name': 'Statement.whos_allowed@policyuniverse/statement.py', 'description': "Returns set containing any entries from principal and condition section.\n\nExample:\n\nstatement = Statement(dict(\n Effect='Allow',\n Principal='arn:aws:iam::*:role/Hello',\n Action=['ec2:*'],\n Resource='*',\n Condition={\n...
0
{'name': 'FindWindow.bind_label@tksheet/find_window.py', 'description': 'Bind press, release, and optional motion events with highlight changes.', 'signature': 'def bind_label(self, label: tk.Label, func: Callable, motion_func: Callable | None = None) -> None:'}</s>{'name': 'replacer@tksheet/find_window.py', 'descripti...
0
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t...
0
{'name': 'main.get_info@mcu/qe/qe.py', 'description': 'Extract basis information from the vasprun.xml', 'signature': 'def get_info(self, filename=None): '}</s>{'name': 'convert_atomtype@mcu/cell/utils.py', 'description': 'Convert atom from itsZ to its symbol and vice versa', 'code': "def convert_atomtype(Z_or_symbol...
1
{'name': 'ModbusClient.read_discrete_inputs@pyModbusTCP/client.py', 'description': 'Modbus function READ_DISCRETE_INPUTS (0x02).\n\n:param bit_addr: bit address (0 to 65535)\n:type bit_addr: int\n:param bit_nb: number of bits to read (1 to 2000)\n:type bit_nb: int\n:returns: bits list or None if error\n:rtype: list of ...
0
{'name': '_lookup_module@dill/session.py', 'description': 'lookup name or id of obj if module is imported', 'signature': 'def _lookup_module(modmap, name, obj, main_module):'}</s>{'name': 'load_module@dill/session.py', 'description': "Update the selected module (default is :py:mod:`__main__`) with\nthe state saved at `...
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': 'compile_fun_manually@src/makefun/main.py', 'description': ':param target:\n:return:', 'signature': 'def compile_fun_manually(target,'}</s>{'name': '_get_callerframe@src/makefun/main.py', 'description': 'DOCSTRING', 'code': 'def _get_callerframe(offset=0):\n try:\n # inspect.stack is extremely slow, ...
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': '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': 'CheckLanguage@tools/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A ...
0
{'name': 'DebuggerAPI.do_delete@tools/p4dbg.py', 'description': "Unsets a break point, previously set with the 'break' command: delete(d) <obj_type> <obj_name>", 'signature': 'def do_delete(self, line):'}</s>{'name': 'get_name@tools/p4dbg.py', 'description': 'DOCSTRING', 'code': 'def get_name(header_id, offset):\n r...
0
{'name': 'odeint@torchdyn/numerics/odeint.py', 'description': 'Solve an initial value problem (IVP) determined by function `f` and initial condition `x`.\n\n Functional `odeint` API of the `torchdyn` package.\n\nArgs:\n f (Callable):\n x (Tensor):\n t_span (Union[List, Tensor]):\n solver (...
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': 'template@src/back/kite/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def template(*args, **kwarg...
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': 'DNSIncoming.readOthers@stino/pyarduino/base/zeroconf.py', 'description': 'Reads the answers, authorities and additionals section of the\npacket', 'signature': 'def readOthers(self):'}</s>__all__ = ["Zeroconf", "ServiceInfo", "ServiceBrowser"]
0
{'name': 'run@tools/spritemaker.py', 'description': 'Runs this module (menu related)', 'signature': 'def run():'}</s>{'name': 'SortedKeySpriteDBIter@tools/spritemaker.py', 'description': 'Iterator over a sprite db. This iterates so that the StaticSprites are\nin key order (aka from the given list of keys)', 'base_class...
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