text
string
label
int64
{'name': 'd4_image_deaugment@pytorch_toolbelt/inference/tta.py', 'description': 'Deaugment input tensor (output of the model) assuming the input was D4-augmented image (See d4_augment).\nArgs:\n image: Tensor of [B * 8, C, H, W] shape\n reduction: Reduction model for aggregating outputs. Default is taking mean.\n...
1
{'name': 'construct_config@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/utils.py', 'description': 'merge dictionaries for configs in parent directories.\nThe configs closest to gsurl should take precedence.', 'signature': 'def construct_config(storage_client: storage.Client, blob: storage.Blob,...
0
{'name': 'adjust@arch/config/i3/grid_resize.py', 'description': 'Adjust window and adjacent ones to mimic tiling behaviour.', 'signature': 'def adjust(i3, how, orient, size=20):'}</s>LAYOUT_DICT = { 'Full': (0, 0, 1, 1), 'Left': (0, 0, 0.5, 1), 'Right': (0.5, 0, 0.5, 1), 'Top': (0, 0, 1, 0.5), 'Bott...
0
{'name': 'SysTrayIcon.__enter__@python/site-packages/winsystray/traybar.py', 'description': 'Context manager so SysTray can automatically close', 'signature': 'def __enter__(self):'}</s>DrawIconEx = ctypes.windll.user32.DrawIconEx
0
{'name': 'checkDependencies@BlendNet/providers/local/__init__.py', 'description': 'No dependencies for the local provider', 'signature': 'def checkDependencies(settings):'}</s>LOCAL_RESOURCES = {'agents': {}}
0
{'name': 'run@ValveBatchExport/HeartValveBatchAnalysis/annulus_shape_analysis.py', 'description': "Run annulus curve analysis\n:param csv_filename: input CSV file containing columns Filename, Phase, Valve, AnnulusContourX, AnnulusContourY, AnnulusContourZ, AnnulusContourLabel\n:param label_order: list of strings defini...
0
{'name': 'minimal_init@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard', 'signature': 'def minimal_init():'}</s>AT_THE_CENTER = [156]
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': 'setkindselector@...
0
{'name': 'do_setup@versioneer.py', 'description': 'Do main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup() -> int:'}</s>{'name': 'render_pep440_branch@versioneer.py', 'description': 'TAG[[.dev0]+DISTANCE.gHEX[.dirty]] .\n\nThe ".dev0" means not master branch. Note that .dev0 sor...
0
{'name': 'ChangeStatus.record_change@build/fbcode_builder/getdeps/fetcher.py', 'description': 'Used by the shipit fetcher to record changes as it updates\nfiles in the destination. If the file name might be one used\nin the cmake build system that we use for 1st party code, then\nrecord that as a "make file" change. ...
0
{'name': 'HTTPAdapter.send@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/adapters.py', 'description': 'Sends PreparedRequest object. Returns Response object.\n\n:param request: The :class:`PreparedRequest <PreparedRequest>` being sent.\n:param stream: (optional) Whether to stream the request cont...
1
{'name': 'preprocess@preprocess.py', 'description': 'Construct the train data indexed by session id and mode id jointly. Convert all the raw features (user profile,\nod pair, req time, click time, eta, price, distance, transport mode) to one-hot ids used for\nembedding. We split the one-hot features into two categories...
0
{'name': 'train_model@chapter03-advanced-cnn-models/resnet.py', 'description': 'Train one epoch', 'signature': 'def train_model(model, loss_function, optimizer, data_loader):'}</s>{'name': 'plot_accuracy@chapter03-advanced-cnn-models/resnet.py', 'description': 'Plot accuracy', 'code': 'def plot_accuracy(accuracy: list)...
0
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>ICMP_PARAMPROB = 12
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQWXP_VERSION_3 = 3
0
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>cool_postcard = Postcard( na...
0
{'name': '_npz_to_sparse@src/sagemaker_inference/decoder.py', 'description': 'Convert .npz-formatted data to a sparse matrix.\n\nArgs:\n npz_bytes (object): Bytes encoding a sparse matrix in the .npz format.\n\nReturns:\n (scipy.sparse.spmatrix): A sparse matrix.', 'signature': 'def _npz_to_sparse(npz_bytes): # ...
0
{'name': 'p_identifier_list@ctypesgen/parser/cgrammar.py', 'description': 'identifier_list : IDENTIFIER\n| identifier_list COMMA IDENTIFIER', 'signature': 'def p_identifier_list(p):'}</s>{'name': 'VersionError@ctypesgen/parser/yacc.py', 'description': 'DOCSTRING', 'base_classes': ['YaccError'], 'methods': []}
0
{'name': 'buttonClick@main.py', 'description': '按钮事件都绑定在这里了\n:return:', 'signature': 'def buttonClick():'}</s>{'name': 'mainWindowInitialize@main.py', 'description': '界面初始化\n:return:', 'code': "def mainWindowInitialize():\n '''\n 界面初始化\n :return:\n '''\n mainWindow.move(0, 0)\n mainWindow.setWindowTit...
0
{'name': 'cmpIdx@astviewer/tree.py', 'description': 'Returns negative if idx0 < idx1, zero if idx0 == idx1 and strictly positive if idx0 > idx1.\n\nIf an idx0 or idx1 equals -1 or None, it is interpreted as the last element in a list\nand thus larger than a positive integer\n\n:param idx0: positive int, -1 or None\n:pa...
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>MQSECSW_OFF_FOUND = 21
0
{'name': 'RstToPdf.createPdf@rst2pdf/createpdf.py', 'description': "Create a PDF from text (ReST input),\nor doctree (docutil nodes) and save it in outfile.\n\nIf outfile is a string, it's a filename.\nIf it's something with a write method, (like a StringIO,\nor a file object), the data is saved there.", 'signature': '...
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': 'Client.sql@pymarketstore/client.py', 'description': 'execute SQL to MarketStore server\n:param statements: List of SQL statements in a string\n:return: QueryReply object', 'signature': 'def sql(self, statements: Union[str, List[str]]) -> QueryReply:'}</s>{'name': 'QueryReply@pymarketstore/results.py', 'descri...
1
{'name': 'train_bc_models@human_aware_rl/experiments/bc_experiments.py', 'description': 'Train len(seeds) num of models for each layout', 'signature': 'def train_bc_models(all_params, seeds):'}</s>{'name': 'get_bc_agent_from_saved@human_aware_rl/imitation/behavioural_cloning.py', 'description': 'DOCSTRING', 'code': 'de...
0
{'name': 'ParserElement.searchString@venv/Lib/site-packages/setuptools/_vendor/pyparsing.py', 'description': 'Another extension to C{L{scanString}}, simplifying the access to the tokens found\nto match the given parse expression. May be called with optional\nC{maxMatches} argument, to clip searching after \'n\' matche...
0
{'name': 'map_cis@tensorqtl/cis.py', 'description': 'Run cis-QTL mapping', 'signature': 'def map_cis(genotype_df, variant_df, phenotype_df, phenotype_pos_df, covariates_df=None,'}</s>{'name': 'fit_beta_parameters@tensorqtl/core.py', 'description': 'r2_perm: array of max. r2 values from permutations\ndof_init: degr...
0
{'name': 'Message.from_dict@src/betterproto/__init__.py', 'description': 'Parse the key/value pairs into the current message instance. This returns the\ninstance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nvalue: Dict[:class:`str`, Any]\n The dictionary to parse from.\n\nReturns\n--...
0
{'name': 'Type.input_fields@pygraphy/introspection.py', 'description': 'INPUT_OBJECT only', 'signature': 'def input_fields(self) -> Optional[List[InputValue]]:'}</s>{'name': 'EnumValue@pygraphy/introspection.py', 'description': 'DOCSTRING', 'base_classes': ['Object'], 'methods': []}
0
{'name': 'lava_cell_op@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create the exclusive function of LAVA cells.\n\nLAVA expires after a minimum age.\nLAVA has a falling-sand property. But, if it cannot fall, it then may\nburn nearby burnable cells (making them FIRE).', 'signature': 'def ...
0
{'name': 'FrameRecord.get_link_urls@disdat/hyperframe.py', 'description': 'Assuming a link FrameRecord, return all the URLs in the frame\n\nReturns:\n (:list:str): An ordered set of link URLs', 'signature': 'def get_link_urls(self):'}</s>_LINEAGE = _descriptor.Descriptor( name="Lineage", full_name="bundle.L...
0
{'name': 'TestMediaWikiExceptions.test_geocoord_error@tests/mediawiki_test.py', 'description': 'test geocoord error thrown', 'signature': 'def test_geocoord_error(self):'}</s>{'name': 'RedirectError@mediawiki/exceptions.py', 'description': 'Exception raised when a page title unexpectedly resolves to\na redirect\n\nArgs...
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': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>{'name': 'test_ci_doc_preview_process@ut/test.py', 'description': 'DOCSTRING', 'code': 'def test_ci_doc_preview_process():\n # 文档预览同步接口\...
0
{'name': 'Installer.ensure_home@blogger_cli/cli_utils/installation.py', 'description': 'Ensures that $BLOGGER_CLI_HOME exists or create it.', 'signature': 'def ensure_home(self):'}</s>WINDOWS = sys.platform.startswith("win") or (sys.platform == "cli" and os.name == "nt")
0
{'name': 'Fourier.line_integrate_all_multi@torchlaplace/inverse_laplace.py', 'description': 'Reconstruct trajectories :math:`\\mathbf{x}(t)` for `fp`, Laplace representations evaluated at `s` points from the input `ti` points, :math:`t`, using the selected ILT algorithm (takes batch input of `fp`).\n\nArgs:\n fp (Te...
0
{'name': 'b_index@tksheet/functions.py', 'description': 'Designed to be a faster way of finding the index of an int\nin a sorted list of ints than list.index()', 'signature': 'def b_index(sorted_seq: Sequence[int], num_to_index: int) -> int:'}</s>{'name': 'get_n2a@tksheet/functions.py', 'description': 'DOCSTRING', 'cod...
0
{'name': 'main@src/freetype/src/tools/docmaker/docmaker.py', 'description': 'Main program loop.', 'signature': 'def main(argv):'}</s>gunk = "/#~:.?+=&%@!\-"
0
{'name': '_remove_bom_from_list@meza/io.py', 'description': 'Remove a byte order marker (BOM) from a list', 'signature': 'def _remove_bom_from_list(row, bom):'}</s>ENCODING = "utf-8"
0
{'name': 'BaseLiteApp.flags@py/jupyterlite-core/jupyterlite_core/app.py', 'description': 'Get CLI flags, including ones provided by addons.', 'signature': 'def flags(self):'}</s>{'name': 'DescribedMixin@py/jupyterlite-core/jupyterlite_core/app.py', 'description': 'a self-describing mixin', 'base_classes': [], 'methods'...
0
{'name': 'predict@pygad/nn/nn.py', 'description': "Uses the trained weights for predicting the samples' outputs.\n\nlast_layer: A reference to the last (output) layer in the network architecture.\ndata_inputs: Data features.\nproblem_type: Can be either classification or regression to define the problem type.\n\nReturn...
0
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi...
1
{'name': '_validate_units_consistency_v2@unyt/_array_functions.py', 'description': 'raise UnitInconsistencyError if units are mixed\nif all args are pure numbers, they are treated as having ref_units,\notherwise they are treated as dimensionless', 'signature': 'def _validate_units_consistency_v2(ref_units, *args) -> No...
0
{'name': '_SetFilters@llvm-4.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Sets the module\'s error-message filters.\n\nThese filters are applied when deciding whether to emit a given\nerror message.\n\nArgs:\n filters: A string of comma-separated filters (eg "whitespace/indent").\n...
0
{'name': 'profile_dump@lib/charliecloud.py', 'description': 'If profiling, dump the profile data.', 'signature': 'def profile_dump():'}</s>{'name': 'Arch_Dict@lib/charliecloud.py', 'description': 'Dictionary that overloads subscript and “in” to consider\nARCH_MAP_FALLBACK.', 'base_classes': ['collections.UserDict'], 'm...
0
{'name': 'cd._tab_fuzzy_match@.config/ranger/commands_full.py', 'description': 'Find directories matching tokens recursively ', 'signature': 'def _tab_fuzzy_match(self, basepath, tokens):'}</s>{'name': 'filter_inode_type@.config/ranger/commands_full.py', 'description': ':filter_inode_type [dfl]\n\nDisplays only the fil...
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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQSS_LAST_SEGMENT = ord("L")
0
{'name': 'state_wait_validate@pibooth/plugins/hookspecs.py', 'description': 'Return the next state name if application can switch to it\nelse return None.\n\n:param cfg: application configuration\n:param app: application instance\n:param win: graphical window instance\n:param events: pygame events generated since last ...
0
{'name': 'preaggregate_time@verif/data.py', 'description': 'Aggregate array across time\n\nArgs:\n array (np.array): 3D array of observations or forecasts\n times (np.array): 1D array of unixtimes (seconds)\n aggregator (verif.aggregator.Aggregator): Aggregate with this function\n length (float): Aggregate ...
0
{'name': 'idmapper.map_column@py2cytoscape/cyrest/idmapper.py', 'description': 'Uses the BridgeDB service to look up analogous identifiers from a wide\nselection of other databases\n\n:param only_use_one (string, optional): When multiple identifiers can be\n mapped from a single term, this forces a singular result\n...
0
{'name': 'run_benchmark@examples/multi_threaded_inserts.py', 'description': 'Run a set of InsertWorkers and record their performance. ', 'signature': 'def run_benchmark():'}</s>DatabaseError = _mysql.DatabaseError
0
{'name': 'CalculateTestLists@third_party/libgtest/googletest/test/googletest-shuffle-test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>{'name': 'Subprocess@third_party/dawn/third_party/googletest/googletest/test/gtest_test_utils.py', 'descri...
0
{'name': 'reload_embedding_models@src/codes/embeddings/embedding_utils.py', 'description': 'Reload collection of embedding models to serve feature extraction task.\n:param model_paths_list:\n:param model_names_list:\n:param model_dims_list:\n:param char_model:\n:return:', 'signature': 'def reload_embedding_models(model...
0
{'name': 'update_payout_screen@displays/waveshare2in13v3.py', 'description': "Update the payout screen to reflect balance of deposited coins.\nScan the invoice??? I don't think so!", 'signature': 'def update_payout_screen():'}</s>shutdown_screen_2 = "Kontaktiere den"
0
{'name': '_init@third_party/libassimp/port/PyAssimp/pyassimp/core.py', 'description': "Custom initialize() for C structs, adds safely accessible member functionality.\n\n:param target: set the object which receive the added methods. Useful when manipulating\npointers, to skip the intermediate 'contents' deferencing.", ...
0
{'name': 'wait_on_last_job@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'wait on a bigquery job or raise informative exception.\n\nArgs:\n gcs_client: storage.Client\n bq_client: bigquery.Client\n lock_blob: storage.Blob _bqlock blob\n backfill_blob: sto...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQWXP_VERSION_4 = 4
0
{'name': 'login@ide/auth.py', 'description': "This is a bit too tricky, but I couldn't find another way. Google only allows specific \nredirect URLs to use OAuth2. We want to be able to test with alternative version specific servers\n(e.g., 20201227t175543-dot-py38-glowscript.uc.r.appspot.com). The solution here is to ...
0
{'name': 'FindScores@webrtc-lib/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/collect_data.py', 'description': 'Given a search path, find scores and return a DataFrame object.\n\nArgs:\n src_path: Search path pattern.\n args: parsed arguments.\n\nReturns:\n A DataFrame object.', 'sign...
1
{'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>INSTANTANEOUS_REACTIVE_POWER_L2_POSITIVE = "^\d-\d:43\.7\.0.+?\r\n"
0
{'name': 'IO.open@python/Py106/packet.py', 'description': 'Open an IRIG file for reading or writing', 'signature': 'def open(self, filename, file_mode):'}</s>{'name': 'I106_Ch10Open@python/Py106/packet.py', 'description': 'Open IRIG 106 Ch 10 data file ', 'code': 'def I106_Ch10Open(file_name, file_mode):\n """ Open ...
1
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>FIRST_PERSON_MODE = [4211]
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': 'CalculateNumRotatableBonds@scopy/ScoDruglikeness/molproperty.py', 'description': 'Calculation of the number of rotatableBonds\n--->nRot\n\nNote:\n In some situaion Amide C-N bonds are not considered \n because of their high rotational energy barrier\n\n:param mol: molecule\n:type mol: rdkit.Chem.rdchem....
0
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ...
0
{'name': 'ImportErrorTests.test_no_module@didyoumean/didyoumean_sugg_tests.py', 'description': "Should be 'math'.", 'signature': 'def test_no_module(self):'}</s>UNKNOWN_TYPEERROR = (TypeError, None)
0
{'name': 'SystemChecker.check_angles@openmoltools/system_checker.py', 'description': 'Check that force0 and force1 are equivalent Angle forces.\n\n\nParameters\n----------\nforce0 : mm.HarmonicAngleForce\nforce1 : mm.HarmonicAngleForce', 'signature': 'def check_angles(self, force0, force1):'}</s>logger = logging.getLog...
1
{'name': 'removeLineInFile@ValveFileSystem/misc.py', 'description': 'In the given file, remove all lines that equal the search string.\nDo not include linefeeds in the search string (they are stripped).\nReturns the number of lines removed.', 'signature': 'def removeLineInFile( file, search ):'}</s>{'name': 'findInFile...
0
{'name': 'RunningRecipe.runStep@backend/recipes/base.py', 'description': 'Run the current step of the recipe. The actual step advancement management is left\nto the other methods. If you call this method twice for the same step, that step\nwill be executed twice.\n\n:return:\nlist\n boolean\n Whether or not t...
0
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme...
0
{'name': 'MarkMethodMixin.mark_text@altair/vegalite/v3/schema/mixins.py', 'description': "Set the chart's mark to 'text'\n\nFor information on additional arguments, see :class:`MarkDef`", 'signature': 'def mark_text(self, align=Undefined, angle=Undefined, baseline=Undefined, binSpacing=Undefined,'}</s>{'name': 'Orient@...
0
{'name': 'isData@src/util/util.py', 'description': 'Checks if given name represents correct mod folder or not', 'signature': 'def isData(name):'}</s>{'name': 'debounce@src/util/util.py', 'description': 'Debounce a functions execution by {ms} milliseconds', 'code': 'def debounce(ms: int) -> Callable[[Callable[..., None]...
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': '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': 'test_early_stopping@gplearn/tests/test_genetic.py', 'description': 'Check that early stopping works', 'signature': 'def test_early_stopping():'}</s>{'name': 'SymbolicTransformer@gplearn/genetic.py', 'description': 'A Genetic Programming symbolic transformer.\n\nA symbolic transformer is a supervised transform...
1
{'name': 'ParseArguments@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'sign...
0
{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>DEFAULT_GRANULARITY = 60
0
{'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>{'name': '_DCB@serial/win32.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'GTestBreakOnFailureUnitTest.RunAndVerify@googletest/test/googletest-break-on-failure-unittest.py', 'description': 'Runs googletest-break-on-failure-unittest_ and verifies its behavior.\n\nRuns googletest-break-on-failure-unittest_ and verifies that it does\n(or does not) have a seg-fault.\n\nArgs:\n env_var_...
1
{'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': 'user@backend-tests/tests/test_aws_iotcore.py', 'description': 'Create Mender user and create an AWS IoT Core integration in iot-manager using the connection string.', 'signature': 'def user(clean_mongo) -> Optional[User]:'}</s>{'name': 'TestAWSIoTCoreDeviceLifecycleEnterprise@backend-tests/tests/test_aws_iotc...
0
{'name': 'GenericMeta.__new__@vendor/typing.py', 'description': 'Create a new generic class. GenericMeta.__new__ accepts\nkeyword arguments that are used for internal bookkeeping, therefore\nan override should pass unused keyword arguments to super().', 'signature': 'def __new__(cls, name, bases, namespace,'}</s>{'name...
0
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'get_param@src/api/python/z3/z3.py', 'description': "Return the value of a Z3 global (or module) parameter\n\n>>>...
0
{'name': 'Hyperlink.__init__@svgwrite/container.py', 'description': ":param string href: hyperlink to the target resource\n:param string target: ``'_blank|_replace|_self|_parent|_top|<XML-name>'``\n:param extra: additional SVG attributes as keyword-arguments", 'signature': "def __init__(self, href, target='_blank', **e...
0
{'name': 'get_hconfig_from_dump@hier_config/constructors.py', 'description': 'Load an HConfig dump.', 'signature': 'def get_hconfig_from_dump('}</s>{'name': 'get_hconfig_fast_generic_load@hier_config/constructors.py', 'description': 'DOCSTRING', 'code': 'def get_hconfig_fast_generic_load(\n lines: Union[list[str], t...
0
{'name': 'add_run_number@bidskit/translate.py', 'description': 'Safely add run number to BIDS stub\nAllow protocol translator to override auto run numbering\n\n:param bids_stub, str\n:param run_no, int\n:return: new_bids_stub, str', 'signature': 'def add_run_number(bids_stub, run_no):'}</s>{'name': 'auto_translate@bids...
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': 'Agent.members@consulate/api/agent.py', 'description': 'Returns the members the agent sees in the cluster gossip pool.\nDue to the nature of gossip, this is eventually consistent and the\nresults may differ by agent. The strongly consistent view of nodes\nis instead provided by ``Consulate.catalog.nodes``.\n\n...
0
{'name': 'generateForceFieldFromMolecules@openmoltools/forcefield_generators.py', 'description': "Generate ffxml file containing additional parameters and residue templates for simtk.openmm.app.ForceField using GAFF/AM1-BCC.\n\nThis requires the OpenEye toolkit.\n\nParameters\n----------\nmolecules : list of openeye.oe...
1
{'name': 'haversine_vector@haversine/haversine.py', 'description': 'The exact same function as "haversine", except that this\nversion replaces math functions with numpy functions.\nThis may make it slightly slower for computing the haversine\ndistance between two points, but is much faster for computing\nthe distance b...
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': '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': 'RealVar@src/api/python/z3/z3.py', 'd...
0
{'name': 'install_ngrok@pyngrok/ngrok.py', 'description': 'Download, install, and initialize ``ngrok`` for the given config. If ``ngrok`` and its default\nconfig is already installed, calling this method will do nothing.\n\n:param pyngrok_config: A ``pyngrok`` configuration to use when interacting with the ``ngrok`` bi...
1
{'name': 'RandomInitializer.get_goal@python/rrc_simulation/gym_wrapper/envs/cube_env.py', 'description': 'Get a random goal depending on the difficulty.', 'signature': 'def get_goal(self):'}</s>{'name': 'InvalidGoalError@python/rrc_simulation/tasks/move_cube.py', 'description': 'Exception used to indicate that the give...
0
{'name': 'main_branch_bot_actions@src/oca_github_bot/tasks/main_branch_bot.py', 'description': "Run main branch bot actions on a local git checkout.\n\n'cwd' is the directory containing the root of a local git checkout.", 'signature': 'def main_branch_bot_actions(org, repo, branch, cwd):'}</s>{'name': 'gh_date@src/oca_...
0
{'name': 'CARFACCell.__init__@python/tf/carfac.py', 'description': 'Initializes a CAR cell.\n\nArgs:\n car_params: CARParams defining the CAR step of this cell.\n ihc_params: IHCParams defining the IHC step of this cell.\n agc_params: AGCParams defining the AGC step of this cell.\n num_ears: Number of simulated ear...
1
{'name': 'PUBLISH.encode@src/mqtt/pdu.py', 'description': 'Encode and store a PUBLISH control packet.\n@raise e: C{ValueError} if encoded topic string exceeds 65535 bytes.\n@raise e: C{ValueError} if encoded packet size exceeds 268435455 bytes.\n@raise e: C{TypeError} if C{data} is not a string, bytearray, int, boolean...
1
{'name': 'ExportHtml.write_body@ExportHtml.py', 'description': 'Write the body of the HTML.', 'signature': 'def write_body(self, html):'}</s>TABLE_FILE_INFO = "<tr><td colspan="2" style="background: %(bgcolor)s"><div id="file_info"><span style="color: %(color)s">%(date_time)s %(file)s</span> </div></td></tr>"
1
{'name': 'ModelWrapper.val_dataloader@packnet_sfm/models/model_wrapper.py', 'description': 'Prepare validation dataloader.', 'signature': 'def val_dataloader(self):'}</s>{'name': 'load_network@packnet_sfm/utils/load.py', 'description': "Loads a pretrained network\n\nParameters\n----------\nnetwork : nn.Module\n Netw...
0