text string | label int64 |
|---|---|
{'name': 'COCO.getCatIds@src/data/pycocotools/coco.py', 'description': 'filtering parameters. default skips that filter.\n:param catNms (str array) : get cats for given cat names\n:param supNms (str array) : get cats for given supercategory names\n:param catIds (int array) : get cats for given cat ids\n:return: ids ... | 0 |
{'name': 'boundary_statistic@graphlearning/utils.py', 'description': 'Boundary test statistic\n===================\n\nComputes the boundary test statistics from [1] for identifying the boundary of a point cloud.\n\nParameters\n----------\nX : (n,d) numpy array (float)\n Point cloud in dimension d.\nr : float or int,... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCFSTATUS_ADMIN_INCOMPLETE = 20 | 0 |
{'name': 'Status.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.\n\nArgs:\n time_multiplier: Instance of util.TimeMultiplier.\n pause: An observable pause subject, instance of util.ObservableFlag.\n frame_timer: A Timer instance counting duration of frames.', 'signature': 'def __in... | 0 |
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': '_z3_check_cint_overflow@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def _z3_check_cint_overflow(n, name):\n _z3_assert(ctypes.c_int(n).va... | 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': 'TokenList.get_parent_name@libs/sqlparse/sql.py', 'description': 'Return name of the parent object if any.\n\nA parent object is identified by the first occurring dot.', 'signature': 'def get_parent_name(self):'}</s>{'name': 'Parenthesis@libs/sqlparse/sql.py', 'description': 'Tokens between parenthesis.', 'bas... | 0 |
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>PF_TCPS_PROXY_DST = TCP_NSTATES + 1 | 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>BOX_IS_MIXED = "Pure boxes can have only digits or only qudits as dom and cod." | 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': 'TarInfo.frombuf@venv/Lib/site-packages/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>BLKTYPE = b'4' | 0 |
{'name': 'GeoDataset.set_roi@salem/datasets.py', 'description': "Set a region of interest for the dataset.\nIf set succesfully, a ROI is simply a mask of the same size as the\ndataset's grid, obtained with the .roi attribute.\nI haven't decided yet if the data should be masekd out when a ROI\nhas been set.\nParameters\... | 0 |
{'name': 'git_pieces_from_vcs@citeproc/_version.py', 'description': "Get version from 'git describe' in the root of the source tree.\n\nThis only gets called if the git-archive 'subst' keywords were *not*\nexpanded, and _version.py hasn't already been rewritten with a short\nversion string, meaning we're inside a check... | 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_RESERVED2 = CScriptOp(0x8a) | 0 |
{'name': 'pre_process_and_fetch_license_dict@src/attributecode/model.py', 'description': 'Return a dictionary containing the license information (key, name, text, url)\nfetched from the ScanCode LicenseDB or DejaCode API.', 'signature': 'def pre_process_and_fetch_license_dict(abouts, from_check=False, api_url=None, api... | 1 |
{'name': 'read_fixed_fmt@meza/io.py', 'description': "Reads a fixed-width csv file.\n\nArgs:\n filepath (str): The fixed width formatted file path or file like object.\n widths (List[int]): The zero-based 'start' position of each column.\n mode (Optional[str]): The file open mode (default: 'r').\n kwargs (d... | 0 |
{'name': 'Node.decide_between_simultaneous_individuals@ciw/node.py', 'description': 'Finds the next individual that should now finish service.', 'signature': 'def decide_between_simultaneous_individuals(self):'}</s>{'name': 'Schedule@ciw/schedules.py', 'description': "A Schedule class for storing information about serv... | 0 |
{'name': 'Telnet.process_rawq@soundrts/batteries/telnetlib.py', 'description': "Transfer from raw queue to cooked queue.\n\nSet self.eof when connection is closed. Don't block unless in\nthe midst of an IAC sequence.", 'signature': 'def process_rawq(self):'}</s>AO = bytes([245]) | 0 |
{'name': 'marginal_expectation@dpipe/im/dist.py', 'description': 'Computes expectations along the ``axis`` according to ``integrals`` independently.\n\n``args`` and ``kwargs`` are passed to ``integral`` as additional arguments.', 'signature': 'def marginal_expectation(distribution: Tensor, axis: AxesLike,'}</s>{'name'... | 1 |
{'name': 'Ad2cpDataPacket._parse@echopype/convert/parse_ad2cp.py', 'description': 'Parses raw bytes into a value given its data type', 'signature': 'def _parse(value: bytes, data_type: DataType, size_bytes: int) -> np.ndarray:'}</s>{'name': 'Dimension@echopype/convert/parse_ad2cp.py', 'description': 'Determines the dim... | 0 |
{'name': 'entrypoint@da/api.py', 'description': 'Entry point for running DistAlgo as the main module.\n\n ', 'signature': 'def entrypoint():'}</s>GlobalOptions = None | 0 |
{'name': 'query_entry@geetest_offline/geetest_offline_gd.py', 'description': 'main entry', 'signature': 'def query_entry():'}</s>{'name': 'parse_detail@geetest_offline/geetest_offline_gd.py', 'description': 'parse company detail for guangzhou and other', 'code': 'def parse_detail(html_doc):\n \'\'\'parse company det... | 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': '_assert_have_solver@polytope/solvers.py', 'description': 'Raise `RuntimeError` if `solver` is absent.', 'signature': 'def _assert_have_solver(solver):'}</s>installed_solvers = {'scipy'} | 1 |
{'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_PUSHDATA4 = CScriptOp(0x4e) | 0 |
{'name': 'dict_to_xls@utils.py', 'description': 'Convert dict to excel\n\nArgs:\n dic: result dictionary. Keys are tuples.\n row_keys_idx: index of keys for rows, ordered hierarchicallly\n col_keys_idx: index of keys for columns, ordered hierarchicallly\n sheet_idx: index of keys for sheet', 'signature': 'd... | 1 |
{'name': 'Connection._handle_error@qds_sdk/connection.py', 'description': 'Raise exceptions in response to any http errors\nArgs:\n response: A Response object\nRaises:\n BadRequest: if HTTP error code 400 returned.\n UnauthorizedAccess: if HTTP error code 401 returned.\n ForbiddenAccess: if HTTP error code... | 1 |
{'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': 'dict_to_cluster@cblaster/helpers.py', 'description': 'Creates a mock Cluster from a sequence dictionary.', 'signature': 'def dict_to_cluster(sequences, spacing=500):'}</s>{'name': 'find_feature@cblaster/genome_parsers.py', 'description': 'DOCSTRING', 'code': 'def find_feature(array, ftype):\n for feature i... | 0 |
{'name': 'GTestFilterUnitTest.RunAndVerifyAllowingDisabled@src/3rd_party-static/gmock-1.7.0/gtest/test/gtest_filter_unittest.py', 'description': 'Checks that the binary runs correct set of tests for the given filter.\n\nRuns gtest_filter_unittest_ with the given filter, and enables\ndisabled tests. Verifies that the ri... | 0 |
{'name': 'WriteWrapper.setUp@testing/test_parser.py', 'description': 'Setup for each test.\n\n ', 'signature': 'def setUp(self):'}</s>model_path = "SimpleRC" | 1 |
{'name': 'skosify@skosify/skosify.py', 'description': 'Convert, extend, and check SKOS vocabulary.', 'signature': 'def skosify(*sources, **config):'}</s>{'name': 'initialize_concept_scheme@skosify/skosify.py', 'description': "Initialize a concept scheme: Optionally add a label if the concept\nscheme doesn't have a labe... | 1 |
{'name': 'showBox@source/pi-timolo.py', 'description': 'Show stream image detection area on image to align camera\nThis is a quick fix for restricting motion detection\nto a portion of the final image. Change the stream image size\non line 206 and 207 above\nAdjust track config.py file MOTION_TRACK_TRIG_LEN as required... | 1 |
{'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': 'repeat_every@fastapi_utils/tasks.py', 'description': "This function returns a decorator that modifies a function so it is periodically re-executed after its first call.\n\nThe function it decorates should accept no arguments and return nothing. If necessary, this can be accomplished\nby using `functools.parti... | 0 |
{'name': 'main@swagger_to/bin/swagger_to_py_client.py', 'description': 'Execute the main routine.', 'signature': 'def main() -> None:'}</s>_INT32_ARGUMENT_FROM_STRING_TPL = ENV.from_string('''\
{
parsed, err := strconv.ParseInt({{ string_identifier }}, 10, 32)
if err != nil {
{% set msg = "Parameter '%s': "|for... | 0 |
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\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': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field... | 0 |
{'name': 'get_uniprot_info@gget/utils.py', 'description': 'Retrieve UniProt synonyms and description based on Ensemsbl identifiers.\n\nArgs:\n- server Link to UniProt REST API server.\n- ensembl_id Ensembl, WormBase or FlyBase ID (str).\n- verbose True/False to print logging messages.\n\nReturns d... | 1 |
{'name': 'create_user@burpui/cli.py', 'description': 'Create a new user.', 'signature': 'def create_user(backend, password, ask, verbose, name):'}</s>{'name': 'legacy@burpui/cli.py', 'description': 'Legacy server for backward compatibility.', 'code': 'def legacy():\n """Legacy server for backward compatibility."""\n... | 0 |
{'name': 'get_ngrok_process@pyngrok/ngrok.py', 'description': "Get the current ``ngrok`` process for the given config's ``ngrok_path``.\n\nIf ``ngrok`` is not installed at :class:`~pyngrok.conf.PyngrokConfig`'s ``ngrok_path``, calling this method\nwill first download and install ``ngrok``.\n\nIf ``ngrok`` is not runnin... | 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>{'name': 'DvzRequestPush@datoviz/__i... | 0 |
{'name': 'takePano@source/pi-timolo.py', 'description': 'Take a series of overlapping images using pantilt at specified PANO_CAM_STOPS\nthen attempt to stitch the images into one panoramic image. Note this\nwill take time so depending on number of cpu cores and speed. The PANO_TIMER\nshould be set to avoid multiple sti... | 0 |
{'name': 'kill@pyngrok/ngrok.py', 'description': "Terminate the ``ngrok`` processes, if running, for the given config's ``ngrok_path``. This method will not\nblock, it will just issue a kill request.\n\n:param pyngrok_config: A ``pyngrok`` configuration to use when interacting with the ``ngrok`` binary,\n overriding... | 0 |
{'name': 'laterThanReportlab21@src/z3c/rml/occurence.py', 'description': 'The directive is only available in Reportlab 2.1 and higher.', 'signature': 'def laterThanReportlab21(directive):'}</s>{'name': 'One@src/z3c/rml/occurence.py', 'description': 'One\n\nThis sub-directive must occur exactly one time.', 'base_classes... | 0 |
{'name': 'Struct.field@python/taichi/lang/struct.py', 'description': 'Creates a :class:`~taichi.StructField` with each element\nhas this struct as its type.\n\nArgs:\n members (dict): a dict, each item is like `name: type`.\n methods (dict): a dict of methods that should be included with\n the field. Each... | 0 |
{'name': 'net_out_lw_rad@cfg/hass/custom_components/wb_irrigation/pyeto/fao.py', 'description': "Estimate net outgoing longwave radiation.\n\nThis is the net longwave energy (net energy flux) leaving the\nearth's surface. It is proportional to the absolute temperature of\nthe surface raised to the fourth power accordin... | 0 |
{'name': 'fx_karoo_pause_refer@karoo-gp.py', 'description': 'Enables (g)eneration, (i)nteractive, and (d)e(b)ug display modes\nto offer the (pause) menu at each prompt.\n\nSee fx_karoo_pause() for an explanation of the value being passed.\n\nCalled by: the functions called by PART 4 of fx_karoo_gp()\n\nArguments requir... | 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... | 0 |
{'name': 'Layer.raw_query@openmaptiles/tileset.py', 'description': 'Query string as defined in the layer file', 'signature': 'def raw_query(self) -> str:'}</s>GetEnv = NewType('GetEnv', Callable[[str, Optional[str]], Optional[str]]) | 0 |
{'name': 'modular_sqrt_composite@crypto_commons/rsa/rsa_commons.py', 'description': 'Calculates modular square root of composite value for given all modulus factors\nFor a = b^2 mod p*q*r*m... calculates b\n:param c: residue\n:param factors: list of modulus prime factors\n:return: all potential root values', 'signature... | 0 |
{'name': 'NodeList.tell_update@shingetsu/node.py', 'description': 'Tell update other nodes.\n\nIf node is None, node is myself.', 'signature': 'def tell_update(self, cache, stamp="", id="", node=None):'}</s>{'name': 'NodeList@shingetsu/node.py', 'description': 'Node list.', 'base_classes': ['RawNodeList'], 'methods': [... | 1 |
{'name': 'TopologyView.retrieve@moi/views.py', 'description': 'Read information about an individual Topology resource.\n\nThe GET method reads the information of a Topology.', 'signature': 'def retrieve(self, request, *args, **kwargs):'}</s>{'name': 'SNSSAIList@moi/models.py', 'description': 'DOCSTRING', 'base_classes'... | 0 |
{'name': 'HtmlFormatter.make_html_word@src/freetype/src/tools/docmaker/tohtml.py', 'description': 'Analyze a simple word to detect cross-references and markup.', 'signature': 'def make_html_word(self, word):'}</s>re_markup_tags = [re_markup_tag1, re_markup_tag2] | 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': 'paint_one@graphics/learn_to_paint/painter_fun.py', 'description': ':param img:\n:param canvas:\n:param x:\n:param y:\n:param angle:\n:param radius:\n:param magnitude:\n:param brush:\n:param check_error:\n:param useoil:\n:param color_neighbor_size:\n:return:', 'signature': 'def paint_one(img, canvas, distance_... | 0 |
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ... | 0 |
{'name': 'update_setup@pipenv_setup/setup_updater.py', 'description': 'Clear install_requires and dependency_links argument and fill new ones. Format the code.\n\n:param dependency_arguments:\n:param filename:\n:param dev: update extras_require or not\n:raise ValueError: when setup.py is not recognized (malformed)', 's... | 1 |
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>LOG_ALERT = 1 | 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': 'generate_json@hackr/object_generator.py', 'description': 'Use generators to fill the data of each field', 'signature': 'def generate_json(count, **kwargs):'}</s>{'name': 'email@hackr/generator.py', 'description': 'DOCSTRING', 'code': 'def email(count):\n dataset = []\n for i in range(count):\n da... | 0 |
{'name': 'set_install_id@delocate/tools.py', 'description': 'Set install id for library named in `filename`.\n\nParameters\n----------\nfilename : str or PathLike\n filename of library\ninstall_id : str\n install id for library `filename`\nad_hoc_sign : {True, False}, optional\n If True, sign library with ad-h... | 0 |
{'name': 'update_precond_dense@preconditioned_stochastic_gradient_descent.py', 'description': 'update dense preconditioner P = Q^T*Q\nQ: Cholesky factor of preconditioner\ndxs: a list of random perturbation on parameters\ndgs: a list of resultant perturbation on gradients\nstep: update step size', 'signature': 'def upd... | 0 |
{'name': 'Application._perform_deferred_reload@robopianist/viewer/application.py', 'description': 'Performs the deferred part of initialization related to Physics reload.\n\nArgs:\n params: Deferred reload parameters, an instance of ReloadParams.', 'signature': 'def _perform_deferred_reload(self, params):'}</s>KEY_G =... | 0 |
{'name': 'save_config@pyrgg/functions.py', 'description': 'Save input_dict as the generation config.\n\n:param input_dict: input data\n:type input_dict: dict\n:return: path to file as str', 'signature': 'def save_config(input_dict):'}</s>DIMACS_FIX = dedent(
"""\
c FILE :{0}.gr
c No. of ver... | 0 |
{'name': 'FederatedExtensionAddon.copy_one_extension@py/jupyterlite-core/jupyterlite_core/addons/federated_extensions.py', 'description': 'yield a task to copy one unpacked on-disk extension from anywhere into the output dir', 'signature': 'def copy_one_extension(self, pkg_json):'}</s>JUPYTERLITE_JSON = "jupyter-lite.j... | 0 |
{'name': 'process_line@scripts/pdns/lib/python2.7/site-packages/pip/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have an effect\nare from SUPPORTED_OPTIONS_R... | 0 |
{'name': 'test_imputer_without_test_set_random_split@test/test_imputer.py', 'description': 'Test asserting that the random split is working internally\nby calling imputer.fit only with a training set.', 'signature': 'def test_imputer_without_test_set_random_split(test_dir, data_frame):'}</s>{'name': 'test_imputer_dupli... | 0 |
{'name': 'many@funcparserlib/parser.py', 'description': 'Return a parser that applies the parser `p` as many times as it succeeds at\nparsing the tokens.\n\nReturn a parser that infinitely applies the parser `p` to the input sequence\nof tokens as long as it successfully parses them. The parsed value is a list of\nthe ... | 0 |
{'name': 'auto_from_etree@a38/fattura.py', 'description': 'Instantiate a Fattura or FatturaElettronicaSemplificata from a parsed XML', 'signature': 'def auto_from_etree('}</s>{'name': 'Model@a38/models.py', 'description': 'Declarative description of a data structure that can be validated and\nserialized to XML.', 'base... | 0 |
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': 'on_restore_database@src/server/server.py', 'description': 'Restore database.', 'code': "def on_restore_database(data):\n '''Restore database.'''\n success ... | 0 |
{'name': 'common_main@tools/warn/warn_common.py', 'description': 'Shared main function for Google3 and non-Google3 versions of warn.py.', 'signature': 'def common_main(use_google3, create_launch_subprocs_fn, classify_warnings_fn,'}</s>{'name': 'kotlin@tools/warn/other_warn_patterns.py', 'description': 'DOCSTRING', 'cod... | 0 |
{'name': 'ParserElement.setDebug@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.\nSet ``flag`` to True to enable, False to disable.\n\nExample::\n\n wd = Word(alphas).setName("alphaword")\n integer = Word(num... | 0 |
{'name': 'quaternion_from_matrix@utils/transformations.py', 'description': 'Return quaternion from rotation matrix.\n\nIf isprecise is True, the input matrix is assumed to be a precise rotation\nmatrix and a faster algorithm is used.\n\n>>> q = quaternion_from_matrix(numpy.identity(4), True)\n>>> numpy.allclose(q, [1, ... | 0 |
{'name': 'MaskedBodyBuilder.set_masks@03_pruning/helpers/masked_body_builder.py', 'description': 'Set pruning masks - sequentially match children with masks ', 'signature': 'def set_masks(self, masks):'}</s>{'name': 'MaskedLinear@03_pruning/helpers/masked_body_builder.py', 'description': 'Masked Version of Linear Layer... | 1 |
{'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': 'Executor.update_server_stats@cr8/run_spec.py', 'description': 'Triggers ANALYZE on the server to update statistics.', 'signature': 'def update_server_stats(self):'}</s>{'name': '_append_sql@cr8/clients.py', 'description': "Append `/_sql` to the host, dropping any query parameters.\n\n>>> _append_sql('http://n... | 0 |
{'name': 'poisson_mbo.__init__@graphlearning/ssl.py', 'description': "PoissonMBO \n===================\n\nSemi-supervised learning via Poisson MBO method [1]. class_priors must be provided.\n\nParameters\n----------\nW : numpy array, scipy sparse matrix, or graphlearning graph object (optional), default=None\n Weigh... | 0 |
{'name': 'HubitatSwitch.__init__@custom_components/hubitat/switch.py', 'description': 'Initialize a Hubitat switch.', 'signature': 'def __init__('}</s>{'name': 'DeviceCommand@custom_components/hubitat/hubitatmaker/const.py', 'description': 'DOCSTRING', 'base_classes': ['StrEnum'], 'methods': []} | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCFCONLOS_TOLERATE = 1 | 0 |
{'name': 'fix_game@roleml/roleml.py', 'description': 'Fixes a game by inserting the right roles.\n\nArgs:\n match: a MatchDto\n timeline: the associated MatchTimelineDto\n fix_timeline: whether or not to iterate on the timeline to fix the "diff" fields\n\nReturns:\n match, timeline: the match and timeline w... | 1 |
{'name': 'HelpUtilities.validate_port_range@raccoon_src/utils/help_utils.py', 'description': 'Validate port range for Nmap scan', 'signature': 'def validate_port_range(cls, port_range):'}</s>{'name': 'RequestHandlerException@raccoon_src/utils/exceptions.py', 'description': 'DOCSTRING', 'base_classes': ['RaccoonExceptio... | 0 |
{'name': 'test_rebase_arguments@PyGitUp/tests/test_rebase_arguments.py', 'description': "Run 'git up' with rebasing.arguments ", 'signature': 'def test_rebase_arguments():'}</s>{'name': 'setup_function@PyGitUp/tests/test_rebase_arguments.py', 'description': 'DOCSTRING', 'code': "def setup_function():\n master_path, ... | 0 |
{'name': 'define_G@SIM-CycleGAN/models/networks.py', 'description': "Create a generator\n\nParameters:\n input_nc (int) -- the number of channels in input images\n output_nc (int) -- the number of channels in output images\n ngf (int) -- the number of filters in the last conv layer\n netG (str) -- the archi... | 0 |
{'name': 'get_natural_earth_file@salem/utils.py', 'description': "Returns the path to the desired natural earth file.\n\nhttp://www.shadedrelief.com/natural3/pages/textures.html\n\nParameters\n----------\nres : str\n 'lr' or 'hr' (low res or high res)", 'signature': "def get_natural_earth_file(res='lr'):"}</s>sample_... | 0 |
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQBACF_LAST_USED = 7039 | 0 |
{'name': 'TestMibSnimpy.testGetByOid@tests/test_mib.py', 'description': 'Test that we can get all named attributes by OID.', 'signature': 'def testGetByOid(self):'}</s>{'name': 'getTables@snimpy/mib.py', 'description': 'Return all tables from a given MIB.\n\n:param mib: The MIB name\n:return: The list of all tables for... | 0 |
{'name': 'build_saved_model@tf2/run.py', 'description': 'Returns a tf.Module for saving to SavedModel.', 'signature': 'def build_saved_model(model, include_projection_head=True):'}</s>{'name': 'save@tf2/run.py', 'description': 'Export as SavedModel for finetuning and inference.', 'code': 'def save(model, global_step):\... | 0 |
{'name': 'NgrokProcess.stop_monitor_thread@pyngrok/process.py', 'description': "Set the monitor thread to stop monitoring the ``ngrok`` process after the next log event. This will not\nnecessarily terminate the thread immediately, as the thread may currently be idle, rather it sets a flag\non the thread telling it to t... | 0 |
{'name': 'SFTPClient.put_file@src/SSHLibrary/client.py', 'description': "Uploads the file(s) from the local machine to the remote host.\n\n:param str sources: Must be the path to an existing file on the remote\n machine or a glob pattern .\n Glob patterns, like '*' and '?', can be used in the source, in\n whic... | 0 |
{'name': 'OAuth2Credentials.authorize@third_party/oauth2client/client.py', 'description': "Authorize an httplib2.Http instance with these credentials.\n\nThe modified http.request method will add authentication headers to each\nrequest and will refresh access_tokens when a 401 is received on a\nrequest. In addition the... | 0 |
{'name': 'execute_and_aggregate_exclusive_ops@self_organising_systems/biomakerca/env_logic.py', 'description': 'Execute all exclusive functions and aggregate them all into a single\nExclusiveOp for each cell.\n\nThis function constructs sanitized interfaces for the input excl_fs and \nagent_excl_f, making sure that no ... | 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>{'name': 'msg_generic@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name... | 0 |
{'name': '_to_request@swagger_to/elm_client.py', 'description': 'Translate an endpoint to a client request function.\n\n:param endpoint: to be translated\n:param typedefs: table of Elm type definitions\n:return: representation of the request function suitable for generating Elm client code', 'signature': 'def _to_reque... | 0 |
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 0 |
{'name': 'calibrate_cams_all@Pose2Sim/calibration.py', 'description': 'Either converts a preexisting calibration file, \nor calculates calibration from scratch (from a board or from points).\nStores calibration in a .toml file\nPrints recap.\n\nINPUTS:\n- a config_dict dictionary\n\nOUTPUT:\n- a .toml camera calibratio... | 1 |
{'name': 'main._generate_dos@mcu/qe/qe.py', 'description': "Processing/collecting the DOS data before the plotting function\n\nTDOS dimensions: [spin , [E(eV), tdos(E)]]\n\nspin : spin of DOS.\nlm : string or a list of string, e.g. 'Ni:s' or ['Ni:s','C:s,px,pz']", 'signature': 'def _generate_dos... | 0 |
{'name': 'do_latex_escape@django_tex/filters.py', 'description': 'Replace all LaTeX characters that could cause the latex compiler to fail\nand at the same time try to display the character as intended from the user.\n\nsee also https://tex.stackexchange.com/questions/34580/escape-character-in-latex', 'signature': 'def... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.