text string | label int64 |
|---|---|
{'name': 'generate_legacy@scripts/generators/es_template.py', 'description': 'Generate the legacy index template', 'signature': 'def generate_legacy('}</s>{'name': 'component_name_convention@scripts/generators/es_template.py', 'description': 'DOCSTRING', 'code': 'def component_name_convention(\n ecs_version: str,\n ... | 0 |
{'name': 'Parser.__add__@funcparserlib/parser.py', 'description': 'Sequential combination of parsers. It runs this parser, then the other\nparser.\n\nThe return value of the resulting parser is a tuple of each parsed value in\nthe sum of parsers. We merge all parsing results of `p1 + p2 + ... + pN` into a\nsingle tuple... | 1 |
{'name': 'Bottle.mount@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': "Mount an application (:class:`Bottle` or plain WSGI) to a specific\nURL prefix. Example::\n\n root_app.mount('/admin/', admin_app)\n\n:param prefix: path prefix or `mount-point`. If it ends in a slash,\n that slash is mandator... | 0 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'check_thickStart@bioframe/io/bed.py', 'description': 'Validate the thickStart column of a BED dataframe.\n\nMust be an integer between start and end, inclusive. When all features\nhave uninformative thickStarts, the value of start should be used.', 'signature': 'def check_thickStart(df: pd.DataFrame) -> dict[... | 0 |
{'name': 'MaskedArray.__imul__@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Multiply self by other in-place.', 'signature': 'def __imul__(self, other):'}</s>product = _frommethod('prod') | 0 |
{'name': 'sanitize_text@stino/pyarduino/arduino_src.py', 'description': ' ', 'signature': 'def sanitize_text(text):'}</s>preprocessor_directive = "^\s*#.*?$" | 0 |
{'name': 'check_ELF_NX@contrib/devtools/security-check.py', 'description': 'Check that no sections are writable and executable (including the stack)', 'signature': 'def check_ELF_NX(executable):'}</s>{'name': 'get_ELF_program_headers@contrib/devtools/security-check.py', 'description': 'Return type and flags for ELF pro... | 1 |
{'name': 'StellarPopulation._ztinterp@src/fsps/fsps.py', 'description': 'Return an SSP spectrum, mass, and luminosity interpolated to a target\nmetallicity and age. This effectively wraps the ZTINTERP subroutine.\nOnly the SSPs bracketing a given metallicity will be regenerated, if\nparameters are dirty.\n\n:param zpo... | 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': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'pyExpr@da/compiler/pygen.py', 'description': 'DOCSTRING', 'code': 'def pyExpr(value):\n ast = Expr(value)\n return propagate_fields(ast)'} | 0 |
{'name': 'TFMesosScheduler.resourceOffers@tfmesos/scheduler.py', 'description': 'Offer resources and launch tasks', 'signature': 'def resourceOffers(self, driver, offers):'}</s>{'name': 'Job@tfmesos/scheduler.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Job.__init__@tfmesos/schedul... | 0 |
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra... | 0 |
{'name': 'get_connection@examples/multi_threaded_inserts.py', 'description': 'Returns a new connection to the database. ', 'signature': 'def get_connection(db=DATABASE):'}</s>DATABASE = "test" | 1 |
{'name': 'connection@django_python3_ldap/ldap.py', 'description': 'Creates and returns a connection to the LDAP server.\n\nThe user identifier, if given, should be keyword arguments matching the fields\nin settings.LDAP_AUTH_USER_LOOKUP_FIELDS, plus a `password` argument.', 'signature': 'def connection(**kwargs):'}</s>... | 0 |
{'name': 'generate_assignment_stub_and_hook@da/compiler/incgen.py', 'description': "Generate assignment stub and hook node for 'nameobj'.\n\nAssignment stubs notifies the incrementalizer of changes to value of\nvariables, and gives the incrementalizer a chance to perform necessary\nhousekeeping.", 'signature': 'def gen... | 0 |
{'name': 'cross_couple@python/np/carfac.py', 'description': "This function cross couples gain between multiple ears.\n\nThere's no impact for this function in the case of monoaural input.\nArgs:\n ears: the list of ear inputs.\n\nReturns:\n The list of ear inputs, modified to multiaural coupling.", 'signature': 'def ... | 0 |
{'name': 'IterateProtocol.__call__@quapy/protocol.py', 'description': 'Yields one sample from the initial list at a time\n\n:return: yields a tuple `(sample, prev) at a time, where `sample` is a set of instances\n and in which `prev` is an `nd.array` with the class prevalence values', 'signature': 'def __call__(self... | 0 |
{'name': 'read_json@utils/file_utils.py', 'description': 'Reads json from a file and returns a json object\n:param file_path: the path to the file\n:return: a json object', 'signature': 'def read_json(file_path):'}</s>AUTHORIZATION_HEADER = "Authorization" | 0 |
{'name': 'picked_locs@picasso/postprocess.py', 'description': 'Finds picked localizations.\n\nParameters\n----------\nlocs : np.recarray\n Localization list.\ninfo : list of dicts\n Metadata of the localizations list.\npicks : list\n List of picks.\npick_shape : {\'Circle\', \'Rectangle\', \'Polygon\'}\n Sh... | 0 |
{'name': 'Cache.get_with_range@shingetsu/cache.py', 'description': 'Get data in range.', 'signature': 'def get_with_range(self, node=None):'}</s>timeout = 20 | 0 |
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI... | 0 |
{'name': '_parse_global_attrs@uxarray/io/_mpas.py', 'description': 'Helper to parse MPAS global attributes.', 'signature': 'def _parse_global_attrs(in_ds, out_ds):'}</s>FACE_FACE_CONNECTIVITY_DIMS = [
"n_face",
"n_max_face_faces",
] | 0 |
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n... | 0 |
{'name': 'parseOptionsAndInitTestdirs@llvm-12.0.0-project/lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}... | 0 |
{'name': '_der_to_sig@py/u2f/u2f.py', 'description': 'Convert from DER to raw signature', 'signature': 'def _der_to_sig(der: bytes) -> Tuple[int, bytes]:'}</s>{'name': 'WrongDataException@py/u2f/u2f.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': [{'name': 'WrongDataException.__init__@py/u2f/... | 0 |
{'name': 'AzureDLFileSystem.concat@azure/datalake/store/core.py', 'description': 'Concatenate a list of files into one new file\n\nParameters\n----------\n\noutfile: path\n The file which will be concatenated to. If it already exists,\n the extra pieces will be appended.\nfilelist: list of paths\n Existing adl... | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIAMO_DEST_REPAIR_PORT = 805 | 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': 'pre_process_and_fetch_license_dict@src/attributecode/model.py', 'description': 'Return a dictionary containing the license information (key, name, text, url)\nfetched from the ScanCode LicenseDB or DejaCode API.', 'signature': 'def pre_process_and_fetch_license_dict(abouts, from_check=False, api_url=None, api... | 0 |
{'name': 'Authentication.authenticate_device_code_native@roadlib/roadtools/roadlib/auth.py', 'description': 'Authenticate with device code flow\nNative version without adal', 'signature': 'def authenticate_device_code_native(self, additionaldata=None, returnreply=False):'}</s>SAML_TOKEN_TYPE_V1 = "urn:oasis:names:tc:SA... | 0 |
{'name': '_word_to_index@models/utils/language_utils.py', 'description': 'Returns index of given word based on given lookup dictionary\n\nreturns the length of the lookup dictionary if word not found\n\nArgs:\n word: string\n indd: dictionary with string words as keys and int indices as values', 'signature': 'def... | 0 |
{'name': 'PageAdmin.get_form@pages/admin/__init__.py', 'description': 'Get a :class:`Page <pages.admin.forms.PageForm>` for the\n:class:`Page <pages.models.Page>` and modify its fields depending on\nthe request.', 'signature': 'def get_form(self, request, obj=None, **kwargs):'}</s>PAGE_AUTOMATIC_SLUG_RENAMING = getattr... | 0 |
{'name': 'FIDAndIS.get_inception_score@evaluations/th_evaluator.py', 'description': 'Compute the inception score using a batch of activations.\n:param activations: an [N x D] batch of activations.\n:param split_size: the number of samples per split. This is used to\n make results consistent with other... | 0 |
{'name': 'VectorEnv._worker_env@habitat/core/vector_env.py', 'description': 'process worker for creating and interacting with the environment.\n ', 'signature': 'def _worker_env('}</s>{'name': 'VectorEnv@habitat/core/vector_env.py', 'description': 'Vectorized environment which creates multiple processes where ea... | 1 |
{'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': 'SetCriterion.loss_masks@models/detr.py', 'description': 'Compute the losses related to the masks: the focal loss and the dice loss.\ntargets dicts must contain the key "masks" containing a tensor of dim [nb_target_boxes, h, w]', 'signature': 'def loss_masks(self, outputs, targets, indices, num_boxes):'}</s>{'... | 0 |
{'name': 'LinearFeatures.create_pipeline@lightautoml/pipelines/features/linear_pipeline.py', 'description': 'Create linear pipeline.\n\nArgs:\n train: Dataset with train features.\n\nReturns:\n Transformer.', 'signature': 'def create_pipeline(self, train: NumpyOrPandas) -> LAMLTransformer:'}</s>{'name': 'TabularD... | 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>MQFB_COD = 260 | 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>MQXE_MCA_SVRCONN = 2 | 0 |
{'name': 'Dataset.__init__@lib/imdb_util.py', 'description': "This function reads in all datasets to be used in training and stores ANY relevant\ninformation which may be needed during training as a list of edict()\n(referred to commonly as 'imobj').\n\nThe function also optionally stores the image database (imdb) file... | 0 |
{'name': 'start_stop_click@examples/python/mcc128/web_server/web_server.py', 'description': 'A callback function to change the application status when the Configure,\nStart or Stop button is clicked.\n\nArgs:\n n_clicks (int): Number of button clicks - triggers the callback.\n button_label (str): The current labe... | 0 |
{'name': 'test_image_validate_00500@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_validate.py', 'description': '### Classes and Methods\n- ``ImageValidate``\n - ``wait_for_controller``\n\n### Summary\nVerify proper behavior of ``wait_for_controller`` when no actions\nare pending.\n\n### Setup\n- ``re... | 0 |
{'name': 'parse_args@src/python_scripts/afnipy/lib_cdiflist.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args(full_argv):'}</s>{'name': 'data_file_to_json@src/python_scripts/afnipy/afni_util.py', 'description': ... | 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': 'test_empty_string_with_url@tests/test_bare.py', 'description': 'Originally for https://github.com/mverleg/pyjson_tricks/issues/51 ', 'signature': 'def test_empty_string_with_url():'}</s>{'name': 'SubClass@tests/test_class.py', 'description': 'DOCSTRING', 'base_classes': ['SuperClass'], 'methods': [{'name': 'S... | 0 |
{'name': 'exec_check_and_lint@check_lint.py', 'description': "Utility function to unconditionally execute 'SublimeHaskellCHeckAndLint.run()' without worrying\nabout the command's status.", 'signature': 'def exec_check_and_lint(view, fly_mode=False, continue_success=None, error_handler=None):'}</s>{'name': 'get_qualifie... | 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': 'install_binary@util/build-third-party/paraview/make_macos_pvsdk_relocatable.py', 'description': 'Install the main binary into the package.', 'signature': 'def install_binary(binary: Library, is_excluded, bundle_dest, '}</s>{'name': 'main@util/build-third-party/paraview/make_macos_pvsdk_relocatable.py', 'descr... | 0 |
{'name': 'IsDerivedFunction@tools/cpplint.py', 'description': 'Check if current line contains an inherited function.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains a function with "override"\n virt-specifier... | 0 |
{'name': 'test_extract_sac_defaults@tests/test_win32.py', 'description': 'Extract SAC files using default settings.', 'signature': 'def test_extract_sac_defaults():'}</s>{'name': '_filter_channels@HinetPy/win32.py', 'description': 'Filter channels by id, name and/or component.\n\nParameters\n----------\nchannels: :clas... | 0 |
{'name': 'Cursor.pop@lmdb/cffi.py', 'description': 'Fetch a record\'s value then delete it. Returns ``None`` if no\nprevious value existed. This uses the best available mechanism to\nminimize the cost of a `delete-and-return-previous` operation.\n\nFor databases opened with `dupsort=True`, the first data element\n("dup... | 0 |
{'name': 'Beam.plot_analytical@indeterminatebeam/indeterminatebeam.py', 'description': 'Auxiliary function for plotting a sympy.Piecewise analytical\nfunction.\n\nParameters\n-----------\nfunc: str\n String representing function to query:\n \'nf\' if normal force.\n \'sf\' if shear force.\n \'bm... | 0 |
{'name': 'aioredis1_hash@ring/func/asyncio.py', 'description': "Redis interface for :mod:`asyncio`.\n\nExpected client package is aioredis_.\n\nThis implements HASH commands in aioredis.\n\naioredis expect `Redis` client or dev package is installed on your\nmachine. If you are new to Memcached, check how to install it ... | 0 |
{'name': 'rot_by_axis@python/taichi/math/mathimpl.py', 'description': 'Returns the 4x4 matrix representation of a 3d rotation with given axis `axis` and angle `ang`.\n\nArgs:\n axis (vec3): rotation axis\n ang (float): angle in radians unit\n\nReturns:\n :class:`~taichi.math.mat4`: rotation matrix', 'signature... | 0 |
{'name': 'prim_generate_maze_wall@Perfect Maze/Simple_Prim_Maze_Wall.py', 'description': '根据Prim算法,遍历墙生成a*b大小的迷宫,动态展示迷宫的生成过程\n:param a: 迷宫的行数\n:param b: 迷宫的列数\n:param path: 是否在最终的迷宫中添加路径,默认添加\n:return: 表示迷宫内所有墙的状态的字典', 'signature': 'def prim_generate_maze_wall(a, b, path=True):'}</s>Remove_Width = 4.3 | 1 |
{'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': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_store_t@language-bindings/python/src/wamr/wasmcapi/binding.py',... | 0 |
{'name': 'BVHReader.applyMotion@PythonScripts/Startup/BVH_Tool.py', 'description': 'Apply a motion sample to the skeleton.\n\nnode is the current joint and values the joint angles for the\nentire skeleton.\nThe method returns the remaining joint angles.', 'signature': 'def applyMotion(self, node, values):'}</s>{'name':... | 1 |
{'name': 'OtpErlangAtom.binary@src/api/python/erlang.py', 'description': 'return encoded representation', 'signature': 'def binary(self):'}</s>{'name': 'OtpErlangPort@src/api/python/erlang.py', 'description': 'OtpErlangPort', 'base_classes': ['object'], 'methods': [{'name': 'OtpErlangPort.__init__@src/api/python/erlang... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_NOT_CONVERTED = 2119 | 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': 'test_eeg_rpsd@mne_icalabel/iclabel/tests/test_features.py', 'description': 'Test eeg_rpsd function that extract the PSD feature from the IC.', 'signature': 'def test_eeg_rpsd(fname, constants_fname, step_by_step_fname, psd_fname, type_):'}</s>{'name': 'test_retrieve_eeglab_icawinv@mne_icalabel/iclabel/tests/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': 'SubstationFormat.from_file@pysubs2/formats/substation.py', 'description': 'See :meth:`pysubs2.formats.FormatBase.from_file()`', 'signature': 'def from_file(cls, subs: "SSAFile", fp: TextIO, format_: str, **kwargs: Any) -> None:'}</s>{'name': 'color_to_ass_rgba@pysubs2/formats/substation.py', 'description': 'D... | 0 |
{'name': 'Metar.__init__@metar/Metar.py', 'description': 'Parse raw METAR code.', 'signature': 'def __init__( self, metarcode, month=None, year=None, utcdelta=None):'}</s>PRESS_RE = re.compile(r"""^(?P<unit>A|Q|QNH|SLP)?
(?P<press>[\dO]{3,4}|////)
(?P<unit2>INS)?\s+... | 0 |
{'name': 'git_get_keywords@versioneer.py', 'description': 'Extract version information from the given file.', 'signature': 'def git_get_keywords(versionfile_abs):'}</s>{'name': 'render_pep440_pre@versioneer.py', 'description': 'TAG[.post.devDISTANCE] -- No -dirty.\n\nExceptions:\n1: no tags. 0.post.devDISTANCE', 'code'... | 0 |
{'name': 'build_timespan@yaql/standard_library/date_time.py', 'description': ':yaql:timespan\n\nReturns timespan object with specified args.\n\n:signature: timespan(days => 0, hours => 0, minutes => 0, seconds => 0,\n milliseconds => 0, microseconds => 0)\n:arg days: number of days in timespan, 0 by... | 0 |
{'name': 'plot_partition@polytope/plot.py', 'description': 'Plot partition with arrows from digraph.\n\nFor filtering edges based on label use L{plot_ts_on_partition}.\n\nSee Also\n========\nL{abstract.prop2partition.PropPreservingPartition},\nL{plot_trajectory}\n\n@type ppp: L{PropPreservingPartition}\n\n@param trans:... | 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': 'processPEreads@amptk/process_illumina_folder.py', 'description': 'function for multiprocessing of the data, so take file list as input, need global forward/reverse list available', 'signature': 'def processPEreads(input, args=False):'}</s>{'name': 'minimap_otutable@amptk/amptklib.py', 'description': 'DOCSTRIN... | 0 |
{'name': 'get_scheduler@SIM-CycleGAN/models/networks.py', 'description': "Return a learning rate scheduler\n\nParameters:\n optimizer -- the optimizer of the network\n opt (option class) -- stores all the experiment flags; needs to be a subclass of BaseOptions.\u3000\n opt.lr_pol... | 0 |
{'name': 'train_model@experiments/train.py', 'description': 'Starts appropriate training ', 'signature': 'def train_model(args, dataset, model, simulator):'}</s>{'name': 'make_sinkhorn_divergence@experiments/training/losses.py', 'description': 'Creates Sinkhorn divergence loss.\n\nSee http://www.kernel-operations.io/ge... | 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': '_get_args_ast_list@src/api/python/z3/z3.py... | 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': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': '_is_add@src/api/python/z3/z3printer.p... | 0 |
{'name': 'FormattedValue.rjust@pylib/cqlshlib/displaying.py', 'description': 'Similar to self.strval.rjust(width), but takes expected terminal\ndisplay width into account for special characters, and does not\ntake color escape codes into account.', 'signature': "def rjust(self, width, fill=' ', color=False):"}</s>{'nam... | 0 |
{'name': 'PlotModel.__init__@openmc_plotter/plotmodel.py', 'description': 'Initialize PlotModel class attributes ', 'signature': 'def __init__(self, use_settings_pkl, model_path, default_res):'}</s>{'name': 'StatePointModel@openmc_plotter/statepointmodel.py', 'description': 'Class for management of an openmc.StatePoint... | 0 |
{'name': 'test_check_tuples_invalid_shape@test/test_utils.py', 'description': 'Checks that a value error with the appropriate message is raised if\nshape is invalid (not 2D with preprocessor or 3D with no preprocessor)', 'signature': 'def test_check_tuples_invalid_shape(estimator, context, tuples, found,'}</s>preproces... | 0 |
{'name': 'live_ticket@tests/conftest.py', 'description': "Return an authentication ticket usable with AFIP's test servers.\n\nAFIP doesn't allow requesting tickets too often, so we after a few runs\nof the test suite, we can't generate tickets any more and have to wait.\n\nThis helper generates a ticket, and saves it t... | 1 |
{'name': '_extract_labels@datasets/download_and_convert_mnist.py', 'description': 'Extract the labels into a vector of int64 label IDs.\n\nArgs:\n filename: The path to an MNIST labels file.\n num_labels: The number of labels in the file.\n\nReturns:\n A numpy array of shape [number_of_labels]', 'signature': 'def _e... | 0 |
{'name': 'TypeAndTypeListTestCase.test@tools/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py', 'description': 'Exercise SBType and SBTypeList API.', 'signature': 'def test(self):'}</s>PROCESS_KILLED = "Process is killed successfully" | 0 |
{'name': 'TrinoDialect.get_foreign_keys@trino/sqlalchemy/dialect.py', 'description': 'Trino has no support for foreign keys. Returns an empty list.', 'signature': 'def get_foreign_keys('}</s>DateFromTicks = datetime.date.fromtimestamp | 0 |
{'name': 'keypoints_ui@Pose2Sim/synchronization.py', 'description': 'Step 1: Initializes the UI for selecting keypoints.\n\nThis function creates an interactive GUI for selecting keypoints. It displays\na human figure with selectable keypoints, allows users to toggle keypoint names,\nselect all or none, and confirm the... | 0 |
{'name': 'CheckLanguage@tools/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A ... | 0 |
{'name': 'GroupFitter.xfit_redshift@grizli/fitting.py', 'description': 'Two-step procedure for fitting redshifts\n\n1. polynomial, spline template fits\n2. redshift grids\n3. ...\n\nParameters\n----------\nprior : None, (array, array)\n Redshift prior (z, pz). Will be interpolated to the redshift\n fit grid\n\nt... | 0 |
{'name': 'IUSequence.icon@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the icon to use in the frontend.', 'signature': 'def icon(self) -> str:'}</s>ATTR_FINAL_DURATION = "final_duration" | 0 |
{'name': 'art@art/functions.py', 'description': 'Return 1-line art.\n\n:param artname: art name\n:type artname : str\n:param number: number of repeats\n:type number: int\n:param space: space between arts\n:type space: int\n:param __detailed_return: flag for returning the art name\n:type __detailed_return: bool\n:return... | 0 |
{'name': 'AuthenticationService.user_change_password@sdk/python/teaclave.py', 'description': 'Change password.\n\nArgs:\n\n user_password: New password.', 'signature': 'def user_change_password(self, user_password: str):'}</s>{'name': 'AuthenticationService@sdk/python/teaclave.py', 'description': 'Establish trusted ... | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQXR2_SUPPRESS_CHAIN = 16 | 0 |
{'name': 'convert_inspirations@code/html/generate_static_website.py', 'description': ':param inspirations:\n:param entries:\n:return:', 'signature': 'def convert_inspirations(inspirations, entries):'}</s>BASE_FIGURE_SIZE = 4 | 0 |
{'name': 'CScriptOp.encode_op_n@qa/rpc-tests/test_framework/script.py', 'description': 'Encode a small integer op, returning an opcode', 'signature': 'def encode_op_n(n):'}</s>OP_HASH256 = CScriptOp(0xaa) | 0 |
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>{'name': 'IUClock@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Irrigation Unlimited Clock cl... | 1 |
{'name': 'create_config@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Create the PyQt configuration module so that it can be imported by build\nscripts.\n\nmodule is the module file name.\ntemplate is the template file name.\nmacros is the dictionary of platform specific build macros.', 'signatur... | 0 |
{'name': 'losslessTrim@amptk/amptklib.py', 'description': 'function to trim primers if found from SE reads\nand then trim/pad to a set length', 'signature': 'def losslessTrim(input, fwdprimer, revprimer, mismatch, trimLen, padding, minlength, output):'}</s>{'name': 'removefile@amptk/amptklib.py', 'description': 'DOCSTR... | 0 |
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PFR_REFCNT_ANCHOR = 1 | 0 |
{'name': 'NetworkProfile.__init__@gmacpyutil/gmacpyutil/profiles.py', 'description': 'Initializes a network configuration profile with no payloads.\n\nArgs:\n username: str, the username associated with this profile.', 'signature': 'def __init__(self, username):'}</s>{'name': 'main@gmacpyutil/gmacpyutil/gmacpyutil_tes... | 0 |
{'name': 'Lexer.get_tokens@sqlparse/lexer.py', 'description': "Return an iterable of (tokentype, value) pairs generated from\n`text`. If `unfiltered` is set to `True`, the filtering mechanism\nis bypassed even if filters are defined.\n\nAlso preprocess the text, i.e. expand tabs and strip it if\nwanted and applies regi... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.