text string | label int64 |
|---|---|
{'name': 'E2E.prefix_recognize@espnet/nets/pytorch_backend/streaming_transformer.py', 'description': 'recognize feat\n\n:param ndnarray x: input acouctic feature (B, T, D) or (T, D)\n:param namespace recog_args: argment namespace contraining options\n:param list char_list: list of characters\n:param torch.nn.Module rnn... | 0 |
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>LOG_EMERG = 0 | 0 |
{'name': 'Puzzle.winner@puzzlemaker/puzzle.py', 'description': 'Find the winner of the puzzle based on the move sequence\n ', 'signature': 'def winner(self) -> Optional[str]:'}</s>AnalyzedMove = namedtuple("AnalyzedMove", ["move", "move_san", "score"]) | 0 |
{'name': 'main@src/__main__.py', 'description': 'Start of execution ', 'signature': 'def main():'}</s>DESCRIPTION = "Access docker hub from your terminal" | 1 |
{'name': 'degradation_bsrgan_variant@ldm/modules/image_degradation/bsrgan.py', 'description': 'This is the degradation model of BSRGAN from the paper\n"Designing a Practical Degradation Model for Deep Blind Image Super-Resolution"\n----------\nsf: scale factor\nisp_model: camera ISP model\nReturns\n-------\nimg: low-qu... | 0 |
{'name': '_validate_args@kayobe/kolla_ansible.py', 'description': 'Validate Kayobe Ansible arguments.', 'signature': 'def _validate_args(parsed_args, inventory_filename):'}</s>{'name': '_ask_vault_pass@kayobe/vault.py', 'description': 'Prompt the user for a Vault password.\n\nThe first time this function is called, the... | 0 |
{'name': 'BaseImage.export_pixels@wand/image.py', 'description': 'Export pixel data from a raster image to\na list of values.\n\nThe ``channel_map`` tells ImageMagick which color\nchannels to export, and what order they should be\nwritten as -- per pixel. Valid entries for\n``channel_map`` are:\n\n- ``\'R\'`` - Red cha... | 0 |
{'name': 'Device.open@src/LabJackPython.py', 'description': 'Device.open(devType, Ethernet=False, firstFound = True, serial = None, localId = None, devNumber = None, ipAddress = None, handleOnly = False, LJSocket = None)\n\nOpen a device of type devType. ', 'signature': 'def open(self, devType, Ethernet=False, firstFou... | 0 |
{'name': 'SendMessage._setup_workflow@py/send_message.py', 'description': 'TODO: Document', 'signature': 'def _setup_workflow(self) -> None:'}</s>OP_UNLOCK = b'u' | 0 |
{'name': 'AsyncAHK.mouse_position@ahk/_async/engine.py', 'description': 'Convenience property for :py:meth:`get_mouse_position`\n\nSetter accepts a tuple of x,y coordinates passed to :py:meth:`mouse_mouse`', 'signature': 'def mouse_position(self) -> AsyncPropertyReturnTupleIntInt:'}</s>{'name': 'MsgBoxIcon@ahk/_utils.p... | 0 |
{'name': 'Query.__init__@SalesforcePy/sfdc.py', 'description': "Constructor. Calls `super`, then encodes the `service` including the `query_string` provided\n\n:param: session_id: Session ID used to make request\n:type: session_id: string\n:param: instance_url: Instance URL used to make the request (eg. `'eu11.salesfor... | 0 |
{'name': 'crackline@venv/Lib/site-packages/numpy/f2py/crackfortran.py', 'description': 'reset=-1 --- initialize\nreset=0 --- crack the line\nreset=1 --- final check if mismatch of blocks occurred\n\nCracked data is saved in grouplist[0].', 'signature': 'def crackline(line, reset=0):'}</s>{'name': 'getextension@ven... | 0 |
{'name': 'NormalRandomVariable.inverse_transform@pelicun/uq.py', 'description': 'Evaluate the inverse CDF.\n\nEvaluates the inverse of the Cumulative Density Function (CDF)\nfor the given values. Used to generate random variable\nrealizations.\n\nParameters\n----------\nvalues: 1D float ndarray\n Values for which to e... | 0 |
{'name': 'get_reader@meza/io.py', 'description': "Gets the appropriate reader for a given file extension.\n\nArgs:\n extension (str): The file extension.\n\nReturns:\n func: The file reading function\n\nSee also:\n `meza.io.read`\n\nRaises:\n TypeError: If unable to find a suitable reader.\n\nExamples:\n ... | 0 |
{'name': 'test_system_generator@openmoltools/tests/test_forcefield_generators.py', 'description': 'Test SystemGenerator.', 'signature': 'def test_system_generator():'}</s>{'name': 'run_tleap@openmoltools/utils.py', 'description': 'DOCSTRING', 'code': 'def run_tleap(*args, **kwargs):\n warnings.warn("run_tleap has be... | 0 |
{'name': 'Serial._telnet_read_loop@serial/rfc2217.py', 'description': 'Read loop for the socket.', 'signature': 'def _telnet_read_loop(self):'}</s>MODEMSTATE_MASK_CTS_CHANGE = 1 | 0 |
{'name': 'sample_information@pipelines/pipeline_cellranger.py', 'description': 'Check the input samples.\n\nThe sample table is returned as a pandas data frame.', 'signature': 'def sample_information(check_only=True):'}</s>{'name': 'dropEst@pipelines/pipeline_cellranger.py', 'description': 'Run dropEst to enable RNA ve... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_CFST_DUPLICATE_PARM = 3018 | 0 |
{'name': '_assign_with_converter@vendor/attr/_make.py', 'description': 'Unless *attr_name* has an on_setattr hook, use normal assignment after\nconversion. Otherwise relegate to _setattr_with_converter.', 'signature': 'def _assign_with_converter(attr_name, value_var, has_on_setattr):'}</s>_sentinel = object() | 0 |
{'name': 'init_mp_pool@oggm/workflow.py', 'description': 'Necessary because at import time, cfg might be uninitialized', 'signature': 'def init_mp_pool(reset=False):'}</s>{'name': '_merge_dicts@oggm/workflow.py', 'description': 'DOCSTRING', 'code': 'def _merge_dicts(*dicts):\n r = {}\n for d in dicts:\n r.... | 0 |
{'name': 'RemoteTest.fill_default_arguments@tests/run_all_tests.py', 'description': 'Fills in default arguments for the RemoteTest object.\n\nThis method fills in default arguments for the RemoteTest object based\non the specified test name. It sets default values for test name filters,\nMinIO configurations, Google te... | 0 |
{'name': 'CheckBraces@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to ca... | 0 |
{'name': 'convert_entries@code/html/generate_static_website.py', 'description': ':param entries:\n:param inspirations:\n:param developers:\n:return:', 'signature': 'def convert_entries(entries, inspirations, developers):'}</s>games_top_path = games_path + ['top.html'] | 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... | 1 |
{'name': 'get_spacegroup@python/spglib/spglib.py', 'description': 'Return space group in international table symbol and number as a string.\n\nWith ``symbol_type=1``, Schoenflies symbol is given instead of international symbol.\n\n:rtype: str | None\n:return:\n If it fails, None is returned.', 'signature': 'def get_... | 0 |
{'name': '_mix_sounds@jupylet/audio/device.py', 'description': 'Mix sound data from given sounds into a single numpy array.\n\nArgs:\n sounds: Currently playing sound objects.\n frames (int): Number of frames to consume from each sound object.\n\nReturns:\n ndarray', 'signature': 'def _mix_sounds(sounds, frame... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQQF_CLWL_USEQ_LOCAL = 128 | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_SHORT_TIMER_WRONG_TYPE = 4056 | 0 |
{'name': 'get_references_using_handler@wagtail_transfer/streamfield.py', 'description': 'Gets object references from a streamfield with block object block and value stream, and updates the reference\nset with the result', 'signature': 'def get_references_using_handler(block, stream, references):'}</s>{'name': 'update_o... | 0 |
{'name': 'Dataset.__init__@lib/imdb_util.py', 'description': "This function reads in all datasets to be used in training and stores ANY relevant\ninformation which may be needed during training as a list of edict()\n(referred to commonly as 'imobj').\n\nThe function also optionally stores the image database (imdb) file... | 0 |
{'name': 'EnumMeta.__getattr__@plugins/sublime/enum-dist/enum/__init__.py', 'description': "Return the enum member matching `name`\n\nWe use __getattr__ instead of descriptors or inserting into the enum\nclass' __dict__ in order to support `name` and `value` being both\nproperties for enum members (which live in the cl... | 0 |
{'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>OP_9 = CScriptOp(0x59) | 0 |
{'name': 'Annotation.calc_cl_bytes@wfdb/io/annotation.py', 'description': 'Calculate the bytes written to the annotation file for the\ncustom_labels field.\n\nParameters\n----------\nN/A\n\nReturns\n-------\nlist, ndarray\n All of the bytes to be written to the annotation file.', 'signature': 'def calc_cl_bytes(self... | 0 |
{'name': 'RemoveMultiLineCommentsFromRange@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Clears a range of lines for multi-line comments.', 'signature': 'def RemoveMultiLineCommentsFromRange(lines, begin, end):'}</s>{'name': 'GetNonHeaderExtensions@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'DOC... | 0 |
{'name': 'send_update@test/lib/yabgp_helper.py', 'description': 'Wrapper of "yabgp.api.send_update" in order to hook sending UPDATE\nmessages via REST API.', 'signature': 'def send_update(peer_ip, attr, nlri, withdraw):'}</s>{'name': '_extract_withdraw_list@test/lib/yabgp_helper.py', 'description': 'DOCSTRING', 'code':... | 1 |
{'name': 'text_error_template@mako/exceptions.py', 'description': 'Provides a template that renders a stack trace in a similar format to\nthe Python interpreter, substituting source template filenames, line\nnumbers and code for that of the originating source template, as\napplicable.', 'signature': 'def text_error_tem... | 0 |
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im... | 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>{'name': 'unzip@code/utils/utils.py', 'description': 'Unzips and keeps the original modified date.\n\n:param zip_fil... | 0 |
{'name': 'BertPreTrainedModel.from_pretrained@purifier/modeling_purifier.py', 'description': 'Instantiate a BertPreTrainedModel from a pre-trained model file or a pytorch state dict.\nDownload and cache the pre-trained model file if needed.\n\nParams:\n pretrained_model_name_or_path: either:\n - a str with th... | 0 |
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>arctan2 = _MaskedBinaryOperation(umath.arctan2, 0.0, 1.0) | 0 |
{'name': '_build_ssd_model@object_detection/builders/model_builder.py', 'description': 'Builds an SSD detection model based on the model config.\n\nArgs:\n ssd_config: A ssd.proto object containing the config for the desired\n SSDMetaArch.\n is_training: True if this model is being built for training purposes.\n ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_REMOTE_Q_NAME_ERROR = 3313 | 0 |
{'name': 'start_instances@source/soca/cluster_manager/web_interface/scheduled_tasks/virtual_desktops/schedule_management.py', 'description': 'Start EC2 instances\nImportant, start_instances and stop_instances can take up to 50 Instance IDs. Make sure session_info chunk size is max 50.', 'signature': 'def start_instance... | 1 |
{'name': 'combine_logs@tests/other/stresstest.py', 'description': 'write all lines (iterable) into a single log file.', 'signature': 'def combine_logs(combinedlog, iterable, mode="wb"):'}</s>{'name': 'decode@tests/other/stresstest.py', 'description': 'DOCSTRING', 'code': 'def decode(thing, encoding=ENCODING):\n if i... | 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': 'CrashDuringStepTestCase.test_step_inst_with@llvm-12.0.0-project/lldb/test/API/functionalities/thread/crash_during_step/TestCrashDuringStep.py', 'description': 'Test thread creation during step-inst handling.', 'signature': 'def test_step_inst_with(self):'}</s>{'name': 'get_stopped_threads@llvm-12.0.0-project/... | 0 |
{'name': 'TestHighWatermark.test_partial_munmap@tests/integration/test_tracking.py', 'description': "Partial munmap operations should be accurately tracked: we should\nonly account for the removal of the actually munmap'd chunk and not\nthe entire mmap'd region when a partial munmap is performed.", 'signature': 'def te... | 0 |
{'name': 'Model._predict_loop@modified_keras/keras/models.py', 'description': 'Abstract method to loop over some data in batches.', 'signature': 'def _predict_loop(self, f, ins, batch_size=128, verbose=0):'}</s>sgd = SGD | 0 |
{'name': 'PerfectModelEnsemble._compute_persistence@src/climpred/classes.py', 'description': "Verify a simple persistence forecast of the control run against itself.\n\nNote: uses :py:func:`~climpred.reference.compute_persistence_from_first_lead`\nif ``set_options(PerfectModel_persistence_from_initialized_lead_0=True)`... | 0 |
{'name': 'ProcessFileData@scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a ... | 0 |
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>TCPS_CLOSED = 0 | 0 |
{'name': 'get_addr_line_str@scourgify/normalize.py', 'description': "Get address 'line' elements as a single string.\n\nCombines 'address_line_1' and 'address_line_2' elements as a single string\nto ensure no data is lost and line_2 can be processed according to a\nstandard set of rules.\n\n:param addr_dict: dict conta... | 0 |
{'name': 'StandardRun.variscan_fayandwus@selection_pipeline/standard_run.py', 'description': 'Run fay and wus variscan\n\nGets the start and the end of the haps file\nto set the StartPos and EndPos variables in the\nvariscan input file', 'signature': 'def variscan_fayandwus(self, hap2):'}</s>{'name': 'CommandTemplate@s... | 0 |
{'name': 'TrimmedMatchDesignTest.testOutputCandidateDesignWithMissingObservationDifferentPeriods@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks that no error is raised if missing observation are present.', 'signature': 'def testOutputCandidateDesignWithMissingObservationDifferentPeriod... | 1 |
{'name': 'CheckForNonConstReference@third_party/cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance conta... | 0 |
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>{'na... | 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_CFH_LENGTH_ERROR = 3002 | 0 |
{'name': 'ExponentialModelTests.test_check_parameters_at_initialization@tests/probabilisticmodels_tests.py', 'description': 'Tests whether it is possible to have a multidimensional exponent.', 'signature': 'def test_check_parameters_at_initialization(self):'}</s>{'name': 'LogNormal@abcpy/continuousmodels.py', 'descript... | 0 |
{'name': 'TogglSet.get@toggl/api/base.py', 'description': 'Method for fetching detail object of the entity. it fetches the object based on specified conditions.\n\nIf ID is used then detail URL is used to fetch object.\nIf other conditions are used to specify the object, then TogglSet will fetch all objects using listi... | 0 |
{'name': 'Metar._handlePressure@metar/Metar.py', 'description': 'Parse an altimeter-pressure group.\n\nThe following attributes are set:\n press [int]', 'signature': 'def _handlePressure( self, d ):'}</s>COLOR_RE = re.compile(r"""^(BLACK)?(BLU|GRN|WHT|RED)\+?
(/?(BLACK)?(BLU|GRN|WHT|RED)\+... | 0 |
{'name': 'OutputPipe.handle_output@pypsexec/pipe.py', 'description': 'The method called in the running thread whenever any data was read\nfrom the Named Pipe.\n\n:param output: a byte string of the output that was received from the\n Named Pipe', 'signature': 'def handle_output(self, output):'}</s>{'name': 'OutputPi... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCXP_LENGTH_3 = 156 | 0 |
{'name': 'MessageReceiver._message_received@uamqp/receiver.py', 'description': 'Callback run on receipt of every message. If there is\na user-defined callback, this will be called.\nAdditionally if the client is retrieving messages for a batch\nor iterator, the message will be added to an internal queue.\n\n:param mess... | 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': 'Drawing.color@wand/drawing.py', 'description': "Draws a color on the image using current fill color, starting\nat specified position & method.\n\nAvailable methods in :class:`wand.drawing.PAINT_METHOD_TYPES`:\n\n- ``'undefined'``\n- ``'point'``\n- ``'replace'``\n- ``'floodfill'``\n- ``'filltoborder'``\n- ``'r... | 0 |
{'name': 'inception_v3@libs/networks/slim_nets/inception_v3.py', 'description': 'Inception model from http://arxiv.org/abs/1512.00567.\n\n"Rethinking the Inception Architecture for Computer Vision"\n\nChristian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jonathon Shlens,\nZbigniew Wojna.\n\nWith the default arguments thi... | 1 |
{'name': 'MakefileWriter.Write@gyp/pylib/gyp/generator/make.py', 'description': "The main entry point: writes a .mk file for a single target.\n\nArguments:\n qualified_target: target we're generating\n base_path: path relative to source root we're building in, used to resolve\n target-relative paths\n ou... | 0 |
{'name': 'Deployer.to_triton_torchscript@triton/deployer_lib.py', 'description': 'export the model to torchscript and test correctness on dataloader ', 'signature': 'def to_triton_torchscript(self, dataloader, model):'}</s>torch_type_to_triton_type = {
torch.bool: 'TYPE_BOOL',
torch.int8: 'TYPE_INT8', ... | 0 |
{'name': 'CosS3Client.list_objects_versions@qcloud_cos/cos_client.py', 'description': "获取文件列表\n\n:param Bucket(string): 存储桶名称.\n:param Prefix(string): 设置匹配文件的前缀.\n:param Delimiter(string): 分隔符.\n:param KeyMarker(string): 从KeyMarker指定的Key开始列出条目.\n:param VersionIdMarker(string): 从VersionIdMarker指定的版本开始列出条目.\n:param MaxKe... | 0 |
{'name': 'PlottingFunctions.PlotSpeciesOverview@stochpy/modules/StochPyCellDivisionPlot.py', 'description': ' ', 'signature': "def PlotSpeciesOverview(self,species2plot = True,sample='extant',main_colors = ['#0072B2','#009E73','#D55E00']): # TODO"}</s>{'name': 'Count@stochpy/modules/Analysis.py', 'description': ... | 0 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'Diff@src/api/python/z3/z3.py', 'description': 'Create the difference regular expression\n ', 'code': 'def Diff(a, b, ctx=N... | 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>MQCACF_SYSP_ARCHIVE_UNIT2 = 3148 | 0 |
{'name': 'config_file@test/conftest.py', 'description': 'Prepares Bioconda config.yaml', 'signature': 'def config_file(tmpdir: py.path.local, case):'}</s>{'name': 'LogFuncFilter@bioconda_utils/utils.py', 'description': 'Logging filter capping the number of messages emitted from given function\n\nArguments:\n func: The... | 0 |
{'name': 'IOCQ.__getitem__@scripts/psd.py', 'description': 'get 4-dword CQE from the queue', 'signature': 'def __getitem__(self, index):'}</s>{'name': 'test_prp_and_prp_list_invalid@scripts/psd.py', 'description': 'DOCSTRING', 'code': 'def test_prp_and_prp_list_invalid():\n l = PRPList()\n with pytest.raises(Asse... | 0 |
{'name': 'short_replace@vendor/k8s.io/kubectl/pkg/util/i18n/translations/extract.py', 'description': 'Replace a Short: ... cobra command description with an internationalization\n ', 'signature': 'def short_replace(match, file, line_number):'}</s>EXAMPLE_MATCH = MatchHandler('(Examples\()(`[^`]+`)([^\n]\n)', long_st... | 0 |
{'name': '_to_ugrid@uxarray/io/_scrip.py', 'description': 'If input dataset (``in_ds``) file is an unstructured SCRIP file,\nfunction will reassign SCRIP variables to UGRID conventions in output file\n(``out_ds``).', 'signature': 'def _to_ugrid(in_ds, out_ds):'}</s>CARTESIAN_NODE_COORDINATES = ["node_x", "node_y", "nod... | 0 |
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'ParAndThen@src/api/python/z3/z3.py', 'desc... | 0 |
{'name': 'gaiarv@gaia_tools/load/__init__.py', 'description': 'NAME:\n gaiarv\nPURPOSE:\n Load the RV subset of the Gaia data\nINPUT:\n dr= (2) data release\nOUTPUT:\n data table\nHISTORY:\n 2018-04-25 - Written for DR2 - Bovy (UofT)', 'signature': 'def gaiarv(dr=2):'}</s>{'name': 'xmatch_cache_filename@gaia_... | 0 |
{'name': 'lgedm_post@wideq/core.py', 'description': 'Make an HTTP request in the format used by the API servers.\n\nIn this format, the request POST data sent as JSON under a special\nkey; authentication sent in headers. Return the JSON data extracted\nfrom the response.\n\nThe `access_token` and `session_id` are requi... | 1 |
{'name': 'resource2update@backend/src/util.py', 'description': 'Generates update variable for MongoDB update_one(filter, update)\n\n ', 'signature': 'def resource2update(schema, resource):'}</s>{'name': 'find_schema_links@backend/src/util.py', 'description': 'returns a dict with schema and paths pointing to resource... | 0 |
{'name': 'Options.get_raw@pcapng/structs.py', 'description': 'Get raw value for the given option', 'signature': 'def get_raw(self, name):'}</s>{'name': 'block_decode@pcapng/structs.py', 'description': 'DOCSTRING', 'code': 'def block_decode(block, stream):\n return struct_decode(block.schema, stream, block.section.en... | 0 |
{'name': 'parse_ifdef_block@sqf/parser.py', 'description': 'Given a IfDefStatement and the defines, converts the statement.tokens into\na list of tokens that can be analyzed after processing the #ifdef statement.\n`position_until_here` used to compute position of errors', 'signature': 'def parse_ifdef_block(expression,... | 0 |
{'name': 'BitfieldsTestCase.test_and_python_api@tools/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py', 'description': 'Use Python APIs to inspect a bitfields variable.', 'signature': 'def test_and_python_api(self):'}</s>{'name': 'skipIfLinux@tools/lldb/packages/Python/lldbsuite/test/decorators.py... | 0 |
{'name': 'get_iou@yolo_modules/yolo_gluon.py', 'description': 'Parameter:\n----------\npredict: mxnet.ndarray\n channels are {???}*4\ntarget: mxnet.ndarray\n target.shape = (5)\nmode: [1,2]\n 1: target format is cltrb\n 2: target fromat is cyxhw\n\nReturns\n----------\nious: mxnet.ndarray\n ious between predict an... | 0 |
{'name': 'get@dwave/cloud/cli.py', 'description': 'Fetch Leap API token.', 'signature': 'def get(*, config_file, profile, token_type, json_output, raw_output, output):'}</s>{'name': 'utcnow@dwave/cloud/utils/time.py', 'description': 'Returns tz-aware now in UTC.', 'code': 'def utcnow() -> datetime:\n """Returns tz-a... | 0 |
{'name': 'acquire_global_lock@src/supporting-files/lock_util.py', 'description': 'Acquire a \'global\' lock (across all instances) for the given key.\n\nThis is technically a \'lease\' rather than a \'lock\' because it can\ntime out. The timeout should be the maximum length of a request,\nwhich is 60 seconds for norma... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMDL_LEVEL_903 = 903 | 0 |
{'name': 'stream@src/fitly/api/spotifyAPI.py', 'description': 'Captures live activity of spotify web player and adds list of states (playback feed) to queue after each song finishes\n:param tekoreClient: tekoreClient obejct\n:return: none', 'signature': 'def stream():'}</s>q = queue.Queue(maxsize=0) | 1 |
{'name': 'AGraph.draw@pygraphviz/agraph.py', 'description': 'Output graph to path in specified format.\n\n.. caution:: EXPERIMENTAL\n\nThis version of the draw command uses libgvc for drawing instead\nof command line GraphViz tools like in versions <1.6 and the default.\n\nAn attempt will be made to guess the output fo... | 0 |
{'name': 'TestUnicodeReader.test_wrong_encoding_detection_windows@tests/test_io.py', 'description': 'Test for detecting the encoding of a windows file opened in ascii', 'signature': 'def test_wrong_encoding_detection_windows(self):'}</s>{'name': 'TestUrlopen@tests/test_io.py', 'description': 'Unit tests for reading fil... | 0 |
{'name': 'preprocess_for_train@preprocessing/densenet_preprocessing.py', 'description': 'Preprocesses the given image for training.\n\nNote that the actual resizing scale is sampled from\n [`resize_size_min`, `resize_size_max`].\n\nArgs:\n image: A `Tensor` representing an image of arbitrary size.\n output_height: T... | 0 |
{'name': 'WSCTask.load_dataset@examples/roberta/wsc/wsc_task.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset('}</s>{'name': 'get_spacy_nlp@examples/roberta/wsc/wsc_utils.py', 'description': 'DOCSTRING', 'code': 'de... | 0 |
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'is_matrix_square@src/python_scripts/afnipy/afni_util.py', 'description': 'return {0|1} about matrix being square', ... | 0 |
{'name': 'set_jwst_to_hst_keywords@grizli/jwst_utils.py', 'description': 'Make primary header look like an HST instrument\n\nParameters\n----------\ninput : str, `~astropy.io.fits.HDUList`\n Filename or FITS HDUList object to modify.\n\nreset : bool\n Reset original JWST keywords to their original values.\n\nverb... | 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': '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': '_is_infix_compact@src/api/python/z3/... | 0 |
{'name': 'create_estimator_and_inputs@object_detection/model_lib.py', 'description': "Creates `Estimator`, input functions, and steps.\n\nArgs:\n run_config: A `RunConfig`.\n hparams: A `HParams`.\n pipeline_config_path: A path to a pipeline config file.\n config_override: A pipeline_pb2.TrainEvalPipelineConfig tex... | 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': 'IUZone.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this zone as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_MONTH = "month" | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.