text string | label int64 |
|---|---|
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>PFR_FLAG_ALLMASK = 127 | 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': 'fab@scripts/build_mod_chip.py', 'description': 'Generate a drawing of the chip on the Fab layer.', 'signature': 'def fab(conf):'}</s>fab_width = 0.01 | 1 |
{'name': 'BIP9SoftForksTest.csv_invalidate@test/functional/feature_bip9_softforks.py', 'description': 'Modify the signature in vin 0 of the tx to fail CSV\nPrepends -1 CSV DROP in the scriptSig itself.', 'signature': 'def csv_invalidate(self, tx):'}</s>{'name': 'assert_raises@test/functional/test_framework/util.py', 'd... | 0 |
{'name': 'rhef@sunkit_image/radial.py', 'description': 'Implementation of the Radial Histogram Equalizing Filter (RHEF).\n\nThe filter works as follows:\n\nRadial Histogram Equalization is a simple algorithm for removing the radial gradient to reveal\ncoronal structure. It also significantly improves the visualization ... | 0 |
{'name': 'GenericAfipTypeManager.populate@django_afip/models.py', 'description': "Fetch and save data for this model from AFIP's WS.\n\nDirect usage of this method is discouraged, use\n:func:`~.models.load_metadata` instead.", 'signature': 'def populate(self, ticket: AuthTicket | None = None) -> None:'}</s>f = _LazyFac... | 0 |
{'name': '_getInputFromUser@packstack/installer/run_setup.py', 'description': 'this private func reads the data from the user\nfor the given param', 'signature': 'def _getInputFromUser(param):'}</s>{'name': 'generateAnswerFile@packstack/installer/run_setup.py', 'description': 'DOCSTRING', 'code': 'def generateAnswerFil... | 0 |
{'name': 'process@tests/lint.py', 'description': 'Process a file.', 'signature': 'def process(fname, allow_type):'}</s>{'name': 'filepath_enumerate@tests/lint.py', 'description': 'Enumerate the file paths of all subfiles of the list of paths', 'code': 'def filepath_enumerate(paths):\n """Enumerate the file paths of ... | 0 |
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>ICMP_PARAMPROB_ERRATPTR = 0 | 0 |
{'name': 'map_cis@tensorqtl/cis.py', 'description': 'Run cis-QTL mapping', 'signature': 'def map_cis(genotype_df, variant_df, phenotype_df, phenotype_pos_df, covariates_df=None,'}</s>{'name': 'filter_covariates@tensorqtl/core.py', 'description': 'Inputs:\n covariates0_t: covariates matrix (samples x covariates)\n ... | 0 |
{'name': 'CheckBraces@tools/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\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 errors fou... | 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': 'BV2Int@src/api/python/z3/z3.py', 'descript... | 0 |
{'name': 'Imputer.__transform_and_compute_metrics_mxnet_iter@datawig/imputer.py', 'description': 'Returns predictions and metrics (average and per class)\n\n:param mxnet_iter:\n:param metrics_path: if not None and exists, metrics are serialized as json to this path.\n:return: predictions and metrics', 'signature': 'def... | 0 |
{'name': 'parse@SneakerBot 2019/venv/lib/python3.7/site-packages/cssselect/parser.py', 'description': "Parse a CSS *group of selectors*.\n\nIf you don't care about pseudo-elements or selector specificity,\nyou can skip this and use :meth:`~GenericTranslator.css_to_xpath`.\n\n:param css:\n A *group of selectors* as a... | 0 |
{'name': 'main@ytmdl/main.py', 'description': 'Run on program call.', 'signature': 'def main(args):'}</s>{'name': 'cleanup@ytmdl/dir.py', 'description': 'Move the song from temp to the song dir.', 'code': 'def cleanup(TRACK_INFO, index, datatype, remove_cached=True, filename_passed=None):\n """Move the song from tem... | 0 |
{'name': 'localtime@tool/mkarchive.py', 'description': 'Return YYYY-mm-dd HH:MM.', 'signature': 'def localtime(stamp=0):'}</s>title_limit = 30 | 0 |
{'name': 'FuncWebTestMixin.follow_link@src/django_functest/funcwebtest.py', 'description': 'Follows the link specified by CSS in css_selector= or matching the text in text=', 'signature': 'def follow_link(self, css_selector=None, text=None):'}</s>{'name': '_NotPassed@src/django_functest/utils.py', 'description': 'DOCST... | 0 |
{'name': 'load_command_class@s2e_env/manage.py', 'description': 'Given a command name, returns the Command class instance. All errors raised\nby the import process (ImportError, AttributeError) are allowed to\npropagate.', 'signature': 'def load_command_class(name):'}</s>COMMANDS_DIR = os.path.join(os.path.dirname(__fi... | 0 |
{'name': 'validate_metro_map_v3@metro_map_saver/map_saver/validator.py', 'description': 'Validate the MetroMap object, allowing mixing and matching line widths/styles.\n\nMain difference from v2 is points by color has an additional layer: the width+style,\n and drops the xy/xys intermediate key', 'signature': 'def v... | 0 |
{'name': 'handler@orders/src/create_order/main.py', 'description': 'Lambda function handler', 'signature': 'def handler(event, _):'}</s>PAYMENT_API_URL = os.environ["PAYMENT_API_URL"] | 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_PROPERTY_VALUE_TOO_BIG = 2469 | 0 |
{'name': 'BankIDClient.collect@bankid/syncclient.py', 'description': 'Collects the result of a sign or auth order using the\n``orderRef`` as reference.\n\nRP should keep on calling collect every two seconds if status is pending.\nRP must abort if status indicates failed. The user identity is returned\nwhen complete.\n\... | 1 |
{'name': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike... | 0 |
{'name': 'Adam.initialize_step@lsp_model/optim.py', 'description': "Initialize state with a defined step (but we don't have stored averaged).\nArguments:\n initial_step (int): Initial step number.", 'signature': 'def initialize_step(self, initial_step):'}</s>{'name': 'exponential_decay@lsp_model/optim.py', 'descript... | 0 |
{'name': 'grab_image_from_env@self_organising_systems/biomakerca/environments.py', 'description': 'Create a visualization of the environment.\n\nResulting values are floats ranging from [0,1].\n\nIf color_by_id is True, we blend the agent cell colors with unique per id\ncolors with a mix of id_color_intensity.', 'signa... | 0 |
{'name': '_BaseNodeItem.connectSource@lib/python/usdNodeGraph/ui/graph/nodeItem/nodeItem.py', 'description': 'input -> output\n:param node:\n:param inputName:\n:param outputName:\n:return:', 'signature': "def connectSource(self, node, inputName='input', outputName='output'):"}</s>PADDING_X = 100 | 0 |
{'name': 'PostgresNode.source_walsender@testgres/node.py', 'description': "Returns master's walsender feeding this replica.", 'signature': 'def source_walsender(self):'}</s>PG_AUTO_CONF_FILE = "postgresql.auto.conf" | 0 |
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ... | 0 |
{'name': 'get_dims_with_index_levels@linopy/common.py', 'description': "Get the dimensions of a Dataset with their index levels.\n\nExample usage with a dataset that has:\n- regular dimension 'time'\n- multi-indexed dimension 'station' with levels ['country', 'city']\nThe output would be: ['time', 'station (country, ci... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_CHANNEL_NOT_ACTIVATED = 2296 | 0 |
{'name': 'rdf_type_candidates@utils/query_graph_to_sparql.py', 'description': ' Takes in path ID (continous IDs, not glove vocab).\n And return type candidates (in continous IDs)\n based on whether we want URI or X candidates\n:param data:\n:param path_id:\n:param relations:\n:param reverse_vocab:\n:param ... | 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': 'TestEmbeddedDocumentField.test__parent__init__method_included_in_init_chain@tests/test_db_fields.py', 'description': 'Test to protect from accidental incorrect __init__ method overwrite.', 'signature': 'def test__parent__init__method_included_in_init_chain(self, db, mocker):'}</s>{'name': 'TestSortedListField... | 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': 'list_members@twitter_to_sqlite/cli.py', 'description': 'Fetch lists - accepts one or more screen_name/list_slug identifiers', 'signature': 'def list_members(db_path, identifiers, auth, ids):'}</s>source_re = re.compile('<a href="(?P<url>.*?)".*?>(?P<name>.*?)</a>') | 0 |
{'name': 'IUSequenceRun.running@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Indicate if this sequence is running', 'signature': 'def running(self) -> bool:'}</s>SERVICE_LOAD_SCHEDULE = "load_schedule" | 0 |
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>{'name': 'get_ui_server_messages_str@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def get_ui_server_messages_str():\n server_messages_formatted = \'\'\n i... | 0 |
{'name': '_get_params_for_registered_templates@neurodocker/cli/generate.py', 'description': 'Return list of click parameters for registered templates.', 'signature': 'def _get_params_for_registered_templates() -> list[click.Parameter]:'}</s>{'name': '_params_to_renderer_dict@neurodocker/cli/generate.py', 'description':... | 0 |
{'name': 'SciQuery.get_constraint_names@py3/SciServer/SciQuery.py', 'description': 'Gets a list of the names of table constraints in a particular database belonging to an RDBComputeDomain.', 'signature': 'def get_constraint_names(self, table_name, database=None, rdb_compute_domain=None):'}</s>{'name': 'submitNotebookJo... | 0 |
{'name': 'do_setup@versioneer.py', 'description': 'Do main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup():'}</s>{'name': 'get_config_from_root@versioneer.py', 'description': 'Read the project setup.cfg file to determine Versioneer config.', 'code': 'def get_config_from_root(roo... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>{'name': 'MD@code/pymqi/__init__.py', 'description': "Construct an MQMD Structure with default values as per MQI.\nThe default values may be overridden by the optional keyword arguments 'kw'.", '... | 0 |
{'name': 'WebcamVideoStream.stop@versions/speed-cam_8.87.py', 'description': 'indicate that the thread should be stopped ', 'signature': 'def stop(self):'}</s>IM_BIGGER = 3.0 | 0 |
{'name': 'PSBaseParser.nextline@pdfminer3/psparser.py', 'description': 'Fetches a next line that ends either with \\r or \\n.\n ', 'signature': 'def nextline(self):'}</s>{'name': 'PSSymbolTable@pdfminer3/psparser.py', 'description': 'A utility class for storing PSLiteral/PSKeyword objects.\n\nInterned objects ca... | 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': 'CheckOperatorSpacing@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Checks for horizontal spacin... | 0 |
{'name': 'port_unbind@kuryr/lib/binding/__init__.py', 'description': 'Unbinds the Neutron port from the network interface on the host.\n\n:param endpoint_id: the ID of the Docker container as string\n:param neutron_port: a port dictionary returned from python-neutronclient\n:param driver: the binding driver name\... | 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': 'Upgradegroup@infoblox_client/objects.py', 'description': "Upgradegroup: Upgrad... | 0 |
{'name': 'Field.deprecation_reason@pygraphy/introspection.py', 'description': 'Not support yet', 'signature': 'def deprecation_reason(self) -> Optional[str]:'}</s>{'name': 'EnumValue@pygraphy/introspection.py', 'description': 'DOCSTRING', 'base_classes': ['Object'], 'methods': []} | 0 |
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'DhcpOptionSpaceV4@infoblox_client/objects.py', 'description': "DhcpOptionSpaceV4: DHCP option space object.\nCorresponds to WAPI object 'dhcpoptionspace'\n\nAn Option Space de... | 0 |
{'name': 'Loss.get_dis_gan_loss@src/CycleGAN/CycleGAN.py', 'description': "Parameters:\n dis_pred_real_data: Discriminator's prediction on real data\n dis_pred_fake_data: Discriminator's prediction on fake data", 'signature': 'def get_dis_gan_loss(self, dis_pred_real_data, dis_pred_fake_data):'}</s>model = CycleG... | 0 |
{'name': 'LibcxxPrettyPrinter.__call__@llvm-project/libcxx/utils/gdb/libcxx/printers.py', 'description': 'Return the pretty printer for a val, if the type is supported.', 'signature': 'def __call__(self, val):'}</s>_long_int_type = gdb.lookup_type("unsigned long long") | 0 |
{'name': 'uberenv_create_mirror@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'Calls uberenv to create a spack mirror.', 'signature': 'def uberenv_create_mirror(prefix, spec, project_file, mirror_path):'}</s>{'name': 'get_shared_mirror_dir@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'DOC... | 0 |
{'name': 'AverageMeter.update@argus/utils.py', 'description': 'Update the average meter with a new value.\n\nArgs:\n value: Value to update the average meter with.\n n (int, optional): Number of elements accumulated by the value.\n Should be positive. Defaults to 1.', 'signature': 'def update(self, value, ... | 0 |
{'name': 'import_@twitter_to_sqlite/cli.py', 'description': 'Import data from a Twitter exported archive. Input can be the path to a zip\nfile, a directory full of .js files or one or more direct .js files.', 'signature': 'def import_(db_path, paths):'}</s>{'name': 'get_profile@twitter_to_sqlite/utils.py', 'description... | 0 |
{'name': 'Product._load@eoreader/products/product.py', 'description': 'Core function loading optical data bands\n\nArgs:\n bands (list): Band list\n pixel_size (float): Pixel size of the band, in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if pixel_size is provided.\n kwa... | 0 |
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_VERIF = CScriptOp(0x65) | 0 |
{'name': 'PythonTypeObjectFunctionPrototype.GetDescription@yaldevtools/source_code.py', 'description': 'Retrieves the description.\n\nReturns:\n list[str]: lines of the description.', 'signature': 'def GetDescription(self):'}</s>{'name': 'FunctionPrototype@yaldevtools/source_code.py', 'description': 'Function prototyp... | 0 |
{'name': 'Circuit.eval@discopy/quantum/circuit.py', 'description': "Evaluate a circuit on a backend, or simulate it with numpy.\n\nParameters\n----------\nothers : :class:`discopy.quantum.circuit.Circuit`\n Other circuits to process in batch.\nbackend : pytket.Backend, optional\n Backend on which to run the circu... | 0 |
{'name': 'apply_mirror_prefix_map@tools/idf_tools.py', 'description': 'Rewrite URL for given tool_obj, given tool_version, and current platform,\nif --mirror-prefix-map flag or IDF_MIRROR_PREFIX_MAP environment variable is given.', 'signature': 'def apply_mirror_prefix_map(args, tool_obj, tool_version):'}</s>{'name': '... | 0 |
{'name': 'TLP.get_lower_address@fpga/lib/pcie/tb/pcie.py', 'description': 'Compute lower address field from address and first byte enable', 'signature': 'def get_lower_address(self):'}</s>TLP_MEM_READ_LOCKED_64 = (FMT_4DW, 0x01) | 0 |
{'name': 'Cluster._parse_snapshot_restore_command@qds_sdk/cluster.py', 'description': 'Parse command line arguments for snapshot command.', 'signature': 'def _parse_snapshot_restore_command(cls, args, action):'}</s>{'name': 'str2bool@qds_sdk/cluster.py', 'description': 'DOCSTRING', 'code': 'def str2bool(v):\n return... | 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': 'Client.set_api_version@SalesforcePy/sfdc.py', 'description': 'Sets the api version to be used by the client. If not provided, it will get the latest version\navailable\n\n:return: set version kwarg on client if not defined', 'signature': 'def set_api_version(self, **kwargs):'}</s>BATCHES_URI = "/services/data... | 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': 'GlyphsBuilder._fake_designspace@Lib/glyphsLib/builder/builders.py', 'description': 'Build a fake designspace with the given UFOs as sources, so that all\nbuilder functions can rely on the presence of a designspace.', 'signature': 'def _fake_designspace(self, ufos):'}</s>{'name': 'LayerAnnotationProxy@Lib/glyp... | 0 |
{'name': 'PackageIndex.process_index@venv/Lib/site-packages/setuptools/package_index.py', 'description': 'Process the contents of a PyPI page', 'signature': 'def process_index(self, url, page):'}</s>{'name': 'to_filename@venv/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': "Convert a project or... | 1 |
{'name': 'answer_question@server.py', 'description': ' Will get entities for the question.\n Generate subgraph\n Run corechain and aux predictions\n\n\n:param question: str: intended question to answer\n:return:', 'signature': 'def answer_question(question, entities=None):'}</s>DEFAULT_EMBEDDING = POSSIBLE_EMB... | 0 |
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'is_pie@gef.py', 'description': 'DOCSTRING', 'code': 'def is_pie(fpath: str) -> bool:\n return Elf(fpath).checksec["PIE"]'} | 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': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'convert_table2dict@src/python_scripts/afnipy/afni_util.py', 'description': 'try to convert a table to a dictionary\... | 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': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>OP_CODESEPARATOR = CScriptOp(0xab) | 0 |
{'name': 'parse_info@parseoutput.py', 'description': 'Parses result of :i <name> command of ghci and returns derived Symbols.Declaration', 'signature': 'def parse_info(name, contents):'}</s>{'name': 'location_package_name@symbols.py', 'description': 'DOCSTRING', 'code': 'def location_package_name(loc):\n if isinstan... | 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': 'crop_sample_input@packnet_sfm/datasets/augmentations.py', 'description': "Crops the input information of a sample (i.e. that go to the networks)\n\nParameters\n----------\nsample : dict\n Dictionary with sample values (output from a dataset's __getitem__ method)\nborders : tuple\n Borders used for cropp... | 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': 'Matrix.cast@python/taichi/lang/matrix.py', 'description': 'Cast the matrix elements to a specified data type.\n\nArgs:\n dtype (:mod:`~taichi.types.primitive_types`): data type of the\n returned matrix.\n\nReturns:\n :class:`taichi.Matrix`: A new matrix with the specified data dtype.\n\nExample::... | 0 |
{'name': 'AGraph.draw@pygraphviz/agraph.py', 'description': 'Output graph to path in specified format.\n\n.. caution:: EXPERIMENTAL\n\nThis version of the draw command uses libgvc for drawing instead\nof command line GraphViz tools like in versions <1.6 and the default.\n\nAn attempt will be made to guess the output fo... | 0 |
{'name': 'to_tk@discopy/quantum/tk.py', 'description': 'Takes a :class:`discopy.quantum.Circuit`, returns a :class:`Circuit`.', 'signature': 'def to_tk(circuit):'}</s>{'name': 'Discard@discopy/quantum/gates.py', 'description': 'Discard n qubits. If :code:`dom == bit` then marginal distribution.', 'base_classes': ['Self... | 1 |
{'name': '_align_column@misc/tableutils.py', 'description': '[string] -> [padded_string]\n\n>>> list(map(str,_align_column(["12.345", "-1234.5", "1.23", "1234.5", "1e+234", "1.0e234"], "decimal")))\n[\' 12.345 \', \'-1234.5 \', \' 1.23 \', \' 1234.5 \', \' 1e+234 \', \' 1.0e234\']\n\n>>> list(map(st... | 0 |
{'name': 'assertrepr_compare@blockchain-env/lib/python3.7/site-packages/_pytest/assertion/util.py', 'description': 'Return specialised explanations for some operators/operands', 'signature': 'def assertrepr_compare(config, op, left, right):'}</s>{'name': '_compare_eq_sequence@blockchain-env/lib/python3.7/site-packages/... | 1 |
{'name': 'Template.runTemplate@qds_sdk/template.py', 'description': 'Run an existing Template and waits for the Result.\nPrints result to stdout. \n\nArgs:\n `id`: ID of the template to run\n `data`: json data containing the input_vars\n\nReturns: \n An integer as status (0: success, 1: failure)', 'signature'... | 0 |
{'name': '_validate_units_consistency_v2@unyt/_array_functions.py', 'description': 'raise UnitInconsistencyError if units are mixed\nif all args are pure numbers, they are treated as having ref_units,\notherwise they are treated as dimensionless', 'signature': 'def _validate_units_consistency_v2(ref_units, *args) -> No... | 0 |
{'name': 'dashboard_list_tagged@tessera-server/tessera/views_api.py', 'description': 'Listing for a set of dashboards with a tag applied. Returns just\nthe metadata, not the definitions.', 'signature': 'def dashboard_list_tagged(tag):'}</s>{'name': 'TablePresentation@tessera-server/tessera/client/api/model.py', 'descri... | 0 |
{'name': '_makeTags@scripts/pdns/lib/python2.7/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': '_flatten@scripts/pdns/lib/python2.7/site-packages/pkg_resources/... | 0 |
{'name': 'ensure_subnet@aegea/util/aws/__init__.py', 'description': 'Find and return a subnet in the given VPC, or create one subnet per AZ and return one of them if no suitable subnet\nis found.', 'signature': 'def ensure_subnet(vpc, availability_zone=None, assign_ipv6_cidr_blocks=False):'}</s>{'name': 'get_bdm@aegea/... | 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': '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': 'is_inflow@htmlmin/minify.py', 'description': 'Test whether a NavigableString belongs to a text flow, returns a tuple\nof two booleans describing the flow around the element. The first\nboolean represents the flow before the element, the second boolean\nrepresents the flow after the element.\n\n:param soup: a ... | 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': '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': 'make_ifs@panoramix/fo... | 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': 'render_smooth@picasso/render.py', 'description': 'Renders locs with with blur of on... | 0 |
{'name': 'import_experimental_data@mne_bids_pipeline/_import_data.py', 'description': 'Run the data import.\n\nParameters\n----------\ncfg\n The local configuration.\nbids_path_in\n The BIDS path to the data to import.\nbids_path_bads_in\n The BIDS path to the bad channels file.\ndata_is_rest : bool | None\n ... | 0 |
{'name': 'TPUEstimator._augment_model_fn@baselines/models/xlnet/tpu_estimator.py', 'description': 'Returns a new model_fn, which wraps the TPU support.', 'signature': 'def _augment_model_fn(self, model_fn, train_cache_fn, eval_cache_fn, batch_axis):'}</s>{'name': '_StoppingPredictHook@baselines/models/xlnet/tpu_estimat... | 1 |
{'name': 'furl.set@furl/furl.py', 'description': "Set components of a url and return this furl instance, <self>.\n\nIf any overlapping, and hence possibly conflicting, parameters\nare provided, appropriate UserWarning's will be raised. The\ngroups of parameters that could potentially overlap are\n\n <scheme> and <orig... | 0 |
{'name': 'write_elements@tools/pydfu.py', 'description': 'Writes the indicated elements into the target memory,\nerasing as needed.', 'signature': 'def write_elements(elements, mass_erase_used, progress=None):'}</s>{'name': 'page_erase@tools/pydfu.py', 'description': 'Erases a single page.', 'code': 'def page_erase(add... | 1 |
{'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': 'strip_extension@src/python_scripts/afnipy/afni_base.py', 'description': 'D... | 0 |
{'name': 'check_output@haproxyadmin/utils.py', 'description': 'Check if output contains any error.\n\nSeveral commands return output which we need to return back to the caller.\nBut, before we return anything back we want to perform a sanity check on\non the output in order to catch wrong input as it is impossible to\n... | 0 |
{'name': 'Zeroconf.handleQuery@stino/pyarduino/base/zeroconf.py', 'description': 'Deal with incoming query packets. Provides a response if\npossible.', 'signature': 'def handleQuery(self, msg, addr, port):'}</s>_TYPE_NULL = 10 | 0 |
{'name': 'lift_job@maf/impl/naiveLiftUp.py', 'description': "Lift this genome's blocks file to another genome.", 'signature': 'def lift_job(job, up_or_down, genome, other_genome, blocks_id, hal_id, opts):'}</s>{'name': 'merge_blocks_merge_subset_job@maf/impl/naiveLiftUp.py', 'description': 'Merges a small subset of the... | 0 |
{'name': 'View.analyze_cluster@picasso/gui/render.py', 'description': 'Clusters picked locs using k-means clustering. ', 'signature': 'def analyze_cluster(self):'}</s>{'name': 'save_user_settings@picasso/io.py', 'description': 'DOCSTRING', 'code': 'def save_user_settings(settings):\n settings = _to_dict_walk(setting... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.