text string | label int64 |
|---|---|
{'name': 'sync_all@harvesting/github.py', 'description': 'Sync all Github repos listed in software from backend', 'signature': 'def sync_all():'}</s>{'name': 'flatten@harvesting/github.py', 'description': 'Flatten array of arrays to single array, e.g. [ [1], [2, 3] ] => [1, 2, 3]\n:param l: array to flatten\n:return: f... | 0 |
{'name': 'PortManager._telnet_process_subnegotiation@serial/rfc2217.py', 'description': 'Process subnegotiation, the data between IAC SB and IAC SE.', 'signature': 'def _telnet_process_subnegotiation(self, suboption):'}</s>IAC_DOUBLED = b'\xff\xff' | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_HARDEN_GET_BACKOUT = 8 | 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_glyphs_glyph_height_and_vertical_origin@Lib/glyphsLib/builder/gl... | 0 |
{'name': 'sourceforge_import@code/synchronization/sourceforge_import.py', 'description': 'Scraps Sourceforge project sites and adds developer information to the entries', 'signature': 'def sourceforge_import():'}</s>{'name': 'parse@code/utils/osg_parse.py', 'description': 'DOCSTRING', 'code': 'def parse(parser, transfo... | 0 |
{'name': 'writeInitialize@cxxtest/cxxtestgen.py', 'description': 'Write CxxTest::initialize(), which replaces static initialization', 'signature': 'def writeInitialize(output):'}</s>{'name': 'usageString@cxxtest/cxxtestgen.py', 'description': 'Construct program usage string', 'code': "def usageString():\n '''Constru... | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>{'name': 'run_command@versioneer.py', 'description': 'Call the given command(s).', 'code': 'def run_command(commands, args, cwd=None, verbose=False, hide_std... | 0 |
{'name': 'show_value_error@PFERD/cli/parser.py', 'description': 'Some validation functions (like the from_string in our enums) raise a ValueError.\nArgparse only pretty-prints ArgumentTypeErrors though, so we need to wrap our ValueErrors.', 'signature': 'def show_value_error(inner: Callable[[str], Any]) -> Callable[[st... | 0 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>ICMP6_DST_UNREACH_BEYONDSCOPE = 2 | 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': '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': 'main@bin/ztf/archive_ia_active_learning.py', 'description': 'Extract probabilities from the AL model, and send results to Slack.', 'signature': 'def main():'}</s>{'name': 'load_parquet_files@fink_broker/common/spark_utils.py', 'description': 'Initialise SparkSession, and load parquet files with Spark\n\nUnlik... | 1 |
{'name': 'S2Product._open_clouds_gt_4_0@eoreader/products/optical/s2_product.py', 'description': 'Load cloud files as xarrays.\n\nRead S2 cloud mask .JP2 files (both valid for L2A and L1C products).\nhttps://sentinels.copernicus.eu/documents/247904/685211/Sentinel-2-Products-Specification-Document-14_8.pdf\n\nArgs:\n ... | 0 |
{'name': 'MikrotikTrackerCoordinator.__init__@custom_components/mikrotik_router/coordinator.py', 'description': 'Initialize MikrotikTrackerCoordinator.', 'signature': 'def __init__('}</s>CONF_SENSOR_PPP = "sensor_ppp" | 0 |
{'name': 'my_style_from_pygments_dict@python/ipython_config.py', 'description': 'Monkey patch prompt toolkit style function to fix completion colors.', 'signature': 'def my_style_from_pygments_dict(pygments_dict):'}</s>count_bg = "#d0d0d0" | 0 |
{'name': 'HTTPConnectionPool.urlopen@blockchain-env/lib/python3.7/site-packages/urllib3/connectionpool.py', 'description': "Get a connection from the pool and perform an HTTP request. This is the\nlowest level call for making a request, so you'll need to specify all\nthe raw details.\n\n.. note::\n\n More commonly, i... | 0 |
{'name': 'parse_ifdef_block@sqf/parser.py', 'description': 'Given a IfDefStatement and the defines, converts the statement.tokens into\na list of tokens that can be analyzed after processing the #ifdef statement.\n`position_until_here` used to compute position of errors', 'signature': 'def parse_ifdef_block(expression,... | 0 |
{'name': 'TestSanitizeTxData.test_no_combine_with_fee@tests/test_transaction.py', 'description': 'Verify that unused unspents do not increase fee.', 'signature': 'def test_no_combine_with_fee(self):'}</s>UNSIGNED_TX_BATCH = "010000000001024623e78d68e72b428eb4f53f73086ad824a2c2b6be906e3113ab2afc494406640000000000fffffff... | 0 |
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru... | 0 |
{'name': '_remove_absolute_rpaths@delocate/tools.py', 'description': 'Remove absolute filename rpaths in `filename`.\n\nParameters\n----------\nfilename : str\n filename of library\nad_hoc_sign : {True, False}, optional\n If True, sign file with ad-hoc signature', 'signature': 'def _remove_absolute_rpaths(filenam... | 0 |
{'name': '_default_value@swagger_to/py_client.py', 'description': 'Determine the default value of the given type definition.\n\n:param typedef: type definition in Python representation.\n:return: Python code', 'signature': 'def _default_value(typedef: Typedef) -> str:'}</s>{'name': '_from_string_with_informative_except... | 0 |
{'name': 'create_overview_tile@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Generating an overview tile from no more than 4 underlying tiles(base tiles)', 'signature': 'def create_overview_tile('}</s>{'name': 'GlobalMercator@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'TMS Global... | 0 |
{'name': 'load_preprocess_file@Chapter13/utils.py', 'description': 'Loading the processed Book Scripts Data', 'signature': 'def load_preprocess_file():'}</s>{'name': 'load_data@Chapter13/utils.py', 'description': 'Loading Data', 'code': 'def load_data():\n """\n Loading Data\n """\n input_file = os.path.joi... | 0 |
{'name': '_getInputFromUser@packstack/installer/run_setup.py', 'description': 'this private func reads the data from the user\nfor the given param', 'signature': 'def _getInputFromUser(param):'}</s>INFO_VAL_PATH_SPACE = "Error: mount point %s contains only %s of available space while a minimum of %s is required" | 0 |
{'name': 'OpinionStandardModel._GetDataForVariantSet@pxr/usdQt/opinionModel.py', 'description': 'Parameters\n----------\nproxy : UsdQtProxyBase\ncolumn : str\nrole : QtCore.Qt.ItemDataRole\n\nReturns\n-------\nOptional[Any]', 'signature': 'def _GetDataForVariantSet(self, proxy, column, role):'}</s>{'name': 'EditorHintT... | 1 |
{'name': 'show_structure_mesh@poisson_square_experiments_utils.py', 'description': 'Shows mesh on top of image', 'signature': 'def show_structure_mesh(G, writer=None, epoch=0):'}</s>{'name': 'create_uniform_grid@poisson_square_experiments_utils.py', 'description': 'DOCSTRING', 'code': "def create_uniform_grid(n, device... | 0 |
{'name': 'Data._get_score@verif/data.py', 'description': 'Load the field variable from input, but only include the common data\n\nScores loaded will have the same dimension, regardless what input_index\nis used.\n\nfield: The type is of verif.field\ninput_index: which input to load from', 'signature': 'def _g... | 0 |
{'name': '_validate_args@kayobe/kolla_ansible.py', 'description': 'Validate Kayobe Ansible arguments.', 'signature': 'def _validate_args(parsed_args, inventory_filename):'}</s>{'name': 'galaxy_remove@kayobe/utils.py', 'description': 'Remove Ansible roles via Ansible Galaxy.', 'code': 'def galaxy_remove(roles_to_remove,... | 0 |
{'name': 'event_factory@tools/hadb.py', 'description': 'Convert database row to Event object.', 'signature': 'def event_factory(cur: sqlite3.Cursor, row: tuple) -> Event:'}</s>{'name': 'get_states@tools/hadb.py', 'description': 'Get states.', 'code': 'def get_states(\n args: ArgsNamespace,\n) -> tuple[OrderedSet[str... | 0 |
{'name': 'BaseMessageBus.request_name@dbus_next/message_bus.py', 'description': 'Request that this message bus owns the given name.\n\n:param name: The name to request.\n:type name: str\n:param flags: Name flags that affect the behavior of the name request.\n:type flags: :class:`NameFlag <dbus_next.NameFlag>`\n:param c... | 1 |
{'name': 'main@pibooth/booth.py', 'description': 'Application entry point.\n ', 'signature': 'def main():'}</s>{'name': 'get_available_fonts@pibooth/fonts/__init__.py', 'description': 'Return the list of available fonts.\n ', 'code': 'def get_available_fonts():\n """Return the list of available fonts.\n """... | 0 |
{'name': 'bounding_parallelogram@morphomnist/morpho.py', 'description': 'Estimates a bounding parallelogram for the given image.\n\nParameters\n----------\nimg : (H, W) array_like\n Input image.\nfrac : float\n Fraction of image mass to discard along each dimension, for robustness to outliers.\nmoments : ImageMom... | 0 |
{'name': 'Metar.runway_visual_range@metar/Metar.py', 'description': 'Return a textual description of the runway visual range.', 'signature': 'def runway_visual_range( self, units=None ):'}</s>WINDSHEAR_RE = re.compile(r"^(WS\s+)?(ALL\s+RWY|RWY(?P<name>\d\d(RR?|L?|C)?))\s+") | 0 |
{'name': 'test_set_format_int3@cyvcf2/tests/test_reader.py', 'description': 'test that we can handle multiple (in this case 3) values per sample', 'signature': 'def test_set_format_int3():'}</s>{'name': 'test_num_records_set_wrong_index@cyvcf2/tests/test_reader.py', 'description': 'DOCSTRING', 'code': 'def test_num_rec... | 0 |
{'name': 'ProcessFileData@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, ... | 1 |
{'name': 'excitation.__init__@SweepExcitation.py', 'description': "weighting( {'p1':(1,0), 'p2':(1,5), 'p3':(1,10), 'p4':(1,20)}", 'signature': 'def __init__(self, weighting):'}</s>modes = collections.OrderedDict() | 0 |
{'name': 'tt_entails@aimacode/logic.py', 'description': "Does kb entail the sentence alpha? Use truth tables. For propositional\nkb's and sentences. [Figure 7.10]. Note that the 'kb' should be an\nExpr which is a conjunction of clauses.\n>>> tt_entails(expr('P & Q'), expr('Q'))\nTrue", 'signature': 'def tt_entails(kb, ... | 0 |
{'name': 'IB.reqMktData@ib_insync/ib.py', 'description': 'Subscribe to tick data or request a snapshot.\nReturns the Ticker that holds the market data. The ticker will\ninitially be empty and gradually (after a couple of seconds)\nbe filled.\n\nhttps://interactivebrokers.github.io/tws-api/md_request.html\n\nArgs:\n ... | 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': 'PortManager.check_modem_lines@serial/rfc2217.py', 'description': 'read control lines from serial port and compare the last value sent to remote.\nsend updates on changes.', 'signature': 'def check_modem_lines(self, force_notification=False):'}</s>M_IAC_SEEN = 1 | 0 |
{'name': 'Invariant.unbalanced_renamings@pddlgym/downward_translate/invariants.py', 'description': 'returns the renamings from unbalanced renamings for which\nthe del_effect does not balance the add_effect.', 'signature': 'def unbalanced_renamings(self, del_effect, add_effect, inv_vars,'}</s>{'name': 'find_unique_varia... | 0 |
{'name': 'executable_is_available@preview_generator/utils.py', 'description': 'Check if an executable is available in execution environment.\n\n:param executable_name: List or Tuple, or single command name\n:return: `True` if the exec if found, `False` otherwize', 'signature': 'def executable_is_available('}</s>BLACKLI... | 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>skew_angle = 37.5 | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQQMF_CLUSSDR_AUTO_DEFINED = py23long(0x00000010) | 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': 'TestTurnOnOffSyncing.test_bulk_operation_turned_off_by_default@entity/tests/sync_tests.py', 'description': 'Tests that bulk operations are turned off by default.', 'signature': 'def test_bulk_operation_turned_off_by_default(self):'}</s>{'name': 'sync_entities@entity/sync.py', 'description': 'Syncs entities\n\... | 0 |
{'name': 'LogisticRegressionGD.activation@Chapter03/ch03.py', 'description': 'Compute logistic sigmoid activation', 'signature': 'def activation(self, z):'}</s>fig = plt.figure() | 0 |
{'name': 'simplify_layer_name@scripts/localization/suspected_bugs_detector.py', 'description': "simplify layer name 'conv2d_copy_LA' -> conv2d", 'signature': 'def simplify_layer_name(layer_name:str):'}</s>{'name': 'get_metrics_of_exp@scripts/localization/suspected_bugs_detector.py', 'description': 'DOCSTRING', 'code': ... | 0 |
{'name': 'connect_to_usb_bitbox@py/send_message.py', 'description': 'Connects and runs the main menu on a BitBox02 connected\nover USB.', 'signature': 'def connect_to_usb_bitbox(debug: bool, use_cache: bool) -> int:'}</s>{'name': 'BitBoxProtocolV4@py/bitbox02/bitbox02/communication/bitbox_api_protocol.py', 'description... | 0 |
{'name': 'Analyzer.get_abstract0@tf_verify/analyzer.py', 'description': 'processes self.ir_list and returns the resulting abstract element', 'signature': 'def get_abstract0(self):'}</s>{'name': 'DeeppolyTanhNode@tf_verify/deeppoly_nodes.py', 'description': 'DOCSTRING', 'base_classes': ['DeeppolyNonlinearity'], 'methods... | 1 |
{'name': 'html_escape@src/back/kite/bottle.py', 'description': 'Escape HTML special characters ``&<>`` and quotes ``\'"``. ', 'signature': 'def html_escape(string):'}</s>{'name': 'FileCheckerThread@src/back/kite/bottle.py', 'description': 'Interrupt main-thread as soon as a changed module file is detected,\nthe lockfil... | 0 |
{'name': '_ClassifyInclude@tools/cpplint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than "".\n\nReturns:\n One of th... | 0 |
{'name': 'transform@cpca/__init__.py', 'description': '将地址描述字符串转换以"省","市","区"信息为列的DataFrame表格\nArgs:\n locations:地址描述字符集合,可以是list, Series等任意可以进行for in循环的集合\n 比如:["徐汇区虹漕路461号58号楼5楼", "泉州市洛江区万安塘西工业区"]\n index:可以通过这个参数指定输出的DataFrame的index,默认情况下是range(len(data))\n pos_sensitive:如果为True则会多返回三列,分别提取出的省市... | 0 |
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>EXEC_RPM = "rpm" | 0 |
{'name': 'test_cross_module_gil_nested_pybind11_released@bindings/python/ext/pybind11/tests/test_gil_scoped.py', 'description': 'Makes sure that the GIL can be nested acquired/released by another module\nfrom a GIL-released state using pybind11 locking logic.', 'signature': 'def test_cross_module_gil_nested_pybind11_re... | 0 |
{'name': 'initialize@portfolio/ensemble_portfolio.py', 'description': 'A function to define things to do at the start of the strategy', 'signature': 'def initialize(context):'}</s>{'name': 'doji@portfolio/ensemble_portfolio.py', 'description': 'DOCSTRING', 'code': 'def doji(px):\n sig = ta.CDLDOJI(px.open.values, px... | 0 |
{'name': 'test_binaries@kb_python/main.py', 'description': 'Test whether kallisto and bustools binaries are executable.\n\nInternally, this function calls :func:`utils.get_kallisto_version` and\n:func:`utils.get_bustools_version`, both of which return `None` if there is\nsomething wrong with their respective binaries.\... | 0 |
{'name': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>ICON_SEQUENCE_OFF = "mdi:stop-circle-outline" | 0 |
{'name': 'RemoteOperations.mkstemp@testgres/operations/remote_ops.py', 'description': 'Creates a temporary file in the remote server.\nArgs:\n- prefix (str): The prefix of the temporary directory name.', 'signature': 'def mkstemp(self, prefix=None):'}</s>{'name': 'InvalidOperationException@testgres/exceptions.py', 'des... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQSRO_CURRENT_LENGTH = 16 | 0 |
{'name': '_default_value@swagger_to/py_client.py', 'description': 'Determine the default value of the given type definition.\n\n:param typedef: type definition in Python representation.\n:return: Python code', 'signature': 'def _default_value(typedef: Typedef) -> str:'}</s>PRIMITIVE_SWAGGER_TYPES = ['string', 'number',... | 0 |
{'name': 'BlockPrune.__init__@condensa/schemes.py', 'description': 'Creates an instance of `BlockPrune`.\n\n:param density: Target density.\n:type density: `float`\n:param block_size: Target block size.\n:type block_size: `Tuple`\n:param criteria: Structure aggregation criteria (default: l2norm).\n:type criteria: `cond... | 0 |
{'name': 'Get_Metrics@bin/GRiPHin.py', 'description': 'For each step to gather metrics try to find the file and if not then make all variables unknown', 'signature': 'def Get_Metrics(phoenix_entry, scaffolds_entry, set_coverage, srst2_ar_df, pf_df, ar_df, hv_df, trim_stats, raw_stats, kraken_trim, kraken_trim_report, k... | 0 |
{'name': 'engine.number_to_words@src/bids/external/inflect.py', 'description': 'Return a number in words.\n\ngroup = 1, 2 or 3 to group numbers before turning into words\ncomma: define comma\n\nandword:\n word for \'and\'. Can be set to \'\'.\n e.g. "one hundred and one" vs "one hundred one"\n\nzero: word for \'0... | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQXE_MCA_CLNTCONN = 5 | 0 |
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PF_POOL_STICKYADDR = 32 | 0 |
{'name': 'request_response_cycle@tests/test_process_initialization.py', 'description': 'test started server instance by sending\nrequest and checking response', 'signature': 'def request_response_cycle(tcp_port, data):'}</s>{'name': 'test_runtime_error_on_start_fail@tests/test_process_initialization.py', 'description':... | 0 |
{'name': 'visualize_2D_AE@avgn/network/training.py', 'description': 'Visualization of AE as it trains in 2D space', 'signature': 'def visualize_2D_AE(model, training_df, validation_df, example_data, num_examples, batch_size, num_gpus, dims, iter_, n_cols=4, std_to_plot=2.5, summary_density=50, save_loc=False, n_samps_p... | 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': 'train_model@examples/pytorch-imagenet-onnx/training/pytorch_train.py', 'description': 'Train the model.', 'signature': 'def train_model(model, criterion, optimizer, scheduler, num_epochs, data_dir):'}</s>{'name': 'fine_tune_model@examples/pytorch-imagenet-onnx/training/pytorch_train.py', 'description': 'Load ... | 0 |
{'name': 'Window.initUI@picasso/gui/render.py', 'description': 'Initializes the main window. Builds dialogs and menu bar.\n\nParameters\n----------\nplugins_loaded : boolean\n If True, plugins have been loaded before.', 'signature': 'def initUI(self, plugins_loaded):'}</s>{'name': 'TestDBSCANParams@picasso/gui/rende... | 0 |
{'name': 'PythonTypeObjectFunctionPrototype.GetDescription@yaldevtools/source_code.py', 'description': 'Retrieves the description.\n\nReturns:\n list[str]: lines of the description.', 'signature': 'def GetDescription(self):'}</s>FUNCTION_TYPE_WRITE = "write" | 0 |
{'name': 'run_model_on_ep@onnxruntime/python/tools/tensorrt/perf/benchmark.py', 'description': 'Benchmarks and/or validates the given model on the given EP.\n\n:param args: The command-line arguments to this script.\n:param model_name: The name of the model to run.\n:param model_info: A dictionary that contains paths t... | 0 |
{'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': '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': 'BaseImage.caption@wand/image.py', 'description': 'Writes a caption ``text`` into the position.\n\n:param text: text to write\n:type text: :class:`str`\n:param left: x offset in pixels\n:type left: :class:`numbers.Integral`\n:param top: y offset in pixels\n:type top: :class:`numbers.Integral`\n:param width: wi... | 0 |
{'name': 'Serial.write@serial/serialwin32.py', 'description': 'Output the given byte string over the serial port.', 'signature': 'def write(self, data):'}</s>SPACEPARITY = 4 | 0 |
{'name': 'Binning2D.variable@src/pyinterp/binning.py', 'description': 'Gets the regular grid containing the calculated statistics.\n\nArgs:\n statistics: The statistics to compute. The following statistics are\n available:\n\n * ``count`` : compute the count of points within each bin.\n ... | 0 |
{'name': 'CheckStyle@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside co... | 1 |
{'name': 'Runner.test_gif@auto_editor/cmds/test.py', 'description': 'Feed auto-editor a gif file and make sure it can spit out a correctly formatted\ngif. No editing is requested.', 'signature': 'def test_gif(self):'}</s>{'name': 'pipe_to_console@auto_editor/cmds/test.py', 'description': 'DOCSTRING', 'code': 'def pipe_... | 0 |
{'name': 'BitfieldsTestCase.test_and_python_api@tools/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py', 'description': 'Use Python APIs to inspect a bitfields variable.', 'signature': 'def test_and_python_api(self):'}</s>{'name': 'apple_simulator_test@tools/lldb/packages/Python/lldbsuite/test/deco... | 0 |
{'name': 'TestAuditLogsEnterprise.test_get_params@backend-tests/tests/test_auditlogs.py', 'description': 'Mix up some audiltog events, check GET with various params', 'signature': 'def test_get_params(self, tenant_users):'}</s>{'name': 'delete_user@backend-tests/tests/test_auditlogs.py', 'description': 'Send request to... | 0 |
{'name': 'stackup@accelerator/extras.py', 'description': 'Returns (filename, lineno) for the first caller not in the accelerator dir.', 'signature': 'def stackup():'}</s>{'name': 'FileWriteMove@accelerator/extras.py', 'description': 'with FileWriteMove(name, temp=None) as fh: ...\nOpens file with a temp name and rename... | 0 |
{'name': 'test_marker_hashable@voluptuous/tests/tests.py', 'description': 'Verify that you can get schema keys, even if markers were used', 'signature': 'def test_marker_hashable():'}</s>{'name': 'test_range_excludes_nan@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': "def test_range_excludes_nan():\n ... | 0 |
{'name': 'train_flow@experiments/train.py', 'description': 'AF training ', 'signature': 'def train_flow(args, dataset, model, simulator):'}</s>{'name': 'train_manifold_flow@experiments/train.py', 'description': 'M-flow-S training ', 'code': 'def train_manifold_flow(args, dataset, model, simulator):\n """ M-flow-S tr... | 0 |
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'extract@grizli/pipel... | 0 |
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>{'name': 'Inbox@src/astrobotany/... | 0 |
{'name': 'start_torchserve@src/sagemaker_pytorch_serving_container/torchserve.py', 'description': 'Configure and start the model server.\n\nArgs:\n handler_service (str): Python path pointing to a module that defines\n a class with the following:\n\n - A ``handle`` method, which is invoked for all ... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQQDT_SHARED_DYNAMIC = 4 | 0 |
{'name': 'GTestFilterUnitTest.testDefaultBehavior@googletest/test/googletest-filter-unittest.py', 'description': 'Tests the behavior of not specifying the filter.', 'signature': 'def testDefaultBehavior(self):'}</s>COMMAND = gtest_test_utils.GetTestExecutablePath('googletest-filter-unittest_') | 0 |
{'name': 'page_erase@tools/pydfu.py', 'description': 'Erases a single page.', 'signature': 'def page_erase(addr):'}</s>{'name': 'write_page@tools/pydfu.py', 'description': 'Writes a single page. This routine assumes that memory has already\nbeen erased.', 'code': 'def write_page(buf, xfer_offset):\n """Writes a sing... | 0 |
{'name': 'person_ui@Pose2Sim/synchronization.py', 'description': 'Step 2: Initializes the UI for person and frame selection.\n\nINPUTS:\n- frame_rgb: The initial RGB frame to display\n- cam_name: Name of the current camera\n- frame_number: Initial frame number to display\n- search_around_frames: Frame ranges to search ... | 0 |
{'name': 'load_json@policy/cib.py', 'description': 'Read CIB node from JSON file', 'signature': 'def load_json(filename):'}</s>{'name': 'CHARS@policy/pmdefaults.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': []} | 0 |
{'name': 'BisectRunner.get_next@nix_bisect/bisect_runner.py', 'description': 'Computes the next commit to test.\n\nThis takes skip-ranges into account and prioritizes finding the first\ncommit that unbreaks a skip range.\n\nMay add commits for cherry pick. Returns `False` when the bisect is\nfinished.', 'signature': 'd... | 0 |
{'name': 'connect_to_usb_bitbox@py/send_message.py', 'description': 'Connects and runs the main menu on a BitBox02 connected\nover USB.', 'signature': 'def connect_to_usb_bitbox(debug: bool, use_cache: bool) -> int:'}</s>{'name': 'DeviceInfo@py/bitbox02/bitbox02/communication/devices.py', 'description': 'DOCSTRING', 'b... | 0 |
{'name': 'element_wise_product@aimacode/utils.py', 'description': 'Return vector as an element-wise product of vectors X and Y', 'signature': 'def element_wise_product(X, Y):'}</s>{'name': 'removeall@aimacode/utils.py', 'description': 'Return a copy of seq (or string) with all occurences of item removed.', 'code': 'def... | 0 |
{'name': '_FloatingPointEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for float fields.\n\nThis is like StructPackEncoder, but catches errors that may be due to\npassing non-finite floating-point values to struct.pack, and mak... | 0 |
{'name': 'grouped_count_sizes@pyFileFixity/lib/aux_funcs.py', 'description': 'Compute the total size per group and total number of files. Useful to check that everything is OK.', 'signature': 'def grouped_count_sizes(fileslist, fgrouped): # pragma: no cover'}</s>{'name': 'grouped_simple_test@pyFileFixity/lib/aux_funcs... | 0 |
{'name': 'VectorVariable.format_value@software/hermeslite/VCDWriter.py', 'description': "Format value change for VCD stream.\n\n:param value: New value for the variable.\n:types value: int, str, or None\n:raises ValueError: for *some* invalid values.\n\nA *value* of `None` is the same as `'z'`.\n\n.. Warning::\n\n I... | 0 |
{'name': 'BasicTestFaultTolerance.do_test_image_download_retry_timeout@tests/tests/test_fault_tolerance.py', 'description': "Install an update, and block storage connection when we detect it's\nbeing copied over to the inactive partition.\n\nThe test should result in a successful download retry.\n\nNOTE: storage and ga... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.