text string | label int64 |
|---|---|
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>ICMP_REDIRECT_NET = 0 | 0 |
{'name': 'joblib_read_img_url@salem/utils.py', 'description': 'Prevent to re-download from GoogleStaticMap if it was done before', 'signature': 'def joblib_read_img_url(url):'}</s>{'name': 'str_in_list@salem/utils.py', 'description': "Check if one element of l1 is in l2 and if yes, returns the name of\nthat element in ... | 0 |
{'name': 'observations_to_image@habitat/utils/visualizations/utils.py', 'description': 'Generate image of single frame from observation and info\nreturned from a single environment step().\n\nArgs:\n observation: observation returned from an environment step().\n info: info returned from an environment step().\n ... | 0 |
{'name': 'locust_classes@transformer/locust.py', 'description': 'Transforms scenarios into all Python classes needed by Locust (TaskSet and\nLocust classes).\n\nThe only missing parts before a fully functional locustfile are:\n- integrating all necessary set-up/tear-down statements:\n - Python imports,\n - apply ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCACH_USER_ID = 3517 | 0 |
{'name': 'test_get_parts_geometry_collection_multi@pygeos/tests/test_geometry.py', 'description': 'On the first pass, the individual Multi* geometry objects are returned\nfrom the collection. On the second pass, the individual singular geometry\nobjects within those are returned.', 'signature': 'def test_get_parts_geo... | 0 |
{'name': 'post_comment@shingetsu/mch/post.py', 'description': 'Post article.', 'signature': 'def post_comment(env, thread_key, name, mail, body, passwd, tag=None):'}</s>admin_net = _get_value(_extconf, 'Gateway', 'admin_net', '::1, 127.0.0.1') | 0 |
{'name': 'apply_flt_dq@grizli/utils.py', 'description': 'Read and apply the compact exposure information file\n\nParameters\n----------\nfilename : str\n FLT/FLC filename.\n\nreplace : (str, str)\n Replace arguments for output DQ filename:\n\n >>> output_filename = filename.replace(replace[0], replace[1])\n\no... | 0 |
{'name': 'test_repr@voluptuous/tests/tests.py', 'description': 'Verify that __repr__ returns valid Python expressions', 'signature': 'def test_repr():'}</s>{'name': 'test_exact_sequence@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_exact_sequence():\n schema = Schema(ExactSequence([int, i... | 0 |
{'name': 'ReplContext.session_reset@click_repl/core.py', 'description': 'Resets values of :class:`~prompt_toolkit.session.PromptSession` to\nthe provided :attr:`~.prompt_kwargs`, discarding any changes done to the\n:class:`~prompt_toolkit.session.PromptSession` object.', 'signature': 'def session_reset(self) -> None:'}... | 0 |
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>OP_SH_SHAMTW = 20 | 0 |
{'name': 'MessageSetItemEncoder@python/google/protobuf/internal/encoder.py', 'description': 'Encoder for extensions of MessageSet.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n required int32 type_id = 2;\n required string message = 3;\n }\n }', 'sign... | 0 |
{'name': 'find_next_range@utils/file_utils.py', 'description': 'Finds the next value of the Range header\n:param content_range_header: The content-range header value returned in the response, ex. 0-1000/7181823761\n If None, the default Range header that is bytes=0-CHUNK_SIZE is returned\n:pa... | 0 |
{'name': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'test_not_in@voluptuous/tests/tests.py', 'description': 'Verify that NotIn works.', 'code': 'def test_not_in():\n """Ver... | 0 |
{'name': '_StreamBase.__enter__@sounddevice.py', 'description': 'Start the stream in the beginning of a "with" statement.', 'signature': 'def __enter__(self):'}</s>{'name': 'DeviceList@sounddevice.py', 'description': 'A list with information about all available audio devices.\n\nThis class is not meant to be instantia... | 0 |
{'name': 'fat.read_dentry@tools/fat16copy.py', 'description': 'Read and decode a dentry from the given file-like object at its current\nseek position.', 'signature': 'def read_dentry(self, f=None):'}</s>{'name': 'fat_dir@tools/fat16copy.py', 'description': 'A directory in our fat filesystem.', 'base_classes': ['object'... | 0 |
{'name': 'getShutterSetting@source/pi-timolo.py', 'description': 'Calculate a shutter speed based on image pixel average', 'signature': 'def getShutterSetting(pxAve):'}</s>MOTION_PATH = os.path.join(BASE_DIR, MOTION_DIR) | 0 |
{'name': 'cleanup_mems@panoramix/simplify.py', 'description': "for every setmem, replace future occurences of it with it's value,\nif possible", 'signature': 'def cleanup_mems(trace):'}</s>{'name': 'replace_var@panoramix/simplify.py', 'description': 'replace occurences of var, if possible', 'code': 'def replace_var(tra... | 0 |
{'name': 'ImageInfoViewSet.delete_image@vulfocus-api/dockerapi/views.py', 'description': '删除镜像\n:param request:\n:param pk:\n:return:', 'signature': 'def delete_image(self, request, pk=None):'}</s>{'name': 'TimeMoudel@vulfocus-api/dockerapi/models.py', 'description': '时间模式信息', 'base_classes': ['models.Model'], 'methods... | 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': 'user@backend-tests/tests/test_aws_iotcore.py', 'description': 'Create Mender user and create an AWS IoT Core integration in iot-manager using the connection string.', 'signature': 'def user(clean_mongo) -> Optional[User]:'}</s>{'name': 'create_tenant_test_setup@testutils/common.py', 'description': 'Creates a ... | 0 |
{'name': 'JalaliDate.fromisoformat@persiantools/jdatetime.py', 'description': 'Construct a JalaliDate from an ISO 8601 formatted date string.\n\nArgs:\n date_string (str): The date string in ISO 8601 format.\n\nReturns:\n JalaliDate: A JalaliDate object corresponding to the given date string.\n\nRaises:\n Type... | 0 |
{'name': 'test_reader_and_writer_noorder@tests/protocol/test_binary.py', 'description': 'Test serialization and deserialization for types\nthat have no guaranteed order.', 'signature': 'def test_reader_and_writer_noorder(spec, value):'}</s>{'name': 'ThriftProtocolError@thriftrw/errors.py', 'description': 'Exceptions ra... | 0 |
{'name': 'commandExists@example/STM32F051K4_linker/ideScripts/utilities.py', 'description': 'Checks if a command exists.', 'signature': 'def commandExists(command):'}</s>tasksPath = None | 0 |
{'name': 'test_make_importer@elpis/transformer/test_transformer.py', 'description': 'Use the make_importer function to create an importer data transformer.', 'signature': 'def test_make_importer(tdtaf, tmpdir):'}</s>{'name': 'test_make_exporter_non_existant@elpis/transformer/test_transformer.py', 'description': 'Using ... | 0 |
{'name': 'speed_camera@versions/speed-cam_12.06.py', 'description': 'Main speed camera processing function', 'signature': 'def speed_camera():'}</s>mypath = os.path.abspath(__file__) | 0 |
{'name': 'height_width@object_detection/core/box_list_ops.py', 'description': 'Computes height and width of boxes in boxlist.\n\nArgs:\n boxlist: BoxList holding N boxes\n scope: name scope.\n\nReturns:\n Height: A tensor with shape [N] representing box heights.\n Width: A tensor with shape [N] representing box wid... | 0 |
{'name': 'XLNetTokenizer.convert_tokens_to_string@small_nocls/pytorch_transformers/tokenization_xlnet.py', 'description': 'Converts a sequence of tokens (strings for sub-words) in a single string.', 'signature': 'def convert_tokens_to_string(self, tokens):'}</s>SEG_ID_PAD = 4 | 0 |
{'name': 'LC.compress@condensa/opt/lc/lc.py', 'description': 'Main L-C compression method.\n\n:param w: Input model.\n:type w: torch.nn.Module\n:param pi: Compression function.\n:param delta: Decompression function.\n:param trainloader: Training dataloader.\n:param testloader: Test dataloader.\n:param valloader: Valida... | 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': '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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_APPL_COUNT = 1089 | 0 |
{'name': 'make_plots@nanoplot/NanoPlot.py', 'description': 'Call plotting functions from nanoplotter\nsettings["lengths_pointer"] is a column in the DataFrame specifying which lengths to use', 'signature': 'def make_plots(datadf, settings):'}</s>{'name': 'CustomHelpFormatter@nanoplot/utils.py', 'description': 'DOCSTRIN... | 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': 'TestRegression.test_fancy_output@tests/test_regression.py', 'description': 'Test the descriptive statistics output in the results file for a regressor.', 'signature': 'def test_fancy_output(self):'}</s>{'name': 'Learner@skll/learner/__init__.py', 'description': 'A simpler interface around scikit-learn classif... | 1 |
{'name': 'parseMappingFile@amptk/amptklib.py', 'description': 'function to parse mapping file pull out primers and barcode sequences', 'signature': 'def parseMappingFile(input, output):'}</s>{'name': 'checkfastqsize@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def checkfastqsize(input):\n filesize = os.p... | 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': 'GTestFilterUnitTest.RunAndVerify@swap-ssdb-1.9.2/tests/googletest/googletest/test/gtest_filter_unittest.py', 'description': 'Checks that the binary runs correct set of tests for a given filter.', 'signature': 'def RunAndVerify(self, gtest_filter, tests_to_run):'}</s>TEST_REGEX = re.compile(r'^\[\s*RUN\s*\].*\... | 0 |
{'name': 'Application._perform_deferred_reload@robopianist/viewer/application.py', 'description': 'Performs the deferred part of initialization related to Physics reload.\n\nArgs:\n params: Deferred reload parameters, an instance of ReloadParams.', 'signature': 'def _perform_deferred_reload(self, params):'}</s>_PREV_R... | 0 |
{'name': 'write_row@django_tables2_reports/csv_to_xls/pyexcelerator_converter.py', 'description': 'Write a non-header row into the worksheet ', 'signature': "def write_row(worksheet, lno, columns, encoding='utf-8'):"}</s>{'name': 'convert@django_tables2_reports/csv_to_xls/pyexcelerator_converter.py', 'description': 'DO... | 0 |
{'name': 'send_to_modchat@tor/core/helpers.py', 'description': "Send a message to #general on ToR mod chat.\n\n:param message: String; the message that is to be encoded\n:param cfg: the global config dict.\n:param channel: String; the name of the channel to send to. '#' optional.\n:return: None.", 'signature': 'def sen... | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.\n\nIf the package uses a different cmdclass (e.g. one from numpy), it\nshould be provide as an argument.', 'signature': 'def get_cmdclass(cmdclass=None):'}</s>OLD_SNIPPET = "
from ._version import g... | 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': 'cblaster@cblaster/main.py', 'description': "Run cblaster.\n\nThis function is the central workflow for the entire cblaster package.\n\nArguments:\n query_file (str): Path to FASTA format query file\n query_ids (list): NCBI protein sequence identifiers\n query_profiles(list): Pfam profile identifiers\... | 0 |
{'name': 'subdir_checks@source/speed-cam.py', 'description': 'Check if motion SubDir needs to be created', 'signature': 'def subdir_checks(maxHours, maxFiles, directory, prefix):'}</s>QUOTE = """ | 0 |
{'name': 'cosmic@gget/gget_cosmic.py', 'description': 'Search for genes, mutations, etc associated with cancers using the COSMIC\n(Catalogue Of Somatic Mutations In Cancer) database\n(https://cancer.sanger.ac.uk/cosmic).\nNOTE: Licence fees apply for the commercial use of COSMIC.\nNOTE: Interacting with COSMIC requires... | 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': 'draw_logo@pyseqlogo/pyseqlogo.py', 'description': "Draw sequence logo\n\nParameters\n----------\n\ndata : str or dict or matrix\n\ndata_type : str\n Options : 'msa', 'meme', 'jaspar', 'counts', 'pwm', 'pfm', 'ic'\n\nyaxis : str\n Type of plot. Options : 'probability', 'bits'\n\ncolorscheme : str\n Co... | 0 |
{'name': 'simplify_symmetric_case@research/2019_05_08_performance_checks/src/vqf/preprocessing.py', 'description': 'Simplifies expressions if p_dict and q_dict are "symmetric".\n\nExample: numbers p = [1, x, 1] and q = [1, 1-x, 1] are symmetric, since \nif multiplied, they will produce the same result regardless of the... | 0 |
{'name': 'test_genetic_operations@gplearn/tests/test_genetic.py', 'description': "Check all genetic operations are stable and don't change programs", 'signature': 'def test_genetic_operations():'}</s>{'name': 'test_validate_program@gplearn/tests/test_genetic.py', 'description': 'Check that valid programs are accepted &... | 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': 'HTTPException.name@venv/Lib/site-packages/werkzeug/exceptions.py', 'description': 'The status name.', 'signature': 'def name(self):'}</s>default_exceptions = {} | 0 |
{'name': 'test_iterator_passthrough@3rdparty/pybind11/tests/test_sequences_and_iterators.py', 'description': '#181: iterator passthrough did not compile', 'signature': 'def test_iterator_passthrough():'}</s>{'name': 'test_nonref_iterators@3rdparty/pybind11/tests/test_sequences_and_iterators.py', 'description': 'DOCSTRI... | 0 |
{'name': 'ZipPreviewBuilder.build_json_preview@preview_generator/preview/builder/archive__zip.py', 'description': 'generate the json preview', 'signature': 'def build_json_preview('}</s>{'name': 'ZipPreviewBuilder@preview_generator/preview/builder/archive__zip.py', 'description': 'DOCSTRING', 'base_classes': ['OnePageP... | 1 |
{'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': 'update_weights_gd@chapter5/logistic_regression_from_scratch.py', 'description': 'Update weights by one step', 'signature': 'def update_weights_gd(X_train, y_train, weights, learning_rate):'}</s>X_test = np.array([[6, 1],
[1, 3],
[3, 1],
[4, 5]]) | 0 |
{'name': 'run@utils/data_preparation_rdf_type.py', 'description': ' Main script which calls and does everything.\n:return: nothing', 'signature': 'def run():'}</s>STOPWORDLIST = "resources/stopwords.txt" | 0 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': '_SignedVarintSize@python/google/protobuf/internal/encoder.py', 'description': 'Compute the size of a signed varint valu... | 0 |
{'name': 'RandomInitializer.get_goal@python/rrc_simulation/gym_wrapper/envs/cube_env.py', 'description': 'Get a random goal depending on the difficulty.', 'signature': 'def get_goal(self):'}</s>_max_height = 0.1 | 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': 'plot_sounding_data_csv@pymeteo/skewt.py', 'description': 'Plot SkewT from a CSV sounding data file\n\n:param filename: The name of the file to open.\n:type filename: str\n:param output: The name of the file to output plot\n:type output: str\n\nThe datafile format is CSV with the following columns: \n\n- press... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQENC_S390 = MQENC_FLOAT_S390 | MQENC_DECIMAL_NORMAL | MQENC_INTEGER_NORMAL | 0 |
{'name': 'Metric.compute_util_metric_on_sql@metrics.py', 'description': 'Computes a util metric with caching and filtering handled correctly.', 'signature': 'def compute_util_metric_on_sql('}</s>{'name': 'Variance@metrics.py', 'description': 'Variance estimator.\n\nAttributes:\n var: Column to compute on.\n ddof: Deg... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQUOWT_CICS = 1 | 0 |
{'name': 'is_contained@bioframe/core/checks.py', 'description': 'Tests if all genomic intervals in a bioframe `df` are cataloged and do not\nextend beyond their associated region in the view `view_df`.\n\nParameters\n----------\ndf : pandas.DataFrame\n\nview_df : pandas.DataFrame\n Valid viewframe.\n\nraise_errors :... | 0 |
{'name': 'encode_str@wrappers/python/indy_vdr/bindings.py', 'description': 'Encode an optional input argument as a string.\n\nReturns: None if the argument is None, otherwise the value encoded utf-8.', 'signature': 'def encode_str(arg: Optional[Union[str, bytes]]) -> c_char_p:'}</s>{'name': 'request_get_signature_input... | 0 |
{'name': '_NeedToReturnNothingDiagnoser@3rdparty/googletest/googlemock/scripts/gmock_doctor.py', 'description': 'Diagnoses the NRN disease, given the error messages by the compiler.', 'signature': 'def _NeedToReturnNothingDiagnoser(msg):'}</s>_CLANG_FILE_LINE_RE = "(?P<file>.*):(?P<line>\d+):(?P<column>\d+):\s+" | 0 |
{'name': 'validate_security_groups@verify_security_groups.py', 'description': 'Validate the security groups by printing them out.\n\nArgs:\n matching_entries (List[Dict[str, Any]]): A list of dictionaries representing the matching CSV entries.\nReturns:\n List of everything we validated\nRaises:\n ... | 1 |
{'name': '_lookup_module@dill/session.py', 'description': 'lookup name or id of obj if module is imported', 'signature': 'def _lookup_module(modmap, name, obj, main_module):'}</s>{'name': 'save_weakproxy@dill/_dill.py', 'description': 'DOCSTRING', 'code': 'def save_weakproxy(pickler, obj):\n # Must do string substit... | 0 |
{'name': 'CheckStyle@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside co... | 0 |
{'name': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\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.', 'signature... | 0 |
{'name': 'NormalizedConfiguration.__init__@config/parse.py', 'description': 'Normalize a JSON configuration in preparation for parsing ', 'signature': 'def __init__(self, config_file, verbose=False):'}</s>{'name': 'path_end_in@config/parse.py', 'description': 'DOCSTRING', 'code': "def path_end_in(path, end_name, key='l... | 0 |
{'name': 'seed_everything@pix2tex/utils/utils.py', 'description': 'Seed all RNGs\n\nArgs:\n seed (int): seed', 'signature': 'def seed_everything(seed: int):'}</s>{'name': 'token2str@pix2tex/utils/utils.py', 'description': 'DOCSTRING', 'code': "def token2str(tokens, tokenizer) -> list:\n if len(tokens.shape) == 1:... | 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>MQZAC_CURRENT_VERSION = 1 | 0 |
{'name': 'Icdar15Text.parse_txt@dataset/Icdar15_Text.py', 'description': '.mat file parser\n:param gt_path: (str), mat file path\n:return: (list), TextInstance', 'signature': 'def parse_txt(gt_path):'}</s>{'name': 'to_uppercase@util/strs.py', 'description': 'DOCSTRING', 'code': 'def to_uppercase(s):\n return str.upp... | 0 |
{'name': 'check_explicit_underscore_import@designateclient/hacking/checks.py', 'description': "Check for explicit import of the _ function\n\nWe need to ensure that any files that are using the _() function\nto translate logs are explicitly importing the _ function. We\ncan't trust unit test to catch whether the impor... | 1 |
{'name': 'Client.pre_hook@iredis/client.py', 'description': 'Before execute command, patch completers first.\nEg: When user run `GET foo`, key completer need to\n touch foo.\n\nOnly works when compile-grammar thread is done.', 'signature': 'def pre_hook(self, command, command_name, args, completer: IRedisCompleter):'}... | 0 |
{'name': 'now@yaql/standard_library/date_time.py', 'description': ':yaql:now\n\nReturns the current local date and time.\n\n:signature: now(offset => timespan(0))\n:arg offset: datetime offset in microsecond resolution, needed for tzinfo,\n timespan(0) by default\n:argType offset: timespan type\n:returnType: datetim... | 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': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>ND_REDIRECT_ROUTER = 1 | 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>MQSYSP_ALLOC_TRK = 21 | 0 |
{'name': 'PterodactylClient.__init__@pydactyl/api_client.py', 'description': 'Initialize a Pterodactyl class instance.\n\nArgs:\n url(str): The base URL of the panel to connect to.\n api_key(str): Pterodactyl Panel API key.\n backoff_factor(int): urllib3 retry backoff_factor\n retries(int): maximum number o... | 1 |
{'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>unsat = CheckSatResult(Z3_L_FALSE) | 0 |
{'name': 'PhonoBase.get_path_using_seek_path@phonolammps/__init__.py', 'description': 'Obtain the path in reciprocal space to plot the phonon band structure\n\n:return: dictionary with list of q-points and labels of high symmetry points', 'signature': 'def get_path_using_seek_path(self):'}</s>{'name': 'rebuild_connecti... | 0 |
{'name': 'convert_inspirations@code/html/generate_static_website.py', 'description': ':param inspirations:\n:param entries:\n:return:', 'signature': 'def convert_inspirations(inspirations, entries):'}</s>extra = "0" | 0 |
{'name': 'cal_mcep@utils/preprocess_world.py', 'description': 'cal mcep given wav singnal\nthe frame_period used only for pad_wav_to_get_fixed_frames', 'signature': 'def cal_mcep(wav, sr=SAMPLE_RATE, dim=FEATURE_DIM, fft_size=FFTSIZE):'}</s>{'name': 'db_to_amp@utils/audio_utils.py', 'description': 'DOCSTRING', 'code': ... | 0 |
{'name': 'rv_class_map@pelicun/uq.py', 'description': 'Map convenient distributions to their corresponding class.\n\nParameters\n----------\ndistribution_name: str\n The name of a distribution.\n\nReturns\n-------\ntype[RandomVariable | UtilityRandomVariable]\n The class of the corresponding random variable.\n\nR... | 0 |
{'name': 'Region.__add__@polytope/polytope.py', 'description': 'Return union with Polytope or Region.\n\nApplies convex simplification if possible.\nTo turn off this check,\nuse Region.union\n\n@type other: L{Polytope} or L{Region}\n@rtype: L{Region}', 'signature': 'def __add__(self, other):'}</s>{'name': 'projection_f... | 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>MQCA_REMOTE_Q_MGR_NAME = 2017 | 0 |
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>PF_SK_WIRE = 0 | 0 |
{'name': 'train_one_epoch@action_cls/train.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def train_one_epoch(sess, ops, train_writer):'}</s>{'name': 'eval_one_epoch@action_cls/train.py', 'description': 'ops: dict mapping from string to tf ops ', 'code': 'def eval_one_epoch(sess, ops, tes... | 0 |
{'name': 'readBenchmarkLog@moveit_ros/benchmarks/scripts/moveit_benchmark_statistics.py', 'description': 'Parse benchmark log files and store the parsed data in a sqlite3 database.', 'signature': 'def readBenchmarkLog(dbname, filenames):'}</s>{'name': 'readRequiredMultilineValue@moveit_ros/benchmarks/scripts/moveit_ben... | 0 |
{'name': 'Plant.pick_petal@src/astrobotany/models.py', 'description': "Pick a petal from a flowering plant.\n\nArgs:\n user: The user picking the petal, if not the plant's owner.\n\nReturns: A string with a description of the resulting action.", 'signature': 'def pick_petal(self, user: User | None = None) -> str:'}<... | 0 |
{'name': 'ProcessGlobalSuppresions@tools/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 if the file is... | 0 |
{'name': 'GCEDiskFromImageTest.testProcessFromParams@tests/lib/exporters/gce_disk_from_image.py', 'description': "Tests the exporter's Process() function when the list comes from\npassed in parameters.", 'signature': 'def testProcessFromParams(self,'}</s>FAKE_DISK_CREATION_RESPONSES = [
compute.GoogleComputeDisk(FA... | 1 |
{'name': 'Adam_GCC.step@GC_code/CIFAR100/algorithm/Adam.py', 'description': 'Performs a single optimization step.\n\nArguments:\n closure (callable, optional): A closure that reevaluates the model\n and returns the loss.', 'signature': 'def step(self, closure=None):'}</s>{'name': 'AdamW_GC@GC_code/CIFAR100/al... | 0 |
{'name': 'Grid.face_node_connectivity@uxarray/grid/grid.py', 'description': 'Indices of the nodes that make up each face.\n\nDimensions: ``(n_face, n_max_face_nodes)``\n\nNodes are in counter-clockwise order.', 'signature': 'def face_node_connectivity(self) -> xr.DataArray:'}</s>EDGE_LON_ATTRS = {
"standard_name": ... | 0 |
{'name': 'process_bool@packstack/installer/processors.py', 'description': 'Converts param to appropriate boolean representation.\n\nRetunrs True if answer == y|yes|true, False if answer == n|no|false.', 'signature': 'def process_bool(param, param_name, config=None):'}</s>{'name': 'NetworkError@packstack/installer/excep... | 0 |
{'name': 'handle_control_command@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Handle command from control channel', 'signature': 'def handle_control_command(sniffer, arg, typ, payload):'}</s>{'name': 'listToString@tools/ble_sniffer/extcap/SnifferAPI/Devices.py', 'description': 'DOCSTRING', 'code': 'def... | 0 |
{'name': 'RemoveMultiLineCommentsFromRange@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Clears a range of lines for multi-line comments.', 'signature': 'def RemoveMultiLineCommentsFromRange(lines, begin, end):'}</s>_include_order = "default" | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.