text string | label int64 |
|---|---|
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'attr_equals_val@src/python_scripts/afnipy/afni_util.py', 'description': 'return 1 of the object has attribute attr... | 0 |
{'name': 'IUCoordinator.service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Entry point for all service calls.', 'signature': 'def service_call('}</s>CONF_PREAMBLE = "preamble" | 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': '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': 'district_stats_to_OD_df@Criticality/PCS/Criticality/network_lib/od_prep.py', 'description': 'Calculating OD flow for one production-attraction pair. Gravity model with euclidean distance\nbetween centroids are used to calculate the OD flow. Absolute number of the production driver\nis preserved (e.g. goods fl... | 0 |
{'name': 'setup@jupyter_sphinx/__init__.py', 'description': 'A temporary setup function so that we can use it here and in execute.\n\nThis should be removed and converted into `setup` after a deprecation\ncycle.', 'signature': 'def setup(app: Sphinx):'}</s>{'name': 'visit_element_html@jupyter_sphinx/__init__.py', 'desc... | 1 |
{'name': 'Modules@vimdoc/module.py', 'description': 'Creates modules from a plugin directory.\n\nNote that there can be many, if a plugin has standalone parts that merit their\nown helpfiles.\n\nArgs:\n directory: The plugin directory.\nYields:\n Module objects as necessary.', 'signature': 'def Modules(directory):'}<... | 0 |
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>ND_ROUTER_SOLICIT = 133 | 0 |
{'name': 'main@get-filters.py', 'description': 'Helps make a local backup of all lables.', 'signature': 'def main():'}</s>{'name': 'mails_by_query@_google_/gmail/__init__.py', 'description': 'List all Messages of the user\'s mailbox matching the query.\n\nArgs:\n messages_obj: Authenticated GMail user object.\n user_... | 0 |
{'name': 'Board.get_money_score@rts/src/Board.py', 'description': '1. of 3 functions that define elo rating of specified player. This one takes into account only players money count\n:param player: player that requires to know his money count\n:return: money count for specified player', 'signature': 'def get_money_scor... | 0 |
{'name': 'TestAddressNormalizationUtils.test_pre_clean_addr_str@scourgify/tests/test_address_normalization.py', 'description': 'Test pre_clean_addr_str function', 'signature': 'def test_pre_clean_addr_str(self):'}</s>ADDRESS_KEYS = (
'address_line_1', 'address_line_2', 'city', 'state', 'postal_code'
) | 0 |
{'name': 'MultilingualQuerySet._rewrite_where@modeltranslation/manager.py', 'description': 'Rewrite field names inside WHERE tree.', 'signature': 'def _rewrite_where(self, q: Lookup | Node) -> None:'}</s>{'name': 'FallbackNamedValuesListIterable@modeltranslation/manager.py', 'description': 'DOCSTRING', 'base_classes': ... | 0 |
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'BVRedOr@src/api/python/z3/z3.py', 'description': 'Return the reduction-or expression of `a`.', 'code': 'def BVRe... | 0 |
{'name': 'DescriptorPool._SetFieldType@third_party/dawn/third_party/protobuf/python/google/protobuf/descriptor_pool.py', 'description': "Sets the field's type, cpp_type, message_type and enum_type.\n\nArgs:\n field_proto: Data about the field in proto format.\n field_desc: The descriptor to modify.\n package: The pa... | 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': 'u32@gef.py', 'description': 'Unpack one dword respecting the current architecture endianness.', 'code': 'def u32(x: bytes, s: b... | 0 |
{'name': 'RedisDB.__init__@spider/db/redisdb.py', 'description': 'redis的封装\nArgs:\n ip_ports: ip:port 多个可写为列表或者逗号隔开 如 ip1:port1,ip2:port2 或 ["ip1:port1", "ip2:port2"]\n db:\n user_pass:\n url:\n decode_responses:\n service_name: 适用于redis哨兵模式', 'signature': 'def __init__('}</s>PROXY_EXTRACT_API = None | 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': '_Command._decode_transfer_data@pyocd/probe/pydapaccess/dap_access_cmsis_dap.py', 'description': 'Take a byte array and extract the data from it\n\nDecode the response returned by a DAP_Transfer CMSIS-DAP command\nand return it as an array of bytes.', 'signature': 'def _decode_transfer_data(self, data):'}</s>L... | 0 |
{'name': 'TrimmedMatchDesignTest.testOutputCandidateDesignWithMissingObservationDifferentPeriods@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks that no error is raised if missing observation are present.', 'signature': 'def testOutputCandidateDesignWithMissingObservationDifferentPeriod... | 0 |
{'name': 'NamespaceLookupTestCase.test_scope_ambiguity_after_using_lookup_with_run_command@tools/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py', 'description': 'Test scope lookup ambiguity after using in lldb.', 'signature': 'def test_scope_ambiguity_after_using_lookup_with_run_command(s... | 0 |
{'name': 'main@tw_cli.py', 'description': 'Parses command line options and calls the function to test the arrays/drives', 'signature': 'def main():'}</s>METRIC_PREFIX = "tw_cli" | 0 |
{'name': 'printb@src/python/bcc/utils.py', 'description': 'printb(s)\n\nprint a bytes object to stdout and flush', 'signature': 'def printb(s, file=sys.stdout, nl=1):'}</s>{'name': 'detect_language@src/python/bcc/utils.py', 'description': 'DOCSTRING', 'code': 'def detect_language(candidates, pid):\n res = lib.bcc_pr... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_CHLAUTH_NOT_FOUND = 3338 | 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': 'get_configured_hrnet@mseg_semantic/model/seg_hrnet.py', 'description': 'Args:\n n_classes: integer representing number of output classes.\n load_imagenet_model: whether to initialize from ImageNet-pretrained model.\n imagenet_ckpt_fpath: string representing path to file with weights to\n initi... | 0 |
{'name': 'test_gossip@test.py', 'description': 'Create a network of lightningd nodes and connect to it using 2 new nodes\n ', 'signature': 'def test_gossip(node_factory, bitcoind, impls):'}</s>{'name': 'node_factory@fixtures.py', 'description': 'DOCSTRING', 'code': 'def node_factory(request, bitcoind):\n executor... | 1 |
{'name': 'has_perfect_mapping@scripts/genotype_with_reference.py', 'description': 'Returns True if the given pysam read maps perfectly.\n\nA "perfect" mapping is either a mapping quality greater than zero and no\nmore than 2% mismatches or a full-length alignment of the read without any\nmismatches. Also consider soft-... | 0 |
{'name': '_FunctionDataTypeDef.__call__@lib/rule_engine/types.py', 'description': '.. versionadded:: 4.0.0\n\n:param str name: The name of the function, e.g. "split".\n:param return_type: The data type of the functions return value.\n:param tuple argument_types: The data types of the functions arguments.\n:param int mi... | 0 |
{'name': '_play@Projects/3_Adversarial Search/isolation/__init__.py', 'description': 'Run a match between two agents by alternately soliciting them to\nselect a move and applying it to advance the game state.\n\nParameters\n----------\nagents : tuple\n agents[i] is an instance of isolation.Agent class (namedtuple)\n... | 0 |
{'name': 'IopyCompatibilityTests.test_enum_field_cast_not_done_at_init@tests/iopy/z_iopy.py', 'description': 'Test enum cast from string an int is not done directly when setting\nthe field, but when the conversion to C is done', 'signature': 'def test_enum_field_cast_not_done_at_init(self) -> None:'}</s>{'name': 'IopyC... | 1 |
{'name': 'rmtree@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/_backport/shutil.py', 'description': 'Recursively delete a directory tree.\n\nIf ignore_errors is set, errors are ignored; otherwise, if onerror\nis set, it is called to handle the error with arguments (func,\npath, exc_info) where func is... | 0 |
{'name': 'RunningRecipe.runStep@backend/recipes/base.py', 'description': 'Run the current step of the recipe. The actual step advancement management is left\nto the other methods. If you call this method twice for the same step, that step\nwill be executed twice.\n\n:return:\nlist\n boolean\n Whether or not t... | 1 |
{'name': 'main@3rdparty/mongo-c-driver-1.26.2/build/calc_release_version.py', 'description': 'The algorithm is roughly:\n\n - Is the --next-minor flag passed? If "yes", then return the next minor\n release with a pre-release marker.\n - Is the current HEAD associated with a tag that looks like a release\n ... | 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 |
{'name': 'ButtonTypedI2c.size@grove/button/button_i2c.py', 'description': 'Get the button count the device have.\n\nReturns:\n (int): button count', 'signature': 'def size(self):'}</s>_CMD_EVENT_DET_MODE = 2 | 0 |
{'name': 'Annotation.get_available_label_stores@wfdb/io/annotation.py', 'description': "Get the label store values that may be used\nfor writing this annotation.\n\nAvailable store values include:\n- the undefined values in the standard WFDB labels\n- the store values not used in the current\n annotation object.\n- th... | 0 |
{'name': 'on_restart_server@src/server/server.py', 'description': 'Re-execute the current process.', 'signature': 'def on_restart_server():'}</s>{'name': 'on_generate_heats_v2@src/server/server.py', 'description': 'Run the selected Generator', 'code': 'def on_generate_heats_v2(data):\n \'\'\'Run the selected Generat... | 0 |
{'name': 'Bottle.route@src/back/kite/bottle.py', 'description': "A decorator to bind a function to a request URL. Example::\n\n @app.route('/hello/:name')\n def hello(name):\n return 'Hello %s' % name\n\nThe ``:name`` part is a wildcard. See :class:`Router` for syntax\ndetails.\n\n:param path: Request path... | 1 |
{'name': 'main@bin/check_assembly_samplesheet.py', 'description': 'Coordinate argument parsing and program execution.', 'signature': 'def main(argv=None):'}</s>{'name': 'read_head@bin/check_assembly_samplesheet.py', 'description': 'Read the specified number of lines from the current position in the file.', 'code': 'def... | 0 |
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p... | 0 |
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W... | 0 |
{'name': 'GTestFailFastUnitTest.testFlag_HasParametersTest@third-party/googletest/googletest/test/googletest-failfast-unittest.py', 'description': 'Tests the behavior of fail_fast and TEST_P.', 'signature': 'def testFlag_HasParametersTest(self):'}</s>_flag_map = {'source_dir': os.path.dirname(sys.argv[0]),
... | 0 |
{'name': 'make_game@reversibility/pycolab/pycolab/examples/warehouse_manager.py', 'description': 'Builds and returns a Warehouse Manager game for the selected level.', 'signature': 'def make_game(level):'}</s>{'name': 'main@reversibility/pycolab/pycolab/examples/warehouse_manager.py', 'description': 'DOCSTRING', 'code'... | 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>RAW_PATCHES_DIR_TO_GET_HEATMAPS = HEATMAP_DATA_DIR + "raw_input/" | 0 |
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested... | 1 |
{'name': 'ingest_to_adx@databricks-adx-integration/src/code/functions/adxingestp2/__app__/dataingest/__init__.py', 'description': 'Trigger ADX to ingest the specified file in Azure Data Lake\nPrepare ADX ingestion meta-data\n:param file_path: The full path of blob file\n:param file_size: The full size of blob file\n:pa... | 0 |
{'name': 'Model_latency.calculate_model_latency@MNSIM/Latency_Model/Model_latency.py', 'description': 'merge the latency_0 and latency_1\n:param mode: 0: fill in input data row by row, 1: fill in input data kerlenl size by kernel size (column direction)\n:return:', 'signature': 'def calculate_model_latency(self, mode=0... | 0 |
{'name': 'make_html_table@grizli/aws/db.py', 'description': ' ', 'signature': 'def make_html_table(engine=None, columns=[\'root\', \'status\', \'id\', \'p_ra\', \'p_dec\', \'mag_auto\', \'flux_radius\', \'z_spec\', \'z_map\', \'bic_diff\', \'chinu\', \'log_pdf_max\', \'d4000\', \'d4000_e\'], where="AND status >= 5 A... | 0 |
{'name': 'vae_append@util.py', 'description': 'Assume that the vae uses an isotropic Gaussian for its prior and diagonal\nGaussian for its posterior.', 'signature': 'def vae_append(latent_shape, gen_net, rec_net, obs_append, prior_prec=8,'}</s>{'name': 'generate_beta_binomial_probs@util.py', 'description': 'DOCSTRING',... | 0 |
{'name': 'model.fit@video/train/model.py', 'description': 'checking', 'signature': 'def fit(self, train_iter, optimizer, lr_scheduler,'}</s>{'name': 'EvalMetric@video/train/metric.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'EvalMetric.__init__@video/train/metric.py', 'description'... | 0 |
{'name': 'create_yaml@hokusai/commands/review_app.py', 'description': 'create yaml for review app ', 'signature': 'def create_yaml(source_file, app_name):'}</s>{'name': 'yaml_content_with_header@hokusai/lib/common.py', 'description': 'return content with yaml header prepended ', 'code': "def yaml_content_with_header(co... | 1 |
{'name': 'eval_ctx@persia/ctx.py', 'description': 'Get the :class:`EmbeddingCtx` with the :attr:`.EVAL` mode.', 'signature': 'def eval_ctx(*args, **kwargs) -> EmbeddingCtx:'}</s>{'name': 'reload_env@persia/env.py', 'description': 'Reload the environment.', 'code': 'def reload_env():\n """Reload the environment."""\n... | 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': 'Fairplay3.cycle@ap2/fairplay3.py', 'description': 'key_schedule is a 2d array of integral values', 'signature': 'def cycle(self, block: bytes, key_schedule: bytes):'}</s>{'name': 'tableIndex@ap2/fairplay3.py', 'description': 'DOCSTRING', 'code': 'def tableIndex(i: int) -> bytes:\n return table_s1[((31 * i)... | 0 |
{'name': 'test_suite@setup.py', 'description': 'Defines the test suite for the snowflake ingest SDK', 'signature': 'def test_suite():'}</s>here = os.path.abspath(os.path.dirname(__file__)) | 0 |
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 0 |
{'name': 'Client.add_archive_stream@opentok/opentok.py', 'description': 'This method will add streams to the archive with addStream for new participant(choosing audio, video or both).\n\n:param String archive_id: the ID of the archive that will be updated\n:param String stream_id: the id of the stream that will get add... | 0 |
{'name': 'generate_routes_go@swagger_to/go_server.py', 'description': 'Generate the file which defines the router and the routes.\n\n:param package: name of the package\n:param routes: routes that the router will handle.\n:return: Golang code', 'signature': 'def generate_routes_go(package: str, routes: List[Route]) -> ... | 0 |
{'name': 'test_trino_query_response_headers@tests/unit/test_client.py', 'description': 'Validates that the `TrinoQuery.execute` function can take addtional headers\nthat are pass the the provided request instance post function call and it\nreturns a `TrinoResult` instance.', 'signature': 'def test_trino_query_response_... | 0 |
{'name': 'addLevelName@Monika After Story/game/python-packages/logging/__init__.py', 'description': "Associate 'levelName' with 'level'.\n\nThis is used when converting levels to text during message formatting.", 'signature': 'def addLevelName(level, levelName):'}</s>{'name': 'Handler@Monika After Story/game/python-pac... | 0 |
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'infer_init_method@fairseq/distributed/utils.py', 'description': 'DOCSTRING', 'code': 'def infer_init_method(cfg: DistributedTrainingConfig, force_dist... | 0 |
{'name': 'CellDivision.DoCellDivisionStochSim@stochpy/modules/StochPyCellDivision.py', 'description': "Do stochastic simulations with cell growth and cell division.\n\nInput:\n - *mode* [default = 'generations'] (str) ['generations,'time','steps']\n - *end* (integer) [default = None]\n - *method* (str) [default = False... | 1 |
{'name': 'gen_graph@pyrgg/__main__.py', 'description': 'Generate a single graph.\n\n:param input_dict: input data\n:type input_dict: dict\n:param file_name: file name\n:type file_name: str\n:return: None', 'signature': 'def gen_graph(input_dict, file_name):'}</s>{'name': 'handle_output_format@pyrgg/functions.py', 'desc... | 0 |
{'name': 'load_excel@src/attributecode/util.py', 'description': 'Read XLSX at `location`, return a list of ordered dictionaries, one\nfor each row.', 'signature': 'def load_excel(location, worksheet=None):'}</s>{'name': 'wrap_boolean_value@src/attributecode/util.py', 'description': 'DOCSTRING', 'code': 'def wrap_boolea... | 0 |
{'name': 'Serial.write@serial/serialwin32.py', 'description': 'Output the given byte string over the serial port.', 'signature': 'def write(self, data):'}</s>EV_RXFLAG = 2 | 0 |
{'name': 'Initializer.init_module@src/Pix2Pix/Pix2Pix.py', 'description': 'Parameters: \n m: Module', 'signature': 'def init_module(self, m):'}</s>{'name': 'Discriminator@src/Pix2Pix/Pix2Pix.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], 'methods': [{'name': 'Discriminator.__init__@src/Pix2Pix/Pix2P... | 0 |
{'name': 'build_timespan@yaql/standard_library/date_time.py', 'description': ':yaql:timespan\n\nReturns timespan object with specified args.\n\n:signature: timespan(days => 0, hours => 0, minutes => 0, seconds => 0,\n milliseconds => 0, microseconds => 0)\n:arg days: number of days in timespan, 0 by... | 0 |
{'name': 'Connection.send_with_data_passthrough@h11/_connection.py', 'description': 'Identical to :meth:`send`, except that in situations where\n:meth:`send` returns a single :term:`bytes-like object`, this instead\nreturns a list of them -- and when sending a :class:`Data` event, this\nlist is guaranteed to contain th... | 0 |
{'name': 'Muse._handle_gyro@muselsl/muse.py', 'description': 'Handle incoming gyroscope data.\n\nsampling rate: ~17 x second (3 samples in each message, roughly 50Hz)', 'signature': 'def _handle_gyro(self, handle, packet):'}</s>{'name': 'BleakDevice@muselsl/backends.py', 'description': 'DOCSTRING', 'base_classes': [], ... | 0 |
{'name': 'SO2._restrict_irrep@e2cnn/group/groups/so2group.py', 'description': 'Restrict the input irrep to the subgroup :math:`C_M` with order "M".\nMore precisely, it restricts to the subgroup generated by :math:`2 \\pi /order`.\n\nThe method takes as input the integer :math:`M` identifying of the subgroup to build (t... | 0 |
{'name': 'CheckStyle@scripts/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n ... | 0 |
{'name': 'ServiceInfo.request@stino/pyarduino/base/zeroconf.py', 'description': 'Returns true if the service could be discovered on the\nnetwork, and updates this object with details discovered.', 'signature': 'def request(self, zc, timeout):'}</s>_TYPE_A = 1 | 1 |
{'name': 'Doc.textarea@Others_Labs/code/SurveySubmit/yattag/doc.py', 'description': "required attribute: 'name'", 'signature': 'def textarea(self, *args, **kwargs):'}</s>{'name': '_attrs_from_args@Others_Labs/code/SurveySubmit/yattag/doc.py', 'description': 'DOCSTRING', 'code': 'def _attrs_from_args(required_keys, *arg... | 1 |
{'name': 'SegWitTest.test_uncompressed_pubkey@test/functional/p2p_segwit.py', 'description': 'Test uncompressed pubkey validity in segwit transactions.\n\nUncompressed pubkeys are no longer supported in default relay policy,\nbut (for now) are still valid in blocks.', 'signature': 'def test_uncompressed_pubkey(self):'}... | 0 |
{'name': 'MergeDirectoryTask._handle_remote_file_with_record@onedrive_client/od_tasks/merge_dir.py', 'description': ':param onedrivesdk.model.item.Item remote_item:\n:param onedrive_client.od_repo.ItemRecord item_record:\n:param posix.stat_result | None item_stat:\n:param str item_local_abspath:\n:param [str] all_local... | 0 |
{'name': '_ClassifyInclude@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than ""... | 0 |
{'name': 'Serial.reset_output_buffer@serial/serialwin32.py', 'description': 'Clear output buffer, aborting the current output and discarding all\nthat is in the buffer.', 'signature': 'def reset_output_buffer(self):'}</s>EV_RLSD = 32 | 0 |
{'name': 'test_second_hoisted_setting_is_applied@test/io/test_io.py', 'description': 'test that statement_timeout is applied and work_mem is not applied', 'signature': 'def test_second_hoisted_setting_is_applied(defaultenv):'}</s>{'name': 'test_admin_ready_includes_schema_cache_state@test/io/test_io.py', 'description':... | 0 |
{'name': 'create_app@app/app.py', 'description': 'Flask app factory.', 'signature': 'def create_app(package_name,'}</s>{'name': 'register_blueprints@app/app.py', 'description': 'Register all blueprints.', 'code': 'def register_blueprints(app):\n """Register all blueprints."""\n app.register_blueprint(main_bluepri... | 1 |
{'name': 'CCPimage.prep_data@rfpy/ccp.py', 'description': 'Method to pre-process the data and calculate the CCP points for each \nof the receiver functions. Pre-processing includes the binning to\nback-azimuth and slowness bins to reduce processing time and generate\ncleaner stacks, as well as filtering to emphasize th... | 1 |
{'name': 'create_user@backend/app/crud.py', 'description': 'Create a new user.', 'signature': 'def create_user(db: Session, data: schemas.UserCreate):'}</s>{'name': 'SkillBase@backend/app/schemas.py', 'description': 'DOCSTRING', 'base_classes': ['BaseModel'], 'methods': []} | 0 |
{'name': 'CustomMainWidget.reinstallMods@src/gui/main_widget.py', 'description': 'Reinstalls selected mods', 'signature': 'def reinstallMods(self):'}</s>{'name': 'MessageUnsupportedOSAction@src/gui/alerts.py', 'description': 'Shows alert that an action is not supported on the OS', 'code': 'def MessageUnsupportedOSActio... | 0 |
{'name': 'OpinionStandardModel._GetDataForAttribute@pxr/usdQt/opinionModel.py', 'description': 'Parameters\n----------\nproxy : UsdQtProxyBase\ncolumn : str\nrole : QtCore.Qt.ItemDataRole\n\nReturns\n-------\nOptional[Any]', 'signature': 'def _GetDataForAttribute(self, proxy, column, role):'}</s>{'name': 'OpinionStanda... | 1 |
{'name': 'list_dfu_devices@tools/pydfu.py', 'description': 'Prints a lits of devices detected in DFU mode.', 'signature': 'def list_dfu_devices(*args, **kwargs):'}</s>__VID = 1155 | 0 |
{'name': 'comment@AO3/utils.py', 'description': 'Leaves a comment on a specific work\n\nArgs:\n commentable (Work/Chapter): Chapter/Work object\n comment_text (str): Comment text (must have between 1 and 10000 characters)\n fullwork (bool): Should be True if the work has only one chapter or if the comment is t... | 0 |
{'name': 'ExternalScenario.regionalize_inventories@premise/external.py', 'description': 'Produce IAM region-specific version of the dataset.\n:param regions: list of regions to produce datasets for', 'signature': 'def regionalize_inventories(self, ds_names, regions, data: dict) -> None:'}</s>{'name': 'dictionary_merge@... | 0 |
{'name': 'networkd_netdevs@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd NetDev configuration.\n\nThe format is compatible with the systemd_networkd_netdev variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: Lis... | 0 |
{'name': 'Grid.face_node_connectivity@uxarray/grid/grid.py', 'description': 'Indices of the nodes that make up each face.\n\nDimensions: ``(n_face, n_max_face_nodes)``\n\nNodes are in counter-clockwise order.', 'signature': 'def face_node_connectivity(self) -> xr.DataArray:'}</s>SPHERICAL_COORD_NAMES = [
"node_lon"... | 0 |
{'name': 'About.dump_lic@src/attributecode/model.py', 'description': 'Write LICENSE files and return the a list of key, name, context and the url\nas these information are needed for the ABOUT file', 'signature': 'def dump_lic(self, location, license_dict):'}</s>{'name': 'save_as_csv@src/attributecode/model.py', 'descr... | 0 |
{'name': 'render_pep440_pre@pyevtk/_version.py', 'description': 'TAG[.post0.devDISTANCE] -- No -dirty.\n\nExceptions:\n1: no tags. 0.post0.devDISTANCE', 'signature': 'def render_pep440_pre(pieces):'}</s>{'name': 'versions_from_parentdir@pyevtk/_version.py', 'description': 'Try to determine the version from the parent d... | 0 |
{'name': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'PieInfoCommand@gef.py', 'description': 'Display breakpoint info.', 'base_classes': ['GenericCommand'], 'meth... | 0 |
{'name': 'saveRGBChannels@tensorflow/tools/tilecreator.py', 'description': 'data: shape[y,x,c]\nchannels: list of triples of channel ids saved as RGB image', 'signature': 'def saveRGBChannels(data, path, channel_list, imageCounter=0):'}</s>AOPS_KEY_ROTATE = "rot" | 0 |
{'name': 'gis_prepro_tasks@oggm/workflow.py', 'description': 'Run all flowline preprocessing tasks on a list of glaciers.\n\nParameters\n----------\ngdirs : list of :py:class:`oggm.GlacierDirectory` objects\n the glacier directories to process', 'signature': 'def gis_prepro_tasks(gdirs):'}</s>{'name': 'FluxBasedMode... | 0 |
{'name': 'process_line@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have an effect\nare from SUPPOR... | 0 |
{'name': '_GHParam.from_input@src/ghhops-server-py/ghhops_server/params.py', 'description': 'Extract parameter data from serialized input', 'signature': 'def from_input(self, input_data):'}</s>{'name': 'HopsBoolean@src/ghhops-server-py/ghhops_server/params.py', 'description': 'Wrapper for GH_Boolean', 'base_classes': [... | 0 |
{'name': 'GotoRelativeCommand.run@xpath.py', 'description': 'Move cursor(s) to specified relative tag(s).', 'signature': "def run(self, edit, **kwargs): # example usage from python console: sublime.active_window().active_view().run_command('goto_relative', {'direction': 'prev', 'goto_element': 'names'})"}</s>{'name': '... | 0 |
{'name': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'GefTmuxSetup@gef.py', 'description': 'Setup a comfortable tmux debugging environment.', 'base_classes': ['gdb.Command'], 'methods': [{'name': 'GefTmuxSetup.__init__@gef.py', 'descripti... | 0 |
{'name': 'ContentDircmp.phase3@tests/test_scenarios.py', 'description': 'Find out differences between common files.\nEnsure we are using content comparison with shallow=False.', 'signature': 'def phase3(self):'}</s>{'name': 'print_diff_of_files@tests/test_scenarios.py', 'description': 'DOCSTRING', 'code': 'def print_di... | 0 |
{'name': '_determine_arch_and_proj@s2e_env/commands/new_project.py', 'description': "Check that the given target is supported by S2E.\n\nThe target's magic is checked to see if it is a supported file type (e.g.\nELF, PE, etc.). The architecture and operating system that the target was\ncompiled for (e.g., i386 Windows,... | 1 |
{'name': 'TaggedItemManager.get_by_model@tagging/models.py', 'description': 'Create a ``QuerySet`` containing instances of the specified\nmodel associated with a given tag or list of tags.', 'signature': 'def get_by_model(self, queryset_or_model, tags):'}</s>FORCE_LOWERCASE_TAGS = getattr(settings, 'FORCE_LOWERCASE_TAG... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.