text string | label int64 |
|---|---|
{'name': 'OpinionStandardModel._GetDataForAttribute@pxr/usdQt/opinionModel.py', 'description': 'Parameters\n----------\nproxy : UsdQtProxyBase\ncolumn : str\nrole : QtCore.Qt.ItemDataRole\n\nReturns\n-------\nOptional[Any]', 'signature': 'def _GetDataForAttribute(self, proxy, column, role):'}</s>EditorHintRole = QtCore... | 1 |
{'name': 'CortexM.write_core_registers_raw@pyocd/coresight/cortex_m.py', 'description': 'Write one or more core registers\n\nWrite core registers in reg_list with the associated value in\ndata_list. If any register in reg_list is a string, find the number\nassociated to this register in the lookup table CORE_REGISTER.... | 0 |
{'name': 'SelfActuatedPiano.__init__@robopianist/suite/tasks/self_actuated_piano.py', 'description': 'Task constructor.\n\nArgs:\n midi: A `MidiFile` object.\n n_steps_lookahead: Number of timesteps to look ahead when computing the\n goal state.\n trim_silence: If True, shifts the MIDI file so that the ... | 0 |
{'name': 'get_hostname_from_ip_addr@core/friendly_organizer.py', 'description': 'Returns the hostname associated with an IP address.\n\nReturns an empty string if the hostname is not found.', 'signature': 'def get_hostname_from_ip_addr(ip_addr: str, in_memory_only=False) -> str:'}</s>{'name': 'add_product_info_to_devic... | 0 |
{'name': 'map_misp_attribute_to_zeek@shared/bin/zeek_threat_feed_utils.py', 'description': 'Maps a MISP attribute to Zeek intel items\n@see https://docs.zeek.org/en/current/scripts/base/frameworks/intel/main.zeek.html#type-Intel::Type\n@param attribute The MISPAttribute to convert\n@return a list containing the Zeek in... | 1 |
{'name': 'Ruleset.predict@wittgenstein/base.py', 'description': 'Predict classes using a fit Ruleset.\n\nParameters\n----------\nX_df : DataFrame\n Examples to make predictions on.\ngive_reasons : bool, default=False\n Whether to also return reasons for each prediction made.\n\nReturns\n-------\nlist<bool>\n P... | 0 |
{'name': 'TLP.pack@fpga/lib/pcie/tb/pcie.py', 'description': 'Pack TLP as DWORD array', 'signature': 'def pack(self):'}</s>TLP_MSG_BCAST = (FMT_4DW, 0x13) | 0 |
{'name': 'p_identifier_list@ctypesgen/parser/cgrammar.py', 'description': 'identifier_list : IDENTIFIER\n| identifier_list COMMA IDENTIFIER', 'signature': 'def p_identifier_list(p):'}</s>{'name': 'ExpressionNode@ctypesgen/expressions.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Exp... | 0 |
{'name': 'new@todoman/cli.py', 'description': 'Create a new task with SUMMARY.', 'signature': 'def new('}</s>{'name': 'catch_errors@todoman/cli.py', 'description': 'DOCSTRING', 'code': 'def catch_errors(f: Callable[_P, _T]) -> Callable[_P, _T]:\n @functools.wraps(f)\n def wrapper(*a, **kw) -> _T:\n with ha... | 0 |
{'name': 'ReplaceByFeeTest.test_opt_in@test/functional/feature_rbf.py', 'description': 'Replacing should only work if orig tx opted in', 'signature': 'def test_opt_in(self):'}</s>{'name': 'assert_raises@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': 'def assert_raises(exc, fun, *args, **kw... | 0 |
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro... | 0 |
{'name': 'MaskedLayer.get_output_mask@modified_keras/keras/layers/core.py', 'description': 'The default output mask is just the input mask unchanged. Override this in your own\nimplementations if, for instance, you are reshaping the input', 'signature': 'def get_output_mask(self, train=False):'}</s>{'name': 'l2@modifie... | 0 |
{'name': 'run@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`s... | 0 |
{'name': '_conj_actions@tulip/synth.py', 'description': 'Conjunction of multiple action types.\n\nIncludes solver expression substitution.\nSee also `_conj_action`.', 'signature': 'def _conj_actions('}</s>{'name': '_env_trans_from_sys_ts@tulip/synth.py', 'description': 'Convert environment actions to GR(1) env_safety.\... | 0 |
{'name': 'BodyBuilder.build_layer@03_pruning/helpers/body_builder.py', 'description': 'Function specifies the specific network layer\nLinear L Ex: ["linear", out_dim, bias_boolean]\nConvol L Ex: ["conv2d", out_channels,\n kernel_size, stride, padding]\nDropout L Ex: ["dropout", dropout_prob]... | 0 |
{'name': 'construct_model@src/experiments.py', 'description': 'Construct NN graph.', 'signature': 'def construct_model(args):'}</s>{'name': 'export_error_cases@src/eval.py', 'description': 'Export indices of examples to which the top-1 prediction is incorrect.', 'code': 'def export_error_cases(examples, scores, all_ans... | 0 |
{'name': 'Printer.__init__@tools/hadb.py', 'description': 'Initialize printer.', 'signature': 'def __init__('}</s>{'name': 'get_states@tools/hadb.py', 'description': 'Get states.', 'code': 'def get_states(\n args: ArgsNamespace,\n) -> tuple[OrderedSet[str], OrderedSet[str], list[State], list[State]]:\n """Get sta... | 0 |
{'name': 'create_coinbase@test/functional/test_framework/blocktools.py', 'description': 'Create a coinbase transaction.\n\nIf pubkey is passed in, the coinbase output will be a P2PK output;\notherwise an anyone-can-spend output.\n\nIf extra_output_script is given, make a 0-value output to that\nscript. This is useful t... | 0 |
{'name': 'URLopener.open_ftp@src/future/backports/urllib/request.py', 'description': 'Use FTP protocol.', 'signature': 'def open_ftp(self, url):'}</s>CONTINUE = 100 | 0 |
{'name': 'ParseArguments@tools/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):'}</s>{'name': 'IsHea... | 0 |
{'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': 'calculate_sha256@auto_editor/cmds/test.py', 'description': 'DOCSTRING', 'code': 'def calc... | 0 |
{'name': 'add_matcher@llvm-12.0.0-project/clang/docs/tools/dump_ast_matchers.py', 'description': 'Adds a matcher to one of our categories.', 'signature': 'def add_matcher(result_type, name, args, comment, is_dyncast=False):'}</s>{'name': 'unify_arguments@llvm-12.0.0-project/clang/docs/tools/dump_ast_matchers.py', 'desc... | 1 |
{'name': 'BNReLUQuant@learned_quantization.py', 'description': 'A shorthand of BatchNormalization + ReLU + QuantizedActiv.', 'signature': 'def BNReLUQuant(x):'}</s>NORM_PPF_0_75 = 0.6745 | 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': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'parse_string_range@gef.py', 'description': 'Parses an address range (e.g. 0x400000-0x401000)', 'code': 'def parse_string_range(... | 0 |
{'name': 'check_Markovian_uncertainty@msppy/utils/statistics.py', 'description': 'Check Markovian uncertainty is in the right form. Return\nthe dimension of MC.', 'signature': 'def check_Markovian_uncertainty(Markovian_uncertainty, T):'}</s>{'name': 'rand_int@msppy/utils/statistics.py', 'description': 'Randomly generat... | 0 |
{'name': 'TestThresholdBased.test_basic@verif/tests/test_metric.py', 'description': 'Test the basic threshold-based metrics ', 'signature': 'def test_basic(self):'}</s>{'name': 'Nsec@verif/metric.py', 'description': 'DOCSTRING', 'base_classes': ['ObsFcstBased'], 'methods': [{'name': 'Nsec._compute_from_obs_fcst@verif/m... | 0 |
{'name': 'DarwinLogEventBasedTestBase.do_test@lldb/packages/Python/lldbsuite/test/darwin_log.py', 'description': 'Runs the test inferior, returning collected events.\n\nThis method runs the test inferior to the first breakpoint hit.\nIt then adds a listener for structured data events, and collects\nall events from that... | 0 |
{'name': 'test_toplevel_topology@vermouth/tests/gmx/test_topology.py', 'description': 'Make sure the toplevel topology file\nis correctly written. Note that the individual\nmolecule itp files are seperately checked in\ngmx itp module or in the previous tests.', 'signature': 'def test_toplevel_topology(tmp_path, dummy_m... | 0 |
{'name': 'IUCoordinator.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the system', 'signature': 'def load(self, config: OrderedDict) -> "IUCoordinator":'}</s>{'name': 'suspend_until_date@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'descri... | 0 |
{'name': 'netbox_device_interface_genie@pyats-to-netbox/netbox_utils.py', 'description': 'Get or Create and Update device interface based on Genie model', 'signature': 'def netbox_device_interface_genie(nb_device, genie_interface):'}</s>{'name': 'netbox_manufacturer@pyats-to-netbox/netbox_utils.py', 'description': 'DOC... | 0 |
{'name': '_init@third_party/libassimp/port/PyAssimp/pyassimp/core.py', 'description': "Custom initialize() for C structs, adds safely accessible member functionality.\n\n:param target: set the object which receive the added methods. Useful when manipulating\npointers, to skip the intermediate 'contents' deferencing.", ... | 0 |
{'name': '_check_mp_install@utils/nb_check.py', 'description': 'Check for and try to install required MSTICPy version.', 'signature': 'def _check_mp_install(min_mp_ver, mp_release, extras, pip_quiet):'}</s>__version__ = "2.0.0" | 0 |
{'name': 'host_setup@source-builder/sb/check.py', 'description': 'Basic sanity check. All executables and directories must exist.', 'signature': 'def host_setup(opts):'}</s>{'name': 'log@source-builder/sb/log.py', 'description': 'Log output to stdout or a file.', 'base_classes': [], 'methods': [{'name': 'log.__init__@s... | 1 |
{'name': '_wrap_callback@sounddevice.py', 'description': 'Invoke callback function and check for custom exceptions.', 'signature': 'def _wrap_callback(callback, *args):'}</s>{'name': 'rec@sounddevice.py', 'description': "Record audio data into a NumPy array.\n\nThis is a convenience function for interactive use and for... | 0 |
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>WHAT_KIND_OF_SERVER = [4043] | 0 |
{'name': 'analyze_menu_frame@analyze.py', 'description': 'check menu button\n\nfound menu button for start analyze\n\nArgs\n frame (ndarray): edited frame from movie\n menu (ndarray): MENU template\n roi (list): search roi\n\nReturns\n True, False (boolean): menu found or not\n max_loc (list, boolean): m... | 0 |
{'name': 'peer_adj_rib_in@test/lib/yabgp_helper.py', 'description': "Dumps one peer's adj-RIB-in.", 'signature': 'def peer_adj_rib_in(peer_ip):'}</s>{'name': 'peer_adj_rib_out@test/lib/yabgp_helper.py', 'description': "Dumps one peer's adj-RIB-out.", 'code': 'def peer_adj_rib_out(peer_ip):\n """\n Dumps one peer\... | 0 |
{'name': 'TestStrictWrapper.test_strict_wrapper@responses/tests/test_responses.py', 'description': 'Test that assert_all_requests_are_fired could be applied to the decorator.', 'signature': 'def test_strict_wrapper(self):'}</s>{'name': 'test_regular_expression_url@responses/tests/test_responses.py', 'description': 'DOC... | 0 |
{'name': 'spatial_sampling@models/SlowFast/slowfast/datasets/utils.py', 'description': 'Perform spatial sampling on the given video frames. If spatial_idx is\n-1, perform random scale, random crop, and random flip on the given\nframes. If spatial_idx is 0, 1, or 2, perform spatial uniform sampling\nwith the given spati... | 0 |
{'name': 'check_model_param_types@cesium_app/ext/sklearn_models.py', 'description': 'Ensure parameters are of expected type; split standard values and grids.\n\nParameters\n----------\nmodel_type : str\n Name of model.\nmodel_params : dict\n Dictionary containing model parameters to be checked against expected\n ... | 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': 'Router.add@src/back/kite/bottle.py', 'description': 'Add a new rule or replace the target for an existing rule. ', 'signature': 'def add(self, rule, method, target, name=None):'}</s>{'name': 'cookie_decode@src/back/kite/bottle.py', 'description': 'Verify and decode an encoded string. Return an object or None.... | 0 |
{'name': 'Board.status@Monika After Story/game/python-packages/chess/__init__.py', 'description': 'Gets a bitmask of possible problems with the position.\n\nMove making, generation and validation are only guaranteed to work on\na completely valid board.\n\n:data:`~chess.STATUS_VALID` for a completely valid board.\n\nOt... | 0 |
{'name': 'set_bar@library/dot3k/backlight.py', 'description': 'Set a value or values to one or more LEDs\n\n:param index: starting index\n:param value: a single int, or list of brightness values from 0 to 255', 'signature': 'def set_bar(index, value):'}</s>LED_L_B = 8 | 0 |
{'name': 'NormalizeOutput@googletest/test/googletest-output-test.py', 'description': 'Normalizes output (the output of googletest-output-test_.exe).', 'signature': 'def NormalizeOutput(output):'}</s>{'name': 'RemoveTime@googletest/test/googletest-output-test.py', 'description': "Removes all time information from a Goog... | 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>MQRC_NO_MSG_UNDER_CURSOR = 2034 | 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': 'RMLAttribute.get@src/z3c/rml/attr.py', 'description': 'See zope.schema.interfaces.IField', 'signature': 'def get(self):'}</s>ORDERED_LIST_TYPES = ('I', 'i', '1', 'A', 'a', 'l', 'L', 'O', 'o', 'R', 'r') | 0 |
{'name': 'Optimizer.__init__@tf_verify/optimizer.py', 'description': 'Arguments\n---------\noperations : list\n list of dicts, each dict contains a mapping from a domain (like deepzono, refinezono or deeppoly) to a tuple with resources (like matrices, biases ...)\nresources : list\n list of str, each one being a ... | 0 |
{'name': 'run_bind_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with requested rpcallowip and rpcbind parameters,\nthen try to connect, and check if the set of bound addresses\nmatches the expected set.', 'signature': 'def run_bind_test(tmpdir, allow_ips, connect_to, addresses, expected):'}</s>{'nam... | 0 |
{'name': 'register_websocket_handlers@custom_components/nodered/websocket.py', 'description': 'Register the websocket handlers.', 'signature': 'def register_websocket_handlers(hass: HomeAssistant):'}</s>CONF_SERVER_ID = "server_id" | 0 |
{'name': 'PolarityTagger.__init__@trove/contrib/labelers/clinical/polarity.py', 'description': 'label_reduction: or|mv', 'signature': "def __init__(self, targets, data_root, label_reduction='mv'):"}</s>{'name': 'LF_definite_left_0@trove/contrib/labelers/clinical/polarity.py', 'description': 'DOCSTRING', 'code': "def L... | 0 |
{'name': 'TCam.shutdown@ESP32/python/tcam.py', 'description': "shutdown()\n\nUse this to not only disconnect the socket, but also shut down the manager thread. If you are using\nthis object in an ipython session, you may find that the session won't exit until you ctrl+c. This is\nbecause the manager thread is still a... | 0 |
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo... | 0 |
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PF_SYNPROXY_DROP = 10 | 0 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>PF_ADDR_ADDRMASK = 0 | 1 |
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 0 |
{'name': 'Message.to_pydict@src/betterproto/__init__.py', 'description': 'Returns a python dict representation of this object.\n\nParameters\n-----------\ncasing: :class:`Casing`\n The casing to use for key values. Default is :attr:`Casing.CAMEL` for\n compatibility purposes.\ninclude_default_values: :class:`bool... | 0 |
{'name': 'rst_table@docs/autofix_docs.py', 'description': 'Create a ReST table from header and rows.', 'signature': 'def rst_table(header: tuple[str, ...], rows: list[tuple[str, ...]]) -> list[str]:'}</s>RST_DIVIDER_END = ".. auto-generated-end-{}" | 0 |
{'name': 'crackline@venv/Lib/site-packages/numpy/f2py/crackfortran.py', 'description': 'reset=-1 --- initialize\nreset=0 --- crack the line\nreset=1 --- final check if mismatch of blocks occurred\n\nCracked data is saved in grouplist[0].', 'signature': 'def crackline(line, reset=0):'}</s>{'name': 'isunsigned_chara... | 0 |
{'name': 'build_libraries@capstone/bindings/python/setup_cython.py', 'description': "Prepare the capstone directory for a binary distribution or installation.\nBuilds shared libraries and copies header files.\n\nWill use a src/ dir if one exists in the current directory, otherwise assumes it's in the repo", 'signature'... | 0 |
{'name': '_makeTags@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'nestedExpr@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Hel... | 0 |
{'name': 'PosixSerial.read@stino/pyarduino/base/pyserial/serialposix.py', 'description': 'Read size bytes from the serial port. If a timeout is set it may\nreturn less characters as requested. With no timeout it will block\nuntil the requested number of bytes is read.', 'signature': 'def read(self, size=1):'}</s>{'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>MQMF_SEGMENTATION_ALLOWED = 1 | 0 |
{'name': 'get_discriminator@config/legacy.py', 'description': 'For a given module function, generate C++ code defining the discriminator struct. ', 'signature': 'def get_discriminator(variant_data, module_data):'}</s>{'name': 'FileWriter@config/filewrite.py', 'description': 'This class maintains the state of one or mor... | 0 |
{'name': 'ctypesArrayFill@pulp/apis/core.py', 'description': 'Creates a c array with ctypes from a python list\ntype is the type of the c array', 'signature': 'def ctypesArrayFill(myList, type=ctypes.c_double):'}</s>LpCategories = {LpContinuous: "Continuous", LpInteger: "Integer", LpBinary: "Binary"} | 0 |
{'name': 'run_segment_jit_in_chunks_notraceable@python/jax/carfac.py', 'description': "Runs the jitted segment runner in segment groups.\n\nRunning CARFAC on an audio segment this way is most useful when running\nCARFAC-JAX on a number of audio segments that have varying lengths. The\nimplementation is completed by exe... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQOM_NO = 0 | 0 |
{'name': 'cxx_file@config/filewrite.py', 'description': 'Generate a C++ file, with a warning header. ', 'signature': 'def cxx_file(lines):'}</s>{'name': 'path_ancestors@config/util.py', 'description': 'Yield all directories that are ancestors of the path. ', 'code': "def path_ancestors(path):\n ''' Yield all directo... | 0 |
{'name': 'summaryReport@pipelines/pipeline_scxl.py', 'description': 'Prepare a PDF summary report.', 'signature': 'def summaryReport(infile, outfile):'}</s>{'name': 'createSeuratObject@pipelines/pipeline_scxl.py', 'description': 'Setup the Seurat object and save it in RDS format.\n\nThe Rscript "seurat_begin.R" reads i... | 0 |
{'name': 'Lexer.match@mako/lexer.py', 'description': 'compile the given regexp, cache the reg, and call match_reg().', 'signature': 'def match(self, regexp, flags=None):'}</s>{'name': 'NamespaceTag@mako/parsetree.py', 'description': 'DOCSTRING', 'base_classes': ['Tag'], 'methods': [{'name': 'NamespaceTag.__init__@mako/... | 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': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>{'name': 'pf_status@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'Image._preamble_read@wand/image.py', 'description': 'Set-up MagickWand properties before reading an image file. The\nproperties are unique to the image decoder.\n\n:param background: Defines the default background color.\n:type background: :class:`Color`, :class:`str`\n:param colorspace: Defines what colorspa... | 0 |
{'name': 'TestIdealisedCases.test_cliff@oggm/tests/test_numerics.py', 'description': 'a test case for mass conservation in the flowline models\nthe idea is to introduce a cliff in the sloping bed and see\nwhat the models do when the cliff height is changed', 'signature': 'def test_cliff(self):'}</s>{'name': 'reset_work... | 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': 'LM.evaluate@utils/lstm_utils.py', 'description': 'batch_size = 1', 'signature': 'def evaluate(self, seq):'}</s>args = parser.parse_args() | 1 |
{'name': 'MidiStatus.get_columns@robopianist/viewer/application.py', 'description': 'Returns the text to display in two columns.', 'signature': 'def get_columns(self):'}</s>KEY_KP_7 = 327 | 0 |
{'name': 'BinnedEventArray.n_bins@nelpy/core/_eventarray.py', 'description': '(int) The number of bins.', 'signature': 'def n_bins(self):'}</s>{'name': 'get_mua_events@nelpy/utils.py', 'description': 'Determine MUA/PBEs from multiunit activity.\n\nMUA : multiunit activity\nPBE : population burst event\n\nParameters\n--... | 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>SSIDS = ['MegaWifi$WPA2E'] | 0 |
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'ADtcRecordBase@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base... | 0 |
{'name': 'create_audio_envelope_waveform@avgn/segment_song/wav_to_syllables.py', 'description': 'Creates an audio envelope from waveform', 'signature': 'def create_audio_envelope_waveform(waveform, wav_spectrogram, downsampled_rate,'}</s>{'name': 'TimeoutException@avgn/segment_song/preprocessing.py', 'description': 'DO... | 0 |
{'name': 'test_metric_from_stats@test/k8s_metrics_tests/test_metric_plugin.py', 'description': 'This test covers one metric from each endpoint that the metrics plugin covers', 'signature': 'def test_metric_from_stats(setup, stats_metric, index_metrics):'}</s>{'name': 'test_metric_from_cAdvisor@test/k8s_metrics_tests/te... | 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': '_primal_to_ugrid@uxarray/io/_icon.py', 'description': 'Encodes the Primal Mesh of an ICON Grid into the UGRID conventions.', 'signature': 'def _primal_to_ugrid(in_ds, out_ds):'}</s>FACE_COORDINATES = ["face_lon", "face_lat"] | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQFMT_DIST_HEADER_ARRAY = [b"M", b"Q", b"H", b"D", b"I", b"S", b"T", b" "] | 0 |
{'name': 'PumpEvents@comtypes/client/_events.py', 'description': "This following code waits for 'timeout' seconds in the way\nrequired for COM, internally doing the correct things depending\non the COM appartment of the current thread. It is possible to\nterminate the message loop by pressing CTRL+C, which will raise\... | 0 |
{'name': 'GlacierDirectory.__init__@oggm/utils/_workflow.py', 'description': "Creates a new directory or opens an existing one.\n\nParameters\n----------\nrgi_entity : a ``geopandas.GeoSeries`` or str\n glacier entity read from the shapefile (or a valid RGI ID if the\n directory exists)\nbase_dir : str\n path ... | 0 |
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': '_get_precedence@src/api/python/z3/z3printer.py', 'description': 'DOCSTRING', 'code': 'def _get_precedence(k):\n ... | 0 |
{'name': 'View.update_pick_info_long@picasso/gui/render.py', 'description': 'Called when evaluating picks statistics in Info Dialog. ', 'signature': 'def update_pick_info_long(self):'}</s>{'name': 'render_hist3d@picasso/render.py', 'description': 'Renders locs in 3D with no blur.\nUsed by Picasso: Average3.\n\nParamete... | 0 |
{'name': '_delete_files@slack_cleaner2/cli.py', 'description': 'delete old files', 'signature': 'def _delete_files(slack: SlackCleaner, args: Any):'}</s>{'name': '_show_infos@slack_cleaner2/cli.py', 'description': 'show generic information about this slack workspace', 'code': 'def _show_infos(slack: SlackCleaner):\n ... | 0 |
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'dotprod@src/python_scripts/afnipy/afni_util.py', 'description': 'compute the dot product of 2 vectors', 'code'... | 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_tabletype_copy@language-bindings/python/src/wamr/wasmcapi/bindi... | 0 |
{'name': 'CheckStyle@tools/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 code, etc.\n\nArgs:\n f... | 0 |
{'name': '_transform_attrs@blockchain-env/lib/python3.7/site-packages/attr/_make.py', 'description': "Transform all `_CountingAttr`s on a class into `Attribute`s.\n\nIf *these* is passed, use that and don't look for them on the class.\n\nReturn an `_Attributes`.", 'signature': 'def _transform_attrs(cls, these, auto_att... | 0 |
{'name': 'InputsTest.test_error_with_bad_eval_model_config@object_detection/inputs_test.py', 'description': 'Tests that a TypeError is raised with improper eval model config.', 'signature': 'def test_error_with_bad_eval_model_config(self):'}</s>{'name': '_fake_model_preprocessor_fn@object_detection/inputs_test.py', 'de... | 0 |
{'name': 'get_objects_for_group@guardian/shortcuts.py', 'description': "Get objects that a group has *all* the supplied permissions for.\n\nParameters:\n group (Group): `Group` instance for which objects would be returned.\n perms (str | list[str]): permission(s) which should be checked.\n If `klass` param... | 1 |
{'name': 'get_domain_literal@src/future/backports/email/_header_value_parser.py', 'description': 'domain-literal = [CFWS] "[" *([FWS] dtext) [FWS] "]" [CFWS]\n\n ', 'signature': 'def get_domain_literal(value):'}</s>{'name': 'parseaddr@src/future/backports/email/utils.py', 'description': 'DOCSTRING', 'code': "def par... | 0 |
{'name': 'has_good_and_bad@nix_bisect/bisect_runner.py', 'description': 'Determines if the bisect can start', 'signature': 'def has_good_and_bad():'}</s>_ANSI_BOLD = "[1m" | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.