text
string
label
int64
{'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_EXTERN_TABLE = 2
0
{'name': 'quaternion_from_euler@utils/transformations.py', 'description': "Return quaternion from Euler angles and axis sequence.\n\nai, aj, ak : Euler's roll, pitch and yaw angles\naxes : One of 24 axis sequences as string or encoded tuple\n\n>>> q = quaternion_from_euler(1, 2, 3, 'ryxz')\n>>> numpy.allclose(q, [0.435...
0
{'name': 'records2geojson@meza/convert.py', 'description': "Converts records into a GeoJSON file like object.\n\n Args:\n records (Iter[dict]): Rows of data whose keys are the field names.\n E.g., output from any `meza.io.read_geojson`.\n\n kwargs (dict): Keyword arguments.\n\nKwargs:\n key (str): GeoJS...
0
{'name': 'get_env_variable@oshc/oshc/settings/base.py', 'description': 'Get the environment variable or return exception', 'signature': 'def get_env_variable(var_name):'}</s>ROOT_URLCONF = "oshc.urls"
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': 'BMP3XX._read@python3/samples/bmp390.py', 'description': 'Returns a tuple for temperature and pressure.', 'signature': 'def _read(self):'}</s>{'name': 'BMP3XX_I2CDriver@python3/samples/bmp390.py', 'description': 'Driver for I2CDriver connected BMP3XX.\n\n:param ~busio.I2C i2c: The I2CDriver the BMP388 is conne...
0
{'name': 'mean@2DNet/src/tuils/loss_function.py', 'description': 'nanmean compatible with generators.', 'signature': 'def mean(l, ignore_nan=False, empty=0):'}</s>{'name': 'SoftDiceLoss_binary_v3@2DNet/src/tuils/loss_function.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], 'methods': [{'name': 'SoftDice...
0
{'name': 'guess_json_utf@src/requests/utils.py', 'description': ':rtype: str', 'signature': 'def guess_json_utf(data):'}</s>__version__ = "2.32.3"
0
{'name': 'AtIndexer.__init__@linopy/variables.py', 'description': 'Initialize the AtIndexer.', 'signature': 'def __init__(self, obj: Variable) -> None:'}</s>{'name': 'set_int_index@linopy/common.py', 'description': 'Convert string index to int index.', 'code': 'def set_int_index(series: pd.Series) -> pd.Series:\n ""...
0
{'name': 'Serial.write@serial/serialwin32.py', 'description': 'Output the given byte string over the serial port.', 'signature': 'def write(self, data):'}</s>CloseHandle = _stdcall_libraries['kernel32'].CloseHandle
0
{'name': '_download_args@ez_setup.py', 'description': 'Return args for download_setuptools function from cmdline args.', 'signature': 'def _download_args(options):'}</s>{'name': '_build_install_args@ez_setup.py', 'description': "Build the arguments to 'python setup.py install' on the setuptools package.\n\nReturns list...
0
{'name': 'get_product_id@ve_utils.py', 'description': 'Find the machine ID and return it. ', 'signature': 'def get_product_id():'}</s>logger = logging.getLogger(__name__)
0
{'name': 'clean_merged_flowlines@oggm/core/flowline.py', 'description': 'Order and cut merged flowlines to size.\n\nAfter matching flowlines were found and merged to one glacier directory\nthis function makes them nice:\nThere should only be one flowline per bed, so overlapping lines have to be\ncut, attributed to a an...
0
{'name': 'IUController.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this controller as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>COORDINATOR = "coordinator"
0
{'name': 'CalculateCTD@PyBioMed/PyProtein/CTD.py', 'description': '###############################################################################################\nCalculate all CTD descriptors based seven different properties of AADs.\n\nUsage:\n\nresult=CalculateCTD(protein)\n\nInput:protein is a pure protein sequenc...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQTA_PROXY_SUB_FIRSTUSE = 2
0
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': 'TarInfo.frombuf@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>BLOCKSIZE = 512
1
{'name': 'BradleyTerryFull.predict_draw@openskill/models/weng_lin/bradley_terry_full.py', 'description': "Predict how likely a match up against teams of one or more players\nwill draw. This algorithm has a time complexity of\n:math:`\\mathcal{0}(n^2)` where 'n' is the number of teams.\n\n:param teams: A list of two or ...
0
{'name': 'GroundTruthLoader.__call__@tools/ground_truth.py', 'description': 'get the ground truth by provided the name of dataset.\n\n:type dataset: str\n:param dataset: the name of dataset.\n:return: np.ndarray, shape(#video)\n np.array[0] contains all the start frame and end frame of abnormal events of video ...
1
{'name': 'Model._predict_loop@modified_keras/keras/models.py', 'description': 'Abstract method to loop over some data in batches.', 'signature': 'def _predict_loop(self, f, ins, batch_size=128, verbose=0):'}</s>mae = mean_absolute_error
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': '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': 'argv_to_dict@grizli/utils.py', 'description': "Convert a list of (simple) command-line arguments to a dictionary.\n\nParam...
0
{'name': 'perform_release@changes/flow.py', 'description': 'Executes the release process.', 'signature': 'def perform_release(context):'}</s>log = logging.getLogger(__name__)
1
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>{'name': 'CScriptInvalidError@test/functional/test_framework/script.py', 'description': 'Base class for CScript exceptions', 'base_cl...
0
{'name': 'save_cmd_orig@src/python_scripts/afnipy/lib_physio_logs.py', 'description': 'Write out input cmd output dir.', 'signature': 'def save_cmd_orig(retobj, verb=1):'}</s>{'name': 'make_ts_obj_review_log@src/python_scripts/afnipy/lib_physio_logs.py', 'description': "Write out (or append to) a file of review informa...
0
{'name': 'BertEmbeddingsWithVideo.forward@baselines/multimodal_transformer/transformer/model.py', 'description': 'Args:\n input_ids: (N, L)\n video_features: (N, L, D)\n token_type_ids: (N, L, D)\n\nReturns:', 'signature': 'def forward(self, input_ids, video_features, token_type_ids):'}</s>{'name': 'BertDecode...
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_NOP5 = CScriptOp(0xb4)
0
{'name': 'createApplicationsAndSubscribe@apim-traffic-tool/lib/traffic-tool/src/python/create_api_scenario.py', 'description': 'This function will create all applications and subscribe to APIs\n:return: None', 'signature': 'def createApplicationsAndSubscribe():'}</s>gateway_servelet_port_http = ""
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>MQIACH_USER_SOURCE = 1638
0
{'name': 'BertPreTrainedModel.from_pretrained@modeling.py', 'description': 'Instantiate a BertPreTrainedModel from a pre-trained model file or a pytorch state dict.\nDownload and cache the pre-trained model file if needed.\n\nParams:\n pretrained_model_name_or_path: either:\n - a str with the name of a pre-tr...
0
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>HAS_JUST_QUIT_GAME = [4261]
0
{'name': 'BaseProgressRecorder.increment_progress@celery_progress/backend.py', 'description': "Increments progress by one, with an optional description. Useful if the caller doesn't know the total.", 'signature': 'def increment_progress(self, by=1, description=""):'}</s>{'name': 'BaseProgressRecorder@celery_progress/ba...
1
{'name': 'gen_valid_vectors@contrib/testgen/gen_base58_test_vectors.py', 'description': 'Generate valid test vectors', 'signature': 'def gen_valid_vectors():'}</s>metadata_keys = ['isPrivkey', 'isTestnet', 'addrType', 'isCompressed']
1
{'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>{'name': 'PrefilledTransaction@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods'...
0
{'name': 'main@buildtest/main.py', 'description': 'Entry point to buildtest.', 'signature': 'def main():'}</s>{'name': 'inspect_list@buildtest/cli/inspect.py', 'description': 'This method list an output of test id, name, and buildspec file from the report cache. The default\nbehavior is to display output in table forma...
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>MQFMT_RF_HEADER_ARRAY = [b"M", b"Q", b"H", b"R", b"F", b" ", b" ", b" "]
0
{'name': 'pcb_to_svg@kidiff/kidiff.py', 'description': 'Hands off required .kicad_pcb files to "plotpcb"\nand generate .svg files. Routine is quick so all\nlayers are plotted to svg.', 'signature': 'def pcb_to_svg(kicad_pcb_path, repo_path, kicad_project_dir, board_filename, commit1, commit2, plot_page_frame, filename_...
0
{'name': 'adjust_chunksize@pangres/utils.py', 'description': 'Checks if given `chunksize` is appropriate for upserting rows in given database using\ngiven DataFrame.\nThe `chunksize` represents the number of rows you would like to upsert in a chunk when\nusing the `pangres.upsert` function.\n\nSome databases have limit...
0
{'name': 'SciQuery.submit_query_job@py3/SciServer/SciQuery.py', 'description': "Submits a sql query for execution (as an asynchronous job) inside a relational database (RDB) compute domain.\n\n:param sql_query: sql query (string)\n:param database: defines the database where the sql query is executed in.\n Can be eit...
0
{'name': 'sample@aragpt2/grover/modeling.py', 'description': "V1 version of: sample outputs from a model, and do it all at once\n:param news_config: Configuration used to construct the model\n:param initial_context: [batch_size, seq_length] that we'll start generating with\n:param eos_token: Stop generating if you see ...
0
{'name': 'main@dev-support/checkcompatibility.py', 'description': 'Main function. ', 'signature': 'def main():'}</s>{'name': 'get_repo_dir@dev-support/checkcompatibility.py', 'description': 'Return the path to the top of the repo. ', 'code': 'def get_repo_dir():\n """ Return the path to the top of the repo. """\n ...
0
{'name': 'MochaCoordinator.start@test/integration/tests/mocha.py', 'description': 'Begin execution of the test suite', 'signature': 'def start(self):'}</s>{'name': 'pytest_collection@test/integration/tests/mocha.py', 'description': 'DOCSTRING', 'code': "def pytest_collection(session: pytest.Session):\n session.items...
0
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'show_process_stack@src/python_scripts/afnipy/afni_util.py', 'description': 'print stack of processes up to init', ...
0
{'name': 'BitBoxCommonAPI.get_info@py/bitbox02/bitbox02/communication/bitbox_api_protocol.py', 'description': 'Returns (version, platform, edition, unlocked, initialized).\nThis is useful to get the version of the firmware or the device unlocked/initialized status\nwhen a usb descriptor is not available (via BitBoxBrid...
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': 'do_setup@versioneer.py', 'description': 'Do main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup():'}</s>{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.\n\nIf the package uses a different cmdclass ...
0
{'name': 'Arcball.drag@transformations.py', 'description': 'Update current cursor window coordinates.', 'signature': 'def drag(self, point):'}</s>{'name': 'quaternion_multiply@transformations.py', 'description': 'Return multiplication of two quaternions.\n\n>>> q = quaternion_multiply([4, 1, -2, 3], [8, -5, 6, 7])\n>>>...
1
{'name': 'pspnet.load_pretrained_model@ptsemseg/models/pspnet.py', 'description': 'Load weights from caffemodel w/o caffe dependency\nand plug them in corresponding modules', 'signature': 'def load_pretrained_model(self, model_path):'}</s>_SIGMOIDPARAMETER = _descriptor.Descriptor( name='SigmoidParameter', full_nam...
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>MQCFACCESS_DISABLED = 2
0
{'name': 'is_disabled_path@fandjango/utils.py', 'description': 'Determine whether or not the path matches one or more paths\nin the DISABLED_PATHS setting.\n\n:param path: A string describing the path to be matched.', 'signature': 'def is_disabled_path(path):'}</s>FANDJANGO_SITE_URL = getattr(settings, 'FANDJANGO_SITE_...
0
{'name': 'files@svcs/soundscape-authoring/backend/files/views.py', 'description': 'Returns the requested file from the a path\n\nUser generated files are stored in an Azure Storage account.\nThis view is a proxy to that storage.', 'signature': 'def files(_, resource):'}</s>CONTAINER_NAME = os.environ.get('AZURE_STORAGE...
1
{'name': 'FormatCode@tools/yapf/yapf/yapflib/yapf_api.py', 'description': 'Format a string of Python code.\n\nThis provides an alternative entry point to YAPF.\n\nArguments:\n unformatted_source: (unicode) The code to format.\n filename: (unicode) The name of the file being reformatted.\n remaining arguments: see co...
0
{'name': 'test_gpt_model@onnxruntime/python/tools/transformers/convert_generation.py', 'description': 'Test GPT-2 model\n\nArgs:\n args (argparse.Namespace): arguments parsed from command line\n sentences (Optional[List[str]], optional): input text. Defaults to None.\n\nReturns:\n Union[Dict[str, Any], None]: ...
1
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru...
0
{'name': 'Type.of_type@pygraphy/introspection.py', 'description': 'NON_NULL and LIST only', 'signature': "def of_type(self) -> Optional['Type']:"}</s>{'name': 'SubscribableSchema@pygraphy/types/schema.py', 'description': 'DOCSTRING', 'base_classes': ['Schema'], 'methods': []}
0
{'name': 'ImportErrorTests.test_no_module@didyoumean/didyoumean_sugg_tests.py', 'description': "Should be 'math'.", 'signature': 'def test_no_module(self):'}</s>{'name': 'GetSuggestionsTests@didyoumean/didyoumean_sugg_tests.py', 'description': 'Generic class to test get_suggestions_for_exception.\n\nMany tests do not c...
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': 'ElementDetail.from_data@src/nitpick/blender.py', 'description': 'Create an element detail from dict data.', 'signature': 'def from_data(cls, index: int, data: ElementData, jmes_key: str) -> ElementDetail:'}</s>{'name': 'SensibleYAML@src/nitpick/blender.py', 'description': 'YAML with sensible defaults but an i...
0
{'name': 'PhonoGromacs.__init__@phonolammps/__init__.py', 'description': 'Experimental class to use Tinker to calculate forces, can be used\nas an example to how to expand phonoLAMMPS to other software\n\n:param xyz_input_file: XYZ input file name (see example)\n:param supercell_matrix: 3x3 matrix supercell\n:param p...
0
{'name': 'generate_assignment_stub_and_hook@da/compiler/incgen.py', 'description': "Generate assignment stub and hook node for 'nameobj'.\n\nAssignment stubs notifies the incrementalizer of changes to value of\nvariables, and gives the incrementalizer a chance to perform necessary\nhousekeeping.", 'signature': 'def gen...
0
{'name': 'profile_dump@lib/charliecloud.py', 'description': 'If profiling, dump the profile data.', 'signature': 'def profile_dump():'}</s>{'name': 'version_check@lib/charliecloud.py', 'description': 'Return True if the version number of program exected as argv is at least\nmin_. Otherwise, including if execution fails...
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>MQFB_LENGTH_OFF_BY_ONE = 295
0
{'name': '_GenerateRenderMethod.create_filter_callable@mako/codegen.py', 'description': "write a filter-applying expression based on the filters\npresent in the given filter names, adjusting for the global\n'default' filter aliases as needed.", 'signature': 'def create_filter_callable(self, args, target, is_expression)...
0
{'name': 'make_coords@sidechainnet/structure/fastbuild.py', 'description': 'Create coordinates from sequence and angles using torch operations.\n\nbuild_params describes what atoms to make and how.', 'signature': 'def make_coords(seq, angles, build_params, add_hydrogens=False):'}</s>SC_HBUILD_INFO = create_complete_hyd...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQZAO_ALL_MQI = 16383
0
{'name': 'adjust_learning_rate@main.py', 'description': 'Sets the learning rate to the initial LR decayed by 10 every 30 epochs', 'signature': 'def adjust_learning_rate(optimizer, epoch, lr_steps):'}</s>{'name': 'RandomRotate@spatial_transforms.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'...
0
{'name': 'Diagram.normal_form@discopy/grammar/pregroup.py', 'description': 'Applies normal form to a pregroup diagram of the form\n``word @ ... @ word >> wires`` by normalising words and wires\nseperately before combining them, so it can be drawn with :meth:`draw`.', 'signature': 'def normal_form(diagram, **params):'}<...
0
{'name': 'crackline@venv/Lib/site-packages/numpy/f2py/crackfortran.py', 'description': 'reset=-1 --- initialize\nreset=0 --- crack the line\nreset=1 --- final check if mismatch of blocks occurred\n\nCracked data is saved in grouplist[0].', 'signature': 'def crackline(line, reset=0):'}</s>{'name': 'isunsigned_short...
0
{'name': '_type_expression@swagger_to/ts_angular5_client.py', 'description': 'Translate the type definition in Typescript representation to a type expression as Typescript code.\n\n:param typedef: Typescript representation of the type definition\n:param path: path in the Swagger spec\n:return: Typescript code', 'signat...
0
{'name': 'detect_regressor@sklearn_pmml_model/auto_detect/base.py', 'description': 'Detect the type of regressor in line if present.\n\nParameters\n----------\nline : str, bytes\n Line of a PMML file as a string.\n\npmml : str, object\n Filename or file object containing PMML data.', 'signature': 'def detect_regr...
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_TARGET_CCSID_ERROR = 2115
0
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>SOURCE_DISPLAYED_CORRECTLY = "Source code displayed correctly"
0
{'name': 'S3ToGCSCopyTest.testProcessFromParams@tests/lib/exporters/s3_to_gcs.py', 'description': "Tests the exporter's Process() function when the list comes from\npassed in parameters.", 'signature': 'def testProcessFromParams(self,'}</s>{'name': 'RemoteFSPath@dftimewolf/lib/containers/containers.py', 'description': ...
0
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'PieRunCommand@gef.py', 'description': 'Run process wi...
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_HOME = 268
0
{'name': 'get_ngrok_process@pyngrok/ngrok.py', 'description': "Get the current ``ngrok`` process for the given config's ``ngrok_path``.\n\nIf ``ngrok`` is not installed at :class:`~pyngrok.conf.PyngrokConfig`'s ``ngrok_path``, calling this method\nwill first download and install ``ngrok``.\n\nIf ``ngrok`` is not runnin...
0
{'name': 'test_eeg_rpsd@mne_icalabel/iclabel/tests/test_features.py', 'description': 'Test eeg_rpsd function that extract the PSD feature from the IC.', 'signature': 'def test_eeg_rpsd(fname, constants_fname, step_by_step_fname, psd_fname, type_):'}</s>autocorr_short_raw_path = dataset_path / "autocorr/autocorr-short-r...
0
{'name': 'detect_classifier@sklearn_pmml_model/auto_detect/base.py', 'description': 'Detect the type of classifier in line if present.\n\nParameters\n----------\nline : str, bytes\n Line of a PMML file as a string.\n\npmml : str, object\n Filename or file object containing PMML data.', 'signature': 'def detect_cl...
1
{'name': 'ReplaceByFeeTest.test_too_many_replacements@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>{'name': 'ser_string@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'code': ...
0
{'name': '_rd_dat_signals@wfdb/io/_signal.py', 'description': "Read all signals from a WFDB dat file.\n\nParameters\n----------\nfile_name : str\n The name of the dat file.\ndir_name : str\n The full directory where the dat file(s) are located, if the dat\n file(s) are local.\npn_dir : str\n The PhysioNet d...
0
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'initialize_rh_interface@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def initialize_rh_interface():\n if not _do_init_rh_interface():\n retur...
0
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
0
{'name': 'Component.answer@src/nagare/component.py', 'description': 'Answer to a call.\n\nIn:\n - the value to answer', 'signature': 'def answer(self, r=_marker):'}</s>{'name': 'ContinuationSuspended@src/nagare/continuation.py', 'description': 'DOCSTRING', 'base_classes': ['ContinuationException'], 'methods': []}
0
{'name': 'friends@twitter_to_sqlite/cli.py', 'description': 'Save friends for specified users (defaults to authenticated user)', 'signature': 'def friends(db_path, identifiers, attach, sql, auth, ids, silent):'}</s>{'name': 'lists_subscribed@twitter_to_sqlite/archive.py', 'description': 'DOCSTRING', 'code': 'def lists_...
0
{'name': 'main@signac/__main__.py', 'description': 'Provide command line interface.', 'signature': 'def main():'}</s>{'name': 'main_init@signac/__main__.py', 'description': 'Handle init subcommand.', 'code': 'def main_init(args):\n """Handle init subcommand."""\n init_project(path=os.getcwd())\n _print_err("In...
1
{'name': 'getSubArrays@training_codes/utils/utils_model.py', 'description': "We want to split the array A=[start:end] in numSubArrays arrays of \nequal length so that all the elements in A are included in at least one of \nthe created sub-arrays.\n\nReturns the starting (s) and ending points (e) of each sub-array.\n\n...
0
{'name': 'HumidifierEntityWrapper.mode@custom_components/meross_cloud/humidifier.py', 'description': 'Return the current mode\n\nRequires HumidifierEntityFeature.MODES.', 'signature': 'def mode(self) -> str | None:'}</s>DOMAIN = "meross_cloud"
0
{'name': 'darknet_body@text/keras_yolo3.py', 'description': 'Darknent body having 52 Convolution2D layers', 'signature': 'def darknet_body(x):'}</s>concatenate = tf.keras.layers.concatenate
0
{'name': 'VirtualInstall.destroy@scripts/launcher/lib/virtual_controller.py', 'description': 'Make sure the virt has been shut down and destroyed\n\nCould use libvirt for this instead.', 'signature': 'def destroy(self, pool_name):'}</s>{'name': 'VirtualManager@scripts/launcher/lib/virtual_controller.py', 'description':...
0
{'name': 'test_eeg_topoplot@mne_icalabel/iclabel/tests/test_features.py', 'description': 'Test eeg_topoplot feature extraction.', 'signature': 'def test_eeg_topoplot(file, eeglab_result_file):'}</s>features_epo_path = dataset_path / "features/features-epo.mat"
0
{'name': 'TestDeploymentRetryEnterprise.test_deployment_retry_failed_update@tests/tests/test_deployment_retry.py', 'description': 'Tests that a client installing a deployment created with a retry limit\n\nThis is done through setting up a new tenant on the enterprise plan,\nwith a device bootstrapped to the tenant. The...
0
{'name': 'initProvider@BlendNet/providers/azure/__init__.py', 'description': 'Finds absolute path to the az tool', 'signature': 'def initProvider(settings = dict()):'}</s>{'name': 'getPrice@BlendNet/providers/azure/__init__.py', 'description': 'Returns the price of the instance type per hour for the current region', 'c...
0
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>{'name': '_covhelper@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Private function for the computati...
0
{'name': 'Block.AddLine@vimdoc/block.py', 'description': 'Adds a line of text to the block. Paragraph type is auto-determined.', 'signature': 'def AddLine(self, line):'}</s>name_hole = re.compile(r'<>')
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': 'QGFieldNH18._compute_reference_state_wrapper@src/falwa/oopinterface.py', 'description': 'Private function to call the fortran subroutine compute_reference_states that returns variable of\ndimension [nlat, kmax]. Swapping of axes is needed for other computation.\n\nParameters\n----------\n qgpv(numpy.ndarra...
1
{'name': 'get_domain_literal@src/future/backports/email/_header_value_parser.py', 'description': 'domain-literal = [CFWS] "[" *([FWS] dtext) [FWS] "]" [CFWS]\n\n ', 'signature': 'def get_domain_literal(value):'}</s>{'name': 'get_encoded_word@src/future/backports/email/_header_value_parser.py', 'description': 'encode...
0
{'name': 'QAData.get_fold_data@Candidate-Ranking/experiment/qa/data/__init__.py', 'description': 'The fold data is created as follows. We concatenate train and valid data and split it into n_folds equal\nparts. The fold_ith part is the validation split, all others are the training data.\n\n:param fold_i: number of the ...
1
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inlin...
0