text
string
label
int64
{'name': 'test_merge_with_wildcard@tests/test_win32.py', 'description': 'Merge files specified by a wildcard.', 'signature': 'def test_merge_with_wildcard():'}</s>username = os.environ["HINET_USERNAME"]
0
{'name': 'indentedBlock@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining space-delimited indentation blocks, such as\nthose used to define block statements in Python source code.\n\nParameters:\n - blockStatementExpr - expression defining syntax of statement that\n ...
1
{'name': 'klobuchar@laika/iono.py', 'description': 'Details are taken from [5]: IS-GPS-200H, Fig. 20-4\nNote: result is referred to the GPS L₁ frequency;\nif the user is operating on the GPS L₂ frequency, the correction term must\nbe multiplied by γ = f₂²/f₁¹ = 0.6071850227694382\n:param pos: [lat, lon, alt] in radians...
0
{'name': 'Chat.__init__@twitchAPI/chat/__init__.py', 'description': ":param twitch: A Authenticated twitch instance\n:param connection_url: alternative connection url |default|:code:`None`\n:param is_verified_bot: set to true if your bot is verified by twitch |default|:code:`False`\n:param initial_channel: List of chan...
0
{'name': 'always@pretf/pretf/test.py', 'description': 'Marks a test method to run even when previous tests have failed.', 'signature': 'def always(func: Callable) -> Callable:'}</s>{'name': 'render_files@pretf/pretf/render.py', 'description': 'DOCSTRING', 'code': 'def render_files(\n files_to_create: Dict[Path, Path...
0
{'name': 'test_non_void@capone/tests/test_transaction_model.py', 'description': 'Test Transaction.objects.non_void filter.', 'signature': 'def test_non_void():'}</s>{'name': 'UserFactory@capone/tests/factories.py', 'description': "Factory for django.contrib.auth.get_user_model()\n\n`capone` relies on `django.contrib.au...
1
{'name': 'start_client@python/dglke/kvclient.py', 'description': 'Start kvclient for training\n ', 'signature': 'def start_client(args):'}</s>{'name': 'main@python/dglke/kvclient.py', 'description': 'DOCSTRING', 'code': 'def main():\n args = ArgParser().parse_args()\n prepare_save_path(args)\n start_client(...
0
{'name': 'b_index@tksheet/functions.py', 'description': 'Designed to be a faster way of finding the index of an int\nin a sorted list of ints than list.index()', 'signature': 'def b_index(sorted_seq: Sequence[int], num_to_index: int) -> int:'}</s>{'name': 'span_froms@tksheet/functions.py', 'description': 'DOCSTRING', '...
0
{'name': 'row_col_expand@tf_utils.py', 'description': 'for universal embedding and field-aware param\n:param xv_embed: batch * num * k\n:param num_inputs:\n:return:', 'signature': 'def row_col_expand(xv_embed, num_inputs):'}</s>{'name': 'layer_normalization@tf_utils.py', 'description': 'DOCSTRING', 'code': "def layer_n...
0
{'name': 'IULogger.log_service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Message that we have received a service call', 'signature': 'def log_service_call('}</s>CONF_OUTPUT_EVENTS = "output_events"
0
{'name': '_CommitPicker_from_uri@python-sdk/pachyderm_sdk/api/pfs/_additions.py', 'description': 'Parses the following format:\n [project/]repo@branch-or-commit\nwhere @branch-or-commit can take the form:\n @branch\n @branch=commit\n @commit\nAdditionally @branch-or-commit can be augmented in the following ...
0
{'name': 'fork_and_accum@torchkbnufft/_nufft/interp.py', 'description': 'Process forking and per batch/coil accumulation function.', 'signature': 'def fork_and_accum('}</s>{'name': 'spmat_interp@torchkbnufft/_nufft/interp.py', 'description': 'Sparse matrix interpolation backend.', 'code': 'def spmat_interp(\n image:...
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': 'StructureCondenser._condense_components@robocrys/condense/condenser.py', 'description': "Condenses the component data.\n\nArgs:\n components: A list of structure components, generated using\n :obj:`pymatgen.analysis.dimensionality.get_structure_components`\n site_analyzer: A site analyzer object ...
0
{'name': 'darwin_width@python/xraydb/xray.py', 'description': "darwin width for a crystal reflection and energy\n\nArgs:\nenergy (float): X-ray energy in eV\ncrystal (string): name of crystal (one of 'Si', 'Ge', or 'C') ['Si']\nhkl (tuple): h, k, l for reflection [(1, 1, 1)]\na (float or None): lattice const...
0
{'name': 'fig_to_html@mpld3/_display.py', 'description': 'Output html representation of the figure\n\nParameters\n----------\nfig : matplotlib figure\n The figure to display\nd3_url : string (optional)\n The URL of the d3 library. If not specified, a standard web path\n will be used.\nmpld3_url : string (opti...
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': 'create_method@src/civis/resources/_resources.py', 'description': "Dynamically create a function to make an API call.\n\nThe returned function accepts required parameters as positional arguments\nand optional parameters as kwargs. The function passes these parameters\ninto the appropriate place (path, query o...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQSTS_STRUC_ID_ARRAY = [b"S", b"T", b"A", b"T"]
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': '_iterate_object@voluptuous/schema_builder.py', 'description': 'Return iterator over object attributes. Respect objects with\ndefined __slots__.', 'signature': 'def _iterate_object(obj):'}</s>{'name': 'ValueInvalid@voluptuous/error.py', 'description': 'The value was found invalid by evaluation function.', 'bas...
0
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>{'name': 'TLP@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'TLP.__init__@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'code': 'def __init...
1
{'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': 'TestTr...
0
{'name': 'up_to_climate@oggm/tests/test_workflow.py', 'description': 'Run the tasks you want.', 'signature': 'def up_to_climate(reset=False, use_mp=None):'}</s>{'name': 'climate_tasks@oggm/workflow.py', 'description': 'Run all climate related entity tasks on a list of glaciers.\nParameters\n----------\ngdirs : list of ...
0
{'name': 'ParserElement.searchString@venv/Lib/site-packages/setuptools/_vendor/pyparsing.py', 'description': 'Another extension to C{L{scanString}}, simplifying the access to the tokens found\nto match the given parse expression. May be called with optional\nC{maxMatches} argument, to clip searching after \'n\' matche...
0
{'name': 'WeChatSettingWndHandle.click_logout@handle/wechat_handle.py', 'description': '点击退出登录', 'signature': 'def click_logout(self):'}</s>{'name': 'WeChatPCLogoutHandle@handle/wechat_handle.py', 'description': 'WeChat退出登录句柄', 'base_classes': ['Handle'], 'methods': [{'name': 'WeChatPCLogoutHandle.__init__@handle/wecha...
1
{'name': 'find_stop@tools/hadb.py', 'description': 'Find time HA stopped # of times ago.', 'signature': 'def find_stop(stops: int) -> dt.datetime | None:'}</s>COLORS_STATES = [ "light_magenta", "light_blue", "light_green", "light_cyan", "light_red", "light_yellow", "magenta", "green", ...
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': 'to_bytes@octoprint_SpoolManager/common/StringUtils.py', 'description': 'Make sure ``s_or_u`` is a bytestring.', 'signature': 'def to_bytes(s_or_u, encoding="utf-8", errors="strict"):'}</s>{'name': 'transformToDateTimeOrNone@octoprint_SpoolManager/common/StringUtils.py', 'description': 'DOCSTRING', 'code': 'de...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCXP_VERSION_5 = 5
0
{'name': 'models_for_export@wagtail_transfer/views.py', 'description': 'Return data for a specific model based on the incoming model_path.\n\nIf an object_id is provided, search for a single model object.', 'signature': 'def models_for_export(request, model_path, object_id=None):'}</s>{'name': 'ImportPlanner@wagtail_tr...
0
{'name': 'Record.remove@shingetsu/cache.py', 'description': 'Remove record.\n\nThe record is removed from cache,\nbut do not removed from file-system.', 'signature': 'def remove(self):'}</s>retry_join = 2
0
{'name': '_smaller_indices@vamb/cluster.py', 'description': 'Get all indices where the tensor is smaller than the threshold.', 'signature': 'def _smaller_indices('}</s>_DELTA_X = 0.005
0
{'name': '_serialize_single@src/betterproto/__init__.py', 'description': 'Serializes a single field and value.', 'signature': 'def _serialize_single('}</s>{'name': 'FieldMetadata@src/betterproto/__init__.py', 'description': 'Stores internal metadata used for parsing & serialization.', 'base_classes': [], 'methods': [{'...
0
{'name': 'test_multiple_backends_https_h1@test/integration/test_integration_basics.py', 'description': 'Test that we can load-test multiple backends on https.\n\nRuns the CLI configured to use HTTP/1 with TLS against multiple test servers, and sanity\nchecks statistics from both client and server.', 'signature': 'def t...
0
{'name': 'Record.remove@shingetsu/cache.py', 'description': 'Remove record.\n\nThe record is removed from cache,\nbut do not removed from file-system.', 'signature': 'def remove(self):'}</s>{'name': 'str_encode@shingetsu/title.py', 'description': 'Encode for URI.\n ', 'code': "def str_encode(query):\n '''Encode f...
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': 'TestMommyCreatesAssociatedModels.test_create_many_to_many_with_through_option@tests/test_mommy.py', 'description': 'This does not works', 'signature': 'def test_create_many_to_many_with_through_option(self):'}</s>{'name': 'BaseModelForNext@tests/generic/models.py', 'description': 'DOCSTRING', 'base_classes': ...
0
{'name': 'SessionRedirectMixin.rebuild_proxies@TDScanner/libs/requests/sessions.py', 'description': 'This method re-evaluates the proxy configuration by considering the\nenvironment variables. If we are redirected to a URL covered by\nNO_PROXY, we strip the proxy configuration. Otherwise, we set missing\nproxy keys for...
0
{'name': 'TestMibSnimpy.testGetByOid@tests/test_mib.py', 'description': 'Test that we can get all named attributes by OID.', 'signature': 'def testGetByOid(self):'}</s>{'name': 'Integer@snimpy/basictypes.py', 'description': 'Class for any integer.', 'base_classes': ['Type', 'int'], 'methods': [{'name': 'Integer._intern...
0
{'name': 'test_multiple_backends_https_h1@test/integration/test_integration_basics.py', 'description': 'Test that we can load-test multiple backends on https.\n\nRuns the CLI configured to use HTTP/1 with TLS against multiple test servers, and sanity\nchecks statistics from both client and server.', 'signature': 'def t...
0
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>REDISDB_SERVICE_NAME = os.getenv("REDISDB_SERVICE_NAME")
0
{'name': 'tag_approved@src/oca_github_bot/tasks/tag_approved.py', 'description': 'Add the ``approved`` tag to the given PR if conditions are met.\n\nRemove it if conditions are not met.', 'signature': 'def tag_approved(org, repo, pr, dry_run=False):'}</s>{'name': 'git_push_if_needed@src/oca_github_bot/github.py', 'desc...
0
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': 'DoubleByteSize@python/google/protobuf/internal/wire_format.py', 'description': 'DOCSTRING',...
0
{'name': 'BaseProxyObject.get_interface@dbus_next/proxy_object.py', 'description': 'Get an interface exported on this proxy object and connect it to the bus.\n\n:param name: The name of the interface to retrieve.\n:type name: str\n\n:raises:\n - :class:`InterfaceNotFoundError <dbus_next.InterfaceNotFoundError>` - If...
0
{'name': 'ResNet.__init__@project_sample/2019-2ProjectSamples_Code/15조-Unsupervised learning을 이용한 영상 개선/models/resnet.py', 'description': "pad = 'start|zero|replication'", 'signature': "def __init__(self, num_input_channels, num_output_channels, num_blocks, num_channels, need_residual=True, act_fun='LeakyReLU', need_si...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQEVR_NO_DISPLAY = 3
0
{'name': 'crackline@venv/Lib/site-packages/numpy/f2py/crackfortran.py', 'description': 'reset=-1 --- initialize\nreset=0 --- crack the line\nreset=1 --- final check if mismatch of blocks occurred\n\nCracked data is saved in grouplist[0].', 'signature': 'def crackline(line, reset=0):'}</s>{'name': 'l_not@venv/Lib/s...
0
{'name': 'ProductReadServiceStub.__init__@grpc-mate-python/grpc_mate/product_search_engine_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>Product = _reflection.GeneratedProtocolMessageType('Product', (_message.Message,), { 'DESCRIPTOR'...
1
{'name': 'env_perform_reproduce_update@self_organising_systems/biomakerca/env_logic.py', 'description': "Perform reproduce operations in the environment.\n\nThis is the function that should be used for high level step_env design.\n\nArguments:\n key: a jax random number generator.\n env: the input environment to be m...
0
{'name': 'MultipleChoiceFilterTests.test_filter_conjoined_true@tests/test_filters.py', 'description': 'Tests that a filter with `conjoined=True` returns objects that\nhave all the values included in `value`. For example filter\nusers that have all of these books.', 'signature': 'def test_filter_conjoined_true(self):'}<...
1
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inline=False):'}</s>...
0
{'name': 'error_screen@displays/papiruszero2in.py', 'description': 'Error screen\n ', 'signature': 'def error_screen(message="ERROR"):'}</s>nocoin_screen_1 = "Pièces non ajoutées!"
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': 'TLP.set_ca_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completer abort (CA) completion for TLP', 'signature': 'def set_ca_completion(self, tlp, completer_id):'}</s>TLP_MSG_BCAST = (FMT_4DW, 0x13)
0
{'name': 'test_random_valid_mutation_without_insert@tests/unit/test_ea_mutation.py', 'description': 'Test if a valid mutation is applied at random.\n\nI am honestly not sure of the best way to test this.\nBecause of the random nature, we repeat this enough times to ensure\neach mutation is tried with probability >0.999...
0
{'name': 'Command.check_next_arg@sievelib/commands.py', 'description': 'Argument validity checking\n\nThis method is usually used by the parser to check if detected\nargument is allowed for this command.\n\nWe make a distinction between required and optional\narguments. Optional (or tagged) arguments can be provided\nu...
0
{'name': 'Fingerprint.plot_barcode@prolif/fingerprint.py', 'description': 'Generate and display a :class:`~prolif.plotting.barcode.Barcode` plot from\na fingerprint object that has been used to run an analysis.\n\nParameters\n----------\nfigsize: tuple[int, int] = (8, 10)\n Size of the matplotlib figure.\ndpi: int =...
0
{'name': 'auto_from_etree@a38/fattura.py', 'description': 'Instantiate a Fattura or FatturaElettronicaSemplificata from a parsed XML', 'signature': 'def auto_from_etree('}</s>{'name': 'export@a38/fattura.py', 'description': 'Add a symbol to __all__ for export', 'code': 'def export(el):\n """\n Add a symbol to __a...
0
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>{'name': 'ser_vector@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'code': 'def ser_vector(l, ser_function_name=No...
0
{'name': '_export_region@contrib/xml/xmlio.py', 'description': '@return:\n `None` (if `parent` is not `None`), or\n an xml tree', 'signature': 'def _export_region('}</s>N_POLYLIST = "list_poly"
1
{'name': '_FindPythonFiles@tools/yapf/yapf/yapflib/file_resources.py', 'description': 'Find all Python files.', 'signature': 'def _FindPythonFiles(filenames, recursive, exclude):'}</s>{'name': 'CreateGoogleStyle@tools/yapf/yapf/yapflib/style.py', 'description': 'DOCSTRING', 'code': "def CreateGoogleStyle():\n style = ...
0
{'name': 'on_restore_database@src/server/server.py', 'description': 'Restore database.', 'signature': 'def on_restore_database(data):'}</s>{'name': 'heartbeat_thread_function@src/server/server.py', 'description': 'Emits current rssi data, etc', 'code': 'def heartbeat_thread_function():\n \'\'\'Emits current rssi dat...
0
{'name': 'month_boundaries@swingtime/utils.py', 'description': 'Return a 2-tuple containing the datetime instances for the first and last\ndates of the current month or using ``dt`` as a reference.', 'signature': 'def month_boundaries(dt=None):'}</s>{'name': 'css_class_cycler@swingtime/utils.py', 'description': 'Return...
0
{'name': '_LowLevelParser.getExpressionParts@Cheetah/Parser.py', 'description': 'Get a Cheetah expression that includes $CheetahVars and break at\ndirective end tokens, the end of an enclosure, or at a specified\npyToken.', 'signature': 'def getExpressionParts(self,'}</s>identchars = "abcdefghijklmnopqrstuvwxyzABCDEFGH...
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': 'SubProgram._analyze_func@mando/core.py', 'description': 'Analyze the given function, merging default arguments, overridden\narguments (with @arg) and parameters extracted from the docstring.\n\n:param func: The function to analyze.\n:param doc_params: Parameters extracted from docstring.', 'signature': 'def _...
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>TYPE_OPML = 9
0
{'name': 'EventListener.save_events@django_ethereum_events/event_listener.py', 'description': 'Fires the appropriate event receivers for every given log.\n\nArgs:\n decoded_logs (:obj:`list` of :obj:`dict`): The decoded logs.', 'signature': 'def save_events(self, decoded_logs):'}</s>{'name': 'refresh_cache_update_va...
0
{'name': 'Message.from_dict@src/betterproto/__init__.py', 'description': 'Parse the key/value pairs into the current message instance. This returns the\ninstance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nvalue: Dict[:class:`str`, Any]\n The dictionary to parse from.\n\nReturns\n--...
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': 'TelegramHandler.get_message@graphite_beacon/handlers/telegram.py', 'description': 'Standart alert message. Same format across all\ngraphite-beacon handlers.', 'signature': 'def get_message(self, level, alert, value, **kwargs):'}</s>HELP_MESSAGE = "Telegram handler for graphite-beacon *usage* /command [paramet...
0
{'name': 'Fairplay3.cycle@ap2/fairplay3.py', 'description': 'key_schedule is a 2d array of integral values', 'signature': 'def cycle(self, block: bytes, key_schedule: bytes):'}</s>{'name': 'permuteBlock1@ap2/fairplay3.py', 'description': 'DOCSTRING', 'code': 'def permuteBlock1(block: bytes):\n block = bytearray(bloc...
1
{'name': 'TLP.set_ca_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completer abort (CA) completion for TLP', 'signature': 'def set_ca_completion(self, tlp, completer_id):'}</s>{'name': 'Endpoint@fpga/lib/pcie/tb/pcie.py', 'description': 'PCIe endpoint function, implements endpoint config space', 'base_c...
0
{'name': 'FileField.to_wtf_field@flask_mongoengine/db_fields.py', 'description': 'Protection from execution of :func:`to_wtf_field` in form generation.\n\n:raises NotImplementedError: Field converter to WTForm Field not implemented.', 'signature': 'def to_wtf_field('}</s>{'name': 'DynamicField@flask_mongoengine/db_fiel...
0
{'name': '_extract@pyderman/__init__.py', 'description': 'Extracts zip files, or tar.gz files.\n:param path: Path to the archive file, absolute.\n:param driver_pattern:\n:param out_file:\n:return: extracted file path.', 'signature': 'def _extract(path: str, driver_pattern: str, out_file: str) -> str | None:'}</s>all_dr...
0
{'name': 'urljoin@bleach/_vendor/parse.py', 'description': 'Join a base URL and a possibly relative URL to form an absolute\ninterpretation of the latter.', 'signature': 'def urljoin(base, url, allow_fragments=True):'}</s>{'name': 'unquote_to_bytes@bleach/_vendor/parse.py', 'description': "unquote_to_bytes('abc%20def')...
0
{'name': 'on_restart_server@src/server/server.py', 'description': 'Re-execute the current process.', 'signature': 'def on_restart_server():'}</s>{'name': 'render_viewImg@src/server/server.py', 'description': 'Route to img called within doc viewer.', 'code': "def render_viewImg(imgfile):\n '''Route to img called with...
0
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>OP_2OVER = CScriptOp(0x70)
0
{'name': 'ButtonInput._find_actions@amulet_map_editor/api/wx/util/button_input.py', 'description': 'A method to find all actions triggered by `key` with the modifier keys also pressed.', 'signature': 'def _find_actions(self, key: KeyType) -> Tuple[ActionIDType, ...]:'}</s>ActionIDType = str
1
{'name': 'FloatValueChecker.CheckValue@python/google/protobuf/internal/type_checkers.py', 'description': 'Check and convert proposed_value to float.', 'signature': 'def CheckValue(self, proposed_value):'}</s>{'name': '_Deprecated@python/google/protobuf/descriptor.py', 'description': 'DOCSTRING', 'code': "def _Deprecate...
0
{'name': 'plot_results@utils/utils.py', 'description': "Plot YOLO training results from the file 'results.txt'\nExample of what this is trying to plot can be found at: \nhttps://user-images.githubusercontent.com/26833433/63258271-fe9d5300-c27b-11e9-9a15-95038daf4438.png\nAn example results.txt file:\nimport os; os.syst...
0
{'name': 'TableOne.initialize_core_attributes@tableone/tableone.py', 'description': 'Initialize attributes.', 'signature': 'def initialize_core_attributes(self, data, columns, categorical, continuous, groupby,'}</s>{'name': 'sort_and_reindex@tableone/formatting.py', 'description': 'Sorts and reindexes the table to meet...
0
{'name': 'gis_prepro_tasks@oggm/workflow.py', 'description': 'Run all flowline preprocessing tasks on a list of glaciers.\n\nParameters\n----------\ngdirs : list of :py:class:`oggm.GlacierDirectory` objects\n the glacier directories to process', 'signature': 'def gis_prepro_tasks(gdirs):'}</s>PARAMS = ParamsLoggingD...
0
{'name': 'receive_offline_message@bauhinia_push.py', 'description': '等待100ms,批量发送推送', 'signature': 'def receive_offline_message():'}</s>PLATFORM_IOS = 2
0
{'name': 'get_hhh_investigator@website/web/__init__.py', 'description': 'Returns all the captures related to a cookie name entry, used in the web interface.', 'signature': 'def get_hhh_investigator(hhh: str, offset: int | None=None, limit: int | None=None, search: str | None=None) -> tuple[int, list[tuple[str, str, str...
0
{'name': '_Command._decode_transfer_data@pyocd/probe/pydapaccess/dap_access_cmsis_dap.py', 'description': 'Take a byte array and extract the data from it\n\nDecode the response returned by a DAP_Transfer CMSIS-DAP command\nand return it as an array of bytes.', 'signature': 'def _decode_transfer_data(self, data):'}</s>D...
1
{'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': 'test_novalidate_noerrors@cerberus/tests/test_validation.py', 'description': 'In v0.1.0 and below `self.errors` raised an exception if no\nvalidation had been performed yet.', 'signature': 'def test_novalidate_noerrors(validator):'}</s>NONEOF = ErrorDefinition(0x91, 'noneof')
0
{'name': 'temp_html_filepath@folium/utilities.py', 'description': 'Yields the path of a temporary HTML file containing data.', 'signature': 'def temp_html_filepath(data: str) -> Iterator[str]:'}</s>{'name': 'get_bounds@folium/utilities.py', 'description': 'Computes the bounds of the object in the form\n[[lat_min, lon_m...
0
{'name': '_Classification.cwt_br@pybaselines/classification.py', 'description': "Continuous wavelet transform baseline recognition (CWT-BR) algorithm.\n\nParameters\n----------\ndata : array-like, shape (N,)\n The y-values of the measured data, with N data points.\npoly_order : int, optional\n The polynomial orde...
1
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'set_html_mode@src/api/python/z3/z3printer.py', 'description': 'DOCSTRING', 'code': 'def set_html_mode(flag=True):\n global...
0
{'name': 'parse_int_list@boltons/strutils.py', 'description': "Returns a sorted list of positive integers based on\n*range_string*. Reverse of :func:`format_int_list`.\n\nArgs:\n range_string (str): String of comma separated positive\n integers or ranges (e.g. '1,2,4-6,8'). Typical of a custom\n page r...
0
{'name': 'SpoolmanagerPlugin.api_getExtrusionAmount@octoprint_SpoolManager/__init__.py', 'description': 'Returns the current extruded filament for each tool\n:param string path:\n:return: array of ....', 'signature': 'def api_getExtrusionAmount(self):'}</s>{'name': 'transformFromIsoToDateTimeOrNone@octoprint_SpoolManag...
0
{'name': 'show_reload_popup@addon_updater_ops.py', 'description': 'For use in register only, to show popup after re-enabling the addon.\n\nMust be enabled by developer.', 'signature': 'def show_reload_popup():'}</s>{'name': 'AddonUpdaterUpdateNow@addon_updater_ops.py', 'description': 'DOCSTRING', 'base_classes': ['bpy....
0
{'name': 'update@aardvark/manage.py', 'description': 'Asks AWS for new Access Advisor information.', 'signature': 'def update(accounts, arns):'}</s>DEFAULT_LOCALDB_FILENAME = "aardvark.db"
0
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ...
0
{'name': 'remove_nan@source/tomopy/misc/corr.py', 'description': 'Replace NaN values in array with a given value.\n\nParameters\n----------\narr : ndarray\n Input array.\nval : float, optional\n Values to be replaced with NaN values in array.\nncore : int, optional\n Number of cores that will be assigned to jo...
0
{'name': 'CommandDomain.get_full_qualified_name@docs/util/cmdref.py', 'description': 'Return full qualified name for a given node', 'signature': 'def get_full_qualified_name(self, node):'}</s>{'name': 'CommandIndex@docs/util/cmdref.py', 'description': 'DOCSTRING', 'base_classes': ['Index'], 'methods': [{'name': 'Comman...
0
{'name': 'ExecResult.json@external/curl/tests/http/testenv/curl.py', 'description': 'Output as JSON dictionary or None if not parseable.', 'signature': 'def json(self) -> Optional[Dict]:'}</s>log = logging.getLogger(__name__)
0