text
string
label
int64
{'name': 'sort_endpoints@components/generate_PAPIschemas_from_OneFSSource.py', 'description': 'Endpoints should be sorted so that endpoints with different PAPI_versions should be adjacent E.x:\n"/12/upgrade/cluster/upgrade",\n"/3/upgrade/cluster/upgrade",\n"/5/upgrade/cluster/upgrade",\n"/7/upgrade/cluster/upgrade",\n"...
0
{'name': 'train_network@api/Api.py', 'description': 'Train a new neural model with the zip file provided\n:param folder_uncompress:\n:param zip_file:\n:param clf:\n:return:', 'signature': 'def train_network(folder_uncompress, zip_file, clf, DETECTION_MODEL, JITTER, encoding_models):'}</s>{'name': 'print_prediction_on_i...
0
{'name': 'ProcessFileData@runtimes/compiler-rt/lib/sanitizer_common/scripts/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:...
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': 'TestStrictWrapper.test_strict_wrapper@responses/tests/test_responses.py', 'description': 'Test that assert_all_requests_are_fired could be applied to the decorator.', 'signature': 'def test_strict_wrapper(self):'}</s>{'name': 'Call@responses/__init__.py', 'description': 'DOCSTRING', 'base_classes': ['NamedTup...
0
{'name': 'Knode.get_node@kabuki/hierarchical.py', 'description': "Return the node that depends on the same elements.\n\nCalled by the child to receive specific parent node.\n\n:Arguments:\n col_to_elem : dict\n Maps column names to elements.\n e.g. {'col1': 'elem1', 'col2': 'elem2', 'col3': 'elem3'}", ...
1
{'name': 'Message.from_dict@src/betterproto/__init__.py', 'description': 'Parse the key/value pairs into the current message instance. This returns the\ninstance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nvalue: Dict[:class:`str`, Any]\n The dictionary to parse from.\n\nReturns\n--...
0
{'name': '_NamespaceInfo.CheckEnd@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check end of namespace comments.', 'signature': 'def CheckEnd(self, filename, clean_lines, linenum, error):'}</s>{'name': 'FindStartOfExpressionInLine@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Find position at the ...
0
{'name': 'ProcessLine@scripts/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n ...
0
{'name': 'BinFile.read@wntr/epanet/io.py', 'description': 'Read a binary file and create a results object.\n\nParameters\n----------\nfilename : str\n An EPANET BIN output file\nconvergence_error: bool (optional)\n If convergence_error is True, an error will be raised if the\n simulation does not converge. If ...
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 ...
1
{'name': 'HindcastEnsemble.remove_bias@src/climpred/classes.py', 'description': 'Remove bias from :py:class:`.HindcastEnsemble`.\n\nBias is grouped by ``seasonality`` set via\n:py:class:`~climpred.options.set_options`. When wrapping\n:py:class:`xclim.sdba.adjustment.TrainAdjust` use ``group`` instead.\n\nArgs:\n ali...
0
{'name': 'compute_E_HF_simple@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'Computes HF energy of reference state\nparam Nocc, sp_basis, dk: particle number, integer s.p. lattice, delta k \nreturn: total HF energy', 'signature': 'def compute_E_HF_simple(Nocc,sp_basis,dk):'}</s>{'name': 'Tkin@doc...
0
{'name': 'test_LocalstackSession_service_hostname@tests/unit/test_session.py', 'description': 'Test pytest_localstack.session.LocalstackSession.service_hostname.', 'signature': 'def test_LocalstackSession_service_hostname(service_name, not_service_name):'}</s>{'name': 'test_RunningSession_endpoint_url@tests/unit/test_s...
0
{'name': 'flatten_map@transit/writer.py', 'description': "Expand a dictionary's items into a flat list\n ", 'signature': 'def flatten_map(m):'}</s>{'name': 'MsgPackMarshaler@transit/writer.py', 'description': "The Marshaler tailor to MsgPack. To use this Marshaler, specify the\n'msgpack' protocol when creating a Wr...
0
{'name': 'p_identifier_list@ctypesgen/parser/cgrammar.py', 'description': 'identifier_list : IDENTIFIER\n| identifier_list COMMA IDENTIFIER', 'signature': 'def p_identifier_list(p):'}</s>{'name': 'p_init_declarator@ctypesgen/parser/cgrammar.py', 'description': 'init_declarator : declarator gcc_attributes\n| declarator ...
0
{'name': 'SimulateMPS1DExpectationTest.test_correctness_empty@tensorflow_quantum/core/ops/math_ops/simulate_mps_test.py', 'description': 'Tests the mps op with empty circuits.', 'signature': 'def test_correctness_empty(self):'}</s>_SUPPORTED_CHANNELS = [ cirq.AsymmetricDepolarizingChannel, cirq.AmplitudeDamping...
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>MQCA_BACKOUT_REQ_Q_NAME = 2019
0
{'name': 'Container.image_not_exists@infraform/platforms/container.py', 'description': 'Returns true if image exists.', 'signature': 'def image_not_exists(self):'}</s>{'name': 'general_usage@infraform/exceptions/usage.py', 'description': 'Returns general usage string.', 'code': 'def general_usage():\n """Returns gen...
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>nocoin_screen_3 = "Münzen ein"
0
{'name': '_export_polytope@contrib/xml/xmlio.py', 'description': 'Builds an XML tree from a polytope.\n\n@param poly:\n polytope to export\n@return:\n `None` (if parent is not `None`), or\n an xml tree', 'signature': 'def _export_polytope('}</s>N_CHEBXC = "chebXc"
1
{'name': 'JsonMLElement.extract_element@wavedrom/tspan.py', 'description': 'Extract AttrDict from jsonml\n\nThis function non-recursively extracts an AttrDict from jsonml.\nThis AttrDict has the three elements tagname, attributes and\nelement_list according to the jsonml specification.\n\n:param e: element as jsonml li...
1
{'name': 'safe_run2@amptk/process_illumina_folder.py', 'description': 'Call run(), catch exceptions.', 'signature': 'def safe_run2(*args, **kwargs):'}</s>{'name': 'MyFormatter@amptk/process_illumina_folder.py', 'description': 'DOCSTRING', 'base_classes': ['argparse.ArgumentDefaultsHelpFormatter'], 'methods': [{'name': ...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACH_ACTIVE_CHL_RETRY = 1598
0
{'name': 'primary_avatar@avatar/templatetags/avatar_tags.py', 'description': 'This tag tries to get the default avatar for a user without doing any db\nrequests. It achieve this by linking to a special view that will do all the \nwork for us. If that special view is then cached by a CDN for instance,\nwe will avoid man...
0
{'name': 'update@aardvark/manage.py', 'description': 'Asks AWS for new Access Advisor information.', 'signature': 'def update(accounts, arns):'}</s>{'name': 'create_app@aardvark/app.py', 'description': 'DOCSTRING', 'code': 'def create_app(config_override: Config = None):\n app = Flask(__name__, static_url_path=\'/st...
1
{'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...
0
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw...
0
{'name': 'scatter@nbinteract/plotting.py', 'description': 'Generates an interactive scatter chart that allows users to change the\nparameters of the inputs x_fn and y_fn.\n\nArgs:\n x_fn (Array | (*args -> Array str | Array int | Array float)):\n If array, uses array values for x-coordinates.\n\n If fu...
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': 'include_decl@src/services/mpiwrap/wrap.py', 'description': 'This function is used by macros to include attributes MPI declarations in their scope.', 'signature': 'def include_decl(scope, decl):'}</s>gotcha_wrapper_includes = " #include <gotcha/gotcha.h> "
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQEC_CONNECTION_QUIESCING = 6
0
{'name': 'friend_add@apps/blog/views.py', 'description': '申请友链\n@param request:\n@return:', 'signature': 'def friend_add(request):'}</s>{'name': 'Timeline@apps/blog/models.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model'], 'methods': [{'name': 'Timeline.__str__@apps/blog/models.py', 'description': 'DOCS...
0
{'name': 'IUCoordinator.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the system', 'signature': 'def load(self, config: OrderedDict) -> "IUCoordinator":'}</s>CONF_ZONES = "zones"
0
{'name': 'SoundCache.text@soundrts/lib/sound_cache.py', 'description': 'return the text corresponding to the given name', 'signature': 'def text(self, key):'}</s>TXT_FILE = "ui/tts"
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': 'github_import@code/synchronization/github_import.py', 'description': 'Import various information from Github repositories (like contributors) or stars for Github repos\nGithub rate limiting limits us to 1000 queries an hour (also with a personal token?)', 'signature': 'def github_import():'}</s>valid_properti...
0
{'name': 'create_estimator_and_inputs@object_detection/model_lib.py', 'description': "Creates `Estimator`, input functions, and steps.\n\nArgs:\n run_config: A `RunConfig`.\n hparams: A `HParams`.\n pipeline_config_path: A path to a pipeline config file.\n config_override: A pipeline_pb2.TrainEvalPipelineConfig tex...
0
{'name': 'TemplateTagsCommonsTestCase.testInitDefaults@pytils/test/templatetags/test_common.py', 'description': 'Unit-tests for pytils.templatetags.init_defaults', 'signature': 'def testInitDefaults(self):'}</s>{'name': 'TemplateTagsCommonsTestCase@pytils/test/templatetags/test_common.py', 'description': 'DOCSTRING', '...
1
{'name': 'ParseArguments@scripts/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>_excludes = N...
1
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>mi_face_search_file = "face.jpeg"
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>payout_screen_2 = "en chemain!"
1
{'name': 'LinksRepository.find_links@etc/scripts/utils_thirdparty.py', 'description': 'Return a list of link URLs found in the HTML page at `self.url`', 'signature': 'def find_links(self, _CACHE=[]):'}</s>{'name': 'get_local_packages@etc/scripts/utils_thirdparty.py', 'description': 'Return the list of all PypiPackage o...
0
{'name': 'get_model@src/api_trt/modules/model_zoo/getter.py', 'description': "Returns an inference backend instance with a loaded model.\n\nArgs:\n model_name (str): The name of the model.\n backend_name (str): The name of the backend (onnx, mxnet, trt).\n im_size (List[int]): The desired maximum size of the i...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCFUNC_NONE = b' '
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': 'ObjectDetectionEvaluation.evaluate@models/SlowFast/slowfast/utils/ava_evaluation/object_detection_evaluation.py', 'description': 'Compute evaluation result.\n\nReturns:\n A named tuple with the following fields -\n average_precision: float numpy array of average precision for\n each class.\n mea...
0
{'name': 'SearchList.search@shingetsu/node.py', 'description': 'Search node which has the file.', 'signature': 'def search(self, cache=None, myself4=None, myself6=None, nodes=None):'}</s>__all__ = ['Node', 'RawNodeList', 'NodeList', 'SearchList', 'LookupTable', 'init_node', 'node_allow', 'node_deny']
0
{'name': 'read_nortek@mhkit/dolfyn/io/nortek.py', 'description': "Read a classic Nortek (AWAC and Vector) datafile\n\nParameters\n----------\nfilename : string\n Filename of Nortek file to read.\nuserdata : bool, or string of userdata.json filename\n Whether to read the '<base-filename>.userdata.json' file.\n Defaul...
0
{'name': 'DebPkgToolsTestCase.test_collect_packages@deb_pkg_tools/tests.py', 'description': 'Test the command line interface for collection of related packages.', 'signature': 'def test_collect_packages(self):'}</s>IS_TRAVIS = coerce_boolean(os.environ.get('TRAVIS', 'false'))
0
{'name': 'WebApplicationScanner._detect_cms@raccoon_src/lib/web_app.py', 'description': 'Detect CMS using whatcms.org.\nHas a re-try mechanism because false negatives may occur\n:param tries: Count of tries for CMS discovery', 'signature': 'def _detect_cms(self, tries=0):'}</s>COLOR = Color( "\033[1;31m", # red ...
1
{'name': 'load_data@pelicun/file_io.py', 'description': "Load data assuming it follows standard SimCenter tabular schema.\n\nThe data is assumed to have a single header line and an index column. The\nsecond line may start with 'Units' in the index and provide the units for\neach column in the file.\n\nParameters\n-----...
0
{'name': 'picked_locs@picasso/postprocess.py', 'description': 'Finds picked localizations.\n\nParameters\n----------\nlocs : np.recarray\n Localization list.\ninfo : list of dicts\n Metadata of the localizations list.\npicks : list\n List of picks.\npick_shape : {\'Circle\', \'Rectangle\', \'Polygon\'}\n Sh...
0
{'name': 'RequestsMock.add@responses/__init__.py', 'description': ">>> import responses\n\nA basic request:\n>>> responses.add(responses.GET, 'http://example.com')\n\nYou can also directly pass an object which implements the\n``BaseResponse`` interface:\n\n>>> responses.add(Response(...))\n\nA JSON payload:\n\n>>> resp...
0
{'name': 'TopologyView.retrieve@moi/views.py', 'description': 'Read information about an individual Topology resource.\n\nThe GET method reads the information of a Topology.', 'signature': 'def retrieve(self, request, *args, **kwargs):'}</s>{'name': 'UPFFunction@moi/models.py', 'description': 'DOCSTRING', 'base_classes...
0
{'name': 'text_error_template@mako/exceptions.py', 'description': 'Provides a template that renders a stack trace in a similar format to\nthe Python interpreter, substituting source template filenames, line\nnumbers and code for that of the originating source template, as\napplicable.', 'signature': 'def text_error_tem...
0
{'name': 'transform_concepts@skosify/skosify.py', 'description': 'Transform Concepts into new types, as defined by the config file.', 'signature': 'def transform_concepts(rdf, typemap):'}</s>{'name': 'Config@skosify/config.py', 'description': 'Internal class to store and access configuration.', 'base_classes': ['object...
0
{'name': 'save_cmd_orig@src/python_scripts/afnipy/lib_physio_logs.py', 'description': 'Write out input cmd output dir.', 'signature': 'def save_cmd_orig(retobj, verb=1):'}</s>DEF_img_line_time = 60
0
{'name': 'get_ovs_veths@kayobe/plugins/filter/networks.py', 'description': "Return a list of dicts describing veth pairs to plug into Open vSwitch.\n\n:param context: a Jinja2 Context object.\n:param names: list of names of networks.\n:param inventory_hostname: Ansible inventory hostname.\n:returns: a list of dicts des...
0
{'name': 'AdversarialLearner.collect_summaries@models/adversarial_learner.py', 'description': 'Collects all summaries to be shown in the tensorboard', 'signature': 'def collect_summaries(self):'}</s>{'name': 'AdversarialLearner@models/adversarial_learner.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'met...
1
{'name': 'urljoin@furl/furl.py', 'description': 'Parameters:\n base: Base URL to join with <url>.\n url: Relative or absolute URL to join with <base>.\n\nReturns: The resultant URL from joining <base> and <url>.', 'signature': 'def urljoin(base, url):'}</s>{'name': 'lget@furl/furl.py', 'description': 'DOCSTRING', 'co...
0
{'name': 'test_conv2d@tests/sampling/priors/test_fourier_conv2d.py', 'description': 'TODO: Consider separating out the test for Conv2dTranspose since it only\nsupports a subset of strides/dilatons.', 'signature': 'def test_conv2d(config: ConfigFourierConv2d = None):'}</s>{'name': 'SharedDepthwiseInducingImages@gpflow_s...
0
{'name': 'get_config@sql-cli/src/odfe_sql_cli/config.py', 'description': 'Get config for odfesql cli.\n\nThis config comes from either existing config in the OS, or create a config file in the OS, and write default config\nincluding in the package to it.', 'signature': 'def get_config(clirc_file=None):'}</s>{'name': 'c...
1
{'name': 'load_chars_data@src/ocr/datahelpers.py', 'description': 'Load chars images with corresponding labels.\nArgs:\n charloc: char images FOLDER LOCATION\n wordloc: word images with gaplines FOLDER LOCATION\nReturns:\n (images, labels)', 'signature': "def load_chars_data(charloc='data/charclas/', wordloc='...
0
{'name': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'DNSZoneForward@infoblox_client/objects.py', 'description': 'DNSZoneForward: DN...
0
{'name': 'add_after_get_hook@src/supporting-files/db_hooks.py', 'description': "Registers a function to be called after any model is fetched.\n\nThis will be invoked immediately after the execution of any of the\nfollowing methods, and will be called after the RPC has returned and the\nmodel is reconstructed. This mean...
0
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>{'name': 'on_load_data@src/server/server.py', 'description': 'Allow pages to load needed data', 'code': "def on_load_data(data):\n '''Allow pages to load needed data'''\n ...
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
0
{'name': 'log_to_csv@versions/speed-cam_12.06.py', 'description': 'Store date to a comma separated value file', 'signature': 'def log_to_csv(data_to_append):'}</s>{'name': 'freeSpaceUpTo@versions/speed-cam_12.06.py', 'description': 'Walks mediaDir and deletes oldest files\nuntil spaceFreeMB is achieved Use with Caution...
0
{'name': 'has_good_and_bad@nix_bisect/bisect_runner.py', 'description': 'Determines if the bisect can start', 'signature': 'def has_good_and_bad():'}</s>{'name': 'named_skip@nix_bisect/bisect_runner.py', 'description': 'Mark a commit as belonging to a named skip range.\n\nIn contrast to a regular `git bisect skip`, all...
0
{'name': 'TestTransactionHook.test_transaction_hook_with_broken_hook@pecan/tests/test_hooks.py', 'description': 'In a scenario where a preceding hook throws an exception,\nensure that TransactionHook still rolls back properly.', 'signature': 'def test_transaction_hook_with_broken_hook(self):'}</s>{'name': 'TestRequestV...
0
{'name': 'TestAdminTree.test_result_tree@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree(self, model_without_proxy):'}</s>__version__ = "2.1.1"
0
{'name': 'setup@remarks.py', 'description': 'Set up the remarks component.', 'signature': 'def setup(hass, config):'}</s>DEFAULT_INTERVAL = 6
0
{'name': 'detach_exception_hook@asynq/debug.py', 'description': 'Removes async exception hook into the sys.excepthook.', 'signature': 'def detach_exception_hook():'}</s>options = _debug.options
0
{'name': 'bisect_steps_remaining@nix_bisect/git.py', 'description': 'Estimate of remaining steps, including the current one.\n\nThis is an approximation.', 'signature': 'def bisect_steps_remaining():'}</s>{'name': 'try_revert@nix_bisect/git.py', 'description': 'DOCSTRING', 'code': 'def try_revert(rev):\n with assure...
0
{'name': 'ImageInfoViewSet.delete_image@vulfocus-api/dockerapi/views.py', 'description': '删除镜像\n:param request:\n:param pk:\n:return:', 'signature': 'def delete_image(self, request, pk=None):'}</s>{'name': 'update_enterprise_setting@vulfocus-api/dockerapi/views.py', 'description': 'DOCSTRING', 'code': 'def update_enter...
0
{'name': 'create_coinbase@test/functional/test_framework/blocktools.py', 'description': 'Create a coinbase transaction.\n\nIf pubkey is passed in, the coinbase output will be a P2PK output;\notherwise an anyone-can-spend output.\n\nIf extra_output_script is given, make a 0-value output to that\nscript. This is useful t...
0
{'name': 'TestAuditLogsEnterprise.test_get_params@backend-tests/tests/test_auditlogs.py', 'description': 'Mix up some audiltog events, check GET with various params', 'signature': 'def test_get_params(self, tenant_users):'}</s>{'name': 'check_log@backend-tests/tests/test_auditlogs.py', 'description': 'DOCSTRING', 'code...
0
{'name': 'eTRVDevice.connect@libetrv/device.py', 'description': 'This method allow you to connect to eTRV device and if it is required it will\nalso send pin. You can select is it necessery', 'signature': 'def connect(self, send_pin: bool = True):'}</s>{'name': 'NameData@libetrv/data_struct.py', 'description': 'DOCSTRI...
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>MQRC_TRIGGER_TYPE_ERROR = 2078
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': '_quote@python-build-with-qt/sip-4.11.2/sipconfig.py', 'description': 'Return a string surrounded by double quotes it if contains a space.\n\ns is the string.', 'signature': 'def _quote(s):'}</s>{'name': 'ProgramMakefile@python-build-with-qt/sip-4.11.2/sipconfig.py', 'description': 'The class that represents a...
0
{'name': 'make_query@gaia_tools/query/make_gaia_query.py', 'description': 'Makes a whole Gaia query\n\nINPUTS\n------\nWHERE: str, None (default None)\n ADQL `WHERE\' argument\nORDERBY: str (or None)\n ADQL `ORDER BY\' argument\nFROM: str, None (default None)\n ADQL `FFROM\' argument\nrandom_index: int, None...
0
{'name': 'test_email_validation_with_none@voluptuous/tests/tests.py', 'description': 'Test with invalid None email address', 'signature': 'def test_email_validation_with_none():'}</s>{'name': 'test_schema_empty_list@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_schema_empty_list():\n s = ...
0
{'name': 'GenericMeta.__new__@vendor/typing.py', 'description': 'Create a new generic class. GenericMeta.__new__ accepts\nkeyword arguments that are used for internal bookkeeping, therefore\nan override should pass unused keyword arguments to super().', 'signature': 'def __new__(cls, name, bases, namespace,'}</s>{'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': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>_USE_XLA = False
0
{'name': 'write_voc_results_file@libs/val_libs/voc_eval.py', 'description': ':param all_boxes: is a list. each item reprensent the detections of a img.\nthe detections is a array. shape is [-1, 6]. [category, score, xmin, ymin, xmax, ymax]\nNote that: if none detections in this img. that the detetions is : []\n\n:param...
0
{'name': 'in_qmk_firmware@qmk_cli/helpers.py', 'description': 'Returns the path to the qmk_firmware we are currently in, or None if we are not inside qmk_firmware.\n ', 'signature': 'def in_qmk_firmware():'}</s>{'name': 'find_qmk_firmware@qmk_cli/helpers.py', 'description': 'Look for qmk_firmware in the usual places...
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': 'addresses@n26/cli.py', 'description': 'Show account addresses ', 'signature': 'def addresses():'}</s>{'name': 'balance@n26/cli.py', 'description': 'Show account balance ', 'code': 'def balance():\n """ Show account balance """\n balance_data = API_CLIENT.get_balance()\n if JSON_OUTPUT:\n _prin...
0
{'name': 'get_cuda_arch@compilelib.py', 'description': 'Determine currently installed NVIDIA GPU cards by PCI device ID\nand match them with the predefined GPU model lists.\nIt tries to detect all GPUs and include cubins suitable for all GPU\narchitectures detected.\nIf your GPU is not detected correctly, update *_DEVI...
0
{'name': 'RecentList.getall@shingetsu/cache.py', 'description': 'Search nodes and update my recent list.', 'signature': 'def getall(self):'}</s>__all__ = ['check']
0
{'name': 'env_perform_reproduce_update@self_organising_systems/biomakerca/env_logic.py', 'description': "Perform reproduce operations in the environment.\n\nThis is the function that should be used for high level step_env design.\n\nArguments:\n key: a jax random number generator.\n env: the input environment to be m...
0
{'name': 'ReplaceByFeeTest.test_doublespend_tree@test/functional/feature_rbf.py', 'description': 'Doublespend of a big tree of transactions', 'signature': 'def test_doublespend_tree(self):'}</s>OP_SHA256 = CScriptOp(0xa8)
0
{'name': 'test_merged_dup_stream_alignments@maf/impl/naiveLiftUp.py', 'description': 'Check merged_dup_stream behavior on AlignmentGroups.', 'signature': 'def test_merged_dup_stream_alignments():'}</s>{'name': 'test_maximize_gapless_alignment_length@maf/impl/naiveLiftUp.py', 'description': 'DOCSTRING', 'code': 'def tes...
0
{'name': 'countedArray@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': "Helper to define a counted list of expressions.\n\nThis helper defines a pattern of the form::\n\n integer expr expr expr...\n\nwhere the leading integer tells how many expr expressions follow.\nThe matched ...
0
{'name': 'test_update_machine_info_hook_detection@tests/test_benchmark.py', 'description': 'Tests detection and execution and update_machine_info_hooks.\n\nVerifies that machine info hooks are detected and executed in nested\n`conftest.py`s.', 'signature': 'def test_update_machine_info_hook_detection(testdir):'}</s>{'n...
0
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'RpzAIpaddressRecord@infoblox_client/objects.py', 'description': 'RpzAIpaddressRecord: Response Policy Zone Substitute IPv4\nAddress Rule object.\nCorresponds to WAPI object \'...
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