text string | label int64 |
|---|---|
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'get_entry_point@gef.py', 'description': 'Return the binary entry point.', 'code': 'def get_entry_point() -> int | None:\n """Return the binary entry ... | 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>MQIACF_SYSP_MAX_CONC_OFFLOADS = 1413 | 0 |
{'name': 'parse_response@octohub/response.py', 'description': 'Parse request response object and raise exception on response error code\nresponse (requests.Response object):\n\nreturns: requests.Response object, including:\n response.parsed (AttrDict)\n response.parsed_link (AttrDict)\n http://docs.python-requ... | 1 |
{'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': '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': 'AnkiDataFrame._constructor@ankipandas/ankidf.py', 'description': 'This needs to be overridden so that any DataFrame operations do not\nreturn a :class:`pandas.DataFrame` but a :class:`AnkiDataFrame`.', 'signature': 'def _constructor(self):'}</s>our_columns = {
table: sorted(
fields_df[(fields_df["... | 0 |
{'name': 'to_band@eoreader/bands/__init__.py', 'description': 'Convert a string (or real value) to any alias, band or index.\n\nYou can pass the name or the value of the bands.\n\nArgs:\n to_convert (Union[list, BandNames, str]): Values to convert into band objects\n as_list (bool): Return the result as a list\n\... | 0 |
{'name': 'StaticVariableTestCase.test_with_run_command@llvm-12.0.0-project/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py', 'description': 'Test that file and class static variables display correctly.', 'signature': 'def test_with_run_command(self):'}</s>{'name': 'add_test_categories@llvm-12.0.0-project/lld... | 0 |
{'name': 'Player.update@demo_experiments/breakout_tobii.py', 'description': 'Update the player position. ', 'signature': 'def update(self):'}</s>nBlockRows = 3 | 0 |
{'name': 'modsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'modulename', 'signature': 'def modsign2map(m):'}</s>{'name': 'issigned_array@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': "def issigned_array(var):\n return isarray(var) and var.get('typespec... | 0 |
{'name': 'response_json_at_path_is_not_null@behave_restful/_lang_imp/response_validator.py', 'description': ' ', 'signature': 'def response_json_at_path_is_not_null(response, json_path):'}</s>{'name': 'response_json_at_path_does_not_contain@behave_restful/_lang_imp/response_validator.py', 'description': ' ', 'cod... | 0 |
{'name': 'MultiSigTestnet.sign_transaction@bit/wallet.py', 'description': 'Creates a signed P2SH transaction using previously prepared\ntransaction data.\n\n:param tx_data: Hex-encoded transaction or output of :func:`~bit.Key.prepare_transaction`.\n:type tx_data: ``str``\n:param unspents: The UTXOs to use as the inputs... | 0 |
{'name': 'ProxyPool.get_proxy_item@spider/network/proxy_pool.py', 'description': '获取代理对象\n:param proxy_id:\n:param proxies:\n:return:', 'signature': 'def get_proxy_item(self, proxy_id="", proxies=None):'}</s>proxy_path = os.path.join(os.path.dirname(__file__), "proxy_file") | 0 |
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>RECORDER_DRAW = 2 | 0 |
{'name': 'MQTTSubscriber.get_subscriber@bin/user/MQTTSubscribe.py', 'description': 'Factory method to get appropriate MQTTSubscriber for paho mqtt version. ', 'signature': 'def get_subscriber(cls, service_dict, logger):'}</s>{'name': 'CollectData@bin/user/MQTTSubscribe.py', 'description': "Manage fields that are 'group... | 0 |
{'name': 'test_update_cve_reserved_state@test-http/src/test/cve_tests/cve.py', 'description': 'the cve record cannot be changed to the RESERVED state ', 'signature': 'def test_update_cve_reserved_state():'}</s>CVE_URL = "/api/cve" | 0 |
{'name': 'show@mpld3/_display.py', 'description': "Open figure in a web browser\n\nSimilar behavior to plt.show(). This opens the D3 visualization of the\nspecified figure in the web browser. On most platforms, the browser\nwill open automatically.\n\nParameters\n----------\nfig : matplotlib figure\n The figure to... | 0 |
{'name': 'PanDataSet.check_pickle@src/pangaeapy/pandataset.py', 'description': 'Verifies if a cached pickle files needs to be refreshed (reloaded)\nFiles are checked after 24 hrs earliest but only updated in case the metadata indicates changes occured\n\nParameters\n----------\nexpirydays\n\nReturns bool\n-------', 'si... | 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': 'move@py3/SciServer/Files.py', 'description': 'Moves or copies a file or folder.\n\n:param fileService: name of fileService (string), or object (dictionary) that defines a file service. A list of these kind of objects available to the user is returned by the function Files.getFileServices().\n:param path: Stri... | 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>PFTM_MAX = 20 | 0 |
{'name': 'ConfigViewInterfaceBase.duplex@hier_config/platforms/view_base.py', 'description': 'Determine the configured Duplex of the interface.', 'signature': 'def duplex(self) -> InterfaceDuplex:'}</s>{'name': 'HConfig@hier_config/root.py', 'description': 'A class for representing and comparing Cisco like configuratio... | 0 |
{'name': 'check_target_label_and_n_target_samples@self_paced_ensemble/utils/_validation_param.py', 'description': 'Jointly check `target_label` and `n_target_samples` parameters.', 'signature': 'def check_target_label_and_n_target_samples(y, target_label, n_target_samples, sampling_type):'}</s>{'name': 'check_visualize... | 0 |
{'name': 'nearest_nodes@osmnx/distance.py', 'description': "Find the nearest node to a point or to each of several points.\n\nIf `X` and `Y` are single coordinate values, this function will return the\nnearest node to that point. If `X` and `Y` are iterables of coordinate\nvalues, it will return the nearest node to eac... | 0 |
{'name': 'GaussianMixtureCopula.dim@copulae/mixtures/gmc/gmc.py', 'description': 'Number of dimensions for each copula in the :class:`GaussianMixtureCopula`', 'signature': 'def dim(self):'}</s>{'name': 'GMCNotFittedError@copulae/mixtures/gmc/exception.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'met... | 0 |
{'name': 'TestAdminTree.test_result_tree@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(self, model_without_proxy):'}</s>{'name': 'AL_TestNodeSomeDep@treebeard/tests/models.py', 'd... | 0 |
{'name': 'WeiboGetIndexParser.user@weibo_base/weibo_parser.py', 'description': 'structure is similary with user', 'signature': 'def user(self):'}</s>{'name': 'weibo_getIndex@weibo_base/weibo_api.py', 'description': "get personal summary info which request by uid, and uid is got by 'search_by_name'\nthis api is like 'ht... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_CBD_ERROR = 2444 | 0 |
{'name': 'ExpressionEngine._convert_bool@src/chameleon/compiler.py', 'description': 'Converts value given by ``target`` to a string ``s`` if the\ntarget is a true value, otherwise ``None``.', 'signature': 'def _convert_bool(self, target, char_escape, s):'}</s>{'name': 'ExpressionEngine@src/chameleon/compiler.py', 'desc... | 1 |
{'name': 'DayGroupCreateView.form_valid@rosters/views.py', 'description': 'Add all days to day group by default.', 'signature': 'def form_valid(self, form):'}</s>{'name': 'staff_request_status@rosters/views.py', 'description': 'Display staff request status.', 'code': 'def staff_request_status(request):\n """Display ... | 0 |
{'name': 'datetime.tzname@src/future/backports/datetime.py', 'description': 'Return the timezone name.\n\nNote that the name is 100% informational -- there\'s no requirement that\nit mean anything in particular. For example, "GMT", "UTC", "-500",\n"-5:00", "EDT", "US/Eastern", "America/New York" are all valid replies.'... | 0 |
{'name': 'test_serving_is_false_and_stop_returns_after_ctrlc@cheroot/test/test_server.py', 'description': 'Check that stop() interrupts running of serve().', 'signature': 'def test_serving_is_false_and_stop_returns_after_ctrlc():'}</s>{'name': 'test_peercreds_unix_sock_with_lookup@cheroot/test/test_server.py', 'descrip... | 0 |
{'name': 'MarketstoreStub.__init__@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%pymarketstore/proto/marketstore.proto\x12\x05proto\"\'\n\t... | 0 |
{'name': 'GenericMeta.__new__@vendor/typing.py', 'description': 'Create a new generic class. GenericMeta.__new__ accepts\nkeyword arguments that are used for internal bookkeeping, therefore\nan override should pass unused keyword arguments to super().', 'signature': 'def __new__(cls, name, bases, namespace,'}</s>{'name... | 0 |
{'name': 'make_solver_visualizers@wfc/wfc_visualize.py', 'description': 'Construct visualizers for displaying the intermediate solver status', 'signature': 'def make_solver_visualizers('}</s>{'name': 'render_pattern@wfc/wfc_visualize.py', 'description': 'Turn a pattern into an image', 'code': 'def render_pattern(render... | 0 |
{'name': 'DirectiveValidator.must_avoid@drheader/validators/directive_validator.py', 'description': 'See base class.', 'signature': 'def must_avoid(self, config, header, **kwargs):'}</s>{'name': 'load_rules@drheader/utils.py', 'description': 'Returns a drHEADer ruleset from a file.\n\nThe loaded ruleset can be configur... | 0 |
{'name': 'main@lib/ddupdate/main.py', 'description': 'Indeed: main function.', 'signature': 'def main():'}</s>{'name': 'log_setup@lib/ddupdate/main.py', 'description': 'Initialize and return the module log.', 'code': 'def log_setup():\n """Initialize and return the module log."""\n log = logging.getLogger(\'ddupd... | 1 |
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'countedArray@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/py... | 0 |
{'name': 'Field.set_as_cls_member@pyfields/core.py', 'description': 'Updates a field with all information available concerning how it is attached to the class.\n\n - its owner class\n - the name under which it is known in that class\n - the type hints (python 3.6)\n\nIn python 3.6+ this is called directly at class crea... | 1 |
{'name': 'Path.asGameModRelative@ValveFileSystem/path.py', 'description': "Returns a path instance that is relative to the mod if the path is under the game tree.\nIf the path doesn't match the game tree, the original filepath is returned.", 'signature': 'def asGameModRelative(self):'}</s>{'name': 'findInPath@ValveFile... | 0 |
{'name': 'StandardizeMol.__init__@scopy/ScoPretreat/pretreat.py', 'description': 'Initialize a Standardizer with optional custom parameters.\n\n:param normalizations: A list of Normalizations to apply (default: :data:`~molvs.normalize.NORMALIZATIONS`).\n:param acid_base_pairs: A list of AcidBasePairs for competitive re... | 0 |
{'name': 'Lexer.wrap@third_party/dawn/third_party/jinja2/lexer.py', 'description': 'This is called with the stream as returned by `tokenize` and wraps\nevery token in a :class:`Token` and converts the value.', 'signature': 'def wrap('}</s>{'name': 'Token@third_party/dawn/third_party/jinja2/lexer.py', 'description': 'DO... | 1 |
{'name': 'clean_up@conftest.py', 'description': 'Removes files created by tests', 'signature': 'def clean_up():'}</s>{'name': '_tear_down@conftest.py', 'description': 'DOCSTRING', 'code': 'def _tear_down():\n clean_up()\n pass'} | 0 |
{'name': 'LibcxxPrettyPrinter.__call__@llvm-project/libcxx/utils/gdb/libcxx/printers.py', 'description': 'Return the pretty printer for a val, if the type is supported.', 'signature': 'def __call__(self, val):'}</s>{'name': 'StdUniquePtrPrinter@llvm-project/libcxx/utils/gdb/libcxx/printers.py', 'description': 'Print a ... | 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': 'Printer.print@tools/hadb.py', 'description': 'Print header, states & events.', 'signature': 'def print(self) -> None:'}</s>COLORS_USER_EVENT = ("black", "on_yellow") | 0 |
{'name': 'toggleManager@BlendNet/addon.py', 'description': "Running the manager instance if it's not already started or stopping it", 'signature': 'def toggleManager():'}</s>{'name': 'getProviderSettings@BlendNet/providers/__init__.py', 'description': 'Get the current provider settings', 'code': "def getProviderSetting... | 0 |
{'name': 'Application.create_widgets@spatialmedia/gui.py', 'description': 'Sets up GUI contents.', 'signature': 'def create_widgets(self):'}</s>{'name': 'Metadata@spatialmedia/metadata_utils.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Metadata.__init__@spatialmedia/metadata_utils.... | 0 |
{'name': 'RunAndReturnOutput@Engine/lib/assimp/contrib/googletest/googletest/test/googletest-shuffle-test.py', 'description': 'Runs the test program and returns its output.', 'signature': 'def RunAndReturnOutput(extra_env, args):'}</s>{'name': 'Subprocess@Engine/lib/assimp/contrib/googletest/googletest/test/gtest_test_... | 1 |
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'print_stacktraces@llvm-project/l... | 0 |
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be... | 0 |
{'name': 'run_segment_jit_in_chunks_notraceable@python/jax/carfac.py', 'description': "Runs the jitted segment runner in segment groups.\n\nRunning CARFAC on an audio segment this way is most useful when running\nCARFAC-JAX on a number of audio segments that have varying lengths. The\nimplementation is completed by exe... | 0 |
{'name': 'Grid.from_dataset@uxarray/grid/grid.py', 'description': 'Constructs a ``Grid`` object from a dataset.\n\nParameters\n----------\ndataset : xr.Dataset or path-like\n ``xarray.Dataset`` containing unstructured grid coordinates and connectivity variables or a directory\n containing ASCII files represents... | 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>MQPD_LENGTH_1 = 24 | 0 |
{'name': 'MessageSetItemEncoder@third_party/include/protobuf-2.6.1/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 stri... | 0 |
{'name': 'IUZone.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this zone as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description'... | 0 |
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_149 = Badge("rabb... | 0 |
{'name': 'RIPPER._grow_ruleset@build/lib/wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset('}</s>{'name': '_exceptions_bits_cn@build/lib/wittgenstein/ripper.py', 'description': "Returns description length (in bits) for exceptions to a Ruleset's coverage.", 'code': '... | 0 |
{'name': 'Preset.__new__@ValveFileSystem/presets.py', 'description': 'locale should be one of either GLOBAL or LOCAL object references. tool is the toolname\nused to refer to all presets of that kind, while ext is the file extension used to\ndifferentiate between multiple preset types a tool may have', 'signature': 'd... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_INDOUBT_VALUE_ERROR = 3053 | 0 |
{'name': 'Driver.setParamEnums@pcaspy/driver.py', 'description': 'set PV enumerate strings and severity states\n\n:param str reason: PV base name\n:param list enums: string representation of the enumerate states\n:param list states: alarm severity of the enumerate states.\n\nThe number of elements in *states* must matc... | 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQQSOT_INPUT = 2 | 0 |
{'name': 'assert_same_tree@delocate/tests/test_fuse.py', 'description': 'Assert that `tree2` has files with the same content as `tree1`.\n\nIf `updated_metadata` is True then the RECORD and WHEEL files are skipped.', 'signature': 'def assert_same_tree('}</s>{'name': 'fuse_wheels@delocate/fuse.py', 'description': 'Fuse ... | 0 |
{'name': 'RIPPER._grow_ruleset_cn@build/lib/wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': 'stop_early@wittgenstein/base_functions.py', 'description': 'Function to decide whether to halt training.', 'code': 'def stop_early(ruleset, pos_remaining... | 0 |
{'name': 'ChainstateWriteCrashTest.restart_node@test/functional/feature_dbcrash.py', 'description': 'Start up a given node id, wait for the tip to reach the given block hash, and calculate the utxo hash.\n\nExceptions on startup should indicate node crash (due to -dbcrashratio), in which case we try again. Give up\naft... | 0 |
{'name': 'compute_sidechain_dihedrals@sidechainnet/utils/measure.py', 'description': "Compute all angles to predict for a given residue.\n\nIf the residue is the first in the protein chain, a fictitious C atom is\nplaced before the first N. This is used to compute a [ C-1, N, CA, CB]\ndihedral angle. If it is not the f... | 1 |
{'name': 'Torrent.load_torrent_json_data@src/ptpapi/torrent.py', 'description': 'Load torrent data from a JSON call', 'signature': 'def load_torrent_json_data(self):'}</s>config = configparser.ConfigParser() | 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': 'LedgerEntry@capone/models.py', 'description': 'A single entry in a single column in a ledger.\n\nLedgerEntries must always be part of a Transacti... | 1 |
{'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': 'R_wz_sc@mcu/wannier90/pywannier90_vasp.py', 'description': 'TODO: document it\nRef: This is the replication of the R_wz_sc function of ws_distance.F90', 'signature': 'def R_wz_sc(w90, R_in, R0, ws_search_size=[2,2,2], ws_distance_tol=1e-6):'}</s>HSQDTM = RYTOEV * AUTOA * AUTOA | 0 |
{'name': 'validate_locations@folium/utilities.py', 'description': 'Validate an iterable with lat/lon coordinate pairs.', 'signature': 'def validate_locations(locations: TypeLine) -> List[List[float]]:'}</s>{'name': 'remove_empty@folium/utilities.py', 'description': 'Return a dict without None values.', 'code': 'def rem... | 0 |
{'name': 'remove_emojis@data/helper.py', 'description': 'Remove emojis\nargs:\n seq: String\noutput:\n seq: String', 'signature': 'def remove_emojis(seq):'}</s>dir_path = os.path.dirname(os.path.realpath(__file__)) | 0 |
{'name': 'HeroesMap.xyz2_set_terrain@h3m/phlm/phlm.py', 'description': 'Creates a terrain horizontally, vertically or diagonally\nfrom one coordinate to another. \n\nNOTE that there needs to be several adjacent tiles for terrain or \nit cannot exist, see what happens when you try to place e.g a row \nof terrain in the ... | 0 |
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be... | 0 |
{'name': 'init_screen@displays/inkyphat.py', 'description': 'Prepare the screen for drawing and return the draw variables\n ', 'signature': 'def init_screen(color):'}</s>{'name': 'update_shutdown_screen@displays/inkyphat.py', 'description': 'DOCSTRING', 'code': 'def update_shutdown_screen():\n image, width, heigh... | 0 |
{'name': 'infer_freq@ffn/core.py', 'description': ' Infer the most likely frequency given the input index. If the frequency is\nuncertain or index is not DateTime like, just return None\n Args:\n * data (DataFrame, Series): Any timeseries dataframe or series', 'signature': 'def infer_freq(data):'}</s>{'nam... | 0 |
{'name': 'watch_dev@jupyterlab/commands.py', 'description': 'Run watch mode in a given directory.\n\nParameters\n----------\nlogger: :class:`~logger.Logger`, optional\n The logger instance.\n\nReturns\n-------\nA list of `WatchHelper` objects.', 'signature': 'def watch_dev(logger=None):'}</s>{'name': 'link_package@j... | 0 |
{'name': 'fid_inception_v3@metric/inception.py', 'description': "Build pretrained Inception model for FID computation\n\nThe Inception model for FID computation uses a different set of weights\nand has a slightly different structure than torchvision's Inception.\n\nThis method first constructs torchvision's Inception a... | 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': '_z3_assert@src/api/python/z3/z3.py', 'desc... | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCFSTATUS_UNKNOWN = 6 | 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': 'PrefixOf@src/api/python/z3/z3.py', '... | 0 |
{'name': 'Beam.plot_reaction_force@indeterminatebeam/indeterminatebeam.py', 'description': 'Returns a plot of the beam with reaction forces.\n\nParameters\n----------\nfig : bool, optional\n Figure to append subplot diagram too. If creating standalone\n figure then None, by default None\nrow : int, optional\n ... | 0 |
{'name': 'Hamlish._create_extended_jinja_tags@hamlish_jinja.py', 'description': 'Loops through the nodes and looks for special jinja tags that\ncontains more than one tag but only one ending tag.', 'signature': 'def _create_extended_jinja_tags(self, nodes):'}</s>{'name': 'Hamlish@hamlish_jinja.py', 'description': 'DOCS... | 1 |
{'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': '_parse_config_file@pelicun/tools/DL_calculation.py', 'description': 'Parse and validate the config file for Pelicun.\n\nParameters\n----------\nconfig_path : str\n Path to the configuration file.\noutput_path : Path\n Directory for output files.\nauto_script_path : str\n Path to the auto-generation s... | 0 |
{'name': 'DistModel.initialize@training_codes/modules/dist_model.py', 'description': "INPUTS\n model - ['net-lin'] for linearly calibrated network\n ['net'] for off-the-shelf network\n ['L2'] for L2 distance in Lab colorspace\n ['SSIM'] for ssim in RGB colorspace\n net - ['squeeze... | 1 |
{'name': 'find_path_plot@One_Stroke/Find_Path.py', 'description': '展示寻找到的路径\n:param map: 表示图的数组\n:param method: 寻找路径的方法,默认为dfs\n:param h: 图的竖直方向网格的个数\n:param w: 图的水平方向网格的个数\n:return: 图示', 'signature': "def find_path_plot(map, method='dfs', h=Map_Height, w=Map_Width):"}</s>Map_Width = 7 | 1 |
{'name': 'MainFrame.update_textlist_from_xmat@src/python_scripts/afnipy/gui_xmat.py', 'description': 'given the X matrix and columns, fill screen data list', 'signature': 'def update_textlist_from_xmat(self):'}</s>{'name': 'get_ids_from_dsets@src/python_scripts/afnipy/afni_util.py', 'description': 'return a list of sub... | 0 |
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': 'on_alter_race_class@src/server/server.py', 'description': 'Update race class.', 'code': "def on_alter_race_class(data):\n '''Update race class.'''\n race_c... | 0 |
{'name': 'VimPlugin.LookupTag@vimdoc/module.py', 'description': 'Returns the tag name for the given type and name.', 'signature': 'def LookupTag(self, typ, name):'}</s>{'name': '_DelimitedRegex@vimdoc/regex.py', 'description': 'DOCSTRING', 'code': 'def _DelimitedRegex(pattern):\n return re.compile(r"""\n # Shouldn\... | 0 |
{'name': 'afilterfalse@asynq/tools.py', 'description': 'Equivalent of itertools.ifilterfalse() that takes an async filter function.\n\nReturns a list.', 'signature': 'def afilterfalse(function, sequence):'}</s>{'name': 'amin@asynq/tools.py', 'description': 'Async equivalent of min().', 'code': 'def amin(*args, **kwargs... | 0 |
{'name': 'draw_isobars@pymeteo/skewt.py', 'description': 'Plot isobars on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function draws isobars at intervals of 2*dp.', 'signature': 'def draw_isobars(axes):'}</s>pt_plot = 10000 | 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': 'GTestFailFastUnitTest.testFlag_HasParametersTest@third-party/googletest/googletest/test/googletest-failfast-unittest.py', 'description': 'Tests the behavior of fail_fast and TEST_P.', 'signature': 'def testFlag_HasParametersTest(self):'}</s>FAIL_FAST_ENV_VAR = "GTEST_FAIL_FAST" | 0 |
{'name': 'test_merged_dup_stream_blocks@maf/impl/naiveLiftUp.py', 'description': 'Check merged_dup_stream behavior on Blocks.', 'signature': 'def test_merged_dup_stream_blocks():'}</s>{'name': 'test_block_overlaps@maf/impl/naiveLiftUp.py', 'description': 'DOCSTRING', 'code': 'def test_block_overlaps():\n input_1 = S... | 0 |
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'load_ensemble_for_inference@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def load_ensemble_for_inference(filenames, task, model_arg_overrides=None):\n ... | 0 |
{'name': 'enable_notebook@mpld3/_display.py', 'description': 'Enable the automatic display of figures in the IPython Notebook.\n\nThis function should be used with the inline Matplotlib backend\nthat ships with IPython that can be enabled with `%pylab inline`\nor `%matplotlib inline`. This works by adding an HTML forma... | 0 |
{'name': 'Section.__setitem__@BlDevCube/lib.bflb_configobj.pyc.py', 'description': "Correctly set a value.\n\nMaking dictionary values Section instances.\n(We have to special case 'Section' instances - which are also dicts)\n\nKeys must be strings.\nValues need only be strings (or lists of strings) if\n``main.stringify... | 0 |
{'name': 'WhatHappenedToTheWeirdAdditionP1.play_farey_addition_animations@ford_circles_explained.py', 'description': "Returns a series of animations showing 'a/b oplus c/d equals (a+c)/(b+d)'", 'signature': 'def play_farey_addition_animations(self, a, b, c, d):'}</s>{'name': 'get_mediant_sequence_from@ford_circles_expl... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.