text string | label int64 |
|---|---|
{'name': 'rmtree@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/_backport/shutil.py', 'description': 'Recursively delete a directory tree.\n\nIf ignore_errors is set, errors are ignored; otherwise, if onerror\nis set, it is called to handle the error with arguments (func,\npath, exc_info) where func is... | 0 |
{'name': 'test_mapping@zict/tests/test_zip.py', 'description': 'Test mapping interface for Zip().', 'signature': 'def test_mapping(fn):'}</s>REPEAT_STRESS_TESTS = 1 | 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': 'test_address@test/functional/test_framework/wallet_util.py', 'description': 'Get address info for `address` and test whether the returned values are as expected.', 'signature': 'def test_address(node, address, **kwargs):'}</s>{'name': 'generate_keypair@test/functional/test_framework/wallet_util.py', 'descript... | 0 |
{'name': 'find_on_path@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Yield distributions accessible on a sys.path directory', 'signature': 'def find_on_path(importer, path_item, only=False):'}</s>{'name': 'parse_version@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'DOCSTRING', 'code': ... | 0 |
{'name': '_generate_unique_filename@vendor/attr/_make.py', 'description': 'Create a "filename" suitable for a function being generated.', 'signature': 'def _generate_unique_filename(cls, func_name):'}</s>{'name': '_transform_attrs@vendor/attr/_make.py', 'description': "Transform all `_CountingAttr`s on a class into `At... | 0 |
{'name': 'buildmodule@venv/Lib/site-packages/numpy/f2py/rules.py', 'description': 'Return', 'signature': 'def buildmodule(m, um):'}</s>aux_rules = [
{
'separatorsfor': sepdict
},
{ # Common
'frompyobj': ['\t/* Processing auxiliary variable #varname# */',
{debugcapi: '\... | 0 |
{'name': 'LogClusterCache.get@drain3/drain.py', 'description': 'Returns the value of the item with the specified key without updating\nthe cache eviction algorithm.', 'signature': 'def get(self, key: int, _: Union[Optional[LogCluster], _T] = None) -> Optional[LogCluster]:'}</s>_T = TypeVar("_T") | 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': 'direct_periodogram@ftperiodogram/tests/test_modeler.py', 'description': 'computes periodogram at a given frequency directly,\nusing grid search for the best phase shift', 'signature': 'def direct_periodogram(freq, template, data, nshifts=50):'}</s>ndata_to_test = [ 30 ] | 0 |
{'name': 'CombinedFunction.add_penalty@parsimony/functions/combinedfunctions.py', 'description': 'Add a penalty, i.e. a constraint on the Lagrange form.\n\nParameters\n----------\npenalty : Penalty\n A function that penalises the objective function.\n\naccepts_params : 2-tuple or list of 2-tuples\n The outer func... | 0 |
{'name': 'test_get_cve_id_state_in_choices@test-http/src/test/cve_id_tests/cve_id_as_org_admin.py', 'description': "state parameter can only be 'REJECTED', 'PUBLISHED' or 'RESERVED' ", 'signature': 'def test_get_cve_id_state_in_choices(org_admin_headers):'}</s>AWG_USER_NAME = os.environ.get('AWG_USER_NAME') | 0 |
{'name': 'IgnoreList.get_frame@varname/ignore.py', 'description': 'Get the right frame by the frame number\n\nArgs:\n frame_no: The index of the frame to get\n\nReturns:\n The desired frame\n\nRaises:\n VarnameRetrievingError: if any exceptions raised during the process.', 'signature': 'def get_frame(self, fra... | 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': 'GefHelpCommand@gef.py', 'description': 'GEF help sub-command.', 'base_cl... | 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>MQPSXP_STRUC_ID = b'PSXP' | 0 |
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t... | 0 |
{'name': 'edge_apply@marching_cubes_gen.py', 'description': 'Applies a vertex permutation to an edge.\nI.e. it permutes both ends of the edge, and finds the new edge that adjoins the two\nresulting vertex indices.', 'signature': 'def edge_apply(op, edge):'}</s>{'name': 'faces_to_edge_pairs@marching_cubes_gen.py', 'desc... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCA_TOPIC_DESC = 2093 | 0 |
{'name': 'Bottle.route@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': "A decorator to bind a function to a request URL. Example::\n\n @app.route('/hello/:name')\n def hello(name):\n return 'Hello %s' % name\n\nThe ``:name`` part is a wildcard. See :class:`Router` for syntax\ndetails.\n\n:p... | 0 |
{'name': 'get_exemplar_motifs@modisco/hit_scoring/exemplar_based_hitscoring.py', 'description': 'This identifies the exemplars among seqlets\n\nArgs:\n seqlets: A list of :class:`modisco.core.Seqlet` that are already\n aligned relative to each other\n pattern_comparison_settings: determines which tracks to... | 0 |
{'name': 'PVPCData.__init__@aiopvpc/pvpc_data.py', 'description': 'Set up API access.', 'signature': 'def __init__('}</s>DataSource = Literal["esios_public", "esios"] | 1 |
{'name': 'XRasterBase.x_dim@rioxarray/rioxarray.py', 'description': 'Hashable: The dimension for the X-axis.', 'signature': 'def x_dim(self) -> Hashable:'}</s>{'name': 'OneDimensionalRaster@rioxarray/exceptions.py', 'description': 'This is an error when you have a 1 dimensional raster.', 'base_classes': ['DimensionErro... | 0 |
{'name': 'ListingManager.populate@src/plugins/tags/structure/listing/manager/__init__.py', 'description': 'Populate listing with tags featured in the mappings.\n\nArguments:\n listing: The listing.\n mappings: The mappings.\n renderer: The renderer.', 'signature': 'def populate('}</s>{'name': 'TagsConfig@mater... | 0 |
{'name': 'BinnedEventArray.n_bins@nelpy/core/_eventarray.py', 'description': '(int) The number of bins.', 'signature': 'def n_bins(self):'}</s>{'name': 'ItemGetterLoc@nelpy/core/_accessors.py', 'description': ".loc is primarily label based (that is, series_id based)\n\n.loc will raise KeyError when the items are not fo... | 0 |
{'name': 'FileInfo.RepositoryName@third_party/cpplint/cpplint.py', 'description': 'FullName after removing the local path to the repository.\n\nIf we have a real absolute path name here we can try to do something smart:\ndetecting the root of the checkout and truncating /path/to/checkout from\nthe name so that we get h... | 0 |
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': '_defaultExceptionDebugAction@venv/Lib/site-packages/pip-19.0.3-py3.8.eg... | 0 |
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'DtcPoolLink@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_classes': ['SubObjects'], 'methods': []} | 0 |
{'name': 'import_graphite_dashboards@tessera-server/tasks.py', 'description': 'Import dashboards from a Graphite vanilla dashboard.', 'signature': 'def import_graphite_dashboards('}</s>SERVER_PORT = 5000 | 0 |
{'name': 'DFGraph.max_degree_ram@checkmate/core/dfgraph.py', 'description': 'compute minimum memory needed for any single node (ie inputs and outputs)', 'signature': 'def max_degree_ram(self):'}</s>{'name': 'edge_to_adj_list@checkmate/core/utils/graph.py', 'description': 'Returns an (undirected / bidirectional) adjacen... | 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': 'G3TemporalZeppelin.__call__@dmipy/signal_models/gaussian_models.py', 'description': 'Estimates the signal attenuation.\n\nParameters\n----------\nacquisition_scheme : DmipyAcquisitionScheme instance,\n An acquisition scheme that has been instantiated using dMipy.\nkwargs: keyword arguments to the model par... | 0 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>Mappi... | 0 |
{'name': 'main@tools/otsdb-dump-restore/src/kilda/tsdb_dump_restore/dump.py', 'description': 'This tool dumps the data from an OpenTSDB\n\nOPENTSDB_ENDPOINT openTSDB endpoint\n\nTIME_START time since the data is dumped\n\nExample:\nkilda-otsdb-dump http://example.com:4242 2023-03-08', 'signature': 'def main(opentsdb_en... | 0 |
{'name': 'db_open@versions/speed-cam_11.26.py', 'description': 'Insert speed data into database table', 'signature': 'def db_open(db_file):'}</s>px_to_kph_L2R = float(cal_obj_mm_L2R / cal_obj_px_L2R * 0.0036) | 0 |
{'name': 'test_fpn@tests/test_models/test_necks.py', 'description': 'Tests fpn.', 'signature': 'def test_fpn():'}</s>{'name': 'test_dyhead@tests/test_models/test_necks.py', 'description': 'DOCSTRING', 'code': 'def test_dyhead():\n s = 64\n in_channels = 8\n out_channels = 16\n feat_sizes = [s // 2**i for i ... | 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': 'ParseArguments@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args)... | 0 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'ScopedConstructorList@src/api/python/z3/z3.py', 'description': 'Auxiliary object used to create Z3 datatypes.', 'base_classes... | 0 |
{'name': 'get_known_heuristic_names@heudiconv/utils.py', 'description': 'Return a list of heuristic names present under heudiconv/heuristics', 'signature': 'def get_known_heuristic_names() -> list[str]:'}</s>{'name': 'get_heuristic_description@heudiconv/utils.py', 'description': 'DOCSTRING', 'code': 'def get_heuristic_... | 0 |
{'name': 'CSSParser.parse_pseudo_class_custom@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse custom pseudo class alias.\n\nCompile custom selectors as we need them. When compiling a custom selector,\nset it to `None` in the dictionary so we can avoid an infinite loop.',... | 0 |
{'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': 'main@tools/yapf/yapf/__init__.py', 'description': 'Main program.\n\nArguments:\n argv: command-line arguments, such as sys.argv (including the program name\n in argv[0]).\n\nReturns:\n 0 if there were no changes, non-zero otherwise.\n\nRaises:\n YapfError: if none of the supplied files were Python files... | 0 |
{'name': 'weighted_impurity@chapter4/decision_tree_implementation.py', 'description': "Calculate weighted impurity of children after a split\n@param groups: list of children, and a child consists a list of class labels\n@param criterion: metric to measure the quality of a split, 'gini' for Gini Impurity or 'entropy' fo... | 0 |
{'name': 'Retry.increment@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/urllib3/util/retry.py', 'description': 'Return a new Retry object with incremented retry counters.\n\n:param response: A response object, or None, if the server did not\n return a response.\n:type response: :class:`~urllib3.response.HT... | 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>MQIACF_WILDCARD_SCHEMA = 1288 | 0 |
{'name': 'SendMessage._setup_workflow@py/send_message.py', 'description': 'TODO: Document', 'signature': 'def _setup_workflow(self) -> None:'}</s>{'name': 'U2FApp@py/send_message.py', 'description': 'App', 'base_classes': [], 'methods': [{'name': 'U2FApp.__init__@py/send_message.py', 'description': 'DOCSTRING', 'code':... | 0 |
{'name': 'get_reference_reconstructor@dival/reference_reconstructors.py', 'description': "Return a reference reconstructor.\n\nParameters\n----------\nreconstructor_key_name_or_type : str or type\n Key name of configuration or reconstructor type.\ndataset_name : str\n Standard dataset name.\npretrained : bool, op... | 1 |
{'name': '__reassign_times@librosa/core/spectrum.py', 'description': 'Time reassignments based on a spectrogram representation.\n\nThe reassignment vector is calculated using equation 5.23 in Flandrin,\nAuger, & Chassande-Mottin 2002::\n\n t_reassigned = t + np.real(S_th/S_h)\n\nwhere ``S_h`` is the complex STFT cal... | 0 |
{'name': 'AddrMap.get_value@cpca/structures.py', 'description': '获得映射的第一个地址, 必须保证该key存在, 不然会出错', 'signature': 'def get_value(self, key, pos):'}</s>{'name': 'Pca@cpca/structures.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Pca.__init__@cpca/structures.py', 'description': 'DOCSTRING'... | 0 |
{'name': '_export_region@contrib/xml/xmlio.py', 'description': '@return:\n `None` (if `parent` is not `None`), or\n an xml tree', 'signature': 'def _export_region('}</s>T_FLOAT = "float" | 0 |
{'name': 'euler_from_matrix@Engine/lib/assimp/port/PyAssimp/scripts/transformations.py', 'description': 'Return Euler angles from rotation matrix for specified axis sequence.\n\naxes : One of 24 axis sequences as string or encoded tuple\n\nNote that many Euler angle triplets can describe one matrix.\n\n>>> R0 = euler_m... | 0 |
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im... | 0 |
{'name': 'Expression.statement@da/compiler/dast.py', 'description': 'The first statement parent of this expression, if any.\n\n ', 'signature': 'def statement(self):'}</s>{'name': 'GtOp@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['ComparisonOperator'], 'methods': []} | 0 |
{'name': 'TestAPI.test_load_unused_semantics@tests/test_api.py', 'description': "Test #102\nIf unused Semantics Objects are stored on the geometry, it shouldn't break the\nAPI.", 'signature': 'def test_load_unused_semantics(self, mt_1_path):'}</s>MODULE_PANDAS_AVAILABLE = True | 0 |
{'name': '_create_encoding@python/src/rtmp_live_encoding.py', 'description': 'Creates an Encoding object. This is the base object to configure your encoding.\n\nAPI endpoint:\nhttps://bitmovin.com/docs/encoding/api-reference/sections/encodings#/Encoding/PostEncodingEncodings\n\n:param name: A name that will help you id... | 0 |
{'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>_PYTHONPARAMETER = _descriptor.Descriptor(
name='PythonParameter',
full_name=... | 0 |
{'name': 'formatSI@ib_insync/util.py', 'description': 'Format the integer or float n to 3 significant digits + SI prefix.', 'signature': 'def formatSI(n: float) -> str:'}</s>globalErrorEvent = ev.Event() | 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': 'iter_children_func@asttokens/util.py', 'description': 'Returns a function which yields all direct children of a AST node,\nskipping children that are singleton nodes.\nThe function depends on whether ``node`` is from ``ast`` or from the ``astroid`` module.', 'signature': 'def iter_children_func(node):'}</s>{'... | 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': 'Video.new@yark/video.py', 'description': 'Create new video from metadata entry', 'signature': 'def new(entry: dict[str, Any], channel) -> Video:'}</s>{'name': 'Element@yark/video.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Element.new@yark/video.py', 'description': 'Creates new ... | 1 |
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>{'name': 'IUSequenceQueue@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Irrigati... | 0 |
{'name': 'Cache.get_with_range@shingetsu/cache.py', 'description': 'Get data in range.', 'signature': 'def get_with_range(self, node=None):'}</s>tk_save_warn = 5*60 | 0 |
{'name': 'test_compose@docstring_parser/tests/test_rest.py', 'description': 'Test compose', 'signature': 'def test_compose(rendering_style: RenderingStyle, expected: str) -> None:'}</s>{'name': 'test_broken_meta@docstring_parser/tests/test_rest.py', 'description': 'Test parsing broken meta.', 'code': 'def test_broken_m... | 0 |
{'name': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'sig... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQXF_PUT1 = 8 | 0 |
{'name': 'Element.find_ids@src/svgutils/compose.py', 'description': 'Find elements with given IDs.\n\nParameters\n----------\nelement_ids : list of strings\n list of IDs to find\n\nReturns\n-------\na new `Panel` object which contains all the found elements.', 'signature': 'def find_ids(self, element_ids):'}</s>SVG_... | 0 |
{'name': 'MeCab.parse@mecab/mecab.py', 'description': 'Perform morpheme analysis on a given sentence.\n\nParameters:\n sentence: A sentence to analyze\n\nReturns:\n A list of `Morpheme` objects representing each morpheme in the given sentence.', 'signature': 'def parse(self, sentence: str) -> list[Morpheme]:'}</s... | 0 |
{'name': 'process_message@libratom/lib/entities.py', 'description': 'Job function for the worker processes', 'signature': 'def process_message('}</s>{'name': 'FileReport@libratom/models/file_report.py', 'description': 'DOCSTRING', 'base_classes': ['Base'], 'methods': [{'name': 'FileReport.processing_start_time@libratom... | 0 |
{'name': 'GenericSimpleClauseState.getEntry@util/py_lib/seqan/dox/dox_parser.py', 'description': 'Returns the Entry for the brief clause.', 'signature': 'def getEntry(self):'}</s>IDENTIFIER = "[\-_a-zA-Z][\-_a-zA-Z0-9]*" | 0 |
{'name': 'func@python/taichi/lang/kernel_impl.py', 'description': 'Marks a function as callable in Taichi-scope.\n\nThis decorator transforms a Python function into a Taichi one. Taichi\nwill JIT compile it into native instructions.\n\nArgs:\n fn (Callable): The Python function to be decorated\n is_real_function ... | 0 |
{'name': 'DebugCmd.list_source@DebugLibrary/debugcmd.py', 'description': 'List source code.', 'signature': 'def list_source(self, longlist=False):'}</s>{'name': 'find_keyword@DebugLibrary/robotkeyword.py', 'description': 'DOCSTRING', 'code': "def find_keyword(keyword_name):\n keyword_name = keyword_name.lower()\n ... | 0 |
{'name': 'strip_space@libc/kernel/tools/cpp.py', 'description': 'Strip out redundant space in a given string.', 'signature': 'def strip_space(s):'}</s>tokLOGICOR = "||" | 0 |
{'name': 'WSCTask.load_dataset@examples/roberta/wsc/wsc_task.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset('}</s>{'name': 'new_arange@fairseq/utils.py', 'description': 'Return a Tensor of `size` filled with a ran... | 0 |
{'name': 'CirqSimulateStateTest.test_state_empty_circuit@tensorflow_quantum/core/ops/cirq_ops_test.py', 'description': 'Test empty circuits', 'signature': 'def test_state_empty_circuit(self):'}</s>{'name': 'deserialize_paulisum@tensorflow_quantum/core/serialize/serializer.py', 'description': 'Constructs a `cirq.PauliSu... | 0 |
{'name': 'test_repr@voluptuous/tests/tests.py', 'description': 'Verify that __repr__ returns valid Python expressions', 'signature': 'def test_repr():'}</s>{'name': 'Clamp@voluptuous/validators.py', 'description': 'Clamp a value to a range.\n\nEither min or max may be omitted.\n\n>>> s = Schema(Clamp(min=0, max=1))\n>>... | 0 |
{'name': 'check_line_continuation_no_backslash@designateclient/hacking/checks.py', 'description': "D711 - Don't use backslashes for line continuation.\n\n:param logical_line: The logical line to check. Not actually used.\n:param tokens: List of tokens to check.\n:returns: None if the tokens don't contain any issues, ot... | 0 |
{'name': 'im_detect_3d@lib/rpn_util.py', 'description': 'Object detection in 3D', 'signature': 'def im_detect_3d(im, net, rpn_conf, preprocess, p2, gpu=0, synced=False, return_base=False):'}</s>{'name': 'init_training_model@lib/core.py', 'description': 'This function is meant to load the training model and optimizer, w... | 0 |
{'name': 'Helpfile.WriteParagraph@vimdoc/output.py', 'description': 'Writes one paragraph.', 'signature': 'def WriteParagraph(self, p, namespace, indent=0):'}</s>{'name': 'InconsistentControl@vimdoc/error.py', 'description': 'DOCSTRING', 'base_classes': ['ParseError'], 'methods': [{'name': 'InconsistentControl.__init__... | 0 |
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>ICMP_PARAMPROB_OPTABSENT = 1 | 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': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ... | 0 |
{'name': 'generateTokenList@apim-traffic-tool/lib/traffic-tool/src/python/generate_tokens.py', 'description': 'This function will generate access tokens for all user-app combinations and write to api_invoke_tokens.csv file\n:return: None', 'signature': 'def generateTokenList():'}</s>gateway_host = "" | 1 |
{'name': 'ProcessFileData@scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a ... | 0 |
{'name': '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': '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': 'translate_image_text@Chapter03/Capabilities/app.py', 'description': 'detects then translates text in the specified image', 'signature': 'def translate_image_text(image_id):'}</s>{'name': 'upload_image@Chapter03/Capabilities/app.py', 'description': 'processes file upload and saves file to storage service', 'co... | 0 |
{'name': 'JavaObjectUnmarshaller.do_classdesc@javaobj/v1/unmarshaller.py', 'description': 'Handles a TC_CLASSDESC opcode\n\n:param parent:\n:param ident: Log indentation level\n:return: A JavaClass object', 'signature': 'def do_classdesc(self, parent=None, ident=0):'}</s>{'name': 'JavaArray@javaobj/v1/beans.py', 'descr... | 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': 'LogException.__writeLog@boxx/tool/toolLog.py', 'description': '判断是否打印和写入', 'signature': 'def __writeLog(self,strr):'}</s>{'name': 'localTimeStr@boxx/tool/toolLog.py', 'description': "get local time in string format like '2020y_02m_26d_04h_05m_41.38258s'\n获得本地时间(GM+8 北京时间)", 'code': "def localTimeStr(int_sec=F... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_CHANGE_SMDS = 187 | 0 |
{'name': 'GTestFailFastUnitTest.testFlag_HasParametersTest@third-party/googletest/googletest/test/googletest-failfast-unittest.py', 'description': 'Tests the behavior of fail_fast and TEST_P.', 'signature': 'def testFlag_HasParametersTest(self):'}</s>{'name': 'Subprocess@third-party/googletest/googletest/test/gtest_tes... | 0 |
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ... | 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>MQSECPROT_NONE = 0 | 0 |
{'name': 'test_MultiBandTilerFactory@src/titiler/core/tests/test_factories.py', 'description': 'test MultiBandTilerFactory.', 'signature': 'def test_MultiBandTilerFactory():'}</s>{'name': 'parse_asset_expression@src/titiler/core/titiler/core/dependencies.py', 'description': 'parse asset expression parameters.', 'code':... | 0 |
{'name': 'create_train_input_fn@object_detection/inputs.py', 'description': 'Creates a train `input` function for `Estimator`.\n\nArgs:\n train_config: A train_pb2.TrainConfig.\n train_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator`... | 0 |
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'Literal@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsi... | 0 |
{'name': 'TransformerDecoder.output_layer@fairseq/models/hubert/hubert_asr.py', 'description': 'Project features to the vocabulary size.', 'signature': 'def output_layer(self, features, **kwargs):'}</s>{'name': 'convert_padding_direction@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def convert_padding_direct... | 0 |
{'name': 'PathCompositionInterface.__init__@furl/furl.py', 'description': 'Params:\n force_absolute: See Path._force_absolute.\n\nAssignments to <self> in __init__() must be added to\n__setattr__() below.', 'signature': 'def __init__(self, strict=False):'}</s>{'name': 'quacks_like_a_path_with_segments@furl/furl.py', '... | 0 |
{'name': 'DistModel.initialize@training_codes/modules/dist_model.py', 'description': "INPUTS\n model - ['net-lin'] for linearly calibrated network\n ['net'] for off-the-shelf network\n ['L2'] for L2 distance in Lab colorspace\n ['SSIM'] for ssim in RGB colorspace\n net - ['squeeze... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.