text string | label int64 |
|---|---|
{'name': 'PostgresNode.source_walsender@testgres/node.py', 'description': "Returns master's walsender feeding this replica.", 'signature': 'def source_walsender(self):'}</s>InternalError = pglib.InternalError | 0 |
{'name': 'linear@ldm/modules/diffusionmodules/util.py', 'description': 'Create a linear module.', 'signature': 'def linear(*args, **kwargs):'}</s>{'name': 'CheckpointFunction@ldm/modules/diffusionmodules/util.py', 'description': 'DOCSTRING', 'base_classes': ['torch.autograd.Function'], 'methods': [{'name': 'CheckpointF... | 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': 'SeqFoldLeftI@src/api/python/z3/z3.py', 'de... | 0 |
{'name': 'generate_dataset@Chapter09/utils.py', 'description': "Before executing this function. Follow these steps;\n1. Download the datasets\nHandbags data Link 'https://people.eecs.berkeley.edu/~tinghuiz/projects/pix2pix/datasets/edges2handbags.tar.gz'\nShoes data Link 'https://people.eecs.berkeley.edu/~tinghuiz/proj... | 0 |
{'name': 'parseMappingFile@amptk/amptklib.py', 'description': 'function to parse mapping file pull out primers and barcode sequences', 'signature': 'def parseMappingFile(input, output):'}</s>{'name': 'versiontuple@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def versiontuple(v):\n return tuple(map(int, (... | 0 |
{'name': 'SimpleScrapingLocator.get_page@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/locators.py', 'description': "Get the HTML for an URL, possibly from an in-memory cache.\n\nXXX TODO Note: this cache is never actually cleared. It's assumed that\nthe data won't get stale over the lifetime of a loc... | 0 |
{'name': 'readability@panoramix/simplify.py', 'description': "- replaces variable names with nicer ones,\n- fixes empty memory in calls\n- replaces 'max..' in setmems with msize variable\n (max can only appear because of this)", 'signature': 'def readability(trace):'}</s>exp_test = ("mul", 8, ("mem", ("range", 64, 3... | 0 |
{'name': 'from_arrow_type@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/sql/types.py', 'description': 'Convert pyarrow type to Spark data type.\n ', 'signature': 'def from_arrow_type(at):'}</s>{'name': 'DateConverter@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/sql/... | 0 |
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>ICMP6_PARAMPROB_OPTION = 2 | 0 |
{'name': 'bustools_project@kb_python/count.py', 'description': 'Runs `bustools project`.\n\n bus_path: Path to BUS file to sort\n out_dir: Path to output directory\n map_path: Path to file containing source-to-destination mapping\n ecmap_path: Path to ecmap file, as generated by `kallisto bus`\n txnames_... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMD_INQUIRE_AUTH_SERVICE = 169 | 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': 'Model._predict_loop@modified_keras/keras/models.py', 'description': 'Abstract method to loop over some data in batches.', 'signature': 'def _predict_loop(self, f, ins, batch_size=128, verbose=0):'}</s>{'name': 'l1l2@modified_keras/keras/regularizers.py', 'description': 'DOCSTRING', 'code': 'def l1l2(l1=0.01, ... | 0 |
{'name': 'main@tools/hadb.py', 'description': 'Print requested events and/or states.', 'signature': 'def main(args: ArgsNamespace, params: Params) -> str | int | None:'}</s>{'name': 'IdItemsExpr@tools/hadb.py', 'description': 'ID & items expression.', 'base_classes': [], 'methods': [{'name': 'IdItemsExpr.__init__@tools... | 0 |
{'name': 'string_to_bool@app/reports_generation/scripts/utils.py', 'description': "Convert a string representation of truth to a boolean.\nTrue values are 'y', 'yes', 't', 'true', 'on', and '1';\nFalse values are 'n', 'no', 'f', 'false', 'off', and '0'.\nRaises ValueError if 'val' is anything else.", 'signature': 'def ... | 0 |
{'name': 'nestedcode@dill/detect.py', 'description': 'get the code objects for any nested functions (e.g. in a closure)', 'signature': 'def nestedcode(func, recurse=True): #XXX: or return dict of {co_name: co} ?'}</s>{'name': 'globalvars@dill/detect.py', 'description': 'get objects defined in global scope that are refe... | 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': 'stations_timeseries@BB_MesoWest/OLD_get_Synoptic.py', 'description': ' Get station data for time series.\n\n https://developers.synopticdata.com/mesonet/v2/stations/timeseries/\n\n Parameters\n ----------\n rename_set_1 : bool\n True - Rename the DataFrame columns to not include the set_... | 1 |
{'name': 'execute.set_output@source-builder/sb/execute.py', 'description': 'Set the output handler. The stdout of the last process in a pipe\nline is passed to this handler.', 'signature': 'def set_output(self, output):'}</s>{'name': 'arg_list@source-builder/sb/execute.py', 'description': 'Turn a string of arguments in... | 0 |
{'name': 'cross_corr@utils.py', 'description': 'Calculates the cross correlation and lags without normalization.\n\nThe definition of the discrete cross-correlation is in:\nhttps://www.mathworks.com/help/matlab/ref/xcorr.html\n\nArgs:\ny1, y2: Should have the same length.\n\nReturns:\nmax_corr: Maximum correlation with... | 0 |
{'name': 'test_quit@tests/unit/test_pack.py', 'description': 'QUIT command ', 'signature': 'def test_quit():'}</s>{'name': 'test_nick@tests/unit/test_pack.py', 'description': 'NICK command ', 'code': 'def test_nick():\n """ NICK command """\n assert like("NICK foo", pack_command("NICK", nick="foo"))'} | 0 |
{'name': 'ApiStub.put_file_from_url@python-sdk/pachyderm_sdk/api/pfs/extension.py', 'description': 'Uploads a PFS file from an url.\n\nParameters\n----------\ncommit : pfs.Commit\n An open commit to modify.\npath : str\n The path in the repo the data will be written to.\nurl : str\n The URL of the file to put.... | 1 |
{'name': '_deaugment_averaging@pytorch_toolbelt/inference/tta.py', 'description': 'Average predictions of TTA-ed model.\nThis function assumes TTA dimension is 0, e.g [T, B, C, Ci, Cj, ..]\n\nArgs:\n x: Input tensor of shape [T, B, ... ]\n reduction: Reduction mode ("sum", "mean", "gmean", "hmean", function, None... | 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': 'freeport@test/io/postgrest.py', 'description': 'Find a free port on localhost.', 'signature': 'def freeport(used_port=None):'}</s>{'name': 'sleep_until_postgrest_config_reload@test/io/postgrest.py', 'description': 'Sleep until config reload', 'code': 'def sleep_until_postgrest_config_reload():\n "Sleep unt... | 0 |
{'name': 'readLzpt@fwtool/archive/lzpt.py', 'description': 'Decodes an LZTP image and returns its contents', 'signature': 'def readLzpt(file):'}</s>{'name': 'dump8@fwtool/util/__init__.py', 'description': 'DOCSTRING', 'code': 'def dump8(value):\n return chr(value)'} | 0 |
{'name': 'PSStackParser.nextobject@pdfminer3/psparser.py', 'description': 'Yields a list of objects.\n\nReturns keywords, literals, strings, numbers, arrays and dictionaries.\nArrays and dictionaries are represented as Python lists and dictionaries.', 'signature': 'def nextobject(self):'}</s>{'name': 'PSBaseParser@pdfm... | 0 |
{'name': 'quic_graph_lasso_ebic@examples/estimator_suite_spark.py', 'description': 'Run QuicGraphicalLassoEBIC with gamma.\n\nQuicGraphicalLassoEBIC is a convenience class. Results should be identical to\nthose obtained via quic_graph_lasso_ebic_manual.', 'signature': 'def quic_graph_lasso_ebic(X, gamma=0):'}</s>{'nam... | 0 |
{'name': 'RegressionRunner.predict@experiments/uci_exps/bayesian_benchmarks/models/nnet/models.py', 'description': 'default prediction method is to use built in Low rank Gaussian\nSWA: scale = 0.0, num_samples = 1', 'signature': 'def predict(self, features, swag_model=None):'}</s>{'name': 'schedule@subspace_inference/u... | 0 |
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>{'name': 'get_config_from_root@versioneer.py', 'description': 'Read the project setup.cfg file to d... | 1 |
{'name': 'RFXtrxProtocolTest.test_complete_packet@test/test_rfxtrx_protocol.py', 'description': 'Protocol should assemble incoming lines into complete packet.', 'signature': 'def test_complete_packet(self):'}</s>ELECTRICITY_DELIVERED_TARIFF_4 = "^\d-\d:2\.8\.4.+?\r\n" | 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': 'is_mod@src/api/python/z3/z3.py', 'de... | 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': 'ServiceMethodCompiler.py_output_message_type@src/betterproto/plugin/models.py', 'description': 'String representation of the Python type corresponding to the\noutput message.\n\nReturns\n-------\nstr\n String representation of the Python type corresponding to the output message.', 'signature': 'def py_outp... | 0 |
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ... | 0 |
{'name': 'InitializerListTestCase.test@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py', 'description': 'Test that that file and class static variables display correctly.', 'signature': 'def test(self):'}</s>{'name': 'get_module_names@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': 'is_xbar@rtl/vendor/pulp_platform_register_interface/vendor/lowrisc_opentitan/util/topgen/merge.py', 'description': 'Check if the given name is crossbar\n ', 'signature': 'def is_xbar(top, name):'}</s>{'name': 'parse_pad_field@rtl/vendor/pulp_platform_register_interface/vendor/lowrisc_opentitan/util/topgen/... | 0 |
{'name': 'test_read_mapping_file@vermouth/tests/test_map_input.py', 'description': 'Test that regular mapping files are read as expected.', 'signature': 'def test_read_mapping_file(case):'}</s>FORCE_FIELD_PARSERS = {'.rtp': read_rtp, '.ff': read_ff, '.bib': read_bib} | 0 |
{'name': '_DecodeUnknownField@python/google/protobuf/internal/decoder.py', 'description': 'Decode a unknown field. Returns the UnknownField and new position.', 'signature': 'def _DecodeUnknownField('}</s>{'name': 'EncodeError@python/google/protobuf/message.py', 'description': 'Exception raised when serializing message... | 0 |
{'name': 'check_music@tests/utils.py', 'description': 'Check example music.', 'signature': 'def check_music(music, ext=None, resolution=24):'}</s>{'name': 'check_time_signatures@tests/utils.py', 'description': 'Check time signatures.', 'code': 'def check_time_signatures(time_signatures):\n """Check time signatures."... | 1 |
{'name': 'parse_file@src/pyradox/filetype/txt.py', 'description': 'Parse a single file and return a Tree.\npath, game: \n If game is None, path is a full path and the game is determined from that.\n Or game can be supplied, in which case path is a path relative to the game directory.', 'signature': 'def parse_fil... | 0 |
{'name': 'ParallelCompile.function@deps/pybind11/pybind11/setup_helpers.py', 'description': 'Builds a function object usable as distutils.ccompiler.CCompiler.compile.', 'signature': 'def function(self):'}</s>cpp_flag_cache = None | 0 |
{'name': 'TestEularian.test_find_dead_ends_double_correct@tests/test_eularian.py', 'description': 'Find dead ends: Two adjacent triandles with tails on peak and belt.', 'signature': 'def test_find_dead_ends_double_correct(self):'}</s>{'name': 'make_eularian@chinesepostman/eularian.py', 'description': 'Add necessary pat... | 0 |
{'name': 'tgasSelect.plot_cmd@gaia_tools/select/tgasSelect.py', 'description': "NAME:\n plot_cmd\nPURPOSE:\n Plot the distribution of counts in the color-magnitude diagram\nINPUT:\n type= ('sf') Plot 'sf': selection function\n 'tgas': TGAS counts\n '2mass': 2MASS counts\n ... | 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': 'm_tester.save_egdemaps@legacy/test.py', 'description': 'save_edgemaps descriptios\n\n:param em_maps:\n:param single_image:\nsave predicted edge maps', 'signature': 'def save_egdemaps(self, em_maps, single_image=False):'}</s>{'name': 'normalization_data_01@legacy/utls/utls.py', 'description': 'data normalizati... | 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': 'ctype2ext@meza/convert.py', 'description': "Converts an http content type to a file extension.\n\nArgs:\n content_type (str): Output file path or directory.\n\nReturns:\n str: file extension\n\nExamples:\n >>> ctype2ext('/csv;') == 'csv'\n True\n >>> ctype2ext('/xls;') == 'xls'\n True\n >... | 0 |
{'name': 'iSpotTV.buildCategory@plugin.video.ispot.tv/resources/lib/ispot.py', 'description': '< div\nclass ="mb-0" >\n< a adname = "FootJoy Pro/SLX TV Spot, \'Joy Ride\' Featuring Max Homa, Danielle Kang, Song by 10cc - 16 airings" href = "/ad/6K6T/footjoy-pro-slx-joy-ride" >\n< img alt = "FootJoy Pro/SLX TV Spot, \'J... | 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': 'Identifier.is_wildcard@sqlparse/sql.py', 'description': 'Return ``True`` if this identifier contains a wildcard.', 'signature': 'def is_wildcard(self):'}</s>{'name': 'SquareBrackets@sqlparse/sql.py', 'description': 'Tokens between square brackets', 'base_classes': ['TokenList'], 'methods': [{'name': 'SquareBr... | 0 |
{'name': 'simplify_symmetric_case@research/2019_05_08_performance_checks/src/vqf/preprocessing.py', 'description': 'Simplifies expressions if p_dict and q_dict are "symmetric".\n\nExample: numbers p = [1, x, 1] and q = [1, 1-x, 1] are symmetric, since \nif multiplied, they will produce the same result regardless of the... | 0 |
{'name': 'toggleManager@BlendNet/addon.py', 'description': "Running the manager instance if it's not already started or stopping it", 'signature': 'def toggleManager():'}</s>{'name': 'getManagerIP@BlendNet/addon.py', 'description': 'DOCSTRING', 'code': "def getManagerIP(context = None):\n prefs = bpy.context.prefere... | 0 |
{'name': 'HyperFrameRecord.add_frames@disdat/hyperframe.py', 'description': "Add frames to the PB. If UUID, just add the UUID. If a FrameRecord,\nthen add both the UUID in the pb.frames map and the FrameRecord in the frame_cache.\n\nArgs:\n frames (:list:'FrameRecord' or :list:tuple:str,str): List of Frames to app... | 0 |
{'name': 'GTestBreakOnFailureUnitTest.RunAndVerify@googletest/test/googletest-break-on-failure-unittest.py', 'description': 'Runs googletest-break-on-failure-unittest_ and verifies its behavior.\n\nRuns googletest-break-on-failure-unittest_ and verifies that it does\n(or does not) have a seg-fault.\n\nArgs:\n env_var_... | 0 |
{'name': 'AdamsBashforthMoulton._has_converged@torchdiffeq/_impl/fixed_adams.py', 'description': 'Checks that each element is within the error tolerance.', 'signature': 'def _has_converged(self, y0, y1):'}</s>{'name': 'Perturb@torchdiffeq/_impl/misc.py', 'description': 'DOCSTRING', 'base_classes': ['Enum'], 'methods': ... | 0 |
{'name': 'Upstream2D.__init__@oggm/core/sia2d.py', 'description': "Create a new 2D model from gridded data.\n\nParameters\n----------\nbed_topo : 2d array\n the topography\ninit_ice_thick : 2d array (optional)\n the initial ice thickness (default is zero everywhere)\ndx : float\n map resolution (m)\ndy : float... | 1 |
{'name': 'pi@diffcp/cones.py', 'description': 'Projects x onto product of cones (or their duals)\nArgs:\n x: NumPy array (with PSD data formatted in SCS convention)\n cones: list of (cone name, size)\n dual: whether to project onto the dual cone\nReturns:\n NumPy array that is the projection of `x` onto the... | 0 |
{'name': 'user@backend-tests/tests/test_aws_iotcore.py', 'description': 'Create Mender user and create an AWS IoT Core integration in iot-manager using the connection string.', 'signature': 'def user(clean_mongo) -> Optional[User]:'}</s>URL_INTERNAL = "/api/internal/v1/devauth" | 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': 'select_hfr_db@disdat/hyperframe.py', 'description': 'Create an HFrame Record from a row in our DB.\nWhere uuid= && owner= && human_name= && processing_name=\n\nArgs:\n engine_g:\n uuid (str): add to where clause\n owner (str): add to where clause\n human_name (str): add to where clause\n proce... | 0 |
{'name': 'get_topo_file@oggm/utils/_downloads.py', 'description': "Path(s) to the DEM file(s) covering the desired extent.\n\nIf the needed files for covering the extent are not present, download them.\n\nThe default behavior is to try a list of DEM sources in order, and\nstop once the downloaded data is covering a lar... | 1 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': '_covhelper@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Private function for the computation of covariance and correlation\ncoefficients.', 'signature': 'def _covhelper(x, y=None, rowvar=True, allow_masked=True):'}</s>{'name': 'ediff1d@venv/Lib/site-packages/numpy/ma/extras.py', 'description': ... | 0 |
{'name': 'asynq@asynq/decorators.py', 'description': 'Async task decorator.\nConverts a method returning generator object to\na method returning AsyncTask object.', 'signature': 'def asynq('}</s>{'name': 'FutureBase@asynq/futures.py', 'description': "Abstract base class for delayed computations (AKA\nfutures or promise... | 0 |
{'name': 'test_snake_gridlock@tests/test_traffic_scheduling_problem.py', 'description': 'A bad route was given to train abcd, and now the train has gridlocked itself.\n\n 9 - 10 - 11 - 12\n |\n1 - 2 - 3 - 4 - 5d-> 6c\n ^ |\n | v\n 8a - 7b\... | 0 |
{'name': 'remove_y@test/test_utils.py', 'description': 'Quadruplets and triplets learners have no y in fit, but to write test for\nall estimators, it is convenient to have this function, that will return X\nand y if the estimator needs a y to fit on, and just X otherwise.', 'signature': 'def remove_y(estimator, X, y):'... | 0 |
{'name': 'DockerContainerSensor.update@docker_monitor/sensor.py', 'description': 'Get the latest data for the states.', 'signature': 'def update(self):'}</s>ATTR_ONLINE_CPUS = "online_cpus" | 1 |
{'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>{'name': 'q_vl@pymeteo/thermo.py', 'description': 'DOCSTRING',... | 0 |
{'name': 'normalize_numbered_streets@scourgify/normalize.py', 'description': 'Change numbered street names to include missing original identifiers.\n\n:param parsed_addr: address parsed into ordereddict per usaddress.\n:type parsed_addr: Mapping\n:return: parsed_addr with ordinal identifiers appended to numbered street... | 0 |
{'name': 'DebuggerAPI.do_next@tools/p4dbg.py', 'description': 'Go to next field update: next(n)', 'signature': 'def do_next(self, line):'}</s>{'name': 'Msg_ResumePacketIn@tools/p4dbg.py', 'description': 'DOCSTRING', 'base_classes': ['BasicMsg'], 'methods': []} | 0 |
{'name': 'browser@cloud_browser/views.py', 'description': 'View files in a file path.\n\n:param request: The request.\n:param path: Path to resource, including container as first part of path.\n:param template: Template to render.', 'signature': 'def browser(request, path="", template="cloud_browser/browser.html"):'}</... | 0 |
{'name': 'quaternion_to_Euler_angles@python/pix2face_estimation/geometry_utils.py', 'description': 'convert q to Euler angles\nangles are returned in the order of application, specified by order\nadapted and generalized based on code available at the following url:\nhttp://bediyap.com/programming/convert-quaternion-to-... | 0 |
{'name': 'JavaDataStream.sink@streaming/python/raystreaming/datastream.py', 'description': 'See io.raystreaming.api.stream.DataStream.sink', 'signature': 'def sink(self, java_func_class):'}</s>{'name': 'SourceContext@streaming/python/raystreaming/function.py', 'description': 'Interface that source functions use to emit... | 0 |
{'name': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo... | 0 |
{'name': 'Serial._telnet_read_loop@serial/rfc2217.py', 'description': 'Read loop for the socket.', 'signature': 'def _telnet_read_loop(self):'}</s>SERVER_FLOWCONTROL_RESUME = b'm' | 0 |
{'name': 'FancyPage.draw_background@rst2pdf/createpdf.py', 'description': 'Draws a background and/or foreground image\non each page which uses the template.\n\nCalculates the image one time, and caches\nit for reuse on every page in the template.\n\nHow the background is drawn depends on the\n--fit-background-mode opti... | 0 |
{'name': 'TcpServer.request_termination@cli/rpc2socks/utils/tcpserver.py', 'description': "Request this server's own I/O handling thread to leave gracefully.", 'signature': 'def request_termination(self):'}</s>logger = logging.get_internal_logger(__name__) | 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>MQIAMO_PUTS = 735 | 0 |
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PF_NOSCRUB = 3 | 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': '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': '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': 'reset_meters@fairseq/logging/metrics.py', 'description': 'Reset Meter instances aggregated under a given *name*.', 'signature': 'def reset_meters(name: str) -> None:'}</s>_active_aggregators = OrderedDict() | 0 |
{'name': 'BL3Profile.set_vaultcard3_keys@bl3save/bl3profile.py', 'description': 'Sets the number of Vault Card 3 keys to `num_keys`', 'signature': 'def set_vaultcard3_keys(self, num_keys):'}</s>_globals = globals() | 0 |
{'name': 'render_heading@lookatme/render/markdown_block.py', 'description': 'Render markdown headings, using the defined styles for the styling and\nprefix/suffix.\n\nSee :any:`lookatme.tui.SlideRenderer.do_render` for argument and return\nvalue descriptions.\n\nBelow are the default stylings for headings:\n\n.. code-b... | 0 |
{'name': 'DonutModel.plot_results@loudml/donut.py', 'description': '# Arguments:\n models (tuple): encoder and decoder models\n data (tuple): test data and label\n model_name (string): which model is using this function', 'signature': 'def plot_results('}</s>{'name': 'make_datetime@loudml/misc.py', 'descriptio... | 1 |
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'on_restart_server@src/server/server.py', 'description': 'Re-execute the current process.', 'code': 'def on_restart_server():\n \'\'\'Re-execute the current process... | 0 |
{'name': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>SPARK_TO_MOHAV... | 0 |
{'name': 'draw_lnurl_qr@displays/waveshare2in13v3.py', 'description': 'Draw a lnurl qr code on the e-ink screen\n ', 'signature': 'def draw_lnurl_qr(qr_img):'}</s>thankyou_screen_2 = "satoshis!!" | 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': 'LatentDiffusion._prior_bpd@ldm/models/diffusion/ddpm.py', 'description': "Get the prior KL term for the variational lower-bound, measured in\nbits-per-dim.\nThis term can't be optimized, as it only depends on the encoder.\n:param x_start: the [N x C x ...] tensor of inputs.\n:return: a batch of [N] KL values ... | 0 |
{'name': 'test_LocalstackEndpointResolver@tests/integration/test_contrib/test_botocore.py', 'description': 'Test pytest_localstack.botocore.LocalstackEndpointResolver.', 'signature': 'def test_LocalstackEndpointResolver('}</s>{'name': 'test_create_credential_resolver@tests/integration/test_contrib/test_botocore.py', 'd... | 0 |
{'name': 'convert@ytmdl/core.py', 'description': 'Convert the song into the proper format as asked by\nthe user.', 'signature': 'def convert('}</s>{'name': 'get_title@ytmdl/yt.py', 'description': 'Try to get the title of the song.\n\nThis is mostly used when URL is passed or playlist\nlinks are passed since in those ca... | 0 |
{'name': 'serial@nordicsemi/__main__.py', 'description': 'Program a device with bootloader that support serial DFU', 'signature': 'def serial(package, port, baudrate, flowcontrol, singlebank, touch):'}</s>{'name': 'dfu@nordicsemi/__main__.py', 'description': 'This set of commands support Nordic DFU OTA package generati... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCCSI_UNDEFINED = 0 | 0 |
{'name': '_dashboards_response@tessera-server/tessera/views_api.py', 'description': 'Return a Flask response object for a list of dashboards in API\nformat. dashboards must be a list of dashboard model objects, which\nwill be converted to their JSON representation.\n ', 'signature': 'def _dashboards_response(dashboa... | 0 |
{'name': 'pt_tempo_compute@oqupy/pt_tempo.py', 'description': "Shortcut for creating a process tensor by performing a PT-TEMPO\ncomputation.\n\nParameters\n----------\nbath: Bath\n The Bath (includes the coupling operator to the system).\nstart_time: float\n The start time.\nend_time: float\n The time to which... | 0 |
{'name': 'PythonTypeObjectFunctionPrototype.GetDataTypeDescription@yaldevtools/source_code.py', 'description': 'Retrieves the data type description.\n\nReturns:\n str: data type description.', 'signature': 'def GetDataTypeDescription(self):'}</s>FUNCTION_TYPE_INITIALIZE = "initialize" | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.