text
string
label
int64
{'name': 'uberenv_build@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'Calls uberenv to install tpls for a given spec to given prefix.', 'signature': 'def uberenv_build(prefix, spec, project_file, mirror_path):'}</s>{'name': 'get_blt_dir@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'DOCST...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQPD_VERSION_1 = 1
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': 'Client._download@src/gdc_client/parcel/client.py', 'description': 'Start ``self.n_procs`` to download the file.\n\n:params str file_id:\n String containing the id of the entity to download', 'signature': 'def _download(self, nprocs, stream):'}</s>{'name': 'check_transfer_size@src/gdc_client/parcel/utils.py...
0
{'name': 'write_voc_results_file@libs/val_libs/voc_eval.py', 'description': ':param all_boxes: is a list. each item reprensent the detections of a img.\nthe detections is a array. shape is [-1, 6]. [category, score, xmin, ymin, xmax, ymax]\nNote that: if none detections in this img. that the detetions is : []\n\n:param...
0
{'name': 'test_dt_import_missing_temporary@elpis/transformer/test_transformer.py', 'description': 'Raise an error if the temporary directory given does not exist.', 'signature': 'def test_dt_import_missing_temporary(tdtaf, tmpdir):'}</s>{'name': 'test_factory_set_default_context_copy@elpis/transformer/test_transformer....
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 ...
0
{'name': 'check_input_settings@sounddevice.py', 'description': 'Check if given input device settings are supported.\n\nAll parameters are optional, `default` settings are used for any\nunspecified parameters. If the settings are supported, the function\ndoes nothing; if not, an exception is raised.\n\nParameters\n----...
0
{'name': 'NamespaceLookupTestCase.test_scope_ambiguity_after_using_lookup_with_run_command@tools/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py', 'description': 'Test scope lookup ambiguity after using in lldb.', 'signature': 'def test_scope_ambiguity_after_using_lookup_with_run_command(s...
0
{'name': 'use_rbg@library/dot3k/backlight.py', 'description': 'Swap the Green and Blue channels on the LED backlight\n\nUse if you have a first batch Display-o-Tron 3K', 'signature': 'def use_rbg():'}</s>{'name': 'set@library/dot3k/backlight.py', 'description': 'Set a specific LED to a value\n\n:param index (int): inde...
0
{'name': 'TestStrictWrapper.test_strict_wrapper@responses/tests/test_responses.py', 'description': 'Test that assert_all_requests_are_fired could be applied to the decorator.', 'signature': 'def test_strict_wrapper(self):'}</s>{'name': 'my_fruit@responses/tests/test_responses.py', 'description': 'DOCSTRING', 'code': 'd...
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': '_FunctionDataTypeDef.__call__@lib/rule_engine/types.py', 'description': '.. versionadded:: 4.0.0\n\n:param str name: The name of the function, e.g. "split".\n:param return_type: The data type of the functions return value.\n:param tuple argument_types: The data types of the functions arguments.\n:param int mi...
0
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'match_direct_grism_w...
0
{'name': 'grab_image_from_env@self_organising_systems/biomakerca/environments.py', 'description': 'Create a visualization of the environment.\n\nResulting values are floats ranging from [0,1].\n\nIf color_by_id is True, we blend the agent cell colors with unique per id\ncolors with a mix of id_color_intensity.', 'signa...
0
{'name': 'receive_offline_message@bauhinia_push.py', 'description': '等待100ms,批量发送推送', 'signature': 'def receive_offline_message():'}</s>{'name': 'get_xg_secret@models/application.py', 'description': 'DOCSTRING', 'code': 'def get_xg_secret(mysql, appid):\n for i in range(2):\n try:\n sql = \'\'\'sel...
0
{'name': 'EncoderDecoderTests._test_pipeline@baselines/seq2seq_attention_copy/seq2seq/test/models_test.py', 'description': 'Helper function to test the full model pipeline.\n ', 'signature': 'def _test_pipeline(self, mode, params=None):'}</s>{'name': 'InputPipeline@baselines/seq2seq_attention_copy/seq2seq/data/input...
0
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI...
0
{'name': '_MatchesReValidator.__call__@vendor/attr/validators.py', 'description': 'We use a callable class to be able to change the ``__repr__``.', 'signature': 'def __call__(self, inst, attr, value):'}</s>{'name': '_IsCallableValidator@vendor/attr/validators.py', 'description': 'DOCSTRING', 'base_classes': ['object'],...
0
{'name': 'str2bool@model/configs.py', 'description': 'string to boolean', 'signature': 'def str2bool(v):'}</s>save_dir = Path(f'/data1/{username}/conversation/')
0
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>{'na...
0
{'name': 'write_contents@lsanomaly/evaluate/download.py', 'description': 'Writes the contents of the get request to the specified file path.\n\nArgs:\n file_path (str): file path\n\n get_request (requests.Response): response object\n\nRaises:\n IOError', 'signature': 'def write_contents(file_path, get_request)...
0
{'name': 'Window.initUI@picasso/gui/render.py', 'description': 'Initializes the main window. Builds dialogs and menu bar.\n\nParameters\n----------\nplugins_loaded : boolean\n If True, plugins have been loaded before.', 'signature': 'def initUI(self, plugins_loaded):'}</s>{'name': '_link_group_min_max@picasso/postpr...
0
{'name': 'Wheel.install@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/wheel.py', 'description': 'Install a wheel to the specified paths. If kwarg ``warner`` is\nspecified, it should be a callable, which will be called with two\ntuples indicating the wheel version of this software and the wheel\nversio...
0
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ...
0
{'name': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign...
1
{'name': '_mut_shrink_is_applied@tests/unit/test_ea_mutation.py', 'description': 'Checks if mutation was caused by `mut_shrink`.\n\n:param original: the pre-mutation individual\n:param mutated: the post-mutation individual\n:return: (bool, str). If mutation was caused by function, True. False otherwise.\n str is a ...
0
{'name': 'inv_linear_spectrogram@utils/audio.py', 'description': 'Converts linear spectrogram to waveform using librosa', 'signature': 'def inv_linear_spectrogram(linear_spectrogram, hparams):'}</s>{'name': 'get_hop_size@utils/audio.py', 'description': 'DOCSTRING', 'code': 'def get_hop_size(hparams):\n hop_size = hp...
0
{'name': 'evaluate@lab-11-X-mnist_cnn_low_memory.py', 'description': 'Run a minibatch accuracy op', 'signature': 'def evaluate(X_sample, y_sample, batch_size=512):'}</s>b4 = tf.Variable(tf.random_normal([625]))
0
{'name': 'current_umask@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/utils/misc.py', 'description': 'Get the current umask which involves having to set it temporarily.', 'signature': 'def current_umask():'}</s>{'name': 'read_text_file@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/utils/misc.py'...
0
{'name': 'AnalyzeAlignmentsFunction._run@montreal_forced_aligner/alignment/multiprocessing.py', 'description': 'Run the function', 'signature': 'def _run(self):'}</s>{'name': 'Utterance@montreal_forced_aligner/db.py', 'description': "Database class for storing information about utterances\n\nParameters\n----------\nid:...
1
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIAMO_BYTES_SENT = 791
0
{'name': 'ClusterAction.start_clusters@qingcloud/iaas/actions/cluster.py', 'description': 'Start one or more clusters.\n@param clusters: the array of clusters IDs.', 'signature': 'def start_clusters(self, clusters,'}</s>ACTION_DESCRIBE_ROUTERS = "DescribeRouters"
0
{'name': 'get_choices@blockchain-env/lib/python3.7/site-packages/click/_bashcomplete.py', 'description': ':param cli: command definition\n:param prog_name: the program that is running\n:param args: full list of args\n:param incomplete: the incomplete text to autocomplete\n:return: all the possible completions for the i...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRC_BINARY_DATA_LENGTH_ERROR = 6111
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>OP_MASK_RL = 1
0
{'name': 'MultiProcessAdapter.log@joeynmt/helpers_for_ddp.py', 'description': 'Delegates logger call after checking if we should log.', 'signature': 'def log(self, level, msg, *args, **kwargs):'}</s>{'name': 'ddp_synchronize@joeynmt/helpers_for_ddp.py', 'description': 'Synchronize distributed processes', 'code': 'def d...
0
{'name': 'is_text_file@worker/bases.py', 'description': 'Determine whether a file is a text file or binary file.\n:param filename: string, path to the file\n:param block_size: int\n:return: bool', 'signature': 'def is_text_file(filename, block_size=512):'}</s>{'name': 'is_text@worker/bases.py', 'description': 'Determin...
1
{'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': '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': 'MikrotikCoordinator.option_sensor_environment@custom_components/mikrotik_router/coordinator.py', 'description': 'Config entry option to not track ARP.', 'signature': 'def option_sensor_environment(self):'}</s>CONF_SENSOR_CLIENT_TRAFFIC = "sensor_client_traffic"
0
{'name': 'GWRResults.summary@stwr/gwr.py', 'description': 'Print out GWR summary', 'signature': 'def summary(self):'}</s>{'name': 'adapt_bisquare@stwr/kernels.py', 'description': 'Spatially adaptive bisquare kernel.', 'code': 'def adapt_bisquare(coords, nn, points=None, dmat=None,sorted_dmat=None,spherical=False):\n ...
0
{'name': 'Recipe.download_file@kivy_ios/toolchain.py', 'description': 'Download an `url` to `outfn`', 'signature': 'def download_file(self, url, filename, cwd=None):'}</s>url_orig_headers = url_opener.addheaders
1
{'name': 'merge_tab_notebooks@d2lbook/notebook.py', 'description': 'Merge the tab notebooks into a single one.\n\nThe reserved function of get_tab_notebook.', 'signature': 'def merge_tab_notebooks('}</s>{'name': '_is_mark@d2lbook/markdown.py', 'description': 'DOCSTRING', 'code': "def _is_mark(lines):\n if isinstance...
0
{'name': 'BreakpointAfterJoinTestCase.test@llvm-project/lldb/test/API/functionalities/thread/break_after_join/TestBreakAfterJoin.py', 'description': 'Test breakpoint handling after a thread join.', 'signature': 'def test(self):'}</s>{'name': 'no_match@llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py', 'de...
0
{'name': 'Serial._telnet_read_loop@serial/rfc2217.py', 'description': 'Read loop for the socket.', 'signature': 'def _telnet_read_loop(self):'}</s>MODEMSTATE_MASK_RI_CHANGE = 4
0
{'name': 'EncoderManifoldFlow._report_model_parameters@manifold_flow/flows/encoder_manifold_flow.py', 'description': 'Reports the model size ', 'signature': 'def _report_model_parameters(self):'}</s>{'name': 'BaseFlow@manifold_flow/flows/base.py', 'description': 'Abstract base flow class ', 'base_classes': ['nn.Module'...
0
{'name': 'to_traintest_folders@detectree2/preprocessing/tiling.py', 'description': 'Send tiles to training (+validation) and test dir\n\nWith "strict" it is possible to automatically ensure no overlap between train/val and test tiles.\n\nArgs:\n tiles_folder: folder with tiles\n out_folder: folder to save train a...
0
{'name': 'test_make_pod_with_scheduler_name@tests/test_objects.py', 'description': 'Test specification of the simplest possible pod specification with non-default scheduler name', 'signature': 'def test_make_pod_with_scheduler_name():'}</s>{'name': 'test_make_pod_with_tolerations@tests/test_objects.py', 'description': ...
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': 'vec_length@phi/field/_field_math.py', 'description': 'See `phi.math.vec_abs()` ', 'signature': 'def vec_length(field: Field):'}</s>{'name': 'StaggeredGrid@phi/field/_grid.py', 'description': 'N-dimensional grid whose vector components are sampled at the respective face centers.\nA staggered grid is defined th...
0
{'name': 'calculate_pass@src/pyinterp/orbit.py', 'description': 'Get the properties of a swath of an half-orbit.\n\nArgs:\n pass_number: Pass number\n orbit: Orbit describing the pass to be calculated.\n bbox: Bounding box of the pass. Defaults to the whole Earth.\n\nReturns:\n The properties of the pass.',...
1
{'name': 'synchronize_cams_all@Pose2Sim/synchronization.py', 'description': 'Post-synchronize your cameras in case they are not natively synchronized.\n\nFor each camera, computes mean vertical speed for the chosen keypoints, \nand find the time offset for which their correlation is highest. \n\nDepending on the analys...
0
{'name': 'ReplaceByFeeTest.test_too_many_replacements@test/functional/feature_rbf.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>OP_SWAP = CScriptOp(0x7c)
0
{'name': '_AutoReject.transform@autoreject/autoreject.py', 'description': 'Fix and find the bad epochs.\n\nParameters\n----------\nepochs : instance of mne.Epochs\n The epochs object for which bad epochs must be found.\n\nreturn_log : bool\n If true the rejection log is also returned.\n\nReturns\n-------\nepochs_...
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': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com...
0
{'name': '_to_word@persiantools/digits.py', 'description': 'Convert a number to its Persian word representation.\n\nThis function takes an integer and converts it to its Persian word representation.\nIt handles numbers up to 1,000,000,000,000,000 (one quadrillion).\n\nParameters:\nnumber (int): The number to be convert...
0
{'name': 'TileMatrixSet.feature@morecantile/models.py', 'description': 'Get the GeoJSON feature corresponding to a tile.\n\nOriginally from https://github.com/mapbox/mercantile/blob/master/mercantile/__init__.py\n\nParameters\n----------\ntile : Tile or sequence of int\n May be be either an instance of Tile or 3 int...
0
{'name': 'calculate_preimages@bit/transaction.py', 'description': 'Calculates preimages for provided transaction structure and input\nvalues.\n\n:param tx_obj: The transaction object used to calculate preimage from using\n a transaction digest algorithm, such as BIP-143 for Segwit\n inputs. ...
0
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>OP_4 = CScriptOp(0x54)
0
{'name': 'serve_qr_code_image@qr_code/views.py', 'description': 'Serve an image that represents the requested QR code.\n\nIMPORTANT NOTE: Each boolean option mentioned below (value True/False) must be passed as `<option name>=1` for\n`True`, respectively `<option name>=0` for `False`.\n\nYou may pass any argument avail...
1
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'gen_update_stub_name_for_node@da/compiler/incgen.py', 'description': "Generates an update stub name for the given update node.\n\nGenerated name is based o...
0
{'name': 'Controller.get_selected_configs@tools/ipp_custom_library_tool_python/gui/controller.py', 'description': 'Collecting all user-specified information about future dynamic library into dictionary', 'signature': 'def get_selected_configs(self):'}</s>PACKAGE_NAME = { IPP: "Intel(R) Integrated Performance Primit...
0
{'name': 'SignatureHash@qa/rpc-tests/test_framework/script.py', 'description': 'Consensus-correct SignatureHash\n\nReturns (hash, err) to precisely match the consensus-critical behavior of\nthe SIGHASH_SINGLE bug. (inIdx is *not* checked for validity)', 'signature': 'def SignatureHash(script, txTo, inIdx, hashtype):'}<...
0
{'name': 'Fairplay3.cycle@ap2/fairplay3.py', 'description': 'key_schedule is a 2d array of integral values', 'signature': 'def cycle(self, block: bytes, key_schedule: bytes):'}</s>table_s5 = [ 0x21aa8423, 0x2fa1892a, 0x3dbc9e31, 0x33b79338, 0x1986b007, 0x178dbd0e, 0x590aa15, 0xb9ba71c, 0x51f2ec6b, 0x5ff9e162, 0...
1
{'name': 'get_topic_map@eth_event/main.py', 'description': 'Generate a dictionary of event topics from an ABI.\n\nThis dictionary is required by `decode_log`, `decode_logs`, and\n`decode_traceTransaction`.\n\nAnonymous events are ignored. The return data is formatted as follows:\n\n {\n \'encoded bytes32 topi...
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>wasm_valkind_t = c_uint8
0
{'name': 'ECMA376Agile._derive_iterated_hash_from_password@msoffcrypto/method/ecma376_agile.py', 'description': 'Do a partial password-based hash derivation.\nNote the block key is not taken into consideration in this function.', 'signature': 'def _derive_iterated_hash_from_password('}</s>{'name': '_decrypt_aes_cbc@mso...
0
{'name': 'ScaleClient.batches@scaleapi/__init__.py', 'description': "This is a paged endpoint for all of your batches.\nPagination is based off limit and offset parameters,\nwhich determine the page size and how many results to skip.\nReturns up to 100 batches at a time (limit).\nhttps://docs.scale.com/reference#batch-...
0
{'name': 'RIPPER._grow_ruleset_cn@wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': '_preprocess_recalibrate_proba_data@wittgenstein/preprocess.py', 'description': 'DOCSTRING', 'code': 'def _preprocess_recalibrate_proba_data(preprocess_params):\n\n...
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>DEFAULT_SNOWBLIND_KWARGS = dict( require_prefix="jw", max_fraction=0.3, new_jump_flag=1024, min_radius=4, growth...
0
{'name': 'HTTPException.name@venv/Lib/site-packages/werkzeug/exceptions.py', 'description': 'The status name.', 'signature': 'def name(self):'}</s>{'name': 'RequestTimeout@venv/Lib/site-packages/werkzeug/exceptions.py', 'description': '*408* `Request Timeout`\n\nRaise to signalize a timeout.', 'base_classes': ['HTTPExc...
0
{'name': 'wide_resnet101_2@src/model/tsm/resnet.py', 'description': 'Wide ResNet-101-2 model from\n`"Wide Residual Networks" <https://arxiv.org/pdf/1605.07146.pdf>`_\n\nThe model is the same as ResNet except for the bottleneck number of channels\nwhich is twice larger in every block. The number of channels in outer 1x1...
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': 'heatmap@gneiss/plot/_heatmap.py', 'description': "Creates heatmap plotting object\n\nParameters\n----------\ntable : pd.DataFrame\n Contain sample/feature labels along with table of values.\n Rows correspond to samples, and columns correspond to features.\ntree: skbio.TreeNode\n Tree representing the...
0
{'name': 'create@pyeit/mesh/wrapper.py', 'description': 'Generating 2D/3D meshes using distmesh (pyEIT built-in)\n\nParameters\n----------\nn_el: int\n number of electrodes (point-type electrode)\nfd: function\n distance function (circle in 2D, ball in 3D)\nfh: function\n mesh size quality control function\np_...
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>{'name': '_next_fall_equinox@src/convertdate/french_republican.py', 'description': 'Return the julian day count of the previous fall equ...
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': 'IsoParamsFromDict@IsoSpecPy/IsoSpecPy.py', 'description': 'Produces a set of IsoSpec parameters from a chemical formula.\n\nArgs:\n formula (dict): a parsed chemical formula, e.g. {"C": 2, "H": 6, "O": 1}\n use_nominal_masses (boolean): use masses of elements rounded to integer numbers (nominal masses)\...
0
{'name': 'execute@Toolbox/arcsdm/ModelValidation.py', 'description': 'Model Validation Tool\n Evaluates a model in a raster format and delivers results of the tests \n \n:param parameters: parameters object with all the parameters from the python-tool. It contains:\n test_points: Point to be evaluated \n cl...
1
{'name': 'CorpusAligner.evaluate_alignments@montreal_forced_aligner/alignment/base.py', 'description': 'Evaluate alignments against a reference directory\n\nParameters\n----------\nmapping: dict[str, Union[str, list[str]]], optional\n Mapping between phones that should be considered equal across different phone set ...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQQA_NOT_SHAREABLE = 0
0
{'name': 'ThreadedConnectionPool.__init__@psycopg2/pool.py', 'description': 'Initialize the threading lock.', 'signature': 'def __init__(self, minconn, maxconn, *args, **kwargs):'}</s>{'name': 'register_adapter@psycopg2/extensions.py', 'description': "Register 'callable' as an ISQLQuote adapter for type 'typ'.", 'code'...
0
{'name': 'parse_python_interpreter@onlinejudge_command/subcommand/submit.py', 'description': ':param description: must be for Python', 'signature': 'def parse_python_interpreter(description: str) -> str:'}</s>{'name': '_MergedDiffOp@onlinejudge_command/pretty_printers.py', 'description': 'DOCSTRING', 'base_classes': ['...
0
{'name': 'batch_mode@agfusion/cli.py', 'description': 'Batch mode for annotation fusions from output from a fusion-finding\nalgorithm', 'signature': 'def batch_mode(args, agfusion_db, pyensembl_data, rename, colors):'}</s>JUNCTION_LOCATIONS = [ "CDS", "CDS (start)", "CDS (end)", "5UTR", "5UTR (end)"...
0
{'name': 'test_https_h2_tls_context_configuration_rsa@test/integration/test_integration_basics.py', 'description': 'Test that specifying RSA compatible tls cipher suites works with the h2 pool.', 'signature': 'def test_https_h2_tls_context_configuration_rsa(https_test_server_fixture):'}</s>{'name': 'assertLessEqual@tes...
0
{'name': 'gen_from_list@model_mommy/random_gen.py', 'description': "Makes sure all values of the field are generated from the list L\nUsage:\nfrom mommy import Mommy\nclass KidMommy(Mommy):\n attr_mapping = {'some_field':gen_from_list([A, B, C])}", 'signature': 'def gen_from_list(L):'}</s>{'name': 'gen_from_choices@mo...
0
{'name': 'person_ui@Pose2Sim/synchronization.py', 'description': 'Step 2: Initializes the UI for person and frame selection.\n\nINPUTS:\n- frame_rgb: The initial RGB frame to display\n- cam_name: Name of the current camera\n- frame_number: Initial frame number to display\n- search_around_frames: Frame ranges to search ...
0
{'name': 'pantiltGoHome@source/pi-timolo.py', 'description': 'Move pantilt to home position. If pantilt installed then this\ncan position pantilt to a home position for consistent\nmotion tracking and timelapse camera pointing.', 'signature': 'def pantiltGoHome():'}</s>LINE_COLOR = cvWhite
0
{'name': 'git_pieces_from_vcs@versioneer.py', 'description': "Get version from 'git describe' in the root of the source tree.\n\nThis only gets called if the git-archive 'subst' keywords were *not*\nexpanded, and _version.py hasn't already been rewritten with a short\nversion string, meaning we're inside a checked out ...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_NO_MSG_LOCKED = 2209
0
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'process_lookup_address@gef.py', 'description': 'Look up for an address in memory.\nReturn an Address object if found, None otherwise.', 'code': 'def pro...
0
{'name': 'qald_run@utils/data_preparation_rdf_type.py', 'description': "'\n\nIf the query contains only rdf constraint and no other triple, it will push the rdf type to the\nconstraint candidate and there will be no positive or negative path in the query.\n\n'path_id': [u'+25212']", 'signature': 'def qald_run(test = T...
0
{'name': 'lift_job@maf/impl/naiveLiftUp.py', 'description': "Lift this genome's blocks file to another genome.", 'signature': 'def lift_job(job, up_or_down, genome, other_genome, blocks_id, hal_id, opts):'}</s>{'name': 'test_block_prepend_new_sequence@maf/impl/naiveLiftUp.py', 'description': 'DOCSTRING', 'code': 'def t...
0
{'name': 'lambda_handler@blogs/ecs-canary-deployments-pipeline/shared_stack/lambda_functions/start_canary/main.py', 'description': 'Main handler. ', 'signature': 'def lambda_handler(event, _context):'}</s>APPMESH_CLIENT = boto3.client('appmesh')
1
{'name': 'Sun.update_as_of@custom_components/sun/__init__.py', 'description': 'Update the attributes containing solar events.', 'signature': 'def update_as_of(self, utc_point_in_time):'}</s>STATE_ATTR_DAYLIGHT = "daylight"
1
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'printe@da/compiler/utils.py', 'description': 'DOCSTRING', 'code': 'def printe(mesg, lineno=0, col_offset=0, filename="", outfd=sys.stderr):\n if Debug >...
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': 'determine_version_to_include_in_release@extra/release_tool.py', 'description': 'Returns True if the user decided on the component, False if the user\nskips the decision for later', 'signature': 'def determine_version_to_include_in_release(state, repo):'}</s>{'name': 'update_state@extra/release_tool.py', 'desc...
1