text
string
label
int64
{'name': 'SymSpell.lookup@symspellpy/symspellpy.py', 'description': 'Finds suggested spellings for a given phrase word.\n\nArgs:\n phrase: The word being spell checked.\n verbosity: The value controlling the quantity/closeness of the\n returned suggestions.\n max_edit_distance: The maximum edit distance...
0
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>STOPPED_DUE_TO_SIGNAL = "Process state is stopped due to signal"
0
{'name': 'checkMediaPaths@source/pi-timolo.py', 'description': 'Checks for image folders and\ncreate them if they do not already exist.', 'signature': 'def checkMediaPaths():'}</s>{'name': 'subDirChecks@source/pi-timolo.py', 'description': 'Check if motion SubDir needs to be created', 'code': 'def subDirChecks(maxHours...
0
{'name': 'read_html@meza/io.py', 'description': "Reads tables from an html file\n\nTODO: convert to lxml.etree.iterparse\nhttp://lxml.de/parsing.html#iterparse-and-iterwalk\n\nArgs:\n filepath (str): The html file path or file like object.\n If you have a url, use the following pattern:\n\n r = request...
0
{'name': 'AnkiDataFrame.normalize@ankipandas/ankidf.py', 'description': 'Bring a :class:`AnkiDataFrame` from the ``raw`` format (i.e. the\nexact format that Anki uses in its internal representation) to our\nconvenient format.\n\nArgs:\n inplace: If False, return new dataframe, else update old one\n force: If a pr...
1
{'name': 'MeshElementField.place@python/taichi/lang/mesh.py', 'description': 'Declares mesh attributes for the mesh element in current mesh.\n\nArgs:\nmembers (Dict[str, Union[PrimitiveType, MatrixType]]): names and types for element attributes.\nreorder: True if reorders the internal memory for coalesced d...
0
{'name': 'MidiStatus.get_columns@robopianist/viewer/application.py', 'description': 'Returns the text to display in two columns.', 'signature': 'def get_columns(self):'}</s>_MIDI_N_NOTES_LABEL = "Notes"
1
{'name': 'get_arguments@evaluate.py', 'description': 'Parse all the arguments provided from the CLI.\n\nReturns:\n A list of parsed arguments.', 'signature': 'def get_arguments():'}</s>{'name': 'get_iou@evaluate.py', 'description': 'DOCSTRING', 'code': 'def get_iou(args, data_list, class_num, save_path=None):\n fro...
0
{'name': 'prepare_backend@src/api_trt/modules/model_zoo/getter.py', 'description': "Prepares the backend for a model.\n\nArgs:\n model_name (str): The name of the model.\n backend_name (str): The name of the backend (onnx, trt).\n im_size (List[int]): The desired maximum size of the image in W, H form.\n ma...
1
{'name': 'PortManager.check_modem_lines@serial/rfc2217.py', 'description': 'read control lines from serial port and compare the last value sent to remote.\nsend updates on changes.', 'signature': 'def check_modem_lines(self, force_notification=False):'}</s>{'name': 'Timeout@serial/serialutil.py', 'description': 'Abstra...
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_DEL_OPTIONS_ERROR = 3087
0
{'name': 'qald_run@utils/data_preparation_rdf_type.py', 'description': "'\n\nIf the query contains only rdf constraint and no other triple, it will push the rdf type to the\nconstraint candidate and there will be no positive or negative path in the query.\n\n'path_id': [u'+25212']", 'signature': 'def qald_run(test = T...
0
{'name': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi...
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PF_SYNCOOKIES_ADAPTIVE = 2
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': 'isscalar@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': 'def isscalar...
0
{'name': 'ExpressionParser.parseLine@lib/tools.py', 'description': "Parse a expression line \n\nkeyword arguments:\n\nline -- line of an expression file.\nlineNumber -- line number to display in case of format errors.\ntableFormat -- true when there's more than one expression field. ", 'signature': 'def parseLin...
0
{'name': 'Controller.yank_msgs@tg/controllers.py', 'description': 'Copy msgs to clipboard and internal buffer to forward', 'signature': 'def yank_msgs(self) -> None:'}</s>API_ID = "559815"
0
{'name': 'Sequence.scpi_strings@src/auspex/instruments/keysight.py', 'description': 'Returns a list of SCPI strings that can be pushed to instrument after formatting with index', 'signature': 'def scpi_strings(self):'}</s>{'name': 'BitFieldUnion@src/auspex/instruments/binutils.py', 'description': 'Painless bit packing'...
0
{'name': 'create_nerf@run_nerf.py', 'description': "Instantiate NeRF's MLP model.", 'signature': 'def create_nerf(args):'}</s>{'name': 'render@run_nerf.py', 'description': 'Render rays\n\nArgs:\n H: int. Height of image in pixels.\n W: int. Width of image in pixels.\n focal: float. Focal length of pinhole camera.\n ...
0
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i...
0
{'name': 'main@examples/python/mcc128/finite_scan_with_trigger.py', 'description': 'This function is executed automatically when the module is run directly.', 'signature': 'def main():'}</s>{'name': 'HatError@daqhats/hats.py', 'description': 'Exceptions raised for MCC DAQ HAT specific errors.\n\nArgs:\n address (int...
1
{'name': 'test_diamond_inheritance@seminar08/ml_cxx/third_party/pybind11/tests/test_multiple_inheritance.py', 'description': 'Tests that diamond inheritance works as expected (issue #959)', 'signature': 'def test_diamond_inheritance():'}</s>{'name': 'test_multiple_inheritance_cpp@seminar08/ml_cxx/third_party/pybind11/t...
0
{'name': 'trim@bioframe/ops.py', 'description': "Trim each interval to fall within regions specified in the viewframe 'view_df'.\n\nIntervals that fall outside of view regions are replaced with nulls.\nIf no 'view_df' is provided, intervals are truncated at zero to avoid\n negative values.\n\nParameters\n----------\...
0
{'name': 'MailToolbarPanel.generate_stats@mail_panel/panels.py', 'description': 'Main panel view. Loads and displays listing of mail.', 'signature': 'def generate_stats(self, request, response):'}</s>urlpatterns = [ path("mail_toolbar/", include(mail_toolbar_patterns)), ]
0
{'name': 'edit_department@app/admin/views.py', 'description': 'Edit a department', 'signature': 'def edit_department(id):'}</s>{'name': 'assign_employee@app/admin/views.py', 'description': 'Assign a department, a paygrade and a role to an employee', 'code': 'def assign_employee(id):\n """\n Assign a department, a...
0
{'name': 'MergeDirectoryTask._handle_remote_file_without_record@onedrive_client/od_tasks/merge_dir.py', 'description': 'Handle the case in which a remote item is not found in the database. The local item may or may not exist.\n:param onedrivesdk.model.item.Item remote_item:\n:param posix.stat_result | None item_stat:\n...
0
{'name': 'getSetting@ide/auth.py', 'description': "Grab some setting from the datastore. If it's not a string, it should be stored as a JSON representation.\nSet returnObject to True to force a JSON load. Otherwise use the type of the default to trigger JSON conversion", 'signature': 'def getSetting(name, default=None,...
0
{'name': 'all_component_templates@scripts/generators/es_template.py', 'description': 'Generate one component template per field set', 'signature': 'def all_component_templates('}</s>{'name': 'default_legacy_template_settings@scripts/generators/es_template.py', 'description': 'DOCSTRING', 'code': 'def default_legacy_tem...
0
{'name': 'run@src/back/kite/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`server_names` keys\n ...
0
{'name': 'add_material@python/xraydb/materials.py', 'description': "add a material to the users local material database\n\nArgs:\n name (str): name of material\n formula (str): chemical formula\n density (float): density\n categories (list of strings or None): list of category names\n\nReturns:\n None\n\...
0
{'name': 'TestMommyCreatesAssociatedModels.test_create_many_to_many_with_through_option@tests/test_mommy.py', 'description': 'This does not works', 'signature': 'def test_create_many_to_many_with_through_option(self):'}</s>{'name': 'DummyDefaultFieldsModel@tests/generic/models.py', 'description': 'DOCSTRING', 'base_cla...
0
{'name': 'Application.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.', 'signature': 'def __init__(self, title="Explorer", width=1024, height=768):'}</s>{'name': 'MujocoFigureModelWithRuntime@robopianist/viewer/figures.py', 'description': 'Base class for figures that need access to th...
0
{'name': 'MarkTokens._expand_to_matching_pairs@asttokens/mark_tokens.py', 'description': "Scan tokens in [first_token, last_token] range that are between node's children, and for any\nunmatched brackets, adjust first/last tokens to include the closing pair.", 'signature': 'def _expand_to_matching_pairs(self, first_toke...
0
{'name': 'Countries.__getitem__@django_countries/__init__.py', 'description': 'Some applications expect to be able to access members of the field\nchoices by index.', 'signature': 'def __getitem__(self, index):'}</s>{'name': 'EmptyFallbackTranslator@django_countries/__init__.py', 'description': 'DOCSTRING', 'base_class...
0
{'name': 'GA.__init__@modestpy/estim/ga/ga.py', 'description': "The population can be initialized in various ways:\n- if `init_pop` is None, one individual is initialized using\n initial guess from `est`\n- if `init_pop` contains less individuals than `pop_size`,\n then the rest is random\n- if `init_pop` == `pop_siz...
0
{'name': 'Bottle.reset@src/back/kite/bottle.py', 'description': 'Reset all routes (force plugins to be re-applied) and clear all\ncaches. If an ID or route object is given, only that specific route\nis affected. ', 'signature': 'def reset(self, route=None):'}</s>{'name': 'FileUpload@src/back/kite/bottle.py', 'descripti...
0
{'name': 'find_packages@jupyter_packaging/setupbase.py', 'description': 'Find all of the packages.', 'signature': 'def find_packages(top):'}</s>{'name': '_get_file_handler@jupyter_packaging/setupbase.py', 'description': 'Get a package_data and data_files handler command.', 'code': 'def _get_file_handler(package_data_sp...
0
{'name': 'CortexM.reset@pyocd/coresight/cortex_m.py', 'description': "! @brief Reset the core.\n\nThe reset method is selectable via the reset_type parameter as well as the reset_type\nsession option. If the reset_type parameter is not specified or None, then the reset_type\noption will be used. If the option is not se...
1
{'name': 'mach_o_change@python/virtualenv/virtualenv.py', 'description': "Replace a given name (what) in any LC_LOAD_DYLIB command found in\nthe given binary with a new name (value), provided it's shorter.", 'signature': 'def mach_o_change(path, what, value):'}</s>{'name': 'subst_path@python/virtualenv/virtualenv.py', ...
0
{'name': 'takeMiniTimelapse@source/pi-timolo.py', 'description': 'Take a motion tracking activated mini timelapse sequence\nusing yield if motion triggered', 'signature': 'def takeMiniTimelapse(moPath, prefix, NumOn, motionNumCount, currentDayMode, NumPath):'}</s>cvWhite = (255, 255, 255)
0
{'name': 'circos_labels@nxviz/annotate.py', 'description': 'Annotate node labels for circos plot.', 'signature': 'def circos_labels('}</s>{'name': 'data_size@nxviz/encodings.py', 'description': 'Square root node size.', 'code': 'def data_size(data: pd.Series, ref_data: pd.Series) -> pd.Series:\n """Square root node ...
0
{'name': 'convert_by_vocab@tools/representation/demo/ERNIE/tokenization.py', 'description': 'Converts a sequence of [tokens|ids] using the vocab.', 'signature': 'def convert_by_vocab(vocab, items):'}</s>{'name': 'tokenize_chinese_chars@tools/representation/demo/ERNIE/tokenization.py', 'description': 'Adds whitespace ar...
0
{'name': 'find_on_path@scripts/pdns/lib/python2.7/site-packages/pkg_resources/__init__.py', 'description': 'Yield distributions accessible on a sys.path directory', 'signature': 'def find_on_path(importer, path_item, only=False):'}</s>{'name': '_normalize_cached@scripts/pdns/lib/python2.7/site-packages/pkg_resources/__...
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>MQQFS_DEFAULT = -1
0
{'name': 'AttachResumeTestCase.process_attach_continue_interrupt_detach@llvm-12.0.0-project/lldb/test/API/commands/process/attach-resume/TestAttachResume.py', 'description': 'Test attach/continue/interrupt/detach', 'signature': 'def process_attach_continue_interrupt_detach(self):'}</s>{'name': 'get_pc_addresses@llvm-12...
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': 'BloomFilter.bloom@probables/blooms/bloom.py', 'description': 'list(int): The bit/int array', 'signature': 'def bloom(self) -> array:'}</s>{'name': 'InitializationError@probables/exceptions.py', 'description': 'Initialization Exception\n\nArgs:\n message (str): The initialization error messge', 'base_classe...
0
{'name': 'preprocess_for_eval@model/nets/vgg_preprocessing.py', 'description': 'Preprocesses the given image for evaluation.\n\nArgs:\n image: A `Tensor` representing an image of arbitrary size.\n output_height: The height of the image after preprocessing.\n output_width: The width of the image after preprocessing.\...
0
{'name': 'ZipPreviewBuilder.build_json_preview@preview_generator/preview/builder/archive__zip.py', 'description': 'generate the json preview', 'signature': 'def build_json_preview('}</s>{'name': 'FileInfo@preview_generator/preview/builder/archive__zip.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'method...
0
{'name': 'Sharpe@riskfolio/src/RiskFunctions.py', 'description': "Calculate the Risk Adjusted Return Ratio from a portfolio returns series.\n\n.. math::\n \\text{Sharpe}(X) = \\frac{\\mathbb{E}(X) -\n r_{f}}{\\phi(X)}\n\nWhere:\n\n:math:`X` is the vector of portfolio returns.\n\n:math:`r_{f}` is the risk free ra...
1
{'name': 'Client.get_partitions_ps_with_auth@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/hive_metastore/ThriftHiveMetastore.py', 'description': 'Parameters:\n - db_name\n - tbl_name\n - part_vals\n - max_parts\n - user_name\n - group_names', 'signature': 'def get_partitions_ps_with_auth(self, db_name, tbl_name,...
0
{'name': 'RIPPER._grow_ruleset_cn@build/lib/wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': 'random_split@wittgenstein/base_functions.py', 'description': 'Return tuple of shuffled and split iterable.\n\nto_split : iterable\n What to shuffle an...
1
{'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_275 = Badge("adhe...
0
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W...
0
{'name': 'AlarmoStorage.__init__@custom_components/alarmo/store.py', 'description': 'Initialize the storage.', 'signature': 'def __init__(self, hass: HomeAssistant) -> None:'}</s>{'name': 'ActionEntry@custom_components/alarmo/store.py', 'description': 'Action storage Entry.', 'base_classes': [], 'methods': []}
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': 'PACT_Linear.forward@nemo/quant/pact.py', 'description': 'Forward-prop function for PACT-quantized linear layer.\n\n:param input: input activations tensor.\n:type input: `torch.Tensor`', 'signature': 'def forward(self, input):'}</s>{'name': 'pact_pwl@nemo/quant/pact.py', 'description': 'DOCSTRING', 'code': 'd...
0
{'name': 'script_loc@test_package/functional/test_full_rendering.py', 'description': 'Return the directory of the currently running test script', 'signature': 'def script_loc(request):'}</s>{'name': 'get_document_frontmatter@md2cf/document.py', 'description': 'DOCSTRING', 'code': 'def get_document_frontmatter(markdown_...
0
{'name': 'ctrl_c_signal_handler@shutit_util.py', 'description': 'CTRL-c signal handler - enters a pause point if it can.\n ', 'signature': 'def ctrl_c_signal_handler(_, frame):'}</s>{'name': 'get_hash@shutit_util.py', 'description': "Helper function to get preceding integer\neg com.openbet == 1003189494\n>>> imp...
0
{'name': 'CreateTimeTemplate.create@vulfocus-api/dockerapi/views.py', 'description': '创建计时模式模版', 'signature': 'def create(self, request, *args, **kwargs):'}</s>{'name': 'create_image_task@vulfocus-api/tasks/tasks.py', 'description': '创建镜像任务', 'code': 'def create_image_task(image_info, user_info, request_ip, image_file=...
0
{'name': 'SciQuery.submit_query_job@py3/SciServer/SciQuery.py', 'description': "Submits a sql query for execution (as an asynchronous job) inside a relational database (RDB) compute domain.\n\n:param sql_query: sql query (string)\n:param database: defines the database where the sql query is executed in.\n Can be eit...
1
{'name': 'delta_encoding@topojson/ops.py', 'description': 'Function to apply delta-encoding to linestrings.\n\nParameters\n----------\nlinestrings : list of shapely.geometry.LineStrings\n LineStrings that will be delta-encoded\n\nReturns\n-------\nlist of shapely.geometry.LineStrings\n LineStrings that are delta-...
0
{'name': 'SetValuesTestCase.test@llvm-project/lldb/test/API/lang/c/set_values/TestSetValues.py', 'description': 'Test settings and readings of program variables.', 'signature': 'def test(self):'}</s>{'name': 'get_ESRs@llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'Returns the exception s...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRO_ACTIVITY = 4
0
{'name': 'get_glyph@Lib/glyphsLib/glyphdata.py', 'description': 'Return a named tuple (Glyph) containing information derived from a glyph\nname akin to GSGlyphInfo.\n\nThe information is derived from an included copy of GlyphData.xml\nand GlyphData_Ideographs.xml, going by the glyph name or unicode fallback.', 'signatu...
0
{'name': 'Contract.make_asts@panoramix/contract.py', 'description': 'we need to do ast creation from the contract, not function level,\nbecause some simplifications (type/field removal) require insight to all the functions,\nnot just a single one', 'signature': 'def make_asts(self):'}</s>{'name': 'get_loc@panoramix/spa...
1
{'name': 'invoice_details@BambiCTF_2021/ringring/InvoiceApp/app.py', 'description': 'Return full invoice details for an invoice number. Needs both the invoice number and the guest name.\n:return:', 'signature': 'def invoice_details():'}</s>{'name': 'request_bill@BambiCTF_2021/ringring/InvoiceApp/app.py', 'description':...
0
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose: bool = False) -> Dict[str, Any]:'}</s>OLD_SNIPPET = " from ._version import get_versions __version__ = get_vers...
0
{'name': '_iterate_object@voluptuous/schema_builder.py', 'description': 'Return iterator over object attributes. Respect objects with\ndefined __slots__.', 'signature': 'def _iterate_object(obj):'}</s>{'name': 'ObjectInvalid@voluptuous/error.py', 'description': 'The value we found was not an object.', 'base_classes': [...
0
{'name': 'get_process@pyngrok/process.py', 'description': "Get the current ``ngrok`` process for the given config's ``ngrok_path``.\n\nIf ``ngrok`` is not running, calling this method will first start a process with\n:class:`~pyngrok.conf.PyngrokConfig`.\n\n:param pyngrok_config: The ``pyngrok`` configuration to use wh...
0
{'name': 'cubic_spline@manifold_flow/transforms/splines/cubic.py', 'description': 'References:\n> Blinn, J. F. (2007). How to solve a cubic equation, part 5: Back to numerics. IEEE Computer\nGraphics and Applications, 27(3):78–89.', 'signature': 'def cubic_spline('}</s>{'name': 'make_grid@manifold_flow/utils/various.py...
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': 'ModeltranslationTest@modeltranslation/tests/tests.py', 'description': 'Basic tests for the modeltranslation applicati...
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': 'expectedFlakeyDarwin@tools/lldb/packages/Python/lldbsuite/test/deco...
0
{'name': 'asrgb@imgviz/color.py', 'description': 'Convert any array to rgb image.\n\nParameters\n----------\nimg: numpy.ndarray\n Input image.\n\nReturns\n-------\nrgb: numpy.ndarray, (H, W, 3), np.uint8\n Output gray image.', 'signature': 'def asrgb(img):'}</s>{'name': 'numpy_to_pillow@imgviz/utils.py', 'descrip...
0
{'name': 'IUSequence.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load sequence data from the configuration', 'signature': 'def load(self, config: OrderedDict) -> "IUSequence":'}</s>ATTR_ADJUSTMENT = "adjustment"
0
{'name': 'collect_naive_merge_results_at_res@mseg_semantic/scripts/collect_results.py', 'description': 'For all test datasets, aggregate the results of the naive-merge model at a specific evaluation resolution\n(from resolution-specific .txt files in subfolders).\n\nArgs:\n resolution: either "360", "720", "1080", o...
1
{'name': 'Serial.open@serial/serialwin32.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>LPSECURITY_ATTRIBUTES = POINTER(_SECURITY_ATTRIBUTES)
0
{'name': '_verify_mpl@osmnx/plot.py', 'description': 'Verify that matplotlib is installed and imported.', 'signature': 'def _verify_mpl() -> None:'}</s>{'name': '_is_duplicate_edge@osmnx/convert.py', 'description': "Check if two graph edge data dicts have the same `osmid` and `geometry`.\n\nParameters\n----------\ndata...
0
{'name': 'main@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Create the configuration module module.\n ', 'signature': 'def main():'}</s>dbusincdirs = []
0
{'name': 'BaseRequest.query@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'The :attr:`query_string` parsed into a :class:`FormsDict`. These\nvalues are sometimes called "URL arguments" or "GET parameters", but\nnot to be confused with "URL wildcards" as they are provided by the\n:class:`Router`. ', 's...
1
{'name': 'Matrix.cast@python/taichi/lang/matrix.py', 'description': 'Cast the matrix elements to a specified data type.\n\nArgs:\n dtype (:mod:`~taichi.types.primitive_types`): data type of the\n returned matrix.\n\nReturns:\n :class:`taichi.Matrix`: A new matrix with the specified data dtype.\n\nExample::...
0
{'name': 'CosS3Client.get_async_fetch_task@qcloud_cos/cos_client.py', 'description': "获取异步拉取对象到COS的任务状态\n\n:param Bucket(string): 存储桶名称.\n:param TaskId(string): 异步拉取任务查询的唯一标识.\n:kwargs(dict): 扩展参数.\n:return(dict): 异步任务的状态\n\n.. code-block:: python\n\n config = CosConfig(Region=region, SecretId=secret_id, SecretKey=s...
0
{'name': 'clean_merged_flowlines@oggm/core/flowline.py', 'description': 'Order and cut merged flowlines to size.\n\nAfter matching flowlines were found and merged to one glacier directory\nthis function makes them nice:\nThere should only be one flowline per bed, so overlapping lines have to be\ncut, attributed to a an...
0
{'name': 'MainInterface.process_options@src/python_scripts/scripts/uber_ttest.py', 'description': 'return 1 on valid and exit\n 0 on valid and continue\n-1 on invalid', 'signature': 'def process_options(self):'}</s>{'name': 'show_found_in_path@src/python_scripts/afnipy/afni_util.py', 'description': "a simple wrapper t...
0
{'name': 'Stylus.find_imports@src/static_precompiler/compilers/stylus.py', 'description': 'Find the imported files in the source code.\n\n:param source: source code', 'signature': 'def find_imports(self, source: str) -> List[str]:'}</s>{'name': 'compile_static_lazy@src/static_precompiler/utils.py', 'description': 'DOCS...
0
{'name': '_value_owner_pair@skein/kv.py', 'description': 'Build a ValueOwnerPair from a KeyValue object', 'signature': 'def _value_owner_pair(kv):'}</s>{'name': 'is_operation@skein/kv.py', 'description': 'Return if ``obj`` is a valid skein key-value store operation', 'code': 'def is_operation(obj):\n """Return if ``...
0
{'name': 'get_sinusoid_encoding@ppim/models/t2t.py', 'description': 'Sinusoid position encoding table', 'signature': 'def get_sinusoid_encoding(n_position, d_hid):'}</s>{'name': 't2t_vit_24@ppim/models/t2t.py', 'description': 'DOCSTRING', 'code': 'def t2t_vit_24(pretrained=False, return_transforms=False, **kwargs):\n ...
0
{'name': '_IncludeState.CheckNextIncludeOrder@scripts/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants defined above.\n\nRe...
0
{'name': 'rot_by_axis@python/taichi/math/mathimpl.py', 'description': 'Returns the 4x4 matrix representation of a 3d rotation with given axis `axis` and angle `ang`.\n\nArgs:\n axis (vec3): rotation axis\n ang (float): angle in radians unit\n\nReturns:\n :class:`~taichi.math.mat4`: rotation matrix', 'signature...
0
{'name': 'estimate_fao56@cfg/hass/custom_components/wb_irrigation/sensor.py', 'description': 'Estimate fao56 from weather ', 'signature': 'def estimate_fao56(day_of_year,'}</s>{'name': 'sol_rad_island@cfg/hass/custom_components/wb_irrigation/pyeto/fao.py', 'description': 'Estimate incoming solar (or shortwave) radiati...
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>LENGTH_LINK = 100
0
{'name': 'ParseNolintSuppressions@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Updates the global list of line error-suppressions.\n\nParses any NOLINT comments on the current line, updating the global\nerror_suppressions store. Reports an error if the NOLINT comment\nwas malformed.\n\nArgs:\n filename: s...
0
{'name': 'INFO@lib/charliecloud.py', 'description': 'Note: Use print() for output; this function is for logging.', 'signature': 'def INFO(msg, hint=None, **kwargs):'}</s>{'name': 'profile_stop@lib/charliecloud.py', 'description': 'If profiling, stop the profiler.', 'code': 'def profile_stop():\n "If profiling, stop t...
0
{'name': 'FeatureAudioADPCM.__init__@blue_st_sdk/features/audio/adpcm/feature_audio_adpcm.py', 'description': 'Constructor.\n\nArgs:\n node (:class:`blue_st_sdk.node.Node`): Node that will send data to\n this feature.', 'signature': 'def __init__(self, node):'}</s>{'name': 'FeatureAudioADPCM@blue_st_sdk/featu...
1
{'name': 'GTR._exp_lt@treetime/gtr.py', 'description': 'Parameters\n----------\n\n t : float\n time to propagate\n\nReturns\n--------\n\n exp_lt : numpy.array\n Array of values exp(lambda(i) * t),\n where (i) - alphabet index (the eigenvalue number).', 'signature': 'def _exp_lt(self, t):'}</s>alphabet_synonyms...
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': 'TestHttpHandler.test_read@papermill/tests/test_iorw.py', 'description': 'Tests that the `read` function performs a request to the giving path\nand returns the response.', 'signature': 'def test_read(self):'}</s>{'name': 'get_notebook_path@papermill/tests/__init__.py', 'description': 'DOCSTRING', 'code': "def ...
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_list_objects@ut/test.py', 'description': '列出bucket下的objects', 'code': 'def test_list_objects():\n """列出bucket下的objects"""\n response = client.list_objec...
0
{'name': 'copy@tessera-server/tasks.py', 'description': 'Copy a dashboard (via API) between two running Tessera instances.\n\n:param str source_id:\n Source dashboard ID, e.g. if copying a dashboard that lives at\n ``http://mytessera.com/dashboards/123``, this would simply be ``123``.\n\n:param str source_uri:\n ...
0