text
string
label
int64
{'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': 'BL3Profile.get_sdus@bl3save/bl3profile.py', 'description': 'Returns a dict containing the SDU type and the number purchased. The SDU\ntype key will be a constant by default, or an English label if `eng` is `True`', 'signature': 'def get_sdus(self, eng=False):'}</s>{'name': 'inventory_path_hash@bl3save/__init...
0
{'name': 'cleanup_mems@panoramix/simplify.py', 'description': "for every setmem, replace future occurences of it with it's value,\nif possible", 'signature': 'def cleanup_mems(trace):'}</s>{'name': 'split_store@panoramix/core/memloc.py', 'description': 'DOCSTRING', 'code': 'def split_store(line):\n logger.debug("spl...
0
{'name': 'pload_dem@src/Utility/Pre-Processing/STOFS-3D-Atl-shadow-VIMS/Pre_processing/Bathy_edit/DEM_loading/pload_dem2.py', 'description': 'Core routine to load bathymetry using mpi.', 'signature': 'def pload_dem(grd, grdout, dem_json, dem_dir, reverse_sign=True):'}</s>{'name': 'convert_tif_crs@src/Utility/Pre-Proces...
0
{'name': 'VerticalSwipe.rect@qt4a/andrcontrols.py', 'description': 'left, top, width, height\n ', 'signature': 'def rect(self):'}</s>{'name': 'FrameLayout@qt4a/andrcontrols.py', 'description': 'DOCSTRING', 'base_classes': ['ViewGroup'], 'methods': []}
0
{'name': 'Dot.wait_for_double_press@bluedot/dot.py', 'description': 'Waits until a Blue Dot is double pressed.\nReturns ``True`` if the button was double pressed.\n\n:param float timeout:\n Number of seconds to wait for a Blue Dot to be double pressed, if ``None``\n (the default), it will wait indefinetly.', 'sig...
0
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>CMAP_CET_D9 = 80
0
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'fpRealToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression that represents the\nconv...
0
{'name': 'Data.get_scores@verif/data.py', 'description': "Retrieves scores from all files\n\nClimatology is handled by subtracting clim's fcst field from any\nobs or determinsitic fields.\n\nArguments:\nfields Which verif.field should be retreived? Either a list or a\n single field can be supplied...
0
{'name': 'get_svg_size@make_bw_font.py', 'description': 'Takes a path to an SVG file and reads it.\nChecks for the existence of a \'viewBox\' property in the \'svg\' element.\nConfirms that the viewBox is square.\nReturns the viewBox dimension as an integer.\n\nThe regex match will contain 4 groups:\n 1. String from...
0
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>KEY_F11 = 300
0
{'name': 'parse_uvs_file@make_bw_font.py', 'description': "Parses an Unicode Variation Sequences text file.\nReturns a list of tuples in the form\n(unicodeValue, variationSelector, glyphName).\n'unicodeValue' and 'variationSelector' are integer code points.\n'glyphName' may be None, to indicate this is the default vari...
0
{'name': 'DirectRegistry.tag@shipwright/_lib/cache.py', 'description': "A noop operation because we can't tag locally, if we don't have the\nbuilt images", 'signature': 'def tag(self, targets, tags):'}</s>{'name': 'CacheMissException@shipwright/_lib/cache.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], ...
0
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>{'name': '_ShouldPrintError@scripts/cpplint.py', 'description': 'If confidence >= verbose, category passes filter and is not suppressed.', 'code': 'd...
0
{'name': 'TestW3CMarshalUnmarshal.test_roundtrip@beeline/propagation/test_w3c.py', 'description': 'Verify that we can successfully roundtrip (marshal and unmarshal)', 'signature': 'def test_roundtrip(self):'}</s>{'name': 'http_trace_parser_hook@beeline/propagation/w3c.py', 'description': 'Retrieves the w3c propagation ...
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': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>ERROR_TO_STRING_DICT = dict()
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': 'Status.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.\n\nArgs:\n time_multiplier: Instance of util.TimeMultiplier.\n pause: An observable pause subject, instance of util.ObservableFlag.\n frame_timer: A Timer instance counting duration of frames.', 'signature': 'def __in...
0
{'name': 'ResnetUtilsTest.testAtrousValuesBottleneck@slim/nets/resnet_v2_test.py', 'description': 'Verify the values of dense feature extraction by atrous convolution.\n\nMake sure that dense feature extraction by stack_blocks_dense() followed by\nsubsampling gives identical results to feature extraction at the nominal...
1
{'name': 'create_tables_command@databricks-adx-integration/src/code/tools/ADXProvisionTool/create_dataexplorer_database.py', 'description': 'create one table for existing database\n\n:param number_of_companies: number_of_companies\n:type number_of_companies: int\n:param schema_file: schema file\n:type schema_file: json...
1
{'name': '_Underride@reference/ThinkDSP/code/.ipynb_checkpoints/thinkplot-checkpoint.py', 'description': 'Add key-value pairs to d only if key is not in d.\n\nIf d is None, create a new dictionary.\n\nd: dictionary\noptions: keyword args to add to d', 'signature': 'def _Underride(d, **options):'}</s>{'name': 'Show@refe...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_COMMAND_LEVEL = 31
0
{'name': 'PolicyNetwork.evaluate@td3.py', 'description': 'generate action with state as input wrt the policy network, for calculating gradients', 'signature': 'def evaluate(self, state, deterministic, eval_noise_scale, epsilon=1e-6):'}</s>{'name': 'plot@td3.py', 'description': 'DOCSTRING', 'code': "def plot(rewards):\n...
0
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'p16@gef.py', 'description': 'Pack one word respecting the current archit...
0
{'name': 'generate_anchors@lib/rpn_util.py', 'description': 'Generates the anchors according to the configuration and\n(optionally) based on the imdb properties.', 'signature': 'def generate_anchors(conf, imdb, cache_folder):'}</s>{'name': 'inverse_rel_pose@lib/core.py', 'description': 'DOCSTRING', 'code': 'def inverse...
0
{'name': 'create_patches_reduced_target@csbdeep/data/generate.py', 'description': 'Create normalized training data to be used for neural network training.\n\nIn contrast to :func:`create_patches`, it is assumed that the target image has reduced\ndimensionality (i.e. size 1) along one or several axes (`reduction_axes`)....
1
{'name': 'User.signup@toggl/api/models.py', 'description': 'Creates brand new user. After creation confirmation email is sent to him.\n\n:param email: Valid email of the new user.\n:param password: Password of the new user.\n:param timezone: Timezone to be associated with the user. If empty, than timezone from config i...
0
{'name': 'main@pipeline/Serverless/02_pipeline/combine.py', 'description': 'Combines multiple packages into a single zip file\nFunction downloads layer for packages from S3, unzips them, and combines them all into a single zip\nUploads zip into S3 with a new name\nDeploys to all regions', 'signature': 'def main(event, ...
1
{'name': 'BaseCompiler.get_full_output_path@src/static_precompiler/compilers/base.py', 'description': 'Get full path to compiled file based for the given source file.\n The returned path is OS-dependent.\n\n:param source_path: relative path to a source file\n:returns: full path to the compiled file (OS-dependent)', ...
0
{'name': 'run@onlinejudge_command/subcommand/submit.py', 'description': ':returns: whether the submission is succeeded or not.', 'signature': 'def run(args: argparse.Namespace) -> bool:'}</s>{'name': 'get_default_command@onlinejudge_command/utils.py', 'description': 'get_default_command returns a command to execute the...
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': '_ast_kind@src/api/python/z3/z3.py', ...
0
{'name': 'Path.mountpoint@lib/filesystem.py', 'description': 'Return the mount point of the filesystem containing, or, if symlink,\nthe file pointed to. E.g.:\n\n >>> Path("/proc").mountpoint()\n Path(\'/proc\')\n >>> Path("/proc/self").mountpoint()\n Path(\'/proc\')\n >>> Path("/").mountpoint()\n Path(\'/\...
0
{'name': 'ReceiptQuerySet.validate@django_afip/models.py', 'description': "Validate all receipts matching this queryset.\n\nNote that, due to how AFIP implements its numbering, this method is not\nthread-safe, or even multiprocess-safe. You MAY however, call this method\nconcurrently for receipts from different :class:...
1
{'name': 'build_package@deb_pkg_tools/package.py', 'description': "Create a Debian package using the ``dpkg-deb --build`` command.\n\n:param directory: The pathname of a directory tree suitable for packaging\n with ``dpkg-deb --build``.\n:param repository: The pathname of the directory where the genera...
0
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>SFixed32Encoder = _StructPackEncoder(wire_format.WIRETYPE_FIXED32, '<i')
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': 'load_config@pyrgg/functions.py', 'description': 'Load config based on given path.\n\n:param path: path to config file\n:type path: str\n:return: input data as dict', 'signature': 'def load_config(path):'}</s>OUTPUT_FORMAT = {i: output_format[1:].upper() for i, output_format in SUFFIX_MENU.ite...
0
{'name': 'PULP_CBC_CMDTest.test_cuts_off@pulp/tests/test_pulp.py', 'description': 'Test if setting cuts=False adds cuts off to the command line.', 'signature': 'def test_cuts_off(self):'}</s>LpStatus = { LpStatusNotSolved: "Not Solved", LpStatusOptimal: "Optimal", LpStatusInfeasible: "Infeasible", LpSta...
0
{'name': 'request_get_body@wrappers/python/indy_vdr/bindings.py', 'description': 'Get the canonical signature input for a prepared request.', 'signature': 'def request_get_body(handle: RequestHandle) -> str:'}</s>{'name': 'request_set_txn_author_agreement_acceptance@wrappers/python/indy_vdr/bindings.py', 'description':...
0
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ...
0
{'name': 'gen_graph@pyrgg/__main__.py', 'description': 'Generate a single graph.\n\n:param input_dict: input data\n:type input_dict: dict\n:param file_name: file name\n:type file_name: str\n:return: None', 'signature': 'def gen_graph(input_dict, file_name):'}</s>{'name': 'wel_maker@pyrgg/graph_gen.py', 'description': '...
0
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'search_path_dir...
0
{'name': 'decryptAES@flask_api/api_server.py', 'description': '解析AES密文', 'signature': 'def decryptAES(src):'}</s>ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif', "json"])
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': 'internal_silk@scripts/build_mod_ic.py', 'description': 'Generate an internal silkscreen, with an outline of the part and a pin1\nindicator.', 'signature': 'def internal_silk(conf):'}</s>{'name': 'main@scripts/build_mod_ic.py', 'description': 'DOCSTRING', 'code': 'def main(prettypath, modpath, verify=False, ve...
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': 'delete_employee@app/admin/views.py', 'description': 'Assign a department and a role to an employee', 'signature': 'def delete_employee(id):'}</s>{'name': 'add_department@app/admin/views.py', 'description': 'DOCSTRING', 'code': 'def add_department():\n check_admin()\n add_department = True\n form = De...
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': 'IREP.fit@build/lib/wittgenstein/irep.py', 'description': "Fit a Ruleset model.\n\nParameters\n----------\ntrainset : DataFrame, numpy array, or other iterable\n Training dataset. Optional whether to include or exclude class labels column.\ny : iterable of str, int, bool\n Class labels corresponding to t...
0
{'name': 'AbstractCodeEditorView._format@airflow_code_editor/code_editor_view.py', 'description': 'Sort imports and format code', 'signature': 'def _format(cls):'}</s>{'name': 'get_stat@airflow_code_editor/tree.py', 'description': 'Get stat for the given path', 'code': 'def get_stat(path: Optional[str] = None, args: Ar...
0
{'name': 'directory@fixtures.py', 'description': 'Return a per-test specific directory.\n\nThis makes a unique test-directory even if a test is rerun multiple times.', 'signature': 'def directory(request, test_base_dir, test_name):'}</s>{'name': 'btcd@fixtures.py', 'description': 'DOCSTRING', 'code': 'def btcd():\n ...
0
{'name': '_AppHandler.__init__@jupyterlab/commands.py', 'description': 'Create a new _AppHandler object', 'signature': 'def __init__(self, options):'}</s>{'name': 'lt@jupyterlab/semver.py', 'description': 'DOCSTRING', 'code': 'def lt(a, b, loose):\n return compare(a, b, loose) < 0'}
0
{'name': 'right_shift_blockwise@tensor2tensor_envi/layers/common_attention.py', 'description': 'Right shifts once in every block.\n\nArgs:\n x: a tensor of shape [batch, height, width, depth]\n query_shape: A 2d tuple of ints\n name: a string\n\nReturns:\n output: a tensor of the same shape as x', 'signature': 'def...
0
{'name': 'Node.bye@shingetsu/node.py', 'description': 'Unconnect.', 'signature': 'def bye(self):'}</s>admin_cgi = root_path + "admin.cgi"
0
{'name': 'SendMessage._setup_workflow@py/send_message.py', 'description': 'TODO: Document', 'signature': 'def _setup_workflow(self) -> None:'}</s>{'name': 'get_device@py/bitbox02/bitbox02/communication/devices.py', 'description': 'DOCSTRING', 'code': 'def get_device(product_string: str, interface_number: int = 0) -> De...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_MAX_MCA_USER_ID_LENGTH = 64
0
{'name': 'handler@orders/src/create_order/main.py', 'description': 'Lambda function handler', 'signature': 'def handler(event, _):'}</s>{'name': 'validate_payment@orders/src/create_order/main.py', 'description': 'Validate the payment token', 'code': 'def validate_payment(order: dict) -> Tuple[bool, str]:\n """\n ...
0
{'name': 'format@src/convertdate/french_republican.py', 'description': 'Convert a FR date into a string with the format DD MONTH YYYY.', 'signature': 'def format(an, mois, jour):'}</s>LEAP_CYCLE_YEARS = 4
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': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_table_set_host_info_with_finalizer@language-bindings/python/src...
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': 'DocumentedDict.info_str@oggm/cfg.py', 'description': 'Info string for the documentation.', 'signature': 'def info_str(self, key):'}</s>_doc = "The outlines of this glacier complex sub-entities (for RGI7C only!)."
1
{'name': 'decode_and_plot_events1D@nelpy/plotting/decoding.py', 'description': "bst : BinnedSpikeTrainArray\ntc : TuningCurve1D\nraster : bool\nst : SpikeTrainArray, optional\nst_order : string, optional\n = ['track', 'first', 'random']\nevt_subset : list, optional\n List of integer indices. If the list is not so...
0
{'name': 'get_versions@src/harvesters_gui/_version.py', 'description': 'Get version information or return default if unable to do so.', 'signature': 'def get_versions():'}</s>{'name': 'VersioneerConfig@src/harvesters_gui/_version.py', 'description': 'Container for Versioneer configuration parameters.', 'base_classes': ...
0
{'name': 'send_datapoints_to_stackdriver@alertlib/stackdriver.py', 'description': 'A low-level function used by send_to_stackdriver.', 'signature': 'def send_datapoints_to_stackdriver(timeseries_data,'}</s>{'name': '_get_google_apiclient@alertlib/stackdriver.py', 'description': 'Build an http client authenticated with ...
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': 'PipelineSharedReadWrite.load@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/ml/pipeline.py', 'description': 'Load metadata and stages for a :py:class:`Pipeline` or :py:class:`PipelineModel`\n\n:return: (UID, list of stages)', 'signature': 'def load(metadata, sc, path):'}</s>{'name': 'J...
0
{'name': 'main@src/freetype/src/tools/docmaker/docmaker.py', 'description': 'Main program loop.', 'signature': 'def main(argv):'}</s>re_identifier = re.compile(r""" ((?:\w|-)+ (?:\[(?:\w|-)+\])?) """, re.VERBOSE)
0
{'name': 'ReplaceByFeeTest.test_spends_of_conflicting_outputs@test/functional/feature_rbf.py', 'description': 'Replacements that spend conflicting tx outputs are rejected', 'signature': 'def test_spends_of_conflicting_outputs(self):'}</s>OP_2SWAP = CScriptOp(0x72)
0
{'name': 'TestThresholdBased.test_basic@verif/tests/test_metric.py', 'description': 'Test the basic threshold-based metrics ', 'signature': 'def test_basic(self):'}</s>{'name': 'Bias@verif/metric.py', 'description': 'DOCSTRING', 'base_classes': ['ObsFcstBased'], 'methods': [{'name': 'Bias._compute_from_obs_fcst@verif/m...
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': 'fpToUBV@src/api/python/z3/z3.py', 'descrip...
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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQPMO_CURRENT_LENGTH = MQPMO_LENGTH_3
0
{'name': 'test_iterator_passthrough@ncnn-20210525-full-source/python/pybind11/tests/test_sequences_and_iterators.py', 'description': '#181: iterator passthrough did not compile', 'signature': 'def test_iterator_passthrough():'}</s>{'name': 'test_sequence_length@ncnn-20210525-full-source/python/pybind11/tests/test_seque...
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': 'RIPPER.fit@build/lib/wittgenstein/ripper.py', 'description': "Fit a Ruleset model.\n\nParameters\n----------\ntrainset : DataFrame, numpy array, or other iterable\n Training dataset. Optional whether to include or exclude class labels column.\ny : iterable of str, int, bool\n Class labels corresponding ...
0
{'name': 'enumerate_mpi_declarations@src/services/mpiwrap/wrap.py', 'description': "Invokes mpicc's C preprocessor on a C file that includes mpi.h.\nParses the output for declarations, and yields each declaration to\nthe caller.", 'signature': 'def enumerate_mpi_declarations(mpicc, includes):'}</s>{'name': 'InnerLexer@...
0
{'name': 'MetaDataFrame.__init__@stock_pandas/meta/cumulator.py', 'description': 'Creates a stock data frame\n\nArgs:\n data (ndarray, Iterable, dict, DataFrame, StockDataFrame): data\n date_col (:obj:`str`, optional): If set, then the column named `date_col` will convert and set as the DateTimeIndex of the data ...
0
{'name': 'AutoCVWrap.transform@lightautoml/transformers/image.py', 'description': 'Transform dataset to image embeddings.\n\nArgs:\n dataset: Pandas or Numpy dataset of image paths.\n\nReturns:\n Numpy dataset with image embeddings.', 'signature': 'def transform(self, dataset: NumpyOrPandas) -> NumpyDataset:'}</s...
0
{'name': 'IUSequence.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this sequence as a dict', 'signature': 'def as_dict(self, extended=False, sqr: IUSequenceRun = None) -> OrderedDict:'}</s>CONF_TIME = "time"
0
{'name': 'ProcessFileData@third_party/cpplint/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 rep...
0
{'name': 'AGraph.subgraph_parent@pygraphviz/agraph.py', 'description': 'Return parent graph of subgraph or None if graph is root graph.', 'signature': 'def subgraph_parent(self, nbunch=None, name=None):'}</s>{'name': 'agparent@pygraphviz/graphviz.py', 'description': 'DOCSTRING', 'code': 'def agparent(g):\n return _g...
1
{'name': 'readFile@impedance/preprocessing.py', 'description': 'A wrapper for reading in many common types of impedance files\n\nParameters\n----------\nfilename: string\n Filename to extract impedance data from\ninstrument: string\n Type of instrument file\n\nReturns\n-------\nfrequencies : np.ndarray\n Array...
1
{'name': 'test_parsing_with_links@tests/parsing_test.py', 'description': 'Tests that "links" parses correctly', 'signature': 'def test_parsing_with_links(with_links):'}</s>{'name': 'test_securityparameters@tests/parsing_test.py', 'description': 'DOCSTRING', 'code': 'def test_securityparameters(with_securityparameters):...
0
{'name': 'cmd_base@lib/charliecloud.py', 'description': 'Run a command to completion. If not fail_ok, exit with a fatal error if\nthe command fails (i.e., doesn’t exit with code zero). Return the\nCompletedProcess object.\n\nThe command’s stderr is suppressed unless (1) logging is DEBUG or higher\nor (2) fail_ok is Fal...
0
{'name': 'Application.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.', 'signature': 'def __init__(self, title="Explorer", width=1024, height=768):'}</s>KEY_5 = 53
0
{'name': 'IPDatabase.generate_vsim_tcl@ipstools/ipstools/IPDatabase.py', 'description': "Exports the `vsim.tcl` script.\n\n :param filename: Output TCL script file name.\n :type filename: str\n\n :param source: 'ips' or 'rtl'\n :type source: str\n\nThis function exports the `vs...
0
{'name': 'Metar.__init__@metar/Metar.py', 'description': 'Parse raw METAR code.', 'signature': 'def __init__( self, metarcode, month=None, year=None, utcdelta=None):'}</s>TEMP_RE = re.compile(r"""^(?P<temp>(M|-)?\d+|//|XX|MM)/ (?P<dewpt>(M|-)?\d+|//|XX|MM)?\s+""", re....
0
{'name': 'DataprocTestCase.assert_dataproc_job@integration_tests/dataproc_test_case.py', 'description': 'Executes Dataproc job on a cluster and asserts that it returned 0\nexit code.\n\nArgs:\n cluster_name: cluster name to submit job to\n job_type: job type (hadoop, spark, etc)\n job_params: job command param...
0
{'name': 'default_renderer_base@altair/utils/display.py', 'description': 'A default renderer for Vega or VegaLite that works for modern frontends.\n\nThis renderer works with modern frontends (JupyterLab, nteract) that know\nhow to render the custom VegaLite MIME type listed above.', 'signature': 'def default_renderer_...
0
{'name': 'thanksgiving@src/convertdate/holidays.py', 'description': "In the United States, Thanksgiving is celebrated on the last Thursday\nof November. In Canada, on the second Monday of October.\n\nArguments:\n year (int): Gregorian year\n country (str): either ``'usa'`` (default) or ``'canada'``", 'signature':...
0
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'bufferize@gef.py', 'description': 'Store the content to be printed for a...
0
{'name': 'main@signac/__main__.py', 'description': 'Provide command line interface.', 'signature': 'def main():'}</s>{'name': 'DocSync@signac/sync.py', 'description': 'Collection of document synchronization functions.', 'base_classes': [], 'methods': [{'name': 'DocSync.update@signac/sync.py', 'description': 'Perform a ...
0
{'name': '_parse_array@pygdbmi/gdbmiparser.py', 'description': 'Parse an array, stream should be passed the initial [\nreturns:\n Parsed array', 'signature': 'def _parse_array(stream: StringStream) -> list:'}</s>{'name': '_parse_dict@pygdbmi/gdbmiparser.py', 'description': "Parse dictionary, with optional starting c...
0
{'name': '_SignBootableImage@tools/releasetools/common.py', 'description': "Performs AVB signing for a prebuilt boot.img.\n\nArgs:\n image_path: The full path of the image, e.g., /path/to/boot.img.\n prebuilt_name: The prebuilt image name, e.g., boot.img, boot-5.4-gz.img,\n boot-5.10.img, recovery.img or init_bo...
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': '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': 'default_if_empty@yaql/standard_library/queries.py', 'description': ':yaql:defaultIfEmpty\n\nReturns default value if collection is empty.\n\n:signature: collection.defaultIfEmpty(default)\n:receiverArg collection: input collection\n:argType collection: iterable\n:arg default: value to be returned if collectio...
0
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>{'name': 'Badge@src/ast...
0