text
string
label
int64
{'name': 'VersatileImageFieldBaseTestCase.tearDownClass@tests/tests.py', 'description': 'Delete files made by VersatileImageFields during tests.', 'signature': 'def tearDownClass(cls):'}</s>{'name': 'VersatileImageTestModelForm@tests/forms.py', 'description': 'A form for testing VersatileImageFields.', 'base_classes': ...
0
{'name': 'PlotModel.create_tally_image@openmc_plotter/plotmodel.py', 'description': 'Parameters\n----------\nview : PlotView\n View used to set bounds of the tally data\n\nReturns\n-------\ntuple\n image data (numpy.ndarray), data extents (optional),\n data_min_value (float), data_max_value (float),\n data ...
0
{'name': 'get_arguments@train_s4GAN_wrn38.py', 'description': 'Parse all the arguments provided from the CLI.\n\nReturns:\n A list of parsed arguments.', 'signature': 'def get_arguments():'}</s>NUM_WORKERS = 8
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_COPY_PROCESS = 4
0
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw...
0
{'name': 'CreateTimeTemplate.create@vulfocus-api/dockerapi/views.py', 'description': '创建计时模式模版', 'signature': 'def create(self, request, *args, **kwargs):'}</s>{'name': 'synchronous_image@vulfocus-api/tasks/tasks.py', 'description': '同步官网镜像\n:return:', 'code': 'def synchronous_image():\n """\n 同步官网镜像\n :return...
0
{'name': 'AutoConfig.from_pretrained@small_nocls/pytorch_transformers/configuration_auto.py', 'description': "Instantiate a one of the configuration classes of the library\nfrom a pre-trained model configuration.\n\nThe configuration class to instantiate is selected as the first pattern matching\nin the `pretrained_mod...
1
{'name': 'ToysObject.sampler@src/hepstats/hypotests/hypotests_object.py', 'description': 'Create sampler with models.\n\n>>> sampler = calc.sampler()', 'signature': 'def sampler(self):'}</s>{'name': 'get_nevents@src/hepstats/utils/fit/diverse.py', 'description': 'Returns the number of events in the dataset', 'code': 'd...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQFB_NOT_DELIVERED = 284
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': 'load_key_pubkey@src/M2Crypto/EVP.py', 'description': 'Load an M2Crypto.EVP.PKey from a public key as a file.\n\n:param file: Name of file containing the key in PEM format.\n\n:param callback: A Python callable object that is invoked\n to acquire a passphrase with which to protect the\n ...
0
{'name': '_import_module@urlobject/six.py', 'description': 'Import module, returning the module after the last dot.', 'signature': 'def _import_module(name):'}</s>{'name': 'add_move@urlobject/six.py', 'description': 'Add an item to six.moves.', 'code': 'def add_move(move):\n """Add an item to six.moves."""\n seta...
0
{'name': '_PhenotypicPhasePlaneChunkEvaluator.mass_yield@cameo/flux_analysis/analysis.py', 'description': 'gram product divided by gram of feeding source\n\nonly defined when we have only one product (as defined by the model\nobjective) and only one compound as carbon source (as defined by the\nmodel medium).\n\nReturn...
0
{'name': 'ProcessFileData@ament_cpplint/ament_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, ...
0
{'name': 'blocksearch@lesscpy/lessc/utility.py', 'description': 'Recursive search for name in block (inner blocks)\nArgs:\n name (str): search term\nReturns:\n Block OR False', 'signature': 'def blocksearch(block, name):'}</s>{'name': 'is_int@lesscpy/lessc/utility.py', 'description': 'Is value integer\nargs:\n ...
0
{'name': 'AutoUnit.on_eval_step_end@torchtnt/framework/auto_unit.py', 'description': 'This will be called at the end of every ``eval_step`` before returning. The user can implement this method with code to update and log their metrics,\nor do anything else.\n\nArgs:\n state: a State object which is passed from the `...
0
{'name': 'OpticalProduct._open_bands@eoreader/products/optical/optical_product.py', 'description': 'Open bands from disk.\n\nArgs:\n band_paths (dict): Band dict: {band_enum: band_path}\n pixel_size (float): Band pixel size in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if p...
1
{'name': 'Type.get_ref_qualifier@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'Retrieve the ref-qualifier of the type.', 'signature': 'def get_ref_qualifier(self):'}</s>{'name': 'StorageClass@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'Describes the storage ...
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_SELECTOR_WRONG_TYPE = 2312
0
{'name': 'LMTC.process_dataset@lmtc.py', 'description': 'Process dataset documents (samples) and create targets\n:param documents: list of Document objects\n:return: samples, targets', 'signature': 'def process_dataset(self, documents):'}</s>{'name': 'SampleGenerator@lmtc.py', 'description': 'Generates data for Keras\n...
0
{'name': 'apply@hdrnet/layers.py', 'description': 'Applies a sliced affined model to the input image.\n\nArgs:\n sliced: (Tensor) [batch_size, h, w, n_output, n_input+1] affine coefficients\n input_image: (Tensor) [batch_size, h, w, n_input] input data onto which to\n apply the affine transform.\n name: (string) ...
0
{'name': 'dl_files@wfdb/io/download.py', 'description': "Download specified files from a PhysioNet database.\n\nParameters\n----------\ndb : str\n The PhysioNet database directory to download. eg. For database:\n 'http://physionet.org/content/mitdb', db='mitdb'.\ndl_dir : str\n The full local directory path in...
0
{'name': 'test_model_lr_sc@tests/test_model.py', 'description': 'Test if load-reserved and store-conditional sequence works', 'signature': 'def test_model_lr_sc():'}</s>{'name': 'SRLTest@riscvmodel/program/tests.py', 'description': 'Basic test of SRL instruction', 'base_classes': ['Program'], 'methods': [{'name': 'SRLT...
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': 'attention_layer@baseline/bert/modeling.py', 'description': 'Performs multi-headed attention from `from_tensor` to `to_tensor`.\n\nThis is an implementation of multi-headed attention based on "Attention\nis all you Need". If `from_tensor` and `to_tensor` are the same, then\nthis is self-attention. Each timeste...
0
{'name': 'shift_colormap@stwr/utils.py', 'description': 'Function to offset the "center" of a colormap. Useful for\ndata with a negative min and positive max and you want the\nmiddle of the colormap\'s dynamic range to be at zero\n\nParameters\n----------\ncmap : The matplotlib colormap to be altered\nstart : Offset fr...
0
{'name': 'AdbDevice._push@adb_shell/adb_device.py', 'description': 'Push a file-like object to the device.\n\nParameters\n----------\nstream : _io.BytesIO\n File-like object for reading from\ndevice_path : str\n Destination on the device to write to\nst_mode : int\n Stat mode for the file\nmtime : int\n Mod...
0
{'name': 'takePantiltSequence@source/pi-timolo.py', 'description': 'Take a sequence of images based on a list of pantilt positions and save with\na sequence number appended to the filename', 'signature': 'def takePantiltSequence(filename, daymode, pix_ave, num_count, num_path):'}</s>{'name': 'freeSpaceUpTo@source/pi-ti...
0
{'name': 'TrainingJob.start@loudml/server.py', 'description': 'Submit training job to worker pool', 'signature': 'def start(self, config):'}</s>{'name': 'get_model_version_info@loudml/server.py', 'description': 'DOCSTRING', 'code': "def get_model_version_info(model_name, model_version, fields, include_fields):\n glo...
0
{'name': '_RDIReader.read_dat@mhkit/dolfyn/io/rdi.py', 'description': 'Main function map used to read or skip stored IDs', 'signature': 'def read_dat(self, id):'}</s>{'name': '_calc_beam_orientmat@mhkit/dolfyn/rotate/rdi.py', 'description': 'Calculate the rotation matrix from beam coordinates to\ninstrument head coordi...
0
{'name': 'NewDatabase.write_db_to_matrices@premise/new_database.py', 'description': 'Exports the new database as a sparse matrix representation in csv files.\n\n:param filepath: path provided by the user to store the exported matrices.\nIf it is a string, the path is used as main directory from which\n"iam model" / "pa...
0
{'name': 'apply_sort@sqlalchemy_filters/sorting.py', 'description': "Apply sorting to a :class:`sqlalchemy.orm.Query` instance.\n\n:param sort_spec:\n A list of dictionaries, where each one of them includes\n the necesary information to order the elements of the query.\n\n Example::\n\n sort_spec = [\n ...
0
{'name': 'write_readme@scripts/python-skywater-pdk/skywater_pdk/cells/generate/readme.py', 'description': 'Generates README for a given cell.\n\nArgs:\n cellpath - path to a cell [str of pathlib.Path]\n define_data - cell data from json [dic]', 'signature': 'def write_readme(cellpath, define_data):'}</s>verbose =...
0
{'name': 'api_probes_avail@GeoHealthCheck/app.py', 'description': 'Get available (configured) Probes for this\ninstallation, optional for resource type', 'signature': 'def api_probes_avail(resource_type=None, resource_id=None):'}</s>{'name': 'cssize_reliability@GeoHealthCheck/app.py', 'description': 'returns CSS button...
0
{'name': 'BasicTokenizer._clean_text@pytorch_pretrained_bert/tokenization.py', 'description': 'Performs invalid character removal and whitespace cleanup on text.', 'signature': 'def _clean_text(self, text):'}</s>{'name': 'cached_path@pytorch_pretrained_bert/file_utils.py', 'description': "Given something that might be ...
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': 'test_check_classic_valid_with_preprocessor@test/test_utils.py', 'description': 'Test that valid inputs when using a preprocessor raises no warning', 'signature': 'def test_check_classic_valid_with_preprocessor(points):'}</s>{'name': 'test_error_message_t_pair_distance_or_score@test/test_utils.py', 'descriptio...
0
{'name': 'invert_spectrogram@utils/audio_utils.py', 'description': 'spectrogram: [f, t]', 'signature': 'def invert_spectrogram(spectrogram):'}</s>{'name': 'wav2spectrogram@utils/audio_utils.py', 'description': 'Produces log-magnitude spectrogram of audio data y', 'code': "def wav2spectrogram(y, sr=hp.sr):\n\n '''\n ...
0
{'name': 'View._dbscan@picasso/gui/render.py', 'description': 'Performs DBSCAN in a given channel with user-defined parameters\nand saves the result.\n\nParameters\n----------\nchannel : int\n Index of the channel were clustering is performed\npath : str\n Path to save clustered localizations\nradius : float\n ...
0
{'name': 'LambdaSupportTest.test_parameters_with_mixed_inferred_and_declared_types@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'this tests that lambda type specification mixing is considered\ninvalid as per the specifications.', 'signature': 'def test_parameters_with_mixed_inferred_and_de...
0
{'name': 'BankIDClient.cancel@bankid/syncclient.py', 'description': 'Cancels an ongoing sign or auth order.\n\nThis is typically used if the user cancels the order\nin your service or app.\n\n:param order_ref: The UUID string specifying which order to cancel.\n:type order_ref: str\n:return: Boolean regarding success of...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIAMO_SUBS_NDUR = 765
0
{'name': 'Standardizer.__init__@scopy/ScoPretreat/pretreatutil.py', 'description': 'Initialize a Standardizer with optional custom parameters.\n\n:param normalizations: A list of Normalizations to apply (default: :data:`~molvs.normalize.NORMALIZATIONS`).\n:param acid_base_pairs: A list of AcidBasePairs for competitive ...
1
{'name': 'GefHelpCommand.__rebuild@gef.py', 'description': 'Rebuild the documentation.', 'signature': 'def __rebuild(self) -> None:'}</s>{'name': 'ExternalStructureManager@gef.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'ExternalStructureManager.__init__@gef.py', 'description': 'DOCSTRING'...
0
{'name': 'Lexer.tokeniter@third_party/dawn/third_party/jinja2/lexer.py', 'description': 'This method tokenizes the text and returns the tokens in a\ngenerator. Use this method if you just want to tokenize a template.\n\n.. versionchanged:: 3.0\n Only ``\\n``, ``\\r\\n`` and ``\\r`` are treated as line\n breaks.',...
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': 'BitcoinTestFramework.setup_network@test/functional/test_framework/test_framework.py', 'description': 'Override this method to customize test network topology', 'signature': 'def setup_network(self):'}</s>{'name': 'disconnect_nodes@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': 'd...
0
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>{'name': 'test_ci_list_asr_jobs@ut/test.py', 'description': 'DOCSTRING', 'code': 'def test_ci_list_asr_jobs():\n response = client.ci_ge...
0
{'name': 'TLP.pack@fpga/lib/pcie/tb/pcie.py', 'description': 'Pack TLP as DWORD array', 'signature': 'def pack(self):'}</s>{'name': 'BusPort@fpga/lib/pcie/tb/pcie.py', 'description': 'Port for root of bus interconnection, broadcasts TLPs to all connected ports', 'base_classes': ['Port'], 'methods': [{'name': 'BusPort._...
0
{'name': 'Router.add@src/back/kite/bottle.py', 'description': 'Add a new rule or replace the target for an existing rule. ', 'signature': 'def add(self, rule, method, target, name=None):'}</s>jinja2_view = functools.partial(view, template_adapter=Jinja2Template)
0
{'name': 'update_css@sphinx_panels/__init__.py', 'description': 'Compile SCSS to the build directory.', 'signature': 'def update_css(app: Sphinx):'}</s>{'name': 'setup_link_button@sphinx_panels/button.py', 'description': 'DOCSTRING', 'code': 'def setup_link_button(app):\n app.add_directive("link-button", LinkButton)...
0
{'name': '_getRadix@source/gennumber.py', 'description': 'Return the radix character (. or ,) used in format.\n\nInfers from use of slashed separators and non-slashed radix.\nAssumes radix is "." if ambiguous.\nArguments:\n strFormat -- the string format to evaluate', 'signature': 'def _getRadix(strFormat):'}</s>{'n...
0
{'name': 'many@funcparserlib/parser.py', 'description': 'Return a parser that applies the parser `p` as many times as it succeeds at\nparsing the tokens.\n\nReturn a parser that infinitely applies the parser `p` to the input sequence\nof tokens as long as it successfully parses them. The parsed value is a list of\nthe ...
1
{'name': 'is_ip_addr@signac/_vendor/configobj/validate.py', 'description': 'Check that the supplied value is an Internet Protocol address, v.4,\nrepresented by a dotted-quad string, i.e. \'1.2.3.4\'.\n\n>>> vtor.check(\'ip_addr\', \'1 \')\n\'1\'\n>>> vtor.check(\'ip_addr\', \' 1.2\')\n\'1.2\'\n>>> vtor.check(\'ip_addr\...
0
{'name': 'BIDSLayout.add_derivatives@src/bids/layout/layout.py', 'description': 'Add BIDS-Derivatives datasets to tracking.\n\nParameters\n----------\npath : str or list\n One or more paths to BIDS-Derivatives datasets.\n Each path can point to either a derivatives/ directory\n containing one or more pipeline ...
1
{'name': 'clean_ldap_name@django_python3_ldap/utils.py', 'description': "Transforms the given name into a form that\nwon't interfere with LDAP queries.", 'signature': 'def clean_ldap_name(name):'}</s>{'name': 'format_search_filters@django_python3_ldap/utils.py', 'description': 'DOCSTRING', 'code': 'def format_search_fi...
0
{'name': 'datetime_from_timestamp@yaql/standard_library/date_time.py', 'description': ':yaql:datetime\n\nReturns datetime object built by timestamp.\n\n:signature: datetime(timestamp, offset => timespan(0))\n:arg timestamp: timespan object to represent datetime\n:argType timestamp: number\n:arg offset: datetime offset ...
0
{'name': 'valid_name@hostthedocs/filekeeper.py', 'description': "See readme for what's valid.\n\n:type s: str", 'signature': 'def valid_name(s):'}</s>{'name': 'sort_by_version@hostthedocs/filekeeper.py', 'description': 'DOCSTRING', 'code': "def sort_by_version(x):\n # See http://natsort.readthedocs.io/en/stable/exam...
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': 'HTTPConnectionPool.urlopen@blockchain-env/lib/python3.7/site-packages/urllib3/connectionpool.py', 'description': "Get a connection from the pool and perform an HTTP request. This is the\nlowest level call for making a request, so you'll need to specify all\nthe raw details.\n\n.. note::\n\n More commonly, i...
0
{'name': 'taproot_construct@test/functional/test_framework/script.py', 'description': 'Construct a tree of Taproot spending conditions\n\npubkey: a 32-byte xonly pubkey for the internal pubkey (bytes)\nscripts: a list of items; each item is either:\n - a (name, CScript or bytes, leaf version) tuple\n - ...
0
{'name': 'corefdiffbyevent@code/link_coref.py', 'description': 'comprise features for clustering events', 'signature': 'def corefdiffbyevent(pubdate,events,features,weight,threshold):'}</s>{'name': 'findanytrigger@code/link_coref.py', 'description': 'force verb to be trigger, if not found trigger nearby ', 'code': 'def...
0
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi...
0
{'name': 'run_lyndor_bat@module/save.py', 'description': 'create Run-Lyndor.bat in windows ', 'signature': 'def run_lyndor_bat():'}</s>{'name': 'add_new_line@module/cookies.py', 'description': 'returns cookie file with NETSCAPE line', 'code': "def add_new_line(cookie, line):\n '''returns cookie file with NETSCAPE li...
0
{'name': 'Viewer.initialize@robopianist/viewer/viewer.py', 'description': 'Initialize the viewer.\n\nArgs:\n physics: Physics instance.\n renderer_instance: A renderer.Base instance.\n touchpad: A boolean, use input dedicated to touchpad.', 'signature': 'def initialize(self, physics, renderer_instance, touchpad):'}<...
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': 'run_segment_jit_in_chunks_notraceable@python/jax/carfac.py', 'description': "Runs the jitted segment runner in segment groups.\n\nRunning CARFAC on an audio segment this way is most useful when running\nCARFAC-JAX on a number of audio segments that have varying lengths. The\nimplementation is completed by exe...
0
{'name': 'select_hfr_db@disdat/hyperframe.py', 'description': 'Create an HFrame Record from a row in our DB.\nWhere uuid= && owner= && human_name= && processing_name=\n\nArgs:\n engine_g:\n uuid (str): add to where clause\n owner (str): add to where clause\n human_name (str): add to where clause\n proce...
0
{'name': 'TranslationBundle._np@jupyterlab_server/translation_utils.py', 'description': 'Shorthand for npgettext.\n\nParameters\n----------\nmsgctxt: str\n The message context.\nmsgid: str\n The singular string to translate.\nmsgid_plural: str\n The plural string to translate.\nn: int\n The number for plura...
0
{'name': 'subscriber_monitor@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'Monitor to handle a rare race condition where:\n\n1. subscriber reads an empty backlog (before it can delete the\n _BACKFILL blob...)\n2. a new item is added to the backlog (causing a separa...
0
{'name': 'Layer.query@openmaptiles/tileset.py', 'description': 'Query string with resolved localized names.\nIf parent tileset is missing, only uses automatic fields', 'signature': 'def query(self) -> str:'}</s>{'name': 'get_requires_prop@openmaptiles/tileset.py', 'description': 'Extract and delete a property from a di...
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': 'EggMetadata@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Metadata provider for ...
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': 'HpSshSpawn@pexpect_connection.py', 'description': 'Wrapped pexpect.spawn to use a Paramiko channe...
0
{'name': 'data_generator@Mask_RCNN/mrcnn/model.py', 'description': 'A generator that returns images and corresponding target class ids,\nbounding box deltas, and masks.\n\ndataset: The Dataset object to pick data from\nconfig: The model config object\nshuffle: If True, shuffles the samples before every epoch\naugment: ...
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': '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': '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': 'trim@ytmdl/core.py', 'description': 'Trim the song of unwanted noise by making calls to the\ninternal functions.', 'signature': 'def trim(name: str, args) -> None:'}</s>{'name': 'Meta@ytmdl/manual.py', 'description': 'Meta Class will have properties same as\nthose of Gaana and Itunes in order to make\nthem co...
0
{'name': 'BaseTemplate.search@src/back/kite/bottle.py', 'description': 'Search name in all directories specified in lookup.\nFirst without, then with common extensions. Return first hit. ', 'signature': 'def search(cls, name, lookup=[]):'}</s>{'name': 'AppEngineServer@src/back/kite/bottle.py', 'description': 'Adapter f...
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': 'cluster_center@picasso/clusterer.p...
0
{'name': 'GPUVerifyInstance.runTool@GPUVerify.py', 'description': 'Returns a triple (succeeded, timeout) ', 'signature': 'def runTool(self, ToolName, Command):'}</s>{'name': 'GPUVerifyInstance@GPUVerify.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'GPUVerifyInstance.__init__@GPUVeri...
1
{'name': 'YcmdHandle._HmacForBody@lib/ycmd_handler.py', 'description': '@return bytes\nbytes request_body\nbool to_base64', 'signature': 'def _HmacForBody(self, request_body, to_base64=False):'}</s>MAX_SERVER_WAIT_TIME_SECONDS = 5
0
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_12 = CScriptOp(0x5c)
0
{'name': 'JSONDecoder.__init__@simplejson/decoder.py', 'description': "*encoding* determines the encoding used to interpret any\n:class:`str` objects decoded by this instance (``'utf-8'`` by\ndefault). It has no effect when decoding :class:`unicode` objects.\n\nNote that currently only encodings that are a superset of...
0
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'SinceAfterUntil@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Error'], 'methods':...
0
{'name': 'write_memory@tools/pydfu.py', 'description': 'Writes a buffer into memory. This routine assumes that memory has\nalready been erased.', 'signature': 'def write_memory(addr, buf, progress=None, progress_addr=0, progress_size=0):'}</s>{'name': 'named@tools/pydfu.py', 'description': 'Creates a dict with `names` ...
0
{'name': 'DescriptorField.__init__@pyfields/core.py', 'description': 'See help(field) for details', 'signature': 'def __init__(self,'}</s>{'name': 'NoneError@pyfields/core.py', 'description': 'Error raised when `None` is set on an explicitly not-nonable field. It is both a `TypeError` and a `ValueError`.', 'base_classe...
0
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi...
0
{'name': 'make_nodes@tulip/spec/ast.py', 'description': 'Return class with attributes the AST node classes.\n\nThe tree is defined recursively,\nnot with a graph data structure.\n`Tree` is a graph data structure for that purpose.', 'signature': 'def make_nodes('}</s>{'name': 'make_fol_nodes@tulip/spec/ast.py', 'descrip...
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'Cell.add@gdspy/library.py', 'description': 'Add a new element or list of elements to this cell.\n\nParameters\n----------\nelement : `PolygonSet`, `CellReference`, `CellArray` or iterable\n The element or iterable of elements to be inserted in this\n cell.\n\nReturns\n-------\nout : `Cell`\n This cel...
0
{'name': 'Linter.lint_one@bioconda_utils/lint/__init__.py', 'description': 'Run the linter on a single recipe\n\nArgs:\n recipe_name: Mames of recipe to lint\n fix: Whether checks should attempt to fix detected issues\n\nReturns:\n List of collected messages', 'signature': 'def lint_one(self, recipe_name: str, fix: ...
0
{'name': 'do_release@extra/release_tool.py', 'description': 'Handles the interactive menu for doing a release.', 'signature': 'def do_release(release_state_file, args):'}</s>{'name': 'version_of@extra/release_tool.py', 'description': 'DOCSTRING', 'code': 'def version_of(\n integration_dir, component, in_integration_...
0
{'name': 'Serial.open@serial/rfc2217.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>RFC2217_ANSWER_MAP = { SET_BAUDRATE: SERVER_SET_BAUDRATE, SET_DATASIZE: SERVER_SET_DATASIZE, SET_PARITY: SERVER_SET_...
0
{'name': 'EnumDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for enum field.', 'signature': 'def EnumDecoder(field_number, is_repeated, is_packed, key, new_default,'}</s>Fixed64Decoder = _StructPackDecoder(wire_format.WIRETYPE_FIXED64, '<Q')
0
{'name': 'GTestFilterUnitTest.testThreePatterns@Engine/lib/gtest/googletest/test/googletest-filter-unittest.py', 'description': 'Tests filters that consist of three patterns.', 'signature': 'def testThreePatterns(self):'}</s>{'name': 'GetFlag@Engine/lib/assimp/contrib/googletest/googletest/test/gtest_test_utils.py', 'd...
0
{'name': 'Message.to_dict@src/betterproto/__init__.py', 'description': 'Returns a JSON serializable dict representation of this object.\n\nParameters\n-----------\ncasing: :class:`Casing`\n The casing to use for key values. Default is :attr:`Casing.CAMEL` for\n compatibility purposes.\ninclude_default_values: :cl...
1
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>{'name': 'PFRule@pf/rule.py', 'description': 'Class representing a Packet Filter rule.', 'base_classes': ['PFObject'], 'methods': [{'name': 'PFRule.__init__@pf/rule.p...
0
{'name': 'to_ufo_glyph@Lib/glyphsLib/builder/glyph.py', 'description': 'Add .glyphs metadata, paths, components, and anchors to a glyph.', 'signature': 'def to_ufo_glyph(self, ufo_glyph, layer, glyph, do_color_layers=True): # noqa: C901'}</s>GLYPHLIB_PREFIX = GLYPHS_PREFIX + "Glyphs."
1
{'name': 'MultispeakerDictionaryMixin.save_oovs_found@montreal_forced_aligner/dictionary/multispeaker.py', 'description': 'Save all out of vocabulary items to a file in the specified directory\n\nParameters\n----------\ndirectory : str\n Path to directory to save ``oovs_found.txt``', 'signature': 'def save_oovs_foun...
0