text string | label int64 |
|---|---|
{'name': 'ProcessFileData@third_party/cpplint/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: An array of strings, each rep... | 0 |
{'name': 'serialize@strictyaml/ruamel/main.py', 'description': 'Serialize a representation tree into a YAML stream.\nIf stream is None, return the produced string instead.', 'signature': 'def serialize(node, stream=None, Dumper=Dumper, **kwds):'}</s>{'name': 'FlowSequenceEndToken@strictyaml/ruamel/tokens.py', 'descript... | 0 |
{'name': '_get_package_data@jupyter_packaging/setupbase.py', 'description': 'Expand file patterns to a list of `package_data` paths.\n\nParameters\n-----------\nroot: str\n The relative path to the package root from the current dir.\nfile_patterns: list or str, optional\n A list of glob patterns for the data file... | 0 |
{'name': '_Selector._freeze_relations@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Freeze relation.', 'signature': 'def _freeze_relations(self, relations):'}</s>NTH = r'(?:[-+])?(?:[0-9]+n?|n)(?:(?<=n){ws}*(?:[-+]){ws}*(?:[0-9]+))?'.format(ws=WSC) | 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': 'gen_data@sgmcmcjax/models/logistic_regression.py', 'description': 'Generate data with dimension `dim` and `N` data points\n\nParameters\n----------\nkey: uint32\n random key\ndim: int\n dimension of data\nN: int\n Size of dataset\n\nReturns\n-------\ntheta_true: ndarray\n Theta array used to gener... | 1 |
{'name': 'Printer.print@tools/hadb.py', 'description': 'Print header, states & events.', 'signature': 'def print(self) -> None:'}</s>{'name': 'convert_items@tools/hadb.py', 'description': 'Coonvert items JSON string to Items dictionary.', 'code': 'def convert_items(val: bytes) -> Items:\n """Coonvert items JSON stri... | 0 |
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p... | 0 |
{'name': 'aggregateUMIsPseudobulks@pipelines/pipeline_scxl.py', 'description': 'Aggregate UMI counts across cells within cluster to form pseudobulks.\n\nUseful for performing e.g. DESeq2 analysis of clusters from\nmultiple samples.', 'signature': 'def aggregateUMIsPseudobulks(infile, outfile):'}</s>nresolutions = len(s... | 0 |
{'name': 'bn_update@utils.py', 'description': 'BatchNorm buffers update (if any).\nPerforms 1 epochs to estimate buffers average using train dataset.\n:param loader: train dataset loader for buffers average estimation.\n:param model: model being update\n:return: None', 'signature': 'def bn_update(loader, model, use_amp... | 0 |
{'name': 'circulation_configuration@pymultimatic/api/urls.py', 'description': 'Url to handle :class:`~pymultimatic.model.component.Circulation`\nconfiguration.', 'signature': 'def circulation_configuration(**kwargs: Any) -> str:'}</s>_ZONE_HEATING_MODE = _ZONE_HEATING_CONFIGURATION + "/mode" | 0 |
{'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... | 0 |
{'name': 'bdcn_lossORI@losses.py', 'description': ':param inputs: inputs is a 4 dimensional data nx1xhxw\n:param targets: targets is a 3 dimensional data nx1xhxw\n:return:', 'signature': 'def bdcn_lossORI(inputs, targets, l_weigts=1.1,cuda=False):'}</s>{'name': 'hed_loss2@losses.py', 'description': 'DOCSTRING', 'code':... | 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': 'test_check_tuples_invalid_shape@test/test_utils.py', 'description': 'Checks that a value error with the appropriate message is raised if\nshape is invalid (not 2D with preprocessor or 3D with no preprocessor)', 'signature': 'def test_check_tuples_invalid_shape(estimator, context, tuples, found,'}</s>{'name': ... | 0 |
{'name': 'load_config@pyrgg/functions.py', 'description': 'Load config based on given path.\n\n:param path: path to config file\n:type path: str\n:return: input data as dict', 'signature': 'def load_config(path):'}</s>{'name': 'handle_string@pyrgg/functions.py', 'description': 'Handle string and raise ValueError if it ... | 0 |
{'name': 'NesterovFunction.prox@parsimony/functions/properties.py', 'description': 'The proximal operator corresponding to this function.\n\nThe proximal operator is computed numerically. This method should be\noverloaded if the function has a known proximal operator.\n\nFrom the interface "ProximalOperator".\n\nParame... | 0 |
{'name': 'sign_tx@bit/transaction.py', 'description': 'Signs inputs in provided transaction object for which unspents\nare provided and can be signed by the private key.\n\n:param private_key: Private key\n:type private_key: ``PrivateKey`` or ``MultiSig``\n:param tx: Transaction object\n:type tx: ``TxObj``\n:param unsp... | 0 |
{'name': 'sign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'varname,ctype,atype\ninit,init.r,init.i,pytype\nvardebuginfo,vardebugshowvalue,varshowvalue\nvarrfromat\nintent', 'signature': 'def sign2map(a, var):'}</s>{'name': 'l_and@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'D... | 1 |
{'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': 'GridDhcpproperties@infoblox_client/objects.py', 'description': 'GridDhcpproper... | 0 |
{'name': 'FeedlyUser.get_all_enterprise_categories_stream@feedly/api_client/data.py', 'description': ':return: the stream containing all the categories followed by the enterprise', 'signature': 'def get_all_enterprise_categories_stream(self) -> EnterpriseCategory:'}</s>{'name': 'FeedlyData@feedly/api_client/data.py', '... | 0 |
{'name': 'run_all_gist_tests@sstmap/testing/test_gist_output.py', 'description': 'Args:\n test_data_file:\n ref_data_file:', 'signature': 'def run_all_gist_tests(test_dir, ref_dir):'}</s>{'name': 'TestGistOutput@sstmap/testing/test_gist_output.py', 'description': ' ', 'base_classes': [], 'methods': [{'name': '... | 1 |
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'Alias@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['DistNode'], 'methods': [{'name': 'Alias.__init__@da/compiler/dast.py', 'descripti... | 0 |
{'name': 'WiderResNet.__init__@model/wider_resnet.py', 'description': 'Wider ResNet with pre-activation (identity mapping) blocks\n\nParameters\n----------\nstructure : list of int\n Number of residual blocks in each of the six modules of the network.\nnorm_act : callable\n Function to create normalization / acti... | 1 |
{'name': 'ParseArguments@tools/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{'name': 'Searc... | 0 |
{'name': 'write_rig_as_usdskel@tools/export_usdskel_from_scratch/python/convert_maya_to_usdskel/converter.py', 'description': 'Write an animated USD Skeleton to-disk.\n\nIf no time range is given then a start/end range is found by looking\nat the earliest start and the latest end animation keys from the\ngiven nodes.\n... | 0 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>Input... | 0 |
{'name': 'PandocConverter._freeze_raw_node_io_map@codebraid/converters/pandoc.py', 'description': 'Same as `_freeze_raw_node()`, but also store trace info.', 'signature': 'def _freeze_raw_node_io_map(node, origin_name, line_number,'}</s>{'name': 'BaseMessage@codebraid/message.py', 'description': 'Base class for all err... | 0 |
{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current fi... | 0 |
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>ICMP_REDIRECT_TOSHOST = 3 | 0 |
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat... | 0 |
{'name': 'ProcessFileData@ament_cpplint/ament_cpplint/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: An array of strings, ... | 0 |
{'name': 'MyVS.linv@src/examples/simple_constrained_advanced_api/simple_constrained_advanced_api.py', 'description': 'Jordan product inverse, z <- inv(L(x)) y where L(x) y = x o y', 'signature': 'def linv(x,y,z):'}</s>{'name': 'MyIneq@src/examples/simple_constrained_advanced_api/simple_constrained_advanced_api.py', 'de... | 0 |
{'name': '_GenerateMSVSProject@gyp/pylib/gyp/generator/msvs.py', 'description': 'Generates a .vcproj file. It may create .rules and .user files too.\n\nArguments:\n project: The project object we will generate the file for.\n options: Global options passed to the generator.\n version: The VisualStudioVersion object... | 0 |
{'name': 'setup_java_class@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'returns an example java class with the\ngiven content_to_add contained within a method.', 'signature': 'def setup_java_class(content_to_add):'}</s>{'name': 'TernaryExpression@baseline_tokenization/javalang/tree.py', '... | 0 |
{'name': 'backlog_subscriber@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'Pick up the table lock, poll BQ job id until completion and process next\nitem in the backlog.', 'signature': 'def backlog_subscriber(gcs_client: Optional[storage.Client],'}</s>EXCEPTIONS_TO_... | 0 |
{'name': '_create_initial_typedef@swagger_to/py_client.py', 'description': 'Create a placeholder so that a mapping for identifiable typedefs can be pre-populated.\n\nThis is necessary to avoid looping endlessly through cycles.', 'signature': 'def _create_initial_typedef(intermediate_typedef: swagger_to.intermediate.Typ... | 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': 'set_option@src/api/python/z3/z3.py',... | 0 |
{'name': 'PySRRegressor.get_hof@pysr/sr.py', 'description': 'Get the equations from a hall of fame file or search output.\n\nIf no arguments entered, the ones used\npreviously from a call to PySR will be used.', 'signature': 'def get_hof(self, search_output=None) -> pd.DataFrame | list[pd.DataFrame]:'}</s>{'name': 'sym... | 0 |
{'name': 'suspended@tubes/_siphon.py', 'description': 'A token value meaning that L{SiphonPendingValues} was suspended.', 'signature': 'def suspended():'}</s>{'name': 'Pauser@tubes/kit.py', 'description': 'Multiple parties may be interested in suppressing some ongoing concurrent\nactivity, each for their own purposes.\... | 0 |
{'name': 'TestSanitizeTxData.test_no_combine_with_fee@tests/test_transaction.py', 'description': 'Verify that unused unspents do not increase fee.', 'signature': 'def test_no_combine_with_fee(self):'}</s>INPUTS = [
TxIn(
(
b"G0D\x02 E\xb7C\xdb\xaa\xaa,\xd1\xef\x0b\x914oVD\xe3-\xc7\x0c\xde\x05\t"... | 0 |
{'name': 'ISO3166Utils.short2full@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Convert an ISO 3166-2 country code to the corresponding full name', 'signature': 'def short2full(cls, code):'}</s>{'name': 'get_filesystem_encoding@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOCS... | 0 |
{'name': 'parseOptionsAndInitTestdirs@tools/lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}</s>{'name': '... | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools subclasses used by Versioneer.\n\nIf the package uses a different cmdclass (e.g. one from numpy), it\nshould be provide as an argument.', 'signature': 'def get_cmdclass(cmdclass: Optional[Dict[str, Any]] = None):'}</s>{'name': 'get_version... | 1 |
{'name': 'UVd.step@preconditioned_stochastic_gradient_descent.py', 'description': "Performs a single step of PSGD with low-rank modification (UVd) preconditioner, i.e., \nupdating the trainable parameters once, and returning what closure returns.\n\nArgs:\n closure (callable): a closure that evaluates the function o... | 0 |
{'name': 'displayInfo@source/pi-timolo.py', 'description': 'Display variable settings with plugin overlays if required', 'signature': 'def displayInfo(motioncount, timelapsecount):'}</s>camResult = subprocess.check_output("vcgencmd get_camera", shell=True) | 0 |
{'name': 'GDAL2Tiles.open_input@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Initialization of the input raster, reprojection if necessary', 'signature': 'def open_input(self) -> None:'}</s>{'name': 'binary@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'DOCSTRING', 'code': "def bin... | 0 |
{'name': 'xy_from_points@geovoronoi/plotting.py', 'description': 'Helper function to get x and y coordinates from NumPy array or list of Shapely Points `points` especially used\nfor plotting.\n\n:param points: NumPy array or list of Shapely Points with length N\n:return: tuple with (NumPy array of N x-coordinates, NumP... | 0 |
{'name': 'Anki.list_tags@src/apyanki/anki.py', 'description': 'List all tags', 'signature': 'def list_tags(self, sort_by_count: bool = False) -> None:'}</s>{'name': 'Anki@src/apyanki/anki.py', 'description': 'My Anki collection wrapper class.', 'base_classes': [], 'methods': [{'name': 'Anki.__init__@src/apyanki/anki.py... | 1 |
{'name': 'Socket.handle_post_request@src/engineio/socket.py', 'description': 'Handle a long-polling POST request from the client.', 'signature': 'def handle_post_request(self, environ):'}</s>{'name': 'BaseSocket@src/engineio/base_socket.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'BaseSock... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_RFH_HEADER_FIELD_ERROR = 2228 | 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': 'Control.__init__@wntr/network/controls.py', 'description': 'Parameters\n----------\ncondition: ControlCondition\n The condition that should be used to determine when the actions need to be activated. When the condition\n evaluates to True, the then_actions are activated. When the condition evaluates to ... | 1 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>PF_OP_EQ = 2 | 0 |
{'name': '_Renderer.from_dict@neurodocker/reproenv/renderers.py', 'description': 'Instantiate a new renderer from a dictionary of instructions.', 'signature': 'def from_dict(cls, d: Mapping) -> _Renderer:'}</s>{'name': '_SingularityHeaderType@neurodocker/reproenv/types.py', 'description': 'Dictionary that defines the h... | 0 |
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>FORMAT_FLOAT_LITTLE_ENDIAN = "<f" | 0 |
{'name': 'IAMDataCollection.__get_iam_data@premise/data_collection.py', 'description': 'Read the IAM result file and return an `xarray` with dimensions:\n\n* region\n* variable\n* year\n\n:param key: encryption key, if provided by user\n:param filedir: file path to IAM file\n:param variables: list of variables to extra... | 0 |
{'name': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>{'name': 'cast... | 0 |
{'name': 'list@peewee_migrate/cli.py', 'description': 'List migrations.', 'signature': 'def list( # noqa: A001'}</s>{'name': 'merge@peewee_migrate/cli.py', 'description': 'Merge migrations into one.', 'code': 'def merge(\n database: Optional[str] = None,\n directory: Optional[str] = None,\n migratetable: Opti... | 0 |
{'name': 'got_results@nova/nova.py', 'description': 'Results callback once a provider found all its results, or not\n\nArgs:\n provider (str): The provider ID\n results (list): The list of results', 'signature': 'def got_results(provider, results):'}</s>provider_names = [] | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMD_INQUIRE_SYSTEM = 123 | 0 |
{'name': 'xml2dict@examples/huya/tars/__util.py', 'description': '@brief: 将xml解析树转成字典\n@param node: 树的根节点\n@type node: cElementTree.Element\n@param dic: 存储信息的字典\n@type dic: dict\n@return: 转换好的字典\n@rtype: dict', 'signature': 'def xml2dict(node, dic={}):'}</s>{'name': 'ConsistentHashNew@examples/huya/tars/__util.py', 'de... | 0 |
{'name': 'get_topo_file@oggm/utils/_downloads.py', 'description': "Path(s) to the DEM file(s) covering the desired extent.\n\nIf the needed files for covering the extent are not present, download them.\n\nThe default behavior is to try a list of DEM sources in order, and\nstop once the downloaded data is covering a lar... | 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_child_blocks@maf/impl/naiveLiftUp.py', 'description': 'Merge several block files on the same r... | 0 |
{'name': 'assert_array_less_equal@tests/test_sample.py', 'description': 'Assert array x <= y. Based on numpy.testing.assert_array_less.', 'signature': 'def assert_array_less_equal(x, y, err_msg="", verbose=True):'}</s>{'name': 'random_joint_positions@python/rrc_simulation/sample.py', 'description': 'Sample a random jo... | 0 |
{'name': 'template@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def ... | 0 |
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'FeedHistoryRelInEntry@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Warning'], 'm... | 0 |
{'name': 'Splitwise.createComment@splitwise/__init__.py', 'description': 'Creates a new comment.\n\nArgs:\n expense_id: Expense transaction on which a comment has to be made\n comment content: Content of the comment\n\nReturns:\n tuple: tuple containing:\n comment(:obj:`splitwise.comment.Comment`): Object... | 0 |
{'name': 'RIPPER._set_theory_dl_lookup@build/lib/ruleset/ripper.py', 'description': 'Precalculate rule theory dls for various-sized rules. ', 'signature': 'def _set_theory_dl_lookup(self, df, size=15, verbosity=0):'}</s>{'name': 'prune_rule@build/lib/ruleset/base.py', 'description': "Returns a pruned version of the Rul... | 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': 'save_libsvm@kaggler/data_io.py', 'description': 'Save data as a LibSVM file.\n\nArgs:\n X (numpy or scipy sparse matrix): Data matrix\n y (numpy array): Target vector.\n path (str): Path to the CSV file to save data.', 'signature': 'def save_libsvm(X, y, path):'}</s>{'name': 'save_data@kaggler/data_i... | 0 |
{'name': 'profile_stop@lib/charliecloud.py', 'description': 'If profiling, stop the profiler.', 'signature': 'def profile_stop():'}</s>arch_host = None | 0 |
{'name': '_cg_independent@gpflow_sampling/sampling/updates/cg_updates.py', 'description': 'Return (independent) pathwise updates for each of the latent prior processes\n$f$ subject to the condition $p(f | u) = N(f | u, diag)$ on $f = f(Z)$.', 'signature': 'def _cg_independent(kern: kernels.MultioutputKernel,'}</s>{'nam... | 0 |
{'name': 'save_json@heudiconv/utils.py', 'description': 'Save data to a json file\n\nParameters\n----------\nfilename : str or Path\n Filename to save data in.\ndata : dict\n Dictionary to save in json file.\nindent : int, optional\nsort_keys : bool, optional\npretty : bool, optional', 'signature': 'def save_json... | 0 |
{'name': 'PUBLISH.encode@src/mqtt/pdu.py', 'description': 'Encode and store a PUBLISH control packet.\n@raise e: C{ValueError} if encoded topic string exceeds 65535 bytes.\n@raise e: C{ValueError} if encoded packet size exceeds 268435455 bytes.\n@raise e: C{TypeError} if C{data} is not a string, bytearray, int, boolean... | 1 |
{'name': 'DAPAccessCMSISDAP._abort_all_transfers@pyocd/probe/pydapaccess/dap_access_cmsis_dap.py', 'description': 'Abort any ongoing transfers and clear all buffers', 'signature': 'def _abort_all_transfers(self, exception):'}</s>{'name': 'DAPAccessIntf@pyocd/probe/pydapaccess/dap_access_api.py', 'description': 'DOCSTRI... | 1 |
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>LJ_rgUNI20V = 101 | 0 |
{'name': 'NodeRedNumber.update_discovery_config@custom_components/nodered/number.py', 'description': 'Update the entity config.', 'signature': 'def update_discovery_config(self, msg):'}</s>CONF_MODE = "mode" | 1 |
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>{'name': 'FindAndDelete@test/functional/test_framework/script.py', 'description': 'Consensus critical, see FindAndDelete() in Satoshi... | 0 |
{'name': 'prettyArray@boxx/ylimg/ylimgTool.py', 'description': 'return str of pretty discrib for array, include nan inf (shape type max min) ', 'signature': 'def prettyArray(array):'}</s>{'name': '__typee__@boxx/ylimg/ylimgTool.py', 'description': 'DOCSTRING', 'code': 'def __typee__(x):\n return tounicode(type(x)).... | 0 |
{'name': 'get_info@venv/Lib/site-packages/numpy/distutils/system_info.py', 'description': 'notfound_action:\n 0 - do nothing\n 1 - display warning message\n 2 - raise error', 'signature': 'def get_info(name, notfound_action=0):'}</s>{'name': 'f2py_info@venv/Lib/site-packages/numpy/distutils/system_info.py', 'descrip... | 1 |
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_44 = Badge("level slider",... | 0 |
{'name': 'subdir_checks@source/speed-cam.py', 'description': 'Check if motion SubDir needs to be created', 'signature': 'def subdir_checks(maxHours, maxFiles, directory, prefix):'}</s>{'name': 'subdir_check_max_files@source/speed-cam.py', 'description': 'Count number of files in a folder path', 'code': 'def subdir_chec... | 1 |
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>{'name': 'main@third_party/cpplint/cpplint.py', 'description': 'DOCSTRING', 'code': "def main()... | 0 |
{'name': 'encode_attributes@msldap/protocol/typeconversion.py', 'description': 'converts a dict to attributelist', 'signature': 'def encode_attributes(x):'}</s>{'name': 'Change@msldap/protocol/messages.py', 'description': 'DOCSTRING', 'base_classes': ['core.Sequence'], 'methods': []} | 0 |
{'name': 'test_haversine_deg_rad@tests/test_haversine.py', 'description': 'Test makes sure that one time around earth matches sphere circumference in degrees / radians.', 'signature': 'def test_haversine_deg_rad():'}</s>LYON = (45.7597, 4.8422) | 0 |
{'name': 'FindArchitectureBasicSuite.test_train_models_on_samples_with_x_and_y@tests/test_find_architecture.py', 'description': 'Model should be able to train using separated x and y values', 'signature': 'def test_train_models_on_samples_with_x_and_y(self):'}</s>{'name': 'TaskInferenceSuite@tests/test_find_architectur... | 0 |
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>OP_CHECKSEQUENCEVERIFY = CScriptOp(0xb2) | 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': 'do_setup@versioneer.py', 'description': 'Main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup():'}</s>{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'code': 'def get_cmdclass():\n """Get the ... | 0 |
{'name': '_synchronize_async_fixture@pytest_asyncio/plugin.py', 'description': 'Wraps the fixture function of an async fixture in a synchronous function.', 'signature': 'def _synchronize_async_fixture(fixturedef: FixtureDef) -> None:'}</s>{'name': 'AsyncGenerator@pytest_asyncio/plugin.py', 'description': 'Pytest item c... | 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>{'name': 'Re... | 0 |
{'name': 'LoggingTests.test_new_logging@crochet/tests/test_setup.py', 'description': 'Messages from both new and old Twisted logging APIs are emitted to\nPython standard library logging.', 'signature': 'def test_new_logging(self):'}</s>{'name': 'ThreadLogObserver@crochet/_eventloop.py', 'description': "A log observer t... | 0 |
{'name': 'convert_inspirations@code/html/generate_static_website.py', 'description': ':param inspirations:\n:param entries:\n:return:', 'signature': 'def convert_inspirations(inspirations, entries):'}</s>games_by_language_path = games_path + ['languages.html'] | 0 |
{'name': 'getKeilProjectData@example/STM32F051K4_linker/ideScripts/importKeilProject.py', 'description': 'Read Keil project file and return filled KeilProjectData class.\n\nSome blocks are placed in try...except statements - error is thrown if xml field does not contain any items.', 'signature': 'def getKeilProjectData... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIA_CHECK_CLIENT_BINDING = 258 | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_RECEIVE_FAILED = 4016 | 0 |
{'name': 'run_in_ci@tests/videodl/test_views.py', 'description': 'Returns True if running in the CI.', 'signature': 'def run_in_ci():'}</s>{'name': 'DownloadLink@videodl/models.py', 'description': 'Share a download.', 'base_classes': ['models.Model'], 'methods': [{'name': 'DownloadLink.__str__@videodl/models.py', 'desc... | 0 |
{'name': 'Field.set_as_cls_member@pyfields/core.py', 'description': 'Updates a field with all information available concerning how it is attached to the class.\n\n - its owner class\n - the name under which it is known in that class\n - the type hints (python 3.6)\n\nIn python 3.6+ this is called directly at class crea... | 0 |
{'name': 'convert_by_vocab@tools/representation/demo/ERNIE/tokenization.py', 'description': 'Converts a sequence of [tokens|ids] using the vocab.', 'signature': 'def convert_by_vocab(vocab, items):'}</s>{'name': 'convert_tokens_to_ids@tools/representation/demo/ERNIE/tokenization.py', 'description': 'DOCSTRING', 'code':... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.