text
string
label
int64
{'name': 'PersiaBatch.__init__@persia/embedding/data.py', 'description': 'Arguments:\n id_type_features (List[Union[IDTypeFeatureWithSingleID, IDTypeFeature]]):\n categorical data whose datatype should be uint64.\n non_id_type_features (List[NonIDTypeFeature], optional): dense data.\n labels (List[Label...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_COPY_SERVICE = 150
0
{'name': '_map_iterator@lang/py/avro/io.py', 'description': 'Yield each child node of the provided map node.', 'signature': 'def _map_iterator(node: ValidationNode) -> ValidationNodeGeneratorType:'}</s>JsonScalarFieldType = Union[None, bool, str, int, float]
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_create_abort_multipart_upload@ut/test.py', 'description': '创建一个分块上传,然后终止它', 'code': 'def test_create_abort_multipart_upload():\n """创建一个分块上传,然后终止它"""\n ...
0
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
0
{'name': 'gen_heap_type_members@tools/geninterop/geninterop.py', 'description': 'Generate the TypeOffset C# class', 'signature': 'def gen_heap_type_members(parser, writer, type_name = None):'}</s>{'name': 'Writer@tools/geninterop/geninterop.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name...
0
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>__author__ = "Lars Gustäbel (lars@gustaebel.de)"
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': 'ToInt@src/api/python/z3/z3.py', 'des...
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': 'GLRasterizer.model_to_image_transform@menpo3d/rasterize/opengl.py', 'description': 'TransformChain from 3D model space to 2D image space.', 'signature': 'def model_to_image_transform(self):'}</s>{'name': 'TexturePassthroughProgram@menpo3d/rasterize/opengl.py', 'description': 'DOCSTRING', 'base_classes': ['Bas...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_USAGE_EXPAND_TYPE = 1265
0
{'name': 'TestReadFromDevice.test_read_rx_with_close_brace_escaped@xbee/thread/tests/test_ieee.py', 'description': 'An escaped rx data frame including a close brace must be read properly.', 'signature': 'def test_read_rx_with_close_brace_escaped(self):'}</s>{'name': 'Serial@xbee/tests/Fake.py', 'description': 'DOCSTRIN...
1
{'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': 'circulation_configuration@pymultimatic/api/urls.py', 'description': 'Url to handle :class:`~pymultimatic.model.component.Circulation`\nconfiguration.', 'signature': 'def circulation_configuration(**kwargs: Any) -> str:'}</s>_VENTILATION_NIGHT_LEVEL = _VENTILATION_CONFIGURATION + "/night_level"
0
{'name': 'IntentContainer.calc_intent@padatious/intent_container.py', 'description': 'Tests all the intents against the query and returns\nmatch data of the best intent\n\nArgs:\n query (str): Input sentence to test against intents\nReturns:\n MatchData: Best intent match', 'signature': 'def calc_intent(self, que...
1
{'name': 'Flask.run@SneakerBot 2019/venv/lib/python3.7/site-packages/flask/app.py', 'description': "Runs the application on a local development server.\n\nDo not use ``run()`` in a production setting. It is not intended to\nmeet security and performance requirements for a production server.\nInstead, see :ref:`deployme...
1
{'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': 'Parser.__init__@util/py_lib/pyratemp.py', 'description': 'Init the parser.\n\n:Parameters:\n - `loadfunc`: function to load included templates\n (i.e. ``LoaderFile(...).load``)\n - `testexpr`: function to test if a template-expressions is valid\n (i.e. ``EvalPseudoSandbox().compile``)\n - `...
0
{'name': 'ProcessFileData@compiler-rt/lib/sanitizer_common/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...
0
{'name': 'CalculateTestLists@security/nss/external_tests/google_test/gtest/test/gtest_shuffle_test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>SHUFFLED_ALL_TESTS = []
1
{'name': 'TaprootTest.gen_test_vectors@test/functional/feature_taproot.py', 'description': 'Run a scenario that corresponds (and optionally produces) to BIP341 test vectors.', 'signature': 'def gen_test_vectors(self):'}</s>{'name': 'default_witness_witv0@test/functional/feature_taproot.py', 'description': 'Default expr...
0
{'name': 'build_recipes@bioconda_utils/build.py', 'description': 'Build one or many bioconda packages.\n\nArguments:\n recipe_folder: Directory containing possibly many, and possibly nested, recipes.\n config_path: Path to config file\n packages: Glob indicating which packages should be considered. Note that package...
0
{'name': 'MemoryFindTestCase.test_memory_find@llvm-project/lldb/test/API/functionalities/memory/find/TestMemoryFind.py', 'description': "Test the 'memory find' command.", 'signature': 'def test_memory_find(self):'}</s>{'name': 'skipIfOutOfTreeDebugserver@llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py', ...
0
{'name': 'Element.move@src/svgutils/compose.py', 'description': 'Move the element by x, y.\n\nParameters\n----------\nx,y : int, str\n amount of horizontal and vertical shift\n\nNotes\n-----\nThe x, y can be given with a unit (for example, "3px", "5cm"). If no\nunit is given the user unit is assumed ("px"). In SVG a...
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': 'clean_end_comment@python/infra/GenerateUserTutorials.py', 'description': 'Remove the closing characters of a comment block from the stripped line.\n\n:param _stripped_line: The line to be cleaned.\n:return: The cleaned line with the comment block end removed, if present.', 'signature': 'def clean_end_comment(...
0
{'name': 'target_factory@h8mail/utils/run.py', 'description': 'Receives list of emails and user args. Fetchs API keys from config file using user_args path and cli keys.\nFor each target, launch target.methods() associated to found config artifacts.\nHandles chase logic with counters from enumerate()', 'signature': 'de...
0
{'name': 'Daemon._interfaces_removed@udiskie/udisks2.py', 'description': 'Internal method.', 'signature': 'def _interfaces_removed(self, object_path, interfaces):'}</s>{'name': 'ObjectProxy@udiskie/dbus.py', 'description': 'Simple proxy class for a DBus object.', 'base_classes': [], 'methods': [{'name': 'ObjectProxy.__...
0
{'name': 'VrpInstanceRegistry.get_instances@experiments/gpt/vrp_ai/instances.py', 'description': 'Returns instances of given type', 'signature': 'def get_instances(self, instance_type, instance_format):'}</s>{'name': 'download_instances@experiments/gpt/vrp_ai/instances.py', 'description': 'DOCSTRING', 'code': 'def down...
0
{'name': 'TestFile.test_file_dest@python/mozbuild/mozpack/test/test_files.py', 'description': 'Similar to test_file, but for a destination object instead of\na destination file. This ensures the destination object is being\nused properly by File.copy, ensuring that other subclasses of Dest\nwill work.', 'signature': 'd...
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': 'RIPPER.score@wittgenstein/ripper.py', 'description': "Score the performance of a fit model.\n\nX : DataFrame, numpy array, or other iterable\n Examples to score.\ny : Series, numpy array, or other iterable\n Class label actuals.\n\nscore_function : function, default=score_accuracy\n Any scoring funct...
0
{'name': 'update_travis_deploy_password@travis_pypi_setup.py', 'description': 'Put `encrypted_password` into the deploy section of .travis.yml.', 'signature': 'def update_travis_deploy_password(encrypted_password):'}</s>{'name': 'load_key@travis_pypi_setup.py', 'description': 'Load public RSA key.\n\nWork around keys w...
0
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'make_single_row...
0
{'name': 'test_root_neighbors_invalid@tests/test_morecantile.py', 'description': 'test neighbors.', 'signature': 'def test_root_neighbors_invalid():'}</s>{'name': 'test_parent_multi@tests/test_morecantile.py', 'description': 'test parent', 'code': 'def test_parent_multi():\n """test parent"""\n tms = morecantile....
0
{'name': 'doc8@tasks.py', 'description': 'Check documentation with doc8', 'signature': 'def doc8(context):'}</s>{'name': 'format@tasks.py', 'description': 'Format code using ruff', 'code': 'def format(context):\n """Format code using ruff"""\n context.run("ruff format *.py tests src docs", echo=True)'}
0
{'name': 'filter_with_bustools@kb_python/count.py', 'description': "Generate filtered count matrices with bustools.\n\nArgs:\n bus_path: Path to sorted, corrected, sorted BUS file\n ecmap_path: Path to matrix ec file\n txnames_path: Path to list of transcripts\n t2g_path: Path to transcript-to-gene mapping\...
0
{'name': 'Sinetones.__init__@src/zignal/audio.py', 'description': 'Generate multiple sinetones. This is a quick way to generate multichannel audio.\nEach positional argument generates a sinetone at that channel. Setting the frequency\nto 0 guarantees that the channel is muted (contains samples with the value 0).\nKeywo...
0
{'name': 'IndicatorDataset.dates@wbpy/indicators.py', 'description': 'Return list of dates used in the dataset.\n\n:param use_datetime:\n If True, return dates as datetime.date() objects, rather than\n strings.', 'signature': 'def dates(self, use_datetime=False):'}</s>NON_STANDARD_REGIONS = json.loads(open(path)....
0
{'name': 'FormToCommandLineBuilder.add_command_args@click_web/resources/cmd_exec.py', 'description': 'Convert the post request into a list of command line arguments\n\n:param command_index: (int) the index for the command to get arguments for.', 'signature': 'def add_command_args(self, command_index: int):'}</s>{'name'...
0
{'name': 'trim@ytmdl/core.py', 'description': 'Trim the song of unwanted noise by making calls to the\ninternal functions.', 'signature': 'def trim(name: str, args) -> None:'}</s>{'name': 'convert_to_mp3r@ytmdl/utility.py', 'description': 'Convert the file to mp3 using ffmpeg.', 'code': 'def convert_to_mp3r(path):\n ...
0
{'name': 'fillAvailableBlenderDists@BlendNet/addon.py', 'description': 'Cached blender dists list for the UI interface', 'signature': 'def fillAvailableBlenderDists(scene = None, context = None):'}</s>{'name': 'managerTaskUploadFilesStatus@BlendNet/addon.py', 'description': 'Returns string to show user about the status...
0
{'name': 'PytestAsyncioFunction._can_substitute@pytest_asyncio/plugin.py', 'description': 'Returns whether the specified function can be replaced by this class', 'signature': 'def _can_substitute(item: Function) -> bool:'}</s>{'name': 'pytest_fixture_setup@pytest_asyncio/plugin.py', 'description': 'Adjust the event loo...
0
{'name': 'get_next_backlog_item@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/utils.py', 'description': 'Get next blob in the backlog if the backlog is not empty.\n\nArgs:\n gcs_client: storage.Client\n bkt: storage.Bucket that this cloud functions is ingesting data for.\n table_prefix:...
0
{'name': 'pspnet.load_pretrained_model@ptsemseg/models/pspnet.py', 'description': 'Load weights from caffemodel w/o caffe dependency\nand plug them in corresponding modules', 'signature': 'def load_pretrained_model(self, model_path):'}</s>NetState = _reflection.GeneratedProtocolMessageType('NetState', (_message.Message...
0
{'name': 'Reader.process_chunk@tools/gfx/png.py', 'description': 'Process the next chunk and its data. This only processes the\nfollowing chunk types, all others are ignored: ``IHDR``,\n``PLTE``, ``bKGD``, ``tRNS``, ``gAMA``, ``sBIT``, ``pHYs``.\n\nIf the optional `lenient` argument evaluates to `True`,\nchecksum fail...
0
{'name': 'on_config_inited@docs/source/conf.py', 'description': 'rebuild', 'signature': 'def on_config_inited(*args):'}</s>html_context = { # disabled until widget dark variables are available "default_mode": "light", "doc_path": "docs", "github_repo": "ipywidgets", "github_user": "jupyter-widgets",...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>{'name': 'PCFExecute@code/pymqi/__init__.py', 'description': 'Send PCF commands or inquiries using the MQAI\ninterface. PCFExecute must be connected to the Queue Manager\n(using one of the techni...
0
{'name': 'TestAdminTree.test_result_tree@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree(self, model_without_proxy):'}</s>{'name': 'AL_TestNodeRelated@treebeard/tests/models.py', 'd...
0
{'name': 'IsDerivedFunction@tools/cpplint.py', 'description': 'Check if current line contains an inherited function.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains a function with "override"\n virt-specifier...
0
{'name': 'gen_audio_features@tensorflow_tts/bin/preprocess.py', 'description': 'Generate audio features and transformations\nArgs:\n item (Dict): dictionary containing the attributes to encode.\n config (Dict): configuration dictionary.\nReturns:\n (bool): keep this sample or not.\n mel (ndarray): mel matri...
0
{'name': 'AsyncAHK.start_hotkeys@ahk/_async/engine.py', 'description': 'Start the Autohotkey process for triggering hotkeys', 'signature': 'def start_hotkeys(self) -> None:'}</s>{'name': 'Coordinates@ahk/_types.py', 'description': 'DOCSTRING', 'base_classes': ['NamedTuple'], 'methods': []}
0
{'name': 'request_data@mhkit/wave/io/ndbc.py', 'description': 'Requests data by filenames and returns a dictionary of DataFrames or dictionary of Datasets\nfor each filename passed. If filenames for a single buoy are passed\nthen the yearly DataFrames in the returned dictionary (ndbc_data) are\nindexed by year (e.g. nd...
0
{'name': 'fetch_tomtom_matches@modisco/util.py', 'description': "Fetches top matches from a motifs database using TomTom.\n\nArgs:\n ppm: position probability matrix- numpy matrix of dimension (N,4)\n background: list with ACGT background probabilities\n tomtom_exec_path: path to TomTom executable\n motifs_...
0
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_externtype_copy@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': 'def wa...
0
{'name': 'set_debug@source/tomopy/util/mproc.py', 'description': 'Set the global DEBUG variable.\n\nIf DEBUG is True, all computations will be run on the host process instead\nof distributing work over different processes. This can help to debug\nfunctions that give errors or cause segmentation faults. If DEBUG is Fals...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRC_BUFFER_NOT_AUTOMATIC = 6112
0
{'name': 'model@large_cls/hubconf.py', 'description': "# Using torch.hub !\nimport torch\n\nmodel = torch.hub.load('huggingface/pytorch-transformers', 'model', 'bert-base-uncased') # Download model and configuration from S3 and cache.\nmodel = torch.hub.load('huggingface/pytorch-transformers', 'model', './test/bert_...
0
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>Request = BaseRequest
0
{'name': '_validate@src/feedvalidator/__init__.py', 'description': 'validate RSS from string, returns validator object', 'signature': 'def _validate(aString, firstOccurrenceOnly, loggedEvents, base, encoding, selfURIs=None, mediaType=None):'}</s>{'name': 'InvalidRFC2822Date@src/feedvalidator/logging.py', 'description':...
0
{'name': 'save_image@utils_wgan.py', 'description': 'Save image by unprocessing assuming mean 127.5\n:param image:\n:param save_dir:\n:param name:\n:return:', 'signature': 'def save_image(image, image_height, image_width, save_dir, name=""):'}</s>{'name': 'xavier_init@utils_wgan.py', 'description': 'Xavier initializati...
0
{'name': 'training_loop_hparams_from_scoped_overrides@tensor2tensor_envi/rl/trainer_model_based_params.py', 'description': 'Create HParams suitable for training loop from scoped HParams.\n\nArgs:\n scoped_overrides: HParams, with keys all scoped by one of HP_SCOPES. These\n parameters are overrides for the base HPa...
1
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_NIP = CScriptOp(0x77)
0
{'name': 'ProtocolTest.test_complete_packet@test/test_protocol.py', 'description': 'Protocol should assemble incoming lines into complete packet.', 'signature': 'def test_complete_packet(self):'}</s>LUXEMBOURG_EQUIPMENT_IDENTIFIER = "^\d-\d:42\.0\.0.+?\r\n"
0
{'name': 'SectionedFile._read_file@paver/doctools.py', 'description': 'Do the work of reading the file.', 'signature': 'def _read_file(self, f):'}</s>{'name': 'info@paver/easy.py', 'description': 'Displays a message to the user. If the quiet option is specified, the\nmessage will not be displayed.', 'code': 'def info(m...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCHSSTATE_COMPRESSING = 1800
0
{'name': 'routsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'name,NAME,begintitle,endtitle\nrname,ctype,rformat\nroutdebugshowvalue', 'signature': 'def routsign2map(rout):'}</s>{'name': 'isintent_callback@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': "def...
0
{'name': 'TorResultsView.format_hits@ahmia/views.py', 'description': 'Transform ES response into a list of results.', 'signature': 'def format_hits(self, hits):'}</s>{'name': 'TorResultsView@ahmia/views.py', 'description': 'Search results view ', 'base_classes': ['ElasticsearchBaseListView'], 'methods': [{'name': 'TorR...
1
{'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': '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_281 = Badge("shop...
0
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>SAVE = [4112]
0
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'obj_to_string@src/api/python/z3/z3printer.py', 'description': 'DOCSTRING', 'code': 'def obj_to_string(a):\n out = io.StringI...
0
{'name': 'TestManager.test_custom_manager2@modeltranslation/tests/tests.py', 'description': 'Test if user-defined queryset is still working', 'signature': 'def test_custom_manager2(self):'}</s>{'name': 'FallbackTests@modeltranslation/tests/tests.py', 'description': 'DOCSTRING', 'base_classes': ['ModeltranslationTestBas...
0
{'name': 'Tsit5Solver._adaptive_tsit5_step@torchdiffeq/torchdiffeq/_impl/tsit5.py', 'description': 'Take an adaptive Runge-Kutta step to integrate the ODE.', 'signature': 'def _adaptive_tsit5_step(self, rk_state):'}</s>{'name': '_runge_kutta_step@torchdiffeq/torchdiffeq/_impl/rk_common.py', 'description': 'Take an arbi...
1
{'name': 'simulate_ts_dist@permute/irr.py', 'description': 'Simulates the permutation distribution of the irr test statistic for\na matrix of ratings ``ratings``\n\nIf ``obs_ts`` is not ``None``, computes the reference value of the test\nstatistic before the first permutation. Otherwise, uses the value\n``obs_ts`` for ...
0
{'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': 'fetch_nircam_skyflat...
0
{'name': 'Recipe.download_file@kivy_ios/toolchain.py', 'description': 'Download an `url` to `outfn`', 'signature': 'def download_file(self, url, filename, cwd=None):'}</s>{'name': 'iPhoneSimulatorx86_64Platform@kivy_ios/toolchain.py', 'description': 'DOCSTRING', 'base_classes': ['iPhoneSimulatorPlatform'], 'methods': [...
0
{'name': 'write_fortran_wrappers@src/services/mpiwrap/wrap.py', 'description': 'Writes primary fortran wrapper that handles arg translation.\nAlso outputs bindings for this wrapper for different types of fortran compilers.', 'signature': 'def write_fortran_wrappers(out, decl, return_val):'}</s>{'name': 'OuterCommentLex...
0
{'name': 'shows@boxx/ylimg/ylimgTool.py', 'description': '图片展示分析工具 使用浏览器同步显示同一图像的不同数据表示 如不同通道的image,gt,resoult \n支持放大缩小与拖拽\n\nParameters\n----------\nimgs : list include path or np.ndarray \n 图片地址或图片np.ndarray 组成的list 要求所有图片宽高相同', 'signature': 'def shows(*imgs, png=False, coln=None):'}</s>{'name': 'beforImportPlt@b...
0
{'name': 'cache_page@ring/django.py', 'description': "The drop-in-replacement of Django's per-view cache.\n\nUse this decorator instead of\n:func:`django.views.decorators.cache.cache_page`.\nThe decorated view function itself is compatible. Ring decorated function\nadditionally have ring-styled sub-functions. In the co...
0
{'name': 'urljoin@furl/furl.py', 'description': 'Parameters:\n base: Base URL to join with <url>.\n url: Relative or absolute URL to join with <base>.\n\nReturns: The resultant URL from joining <base> and <url>.', 'signature': 'def urljoin(base, url):'}</s>{'name': 'UnicodeMixin@furl/compat.py', 'description': 'Mixin...
0
{'name': 'read_emails@src/autogpt_plugins/email/email_plugin/email_plugin.py', 'description': 'Read emails from an IMAP mailbox.\n\nThis function reads emails from a specified IMAP folder, using a given IMAP search command, limits, and page numbers.\nIt returns a list of emails with their details, including the sender,...
0
{'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': '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': 'Writer.__init__@tools/gfx/png.py', 'description': 'Create a PNG encoder object.\n\nArguments:\n\nwidth, height\n Image size in pixels, as two separate arguments.\nsize\n Image size (w,h) in pixels, as single argument.\ngreyscale\n Input data is greyscale, not RGB.\nalpha\n Input data has alpha channel (RG...
0
{'name': 'write_schema@singer/messages.py', 'description': "Write a schema message.\n\nstream = 'test'\nschema = {'properties': {'id': {'type': 'integer'}, 'email': {'type': 'string'}}} # nopep8\nkey_properties = ['id']\nwrite_schema(stream, schema, key_properties)", 'signature': 'def write_schema(stream_name, schema,...
0
{'name': 'to_networkx@py2cytoscape/util/util_networkx.py', 'description': 'Convert Cytoscape.js-style JSON object into NetworkX object.\n\nBy default, data will be handles as a directed graph.', 'signature': 'def to_networkx(cyjs, directed=True):'}</s>{'name': 'from_networkx@py2cytoscape/util/util_networkx.py', 'descri...
0
{'name': 'ProjectBuilder.check_dependencies@src/build/_builder.py', 'description': 'Return the dependencies which are not satisfied from the combined set of\n:attr:`build_system_requires` and :meth:`get_requires_for_build` for a given\ndistribution.\n\n:param distribution: Distribution to check (``sdist`` or ``wheel``)...
0
{'name': 'writeSuites@cxxtest/cxxtestgen.py', 'description': 'Write all TestDescriptions and SuiteDescriptions', 'signature': 'def writeSuites(output):'}</s>{'name': 'scanLineForDestroy@cxxtest/cxxtestgen.py', 'description': 'Check if current line defines a destroySuite() function', 'code': "def scanLineForDestroy( sui...
0
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'gdb_lookup_symbol@gef.py', 'description': 'F...
0
{'name': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>shutdown_screen_3 = "con el operador."
0
{'name': 'do_setup@versioneer.py', 'description': 'Main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup():'}</s>{'name': 'render_pep440_old@versioneer.py', 'description': 'TAG[.postDISTANCE[.dev0]] .\n\nThe ".dev0" means dirty.\n\nEexceptions:\n1: no tags. 0.postDISTANCE[.dev0]', ...
0
{'name': 'EntriesMaintainer.update_statistics@code/maintenance_entries.py', 'description': 'Generates the statistics page.\n\nShould be done every time the entries change.', 'signature': 'def update_statistics(self):'}</s>generic_comment_string = "[comment]: # (partly autogenerated content, edit with care, read the man...
0
{'name': 'get_next_backlog_item@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/utils.py', 'description': 'Get next blob in the backlog if the backlog is not empty.\n\nArgs:\n gcs_client: storage.Client\n bkt: storage.Bucket that this cloud functions is ingesting data for.\n table_prefix:...
0
{'name': 'Model._fit@modified_keras/keras/models.py', 'description': 'Abstract fit function for f(*ins). Assume that f returns a list, labelled by out_labels.', 'signature': 'def _fit(self, f, ins, out_labels=[], batch_size=128, nb_epoch=100, verbose=1, callbacks=[],'}</s>adagrad = Adagrad
0
{'name': '_find_page_contours@src/ocr/page.py', 'description': 'Finding corner points of page contour.', 'signature': 'def _find_page_contours(edges, img, area_thresh):'}</s>{'name': 'detection@src/ocr/page.py', 'description': 'Finding Page.', 'code': 'def detection(image, area_thresh = 0.5):\n """Finding Page."""\n...
0
{'name': 'ParserElement.setDebugActions@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.', 'signature': 'def setDebugActions( self, startAction, successAction, exceptionAction ):'}</s>{'name': 'StringStart@tests/_lib_vendors/pkg_r...
0
{'name': 'construct_fields_and_filters@graphene_sqlalchemy/types.py', 'description': 'Construct all the fields for a SQLAlchemyObjectType.\nThe main steps are:\n - Gather all the relevant attributes from the SQLAlchemy model\n - Gather all the ORM fields defined on the type\n - Merge in overrides and build up all th...
1
{'name': '_BuildBootableImage@tools/releasetools/common.py', 'description': "Build a bootable image from the specified sourcedir.\n\nTake a kernel, cmdline, and optionally a ramdisk directory from the input (in\n'sourcedir'), and turn them into a boot image. 'two_step_image' indicates if\nwe are building a two-step spe...
1