text
string
label
int64
{'name': 'test_datasetprovider_awkward_exporter_multiple_subtensors@kinoml/tests/datasets/test_core.py', 'description': 'When we use an aggregator like TupleOfArrays, which\nbreaks the one system -> one tensor assumption,\nwe need to use the `.dict_of_arrays()` exporter.\n\nThis creates a dictionary of arrays, where ea...
1
{'name': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'GenericFunction@gef.py', 'description': 'This is an abstract class for invoking convenience functions, should not be instantiat...
0
{'name': 'test_sigma_plot@filterpy/kalman/tests/ukf2.py', 'description': "Test to make sure sigma's correctly mirror the shape and orientation\nof the covariance array.", 'signature': 'def test_sigma_plot():'}</s>{'name': 'SimplexSigmaPoints@filterpy/kalman/sigma_points.py', 'description': 'Generates sigma points and w...
1
{'name': 'EC_pub.get_der@src/M2Crypto/EC.py', 'description': 'Returns the public key in DER format as a buffer object.', 'signature': 'def get_der(self):'}</s>NID_sect239k1 = m2.NID_sect239k1
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>MQCACF_SYSP_ARCHIVE_UNIT1 = 3116
0
{'name': 'FutureBase._computed@asynq/futures.py', 'description': 'Protected method invoked when value or error property\nis set.\n\nRaises on_computed event.', 'signature': 'def _computed(self):'}</s>{'name': 'dump_error@asynq/debug.py', 'description': 'Dumps errors w/async stack traces.', 'code': 'def dump_error(error...
0
{'name': 'main_shell@signac/__main__.py', 'description': 'Handle shell subcommand.', 'signature': 'def main_shell(args):'}</s>SHELL_HISTORY_FN = os.sep.join((".signac", "shell_history"))
1
{'name': 'get_local_part@src/future/backports/email/_header_value_parser.py', 'description': 'local-part = dot-atom / quoted-string / obs-local-part\n\n ', 'signature': 'def get_local_part(value):'}</s>TOKEN_ENDS = TSPECIALS | WSP
0
{'name': 'WebSocket.connect@vertx-web/src/test/sockjs-protocol/websocket/_core.py', 'description': 'Connect to url. url is websocket url scheme.\nie. ws://host:port/resource\nYou can customize using \'options\'.\nIf you set "header" list object, you can set your own custom header.\n\n>>> ws = WebSocket()\n>>> ws.connec...
0
{'name': 'RangeTransfer._parse_headers@wfdb/io/_url.py', 'description': 'Parse the headers of the response object.\n\nParameters\n----------\nmethod : str\n The HTTP method used for the request.\nresponse : requests.Response\n The resulting response object.\n\nReturns\n-------\nN/A\n\nNotes\n-----\n- response_url...
0
{'name': 'test_cli_addremove_role@tests/test_cli.py', 'description': 'Test add/remove role.', 'signature': 'def test_cli_addremove_role(cli_app):'}</s>{'name': 'test_cli_createrole@tests/test_cli.py', 'description': 'Test create user CLI.', 'code': 'def test_cli_createrole(cli_app):\n """Test create user CLI."""\n ...
0
{'name': 'do_build@shipwright/_lib/build.py', 'description': 'Generic function for building multiple images while\nnotifying a callback function with output produced.\n\nGiven a list of targets it builds the target with the given\nbuild_func while streaming the output through the given\nshow_func.\n\nReturns an iterato...
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': 'HkStack.error@rfpy/hk.py', 'description': "Method to determine the error on H and k estimates.\n\nFrom Walsh, JGR, 2013\n\nParameters\n----------\nq : float\n Confidence level for the error estimate\nerr_method : str\n How errors should be estimated. Options are ``err_method='amp'``\n to estimate err...
0
{'name': 'Reader.__init__@tools/gfx/png.py', 'description': 'Create a PNG decoder object.\n\nThe constructor expects exactly one keyword argument. If you\nsupply a positional argument instead, it will guess the input\ntype. You can choose among the following keyword arguments:\n\nfilename\n Name of input file (a PNG f...
0
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>{'na...
0
{'name': 'TrainCtx.__init__@persia/ctx.py', 'description': 'Arguments:\n embedding_optimizer (persia.embedding.optim.Optimizer): optimizer for the\n embedding parameters.\n dense_optimizer (torch.optim.Optimizer): optimizer for dense parameters.\n grad_scalar_update_factor (float, optional): update fact...
1
{'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': 'Hashing.encode_image@imagededup/methods/hashing.py', 'description': "Generate hash for a single image.\n\nArgs:\n image_file: Path to the image file.\n image_array: Optional, used instead of image_file. Image typecast to numpy array.\n\nReturns:\n hash: A 16 character hexadecimal string hash for the ...
0
{'name': 'cxx_file@config/filewrite.py', 'description': 'Generate a C++ file, with a warning header. ', 'signature': 'def cxx_file(lines):'}</s>{'name': 'extend_each@config/util.py', 'description': 'For two dictionaries whose values are lists, join the values that have the same key. ', 'code': "def extend_each(lhs,rhs)...
0
{'name': 'summariseSingleR@pipelines/pipeline_scxl.py', 'description': 'Collect the single R plots into a section for the report', 'signature': 'def summariseSingleR(infile, outfile):'}</s>{'name': 'taskSummary@pipelines/pipeline_scxl.py', 'description': 'Make a summary of optional tasks that will be run', 'code': 'def...
0
{'name': 'DataStream.partition_by@streaming/python/raystreaming/datastream.py', 'description': 'Sets the partitioning of the :class:`DataStream` so that the elements\nof stream are partitioned by specified partition function.\n\nArgs:\n partition_func: partition function.\n If `func` is a python function instead ...
0
{'name': 'test_HindcastEnsemble_verify_lead0_lead1@src/climpred/tests/test_HindcastEnsemble_class.py', 'description': 'Checks that HindcastEnsemble.verify() returns the same results with a lead-0 and\nlead-1 framework.', 'signature': 'def test_HindcastEnsemble_verify_lead0_lead1('}</s>{'name': 'test_HindcastEnsemble_in...
0
{'name': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'sig...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQPBC_STRUC_ID_ARRAY = [b'P', b'B', b'C', b' ']
0
{'name': 'Mapdef.__init__@swagger_to/go_server.py', 'description': 'Initialize with default values.', 'signature': 'def __init__(self):'}</s>_HANDLER_GO_TPL = ENV.from_string('''\ // Code generated by swagger_to. DO NOT EDIT. package {{ package }} // Automatically generated file by swagger_to. DO NOT EDIT OR APPEND AN...
0
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inlin...
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': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>{'name': '_FilterExcludedFiles@scripts/cpplint.py', 'description': 'Filters out files listed in the --exclude command line switch. File paths\nin the...
0
{'name': '_main@tools/gfx/png.py', 'description': 'Run the PNG encoder with options from the command line.', 'signature': 'def _main(argv):'}</s>{'name': 'group@tools/gfx/png.py', 'description': 'DOCSTRING', 'code': 'def group(s, n):\n # See http://www.python.org/doc/2.6/library/functions.html#zip\n return list(z...
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': 'Plant.pick_petal@src/astrobotany/models.py', 'description': "Pick a petal from a flowering plant.\n\nArgs:\n user: The user picking the petal, if not the plant's owner.\n\nReturns: A string with a description of the resulting action.", 'signature': 'def pick_petal(self, user: User | None = None) -> str:'}<...
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': 'PBES1.decrypt@blockchain-env/lib/python3.7/site-packages/Cryptodome/IO/_PBES.py', 'description': 'Decrypt a piece of data using a passphrase and *PBES1*.\n\nThe algorithm to use is automatically detected.\n\n:Parameters:\n data : byte string\n The piece of data to decrypt.\n passphrase : byte string\n ...
0
{'name': 'WinograndeTask.load_dataset@examples/roberta/wsc/wsc_task.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset('}</s>{'name': 'new_arange@fairseq/utils.py', 'description': 'Return a Tensor of `size` filled wit...
0
{'name': 'CorpusMixin.normalize_text@montreal_forced_aligner/corpus/base.py', 'description': "Normalize the text of the corpus using a dictionary's sanitization functions and word mappings", 'signature': 'def normalize_text(self) -> None:'}</s>{'name': 'MfaConfiguration@montreal_forced_aligner/config.py', 'description'...
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': 'right_shift_blockwise@tensor2tensor_envi/layers/common_attention.py', 'description': 'Right shifts once in every block.\n\nArgs:\n x: a tensor of shape [batch, height, width, depth]\n query_shape: A 2d tuple of ints\n name: a string\n\nReturns:\n output: a tensor of the same shape as x', 'signature': 'def...
0
{'name': 'make_logical_schema@lang/py/avro/schema.py', 'description': 'Map the logical types to the appropriate literal type and schema class.', 'signature': 'def make_logical_schema(logical_type, type_, other_props):'}</s>{'name': 'NamedSchema@lang/py/avro/schema.py', 'description': 'Named Schemas specified in NAMED_T...
0
{'name': 'Files._get_checksum_from_extension@proxmoxer/tools/files.py', 'description': 'Uses a checksum file with a checksum extension added to the target file to discover the checksum\n\n:param url: the URL string of the target file\n:type url: str\n:param checksum_info: the type of checksum to search for\n:type check...
0
{'name': 'wrap_installers@jupyter_packaging/setupbase.py', 'description': 'Make a setuptools cmdclass that calls a prebuild function before installing.\n\nParameters\n----------\npre_develop: function\n The function to call prior to the develop command.\npre_dist: function\n The function to call prior to the sdis...
0
{'name': 'install_python@bootstrap.py', 'description': 'Install just the base environment, no distutils patches etc', 'signature': 'def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, symlink=True):'}</s>py_version = 'python%s.%s' % (sys.version_info[0], sys.version_info[1])
1
{'name': '_spectrogram@librosa/core/spectrum.py', 'description': 'Retrieve a magnitude spectrogram.\n\nThis is primarily used in feature extraction functions that can operate on\neither audio time-series or spectrogram input.\n\nParameters\n----------\ny : None or np.ndarray\n If provided, an audio time series\n\nS ...
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>MQCMD_CHANGE_TRACE = 103
0
{'name': 'register_component_services@custom_components/irrigation_unlimited/service.py', 'description': 'Register the component', 'signature': 'def register_component_services('}</s>SERVICE_CANCEL = "cancel"
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_QSG_DISPS = 1126
0
{'name': 'device_removed@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is removed', 'signature': 'def device_removed(notification):'}</s>{'name': 'MyRotatingFileHandler@tools/ble_sniffer/extcap/SnifferAPI/Logger.py', 'description': 'DOCSTRING', 'base_classes': ['logHandlers.RotatingFileHandler'...
0
{'name': 'NonCallableMock._get_child_mock@Contents/Libraries/Shared/mock.py', 'description': 'Create the child mocks for attributes and return value.\nBy default child mocks will be the same type as the parent.\nSubclasses of Mock may want to override this to customize the way\nchild mocks are made.\n\nFor non-callable...
0
{'name': 'is_mask@eoreader/bands/__init__.py', 'description': 'Returns True if is a Mask band (from :code:`MaskBandNames`)\n\nArgs:\n mask (BandType): Anything that could be a Mask band\n\nReturns:\n bool: True if the band asked is a Mask band\n\nExamples:\n\n >>> from eoreader.bands import NDVI, HH, GREEN, SL...
0
{'name': 'Window.at@tests/auto/wasm/selenium/qwasmwindow.py', 'description': 'Returns (window, offset) for given handle on window', 'signature': 'def at(self, handle):'}</s>{'name': 'UP@tests/auto/wasm/selenium/qwasmwindow.py', 'description': 'DOCSTRING', 'base_classes': ['Direction'], 'methods': [{'name': 'UP.__init__...
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': 'fpToUBV@src/api/python/z3/z3.py', 'd...
0
{'name': 'is_on_the_line@articles/inversion.py', 'description': "Check if 'point' is on the line given by two points 'lp1' and 'lp2'.", 'signature': 'def is_on_the_line(point, lp1, lp2, thres = 1e-6):'}</s>{'name': 'RightAngleIndicator@articles/inversion.py', 'description': 'DOCSTRING', 'base_classes': ['VMobject'], 'm...
0
{'name': '_validate@src/feedvalidator/__init__.py', 'description': 'validate RSS from string, returns validator object', 'signature': 'def _validate(aString, firstOccurrenceOnly, loggedEvents, base, encoding, selfURIs=None, mediaType=None):'}</s>{'name': 'BestPractices@src/feedvalidator/logging.py', 'description': 'DOC...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_SMPO_ERROR = 2463
0
{'name': 'import_da@da/api.py', 'description': '**DEPRECATED***\n\nImports DistAlgo module \'module\', returns the module object.\n\nThis function mimics the Python builtin __import__() function for DistAlgo\nmodules. \'name\' is the name of the module to be imported, in\n"dotted module name" format. The module must be...
0
{'name': 'list_dfu_devices@tools/pydfu.py', 'description': 'Prints a lits of devices detected in DFU mode.', 'signature': 'def list_dfu_devices(*args, **kwargs):'}</s>__verbose = None
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': 'follow_device@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Follow the selected device', 'signature': 'def follow_device(sniffer, device):'}</s>{'name': 'MyRotatingFileHandler@tools/ble_sniffer/extcap/SnifferAPI/Logger.py', 'description': 'DOCSTRING', 'base_classes': ['logHandlers.RotatingFile...
0
{'name': 'Serial._update_dtr_state@serial/serialwin32.py', 'description': 'Set terminal status line: Data Terminal Ready', 'signature': 'def _update_dtr_state(self):'}</s>ONE5STOPBITS = 1
0
{'name': 'info_for_entire_history@ascmhl/commands.py', 'description': 'ROOT_PATH: the root path to use for the asc mhl history', 'signature': 'def info_for_entire_history(root_path, verbose):'}</s>debug_logging = False
0
{'name': 'Bootstrap.compute_children_sql@operations.py', 'description': 'Compute the children on resampled data in SQL.', 'signature': 'def compute_children_sql('}</s>{'name': 'PrePostChange@operations.py', 'description': 'PrePost Percent change estimator on a Metric.\n\nComputes the percent change after controlling fo...
0
{'name': 'ParseArguments@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args)...
1
{'name': 'DNSIncoming.readQuestions@stino/pyarduino/base/zeroconf.py', 'description': 'Reads questions section of packet', 'signature': 'def readQuestions(self):'}</s>_DNS_PORT = 53
0
{'name': 'RedisDB.__init__@spider/db/redisdb.py', 'description': 'redis的封装\nArgs:\n ip_ports: ip:port 多个可写为列表或者逗号隔开 如 ip1:port1,ip2:port2 或 ["ip1:port1", "ip2:port2"]\n db:\n user_pass:\n url:\n decode_responses:\n service_name: 适用于redis哨兵模式', 'signature': 'def __init__('}</s>{'name': 'Singleton@spide...
0
{'name': 'Client.user_metadata@myfitnesspal/client.py', 'description': 'Metadata about of the logged-in account.', 'signature': 'def user_metadata(self) -> types.UserMetadata:'}</s>{'name': 'AdminFlagDict@myfitnesspal/types.py', 'description': 'DOCSTRING', 'base_classes': ['TypedDict'], 'methods': []}
0
{'name': 'BayesNet.new_from_nx_graph@graphs/BayesNet.py', 'description': 'Returns a BayesNet constructed from nx_graph.\n\nParameters\n----------\nnx_graph : networkx DiGraph\n\nReturns\n-------\nBayesNet', 'signature': 'def new_from_nx_graph(nx_graph):'}</s>{'name': 'Dag@graphs/Dag.py', 'description': "A Dag is a Grap...
0
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_object_reserv...
0
{'name': 'callback@scripts/build.py', 'description': 'Build tools.', 'signature': 'def callback() -> None:'}</s>{'name': '_project_paths@scripts/build.py', 'description': 'DOCSTRING', 'code': 'def _project_paths(glob: str) -> Iterable[Path]:\n for base_dir in ("hier_config", "tests", "scripts"):\n base_path =...
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': 'normalize@src/packageurl/__init__.py', 'description': 'Return normalized purl components', 'signature': 'def normalize('}</s>basestring = (bytes, str)
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>MQIA_SERVICE_TYPE = 121
0
{'name': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam...
1
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>{'na...
0
{'name': 'prettyFrameStack@boxx/tool/toolLog.py', 'description': 'get frame return pretty str of stack\n\n>>> prettyFrameLocation(frame)\n__init__ <-f <-ff <-demo.py\n\nParameters\n----------\nframe : frame or int, default 0\n if int:相对于调用此函数frame的 int 深度的对应frame\nendByMain : bool, default True\n 为 True 则在第一个 fra...
0
{'name': 'apply_mirror_prefix_map@tools/idf_tools.py', 'description': 'Rewrite URL for given tool_obj, given tool_version, and current platform,\nif --mirror-prefix-map flag or IDF_MIRROR_PREFIX_MAP environment variable is given.', 'signature': 'def apply_mirror_prefix_map(args, tool_obj, tool_version):'}</s>SUBST_TOOL...
0
{'name': 'BaseResponse.add_header@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Add an additional response header, not removing duplicates. ', 'signature': 'def add_header(self, name, value):'}</s>{'name': 'static_file@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Open a file in a ...
0
{'name': 'SymSpell._load_dictionary_stream@symspellpy/symspellpy.py', 'description': 'Loads multiple dictionary entries from a stream of word/frequency\ncount pairs.\n\n**NOTE**: Merges with any dictionary data already loaded.\n\nArgs:\n corpus_stream: A file object of the dictionary.\n term_index: The column pos...
0
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_memory_set_host_info@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': 'd...
0
{'name': 'write@code/html/generate_static_website.py', 'description': 'Writes a generated HTML page to a file, but checks with a HTML parser before.\n:param text:\n:param file:', 'signature': 'def write(text, path):'}</s>web_path = root_path / 'docs'
1
{'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_CONFIGURATION_EVENTS = 1174
0
{'name': 'randomAlpha@src/common/utils.py', 'description': "Returns a random alphabetic string of length 'length' ", 'signature': 'def randomAlpha(length):'}</s>{'name': 'extractStringsFromText@src/common/utils.py', 'description': 'DOCSTRING', 'code': 'def extractStringsFromText(text): \n import re\n result ...
0
{'name': 'Graph.find_order@kivy_ios/toolchain.py', 'description': 'Do a topological sort on a dependency graph\n\n:Parameters:\n :Returns:\n iterator, sorted items form first to last', 'signature': 'def find_order(self):'}</s>initial_working_directory = getcwd()
0
{'name': 'GetXcodeArchsDefault@gyp/pylib/gyp/xcode_emulation.py', 'description': 'Returns the |XcodeArchsDefault| object to use to expand ARCHS for the\ninstalled version of Xcode. The default values used by Xcode for ARCHS\nand the expansion of the variables depends on the version of Xcode used.\n\nFor all version ant...
0
{'name': 'AmharicLocale.describe@arrow/locales.py', 'description': 'Describes a delta within a timeframe in plain language.\n\n:param timeframe: a string representing a timeframe.\n:param delta: a quantity representing a delta in a timeframe.\n:param only_distance: return only distance eg: "11 seconds" without "in" or ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQDH_CURRENT_LENGTH = 48
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': '_eeg_rpsd_compute_psdmed@mne_icalabel/iclabel/features.py...
1
{'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': '_SimpleDecoder@python/google/protobuf/internal/decoder.py', 'description': "Return a constructor for a decoder for fields of a particular type.\n\nArgs:\n wire_type: The field's wire type.\n decode_value: A function which decodes an individual value, e.g.\n _DecodeVarint()", 'signature': 'def _Si...
0
{'name': 'CalrissianCommandLineJob.report@calrissian/job.py', 'description': 'Convert the k8s-specific completion result into a report and submit it\n:param completion_result: calrissian.k8s.CompletionResult', 'signature': 'def report(self, completion_result: CompletionResult, disk_bytes):'}</s>{'name': 'read_yaml@calr...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_POLICY_VERSION = 238
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>MQRC_CBD_OPTIONS_ERROR = 2484
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': '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': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike...
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': 'main@tools/otsdb-dump-restore/src/kilda/tsdb_dump_restore/dump.py', 'description': 'This tool dumps the data from an OpenTSDB\n\nOPENTSDB_ENDPOINT openTSDB endpoint\n\nTIME_START time since the data is dumped\n\nExample:\nkilda-otsdb-dump http://example.com:4242 2023-03-08', 'signature': 'def main(opentsdb_en...
0
{'name': 'is_mask@eoreader/bands/__init__.py', 'description': 'Returns True if is a Mask band (from :code:`MaskBandNames`)\n\nArgs:\n mask (BandType): Anything that could be a Mask band\n\nReturns:\n bool: True if the band asked is a Mask band\n\nExamples:\n\n >>> from eoreader.bands import NDVI, HH, GREEN, SL...
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': 'PiPluginManager.load_all_plugins@pibooth/plugins/__init__.py', 'description': 'Register the core plugins, load plugins from setuptools entry points\nand the load given module/package paths.\n\nnote:: by default hooks are called in LIFO registered order thus\n plugins register order is important.\n\n:par...
0
{'name': 'to_ufo_glyph@Lib/glyphsLib/builder/glyph.py', 'description': 'Add .glyphs metadata, paths, components, and anchors to a glyph.', 'signature': 'def to_ufo_glyph(self, ufo_glyph, layer, glyph, do_color_layers=True): # noqa: C901'}</s>{'name': 'to_ufo_glyph_background@Lib/glyphsLib/builder/glyph.py', 'descripti...
1