text string | label int64 |
|---|---|
{'name': 'CorpusMixin.add_file@montreal_forced_aligner/corpus/base.py', 'description': 'Add a file to the corpus\n\nParameters\n----------\nfile: :class:`~montreal_forced_aligner.corpus.classes.FileData`\n File to be added', 'signature': 'def add_file(self, file: FileData, session: Session = None):'}</s>{'name': 'Da... | 0 |
{'name': 'extend_pandas@ffn/core.py', 'description': "Extends pandas' PandasObject (Series, Series,\nDataFrame) with some functions defined in this file.\n\nThis facilitates common functional composition used in quant\nfinance.\n\nEx:\n prices.to_returns().dropna().calc_clusters()\n (where prices would be a DataF... | 1 |
{'name': 'show@phi/vis/_vis.py', 'description': 'Args:\n See `plot()`.', 'signature': 'def show(*fields: Union[Field, Tensor, Geometry, list, tuple, dict],'}</s>{'name': 'value_range@phi/vis/_vis_base.py', 'description': 'DOCSTRING', 'code': 'def value_range(control: Control) -> tuple:\n if control.control_type =... | 0 |
{'name': 'student_known@github_no_partners.py', 'description': 'Given a GitHub IDs, returns whether that student is a known student in\nthe student-data CSV file.', 'signature': 'def student_known(github_id: str) -> bool:'}</s>default_timezone = "US/Central" | 0 |
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra... | 0 |
{'name': 'test_merge_dicts_v2_00200@tests/unit/module_utils/common/test_merge_dicts_v2.py', 'description': '### Property\n- ``dict2``\n\n### Test\n- Verify ``dict2`` raises ``TypeError`` if passed anything other\n than a dict.', 'signature': 'def test_merge_dicts_v2_00200(merge_dicts_v2, value, expected) -> None... | 0 |
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'pyClassDef@da/compiler/pygen.py', 'description': 'DOCSTRING', 'code': 'def pyClassDef(name, bases=[], keywords=[], starargs=None,\n kwargs=No... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCA_Q_MGR_NAME = 2015 | 0 |
{'name': 'create_kaldi_dir@sms_wsj/kaldi/utils.py', 'description': "Args:\n egs_path:\n org_dir:\n An egs folder (e.g. $KALDI_ROOT/egs/wsj/s5). This folder is used as\n reference to create the new eps folder.\n e.g.\n - make symlinks to the 'local', 'steps', 'utils', 'data/lang' and\n... | 0 |
{'name': '_make_json_entry@s2e_env/commands/execution_trace.py', 'description': "Combine a trace entry header and item into a single JSON-serializable\nentry. Return this entry as a ``dict``.\n\nSome things to note:\n * The header's ``size`` field is removed - it is not required in the\n JSON\n * Enums are r... | 0 |
{'name': 'process_value@rivalcfg/handlers/rgbgradientv2.py', 'description': 'Called by the :class:`rivalcfg.mouse.Mouse` class when processing a\n"rgbgradientv2" type setting.\n\n:param dict setting_info: The information dict of the setting from the\n device profile.\n:param str,tuple,list,dict... | 1 |
{'name': 'ssl.predict@graphlearning/ssl.py', 'description': 'Predict\n========\n\nMakes label predictions based on the probabilities computed by `fit()`.\nWill use a volume label projection if `class_priors` were given, to ensure \nthe number of nodes predicted in each class is correct.\n\nParameters\n----------\nignor... | 0 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': '_to_goal@src/api/python/z3/z3.py', 'd... | 0 |
{'name': 'use_setuptools@ez_setup.py', 'description': 'Ensure that a setuptools version is installed.\n\nReturn None. Raise SystemExit if the requested version\nor later cannot be installed.', 'signature': 'def use_setuptools('}</s>{'name': 'get_best_downloader@ez_setup.py', 'description': 'DOCSTRING', 'code': 'def get... | 0 |
{'name': 'kallisto_bus@kb_python/count.py', 'description': 'Runs `kallisto bus`.\n\nArgs:\n fastqs: List of FASTQ file paths, or a single path to a batch file\n index_path: Path to kallisto index\n technology: Single-cell technology used\n out_dir: Path to output directory\n threads: Number of threads to... | 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>MB = 1048576 | 0 |
{'name': 'IB.reqMktData@ib_insync/ib.py', 'description': 'Subscribe to tick data or request a snapshot.\nReturns the Ticker that holds the market data. The ticker will\ninitially be empty and gradually (after a couple of seconds)\nbe filled.\n\nhttps://interactivebrokers.github.io/tws-api/md_request.html\n\nArgs:\n ... | 0 |
{'name': 'NewDatabase.__import_inventories@premise/new_database.py', 'description': 'This method will trigger the import of a number of pickled inventories\nand merge them into the database dictionary.', 'signature': 'def __import_inventories(self) -> List[dict]:'}</s>{'name': '_update_emissions@premise/emissions.py', ... | 0 |
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>fake = Faker() | 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': 'Login.request@SalesforcePy/sfdc.py', 'description': 'Gets the result of `super` for this method, then assigns the `access_token` to `session_id`.\nReturns request response.\n\n :return: Response dict\n :rtype: dict', 'signature': 'def request(self):'}</s>{'name': 'Jobs@SalesforcePy/jobs.py', 'description': ... | 0 |
{'name': 'plot@phi/vis/_vis.py', 'description': "Creates one or multiple figures and sub-figures and plots the given fields.\n\nTo show the figures, use `show()`.\n\nThe arguments `row_dims`, `col_dims`, `animate` and `overlay` control how data is presented.\nEach accepts dimensions as a `str`, `Shape`, tuple, list or ... | 0 |
{'name': 'Hap.pair_list_m1_m2@ap2/pairing/hap.py', 'description': '5.12.2 M2: Accessory -> iOS Device – ‘List Pairings Responseʼ\nWhen the accessory receives the request, it must perform the following steps:\n\n1. Validate the received data against the established HAP session as\ndescribed in the transport-specific cha... | 0 |
{'name': 'CheckCommaSpacing@tools/cpplint.py', 'description': 'Checks for horizontal spacing near commas and semicolons.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any ... | 0 |
{'name': 'get_par@pydsge/mpile.py', 'description': "Get parameters. Tries to figure out what you want.\n\nParameters\n----------\ndummy : str, optional\n Can be `None`, a parameter name, a parameter set out of {'calib', 'init', 'prior_mean', 'best', 'mode', 'mcmc_mode', 'post_mean', 'posterior_mean'} or one of {'pri... | 1 |
{'name': 'connect_one_in_one_out@python/erdos/__init__.py', 'description': "Registers a :py:class:`.OneInOneOut` operator to the dataflow graph that\nreceives input from the given :code:`read_stream`, and returns the\n:py:class:`OperatorStream` that the operator will write the data on.\n\nArgs:\n op_type: The :py:cl... | 0 |
{'name': 'Reformat@tools/yapf/yapf/yapflib/reformatter.py', 'description': 'Reformat the unwrapped lines.\n\nArguments:\n uwlines: (list of unwrapped_line.UnwrappedLine) Lines we want to format.\n verify: (bool) True if reformatted code should be verified for syntax.\n\nReturns:\n A string representing the reformatt... | 1 |
{'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': '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': 'IUCoordinator.service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Entry point for all service calls.', 'signature': 'def service_call('}</s>CONF_OUTPUT_EVENTS = "output_events" | 0 |
{'name': 'wait_on_db_update@grizli/aws/db.py', 'description': 'Wait for db to stop updating on root', 'signature': 'def wait_on_db_update(root, t0=60, dt=30, n_iter=60, engine=None):'}</s>{'name': 'log_function_arguments@grizli/utils.py', 'description': 'Log local variables, e.g., parameter arguements to a file\n\nPara... | 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': 'LanguageDiscriminator.__init__@models.py', 'description': 'If model is CNN/LSTM, D takes a sequence and predicts a scalar (model_args dictates architecture)\nIf model is MLP, D only takes a single token (and D should be applied individually to all tokens\nIf num_langs > 1, D uses a MAN-style model\nIf num_lan... | 1 |
{'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': 'LibcxxMultiMapDataFormatterTestCase.test_with_run_command@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py', 'description': 'Test that that file and class static variables display correctly.', 'signature': 'def test_with_ru... | 0 |
{'name': 'IUController.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the controller', 'signature': 'def load(self, config: OrderedDict) -> "IUController":'}</s>CONF_SPEED = "speed" | 0 |
{'name': 'TwitterNLP.parse_string@tweedr/ark/java/__init__.py', 'description': "Take a single string, remove any CR / LF / tab whitespace, and run it\nthrough TwitterNLP as an individual sequence of text.\n\n `document` String line of input\n\nReturns a tuple of strings, each of which is an equal-length (after\n`spl... | 0 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>_GOOGLE3_PYTHON_UPB_DEFAULT = True | 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': 'TestAccessEnterprise.mt_env@backend-tests/tests/test_access.py', 'description': 'Prepare 4 tenants across all plans (trial...enterprise) + a device each.', 'signature': 'def mt_env(self):'}</s>{'name': 'mongo@testutils/common.py', 'description': 'DOCSTRING', 'code': 'def mongo():\n return MongoClient("mend... | 0 |
{'name': 'GCN.__init__@sqlflow_models/gcn.py', 'description': 'Implementation of GCN in this paper: https://arxiv.org/pdf/1609.02907.pdf. The original tensorflow implementation \nis accessible here: https://github.com/tkipf/gcn, and one can find more information about GCN through: \nhttp://tkipf.github.io/graph-convolu... | 1 |
{'name': 'MetarTest.test_030_parseTime_legal@test/test_metar.py', 'description': 'Check parsing of the time stamp.', 'signature': 'def test_030_parseTime_legal(self):'}</s>TEMP_1HR_RE = re.compile(r"""^T(?P<tsign>0|1)
(?P<temp>\d\d\d)
((?P<dsign>0|1)
... | 0 |
{'name': 'main@tools/hadb.py', 'description': 'Print requested events and/or states.', 'signature': 'def main(args: ArgsNamespace, params: Params) -> str | int | None:'}</s>{'name': 'Params@tools/hadb.py', 'description': 'Program parameters.', 'base_classes': [], 'methods': []} | 1 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCMD_CHANGE_NAMELIST = 32 | 0 |
{'name': 'process_log@tools/warn/warn_common.py', 'description': 'Function that handles processing of a log.\n\nThis is isolated into its own function (rather than just taking place in main)\nso that it can be used by both warn.py and the borg job process_gs_logs.py, to\navoid duplication of code.\nNote that if the arg... | 0 |
{'name': 'Camera.save@cameratransform/camera.py', 'description': 'Saves the camera parameters to a json file.\n\nParameters\n----------\nfilename : str\n the filename where to store the parameters.', 'signature': 'def save(self, filename: str):'}</s>RECTILINEAR = 0 | 1 |
{'name': 'TrainManager.__init__@joeynmt/training.py', 'description': 'Creates a new TrainManager for a model, specified as in configuration.\n\n:param model: torch module defining the model\n:param model_dir: directory to save ckpts\n:param device: torch device\n:param n_gpu: number of gpus. 0 if cpu.\n:param num_worke... | 1 |
{'name': 'graph.dijkstra_hl@graphlearning/graph.py', 'description': "Dijkstra's algorithm (Hopf-Lax Version)\n======\n\nSolves the graph Hamilton-Jacobi equation\n\\[ \\max_j w_{ji}^{-1} (u(x_i)^2 - u(x_j)^2) = u(x_i)f_i\\]\nsubject to \\(u=g\\) on \\(\\Gamma\\).\n\nParameters\n----------\nbdy_set : numpy array (int) \... | 0 |
{'name': 'control_read_initial_values@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Read initial control values', 'signature': 'def control_read_initial_values(sniffer):'}</s>{'name': 'find_sniffer@tools/ble_sniffer/extcap/SnifferAPI/UART.py', 'description': 'DOCSTRING', 'code': "def find_sniffer(write_... | 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': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PFI_AFLAG_MODEMASK = 7 | 0 |
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ... | 0 |
{'name': 'TileCreator.__init__@tensorflow/tools/tilecreator.py', 'description': "tileSizeLow, simSizeLow: int, [int,int] if 2D, [int,int,int]\nchannelLayout: 'key,key,...'\n the keys are NOT case sensitive and leading and trailing whitespace characters are REMOVED.\n key:\n default: ... | 0 |
{'name': '_Misc.beads@pybaselines/misc.py', 'description': 'Baseline estimation and denoising with sparsity (BEADS).\n\nDecomposes the input data into baseline and pure, noise-free signal by modeling\nthe baseline as a low pass filter and by considering the signal and its derivatives\nas sparse [1]_.\n\nParameters\n---... | 0 |
{'name': 'enumerate_mpi_declarations@src/services/mpiwrap/wrap.py', 'description': "Invokes mpicc's C preprocessor on a C file that includes mpi.h.\nParses the output for declarations, and yields each declaration to\nthe caller.", 'signature': 'def enumerate_mpi_declarations(mpicc, includes):'}</s>{'name': 'Parser@src/... | 0 |
{'name': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'GefSaveCommand@gef.py', 'description': "GEF save sub-command.\nSaves the current configuration of GEF to disk (by default in fi... | 0 |
{'name': 'plotRdimsMarkers@pipelines/pipeline_scxl.py', 'description': 'Visualise expression of discovered markers on rdims plots.', 'signature': 'def plotRdimsMarkers(infile, outfile):'}</s>{'name': 'summariseSingleR@pipelines/pipeline_scxl.py', 'description': 'Collect the single R plots into a section for the report'... | 0 |
{'name': 'take_calibration_image@versions/speed-camera 13.2/speed-cam.py', 'description': 'Create a calibration image for determining value of IMG_VIEW_FT variable\nCreate calibration hash marks', 'signature': 'def take_calibration_image(speed, filename, cal_image):'}</s>{'name': 'timer_is_on@versions/speed-camera 13.2... | 0 |
{'name': 'ReplaceByFeeTest.test_spends_of_conflicting_outputs@test/functional/feature_rbf.py', 'description': 'Replacements that spend conflicting tx outputs are rejected', 'signature': 'def test_spends_of_conflicting_outputs(self):'}</s>{'name': 'assert_greater_than@test/functional/test_framework/util.py', 'descriptio... | 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': 'get_split@datasets/mnist.py', 'description': "Gets a dataset tuple with instructions for reading MNIST.\n\nArgs:\n split_name: A train/test split name.\n dataset_dir: The base directory of the dataset sources.\n file_pattern: The file pattern to use when matching the dataset sources.\n It is assumed tha... | 1 |
{'name': 'LinkRegistry.add_valve@wntr/network/model.py', 'description': "Adds a valve to the water network model.\n\nParameters\n----------\nname : string\n Name of the valve.\nstart_node_name : string\n Name of the start node.\nend_node_name : string\n Name of the end node.\ndiameter : float, optional\n ... | 0 |
{'name': 'SuperSmoother._enhance_bass@ace/supersmoother.py', 'description': 'Update best span choices with bass enhancement as requested by user (Eq. 11).', 'signature': 'def _enhance_bass(self):'}</s>BASS_INDEX = DEFAULT_SPANS.index(BASS_SPAN) | 1 |
{'name': 'InputsTest.test_error_with_bad_eval_model_config@object_detection/inputs_test.py', 'description': 'Tests that a TypeError is raised with improper eval model config.', 'signature': 'def test_error_with_bad_eval_model_config(self):'}</s>{'name': '_compute_new_static_size@object_detection/core/preprocessor.py', ... | 0 |
{'name': 'plot@phi/vis/_vis.py', 'description': "Creates one or multiple figures and sub-figures and plots the given fields.\n\nTo show the figures, use `show()`.\n\nThe arguments `row_dims`, `col_dims`, `animate` and `overlay` control how data is presented.\nEach accepts dimensions as a `str`, `Shape`, tuple, list or ... | 1 |
{'name': 'CommandDomain.get_full_qualified_name@docs/util/cmdref.py', 'description': 'Return full qualified name for a given node', 'signature': 'def get_full_qualified_name(self, node):'}</s>{'name': 'CellDomain@docs/util/cmdref.py', 'description': 'DOCSTRING', 'base_classes': ['CommandDomain'], 'methods': [{'name': '... | 0 |
{'name': 'get_youtube_streams@ytmdl/yt.py', 'description': "Get both audio & video stream urls for youtube using youtube-dl.\n\nPS: I don't know how youtube-dl does the magic", 'signature': 'def get_youtube_streams(url):'}</s>{'name': 'remove_yt_words@ytmdl/stringutils.py', 'description': 'Remove words like Official vi... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCACF_OBJECT_NAME = 3046 | 0 |
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI... | 0 |
{'name': 'generate_config@deprecated/gcp/R80.30/single-byol-R80.30/check-point-vsec--byol.py', 'description': 'Creates the gateway.', 'signature': 'def generate_config(context):'}</s>{'name': 'MakeStaticAddress@deprecated/gcp/R80.30/single-byol-R80.30/check-point-vsec--byol.py', 'description': 'Creates a static IP addr... | 0 |
{'name': 'update_startup_screen@displays/waveshare2in13v3.py', 'description': 'Show startup screen on eInk Display\n ', 'signature': 'def update_startup_screen():'}</s>btcpay_lnd_2 = "Escaneado exitoso de" | 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': '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': 'run@Kernels/ARM-Optimized/DSP/Source/TransformFunctions/arm_transform_tests/build.py', 'description': 'Run the selected configurations.', 'signature': 'def run(config, results):'}</s>{'name': 'project_dir@Kernels/ARM-Optimized/DSP/Source/TransformFunctions/arm_transform_tests/build.py', 'description': 'DOCSTR... | 0 |
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_226 = Badge("lion... | 0 |
{'name': 'load_json@policy/cib.py', 'description': 'Read CIB node from JSON file', 'signature': 'def load_json(filename):'}</s>DOMAIN_SOCK_NAME = "neat_pm_socket" | 0 |
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24... | 0 |
{'name': 'SourceProcessor.dump@src/freetype/src/tools/docmaker/sources.py', 'description': 'Print all blocks in a processor.', 'signature': 'def dump(self):'}</s>start = "
\s* # any number of whitespace
/\*{2,} # followed by '/' and at least two asterisks
\s*$ # probably followed by whitespace
" | 0 |
{'name': 'NonTokens.test6@Cheetah/Tests/SyntaxAndOutput.py', 'description': '1 dollar sign followed by EOL Slurp Token', 'signature': 'def test6(self):'}</s>{'name': 'Comments_MultiLine_NoGobble@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'Multiline comments used to not gobble whitespace\n\nThey do now, but this ... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQ_SUITE_B_NONE = 1 | 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>MQXT_CLUSTER_WORKLOAD_EXIT = py23long(20) | 0 |
{'name': 'Config.__init__@model/configs.py', 'description': 'Configuration Class: set kwargs as class attributes with setattr', 'signature': 'def __init__(self, **kwargs):'}</s>{'name': 'Config@model/configs.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Config.__init__@model/configs... | 1 |
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'load_fine_yaml@grizl... | 0 |
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': '_AddClassAttributesForNestedExtensions@third_party/da... | 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_F12... | 0 |
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 0 |
{'name': 'confirm_email@flask_security/views.py', 'description': 'View function which handles a email confirmation request.', 'signature': 'def confirm_email(token):'}</s>{'name': 'send_confirmation_instructions@flask_security/confirmable.py', 'description': 'Sends the confirmation instructions email for the specified ... | 1 |
{'name': 'TestBase.unmock@tests/alertlib_test.py', 'description': 'Used to unmock a function before the tests are ended.', 'signature': 'def unmock(self, container, var_str):'}</s>{'name': 'AsanaTest@tests/alertlib_test.py', 'description': 'DOCSTRING', 'base_classes': ['TestBase'], 'methods': [{'name': 'AsanaTest.test_... | 0 |
{'name': 'ScaleIntensities.__init__@code/dataset/utils.py', 'description': 'Scales intensities. For example [-1, 1] -> [0, 255].', 'signature': 'def __init__(self, in_range, out_range):'}</s>{'name': 'ScaleIntensities@code/dataset/utils.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'ScaleInt... | 1 |
{'name': 'test_socketutils_netstring@tests/test_socketutils.py', 'description': 'A holistic feature test of BufferedSocket via the NetstringSocket\nwrapper. Runs', 'signature': 'def test_socketutils_netstring():'}</s>{'name': 'test_simple_buffered_socket_passthroughs@tests/test_socketutils.py', 'description': 'DOCSTRIN... | 0 |
{'name': 'main@src/modules/overlayMasks/overlayMasks.py', 'description': 'main function for overlayMasks.\n\nThis function overlays a given ground truth mask with its\ncorresponding predicted mask.\n\nParameters\n----------\nlogger : {logging.Logger}\n The logger used for logging error information\nresultsDict: {dic... | 0 |
{'name': 'Sinusoid.evaluate@reference/ThinkDSP/code/.ipynb_checkpoints/thinkdsp-checkpoint.py', 'description': 'Evaluates the signal at the given times.\n\nts: float array of times\n\nreturns: float wave array', 'signature': 'def evaluate(self, ts):'}</s>{'name': 'make_chord@reference/ThinkDSP/code/.ipynb_checkpoints/t... | 0 |
{'name': 'NVMeOFConnectorTestCase.test_extend_volume_unreplicated_nvme_fails@os_brick/tests/initiator/connectors/test_nvmeof.py', 'description': 'nvme command fails, so it rescans, waits, and reads size.', 'signature': 'def test_extend_volume_unreplicated_nvme_fails('}</s>{'name': 'blk_property@os_brick/initiator/conne... | 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': 'process_line@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_internal/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 ... | 0 |
{'name': 'TestEntityPostSavePostDeleteSignalSync.test_post_updated_entity_no_cascade@entity/tests/sync_tests.py', 'description': 'Verify that updating a mirrored entity does not cause the entity to be deleted (which\nresults in a cascading delete for all pointers.', 'signature': 'def test_post_updated_entity_no_cascade... | 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': '_test_core@ci/weekly/test_all_sat_end_to_end_on_disk.py', 'description': 'Core function testing all data\nArgs:\n pattern (str): Pattern of the satellite\n prod_dirs (Union[str, list]): Product directory\n possible_bands(list): Possible bands\n debug (bool): Debug option', 'signature': 'def _test_... | 0 |
{'name': 'AGraph.remove_node@pygraphviz/agraph.py', 'description': 'Remove the single node n.\n\nAttempting to remove a node that isn\'t in the graph will produce\nan error.\n\n>>> import pygraphviz as pgv\n>>> G = pgv.AGraph()\n>>> G.add_node("a")\n>>> G.remove_node("a")', 'signature': 'def remove_node(self, n):'}</s>... | 0 |
{'name': 'RFC6979.test_SECP256k1@components/esptool_py/esptool/ecdsa/test_pyecdsa.py', 'description': "RFC doesn't contain test vectors for SECP256k1 used in bitcoin.\nThis vector has been computed by Golang reference implementation instead.", 'signature': 'def test_SECP256k1(self):'}</s>{'name': 'Util@components/espto... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.