text
string
label
int64
{'name': 'build_pypi_index@etc/scripts/gen_pypi_simple.py', 'description': "Using a ``directory`` directory of wheels and sdists, create the a PyPI\nsimple directory index at ``directory``/simple/ populated with the proper\nPyPI simple index directory structure crafted using symlinks.\n\nWARNING: The ``directory``/simp...
1
{'name': 'PrintUsage@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Prints a brief usage string and exits, optionally with an error message.\n\nArgs:\n message: The optional error message.', 'signature': 'def PrintUsage(message):'}</s>{'name': '_BlockInfo@ament_cpplint/ament_cpplint/cpplint.py', 'description...
0
{'name': '_batched_write_command_impl@venv/Lib/site-packages/pymongo/message.py', 'description': 'Create a batched OP_QUERY write command.', 'signature': 'def _batched_write_command_impl('}</s>_UNPACK_REPLY = { _OpReply.OP_CODE: _OpReply.unpack, _OpMsg.OP_CODE: _OpMsg.unpack, }
0
{'name': '_Phase_Diff._calc_phasediff@CSIKit/visualization/metric.py', 'description': 'Calculates the phasediffs A->B, B->C\n ', 'signature': 'def _calc_phasediff(cls, entry: CsiEntry):'}</s>{'name': 'RSS@CSIKit/visualization/metric.py', 'description': 'DOCSTRING', 'base_classes': ['Metric'], 'methods': [{'name'...
0
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': '_is_left_assoc@src/api/python/z3/z3printer.py', 'description': 'DOCSTRING', 'code': 'def _is_left_assoc(k):\n ...
0
{'name': 'WorkerTestCase.test_another_queue@tests/integration/test_worker.py', 'description': 'Task is run on another queue', 'signature': 'def test_another_queue(self):'}</s>{'name': 'eager_task@tests/tasks.py', 'description': 'DOCSTRING', 'code': 'def eager_task():\n must_be_called()'}
0
{'name': 'isa_c@riscvmodel/isa.py', 'description': 'Decorator for the instructions. The decorator contains the static information for the\ninstructions, in particular the encoding parameters and the assembler mnemonic.\n\n:param mnemonic: Assembler mnemonic\n:return: Wrapper class that overwrites the actual definition ...
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': 'output_noun_phrase_recognizers@do_benchmark.py', 'description': ' ', 'signature': 'def output_noun_phrase_recognizers(size):'}</s>{'name': 'search@pyrata/re.py', 'description': 'Scan through data looking for the first location where the regular expression pattern produces a match, \nand return a correspondin...
0
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'CharSortRef@src/api/python/z3/z3.py', 'des...
0
{'name': 'unpackCommand@fwtool.py', 'description': 'Extracts the input file to the specified directory', 'signature': 'def unpackCommand(file, outDir):'}</s>{'name': 'isMsFirm@fwtool/sony/msfirm.py', 'description': 'DOCSTRING', 'code': "def isMsFirm(file):\n file.seek(0)\n header = file.read(0x80)\n return len(header) ...
1
{'name': 'create_from_topology@src/evengsdk/cli/lab/commands.py', 'description': 'Create a new lab\n\n\x08\nExamples:\n eveng lab create-from-topology --topology examples/test_topology.yml', 'signature': 'def create_from_topology(ctx, topology, template_dir):'}</s>{'name': '_get_lab_folder@src/evengsdk/cli/lab/comma...
0
{'name': 'FletcherBaseArray._np_ufunc_op@fletcher/base.py', 'description': 'Apply a NumPy ufunc on the instance and any other object.', 'signature': 'def _np_ufunc_op(self, op: Callable, other):'}</s>_python_type_map = { pa.null().id: str, pa.bool_().id: bool, pa.int8().id: int, pa.uint8().id: int, ...
0
{'name': 'Parser.add_element@marko/parser.py', 'description': 'Add an element to the parser.\n\n:param element: the element class.\n\n.. note:: If one needs to call it inside ``__init__()``, please call it after\n ``super().__init__()`` is called.', 'signature': 'def add_element(self, element: ElementType) -> None:...
0
{'name': 'LambdaSupportTest.assert_contains_lambda_expression_in_m@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'asserts that the given tree contains a method with the supplied\nmethod name containing a lambda expression.', 'signature': 'def assert_contains_lambda_expression_in_m('}</s>{'n...
0
{'name': 'LossModel.load_model_parameters@pelicun/model/loss_model.py', 'description': 'Load loss model parameters.\n\nParameters\n----------\ndata_paths: list of (string | DataFrame)\n List of paths to data or files with loss model\n information. Default XY datasets can be accessed as\n PelicunDefault/XY. Ord...
0
{'name': 'SysTrayIcon.__enter__@python/site-packages/winsystray/traybar.py', 'description': 'Context manager so SysTray can automatically close', 'signature': 'def __enter__(self):'}</s>Shell_NotifyIcon = ctypes.windll.shell32.Shell_NotifyIcon
0
{'name': 'DatabaseManager.create@peewee_moves.py', 'description': 'Create a new migration file for an existing model.\nModel could actually also be a module, in which case all Peewee models are extracted\nfrom the model and created.\n\n:param modelstr: Python class, module, or string pointing to a class or module.\n:re...
0
{'name': 'DebPkgToolsTestCase.test_repository_creation@deb_pkg_tools/tests.py', 'description': 'Test the creation of trivial repositories.', 'signature': 'def test_repository_creation(self, preserve=False):'}</s>ALLOW_FAKEROOT_OR_SUDO = coerce_boolean(os.environ.get('DPT_ALLOW_FAKEROOT_OR_SUDO', 'true'))
0
{'name': 'cyvcf2@cyvcf2/cli.py', 'description': 'fast vcf parsing with cython + htslib', 'signature': 'def cyvcf2(context, vcf, include, exclude, chrom, start, end, loglevel, silent,'}</s>log = logging.getLogger(__name__)
1
{'name': 'get_geo_data@emissionsapi/web.py', 'description': "Get data in GeoJSON format.\n\n:param session: SQLAlchemy session\n:type session: sqlalchemy.orm.session.Session\n:param wkt: Well-known text representation of geometry, defaults to None.\n\n:type wkt: string, optional\n:param distance: Distance as defined in...
0
{'name': '_strict_random_crop_image@object_detection/core/preprocessor.py', 'description': 'Performs random crop.\n\nNote: Keypoint coordinates that are outside the crop will be set to NaN, which\nis consistent with the original keypoint encoding for non-existing keypoints.\nThis function always crops the image and is ...
0
{'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
{'name': 'extract_data@ytmdl/main.py', 'description': 'Extract the arguments and act accordingly.', 'signature': 'def extract_data():'}</s>{'name': 'is_yt_url@ytmdl/yt.py', 'description': 'Check if the passed URL is a valid youtube URL.', 'code': 'def is_yt_url(url):\n """\n Check if the passed URL is a valid you...
1
{'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': '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': 'is_string@src/api/python/z3/z3.py', ...
0
{'name': 'ANetDB._parse_taxonomy@feature_extraction/extract_tsn/pyActionRecog/anet_db.py', 'description': 'This function just parse the taxonomy file\nIt gives alphabetical ordered indices to the classes in competition\n:return:', 'signature': 'def _parse_taxonomy(self):'}</s>{'name': 'rgb_oversample@feature_extraction...
0
{'name': 'AliasGenerator.remove_legal_form@tools/alias_generation.py', 'description': "Remove legal form for JP and EN\noutput example:\n {'enName': nan,\n 'furigana': nan,\n 'name': '株式会社ジェイエイチインターナショナル',\n 'jp_no_legal': 'ジェイエイチインターナショナル'}", 'signature': 'def remove_legal_form(self):'}</s>{'name': '...
1
{'name': 'GenericSimpleClauseState.getEntry@util/py_lib/seqan/dox/dox_parser.py', 'description': 'Returns the Entry for the brief clause.', 'signature': 'def getEntry(self):'}</s>{'name': 'RawDoc@util/py_lib/seqan/dox/raw_doc.py', 'description': 'The documentation consists of a number of documentation objects.\n\n@ivar...
0
{'name': 'HindcastEnsemble.bootstrap@src/climpred/classes.py', 'description': 'Bootstrap with replacement according to :cite:t:`Goddard2013`.\n\nArgs:\n metric: Metric to apply for verification, see `metrics <../metrics.html>`_\n comparison: How to compare to the observations/verification data.\n See `comp...
0
{'name': 'ctypesArrayFill@pulp/apis/core.py', 'description': 'Creates a c array with ctypes from a python list\ntype is the type of the c array', 'signature': 'def ctypesArrayFill(myList, type=ctypes.c_double):'}</s>{'name': 'PulpSolverError@pulp/apis/core.py', 'description': 'Pulp Solver-related exceptions', 'base_cla...
0
{'name': 'CortexM.reset@pyocd/coresight/cortex_m.py', 'description': "! @brief Reset the core.\n\nThe reset method is selectable via the reset_type parameter as well as the reset_type\nsession option. If the reset_type parameter is not specified or None, then the reset_type\noption will be used. If the option is not se...
0
{'name': 'keypoints_ui@Pose2Sim/synchronization.py', 'description': 'Step 1: Initializes the UI for selecting keypoints.\n\nThis function creates an interactive GUI for selecting keypoints. It displays\na human figure with selectable keypoints, allows users to toggle keypoint names,\nselect all or none, and confirm the...
0
{'name': 'SegWitTest.test_uncompressed_pubkey@test/functional/p2p_segwit.py', 'description': 'Test uncompressed pubkey validity in segwit transactions.\n\nUncompressed pubkeys are no longer supported in default relay policy,\nbut (for now) are still valid in blocks.', 'signature': 'def test_uncompressed_pubkey(self):'}...
0
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': 'on_duplicate_race_class@src/server/server.py', 'description': 'Adds new race class by duplicating an existing one.', 'code': "def on_duplicate_race_class(data):\...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACH_MATCH = 1637
0
{'name': 'loadSwagger@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_create_scenario.py', 'description': 'This function will load and set the swagger definitions for APIs\n:return: None', 'signature': 'def loadSwagger():'}</s>{'name': 'generateInvokeToken@apim-traffic-tool/lib/traffic-tool/src/python/utils/...
0
{'name': 'set_M4A_data@ytmdl/song.py', 'description': 'Set the tags in the m4a file passed.', 'signature': 'def set_M4A_data(song, song_path):'}</s>{'name': 'DEFAULT@ytmdl/defaults.py', 'description': 'DEFAULT class contains value of different constants.', 'base_classes': [], 'methods': [{'name': 'DEFAULT.__parse_dir_p...
1
{'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>MQOO_NO_MULTICAST = 2097152
0
{'name': 'update_payout_screen@displays/waveshare2in13v3.py', 'description': "Update the payout screen to reflect balance of deposited coins.\nScan the invoice??? I don't think so!", 'signature': 'def update_payout_screen():'}</s>btcpay_lnd_3 = "BTCPay LND Portefeuille."
0
{'name': 'LocalRepositoryWatcher._handle_move_pair@onedrive_client/od_watcher.py', 'description': ':param [[inotify_simple.Event, inotify_simple.flags], [inotify_simple.Event, inotify_simple.flags]] move_pair:', 'signature': 'def _handle_move_pair(self, move_pair):'}</s>{'name': 'get_os_stat@onedrive_client/od_tasks/me...
0
{'name': 'Scenario.from_dir@transformer/scenario.py', 'description': 'Makes a :class:`Scenario` out of the provided directory *path*.\n\n*path* must represent a "scenario directory", which contains at least\none HAR file or another scenario directory.\nSymbolic link loops are not checked but forbidden!\n\nThere may exi...
1
{'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': 'WhitespaceTokenizer@pytorch_pretrained_bert/tokenization.py', 'description': 'DOCSTRING', 'base_cl...
0
{'name': 'DefinitionSchema.__init__@cerberus/schema.py', 'description': ':param validator: An instance of Validator-(sub-)class that uses this\n schema.\n:param schema: A definition-schema as ``dict``. Defaults to an empty\n one.', 'signature': 'def __init__(self, validator, schema):'}</s...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIAMO64_MONITOR_INTERVAL = 845
0
{'name': 'default_if_empty@yaql/standard_library/queries.py', 'description': ':yaql:defaultIfEmpty\n\nReturns default value if collection is empty.\n\n:signature: collection.defaultIfEmpty(default)\n:receiverArg collection: input collection\n:argType collection: iterable\n:arg default: value to be returned if collectio...
0
{'name': 'inv_mel_spectrogram@utils/audio.py', 'description': 'Converts mel spectrogram to waveform using librosa', 'signature': 'def inv_mel_spectrogram(mel_spectrogram, hparams):'}</s>{'name': '_stft_tensorflow@utils/audio.py', 'description': 'DOCSTRING', 'code': 'def _stft_tensorflow(signals,hparams):\n n_fft, ho...
0
{'name': 'parse_manifest_folder@operatorcourier/flatten.py', 'description': 'Parse the version folder of the bundle and collect information of CSV and CRDs\nin the bundle\n\n:param manifest_path: The path of the manifest folder containing bundle files\n:param folder_semver: The semantic version of the current folder\n:...
1
{'name': 'audit_models_range@audit.py', 'description': 'Audit target model(s) using a Membership Inference Attack algorithm.\n\nArgs:\n report_dir (str): Folder to save attack result.\n target_model_indices (list): List of the target model indices.\n all_signals (np.array): Signal value of all samples in all m...
0
{'name': 'pdpgd@adv_lib/attacks/segmentation/primal_dual_gradient_descent.py', 'description': 'Primal-Dual Proximal Gradient Descent (PDPGD) attacks from https://arxiv.org/abs/2106.01538 adapted to semantic\nsegmentation.', 'signature': 'def pdpgd(model: nn.Module,'}</s>{'name': 'pdgd@adv_lib/attacks/segmentation/prima...
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': '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': 'SelfActuatedPiano.__init__@robopianist/suite/tasks/self_actuated_piano.py', 'description': 'Task constructor.\n\nArgs:\n midi: A `MidiFile` object.\n n_steps_lookahead: Number of timesteps to look ahead when computing the\n goal state.\n trim_silence: If True, shifts the MIDI file so that the ...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMDL_LEVEL_711 = 711
0
{'name': 'nestedExpr@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pypa...
0
{'name': 'node_spec@tests/validator20/validate_spec_test.py', 'description': 'Used in tests that have recursive $refs', 'signature': 'def node_spec():'}</s>{'name': 'test_highlight_inconsistent_schema_object_validation@tests/validator20/validate_spec_test.py', 'description': 'DOCSTRING', 'code': 'def test_highlight_inc...
0
{'name': 'create_audio_envelope_waveform@avgn/segment_song/wav_to_syllables.py', 'description': 'Creates an audio envelope from waveform', 'signature': 'def create_audio_envelope_waveform(waveform, wav_spectrogram, downsampled_rate,'}</s>{'name': 'second_pass_threshold@avgn/segment_song/wav_to_syllables.py', 'descripti...
0
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ...
0
{'name': 'DefaultPytorchInferenceHandler.default_model_fn@src/sagemaker_pytorch_serving_container/default_pytorch_inference_handler.py', 'description': 'Loads a model. For PyTorch, a default function to load a model only if Elastic Inference is used.\nIn other cases, users should provide customized model_fn() in script...
0
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>GEF_MAX_STRING_LENGTH = 50
0
{'name': 'TestAdminTreeList.test_result_tree_list_escapes_labels@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree_list_escapes_labels(self, model_with_unicode):'}</s>{'name': 'MP_Tes...
0
{'name': 'validate_multi_locations@folium/utilities.py', 'description': 'Validate an iterable with possibly nested lists of coordinate pairs.', 'signature': 'def validate_multi_locations('}</s>{'name': 'javascript_identifier_path_to_array_notation@folium/utilities.py', 'description': 'Convert a path like obj1.obj2 to a...
0
{'name': 'EMQ.aggregation_fit@quapy/method/aggregative.py', 'description': 'Trains the aggregation function of EMQ. This comes down to recalibrating the posterior probabilities\nir requested.\n\n:param classif_predictions: a :class:`quapy.data.base.LabelledCollection` containing,\n as instances, the posterior probab...
0
{'name': 'room2samples_plus_normalized@sem_seg/indoor3d_util.py', 'description': 'room2sample, with input filename and RGB preprocessing.\nfor each block centralize XYZ, add normalized XYZ as 678 channels', 'signature': 'def room2samples_plus_normalized(data_label, num_point):'}</s>{'name': 'bbox_label_to_obj@sem_seg/i...
0
{'name': 'AcousticCorpusMixin.generate_final_features@montreal_forced_aligner/corpus/acoustic_corpus.py', 'description': 'Generate features for the corpus', 'signature': 'def generate_final_features(self) -> None:'}</s>{'name': 'FeatureConfigMixin@montreal_forced_aligner/corpus/features.py', 'description': 'Class to st...
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>MQDSB_512K = 7
0
{'name': 'MessageReceiver._message_received@uamqp/receiver.py', 'description': 'Callback run on receipt of every message. If there is\na user-defined callback, this will be called.\nAdditionally if the client is retrieving messages for a batch\nor iterator, the message will be added to an internal queue.\n\n:param mess...
0
{'name': 'BuildTest.parse_buildspecs@buildtest/cli/build.py', 'description': 'Parse all buildspecs by passing buildspec file to :class:`buildtest.buildsystem.parser.BuildspecParser` class.\nIf buildspec fails validation we skip the buildspec and print all skipped buildspecs.\nIf buildspec passes validation we get all b...
1
{'name': 'compute_sparse_agent_cell_f@self_organising_systems/biomakerca/env_logic.py', 'description': "Compute a sparse agent cell_f.\n\nThis works for ExclusiveOp, ParallelOp and ReproduceOp.\nNote that the cell_f *requires* to have the proper argument name 'programs',\nso this is an informal interface.\n\nif it is u...
0
{'name': 'checkMediaPaths@source/pi-timolo.py', 'description': 'Checks for image folders and\ncreate them if they do not already exist.', 'signature': 'def checkMediaPaths():'}</s>cvWhite = (255, 255, 255)
0
{'name': 'RackspaceContainer._get_object_infos@cloud_browser/cloud/rackspace.py', 'description': 'Get raw object infos (single-shot).', 'signature': 'def _get_object_infos('}</s>{'name': 'NotPermittedException@cloud_browser/cloud/errors.py', 'description': 'Access is not permitted', 'base_classes': ['CloudException'], ...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQITS_ARCHITECTED = b'A'
0
{'name': 'describe_pe_direction@src/bids/reports/parameters.py', 'description': 'Generate description of phase encoding direction.', 'signature': 'def describe_pe_direction(metadata: dict, config: dict) -> str:'}</s>{'name': 'describe_sequence@src/bids/reports/parameters.py', 'description': 'Extract and reformat imagin...
0
{'name': 'AccountsDaemon.__init__@packages/python-google-compute-engine/google_compute_engine/accounts/accounts_daemon.py', 'description': "Constructor.\n\nArgs:\n groups: string, a comma separated list of groups.\n remove: bool, True if deprovisioning a user should be destructive.\n useradd_cmd: string, command to ...
0
{'name': 'plot_sounding@pymeteo/skewt.py', 'description': 'Plot sounding data\n\nThis plots temperature, dewpoint and wind data on a Skew-T/Log-P plot.\nThis will also plot derived values such as wetbulb temperature and\nlabel the surface based LCL, LFC and EL.\n\n:parameter z: height values (1D array)\n:parameter th: ...
0
{'name': 'BaseCompiler.get_full_source_path@src/static_precompiler/compilers/base.py', 'description': 'Return the full path to the given source file.\n Check if the source file exists.\n The returned path is OS-dependent.\n\n:param source_path: relative path to a source file\n:returns: full path to the source fil...
0
{'name': 'multiple_format_hash_file@ascmhl/hasher.py', 'description': "computes and returns a new hash strings for a file\n\narguments:\nfile_path -- string value, path of file to generate hash for.\nhash_formats -- string values, each entry is one of the supported hash formats, e.g. 'md5', 'xxh64'", 'signature': 'def ...
0
{'name': 'dumpstruct@msldap/external/bloodhoundpy/lib/cstruct.py', 'description': 'Dump a structure or parsed structure instance.\n\nPrints a colorized hexdump and parsed structure output.\n\nArgs:\n t: Structure or Instance to dump.\n data: Bytes to parse the Structure on, if t is not a parsed Instance.\n off...
0
{'name': 'Bootstrap.compute_children_sql@operations.py', 'description': 'Compute the children on resampled data in SQL.', 'signature': 'def compute_children_sql('}</s>{'name': 'count_features@operations.py', 'description': 'Gets the width of the result of m.compute_on().', 'code': 'def count_features(m: metrics.Metric)...
0
{'name': 'Graph.maximum_flow_min_cut@graph/core.py', 'description': 'Finds the edges in the maximum flow min cut.\n:param start: start\n:param end: end\n:return: list of edges', 'signature': 'def maximum_flow_min_cut(self, start, end):'}</s>{'name': 'all_simple_paths@graph/all_simple_paths.py', 'description': 'finds al...
0
{'name': 'CheckPrintf@tools/cpplint.py', 'description': 'Check for printf related issues.\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.', 'signature': 'd...
0
{'name': 'quit@ui/sidebar.py', 'description': 'Stop the Streamlit server', 'signature': 'def quit():'}</s>inspector_started_ts = 0
0
{'name': 'on_restore_database@src/server/server.py', 'description': 'Restore database.', 'signature': 'def on_restore_database(data):'}</s>APP = Flask(__name__, static_url_path='/static')
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': 'Zeroconf.checkService@stino/pyarduino/base/zeroconf.py', 'description': 'Checks the network for a unique service name, modifying the\nServiceInfo passed in if it is not unique.', 'signature': 'def checkService(self, info):'}</s>{'name': 'DNSIncoming@stino/pyarduino/base/zeroconf.py', 'description': 'Object re...
0
{'name': 'unpackCommand@fwtool.py', 'description': 'Extracts the input file to the specified directory', 'signature': 'def unpackCommand(file, outDir):'}</s>{'name': '_decryptLut@fwtool/sony/ash.py', 'description': 'DOCSTRING', 'code': "def _decryptLut(data):\n lut = bytes(b * b * b % 253 if b < 253 else b for b in ran...
0
{'name': 'setup_logger@tune/local.py', 'description': 'Setup logger with correct verbosity and file handler.\n\nParameters\n----------\nverbose : int\n Verbosity level. If verbose = 0, use INFO level, otherwise DEBUG.\nlogfile : str\n Desired path to the logfile.\n\nReturns\n-------\nLogger\n Logger to be used...
0
{'name': 'ScalableBloomFilter.check_filter_capacity@spider/dedup/bloomfilter.py', 'description': '检测filter状态,如果已满,加载新的filter\n@return:', 'signature': 'def check_filter_capacity(self):'}</s>{'name': 'RedisDB@spider/db/redisdb.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'RedisDB.__init__@spi...
1
{'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': 'SegWitTest.test_uncompressed_pubkey@test/functional/p2p_segwit.py', 'description': 'Test uncompressed pubkey validity in segwit transactions.\n\nUncompressed pubkeys are no longer supported in default relay policy,\nbut (for now) are still valid in blocks.', 'signature': 'def test_uncompressed_pubkey(self):'}...
0
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>_unary_map = {}
0
{'name': 'sync_blocks@qa/rpc-tests/test_framework/util.py', 'description': "Wait until everybody has the same tip.\n\nsync_blocks needs to be called with an rpc_connections set that has least\none node already synced to the latest, stable tip, otherwise there's a\nchance it might return before all nodes are stably sync...
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>{'name': 'inspect_package_contents@deb_pkg_tools/package.py', 'description': "Get the contents from a ``*...
0
{'name': 'gf_mult_noLUT_slow@reedsolo.py', 'description': "Multiplication in Galois Fields without using a precomputed look-up table (and thus it's slower) by using the standard carry-less multiplication + modular reduction using an irreducible prime polynomial.", 'signature': 'def gf_mult_noLUT_slow(x, y, prim=0):'}</...
0
{'name': 'dmtxVersion@pylibdmtx/wrapper.py', 'description': 'Returns the version of the libdmtx libraray\n\nReturns:\n str: Version string', 'signature': 'def dmtxVersion():'}</s>{'name': 'DmtxRegion@pylibdmtx/wrapper.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'Portal.get_device_by_property@os_brick/initiator/connectors/nvmeof.py', 'description': 'Look for a specific device (namespace) within a controller.\n\nUse a specific property to identify the namespace within the\ncontroller and returns the device path under /dev.\n\nReturns None if device is not found.', 'sig...
0
{'name': 'rpyFromMat@utils/mc_log_gui/mc_log_ui/mc_log_plotcanvas.py', 'description': 'Same as mc_rbdyn::rpyFromMat.', 'signature': 'def rpyFromMat(E):'}</s>{'name': 'rpyFromQuat@utils/mc_log_gui/mc_log_ui/mc_log_plotcanvas.py', 'description': 'Same as mc_rbdyn::rpyFromQuat.', 'code': 'def rpyFromQuat(quat):\n """Sa...
0
{'name': 'SciQuery.get_constraint_names@py3/SciServer/SciQuery.py', 'description': 'Gets a list of the names of table constraints in a particular database belonging to an RDBComputeDomain.', 'signature': 'def get_constraint_names(self, table_name, database=None, rdb_compute_domain=None):'}</s>{'name': 'KeystoneUser@py2...
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