text string | label int64 |
|---|---|
{'name': 'parse@docstring_parser/parser.py', 'description': 'Parse the docstring into its components.\n\n:param text: docstring text to parse\n:param style: docstring style\n:returns: parsed docstring representation', 'signature': 'def parse(text: str, style: DocstringStyle = DocstringStyle.AUTO) -> Docstring:'}</s>{'n... | 0 |
{'name': 'TokenizerTrainer._lexicon_covering@montreal_forced_aligner/tokenization/trainer.py', 'description': 'Builds covering grammar and lexicon FARs.', 'signature': 'def _lexicon_covering(self, input_path=None, output_path=None) -> None:'}</s>MFA_ROOT_ENVIRONMENT_VARIABLE = "MFA_ROOT_DIR" | 0 |
{'name': 'read_section_header@pcapng/structs.py', 'description': "Read a section header block from a stream.\n\n.. note::\n The byte order magic will be removed from the returned data\n This is ok as we don't need it anymore once we determined\n the correct endianness of the section.\n\n:returns: a dict contai... | 0 |
{'name': '_ctypes.strides_as@venv/Lib/site-packages/numpy/core/_internal.py', 'description': 'Return the strides tuple as an array of some other\nc-types type. For example: ``self.strides_as(ctypes.c_longlong)``.', 'signature': 'def strides_as(self, obj):'}</s>{'name': '_newnames@venv/Lib/site-packages/numpy/core/_inte... | 0 |
{'name': 'loadSwagger@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_create_scenario.py', 'description': 'This function will load and set the swagger definitions for APIs\n:return: None', 'signature': 'def loadSwagger():'}</s>swagger_definitions = {} | 1 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'is_int@src/api/python/z3/z3.py', 'des... | 0 |
{'name': 'GTestListTestsUnitTest.testWithFilterFlags@third-party/googletest/googletest/test/googletest-list-tests-unittest.py', 'description': 'Tests that --gtest_list_tests takes into account the\n--gtest_filter flag.', 'signature': 'def testWithFilterFlags(self):'}</s>{'name': 'GetFlag@third-party/googletest/googlete... | 0 |
{'name': 'get_runs@mne_bids_pipeline/_config_utils.py', 'description': 'Return a list of runs in the BIDS input data.\n\nParameters\n----------\nsubject\n Returns a list of the runs of this subject.\nverbose\n Notify if different subjects do not share the same runs.\n\nReturns\n-------\nThe list of runs of the su... | 0 |
{'name': 'get_all_arxiv_ids@pix2tex/dataset/arxiv.py', 'description': 'returns all arxiv ids present in a string `text`', 'signature': 'def get_all_arxiv_ids(text):'}</s>{'name': 'download@pix2tex/dataset/arxiv.py', 'description': 'DOCSTRING', 'code': "def download(url, dir_path='./'):\n idx = os.path.split(url)[-1]... | 0 |
{'name': 'WhatHappenedToTheWeirdAdditionP1.play_farey_addition_animations@ford_circles_explained.py', 'description': "Returns a series of animations showing 'a/b oplus c/d equals (a+c)/(b+d)'", 'signature': 'def play_farey_addition_animations(self, a, b, c, d):'}</s>{'name': 'RemarkText@ford_circles_explained.py', 'des... | 0 |
{'name': 'train@models/train_model.py', 'description': 'Args:\n train_loader: PyTorch data loader for iterating over the train set\n val_loader: PyTorch data loader for iterating over the validation set\n DTANargs: DTAN args class, defined at train_utils.py\n Experiment: Experiemnts class degined at train_u... | 0 |
{'name': 'to_ufo_glyph@Lib/glyphsLib/builder/glyph.py', 'description': 'Add .glyphs metadata, paths, components, and anchors to a glyph.', 'signature': 'def to_ufo_glyph(self, ufo_glyph, layer, glyph, do_color_layers=True): # noqa: C901'}</s>{'name': 'from_loose_ufo_time@Lib/glyphsLib/builder/common.py', 'description'... | 0 |
{'name': 'from_array@tools/gfx/png.py', 'description': "Create a PNG :class:`Image` object from a 2- or 3-dimensional\narray. One application of this function is easy PIL-style saving:\n``png.from_array(pixels, 'L').save('foo.png')``.\n\nUnless they are specified using the *info* parameter, the PNG's\nheight and width... | 0 |
{'name': 'identity_matrix@imgviz/external/transformations.py', 'description': 'Return 4x4 identity/unit matrix.\n\n>>> I = identity_matrix()\n>>> np.allclose(I, np.dot(I, I))\nTrue\n>>> np.sum(I), np.trace(I)\n(4.0, 4.0)\n>>> np.allclose(I, np.identity(4))\nTrue', 'signature': 'def identity_matrix():'}</s>_NEXT_AXIS = ... | 0 |
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': '_get_html_precedence@src/api/python/... | 0 |
{'name': 'CSSParser.parse_selectors@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse selectors.', 'signature': 'def parse_selectors(self, iselector, index=0, flags=0):'}</s>{'name': 'warn_deprecated@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/util.py', 'des... | 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': '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': 'cmr@icesat2_toolkit/utilities.py', 'description': "Query the NASA Common Metadata Repository (CMR) for ICESat-2 data\n\nParameters\n----------\nproduct: str or NoneType, default None\n ICESat-2 data product to query\nrelease: str or NoneType, default None\n ICESat-2 data release to query\ncycles: str, l... | 0 |
{'name': 'BL3Serial.get_serial_number@bl3save/datalib.py', 'description': 'Returns the binary item serial number. If `orig_seed` is `True`, the\nserial number will use the same seed that was used in the savegame.\nOtherwise, it will use a seed of `0`, which will then be unencrypted.', 'signature': 'def get_serial_numb... | 0 |
{'name': 'run_command@versioneer.py', 'description': 'Call the given command(s).', 'signature': 'def run_command(commands, args, cwd=None, verbose=False, hide_stderr=False,'}</s>CONFIG_ERROR = "
setup.cfg is missing the necessary Versioneer configuration. You need
a section like:
[versioneer]
VCS = git
style = pep4... | 0 |
{'name': 'test_server_interrupt@cheroot/test/test_server.py', 'description': 'Check that assigning interrupt stops the server.', 'signature': 'def test_server_interrupt(exc_cls):'}</s>{'name': 'unix_sock_file@cheroot/test/test_server.py', 'description': 'Check that bound UNIX socket address is stored in server.', 'code... | 0 |
{'name': 'BaseComponent.sparse_fit@torchnmf/nmf.py', 'description': 'Learn a NMF model for the data V by minimizing beta divergence with sparseness constraints proposed in\n`Non-negative Matrix Factorization with Sparseness Constraints`_.\n\nTo invoke this function, attributes :meth:`H <torchnmf.nmf.BaseComponent.H>` a... | 0 |
{'name': 'MainWindows.createtableWidget_vulnMenu@FrameScan-GUI.py', 'description': "''\n创建右键菜单", 'signature': 'def createtableWidget_vulnMenu(self):'}</s>log_file_dir = "./Logs/" | 0 |
{'name': 'GelfHttpHandler.__init__@pygelf/handlers.py', 'description': "Logging handler that transforms each record into GELF (graylog extended log format) and sends it over HTTP.\n\n:param host: GELF HTTP input host\n:param port: GELF HTTP input port\n:param compress: compress message before sending it to the server o... | 1 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'LightRGB.update_status_information@pyShelly/light.py', 'description': 'Update the status information.', 'signature': 'def update_status_information(self, status, src):'}</s>ATTR_TOPIC = "topic" | 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': 'ProcessLine@compiler-rt/lib/sanitizer_common/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 l... | 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': 'reset_all_caches@gef.py', 'description': 'Free all caches. If an object is cached, it will have a callable a... | 0 |
{'name': 'get_delete_mails_by_query@_google_/gmail/__init__.py', 'description': 'Get and Delete a list of messages from GMail by Query.\n\nArgs:\n db: Local db connection object.\n messages_obj: Authenticated GMail user object.\n user_id: User\'s email address. The special value "me"\n can be used to indica... | 0 |
{'name': 'SliceTemplateView.create@nssmf/views.py', 'description': 'Create a new individual Slice Template resource.\nThe POST method creates a new individual Slice Template resource.', 'signature': 'def create(self, request, *args, **kwargs):'}</s>DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.bac... | 0 |
{'name': 'test_fit_verbose_raises_error@sysidentpy/neural_network/tests/test_narxnn.py', 'description': 'Fit raises ValueError if verbose=True but no validation data is provided.', 'signature': 'def test_fit_verbose_raises_error():'}</s>y_train = np.reshape(y_train, (len(y_train), 1)) | 1 |
{'name': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_... | 0 |
{'name': 'get_runs@mne_bids_pipeline/_config_utils.py', 'description': 'Return a list of runs in the BIDS input data.\n\nParameters\n----------\nsubject\n Returns a list of the runs of this subject.\nverbose\n Notify if different subjects do not share the same runs.\n\nReturns\n-------\nThe list of runs of the su... | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCA_USER_LIST = 4000 | 0 |
{'name': 'generate_main_html@nhentai/utils.py', 'description': 'Generate a main html to show all the contains doujinshi.\nWith a link to their `index.html`.\nDefault output folder will be the CLI path.', 'signature': "def generate_main_html(output_dir=f'.{PATH_SEPARATOR}'):"}</s>LANGUAGE_ISO = {
'english': 'en',
... | 0 |
{'name': 'Mosek._solve@linopy/solvers.py', 'description': 'Solve a linear problem from a Mosek task object.\n\nParameters\n----------\nm : mosek.Task\n Mosek task object.\nsolution_fn : Path, optional\n Path to the solution file.\nlog_fn : Path, optional\n Path to the log file.\nwarmstart_fn : Path, optional\n... | 0 |
{'name': 'Splitwise.addUserToGroup@splitwise/__init__.py', 'description': 'Adds a user to the group.\n\nArgs:\n user(:obj:`splitwise.user.User`): User to be added\n group_id(long): ID of the group\n\nReturns:\n tuple: tuple containing:\n success(bool): True if group deleted, False otherwise\n\n user(... | 0 |
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 0 |
{'name': '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': 'IUZone.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this zone as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_EXPECTED = "expected" | 0 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'RecAddDefinition@src/api/python/z3/z3.py', 'description': "Set the body of a recursive function.\n Recursive definitions ca... | 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_BOOLOR = CScriptOp(0x9b) | 0 |
{'name': 'gradients@src/memory_saving_gradients.py', 'description': 'Authors: Tim Salimans & Yaroslav Bulatov\n\nmemory efficient gradient implementation inspired by "Training Deep Nets with Sublinear Memory Cost"\nby Chen et al. 2016 (https://arxiv.org/abs/1604.06174)\n\nys,xs,grad_ys,kwargs are the arguments to stand... | 1 |
{'name': 'test_db_keys@test/conftest.py', 'description': 'Decide what DB backends to use to run the tests.', 'signature': 'def test_db_keys():'}</s>{'name': 'Base@test/models.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Base.count_square@test/models.py', 'description': 'DOCSTRING',... | 0 |
{'name': 'predict@cello/cello.py', 'description': "Classify cell types for a given expression matrix.\n\nParameters\n----------\nad : AnnData object\n Expression matrix of n cells by m genes\n\nmod: Model, default: None\n A trained classification model. If None, use a \n pre-trained default model on all of the... | 0 |
{'name': 'build_recipes@bioconda_utils/build.py', 'description': 'Build one or many bioconda packages.\n\nArguments:\n recipe_folder: Directory containing possibly many, and possibly nested, recipes.\n config_path: Path to config file\n packages: Glob indicating which packages should be considered. Note that package... | 0 |
{'name': 'Metar.__init__@metar/Metar.py', 'description': 'Parse raw METAR code.', 'signature': 'def __init__( self, metarcode, month=None, year=None, utcdelta=None):'}</s>{'name': 'xlate_loc@metar/Metar.py', 'description': 'Substitute English terms for the location codes in the given string.', 'code': 'def xlate_loc( l... | 0 |
{'name': 'Contract.make_asts@panoramix/contract.py', 'description': 'we need to do ast creation from the contract, not function level,\nbecause some simplifications (type/field removal) require insight to all the functions,\nnot just a single one', 'signature': 'def make_asts(self):'}</s>{'name': 'pprint_ast@panoramix/... | 0 |
{'name': 'View.undrift_from_picked2d@picasso/gui/render.py', 'description': 'Undrifts in x and y based on picked locs in a given channel.\nAvailable when 3D data is loaded.', 'signature': 'def undrift_from_picked2d(self):'}</s>{'name': 'calculate_optimal_bins@picasso/lib.py', 'description': 'Calculates the optimal bins... | 0 |
{'name': 'CheckCommaSpacing@tools/cpplint.py', 'description': 'Checks for horizontal spacing near commas and semicolons.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any ... | 0 |
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'code': 'def geticmptypebynumber(type, af):\n """Return the ICMP t... | 0 |
{'name': 'TestUnicodeReader.test_wrong_encoding_detection_windows@tests/test_io.py', 'description': 'Test for detecting the encoding of a windows file opened in ascii', 'signature': 'def test_wrong_encoding_detection_windows(self):'}</s>{'name': 'TestUnicodeReader@tests/test_io.py', 'description': 'Unit tests for unico... | 1 |
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_extern_same@language-bindings/python/src/wamr/wasmcapi/binding.... | 0 |
{'name': '_nested_lookup@src/libs/util.py', 'description': 'Lookup a key in a nested document, yield a value', 'signature': 'def _nested_lookup(key, values, document, wild=False, return_parent=False):'}</s>SRC_FOLDER_PATH = os.path.join(PACKAGE_PATH, SRC_FOLDER_NAME) | 0 |
{'name': 'LossModel.load_model_parameters@pelicun/model/loss_model.py', 'description': 'Load loss model parameters.\n\nParameters\n----------\ndata_paths: list of (string | DataFrame)\n List of paths to data or files with loss model\n information. Default XY datasets can be accessed as\n PelicunDefault/XY. Ord... | 0 |
{'name': 'cleanup_mems@panoramix/simplify.py', 'description': "for every setmem, replace future occurences of it with it's value,\nif possible", 'signature': 'def cleanup_mems(trace):'}</s>{'name': 'simplify@panoramix/core/algebra.py', 'description': 'DOCSTRING', 'code': 'def simplify(exp):\n if opcode(exp) == "max"... | 0 |
{'name': 'speed_camera@versions/speed-camera 13.2/speed-cam.py', 'description': 'Main speed camera loop processing function', 'signature': 'def speed_camera():'}</s>DB_PATH = os.path.join(DB_DIR_PATH, DB_NAME) | 1 |
{'name': 'Beam.plot_reaction_force@indeterminatebeam/indeterminatebeam.py', 'description': 'Returns a plot of the beam with reaction forces.\n\nParameters\n----------\nfig : bool, optional\n Figure to append subplot diagram too. If creating standalone\n figure then None, by default None\nrow : int, optional\n ... | 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': 'check_and_process_entry@code/utils/osg.py', 'description': ':param entry:\n:return:', 'signature': 'def check_and_process_entry(entry):'}</s>{'name': 'svn_repo@code/utils/osg.py', 'description': 'Tests if a repo URL is a svn repo, then returns the repo url.', 'code': 'def svn_repo(repo):\n """\n Tests i... | 0 |
{'name': 'load_key_string@src/M2Crypto/RSA.py', 'description': 'Load an RSA key pair from a string.\n\n:param string: String containing RSA key pair in PEM format.\n\n:param callback: A Python callable object that is invoked\n to acquire a passphrase with which to unlock the\n key. The d... | 0 |
{'name': 'test_get_atoms_errors@vermouth/tests/test_ffinput.py', 'description': 'Test _get_atoms fails when expected.', 'signature': 'def test_get_atoms_errors(tokens, natoms):'}</s>{'name': '_get_order_and_prefix_from_prefix@vermouth/ffinput.py', 'description': 'Convert a prefix into a numerical value.', 'code': 'def ... | 0 |
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre... | 0 |
{'name': 'Plane3D.split_points@autolab_core/points.py', 'description': 'Split a point cloud into two along this plane.\n\nParameters\n----------\npoint_cloud : :obj:`PointCloud`\n The PointCloud to divide in two.\n\nReturns\n-------\n:obj:`tuple` of :obj:`PointCloud`\n Two new PointCloud objects. The first contai... | 0 |
{'name': 'schedule_messages@sitemessage/toolbox.py', 'description': 'Schedules a message or messages.\n\n:param messages: str or MessageBase heir or list - use str to create PlainTextMessage.\n\n:param recipients: recipients addresses or Django User model heir instances\n If `None` Dispatches should be created befor... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMD_DEREGISTER_PUBLISHER = 61 | 0 |
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>TLP_CAS_64 = (FMT_4DW_DATA, 0x0E) | 0 |
{'name': 'Gurobi._solve@linopy/solvers.py', 'description': 'Solve a linear problem from a Gurobi object.\n\n\nParameters\n----------\nm\n Gurobi object.\nsolution_fn : Path, optional\n Path to the solution file.\nlog_fn : Path, optional\n Path to the log file.\nwarmstart_fn : Path, optional\n Path to the wa... | 0 |
{'name': 'TestGenericUserToGroupSelf.test_add_user_to_himself_already_added@protector/tests.py', 'description': 'If user was already part of a group of his own without self role, we add self role.', 'signature': 'def test_add_user_to_himself_already_added(self):'}</s>{'name': 'TestCascadeDeleteOwnerToPermission@protect... | 0 |
{'name': 'test_skip_decorators@tests/test_coverage.py', 'description': 'Tests ignoring of property decorators', 'signature': 'def test_skip_decorators(ignore_setter, ignore_deleter, ignore_property, coverage):'}</s>{'name': 'test_should_report_partial_coverage@tests/test_coverage.py', 'description': 'DOCSTRING', 'code'... | 0 |
{'name': 'RemoveSelfDependencies@gyp/pylib/gyp/input.py', 'description': 'Remove self dependencies from targets that have the prune_self_dependency\nvariable set.', 'signature': 'def RemoveSelfDependencies(targets):'}</s>{'name': 'RemoveLinkDependenciesFromNoneTargets@gyp/pylib/gyp/input.py', 'description': "Remove dep... | 0 |
{'name': 'error_screen@displays/papiruszero2in.py', 'description': 'Error screen\n ', 'signature': 'def error_screen(message="ERROR"):'}</s>thankyou_screen_1 = "Enjoy your new" | 0 |
{'name': 'SidebarCallbacks.update_parameters@src/chime_dash/app/services/callbacks.py', 'description': 'Reads html form outputs and converts them to a parameter instance\n\nReturns Parameters', 'signature': 'def update_parameters(i, *input_values) -> List[dict]:'}</s>{'name': 'ComponentCallbacks@src/chime_dash/app/serv... | 0 |
{'name': 'IUZone.zone_id@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the zone_id. Should match the zone_id used in sequences', 'signature': 'def zone_id(self) -> str:'}</s>ATTR_ZONES = "zones" | 0 |
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'pixel_polygon_mask@g... | 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': 'Pix2Pix.fit@src/Pix2Pix/Pix2Pix.py', 'description': 'Parameters: \n model_name: Resume the training from saved checkpoint with file - "model_name"\n epoch_decay: Number of epochs after which learning rate starts decaying', 'signature': 'def fit(self, nb_epochs: int = 400, d_lr: float = 2e-4, g_lr: floa... | 0 |
{'name': 'DistributedCheckpointSaver.restore_with_id@torchtnt/framework/callbacks/dcp_saver.py', 'description': 'Utility method to restore dcp checkpoint from a checkpoint_id.\n\nThere are additional flags offered should the user want to skip loading the train and eval progress.\nBy default, the train and eval progress... | 1 |
{'name': 'disable_ssl_host_check@fame/ssl_hack.py', 'description': 'Never use in production!', 'signature': 'def disable_ssl_host_check():'}</s>__author__ = "Sergey Surkov" | 0 |
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ... | 0 |
{'name': 'InfoExtractor._parse_mpd_formats_and_subtitles@script.module.youtube.dl/lib/youtube_dl/extractor/common.py', 'description': 'Parse formats from MPD manifest.\nReferences:\n 1. MPEG-DASH Standard, ISO/IEC 23009-1:2014(E),\n http://standards.iso.org/ittf/PubliclyAvailableStandards/c065274_ISO_IEC_23009-1_201... | 0 |
{'name': 'SchemaClass.getHighestType@redfish_service_validator/catalog.py', 'description': "Get Highest possible version for given type.\n\n:param acquiredtype: Type available\n:param limit: Version string limit (full namespace or just version 'v1_x_x')", 'signature': 'def getHighestType(self, my_full_type, limit=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': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre... | 0 |
{'name': 'CeleryService._inflate_model@service_objects/celery_services.py', 'description': 'Inflate picklable tuple (of model-class and pk)- back to model instance.', 'signature': 'def _inflate_model(value):'}</s>{'name': 'celery_service_task@service_objects/celery_services.py', 'description': 'Task for dispatching `Ce... | 0 |
{'name': '_get_values@pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py', 'description': 'Match attribute in text and return all matches.\n\n:returns: List of matches.', 'signature': 'def _get_values(attribute, text):'}</s>{'name': 'main@pkgs/development/interpreters/python/update-... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMD_MQXR_DIAGNOSTICS = 196 | 0 |
{'name': 'plot_graph@osmnx/plot.py', 'description': "Visualize a graph.\n\nParameters\n----------\nG\n Input graph.\nax\n If not None, plot on this pre-existing axes instance.\nfigsize\n If `ax` is None, create new figure with size `(width, height)`.\nbgcolor\n Background color of the figure.\nnode_color\n ... | 0 |
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>OP_ROT = CScriptOp(0x7b) | 0 |
{'name': 'DastUnparser.enter@da/compiler/pseudo.py', 'description': "Print ':', and increase the indentation.", 'signature': 'def enter(self):'}</s>{'name': 'SequenceExpr@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['Expression'], 'methods': []} | 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': 'user@backend-tests/tests/test_aws_iotcore.py', 'description': 'Create Mender user and create an AWS IoT Core integration in iot-manager using the connection string.', 'signature': 'def user(clean_mongo) -> Optional[User]:'}</s>{'name': '_TestAWSIoTCoreBase@backend-tests/tests/test_aws_iotcore.py', 'descriptio... | 0 |
{'name': 'Jfunc2@prosail/FourSAIL.py', 'description': 'J2 function.', 'signature': 'def Jfunc2(k, l, t):'}</s>{'name': 'define_geometric_constants@prosail/FourSAIL.py', 'description': 'DOCSTRING', 'code': 'def define_geometric_constants(tts, tto, psi):\n cts = np.cos(np.radians(tts))\n cto = np.cos(np.radians(tto... | 0 |
{'name': 'adapet.forward@src/adapet.py', 'description': ':param batch:\n:return:', 'signature': 'def forward(self, batch):'}</s>device = torch.device("cuda" if torch.cuda.is_available() else "cpu") | 1 |
{'name': '_examine_ts_policy@src/supporting-files/txn_safety.py', 'description': 'What invariant we check for depends on the ts-policy.', 'signature': 'def _examine_ts_policy(entity):'}</s>{'name': 'dangerously_written_outside_transaction_model_or_user_lock@src/supporting-files/txn_safety.py', 'description': "Decorator... | 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': 'scan_setup_py@versioneer.py', 'description': "Validate the contents of setup.py against V... | 0 |
{'name': '_MXNetModule.__make_numerical_loss@datawig/imputer.py', 'description': 'Generate output symbol for univariate numeric loss\n\n:param latents:\n:param label_field_name:\n:return: mxnet symbols for predictions and loss', 'signature': 'def __make_numerical_loss(latents: mx.symbol,'}</s>{'name': 'TfIdfEncoder@dat... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.