text string | label int64 |
|---|---|
{'name': 'search_ast@core/text.py', 'description': 'Returns the number of descendants of `node` that match `template`\n(either a type or tuple that is passed to `isinstance`,\nor a partial AST that is passed to `is_ast_like`)\nand satisfy the optional predicate.', 'signature': 'def search_ast(node, template, predicate=... | 0 |
{'name': 'FrameUtilsTestCase.test_frame_utils@tools/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py', 'description': 'Test utility functions for the frame object.', 'signature': 'def test_frame_utils(self):'}</s>{'name': 'skipIfbridgeOS@tools/lldb/packages/Python/lldbsuite/test/decorator... | 0 |
{'name': 'get_epsg@detectree2/models/evaluation.py', 'description': 'Splitting up the file name to get EPSG', 'signature': 'def get_epsg(file):'}</s>{'name': 'initialise_feats@detectree2/models/evaluation.py', 'description': 'Creates a list of all the features as objects of the class.', 'code': 'def initialise_feats(\n... | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'PDFPage.__init__@pdfminer3/pdfpage.py', 'description': 'Initialize a page object.\n\ndoc: a PDFDocument object.\npageid: any Python object that can uniquely identify the page.\nattrs: a dictionary of page attributes.', 'signature': 'def __init__(self, doc, pageid, attrs):'}</s>{'name': 'list_value@pdfminer3/p... | 0 |
{'name': 'parse_args@src/python_scripts/afnipy/lib_cdiflist.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args(full_argv):'}</s>{'name': 'get_unique_sublist@src/python_scripts/afnipy/afni_util.py', 'description':... | 0 |
{'name': 'byte_list_to_u16le_list@pyocd/utility/conversion.py', 'description': '! @brief Convert a byte array into a halfword array', 'signature': 'def byte_list_to_u16le_list(byteData):'}</s>{'name': 'hex_to_byte_list@pyocd/utility/conversion.py', 'description': '! @brief Convert string of hex bytes to list of integer... | 0 |
{'name': 'lsa@vsm.py', 'description': 'Latent Semantic Analysis using pure scipy.\n\nParameters\n----------\ndf : pd.DataFrame\n The matrix to operate on.\n\nk : int (default: 100)\n Number of dimensions to truncate to.\n\nReturns\n-------\npd.DataFrame\n The SVD-reduced version of `df` with dimension (m x k), ... | 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': 'test_docker_push_target_ref@tests/integration/test_docker_push.py', 'description': 'Test that shipwright push includes the target ref of every image.\nOtherwise --pull-cache will not work.', 'signature': 'def test_docker_push_target_ref(tmpdir, docker_client, registry):'}</s>{'name': 'default_args@tests/integ... | 0 |
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>LB_TYPE_MAXCONN... | 0 |
{'name': 'unpackCommand@fwtool.py', 'description': 'Extracts the input file to the specified directory', 'signature': 'def unpackCommand(file, outDir):'}</s>FdatHeader = Struct('FdatHeader', [
('magic', Struct.STR % 8),
('checksum', Struct.INT32),
('version', Struct.STR % 4),
('modeType', Struct.STR % 1),
('...',... | 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>{'name': 'DistInfoDistribution@blockchai... | 0 |
{'name': 'read_html@meza/io.py', 'description': "Reads tables from an html file\n\nTODO: convert to lxml.etree.iterparse\nhttp://lxml.de/parsing.html#iterparse-and-iterwalk\n\nArgs:\n filepath (str): The html file path or file like object.\n If you have a url, use the following pattern:\n\n r = request... | 0 |
{'name': '_ClassifyInclude@tools/cpplint.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 "".\n\nReturns:\n One of th... | 0 |
{'name': 'DebPkgToolsTestCase.test_package_building@deb_pkg_tools/tests.py', 'description': 'Test building of Debian binary packages.', 'signature': 'def test_package_building(self, repository=None, overrides={}, contents={}):'}</s>{'name': 'update_conffiles@deb_pkg_tools/package.py', 'description': 'Make sure the ``DE... | 0 |
{'name': 'PumpEvents@comtypes/client/_events.py', 'description': "This following code waits for 'timeout' seconds in the way\nrequired for COM, internally doing the correct things depending\non the COM appartment of the current thread. It is possible to\nterminate the message loop by pressing CTRL+C, which will raise\... | 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': 'smimeplus.verify@contrib/smimeplus.py', 'description': "Verify to see if 'smsg' was signed by 'scert', and scert was\nissued by cacert of this object. Return message signed if success,\nNone otherwise", 'signature': 'def verify(self, smsg, scert):'}</s>PKCS7_BINARY = m2.PKCS7_BINARY | 0 |
{'name': 'bisect_bad@nix_bisect/bisect_runner.py', 'description': "Mark a commit as bad.\n\nWarning: This may have the side-effect of switching to a different\nrevision.\n\nUnfortunately we don't have control about that. In the future we may want\nto manage the refs and the bisect-log manually.", 'signature': 'def bise... | 0 |
{'name': 'temporary_clone@src/oca_github_bot/github.py', 'description': 'context manager that clones a git branch into a tremporary directory,\nand yields the temp dir name, with cache', 'signature': 'def temporary_clone(org, repo, branch):'}</s>dist_publisher = MultiDistPublisher() | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQZID_CHECK_AUTHORITY = 2 | 0 |
{'name': 'EnumDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for enum field.', 'signature': 'def EnumDecoder(field_number, is_repeated, is_packed, key, new_default,'}</s>_INCONSISTENT_MESSAGE_ATTRIBUTES = ('Extensions',) | 0 |
{'name': 'TLP.set_ca_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completer abort (CA) completion for TLP', 'signature': 'def set_ca_completion(self, tlp, completer_id):'}</s>TLP_MEM_WRITE_64 = (FMT_4DW_DATA, 0x00) | 0 |
{'name': 'generate_assignment_stub_and_hook@da/compiler/incgen.py', 'description': "Generate assignment stub and hook node for 'nameobj'.\n\nAssignment stubs notifies the incrementalizer of changes to value of\nvariables, and gives the incrementalizer a chance to perform necessary\nhousekeeping.", 'signature': 'def gen... | 0 |
{'name': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>lnurl_generation_1 = "Generando" | 0 |
{'name': 'get_token_status@flask_security/utils.py', 'description': 'Get the status of a token.\n\n:param token: The token to check\n:param serializer: The name of the seriailzer. Can be one of the\n following: ``confirm``, ``login``, ``reset``\n:param max_age: The name of the max age config option. C... | 0 |
{'name': '_validate@src/feedvalidator/__init__.py', 'description': 'validate RSS from string, returns validator object', 'signature': 'def _validate(aString, firstOccurrenceOnly, loggedEvents, base, encoding, selfURIs=None, mediaType=None):'}</s>{'name': 'ConflictingCatAttr@src/feedvalidator/logging.py', 'description':... | 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>DEFAULT_PRIORITY = 1 | 0 |
{'name': 'DataIntegrity.test_right_minus_left_always_odd@sqlalchemy_mptt/tests/cases/integrity.py', 'description': 'Difference between left and right keys are always an odd number.\n\nThe following example should return an empty result.\n\n.. code-block:: sql\n\n SELECT MOD((right - left) / 2) AS modulo\n FROM tr... | 1 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'TestSubscription.test_subscription_billing_cycle_intervals_2@silver/tests/unit/test_subscription.py', 'description': 'Every 2 months, 150 days of trial (2015-05-30)\nseparate_cycles_during_trial = True\ngenerate_documents_on_trial_end = True', 'signature': 'def test_subscription_billing_cycle_intervals_2(self... | 1 |
{'name': 'nestedExpr@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pyparsing ex... | 0 |
{'name': 'get_ipsw_url@autodecrypt/utils.py', 'description': 'Get URL of IPSW by specifying device and iOS version.', 'signature': 'def get_ipsw_url(device, ios_version, build):'}</s>{'name': 'get_build_id@autodecrypt/fw_utils.py', 'description': 'Return build ID of iOS version.', 'code': 'def get_build_id(json_data: d... | 1 |
{'name': 'TestAdminTreeList.test_result_tree_list_escapes_labels@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_list_escapes_labels(self, model_with_unicode):'}</s>{'name': 'MP_Tes... | 0 |
{'name': 'template@pyFileFixity/lib/profilers/visual/pympler/util/bottle3.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.', 'signature': 'def template(tpl, template_adapter=SimpleTemplate, **kwargs):'}</s>{'name': 'static_file@p... | 0 |
{'name': 'res_search_fixed_clus@CCST_ST_utils.py', 'description': 'arg1(adata)[AnnData matrix]\narg2(fixed_clus_count)[int]\n\nreturn:\n resolution[int]', 'signature': 'def res_search_fixed_clus(cluster_type, adata, fixed_clus_count, increment=0.02):'}</s>{'name': 'get_data@CCST_ST_utils.py', 'description': 'DOCSTRI... | 0 |
{'name': 'BIDSLayout.add_derivatives@src/bids/layout/layout.py', 'description': 'Add BIDS-Derivatives datasets to tracking.\n\nParameters\n----------\npath : str or list\n One or more paths to BIDS-Derivatives datasets.\n Each path can point to either a derivatives/ directory\n containing one or more pipeline ... | 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': 'create_db@test/conftest.py', 'description': 'Drop the database at ``uri`` and create a brand new one. ', 'signature': 'def create_db(uri):'}</s>{'name': 'db_engine_options@test/conftest.py', 'description': 'DOCSTRING', 'code': "def db_engine_options(db_uri, is_postgresql):\n if is_postgresql:\n retu... | 0 |
{'name': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'signature... | 0 |
{'name': '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': 'Serial.write@serial/serialwin32.py', 'description': 'Output the given byte string over the serial port.', 'signature': 'def write(self, data):'}</s>PURGE_TXABORT = 1 | 0 |
{'name': '_MXNetModule.__make_categorical_loss@datawig/imputer.py', 'description': 'Generate output symbol for categorical loss\n\n:param latents: MxNet symbol containing the concantenated latents from all featurizers\n:param label_field_name: name of the label column\n:param num_labels: number of labels contained in t... | 0 |
{'name': 'Client.get_1k_tournaments@clashroyale/royaleapi/client.py', 'description': 'Get a list of tournaments that have at least 1000\nmax players\n\n\\*\\*open: Optional[int] = 0\n Set to 1 to filter tournaments that are\n open\n\\*\\*full: Optional[int] = 0\n Set to 1 to filter tournaments that are\n fu... | 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': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>EASING_IN_CIRC = 19 | 0 |
{'name': 'get_selected_function@Data/rda.ucar/rdams_client.py', 'description': 'Returns correct function based on options.\nArgs:\n options (dict) : Command with options.\n\nReturns:\n (function): function that the options specified', 'signature': 'def get_selected_function(args_dict):'}</s>{'name': 'get_authenti... | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>CONFIG_ERROR = "
setup.cfg is missing the necessary Versioneer configuration. You need
a section like:
[versioneer]
VCS = git
style = pep440
versionfile... | 0 |
{'name': 'IUCoordinator.register_entity@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'A HA entity has been registered', 'signature': 'def register_entity('}</s>ATTR_DURATION_FACTOR = "duration_factor" | 0 |
{'name': 'always@pretf/pretf/test.py', 'description': 'Marks a test method to run even when previous tests have failed.', 'signature': 'def always(func: Callable) -> Callable:'}</s>{'name': 'call_pretf_function@pretf/pretf/render.py', 'description': 'DOCSTRING', 'code': 'def call_pretf_function(\n func: Callable, va... | 0 |
{'name': 'fn@src/services/mpiwrap/wrap.py', 'description': 'Iterate over listed functions and generate skeleton too.', 'signature': 'def fn(out, scope, args, children):'}</s>rtypes = ['int', 'double', 'MPI_Aint' ] | 0 |
{'name': 'last_payment@lndrest.py', 'description': 'Returns whether the last payment attempt succeeded or failed\n ', 'signature': 'def last_payment(payment_request):'}</s>display = getattr(__import__("displays", fromlist=[display_config]), display_config) | 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': 'S3ToGCSCopyTest.testProcessFromParams@tests/lib/exporters/s3_to_gcs.py', 'description': "Tests the exporter's Process() function when the list comes from\npassed in parameters.", 'signature': 'def testProcessFromParams(self,'}</s>{'name': 'GCPLogs@dftimewolf/lib/containers/containers.py', 'description': 'Goog... | 0 |
{'name': 'Request.__del__@wrappers/python/indy_vdr/request.py', 'description': 'Release the pool instance.', 'signature': 'def __del__(self):'}</s>CALLBACKS = {} | 0 |
{'name': 'EMQ.aggregation_fit@quapy/method/aggregative.py', 'description': 'Trains the aggregation function of EMQ. This comes down to recalibrating the posterior probabilities\nir requested.\n\n:param classif_predictions: a :class:`quapy.data.base.LabelledCollection` containing,\n as instances, the posterior probab... | 0 |
{'name': 'test_repr@voluptuous/tests/tests.py', 'description': 'Verify that __repr__ returns valid Python expressions', 'signature': 'def test_repr():'}</s>{'name': 'test_schema_decorator_partial_unmatch_called_with_kwargs@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_schema_decorator_partia... | 0 |
{'name': 'toggle_bit@pyModbusTCP/utils.py', 'description': 'Return an integer with the bit at offset position inverted.\n\n:param value: value of integer where invert the bit\n:type value: int\n:param offset: bit offset (0 is lsb)\n:type offset: int\n:returns: value of integer with bit inverted\n:rtype: int', 'signatur... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIMPO_STRUC_ID_ARRAY = [b"I", b"M", b"P", b"O"] | 0 |
{'name': 'TLP.set_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completion for TLP', 'signature': 'def set_completion(self, tlp, completer_id, has_data=False, status=CPL_STATUS_SC):'}</s>TLP_PREFIX_EXT_TPH = (FMT_TLP_PREFIX, 0x10) | 0 |
{'name': 'scan@archive/skylift/cli_scan.py', 'description': 'Scan WiFi networks using local system', 'signature': 'def scan(ctx, opt_fp_out, opt_os):'}</s>{'name': 'Logger@archive/skylift/app/utils/logger_utils.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Logger.__init__@archive/skylift/ap... | 1 |
{'name': 'BreakpointCommandTestCase.breakpoint_command_sequence@lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py', 'description': 'Test a sequence of breakpoint command add, list, and delete.', 'signature': 'def breakpoint_command_sequence(self):'}</s>STOPPED_DU... | 0 |
{'name': 'Header.FillOut@vimdoc/docline.py', 'description': 'Expands the usage line with the given arguments.', 'signature': 'def FillOut(self, name, sep, extra_reqs, extra_opts):'}</s>namehole_escape = re.compile(r'<\|(\|*)>') | 1 |
{'name': 'get_name_addr@src/future/backports/email/_header_value_parser.py', 'description': 'name-addr = [display-name] angle-addr\n\n ', 'signature': 'def get_name_addr(value):'}</s>_wsp_splitter = re.compile(r'([{}]+)'.format(''.join(WSP))).split | 0 |
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>SIMPLE_SERVER_EXPLANATION = [4045] | 0 |
{'name': '_IncludeState.CheckNextIncludeOrder@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants ... | 0 |
{'name': 'Fock@doc/BookChapters/Programs/NeutronMatterCCD_Ladders.py', 'description': 'Fock matrix of momentum pvec in hh space\nparam pvec: 3-component numpy array in inverse fm\nparam s: spin as +/- 1 of state\nparam_sp_basis, Nocc, dk, Lbox : parameters of s.p. basis and system\n\nreturn: Fock matrix element = kinet... | 0 |
{'name': 'TestThresholdBased.test_basic@verif/tests/test_metric.py', 'description': 'Test the basic threshold-based metrics ', 'signature': 'def test_basic(self):'}</s>{'name': 'C@verif/metric.py', 'description': 'DOCSTRING', 'base_classes': ['Contingency'], 'methods': [{'name': 'C.compute_from_abcd@verif/metric.py', '... | 1 |
{'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_TOTAL_EXIT_DATA_LENGTH = 999 | 0 |
{'name': 'ExternalScenario.create_markets@premise/external.py', 'description': 'Create new markets, and create a `World` market\nif no data is provided for it.', 'signature': 'def create_markets(self) -> None:'}</s>{'name': 'InventorySet@premise/activity_maps.py', 'description': 'Hosts different filter sets to find equ... | 0 |
{'name': '_synchronize_async_fixture@pytest_asyncio/plugin.py', 'description': 'Wraps the fixture function of an async fixture in a synchronous function.', 'signature': 'def _synchronize_async_fixture(fixturedef: FixtureDef) -> None:'}</s>{'name': '_perhaps_rebind_fixture_func@pytest_asyncio/plugin.py', 'description': ... | 0 |
{'name': 'Leopard.process_file@binding/python/_leopard.py', 'description': 'Processes a given audio file and returns its transcription.\n\n:param audio_path: Absolute path to the audio file. The file needs to have a sample rate equal to or greater\nthan `.sample_rate`. The supported formats are: `FLAC`, `MP3`, `Ogg`, `... | 0 |
{'name': 'cluster_anchors@lib/rpn_util.py', 'description': 'Clusters the anchors based on the imdb boxes (in 2D and/or 3D).\n\nGenerally, this method does a custom k-means clustering using 2D IoU\nas a distance metric.', 'signature': 'def cluster_anchors(feat_stride, anchors, test_scale, imdb, lbls, ilbls, anchor_ratio... | 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': 'block_wmad_estimator@training_codes/utils/utils_model.py', 'description': "Accepts a torch tensor and provides an estimate of the standard deviation \nof the noise degrading blocks of the input. The overlap of the extracted \nblocks is defined through blckStride. The function can be applied on a\na batch of m... | 0 |
{'name': '_analyze_directory_for_import@signac/import_export.py', 'description': 'Prepare the data space located at the root directory for import into project.\n\nParameters\n----------\nroot : str\n Path of the root directory.\nproject : :class:`~signac.Project`\n The signac project.\nschema : str, callable, or ... | 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': 'mask_dict_password@virtualbmc/utils.py', 'description': 'Replace passwords with a secret in a dictionary.', 'signature': "def mask_dict_password(dictionary, secret='***'):"}</s>{'name': 'VirtualBMCError@virtualbmc/exception.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': [{'name': '... | 0 |
{'name': 'NVMeOFConnectorTestCase.test_connect_volume_not_replicated_fails@os_brick/tests/initiator/connectors/test_nvmeof.py', 'description': 'Single vol attach fails and disconnects on failure.', 'signature': 'def test_connect_volume_not_replicated_fails('}</s>SYS_UUID = "9126E942-396D-11E7-B0B7-A81E84C186D1" | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'run@src/back/kite/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:`server_names` keys\n ... | 0 |
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>{'name': 'set_screen@soundrts/lib/screen.py', 'description': 'DOCSTRING', 'code': 'def set_screen(fullscreen):\n global _screen\n if fullscreen:\n x, y = g... | 1 |
{'name': '_makeTags@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'ParseBaseException@SneakerBot 2019/venv/lib/p... | 0 |
{'name': '_SignBootableImage@tools/releasetools/common.py', 'description': "Performs AVB signing for a prebuilt boot.img.\n\nArgs:\n image_path: The full path of the image, e.g., /path/to/boot.img.\n prebuilt_name: The prebuilt image name, e.g., boot.img, boot-5.4-gz.img,\n boot-5.10.img, recovery.img or init_bo... | 1 |
{'name': 'HomographyTransform.init_map_coordinate@util/homg_trans.py', 'description': 'Calculate the coordinates of the tiles on the map.\nTry swiping the map if it returns false.\nDependencies: init_homg_vars, load_color_screen\n:return: True if successfully initialize the coordinates of the tiles. False otherwise.', ... | 0 |
{'name': 'KafkaTestRunner._get_address@kafka/verify_kafka_running.py', 'description': 'Generates full address from cluster name, suffix and port.\n\nArgs:\n node_suffix (str): node suffix\n port (str): connection port for worker node\n\nReturns:\n string: address specified by node_suffix and port', 'signature': 'def... | 0 |
{'name': 'CustomMainWidget.reinstallMods@src/gui/main_widget.py', 'description': 'Reinstalls selected mods', 'signature': 'def reinstallMods(self):'}</s>{'name': 'getProgramRootFolder@src/util/util.py', 'description': 'DOCSTRING', 'code': 'def getProgramRootFolder() -> str:\n if getattr(sys, \'frozen\', False):\n ... | 0 |
{'name': 'unpack_properties@mqttools/common.py', 'description': 'Return a dictionary of unpacked properties.\n\n ', 'signature': 'def unpack_properties(packet_name,'}</s>{'name': 'unpack_connack@mqttools/common.py', 'description': 'DOCSTRING', 'code': "def unpack_connack(payload):\n flags = unpack_u8(payload)\n ... | 0 |
{'name': 'ClassifierI.fit@tweedr/ml/classifier.py', 'description': 'Fit the model according to the given training data.', 'signature': 'def fit(self, X, y):'}</s>{'name': 'ClassifierI@tweedr/ml/classifier.py', 'description': 'Interface to emulate sklearn classifiers.\n\n* `X`: an iterable of data points, each of which ... | 1 |
{'name': 'main@src/freetype/src/tools/docmaker/docmaker.py', 'description': 'Main program loop.', 'signature': 'def main(argv):'}</s>{'name': 'Formatter@src/freetype/src/tools/docmaker/formatter.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Formatter.__init__@src/freetype/src/tools/docmaker... | 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': 'resnet18@src/models/resnet.py', 'description': 'Constructs a ResNet-18 model.\n\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': 'def resnet18(pretrained=False, **kwargs):'}</s>__all__ = ['ResNet', 'resnet18', 'resnet34', 'resnet50', 'resnet101',
'resne... | 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': '_FixPath@gyp/pylib/gyp/generator/msvs.py', 'description': 'Convert paths to a form that will make sense in a vcproj file.\n\nArguments:\n path: The path to convert, may contain / etc.\nReturns:\n The path with all slashes made into backslashes.', 'signature': 'def _FixPath(path, separator="\\\\"):'}</s>{'na... | 0 |
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>OP_MIN = CScriptOp(0xa3) | 0 |
{'name': 'docopt@classes/docopt.py', 'description': 'Parse `argv` based on command-line interface described in `doc`.\n\n`docopt` creates your command-line interface based on its\ndescription that you pass as `doc`. Such description can contain\n--options, <positional-argument>, commands, which could be\n[optional], (r... | 0 |
{'name': 'VoVNet.__init__@centermask/modeling/backbone/vovnet.py', 'description': 'Args:\n input_ch(int) : the number of input channel\n out_features (list[str]): name of the layers whose outputs should\n be returned in forward. Can be anything in "stem", "stage2" ...', 'signature': 'def __init__(self, cfg... | 0 |
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>{'name': '_Stream@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/... | 0 |
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': '_to_probe@src/api/python/z3/z3.py', 'descr... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.