text
string
label
int64
{'name': 'GTestHelpTest.TestHelpFlag@third-party/googletest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to the binary or No...
0
{'name': 'Visualizer.plot_current_losses@util/visualizer.py', 'description': 'display the current losses on visdom display: dictionary of error labels and values\n\nParameters:\n epoch (int) -- current epoch\n counter_ratio (float) -- progress (percentage) in the current epoch, between 0 to 1\n losse...
0
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'test_number_validation_with_valid_precision_scale_yield_decimal_false@voluptuous/tests/tests.py', 'description': 'Test with Number with valid precision, scale and no yield_deci...
0
{'name': 'DynamicThreadClassLoader.set_args@botfw/etc/loader.py', 'description': 'Add arguments passed to loaded class', 'signature': 'def set_args(self, init_args):'}</s>{'name': 'send_execption@botfw/etc/loader.py', 'description': 'DOCSTRING', 'code': 'def send_execption(thread, exception):\n ctypes.pythonapi.PyTh...
0
{'name': 'buildTreesForView@xpath.py', 'description': 'Create an xml tree for each XML region in the specified view.', 'signature': 'def buildTreesForView(view):'}</s>{'name': 'ShowXpathQueryHistoryCommand@xpath.py', 'description': 'DOCSTRING', 'base_classes': ['sublime_plugin.TextCommand'], 'methods': [{'name': 'ShowX...
0
{'name': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>VARIABLE = L("implementation_version") ...
0
{'name': 'Scan@GUI/MRT_FUNC_PY4_GUI.py', 'description': 'Scan a specified number of degrees on the current axis in the current direction', 'signature': 'def Scan(ser, deg):'}</s>{'name': 'GoAz@GUI/MRT_FUNC_PY4_GUI.py', 'description': 'Go to a specific Azimuth without changing elevation', 'code': 'def GoAz(ser, azGa=Non...
0
{'name': 'CirqSimulateStateTest.test_state_empty_circuit@tensorflow_quantum/core/ops/cirq_ops_test.py', 'description': 'Test empty circuits', 'signature': 'def test_state_empty_circuit(self):'}</s>{'name': '_channel_approx_eq@tensorflow_quantum/python/util.py', 'description': 'DOCSTRING', 'code': 'def _channel_approx_e...
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_MQCMDS = 6
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': 'cursor_paginate@twitter_to_sqlite/utils.py', 'description': "Execute cursor pagination, yelding 'key' for each page", 'signature': 'def cursor_paginate(session, url, args, key, page_size=200, sleep=None):'}</s>{'name': 'save_tweets@twitter_to_sqlite/utils.py', 'description': 'DOCSTRING', 'code': 'def save_twe...
0
{'name': 'run@slim/datasets/download_and_convert_mnist.py', 'description': 'Runs the download and conversion operation.\n\nArgs:\n dataset_dir: The dataset directory where the dataset is stored.', 'signature': 'def run(dataset_dir):'}</s>EVAL_LOGS_DIR = LOGS_DIR + "eval_dir/"
0
{'name': 'convert_inspirations@code/html/generate_static_website.py', 'description': ':param inspirations:\n:param entries:\n:return:', 'signature': 'def convert_inspirations(inspirations, entries):'}</s>platform_color = { 'Windows': 'is-danger', 'Linux': 'is-link', 'macOS': 'is-success', 'Android': 'is...
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': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>ICMP_UNREACH_NET_UNKNOWN = 6
0
{'name': 'WSCTask.load_dataset@examples/roberta/wsc/wsc_task.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset('}</s>{'name': 'get_buckets@fairseq/data/data_utils.py', 'description': 'DOCSTRING', 'code': 'def get_buc...
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': 'CommandDomain.get_full_qualified_name@docs/util/cmdref.py', 'description': 'Return full qualified name for a given node', 'signature': 'def get_full_qualified_name(self, node):'}</s>{'name': 'TocNode@docs/util/cmdref.py', 'description': 'DOCSTRING', 'base_classes': ['ObjectDescription'], 'methods': [{'name': ...
0
{'name': 'createApplicationsAndSubscribe@apim-traffic-tool/lib/traffic-tool/src/python/create_api_scenario.py', 'description': 'This function will create all applications and subscribe to APIs\n:return: None', 'signature': 'def createApplicationsAndSubscribe():'}</s>{'name': 'removeUserSOAP@apim-traffic-tool/lib/traffi...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQTCPSTACK_SINGLE = 0
0
{'name': 'UtilityServer.start@src/service_api/python/jsonrpclib/tests/utilities.py', 'description': 'Starts the server\n\n:param addr: A binding address\n:param port: A listening port\n:return: This object (for in-line calls)', 'signature': 'def start(self, addr, port):'}</s>{'name': 'get_data@src/service_api/python/js...
1
{'name': 'plot_cum_error_dist@nelpy/plotting/decoding.py', 'description': 'Plot (and optionally compute) the cumulative distribution of\ndecoding errors, evaluated using a cross-validation procedure.\n\nSee Fig 3.(b) of "Analysis of Hippocampal Memory Replay Using Neural\n Population Decoding", Fabian Kloosterman, 2...
0
{'name': 'PDBBackbone.__get_coords_specific_atom@enzynet/pdb.py', 'description': 'Extracts coordinates of a specific atom only.', 'signature': 'def __get_coords_specific_atom('}</s>ARCHITECTURE_DIR = os.path.join(ROOT_DIR, 'scripts/architecture/')
0
{'name': 'PFGid._str_to_num@pf/rule.py', 'description': 'Convert a string to a numeric group ID.', 'signature': 'def _str_to_num(self, s):'}</s>PF_NAT_PROXY_PORT_LOW = 50001
0
{'name': 'font_size_splitter@art/utils.py', 'description': 'Split fonts to 4 category (small,medium,large,xlarge) by maximum length of letter in each font.\n\n:param font_map: input fontmap\n:type font_map : dict\n:return: splitted fonts as dict', 'signature': 'def font_size_splitter(font_map):'}</s>{'name': 'indirect_...
0
{'name': 'spenders_taproot_active@test/functional/feature_taproot.py', 'description': 'Return a list of Spenders for testing post-Taproot activation behavior.', 'signature': 'def spenders_taproot_active():'}</s>ERR_SIG_SIZE = {"err_msg": "Invalid Schnorr signature size"}
1
{'name': 'SAPHash.hash@ap2/fairplay3.py', 'description': 'Expects a block of bytes, 210 bytes long.', 'signature': 'def hash(self, blockIn: bytes) -> bytes:'}</s>{'name': 'XOR_with_X_Key@ap2/fairplay3.py', 'description': 'DOCSTRING', 'code': 'def XOR_with_X_Key(inbytes, blocks):\n return flatten([XorBlocks(inbytes[i...
0
{'name': 'ExecutorEventEmitter.shutdown@pyee/executor.py', 'description': 'Call `shutdown` on the internal executor.', 'signature': 'def shutdown(self: Self, wait: bool = True) -> None:'}</s>Self = Any
1
{'name': 'get_operand_registers@peachpy/x86_64/operand.py', 'description': 'Returns a set of registers that comprise the operand', 'signature': 'def get_operand_registers(operand):'}</s>{'name': 'is_m64_m32bcst@peachpy/x86_64/operand.py', 'description': 'DOCSTRING', 'code': 'def is_m64_m32bcst(operand):\n return is_...
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': 'setup_timezone@src/rororo/settings.py', 'description': 'Shortcut helper to configure timezone for backend application.\n\n:param timezone: Timezone to use, e.g. "UTC", "Europe/Kiev".', 'signature': 'def setup_timezone(timezone: str) -> None:'}</s>{'name': 'iter_settings@src/rororo/settings.py', 'description':...
0
{'name': 'load_key_pubkey@src/M2Crypto/EVP.py', 'description': 'Load an M2Crypto.EVP.PKey from a public key as a file.\n\n:param file: Name of file containing the key in PEM format.\n\n:param callback: A Python callable object that is invoked\n to acquire a passphrase with which to protect the\n ...
0
{'name': 'gelu_new@tensorflow_tts/models/tacotron2.py', 'description': 'Smoother gaussian Error Linear Unit.', 'signature': 'def gelu_new(x):'}</s>{'name': 'TFTacotronEncoder@tensorflow_tts/models/tacotron2.py', 'description': 'Tacotron-2 Encoder.', 'base_classes': ['tf.keras.layers.Layer'], 'methods': [{'name': 'TFTac...
0
{'name': 'spatial_sampling@models/SlowFast/slowfast/datasets/utils.py', 'description': 'Perform spatial sampling on the given video frames. If spatial_idx is\n-1, perform random scale, random crop, and random flip on the given\nframes. If spatial_idx is 0, 1, or 2, perform spatial uniform sampling\nwith the given spati...
1
{'name': 'run@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`s...
0
{'name': 'check_singular_plural_cluster@analyze.py', 'description': 'Cluster with text ', 'signature': 'def check_singular_plural_cluster(cluster):'}</s>{'name': 'get_prediction@analyze.py', 'description': 'DOCSTRING', 'code': "def get_prediction(config_name, saved_suffix, gpu_id):\n runner = Runner(config_name, gpu...
0
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ...
0
{'name': 'is_arch_supported@python/taichi/lang/misc.py', 'description': 'Checks whether an arch is supported on the machine.\n\nArgs:\n arch (taichi_python.Arch): Specified arch.\n\nReturns:\n bool: Whether `arch` is supported on the machine.', 'signature': 'def is_arch_supported(arch):'}</s>kl = axes(2, 3)
0
{'name': 'LndNode.__init__@lndmanage/lib/node.py', 'description': ':param config_file: path to the config file\n:param lnd_home: path to lnd home folder\n:param lnd_host: lnd host of format "127.0.0.1:9735"\n:param regtest: if the node is representing a regtest node', 'signature': 'def __init__(self, config_file: Optio...
0
{'name': 'ParserElement.setDebugActions@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.', 'signature': 'def setDebugActions( self, startAction, successAction, exceptionAction ):'}</s>dblSlashComment = Regex(r"//(?:\\\n|[^\n])*")....
0
{'name': 'setup_platform@docker_monitor/sensor.py', 'description': 'Set up the Docker Sensor.', 'signature': 'def setup_platform(hass, config, add_entities, discovery_info=None):'}</s>_MONITORED_CONDITIONS = list(_UTILISATION_MON_COND.keys()) + \ list(_CONTAINER_MON_COND.keys())
0
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': 'ParseFloat@python/google/protobuf/text_format.py', 'description': "Parse a floating point n...
0
{'name': 'SimpleScrapingLocator.get_page@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/locators.py', 'description': "Get the HTML for an URL, possibly from an in-memory cache.\n\nXXX TODO Note: this cache is never actually cleared. It's assumed that\nthe data won't get stale over the lifetime of a loc...
0
{'name': 'IUSequenceRun.running@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Indicate if this sequence is running', 'signature': 'def running(self) -> bool:'}</s>STATUS_INITIALISING = "initialising"
0
{'name': 'run@rf/batch.py', 'description': 'Create example configuration file and tutorial or load config.\n\nAfter that call `run_commands`.', 'signature': 'def run(command, conf=None, tutorial=False, **kw):'}</s>PLOT_FNAMES = join('{root}', '{network}.{station}.{location}.{channel}.pdf')
0
{'name': 'make_default_config@atlas/make_config.py', 'description': 'generates a dict with all the default values, if they exist', 'signature': 'def make_default_config():'}</s>CONTAMINANT_MINIMUM_HITS = 1
1
{'name': 'IUSequence.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this sequence as a dict', 'signature': 'def as_dict(self, extended=False, sqr: IUSequenceRun = None) -> OrderedDict:'}</s>CONF_EVEN = "even"
0
{'name': 'getPath@apim-traffic-tool/lib/traffic-tool/src/python/gen_invoke_scenario.py', 'description': 'This function will return the invoke path for a given api and http method (for a single tenant environment)\n:param api_name: Name of the API\n:param method: Method of the API\n:return: Invoke path', 'signature': 'd...
0
{'name': 'build_datasets@chemprop/cli/train.py', 'description': 'build the train/val/test datasets, where :attr:`test_data` may be None', 'signature': 'def build_datasets(args, train_data, val_data, test_data):'}</s>{'name': 'ScaleTransform@chemprop/nn/transforms.py', 'description': 'DOCSTRING', 'base_classes': ['_Scal...
0
{'name': 'RelDetection.predict@network.py', 'description': 'Same code works for both pairwise or pointwise', 'signature': 'def predict(self, ques, paths, paths_rel1,paths_rel2, device):'}</s>{'name': 'BiLstmDot@network.py', 'description': 'DOCSTRING', 'base_classes': ['Model'], 'methods': [{'name': 'BiLstmDot.__init__@...
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': 'set_grism_dfilter@gr...
0
{'name': 'compute_bbox_stats@lib/rpn_util.py', 'description': 'Computes the mean and standard deviation for each regression\nparameter (usually pertaining to [dx, dy, sw, sh] but sometimes\nfor 3d parameters too).\n\nOnce these stats are known we normalize the regression targets\nto have 0 mean and 1 variance, to hypot...
1
{'name': 'ProcessFileData@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, ...
0
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': '_IsMessageMapField@python/google/protobuf/internal/python_message.py', 'description': 'DOCS...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQWDR_LENGTH_2 = 136
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>MQ_SSL_SHORT_PEER_NAME_LENGTH = 256
0
{'name': 'NewDatabase.__import_inventories@premise/new_database.py', 'description': 'This method will trigger the import of a number of pickled inventories\nand merge them into the database dictionary.', 'signature': 'def __import_inventories(self) -> List[dict]:'}</s>FILEPATH_HYDROGEN_WOODY_INVENTORIES = INVENTORY_DIR...
1
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces: Dict[str, Any], style: str) -> Dict[str, Any]:'}</s>CONFIG_ERROR = " setup.cfg is missing the necessary Versioneer configuration. You need a section like: [versioneer] VCS = g...
0
{'name': 'Reader.process_chunk@tools/gfx/png.py', 'description': 'Process the next chunk and its data. This only processes the\nfollowing chunk types, all others are ignored: ``IHDR``,\n``PLTE``, ``bKGD``, ``tRNS``, ``gAMA``, ``sBIT``, ``pHYs``.\n\nIf the optional `lenient` argument evaluates to `True`,\nchecksum fail...
0
{'name': '_transform_attrs@vendor/attr/_make.py', 'description': "Transform all `_CountingAttr`s on a class into `Attribute`s.\n\nIf *these* is passed, use that and don't look for them on the class.\n\n*collect_by_mro* is True, collect them in the correct MRO order, otherwise\nuse the old -- incorrect -- order. See #4...
0
{'name': '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': 'IsDerivedFunction@tools/cpplint.py', 'description': 'Check if current line contains an inherited function.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains a function with "override"\n virt-specifier...
0
{'name': 'AL_Node.add_sibling@treebeard/al_tree.py', 'description': 'Adds a new node as a sibling to the current node object.', 'signature': 'def add_sibling(self, pos=None, **kwargs):'}</s>{'name': 'get_result_class@treebeard/al_tree.py', 'description': "For the given model class, determine what class we should use fo...
1
{'name': 'help@new_api_example/echobot2.py', 'description': 'Send a message when the command /help is issued.', 'signature': 'def help(bot, update):'}</s>logger = logging.getLogger(__name__)
0
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'BitVecs@src/api/python/z3/z3.py', 'description': "Return a tuple of bit-vector constants of size bv.\n\n>>> x, y, z = BitVecs('...
0
{'name': 'func@python/taichi/lang/kernel_impl.py', 'description': 'Marks a function as callable in Taichi-scope.\n\nThis decorator transforms a Python function into a Taichi one. Taichi\nwill JIT compile it into native instructions.\n\nArgs:\n fn (Callable): The Python function to be decorated\n is_real_function ...
0
{'name': 'layout.hierarchical@py2cytoscape/cyrest/layout.py', 'description': 'Execute the Hierarchical Layout on a network.\n\n:param bandGap (string, optional): Band gap, in numeric value\n:param componentSpacing (string, optional): Component spacing, in numeric v\n alue\n:param EdgeAttribute (string, optional)...
0
{'name': 'NDArray._sync_copyfrom@aurora/ndarray/ndarray.py', 'description': 'Peform an synchronize copy from the array.\nParameters\n----------\nsource_array : array_like\n The data source we should like to copy from.', 'signature': 'def _sync_copyfrom(self, source_array):'}</s>{'name': 'is_gpu_ctx@aurora/ndarray/nd...
0
{'name': 'test_marker_hashable@voluptuous/tests/tests.py', 'description': 'Verify that you can get schema keys, even if markers were used', 'signature': 'def test_marker_hashable():'}</s>{'name': 'test_lower_util_handles_various_inputs@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_lower_util...
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': 'batch_find_pixel_correspondences@utils/correspondence_tools/correspondence_finder.py', 'description': 'Computes pixel correspondences in batch\n\n:param img_a_depth: depth image for image a\n:type img_a_depth: numpy 2d array (H x W) encoded as a uint16\n--\n:param img_a_pose: pose for image a, in right-down...
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': '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': 'PathCompositionInterface.__init__@furl/furl.py', 'description': 'Params:\n force_absolute: See Path._force_absolute.\n\nAssignments to <self> in __init__() must be added to\n__setattr__() below.', 'signature': 'def __init__(self, strict=False):'}</s>{'name': 'urljoin@furl/furl.py', 'description': 'Parameters...
0
{'name': 'GA.__init__@modestpy/estim/ga/ga.py', 'description': "The population can be initialized in various ways:\n- if `init_pop` is None, one individual is initialized using\n initial guess from `est`\n- if `init_pop` contains less individuals than `pop_size`,\n then the rest is random\n- if `init_pop` == `pop_siz...
0
{'name': 'update_payout_screen@displays/waveshare2in13v3.py', 'description': "Update the payout screen to reflect balance of deposited coins.\nScan the invoice??? I don't think so!", 'signature': 'def update_payout_screen():'}</s>lnurl_generation_2 = "codigo QR para escanear"
0
{'name': 'Metar._handlePressure@metar/Metar.py', 'description': 'Parse an altimeter-pressure group.\n\nThe following attributes are set:\n press [int]', 'signature': 'def _handlePressure( self, d ):'}</s>{'name': '_report_match@metar/Metar.py', 'description': 'Report success or failure of the given handler functi...
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': 'AutoTorrent.index_torrent@autotorrent/at.py', 'description': 'Indexes the files in the torrent.', 'signature': 'def index_torrent(self, torrent):'}</s>{'name': 'is_unsplitable@autotorrent/utils.py', 'description': 'Checks if a list of files can be considered unsplitable, e.g. VOB/IFO or scene release.\nThis m...
1
{'name': 'add_run_number@bidskit/translate.py', 'description': 'Safely add run number to BIDS stub\nAllow protocol translator to override auto run numbering\n\n:param bids_stub, str\n:param run_no, int\n:return: new_bids_stub, str', 'signature': 'def add_run_number(bids_stub, run_no):'}</s>{'name': 'safe_copy@bidskit/i...
0
{'name': 'API.authenticate@mygeotab/api.py', 'description': 'Authenticates against the API server.\n\n:raise AuthenticationException: Raises if there was an issue with authenticating or logging in.\n:raise MyGeotabException: Raises when an exception occurs on the MyGeotab server.\n:raise TimeoutException: Raises when t...
1
{'name': 'test_MultiBaseTilerFactory@src/titiler/core/tests/test_factories.py', 'description': 'test MultiBaseTilerFactory.', 'signature': 'def test_MultiBaseTilerFactory(rio):'}</s>{'name': 'create_colormap_dependency@src/titiler/core/titiler/core/dependencies.py', 'description': 'Create Colormap Dependency.', 'code':...
0
{'name': 'Note.print_cards@src/apyanki/note.py', 'description': 'Print list of cards to screen', 'signature': 'def print_cards(self) -> None:'}</s>{'name': 'Note@src/apyanki/note.py', 'description': 'A Note wrapper class', 'base_classes': [], 'methods': [{'name': 'Note.__init__@src/apyanki/note.py', 'description': 'DOC...
1
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i...
0
{'name': 'ReplaceByFeeTest.test_too_many_replacements@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>{'name': 'CInv@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'base_classes'...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMD_COPY_AUTH_INFO = 80
0
{'name': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>gateway_protocol = _get_value(_extconf, 'Gateway', 'protocol', 'http')
0
{'name': 'DataContext.rebuild_db@disdat/data_context.py', 'description': "For this context, read in all pb's and rebuild tables.\nAll state is immutable.\n1.) Read in all HFrame PBs\n2.) Ensure that each HFrame PB is WEAKLY consistent -- file names corresponding to the\nframes are on disk (but we do not check their con...
0
{'name': 'on_restore_database@src/server/server.py', 'description': 'Restore database.', 'signature': 'def on_restore_database(data):'}</s>{'name': 'shutdown_button_pressed@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def shutdown_button_pressed():\n logger.debug("Detected shutdown button pressed")\n ...
0
{'name': 'indentedBlock@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining space-delimited indentation blocks, such as\nthose used to define block statements in Python source code.\n\nParameters:\n - blockStatementExpr - expression defining syntax of statement that\n ...
0
{'name': 'test_testosterone@permute/data/tests/test_data.py', 'description': 'Test that "testosterone" data can be loaded. ', 'signature': 'def test_testosterone():'}</s>{'name': 'germina@permute/data/__init__.py', 'description': 'The\n\n ', 'code': 'def germina():\n """The\n\n """\n return load(_os.path.jo...
0
{'name': 'get_formatted_scans_key_row@heudiconv/bids.py', 'description': 'Parameters\n----------\ndcm_fn: str\n\nReturns\n-------\nrow: list\n [ISO acquisition time, performing physician name, random string]', 'signature': 'def get_formatted_scans_key_row(dcm_fn: str | Path) -> list[str]:'}</s>{'name': 'BIDSError@he...
0
{'name': 'convert@ytmdl/core.py', 'description': 'Convert the song into the proper format as asked by\nthe user.', 'signature': 'def convert('}</s>{'name': 'get_song_name_to_save@ytmdl/song.py', 'description': 'Get the song name to save the song with.', 'code': 'def get_song_name_to_save(name: str, format: str) -> str:...
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': 'rpc_auth_pair@qa/rpc-tests/test_framework/util.py', 'description...
0
{'name': 'search_model@examples/ga/search_model_layout_and_params.py', 'description': 'This is where we put everythin together.\nWe get the dataset, build the Training and Experiment objects, and run the experiment.\nThe experiments logs are generated in ~/minos/experiment_label\nWe use the CpuEnvironment to have the e...
0
{'name': 'BehaveRestfulApp.initialize_context@behave_restful/app.py', 'description': 'Initializes the provide context object exposing through it relevant\ndirectories and services. \n\n:param context:\n A behave context object.\n:param test_dir:\n Directory where the tests are located. This is, usually, the \n ...
0
{'name': 'get_identity@guardian/utils.py', 'description': 'Get a tuple with the identity of the given input.\n\nReturns a tuple with one of the members set to `None` depending on whether the input is\na `Group` instance or a `User` instance.\nAlso accepts AnonymousUser instance but would return `User` instead.\nIt is c...
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': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_...
0
{'name': 'prettyFrameStack@boxx/tool/toolLog.py', 'description': 'get frame return pretty str of stack\n\n>>> prettyFrameLocation(frame)\n__init__ <-f <-ff <-demo.py\n\nParameters\n----------\nframe : frame or int, default 0\n if int:相对于调用此函数frame的 int 深度的对应frame\nendByMain : bool, default True\n 为 True 则在第一个 fra...
0