text string | label int64 |
|---|---|
{'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': 'is_64bit@gef.py', 'description': 'Checks if current t... | 0 |
{'name': 'rot_by_axis@python/taichi/math/mathimpl.py', 'description': 'Returns the 4x4 matrix representation of a 3d rotation with given axis `axis` and angle `ang`.\n\nArgs:\n axis (vec3): rotation axis\n ang (float): angle in radians unit\n\nReturns:\n :class:`~taichi.math.mat4`: rotation matrix', 'signature... | 0 |
{'name': 'XMLDump.finish@TDScanner/sqlmap/lib/core/xmldump.py', 'description': 'Finishes the dumper operation:\n1. Adds the session status to the xml\n2. Writes the xml to the file\n3. Closes the xml file', 'signature': 'def finish(self, resultStatus, resultMsg=""):'}</s>DATABASE_ELEM_NAME = "Database" | 0 |
{'name': 'merge_blocks_job@maf/impl/naiveLiftUp.py', 'description': "Combine the lifted blocks and add in the current genome's sequence.", 'signature': 'def merge_blocks_job(job, genome, child_names, block_ids, hal_id, opts):'}</s>{'name': 'split_blocks_by_chrom@maf/impl/naiveLiftUp.py', 'description': 'Split a blocks ... | 1 |
{'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>DAG_CONFIG = {
"doc_md": "##here is a doc md string",
"defau... | 0 |
{'name': 'NestingState.Update@tools/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.', ... | 0 |
{'name': 'Metar.runway_visual_range@metar/Metar.py', 'description': 'Return a textual description of the runway visual range.', 'signature': 'def runway_visual_range( self, units=None ):'}</s>{'name': 'pressure@metar/Datatypes.py', 'description': 'A class representing a barometric pressure value.', 'base_classes': ['ob... | 0 |
{'name': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'gef_execute_gdb_script@gef.py', 'description': 'Execute the parameter `source` as GDB command. This is done by writing `commands` to\na temporary file, which is then executed via GDB `... | 0 |
{'name': 'Model_latency.calculate_model_latency@MNSIM/Latency_Model/Model_latency.py', 'description': 'merge the latency_0 and latency_1\n:param mode: 0: fill in input data row by row, 1: fill in input data kerlenl size by kernel size (column direction)\n:return:', 'signature': 'def calculate_model_latency(self, mode=0... | 1 |
{'name': 'ViewRotation.load_locs@picasso/gui/rotation.py', 'description': 'Loads localizations from a pick in the main window.\n\nCalled when updating rotation window from there or when \nshifting the pick from rotation window.\n\nParameters\n----------\nupdate_window : boolean (default=False)\n If True, load attrib... | 0 |
{'name': 'Migration.apply@src/django_clickhouse/migrations.py', 'description': 'Applies migration to given database\n:param db_alias: Database alias to apply migration to\n:param database: Sometimes I want to pass db object directly for testing purposes\n:return: None', 'signature': 'def apply(self, db_alias: str, data... | 1 |
{'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_marker_hashable@voluptuous/tests/tests.py', 'description': 'Verify that you can get schema keys, even if markers were used', 'signature': 'def test_marker_hashable():'}</s>{'name': 'test_class@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_class():\n class C1:\n pass\... | 0 |
{'name': 'deg2tobii@titta/helpers_tobii.py', 'description': 'Converts from degrees to Tobiis coordinate system [0, 1].\nNote that the Tobii coordinate system start in the upper left corner\nand the PsychoPy coordinate system in the center', 'signature': 'def deg2tobii(pos, mon):'}</s>{'name': 'tobii2norm@titta/helpers_... | 0 |
{'name': 'DebPkgToolsTestCase.test_package_building@deb_pkg_tools/tests.py', 'description': 'Test building of Debian binary packages.', 'signature': 'def test_package_building(self, repository=None, overrides={}, contents={}):'}</s>ROOT_GROUP = os.environ.get('DPT_ROOT_GROUP', 'root') | 0 |
{'name': 'test_default_ignore@tests/test_ignore.py', 'description': 'tests that .DS_Store and ascmhl/ fs entries are ignored from the mhl spec', 'signature': 'def test_default_ignore(temp_tree):'}</s>{'name': 'create_for_folder_subcommand@ascmhl/commands.py', 'description': 'Creates a new generation with all files in a... | 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': 'Params@src/api/python/z3/z3types.py'... | 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': 'TransformerModel.build_model@fairseq_deen_ende/fairseq/models/transformer.py', 'description': 'Build a new model instance.', 'signature': 'def build_model(cls, args, task):'}</s>{'name': 'transformer_align@fairseq_deen_ende/fairseq/models/transformer.py', 'description': 'DOCSTRING', 'code': "def transformer_a... | 0 |
{'name': 'get_model@models.py', 'description': 'Get appropriate model based on model_name and input arguments\nArgs: \n model_name - (str) which model to use \n kwargs - input arguments corresponding to the model name\n\nReturns: \n returns the model!', 'signature': 'def get_model(model_name, **kwargs):'}</s>{'name'... | 1 |
{'name': 'test_estoi_good_fs@tests/test_stoi.py', 'description': 'Test extended STOI at sampling frequency of 10kHz. ', 'signature': 'def test_estoi_good_fs():'}</s>N_FRAME = 256 | 0 |
{'name': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_... | 0 |
{'name': '_word_to_index@models/utils/language_utils.py', 'description': 'Returns index of given word based on given lookup dictionary\n\nreturns the length of the lookup dictionary if word not found\n\nArgs:\n word: string\n indd: dictionary with string words as keys and int indices as values', 'signature': 'def... | 0 |
{'name': '_validate_units_consistency_v2@unyt/_array_functions.py', 'description': 'raise UnitInconsistencyError if units are mixed\nif all args are pure numbers, they are treated as having ref_units,\notherwise they are treated as dimensionless', 'signature': 'def _validate_units_consistency_v2(ref_units, *args) -> No... | 0 |
{'name': 'PecanBase.invoke_controller@pecan/core.py', 'description': 'The main request handler for Pecan applications.', 'signature': 'def invoke_controller(self, controller, args, kwargs, state):'}</s>state = None | 1 |
{'name': 'Imputer.calibrate@datawig/imputer.py', 'description': 'Cecks model calibration and fits temperature scaling.\nIf the fit improves model calibration, the temperature parameter is assigned\nas property to self and used for all further predictions in self.predict_mxnet_iter().\nSaves calibration information to d... | 1 |
{'name': 'Main@scripts/overview-generate.py', 'description': 'The main program function.\n\nReturns:\n bool: True if successful or False if not.', 'signature': 'def Main():'}</s>{'name': 'StatusWikiPageGenerator@scripts/overview-generate.py', 'description': 'Generates the "Status" wiki page.', 'base_classes': ['WikiPa... | 1 |
{'name': 'PrintState@MRT.py', 'description': 'Make a pretty version of the current state ', 'signature': 'def PrintState():'}</s>{'name': 'cmdCurrentState@MRT.py', 'description': 'DOCSTRING', 'code': 'def cmdCurrentState():\n PrintState()'} | 0 |
{'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': 'json_numpy_obj_hook@json_tricks/decoders.py', 'description': 'Replace any numpy arrays previously encoded by `numpy_encode` to their proper\nshape, data type and data.\n\n:param dct: (dict) json encoded ndarray\n:return: (ndarray) if input was an encoded ndarray', 'signature': 'def json_numpy_obj_hook(dct):'}... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCA_XR_VERSION = 2122 | 0 |
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>CANCEL_GAME = [4070] | 0 |
{'name': 'babel_extract@venv/Lib/site-packages/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n try to find the best... | 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': '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': 'have_qstring@labelImg.py', 'description': 'p3/qt5 get rid of QString wrapper as py3 has native unicode str type', 'signature': 'def have_qstring():'}</s>SETTING_FILL_COLOR = "fill/color" | 0 |
{'name': 'Application._perform_deferred_reload@robopianist/viewer/application.py', 'description': 'Performs the deferred part of initialization related to Physics reload.\n\nArgs:\n params: Deferred reload parameters, an instance of ReloadParams.', 'signature': 'def _perform_deferred_reload(self, params):'}</s>KEY_PAG... | 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': 'get_typed_dset_attr_list@src/python_scripts/afnipy/afni_util.py', 'description': 'given an AFNI dataset, return er... | 0 |
{'name': 'lineno@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Returns current line number within a string, counting newlines as line separators.\nThe first line is number 1.\n\nNote: the default parsing behavior is to expand tabs in the input string\nbefore starting the parsing process. See ... | 0 |
{'name': 'GetImagesFromJobs@utils/pyHDLC/map.py', 'description': 'Return a list of all the image names in all the jobs defined in the configuration.\nFirst, extract the keys/names of all jobs types.\nThen, get the images generate in each job, for the selected Collection and Architecture.\nLast, flatten the lists of ima... | 0 |
{'name': 'LinuxSCSITestCase.test_extend_volume_with_mpath@os_brick/tests/initiator/test_linuxscsi.py', 'description': 'Test extending a volume where there is a multipath device.', 'signature': 'def test_extend_volume_with_mpath(self, mock_realpath,'}</s>{'name': 'InvalidParameterValue@os_brick/exception.py', 'descripti... | 0 |
{'name': 'expected_aspls@tests/test_weighting.py', 'description': 'The weighting for adaptive smoothness penalized least squares smoothing (aspls).\n\nDoes not perform error checking since this is just used for simple weighting cases.\n\nParameters\n----------\ny : numpy.ndarray, shape (N,)\n The measured data.\nbas... | 0 |
{'name': 'CalculateKappa1@PyBioMed/PyMolecule/kappa.py', 'description': '#################################################################\nCalculation of molecular shape index for one bonded fragment\n\n---->kappa1\n\nUsage:\n\n result=CalculateKappa1(mol)\n\n Input: mol is a molecule object.\n\n Output: resu... | 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': 'construct_model@src/experiments.py', 'description': 'Construct NN graph.', 'signature': 'def construct_model(args):'}</s>{'name': 'DistMult@src/emb/fact_network.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], 'methods': [{'name': 'DistMult.__init__@src/emb/fact_network.py', 'description': 'DOC... | 1 |
{'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': '_covhelper@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Private function for the computation of covariance and correlation\ncoefficients.', 'signature': 'def _covhelper(x, y=None, rowvar=True, allow_masked=True):'}</s>{'name': 'get_object_signature@venv/Lib/site-packages/numpy/ma/core.py', 'des... | 0 |
{'name': 'DebPkgToolsTestCase.test_collect_packages@deb_pkg_tools/tests.py', 'description': 'Test the command line interface for collection of related packages.', 'signature': 'def test_collect_packages(self):'}</s>TEST_REPO_ORIGIN = "DebPkgToolsTestCase" | 0 |
{'name': 'summariseSingleR@pipelines/pipeline_scxl.py', 'description': 'Collect the single R plots into a section for the report', 'signature': 'def summariseSingleR(infile, outfile):'}</s>{'name': 'diffusionMap@pipelines/pipeline_scxl.py', 'description': 'Run the diffusion map analysis on a saved seurat object.', 'cod... | 0 |
{'name': 'approx_derivative@ipsolver/_numdiff.py', 'description': 'Compute finite difference approximation of the derivatives of a\nvector-valued function.\n\nIf a function maps from R^n to R^m, its derivatives form m-by-n matrix\ncalled the Jacobian, where an element (i, j) is a partial derivative of\nf[i] with respec... | 1 |
{'name': '_FloatingPointEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for float fields.\n\nThis is like StructPackEncoder, but catches errors that may be due to\npassing non-finite floating-point values to struct.pack, and mak... | 0 |
{'name': 'Copyleaks.set_api_uri@copyleaks/copyleaks.py', 'description': 'Set the API server URI.\n\nParameters:\n uri: string.', 'signature': 'def set_api_uri(uri):'}</s>{'name': 'UnderMaintenanceError@copyleaks/exceptions/under_maintenance_error.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'metho... | 0 |
{'name': 'TestingParser.convert_json_to_testing_args@tests/run_all_tests.py', 'description': 'Converts JSON config data to TestingArgs.\n\nThis method validates and converts JSON config data to a TestingArgs\nobject. It checks the data types of various fields and sets the\ncorresponding attributes in the TestingArgs ob... | 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': '_format_compatibility_errors@jupyterlab/commands.py', 'description': 'Format a message for compatibility errors.', 'signature': 'def _format_compatibility_errors(name, version, errors):'}</s>WEBPACK_EXPECT = re.compile(r".*theme-light-extension/style/theme.css") | 0 |
{'name': 'docopt@support/docopt.py', 'description': 'Parse `argv` based on command-line interface described in `doc`.\n\n`docopt` creates your command-line interface based on its\ndescription that you pass as `doc`. Such description can contain\n--options, <positional-argument>, commands, which could be\n[optional], (r... | 0 |
{'name': 'NDInputAttrTree._renameAttr@scripts/mpylib/ui/mpynode_designer.py', 'description': 'Triggered when the user renames an attribute using the UI', 'signature': 'def _renameAttr(self, item, col):'}</s>{'name': 'NDAttributesWidget@scripts/mpylib/ui/mpynode_designer.py', 'description': 'DOCSTRING', 'base_classes': ... | 0 |
{'name': 'pre_init_hook@app_base_chinese/hooks.py', 'description': '数据初始化,只在安装时执行,更新时不执行', 'signature': 'def pre_init_hook(cr):'}</s>{'name': 'post_init_hook@app_base_chinese/hooks.py', 'description': '数据初始化,只在安装后执行,更新时不执行', 'code': 'def post_init_hook(cr, registry):\n """\n 数据初始化,只在安装后执行,更新时不执行\n """\n try... | 0 |
{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>CONF_CRON = "cron" | 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': 'get_num_warp_pieces@src/python_scripts/afnipy/afni_util.py', 'description': 'return the number of pieces in the th... | 0 |
{'name': 'resolve_rpc_at_end_of_request@src/supporting-files/lock_util.py', 'description': "Call get_result() on this rpc at the end of the current request.\n\nThere's nothing to do this automatically. So if you have an RPC\nthat can take all request long, but you want to make sure finishes\nbefore this request does, ... | 0 |
{'name': 'TypeErrorTests.test_keyword_sort_cmpkey@didyoumean/didyoumean_sugg_tests.py', 'description': 'Sort and sorted functions have a cmp/key param dep. on the vers.', 'signature': 'def test_keyword_sort_cmpkey(self):'}</s>UNKNOWN_NAMEERROR = (NameError, None) | 0 |
{'name': 'mock_create_release@tests/test_ghrel.py', 'description': 'Create a mock create_release that checks arguments.', 'signature': 'def mock_create_release(mocker):'}</s>{'name': 'test_default@tests/test_ghrel.py', 'description': 'DOCSTRING', 'code': 'def test_default(\n cli_invoke, scenario1, mock_create_releas... | 0 |
{'name': 'ground_truth_one_img@utils/train_tools.py', 'description': "get the ground truth for loss caculation in one img\nArgs:\n corner_bboxes: 2D Array, encoded by [ymin, xmin, ymax, xmax], of which\n the value should be [0., 1.]\n priori_boxes: 2D Array, desribe the height and width of prio... | 0 |
{'name': 'SshSpawn.read_nonblocking@pexpect_connection.py', 'description': 'See parent. This actually may or may not block based on timeout.', 'signature': 'def read_nonblocking(self, size=1, timeout=None):'}</s>{'name': 'ScpError@pexpect_connection.py', 'description': 'An error occurred during an SCP operation.', 'ba... | 0 |
{'name': 'countedArray@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': "Helper to define a counted list of expressions.\n\nThis helper defines a pattern of the form::\n\n integer expr expr expr...\n\nwhere the leading integer tells how many expr expressions follow.\nThe matched ... | 0 |
{'name': 'UnitLickLibrary._read_lick_list@pyphot/sandbox.py', 'description': "read the list of lick indices\n\nParameters\n----------\nfname: str\n file containing the indices' definitions\ncomment: str\n character indicating comment in the file\n\nReturns\n-------\ndata: dict\n dictionary of indices\n name... | 0 |
{'name': 'TokenizerTrainer._lexicon_covering@montreal_forced_aligner/tokenization/trainer.py', 'description': 'Builds covering grammar and lexicon FARs.', 'signature': 'def _lexicon_covering(self, input_path=None, output_path=None) -> None:'}</s>{'name': 'PyniniTrainerMixin@montreal_forced_aligner/g2p/trainer.py', 'des... | 0 |
{'name': 'tag_and_push@changes/vcs.py', 'description': 'Tags your git repo with the new version number', 'signature': 'def tag_and_push(context):'}</s>{'name': 'dry_run@changes/shell.py', 'description': 'Executes a shell command unless the dry run option is set', 'code': 'def dry_run(command, dry_run):\n """Executes... | 1 |
{'name': 'interpret@pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py', 'description': "Input: Dict with keys 'key' and 'value'\nOutput: One of 1. Dict with keys 'name' and 'attrs'\n 2. 'unrecognized' (if interpretation failed)", 'signature': 'def interpret(x):'}</s>{'name': 'interpret_sha... | 1 |
{'name': 'create_linux_export_file@tools/ipp_custom_library_tool_python/tool/generators.py', 'description': 'Creates Linux export file\n\n:param export_file:\n:param functions_list:\n:return:', 'signature': 'def create_linux_export_file(export_file, functions_list):'}</s>{'name': 'main_file_generator@tools/ipp_custom_l... | 0 |
{'name': 'createEntity@code/wikibase/api/load_csv.py', 'description': 'dataDict = {\n "labels":{\n "en":{"language":"en","value":"Fred Pig"},\n "es":{"language":"es","value":"Puerco Frederico"}\n },\n "descriptions":{\n "en":{"language":"en","value":"a fake superhero character"}\n ... | 0 |
{'name': 'check_sampling_strategy@src/upgini/sampler/utils.py', 'description': "Sampling target validation for samplers.\n\nChecks that ``sampling_strategy`` is of consistent type and return a\ndictionary containing each targeted class with its corresponding\nnumber of sample. It is used in :class:`~imblearn.base.BaseS... | 0 |
{'name': '_make_type_verifier@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/sql/types.py', 'description': 'Make a verifier that checks the type of obj against dataType and raises a TypeError if they do\nnot match.\n\nThis verifier also checks the value of obj against datatype and raises a Value... | 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': 'VxmDenseSemiSupervisedSeg.__init__@voxelmorph/tf/networks.py', 'description': 'Parameters:\n inshape: Input shape. e.g. (192, 192, 192)\n nb_labels: Number of labels used for ground truth segmentations.\n nb_unet_features: Unet convolutional features. \n See VxmDense documentation for more inf... | 0 |
{'name': 'SceneFlow.__init__@datasets/sceneflow.py', 'description': 'SceneFlow dataset is downloaded from\nhttps://lmb.informatik.uni-freiburg.de/resources/datasets/SceneFlowDatasets.en.html\nVirtual image sensor size: 960 px x 540 px or 32mm x 18mm\nVirtual focal length: 35mmx\nBaseline: 1 Blender unit', 'signature':... | 1 |
{'name': 'get_preview_suffixes@ide/auth.py', 'description': 'Get the last domain parts of domains permitted for testing.', 'signature': 'def get_preview_suffixes():'}</s>{'name': 'api_login@ide/routes.py', 'description': 'DOCSTRING', 'code': 'def api_login():\n if auth.is_logged_in():\n email = auth.get_user_... | 0 |
{'name': 'calc_slice_target_position@geetest_online/geetest_online.py', 'description': 'recover image and calculate slice target position', 'signature': 'def calc_slice_target_position(fullbg_data, bg_data):'}</s>{'name': 'get_offset_array@geetest_online/geetest_online.py', 'description': 'parse offset position array f... | 1 |
{'name': 'BinnedEventArray.n_bins@nelpy/core/_eventarray.py', 'description': '(int) The number of bins.', 'signature': 'def n_bins(self):'}</s>{'name': 'nextpower@nelpy/utils.py', 'description': 'Return the next integral power of two greater than the given number.\nSpecifically, return m such that\n m >= n\n m ==... | 0 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': '_AddContainsMethod@python/google/protobuf/internal/python_message.py', 'description': 'DOCSTRING', 'code': "def _AddCon... | 0 |
{'name': '_typedef@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Create a new typedef for an object.\n ', 'signature': 'def _typedef(obj, derive=False, infer=False):'}</s>{'name': '_SI@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Return size as SI string.\n ', 'c... | 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': '_EpanetRule.add_control_condition@wntr/epanet/io.py', 'description': 'Add a ControlCondition from an IfThenElseControl', 'signature': "def add_control_condition(self, condition, prefix=' IF'):"}</s>_CURVE_ENTRY = " {name:10s} {x:12f} {y:12f} {com:>3s}
" | 0 |
{'name': 'Model.feed_sample@pygad/cnn/cnn.py', 'description': 'Feeds a sample in the CNN layers.\n\nsample: The samples to be fed to the CNN layers.\n\nReturns results of the last layer in the CNN.', 'signature': 'def feed_sample(self, sample):'}</s>{'name': 'Sigmoid@pygad/cnn/cnn.py', 'description': 'Implementing the ... | 1 |
{'name': 'Bootstrap.compute_children_sql@operations.py', 'description': 'Compute the children on resampled data in SQL.', 'signature': 'def compute_children_sql('}</s>{'name': 'push_filters_to_leaf@utils.py', 'description': "Returns a Metric that all filters have been pushed to leaf nodes.\n\nNote that the return can d... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQDH_CURRENT_LENGTH = 48 | 0 |
{'name': 'index@qr_code_demo/views.py', 'description': 'Build the home page of this demo app.\n\n:param request:\n:return: HTTP response providing the home page of this demo app.', 'signature': 'def index(request):'}</s>DEMO_COORDINATES = Coordinates(latitude=586000.32, longitude=250954.19, altitude=500) | 1 |
{'name': 'start@server.py', 'description': ' Pulls the parameters from disk\n Instantiate QuestionAnswering class (onefile).\n\n Thus, all models are loaded.\n Help loading the model, then start the server.\n\n CHANGE MAJOR CONFIGS HERE\n:return:', 'signature': 'def start():'}</s>sparql_template_ask = {
... | 0 |
{'name': 'ContributorStats.sort_key@stats/oss/get_contributor_stats.py', 'description': 'provides key for sorting contributors by total commits during period', 'signature': 'def sort_key(self, row):'}</s>DEFAULT_END_OF_MONTH = DEFAULT_BEGINNING_OF_MONTH + relativedelta(months=+1) | 0 |
{'name': '_Command._decode_transfer_data@pyocd/probe/pydapaccess/dap_access_cmsis_dap.py', 'description': 'Take a byte array and extract the data from it\n\nDecode the response returned by a DAP_Transfer CMSIS-DAP command\nand return it as an array of bytes.', 'signature': 'def _decode_transfer_data(self, data):'}</s>I... | 0 |
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p... | 0 |
{'name': '_validate@src/feedvalidator/__init__.py', 'description': 'validate RSS from string, returns validator object', 'signature': 'def _validate(aString, firstOccurrenceOnly, loggedEvents, base, encoding, selfURIs=None, mediaType=None):'}</s>__all__ = ['base',
'channel',
'compatibility',
... | 0 |
{'name': 'Search.search_cpe@lib/Search.py', 'description': 'basic search for CPE identifiers ', 'signature': 'def search_cpe(self):'}</s>{'name': 'checksum@common/utils.py', 'description': 'return checksum with algorithm sha-256', 'code': 'def checksum(file):\n """ return checksum with algorithm sha-256"""\n\n ck... | 0 |
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_get_bucket_location@ut/test.py', 'description': '获取bucket的地域信息', 'code': 'def test_get_bucket_location():\n """获取bucket的地域信息"""\n response = client.get_... | 0 |
{'name': 'graph_from_xml@osmnx/graph.py', 'description': "Create a graph from data in an OSM XML file.\n\nDo not load an XML file previously generated by OSMnx: this use case is\nnot supported and may not behave as expected. To save/load graphs to/from\ndisk for later use in OSMnx, use the `io.save_graphml` and\n`io.lo... | 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': 'plot_fit@src/naima/plot.py', 'description': 'Plot data with fit confidence regions.\n\nParameters\n----------\nsampler : `emcee.EnsembleSampler`\n Sampler with a stored chain.\nmodelidx : int, optional\n Model index to plot.\nlabel : str, optional\n Label for the title of the plot.\nsed : bool, optio... | 1 |
{'name': 'Product._load@eoreader/products/product.py', 'description': 'Core function loading optical data bands\n\nArgs:\n bands (list): Band list\n pixel_size (float): Pixel size of the band, in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if pixel_size is provided.\n kwa... | 0 |
{'name': 'connect_to_usb_bitbox@py/send_message.py', 'description': 'Connects and runs the main menu on a BitBox02 connected\nover USB.', 'signature': 'def connect_to_usb_bitbox(debug: bool, use_cache: bool) -> int:'}</s>ERR_INVALID_PAR = 2 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.