text string | label int64 |
|---|---|
{'name': '_IncludeState.CheckNextIncludeOrder@scripts/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants defined above.\n\nRe... | 0 |
{'name': 'Server.__init__@python/couchdb-python/couchdb/client.py', 'description': 'Initialize the server object.\n\n:param url: the URI of the server (for example\n ``http://localhost:5984/``)\n:param full_commit: turn on the X-Couch-Full-Commit header\n:param session: an http.Session instance or None for a... | 0 |
{'name': 'browser@cloud_browser/views.py', 'description': 'View files in a file path.\n\n:param request: The request.\n:param path: Path to resource, including container as first part of path.\n:param template: Template to render.', 'signature': 'def browser(request, path="", template="cloud_browser/browser.html"):'}</... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQFMT_XMIT_Q_HEADER_ARRAY = [b"M", b"Q", b"X", b"M", b"I", b"T", b" ", b" "] | 0 |
{'name': '_decompile_with_loader@panoramix/decompiler.py', 'description': "But the main decompilation process looks like this:\n\n loader = Loader()\n loader.load(this_addr)\n\nloader.lines contains disassembled lines now\n\n loader.run(VM(loader, just_fdests=True))\n\nAfter this, loader.func_list contains a l... | 0 |
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>LJ_chCOMM_POWER_LEVEL = 1 | 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': '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': 'temporal_iou@utils/viz.py', 'description': 'Calculates the intersection over union of two temporal "bounding boxes"\n\nspan_A: (start, end)\nspan_B: (start, end)', 'signature': 'def temporal_iou(span_A, span_B):'}</s>{'name': 'sample_visual_data@utils/viz.py', 'description': 'DOCSTRING', 'code': "def sample_v... | 0 |
{'name': 'get_reader@meza/io.py', 'description': "Gets the appropriate reader for a given file extension.\n\nArgs:\n extension (str): The file extension.\n\nReturns:\n func: The file reading function\n\nSee also:\n `meza.io.read`\n\nRaises:\n TypeError: If unable to find a suitable reader.\n\nExamples:\n ... | 0 |
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'print_matrix@src/api/python/z3/z3printer.py', 'description': 'DOCSTRING', 'code': 'def print_matrix(m):\n _z3_assert(isinstance(m, list) or isinstance(m, tu... | 0 |
{'name': 'TestIdealisedCases.test_cliff@oggm/tests/test_numerics.py', 'description': 'a test case for mass conservation in the flowline models\nthe idea is to introduce a cliff in the sloping bed and see\nwhat the models do when the cliff height is changed', 'signature': 'def test_cliff(self):'}</s>_doc = "A geotiff fi... | 0 |
{'name': 'xlsx2html@xlsx2html/core.py', 'description': ':param filepath: the path to open or a file-like object\n:type filepath: string or a file-like object open in binary mode c.f., :class:`zipfile.ZipFile`\n:param output: the path to open or a file-like object\n:param locale: string or a file-like object open in bin... | 0 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>PF_LOG_ALL = 2 | 0 |
{'name': '_EpanetRule.add_control_condition@wntr/epanet/io.py', 'description': 'Add a ControlCondition from an IfThenElseControl', 'signature': "def add_control_condition(self, condition, prefix=' IF'):"}</s>_RES_LABEL = "{:21s} {:>20s} {:>24s}
" | 0 |
{'name': 'test_default_ignore@tests/test_ignore.py', 'description': 'tests that .DS_Store and ascmhl/ fs entries are ignored from the mhl spec', 'signature': 'def test_default_ignore(temp_tree):'}</s>{'name': 'log_child_histories@ascmhl/commands.py', 'description': 'DOCSTRING', 'code': 'def log_child_histories(history)... | 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': 'short_replace@vendor/k8s.io/kubectl/pkg/util/i18n/translations/extract.py', 'description': 'Replace a Short: ... cobra command description with an internationalization\n ', 'signature': 'def short_replace(match, file, line_number):'}</s>{'name': 'string_flag_replace@vendor/k8s.io/kubectl/pkg/util/i18n/tran... | 0 |
{'name': 'Dispatch.__getattr__@comtypes/client/lazybind.py', 'description': 'Get a COM attribute.', 'signature': 'def __getattr__(self, name):'}</s>{'name': 'IDispatch@comtypes/automation.py', 'description': 'DOCSTRING', 'base_classes': ['IUnknown'], 'methods': [{'name': 'IDispatch.GetTypeInfo@comtypes/automation.py', ... | 0 |
{'name': 'localtime@tool/mkarchive.py', 'description': 'Return YYYY-mm-dd HH:MM.', 'signature': 'def localtime(stamp=0):'}</s>admin_search = run_dir + "/admintouch.txt" | 0 |
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>{'name': '_addDefaultsToMaskedValueSet@packstack/installer/run_setup.py', 'de... | 0 |
{'name': 'Sv1Product.get_quicklook_path@eoreader/products/optical/sv1_product.py', 'description': 'Get quicklook path if existing.\n\nReturns:\n str: Quicklook path', 'signature': 'def get_quicklook_path(self) -> str:'}</s>{'name': 'InvalidProductError@eoreader/exceptions.py', 'description': 'Invalid Product error, ... | 0 |
{'name': 'AdalineSGD.activation@Chapter02/ch02.py', 'description': 'Compute linear activation', 'signature': 'def activation(self, X):'}</s>df = pd.read_csv('iris.data', header=None) | 0 |
{'name': 'babel_extract@third_party/dawn/third_party/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n try to find th... | 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': 'RosterGenerator.__init__@rosters/logic.py', 'description': 'Create starting conditions.', 'signature': 'def __init__(self, start_date):'}</s>{'name': 'Day@rosters/models.py', 'description': 'Day.', 'base_classes': ['models.Model'], 'methods': [{'name': 'Day.__str__@rosters/models.py', 'description': 'Return a... | 1 |
{'name': 'SerialConnectorPrimitive.__init__@src/htrun/host_tests_conn_proxy/conn_primitive_serial.py', 'description': 'Initialise with serial params.\n\nArgs:\n name: Target name to display in the log.\n port: Serial COM port.\n baudrate: Baudrate to use for serial comms.\n config: Map of config parameters ... | 1 |
{'name': 'KadenzeClient.download_all_courses_videos@kadenze_dl/kadenzeclient.py', 'description': 'main function to download all courses videos', 'signature': 'def download_all_courses_videos(self) -> None: # pragma: no cover'}</s>{'name': 'KadenzeClient@kadenze_dl/kadenzeclient.py', 'description': 'DOCSTRING', 'base_c... | 1 |
{'name': 'HyASTCompiler._compile_collect@hy/compiler.py', 'description': 'Collect the expression contexts from a list of compiled expression.\n\nThis returns a list of the expression contexts, and the sum of the\nResult objects passed as arguments.', 'signature': 'def _compile_collect(self, exprs, with_kwargs=False, di... | 0 |
{'name': 'loadConfig@apim-traffic-tool/lib/traffic-tool/src/python/gen_invoke_data.py', 'description': 'This function will load and set the configuration data\n:return: None', 'signature': 'def loadConfig():'}</s>{'name': 'runInvoker@apim-traffic-tool/lib/traffic-tool/src/python/gen_invoke_data.py', 'description': 'Thi... | 0 |
{'name': 'sniffer_capture@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Start the sniffer to capture packets', 'signature': 'def sniffer_capture(interface, baudrate, fifo, control_in, control_out):'}</s>CTRL_KEY_TYPE_OOB = 1 | 0 |
{'name': 'AvatarAdorner._embed_face@fame/avatar.py', 'description': "Embeds referenced face image into the SVG.\n\nBrowsers don't display referenced images in <img>.", 'signature': 'def _embed_face(self):'}</s>{'name': 'register_svg_namespaces@fame/avatar.py', 'description': 'Some global initiaization.', 'code': 'def r... | 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 ... | 0 |
{'name': 'Parser.parser@armatis/parser.py', 'description': 'The module for parsing the response of the API request\n\n:param str doc: The response of the API request\n:return: The module for parsing the response', 'signature': 'def parser(self, doc):'}</s>{'name': 'Parcel@armatis/models.py', 'description': 'DOCSTRING',... | 0 |
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>INFO_STRING_CONTAINS_ILLEGAL_CHARS = "String contains illegal characters" | 0 |
{'name': 'Connection.cursor@trino/dbapi.py', 'description': 'Return a new :py:class:`Cursor` object using the connection.', 'signature': 'def cursor(self, cursor_style: str = "row", legacy_primitive_types: bool = None):'}</s>ROWID = DBAPITypeObject() | 0 |
{'name': 'Builtins.from_defaults@lib/rule_engine/builtins.py', 'description': 'Initialize a :py:class:`Builtins` instance with a set of default values.', 'signature': 'def from_defaults(cls, values=None, **kwargs):'}</s>{'name': 'EngineError@lib/rule_engine/errors.py', 'description': 'The base exception class from whic... | 0 |
{'name': 'ReadAlignmentStats.getReadAlignmentStats@src/margin/utils.py', 'description': 'Gets a list of ReadAlignmentStats objects, one for each alignment in the same file\n ', 'signature': 'def getReadAlignmentStats(samFile, readFastqFile, referenceFastaFile, globalAlignment=True):'}</s>{'name': 'makeFastaSeque... | 0 |
{'name': '_get_wrapper@src/betterproto/__init__.py', 'description': 'Get the wrapper message class for a wrapped type.', 'signature': 'def _get_wrapper(proto_type: str) -> Type:'}</s>{'name': 'fixed32_field@src/betterproto/__init__.py', 'description': 'DOCSTRING', 'code': 'def fixed32_field(\n number: int, group: Op... | 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': 'p_identifier_list@ctypesgen/parser/cgrammar.py', 'description': 'identifier_list : IDENTIFIER\n| identifier_list COMMA IDENTIFIER', 'signature': 'def p_identifier_list(p):'}</s>{'name': 'ParameterExpressionNode@ctypesgen/expressions.py', 'description': 'DOCSTRING', 'base_classes': ['ExpressionNode'], 'methods... | 0 |
{'name': 'SensorHandler.start_arm_timer@custom_components/alarmo/sensors.py', 'description': 'start timer for automatical arming', 'signature': 'def start_arm_timer(self, entity):'}</s>SERVICE_ENABLE_USER = "enable_user" | 0 |
{'name': 'minimal_init@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard', 'signature': 'def minimal_init():'}</s>{'name': 'find_idle_channel@soundrts/lib/sound.py', 'description': 'DOCSTRING', 'code': "def find_idle_channel():\n # because pygame.mixer.find_channel() d... | 0 |
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'slice_pattern_to_order@src/python_scripts/afnipy/afni_util.py', '... | 0 |
{'name': 'copy@examples/python/ggml/utils.py', 'description': 'Copy the contents of one tensor to another, doing any necessary (de/re)quantization transparently.\nWorks across numpy & ggml tensors, but they must have the same shape (and be contiguous).\n\nParameters\n----------\nfrom_tensor : TensorLike\n The tensor... | 1 |
{'name': 'CardPredictor.img_first_pre@lib/img_function.py', 'description': ':param car_pic_file: 图像文件\n:return:已经处理好的图像文件 原图像文件', 'signature': 'def img_first_pre(self, car_pic_file):'}</s>SZ = 20 | 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': '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>MATCH_AMOMINU_D = 3221237807 | 0 |
{'name': 'train@pygad/nn/nn.py', 'description': 'Trains the neural network.\n\nnum_epochs: Number of epochs.\nlast_layer: Reference to the last (output) layer in the network architecture.\ndata_inputs: Data features.\ndata_outputs: Data outputs.\nproblem_type: Can be either classification or regression to define the pr... | 0 |
{'name': 'parseUrlPath@ide/routes.py', 'description': "This is boiler plate code for a lot of the route handlers.\n\nAll these handlers require a user, but there's also the authenticated user.\n\nInputs:\n theRegExp: A regular expression to evaluate the path\n numGroups: How many groups are in the regexp.\n \n... | 1 |
{'name': '_nested_lookup@src/libs/util.py', 'description': 'Lookup a key in a nested document, yield a value', 'signature': 'def _nested_lookup(key, values, document, wild=False, return_parent=False):'}</s>{'name': 'prev_line_is_empty@src/libs/util.py', 'description': 'DOCSTRING', 'code': 'def prev_line_is_empty(view, ... | 0 |
{'name': 'main@parallel_wavegan/bin/train.py', 'description': 'Run training process.', 'signature': 'def main():'}</s>{'name': 'AudioMelF0ExcitationDataset@parallel_wavegan/datasets/audio_mel_dataset.py', 'description': 'PyTorch compatible audio and mel dataset.', 'base_classes': ['Dataset'], 'methods': [{'name': 'Audi... | 1 |
{'name': 'MethodReferenceSyntaxTest.test_method_reference_to_the_new_method_with_explict_type@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': "test support for method references to 'new' with an\nexplicit type.", 'signature': 'def test_method_reference_to_the_new_method_with_explict_type(self... | 0 |
{'name': '_SimpleDecoder@python/google/protobuf/internal/decoder.py', 'description': "Return a constructor for a decoder for fields of a particular type.\n\nArgs:\n wire_type: The field's wire type.\n decode_value: A function which decodes an individual value, e.g.\n _DecodeVarint()", 'signature': 'def _Si... | 0 |
{'name': 'Sphere.hit@pyrt/geometry/sphere.py', 'description': 'Hit ray with sphere.\n\n:param ray: the ray to check hit\n:param hitrecord: the hitrecord which is only valid if there is a hit\n:return: True if there is a hit', 'signature': 'def hit(self, ray: Ray, hitrecord: HitRecord) -> bool:'}</s>{'name': 'Vec2@pyrt/... | 0 |
{'name': 'UtilityServer.start@src/service_api/python/jsonrpclib/tests/utilities.py', 'description': 'Starts the server\n\n:param addr: A binding address\n:param port: A listening port\n:return: This object (for in-line calls)', 'signature': 'def start(self, addr, port):'}</s>{'name': 'UtilityServer@src/service_api/pyth... | 1 |
{'name': 'PostgresNode.default_conf@testgres/node.py', 'description': "Apply default settings to this node.\n\nArgs:\n fsync: should this node use fsync to keep data safe?\n unix_sockets: should we enable UNIX sockets?\n allow_streaming: should this node add a hba entry for replication?\n allow_logical: can... | 1 |
{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>STATUS_DELAY = "delay" | 0 |
{'name': 'BlockManager.blocking@friendship/models.py', 'description': 'Return a list of all users the given user blocks', 'signature': 'def blocking(self, user):'}</s>CACHE_TYPES = {
"friends": "f-%s",
"followers": "fo-%s",
"following": "fl-%s",
"blocks": "b-%s",
"blocked": "bo-%s",
"blocking": ... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIAMO64_MONITOR_INTERVAL = 845 | 0 |
{'name': 'Bottle._cast@src/back/kite/bottle.py', 'description': 'Try to convert the parameter into something WSGI compatible and set\ncorrect HTTP headers when possible.\nSupport: False, str, unicode, dict, HTTPResponse, HTTPError, file-like,\niterable of strings and iterable of unicodes', 'signature': 'def _cast(self,... | 0 |
{'name': 'write_voc_results_file@libs/val_libs/voc_eval.py', 'description': ':param all_boxes: is a list. each item reprensent the detections of a img.\nthe detections is a array. shape is [-1, 6]. [category, score, xmin, ymin, xmax, ymax]\nNote that: if none detections in this img. that the detetions is : []\n\n:param... | 0 |
{'name': 'TaprootTest.gen_test_vectors@test/functional/feature_taproot.py', 'description': 'Run a scenario that corresponds (and optionally produces) to BIP341 test vectors.', 'signature': 'def gen_test_vectors(self):'}</s>WITNESS_SCALE_FACTOR = 4 | 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>MSBFi... | 0 |
{'name': 'SendMessage._change_name_workflow@py/send_message.py', 'description': 'Invoke change name workfow.', 'signature': 'def _change_name_workflow(self, name: Optional[str] = None) -> None:'}</s>BITBOX02PLUS_BTC_BOOTLOADER = "bb02p-bl-btconly" | 0 |
{'name': 'CSSParser.selector_iter@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Iterate selector tokens.', 'signature': 'def selector_iter(self, pattern):'}</s>FLG_PSEUDO = 1 | 0 |
{'name': 'test_factory_import_directory_correct_arguments@elpis/transformer/test_transformer.py', 'description': 'Test if the import_directory decorator raises an error when the arguments of\nthe decorated function are not correct.', 'signature': 'def test_factory_import_directory_correct_arguments(tdtaf):'}</s>{'name'... | 0 |
{'name': 'replace@yaql/standard_library/date_time.py', 'description': ':yaql:replace\n\nReturns datetime object with applied replacements.\n\n:signature: dt.replace(year => null, month => null, day => null,\n hour => null, minute => null, second => null,\n microsecond => null... | 0 |
{'name': 'test_ecog@autoreject/tests/test_autoreject.py', 'description': 'Test that autoreject runs on ECoG and sEEG data.', 'signature': 'def test_ecog(ch_type):'}</s>{'name': 'get_rejection_threshold@autoreject/autoreject.py', 'description': "Compute global rejection thresholds.\n\nParameters\n----------\nepochs : mn... | 1 |
{'name': 'to_pretty_midi_time_signature@muspy/outputs/midi.py', 'description': 'Return a TimeSignature object as a pretty_midi TimeSignature.', 'signature': 'def to_pretty_midi_time_signature('}</s>{'name': 'Track@muspy/classes.py', 'description': 'A container for music track.\n\nAttributes\n----------\nprogram : int, ... | 0 |
{'name': 'CheckComment@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Checks for common mistakes in TODO comments.\n\nArgs:\n comment: The text of the comment from the line in question.\n filename: The name of the current file.\n linenum: The number of the line to check.\n error: The function to call ... | 0 |
{'name': 'DetectionNetwork.postprocess_fastrcnn@libs/networks/build_whole_network.py', 'description': ':param rois:[-1, 4]\n:param bbox_ppred: [-1, (cfgs.Class_num+1) * 4]\n:param scores: [-1, cfgs.Class_num + 1]\n:return:', 'signature': 'def postprocess_fastrcnn(self, rois, bbox_ppred, scores, img_shape):'}</s>PRETRAI... | 0 |
{'name': 'transformer_model@language_model/bert/modeling.py', 'description': 'Multi-headed, multi-layer Transformer from "Attention is All You Need".\n\nThis is almost an exact implementation of the original Transformer encoder.\n\nSee the original paper:\nhttps://arxiv.org/abs/1706.03762\n\nAlso see:\nhttps://github.c... | 1 |
{'name': 'TestMSONable.test_save_load@tests/test_json.py', 'description': 'Tests the save and load serialization methods.', 'signature': 'def test_save_load(self, tmp_path):'}</s>{'name': 'EnumTest@tests/test_json.py', 'description': 'DOCSTRING', 'base_classes': ['MSONable', 'Enum'], 'methods': []} | 0 |
{'name': 'Message.to_pydict@src/betterproto/__init__.py', 'description': 'Returns a python 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: :class:`bool... | 0 |
{'name': 'TBDeviceMqttClient.send_attributes@tb_device_mqtt.py', 'description': 'Send attributes to ThingsBoard. The attributes can be a single dictionary or a list of dictionaries.', 'signature': 'def send_attributes(self, attributes, quality_of_service=None, wait_for_publish=True):'}</s>{'name': 'TBQoSException@tb_de... | 0 |
{'name': 'optimize_jpg@optimize_images/img_optimize_jpg.py', 'description': 'Try to reduce file size of a JPG image.\n\nExpects a Task object containing all the parameters for the image processing.\n\nIf file reduction is successful, this function will replace the original\nfile with the optimized version and return so... | 1 |
{'name': 'View.undrift_from_picked2d@picasso/gui/render.py', 'description': 'Undrifts in x and y based on picked locs in a given channel.\nAvailable when 3D data is loaded.', 'signature': 'def undrift_from_picked2d(self):'}</s>{'name': 'Window@picasso/gui/render.py', 'description': "Main Picasso: Render window class.\n... | 0 |
{'name': 'aggregateUMIsPseudobulks@pipelines/pipeline_scxl.py', 'description': 'Aggregate UMI counts across cells within cluster to form pseudobulks.\n\nUseful for performing e.g. DESeq2 analysis of clusters from\nmultiple samples.', 'signature': 'def aggregateUMIsPseudobulks(infile, outfile):'}</s>{'name': 'genAnndata... | 0 |
{'name': 'buttonClick@main.py', 'description': '按钮事件都绑定在这里了\n:return:', 'signature': 'def buttonClick():'}</s>{'name': 'take_middle_text@TFT.py', 'description': 'DOCSTRING', 'code': "def take_middle_text(txt,txt_s,txt_e='',seeks=0,seeke=0):#取中间文本函数\n try:\n if txt_e or seeks or seeke:\n pass\n ... | 0 |
{'name': '_htmlentity_transform@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Transforms an HTML entity to a character.', 'signature': 'def _htmlentity_transform(entity_with_semicolon):'}</s>ACCENT_CHARS = dict(zip('ÂÃÄÀÁÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖŐØŒÙÚÛÜŰÝÞßàáâãäåæçèéêëìíîïðñòóôõöőøœùúûüűýþÿ',
... | 0 |
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ... | 0 |
{'name': 'rednet_pipeline@predict.py', 'description': 'rednet in altizure pipeline ', 'signature': 'def rednet_pipeline(mvs_list):'}</s>{'name': 'load_cam_whutest@preprocess.py', 'description': 'read camera txt file (XrightYup,Twc)', 'code': 'def load_cam_whutest(file, interval_scale=1):\n """ read camera txt file (... | 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': 'main@mne_bids_pipeline/steps/sensor/_02_decoding_full_epochs.py', 'description': 'Run time-by-time decoding.', 'signature': 'def main(*, config: SimpleNamespace) -> None:'}</s>{'name': 'get_subjects_sessions@mne_bids_pipeline/_config_utils.py', 'description': 'DOCSTRING', 'code': 'def get_subjects_sessions(\n... | 1 |
{'name': 'Control.__init__@wntr/network/controls.py', 'description': 'Parameters\n----------\ncondition: ControlCondition\n The condition that should be used to determine when the actions need to be activated. When the condition\n evaluates to True, the then_actions are activated. When the condition evaluates to ... | 0 |
{'name': 'PairCounter.from_file@pairtools/lib/stats.py', 'description': 'create instance of PairCounter from file\nParameters\n----------\nfile_handle: file handle\nReturns\n-------\nPairCounter\n new PairCounter filled with the contents of the input file', 'signature': 'def from_file(cls, file_handle, n_dist_bins_d... | 0 |
{'name': 'Struct.field@python/taichi/lang/struct.py', 'description': 'Creates a :class:`~taichi.StructField` with each element\nhas this struct as its type.\n\nArgs:\n members (dict): a dict, each item is like `name: type`.\n methods (dict): a dict of methods that should be included with\n the field. Each... | 0 |
{'name': 'filter_data@mne_bids_pipeline/steps/preprocessing/_04_frequency_filter.py', 'description': 'Filter data from a single subject.', 'signature': 'def filter_data('}</s>{'name': '_get_run_rest_noise_path@mne_bids_pipeline/_import_data.py', 'description': 'DOCSTRING', 'code': 'def _get_run_rest_noise_path(\n *,... | 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': '_IncludeState.CheckNextIncludeOrder@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants ... | 0 |
{'name': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>btcpay_lnd_1 = "Succès!!" | 0 |
{'name': 'Cache.search@shingetsu/cache.py', 'description': 'Search node from network and get records.', 'signature': 'def search(self, searchlist=None, myself4=None, myself6=None):'}</s>{'name': 'SearchList@shingetsu/node.py', 'description': 'List of existing nodes.', 'base_classes': ['RawNodeList'], 'methods': [{'name... | 1 |
{'name': 'watch_stacks@static/Cost/300_Optimization_Data_Collection/Test/test-from-scratch.py', 'description': 'watch stacks while they are IN_PROGRESS and/or until they are deleted', 'signature': 'def watch_stacks(stack_names = []):'}</s>GREEN = "[92m" | 1 |
{'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': 'Context.resolve@lib/rule_engine/engine.py', 'description': 'The method to use for resolving symbols names to values. This function must return a compatible value for the\nspecified symbol name. When a *scope* is defined, this function handles the resolution itself, however when the\n*scope* is ``None`` the re... | 0 |
{'name': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field... | 0 |
{'name': '_validate_transform_mask@pybotics/optimization.py', 'description': 'Validate mask arguments.', 'signature': 'def _validate_transform_mask('}</s>{'name': 'vector_2_matrix@pybotics/geometry.py', 'description': 'Calculate the pose from the position and euler angles.\n\n:param convention:\n:param vector: transfor... | 0 |
{'name': 'mass_erase@tools/pydfu.py', 'description': 'Performs a MASS erase (i.e. erases the entire device.', 'signature': 'def mass_erase():'}</s>__TIMEOUT = 4000 | 1 |
{'name': 'RegressionRunner.predict@experiments/uci_exps/bayesian_benchmarks/models/nnet/models.py', 'description': 'default prediction method is to use built in Low rank Gaussian\nSWA: scale = 0.0, num_samples = 1', 'signature': 'def predict(self, features, swag_model=None):'}</s>{'name': 'construct_flow@subspace_infer... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.