text
string
label
int64
{'name': '_makeTags@blockchain-env/lib/python3.7/site-packages/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml,'}</s>{'name': '_escapeRegexRangeChars@blockchain-env/lib/python3.7/site-packages/pyparsing.py', 'des...
0
{'name': 'test_MultiBandTilerFactory@src/titiler/core/tests/test_factories.py', 'description': 'test MultiBandTilerFactory.', 'signature': 'def test_MultiBandTilerFactory():'}</s>{'name': 'AssetsParams@src/titiler/core/titiler/core/dependencies.py', 'description': 'Assets parameters.', 'base_classes': ['DefaultDependen...
0
{'name': 'compute_climatology@src/climpred/reference.py', 'description': "Compute the skill of a climatology forecast.\n\nArgs:\n initialized: The initialized ensemble.\n verif: control data, not needed\n metric: Metric name to apply at each lag for the persistence computation.\n Default: 'pearson_r'\n ...
1
{'name': 'SimpleIngestManager._get_user_agent_header@snowflake/ingest/simple_ingest_manager.py', 'description': '_get_user_agent_header - method to generate the user-agent header for our http requests\n:return: A singleton mapping for user agent and sdk version', 'signature': 'def _get_user_agent_header(self) -> Dict[T...
0
{'name': 'mscoco_generator@tensor2tensor_envi/data_generators/mscoco.py', 'description': 'Image generator for MSCOCO captioning problem with token-wise captions.\n\nArgs:\n data_dir: path to the data directory.\n tmp_dir: path to temporary storage directory.\n training: a Boolean; if true, we use the train set, othe...
1
{'name': 'AutoModelForQuestionAnswering.from_pretrained@small_nocls/pytorch_transformers/modeling_auto.py', 'description': "Instantiates one of the question answering model classes of the library\nfrom a pre-trained model configuration.\n\nThe `from_pretrained()` method takes care of returning the correct model class i...
0
{'name': 'intersect_downstream_lines@oggm/core/centerlines.py', 'description': 'Find tributaries to a main glacier by intersecting downstream lines\n\nThe GlacierDirectories must at least contain a `downstream_line`.\nIf you have a lot of candidates, only execute the necessary tasks for that\nand do the rest of the pre...
0
{'name': 'event_factory@tools/hadb.py', 'description': 'Convert database row to Event object.', 'signature': 'def event_factory(cur: sqlite3.Cursor, row: tuple) -> Event:'}</s>{'name': 'IdItemsExprs@tools/hadb.py', 'description': 'Multiple ID & items expressions.', 'base_classes': ['list[IdItemsExpr]'], 'methods': [{'n...
0
{'name': 'toggle_bit@pyModbusTCP/utils.py', 'description': 'Return an integer with the bit at offset position inverted.\n\n:param value: value of integer where invert the bit\n:type value: int\n:param offset: bit offset (0 is lsb)\n:type offset: int\n:returns: value of integer with bit inverted\n:rtype: int', 'signatur...
0
{'name': 'main@databricks-adx-integration/src/code/functions/adxingestp2/__app__/dataingest/__init__.py', 'description': 'Main function, triggered by Azure Storage Queue, parsed queue content and call ingest_to_ADX\n:param msg: func.QueueMessage\n:return: None', 'signature': 'def main(msg: func.QueueMessage) -> None:'}...
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': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>button_fault_2 = "Taster Fehler.."
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': 'load@pyeit/io/mes.py', 'description': 'Parameters\n----------\nmirror: mirror left and right electrodes\n\nreturn mesh and el_pos', 'signature': 'def load(fstr, mirror=False) -> PyEITMesh:'}</s>{'name': 'save_bmp@pyeit/io/mes.py', 'description': 'save bmp segment to file', 'code': 'def save_bmp(fstr, bmp):\n ...
1
{'name': 'is_new_mtl_data_available@refreshdata.py', 'description': "Returns whether new date provided by Sante Montreal is available.\nData is available if the data's last date is equal the given expected date.\n\nParameters\n----------\nexpected_date : date\n The date that new data needs to have to be considered n...
0
{'name': 'ProcessFileData@scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a ...
0
{'name': 'ScenarioPlotter.add_plot@CSIKit/visualization/plot_scenario.py', 'description': 'Adds PlottableCSI and give him all measurements of this scenario', 'signature': 'def add_plot(self, metric: Metric, graph: Graph):'}</s>{'name': 'MatrixMetric@CSIKit/visualization/metric.py', 'description': 'fits to the colormap ...
0
{'name': 'use_in_cluster_config@k8s/config.py', 'description': 'Configure the client using the recommended configuration for accessing the API from within a Kubernetes cluster:\nhttps://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#accessing-the-api-from-a-pod', 'signature': 'def use_in_cluster_co...
1
{'name': 'nestedExpr@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and\nclosing delimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list\n (de...
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': '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_merklebranch@test/functional/feature_taproot.py', 'description': 'Default expre...
0
{'name': 'test_make_dag_with_callbacks@tests/test_dagbuilder.py', 'description': 'test_make_dag_with_callbacks\n\nValidate that the DAG builds. Then, check callbacks configured at the DAG-level.', 'signature': 'def test_make_dag_with_callbacks():'}</s>here = Path(__file__).parent
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': 'template@src/back/kite/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def template(*args, **kwarg...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQXR2_PUT_WITH_MSG_USERID = 2
0
{'name': 'add_taxonomy@bin/ncbi-gtdb_map.py', 'description': 'Add taxonomy nodes/edits to the graph.\nParams:\n line: iterable, line of metadata file\n line_num: int, line number of metadata file\n header : dict, index of header for metadata file\n G : taxonomy graph\n tax : ncbi or gtdb?\nReturn:\n None; in-plac...
0
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw...
0
{'name': 'get_versions@cameo/_version.py', 'description': 'Get version information or return default if unable to do so.', 'signature': 'def get_versions():'}</s>HANDLERS = {}
0
{'name': 'BitcoinTestFramework.skip_if_no_bitcoin_chainstate@test/functional/test_framework/test_framework.py', 'description': 'Skip the running test if bitcoin-chainstate has not been compiled.', 'signature': 'def skip_if_no_bitcoin_chainstate(self):'}</s>{'name': 'SkipTest@test/functional/test_framework/test_framewor...
1
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'GridCloudapiCloudstatistics@infoblox_client/objects.py', 'description': "GridCloudapiCloudstatistics: Grid Cloud Statistics object.\nCorresponds to WAPI object 'grid:cloudapi:...
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>payment_failed_2 = "Contatta"
0
{'name': 'descriptor_loss_sparse@notebooks/test_sparse_loss.py', 'description': 'consider batches of descriptors\n:param descriptors:\n Output from descriptor head\n tensor [descriptors, Hc, Wc]\n:param descriptors_warped:\n Output from descriptor head of warped image\n tensor [descriptors, Hc, Wc]', 'signa...
0
{'name': 'test_compile_query_debug@tests/test_connection.py', 'description': 'Validates that the query is printed to stdout\nwhen the debug flag is enabled.', 'signature': 'def test_compile_query_debug(caplog):'}</s>{'name': 'FileTypes@tests/test_connection.py', 'description': 'DOCSTRING', 'base_classes': ['enum.Enum']...
0
{'name': 'yolo_body@yolo3/model.py', 'description': 'Create YOLO_V3 model CNN body in Keras.', 'signature': 'def yolo_body(inputs, num_seen, num_anchors):'}</s>{'name': 'compose@yolo3/utils.py', 'description': 'Compose arbitrarily many functions, evaluated left to right.\n\nReference: https://mathieularose.com/function...
1
{'name': 'Merger.description@bcml/mergers/__init__.py', 'description': 'The description of this merger in the UI', 'signature': 'def description(self) -> str:'}</s>{'name': 'get_title_id@bcml/util.py', 'description': 'DOCSTRING', 'code': 'def get_title_id(game_dir: Path = None) -> Tuple[str, str]:\n title_id = "0005...
0
{'name': 'get_follows@weibo_scraper.py', 'description': ':param max_item_limit:\n:param name:\n:param uid:\n:param pages:\n:return:', 'signature': 'def get_follows(name: str = None, uid: str = None, pages: int = None, max_item_limit: int = None):'}</s>{'name': 'WeiboCommentParser@weibo_base/weibo_parser.py', 'descripti...
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': 'PrettyAttribute.get_oneline_doc@pdir/api.py', 'description': "Doc doesn't necessarily mean doctring. It could be anything that\nshould be put after the attr's name as an explanation.", 'signature': 'def get_oneline_doc(self) -> str:'}</s>{'name': 'is_ptpython@pdir/_internal_utils.py', 'description': 'DOCSTRIN...
0
{'name': 'kg@cmd/bootstrap_cluster/bootstrap_cluster.py', 'description': 'Get all resources of the specific kind\n\nIf namespace is not provided get all resources in all namespaces\n\nReturn the result as a Python object (parsed JSON)', 'signature': "def kg(args, output='json'):"}</s>{'name': 'enable_minikube_addons@cm...
0
{'name': 'plot_sounding_data_uwyo@pymeteo/skewt.py', 'description': 'Plot SkewT from University of Wyoming sounding data\n\n:param filename: The name of the file containing sounding data\n:type filemane: str\n:param output: The name of the file to output plot\n:type output: str\n:param stationID: The station ID of a so...
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': 'Test.test_Container_Get_Item_By_Slice@tests/test_imagecollection.py', 'description': 'Test the Container Emulation Methods', 'signature': 'def test_Container_Get_Item_By_Slice(self):'}</s>MOD13Q1 = ee.ImageCollection("MODIS/006/MOD13Q1").filterBounds(point)
0
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'HTMLFormatter@src/api/python/z3/z3printer....
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
0
{'name': 'generate_plots@alphapy/plots.py', 'description': 'Generate plots while running the pipeline.\n\nParameters\n----------\nmodel : alphapy.Model\n The model object with plotting specifications.\npartition : alphapy.Partition\n Reference to the dataset.\n\nReturns\n-------\nNone : None', 'signature': 'def g...
0
{'name': 'insert_fake_data@cr8/insert_fake_data.py', 'description': 'Generate random data and insert it into a table.\n\nThis will read the table schema and then find suitable random data providers.\nWhich provider is choosen depends on the column name and data type.\n\nExample:\n\n A column named `name` will map to...
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': 'connect@trino/dbapi.py', 'description': 'Constructor for creating a connection to the database.\n\nSee class :py:class:`Connection` for arguments.\n\n:returns: a :py:class:`Connection` object.', 'signature': 'def connect(*args, **kwargs):'}</s>{'name': 'Error@trino/exceptions.py', 'description': 'DOCSTRING', ...
0
{'name': 'test_simple_reroute_2@tests/test_traffic_scheduling_problem.py', 'description': 'to loads on a collision path.\n\n[1]<-->[2]<-->[3]<-->[4]\n | ^\n +---->[5]-->[6]------+', 'signature': 'def test_simple_reroute_2():'}</s>{'name': 'test_check_moves@tests/test_traffic_scheduling_problem.py', '...
0
{'name': 'AutoModel.from_pretrained@baselines/models_pytorch/classifier_pytorch/transformers/modeling_auto.py', 'description': "Instantiates one of the base model classes of the library\nfrom a pre-trained model configuration.\n\nThe model class to instantiate is selected as the first pattern matching\nin the `pretrain...
0
{'name': 'fetch_rib@app/tasks/__init__.py', 'description': 'Process the routeview data.', 'signature': 'def fetch_rib(force=False):'}</s>{'name': 'download_asnames@app/tasks/__init__.py', 'description': 'Downloads and parses to utf-8 asnames html file.', 'code': 'def download_asnames():\n """Downloads and parses to ...
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': 'initialize_chain@qa/rpc-tests/util.py', 'description': 'Create (or copy from cache) a 200-block-long chain and\n4 wallets.\nvitaed and vitae-cli must be in search path.', 'signature': 'def initialize_chain(test_dir):'}</s>{'name': 'check_json_precision@qa/rpc-tests/util.py', 'description': 'Make sure json lib...
0
{'name': 'WebLimitations.test_many_params@test/unit/test_web_limitations.py', 'description': 'Test that we warn on large numbers of parameters, which Web VMs\ndisallow.', 'signature': 'def test_many_params(self):'}</s>{'name': 'get_test_dir@scripts/test/shared.py', 'description': 'Returns the test directory located at ...
0
{'name': 'EVPTestCase.test_get_ec@tests/test_evp.py', 'description': 'Testing retrieving the EC key from the PKey instance.', 'signature': 'def test_get_ec(self):'}</s>{'name': 'load_key@src/M2Crypto/EVP.py', 'description': 'Load an M2Crypto.EVP.PKey from file.\n\n:param file: Name of file containing the key in PEM for...
0
{'name': 'GTestFilterUnitTest.testFlagOverridesEnvVar@3rdparty/googletest/googletest/test/gtest_filter_unittest.py', 'description': 'Tests that the filter flag overrides the filtering env. variable.', 'signature': 'def testFlagOverridesEnvVar(self):'}</s>LIST_TESTS_FLAG = "--gtest_list_tests"
0
{'name': 'convert_sqlalchemy_relationship@graphene_sqlalchemy/converter.py', 'description': ':param sqlalchemy.RelationshipProperty relationship_prop:\n:param SQLAlchemyObjectType obj_type:\n:param function|None connection_field_factory:\n:param bool batching:\n:param str orm_field_name:\n:param dict field_kwargs:\n:rt...
0
{'name': 'Predicate.test@rules/predicates.py', 'description': 'The canonical method to invoke predicates.', 'signature': 'def test(self, obj: Any = NO_VALUE, target: Any = NO_VALUE) -> bool:'}</s>{'name': 'is_group_member@rules/predicates.py', 'description': 'DOCSTRING', 'code': 'def is_group_member(*groups) -> Callabl...
0
{'name': 'Options.get_raw@pcapng/structs.py', 'description': 'Get raw value for the given option', 'signature': 'def get_raw(self, name):'}</s>{'name': 'write_bytes@pcapng/structs.py', 'description': 'Write the given amount of raw bytes to a stream.\n\n:param stream: the stream into which to write data\n:param data: th...
0
{'name': 'CommandRunner._image_name@hokusai/services/command_runner.py', 'description': 'compose name for the docker image field in pod spec ', 'signature': 'def _image_name(self, tag_or_digest):'}</s>{'name': 'returncode@hokusai/lib/common.py', 'description': 'DOCSTRING', 'code': 'def returncode(command, mask=()):\n ...
0
{'name': 'Life360Scanner.__init__@custom_components/life360/device_tracker.py', 'description': 'Initialize Life360Scanner.', 'signature': 'def __init__(self, hass, config, see, interval, home_place_name, api):'}</s>{'name': '_members_ok@custom_components/life360/device_tracker.py', 'description': 'DOCSTRING', 'code': "...
0
{'name': 'sign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'varname,ctype,atype\ninit,init.r,init.i,pytype\nvardebuginfo,vardebugshowvalue,varshowvalue\nvarrfromat\nintent', 'signature': 'def sign2map(a, var):'}</s>isintent_dict = {isintent_in: 'INTENT_IN', isintent_inout: 'INTENT_INOUT', ...
1
{'name': 'GetOutputOfAllCommands@googletest/test/googletest-output-test.py', 'description': 'Returns concatenated output from several representative commands.', 'signature': 'def GetOutputOfAllCommands():'}</s>NO_STACKTRACE_SUPPORT_FLAG = "--no_stacktrace_support"
0
{'name': 'get_bert_config@araelectra/util/training_utils.py', 'description': 'Get model hyperparameters based on a pretraining/finetuning config', 'signature': 'def get_bert_config(config):'}</s>{'name': 'transformer_model@araelectra/model/modeling.py', 'description': 'Multi-headed, multi-layer Transformer from "Attent...
0
{'name': 'Annotation.set_propaganda_technique_list_obj@tools/src/annotation.py', 'description': 'propaganda_technique_obj is an object from the module src.propaganda_techniques.\nTypical invokation: \n`\n propaganda_techniques = pt.Propaganda_Techniques(filename=propaganda_techniques_list_file)\n an.Annotation.se...
0
{'name': '_process_utterance@datasets/moon.py', 'description': 'Preprocesses a single utterance wav/text pair\n\nthis writes the mel scale spectogram to disk and return a tuple to write\nto the train.txt file\n\nArgs:\n - mel_dir: the directory to write the mel spectograms into\n - linear_dir: the directory to wr...
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': 'getSegmentation@DigiPathAI/Segmentation.py', 'description': "args:\n img_path: WSI tiff image path (str)\n patch_size: patch size for inference (int)\n stride_size: stride to skip during segmentation (int)\n batch_size: batch_size during inference (int)\n quick: if True; fin...
1
{'name': 'WebSocket.connect@vertx-web/src/test/sockjs-protocol/websocket/_core.py', 'description': 'Connect to url. url is websocket url scheme.\nie. ws://host:port/resource\nYou can customize using \'options\'.\nIf you set "header" list object, you can set your own custom header.\n\n>>> ws = WebSocket()\n>>> ws.connec...
0
{'name': 'Zeroconf.checkService@stino/pyarduino/base/zeroconf.py', 'description': 'Checks the network for a unique service name, modifying the\nServiceInfo passed in if it is not unique.', 'signature': 'def checkService(self, info):'}</s>_UNREGISTER_TIME = 125
0
{'name': 'MaskedArray.__imul__@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Multiply self by other in-place.', 'signature': 'def __imul__(self, other):'}</s>arccosh = _MaskedUnaryOperation(umath.arccosh, 1.0, _DomainGreaterEqual(1.0))
0
{'name': 'build@tools/ipp_custom_library_tool_python/tool/core.py', 'description': 'Builds dynamic library\n\n:return: True if build was successful and False in the opposite case', 'signature': 'def build():'}</s>TBB = "tbb"
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': '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': 'MicroLabHardware.__init__@backend/hardware/core.py', 'description': 'Constructor. Initializes the hardware.', 'signature': 'def __init__(self, deviceDefinition: list[dict]):'}</s>{'name': '_checkForCyclicalDependency@backend/hardware/devicelist.py', 'description': 'DOCSTRING', 'code': 'def _checkForCyclicalDe...
0
{'name': 'Arcball.drag@utils/transformations.py', 'description': 'Update current cursor window coordinates.', 'signature': 'def drag(self, point):'}</s>{'name': 'projection_matrix@utils/transformations.py', 'description': 'Return matrix to project onto plane defined by point and normal.\n\nUsing either perspective poin...
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': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ...
0
{'name': '_examine_ts_policy@src/supporting-files/txn_safety.py', 'description': 'What invariant we check for depends on the ts-policy.', 'signature': 'def _examine_ts_policy(entity):'}</s>_REQUEST_STATE = threading.local()
0
{'name': 'split_markdown_cell@d2lbook/notebook.py', 'description': 'split a markdown cell if it contains tab block.\n\na new property `class` is added to the metadata for a tab cell.', 'signature': 'def split_markdown_cell('}</s>source_tab_pattern = re.compile('# *@tab +([\w\,\ ]+)')
0
{'name': 'replace@yaql/standard_library/date_time.py', 'description': ':yaql:replace\n\nReturns datetime object with applied replacements.\n\n:signature: dt.replace(year => null, month => null, day => null,\n hour => null, minute => null, second => null,\n microsecond => null...
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': 'pretf_blocks@examples/aws/s3.tf.py', 'description': 'This demonstrates recursively uploading files to an S3 bucket.', 'signature': 'def pretf_blocks():'}</s>{'name': 'aws_s3_bucket_objects@examples/aws/s3.tf.py', 'description': 'Creates aws_s3_bucket_object resources for all files in the given\nsource directo...
1
{'name': 'ProcessFileData@tools/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a li...
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': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MASK_FMV_D_X = 4293947519
0
{'name': 'read_fixed_fmt@meza/io.py', 'description': "Reads a fixed-width csv file.\n\nArgs:\n filepath (str): The fixed width formatted file path or file like object.\n widths (List[int]): The zero-based 'start' position of each column.\n mode (Optional[str]): The file open mode (default: 'r').\n kwargs (d...
0
{'name': 'csrgraph.random_walks@csrgraph/graph.py', 'description': "Create random walks from the transition matrix of a graph\n in CSR sparse format\n\nParameters\n----------\nT : scipy.sparse.csr matrix\n Graph transition matrix in CSR sparse format\nwalklen : int\n length of the random walks\nepochs : int\n ...
1
{'name': 'conv_module.__init__@src/models/Hang2020.py', 'description': 'Define a simple conv block with batchnorm and optional max pooling', 'signature': 'def __init__(self, in_channels, filters, maxpool_kernel=None):'}</s>{'name': 'load_from_backbone@src/models/Hang2020.py', 'description': 'Load from a backbone, poten...
0
{'name': 'wait_on_db_update@grizli/aws/db.py', 'description': 'Wait for db to stop updating on root', 'signature': 'def wait_on_db_update(root, t0=60, dt=30, n_iter=60, engine=None):'}</s>{'name': 'add_irac_table@grizli/aws/db.py', 'description': 'DOCSTRING', 'code': "def add_irac_table():\n\n from scipy.spatial imp...
0
{'name': 'test_system_generator@openmoltools/tests/test_forcefield_generators.py', 'description': 'Test SystemGenerator.', 'signature': 'def test_system_generator():'}</s>{'name': 'createOEMolFromIUPAC@openmoltools/tests/test_forcefield_generators.py', 'description': 'DOCSTRING', 'code': "def createOEMolFromIUPAC(iupac...
0
{'name': 'TrinoDialect.get_foreign_keys@trino/sqlalchemy/dialect.py', 'description': 'Trino has no support for foreign keys. Returns an empty list.', 'signature': 'def get_foreign_keys('}</s>ROWID = DBAPITypeObject()
0
{'name': 'parseargs@dicom2stl/utils/parseargs.py', 'description': 'Parse the command line arguments', 'signature': 'def parseargs():'}</s>{'name': 'enableAnisotropic@dicom2stl/utils/parseargs.py', 'description': 'Enable anisotropic filtering', 'base_classes': ['argparse.Action'], 'methods': [{'name': 'enableAnisotropic...
0
{'name': 'predict_SMILES_with_confidence@DECIMER/Predictor_usingCheckpoints.py', 'description': 'This function takes an image path (str) and returns a list of tuples\nthat contain each token of the predicted SMILES string and the confidence\nlevel from the last layer of the Transformer decoder.\n\nArgs:\n image_path...
0
{'name': 'get_frame_rules_for_die@dwex/dwarfutil.py', 'description': "Returns a list of dictionaries with 'pc', 'cfa' and other registers, as found in DecodedCallFrameTable.table\nfor the FDE entries that overlap with the range or ranges of the provided DIE.", 'signature': 'def get_frame_rules_for_die(die):'}</s>{'name...
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': 'BaseTemplate.search@src/back/kite/bottle.py', 'description': 'Search name in all directories specified in lookup.\nFirst without, then with common extensions. Return first hit. ', 'signature': 'def search(cls, name, lookup=[]):'}</s>{'name': 'parse_range_header@src/back/kite/bottle.py', 'description': 'Yield ...
0
{'name': 'vae_append@util.py', 'description': 'Assume that the vae uses an isotropic Gaussian for its prior and diagonal\nGaussian for its posterior.', 'signature': 'def vae_append(latent_shape, gen_net, rec_net, obs_append, prior_prec=8,'}</s>{'name': 'beta_binomials_pop@util.py', 'description': 'DOCSTRING', 'code': '...
0
{'name': 'install_python@python/virtualenv/virtualenv.py', 'description': 'Install just the base environment, no distutils patches etc', 'signature': 'def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, symlink=True):'}</s>{'name': 'copyfileordir@python/virtualenv/virtualenv.py', 'description'...
0
{'name': 'create_kms_key@security/guardduty/index.py', 'description': 'Create the KMS key required for GuardDuty publishing destination\nin the specified region\n:param session: STS sesion of the GuardDuty master account\n:param region: the region wherre GuardDuty master to be enabled\n:return: arn of the KMS key to be...
0