text
string
label
int64
{'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': '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': 'random_rotation90@object_detection/core/preprocessor.py', 'descri...
0
{'name': 'read_frames@Monika After Story/game/python-packages/mutagen/id3/_tags.py', 'description': 'Does not error out', 'signature': 'def read_frames(id3, data, frames):'}</s>{'name': 'save_frame@Monika After Story/game/python-packages/mutagen/id3/_tags.py', 'description': 'DOCSTRING', 'code': 'def save_frame(frame, ...
0
{'name': 'dict_indexer_with_default@yaql/standard_library/collections.py', 'description': ':yaql:operator indexer\n\nReturns value of a dictionary by given key or default if there is\nno such key.\n\n:signature: left[right, default]\n:arg left: input dictionary\n:argType left: dictionary\n:arg right: key\n:argType righ...
0
{'name': 'find_on_path@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Yield distributions accessible on a sys.path directory', 'signature': 'def find_on_path(importer, path_item, only=False):'}</s>{'name': 'ContextualVersionConflict@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'A Versio...
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': 'FoundationTestCase2.test_more_expr_commands@tools/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py', 'description': 'More expression commands for objective-c.', 'signature': 'def test_more_expr_commands(self):'}</s>BREAKPOINT_HIT_ONCE = "Breakpoint resolved with hit cout = 1"
0
{'name': 'apply@hdrnet/layers.py', 'description': 'Applies a sliced affined model to the input image.\n\nArgs:\n sliced: (Tensor) [batch_size, h, w, n_output, n_input+1] affine coefficients\n input_image: (Tensor) [batch_size, h, w, n_input] input data onto which to\n apply the affine transform.\n name: (string) ...
0
{'name': 'mapmp@boxx/tool/toolFunction.py', 'description': "Map with Multi Processing\nmapmp(fun, sequence[, sequence, ...], pool=None, thread=False)->list\n\n!Important, multi processing must do in `__name__ == '__main__'`'s block \nsee more at https://docs.python.org/3/library/multiprocessing.html\n\n>>> mapmp(np.add...
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_RESUME_Q_MGR = 132
0
{'name': '_clean_if_branches_old@d2lbook/notebook.py', 'description': 'Handle speciall if branchs\n ', 'signature': 'def _clean_if_branches_old(lines, tab):'}</s>{'name': '_clean_if_branches@d2lbook/notebook.py', 'description': 'Handle special if branchs\n ', 'code': 'def _clean_if_branches(lines, tab):\n """H...
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': 'YoutubeDL._load_cookies@script.module.youtube.dl/lib/youtube_dl/YoutubeDL.py', 'description': 'Loads cookies from a `Cookie` header\n\nThis tries to work around the security vulnerability of passing cookies to every domain.\n\n@param data The Cookie header as a string to load the cookies from\n@param ...
0
{'name': 'TaprootTest.gen_test_vectors@test/functional/feature_taproot.py', 'description': 'Run a scenario that corresponds (and optionally produces) to BIP341 test vectors.', 'signature': 'def gen_test_vectors(self):'}</s>Spender = namedtuple("Spender", "script,comment,is_standard,sat_function,err_msg,sigops_weight,no...
0
{'name': 'LinkRegistry.add_valve@wntr/network/model.py', 'description': "Adds a valve to the water network model.\n\nParameters\n----------\nname : string\n Name of the valve.\nstart_node_name : string\n Name of the start node.\nend_node_name : string\n Name of the end node.\ndiameter : float, optional\n ...
0
{'name': 'TestAllEntityManager.test_is_sub_to_all_manager@entity/tests/model_tests.py', 'description': 'Tests the is_sub_to_all for an entity directly from the entity manager.', 'signature': 'def test_is_sub_to_all_manager(self):'}</s>{'name': 'EntityKindManagerTest@entity/tests/model_tests.py', 'description': 'Tests t...
0
{'name': 'create_estimator_and_inputs@object_detection/model_lib.py', 'description': "Creates `Estimator`, input functions, and steps.\n\nArgs:\n run_config: A `RunConfig`.\n hparams: A `HParams`.\n pipeline_config_path: A path to a pipeline config file.\n config_override: A pipeline_pb2.TrainEvalPipelineConfig tex...
0
{'name': 'AdbDevice._filesync_send@adb_shell/adb_device.py', 'description': 'Send/buffer FileSync packets.\n\nPackets are buffered and only flushed when this connection is read from. All\nmessages have a response from the device, so this will always get flushed.\n\nParameters\n----------\ncommand_id : bytes\n Comman...
1
{'name': 'learn_continuous_tasks@agents/bdq/deepq/procedure_continuous_tasks.py', 'description': "Train a branching deepq model to solve continuous control tasks via discretization.\nCurrent assumptions in the implementation: \n- for solving continuous control domains via discretization (can be adjusted to be compatibl...
1
{'name': 'ColoredTriMesh.from_trimesh@deodr/triangulated_mesh.py', 'description': 'Get the vertex colors, texture coordinates, and material properties\nfrom a :class:`~trimesh.base.Trimesh`.', 'signature': 'def from_trimesh(mesh: Trimesh, compute_adjacencies: bool = True) -> "ColoredTriMesh": # inspired from pyrender'...
0
{'name': 'BlockParser.getBlocks@libc/kernel/tools/cpp.py', 'description': 'Return all the blocks parsed.', 'signature': 'def getBlocks(self, tokzer=None):'}</s>{'name': 'CppExprTest@libc/kernel/tools/cpp.py', 'description': 'CppExpr unit tests.', 'base_classes': ['unittest.TestCase'], 'methods': [{'name': 'CppExprTest....
0
{'name': 'NewDatabase.__import_inventories@premise/new_database.py', 'description': 'This method will trigger the import of a number of pickled inventories\nand merge them into the database dictionary.', 'signature': 'def __import_inventories(self) -> List[dict]:'}</s>{'name': '_update_external_scenarios@premise/extern...
0
{'name': 'get_user@backend/app/routers/user.py', 'description': "Endpoint to get a user's info by id.\n\nWarnings:\n Need security on this endpoint.", 'signature': 'def get_user(user_id: int, db: Session = Depends(get_db)):'}</s>{'name': 'PositionCreate@backend/app/schemas.py', 'description': 'DOCSTRING', 'base_clas...
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': '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': 'read@GeoHealthCheck/util.py', 'description': 'read file contents', 'signature': "def read(filename, encoding='utf-8'):"}</s>LOGGER = logging.getLogger(__name__)
0
{'name': 'MeasurementPreset.addMeasurement@ValveQuantification/ValveQuantificationLib/MeasurementPreset.py', 'description': 'puts results into metricsTable and self.metricsMessages ', 'signature': 'def addMeasurement(self, measurement):'}</s>FIELD_MIN_VALUE = "minValue"
0
{'name': 'CheckComment@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Checks for common mistakes in TODO comments.\n\nArgs:\n comment: The text of the comment from the line in question.\n filename: The name of the current file.\n linenum: The number of the line to check.\n error: The function to call ...
0
{'name': 'FIDAndIS.get_inception_score@evaluations/th_evaluator.py', 'description': 'Compute the inception score using a batch of activations.\n:param activations: an [N x D] batch of activations.\n:param split_size: the number of samples per split. This is used to\n make results consistent with other...
0
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools subclasses used by Versioneer.\n\nIf the package uses a different cmdclass (e.g. one from numpy), it\nshould be provide as an argument.', 'signature': 'def get_cmdclass(cmdclass=None):'}</s>have_tomllib = True
0
{'name': 'add_metaclass@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/packages/six.py', 'description': 'Class decorator for creating a class with a metaclass.', 'signature': 'def add_metaclass(metaclass):'}</s>_urllib_robotparser_moved_attributes = [ MovedAttribute("RobotFileParser"...
0
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre...
0
{'name': 'validate_tl_line@dataset/TD500/Evaluation_Protocol/rrc_evaluation_funcs.py', 'description': 'Validate the format of the line. If the line is not valid an exception will be raised.\nIf maxWidth and maxHeight are specified, all points must be inside the imgage bounds.\nPosible values are:\nLTRB=True: xmin,ymin,...
0
{'name': 'Tileset.__init__@openmaptiles/tileset.py', 'description': 'Create a new tileset from a file (str|Path), or already parsed.\nOptionally provide environment variables (used in unit testing).', 'signature': 'def __init__(self, tileset_source: Union[str, Path, ParsedData], getenv: GetEnv = None):'}</s>GetEnv = Ne...
1
{'name': 'test_check_classic_valid_with_preprocessor@test/test_utils.py', 'description': 'Test that valid inputs when using a preprocessor raises no warning', 'signature': 'def test_check_classic_valid_with_preprocessor(points):'}</s>{'name': 'test__auto_select_init@test/test_utils.py', 'description': 'Checks that the ...
0
{'name': 'Grid.face_node_connectivity@uxarray/grid/grid.py', 'description': 'Indices of the nodes that make up each face.\n\nDimensions: ``(n_face, n_max_face_nodes)``\n\nNodes are in counter-clockwise order.', 'signature': 'def face_node_connectivity(self) -> xr.DataArray:'}</s>{'name': '_populate_node_face_connectivi...
0
{'name': 'create_blueprint@flask_security/views.py', 'description': 'Creates the security extension blueprint', 'signature': 'def create_blueprint(state, import_name):'}</s>{'name': 'logout@flask_security/views.py', 'description': 'View function which handles a logout request.', 'code': 'def logout():\n """View func...
1
{'name': 'ProcessLine@tools/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n wi...
0
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>ICMP6_PARAMPROB_HEADER = 0
0
{'name': 'get_from_cache@pytorch_pretrained_bert/file_utils.py', 'description': "Given a URL, look for the corresponding dataset in the local cache.\nIf it's not there, download it. Then return the path to the cached file.", 'signature': 'def get_from_cache(url, cache_dir=None):'}</s>{'name': 's3_etag@pytorch_pretraine...
1
{'name': 'BaseRequest.is_xhr@src/back/kite/bottle.py', 'description': 'True if the request was triggered by a XMLHttpRequest. This only\nworks with JavaScript libraries that support the `X-Requested-With`\nheader (most of the popular libraries do). ', 'signature': 'def is_xhr(self):'}</s>_HTTP_STATUS_LINES = dict((k, '...
0
{'name': 'profile_stop@lib/charliecloud.py', 'description': 'If profiling, stop the profiler.', 'signature': 'def profile_stop():'}</s>{'name': 'TRACE@lib/charliecloud.py', 'description': 'DOCSTRING', 'code': 'def TRACE(msg, hint=None, **kwargs):\n if (log_level >= Log_Level.TRACE):\n log(msg, hint, None, "38;5;...
0
{'name': 'MainInterface.process_options@src/python_scripts/scripts/uber_ttest.py', 'description': 'return 1 on valid and exit\n 0 on valid and continue\n-1 on invalid', 'signature': 'def process_options(self):'}</s>{'name': 'converts_to_type@src/python_scripts/afnipy/afni_util.py', 'description': 'converts_to_type(val...
0
{'name': 'MarkChecker.verify_all_nodes@tests/tools.py', 'description': 'Generically test atok.get_text() on the ast tree: for each statement and expression in the\ntree, we extract the text, parse it, and see if it produces an equivalent tree. Returns the\nnumber of nodes that were tested this way.', 'signature': 'def ...
1
{'name': 'MessageReceiver._message_received@uamqp/receiver.py', 'description': 'Callback run on receipt of every message. If there is\na user-defined callback, this will be called.\nAdditionally if the client is retrieving messages for a batch\nor iterator, the message will be added to an internal queue.\n\n:param mess...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQWIH_NONE = 0
0
{'name': 'on_load_data@src/server/server.py', 'description': 'Allow pages to load needed data', 'signature': 'def on_load_data(data):'}</s>{'name': 'on_set_min_lap_behavior@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def on_set_min_lap_behavior(data):\n min_lap_behavior = int(data[\'min_lap_behavior\...
0
{'name': 'init@beeline/__init__.py', 'description': 'initialize the honeycomb beeline. This will initialize a libhoney\nclient local to this module, and a tracer to track traces and spans.\n\nArgs:\n- `writekey`: the authorization key for your team on Honeycomb. Find your team\n write key at [https://ui.honeycom...
0
{'name': 'ExportHtml.write_body@ExportHtml.py', 'description': 'Write the body of the HTML.', 'signature': 'def write_body(self, html):'}</s>TOOL_GUTTER = "<img onclick="toggle_gutter();" alt="" title="Toggle Gutter" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBI...
0
{'name': '_SetFilters@llvm-4.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Sets the module\'s error-message filters.\n\nThese filters are applied when deciding whether to emit a given\nerror message.\n\nArgs:\n filters: A string of comma-separated filters (eg "whitespace/indent").\n...
0
{'name': 'TV_norm@icnn/utils.py', 'description': 'TV_norm loss and gradient', 'signature': 'def TV_norm(x, TVbeta=1):'}</s>{'name': 'normalise_img@icnn/utils.py', 'description': 'Normalize the image.\nMap the minimum pixel to 0; map the maximum pixel to 255.\nConvert the pixels to be int', 'code': "def normalise_img(im...
0
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'IsInt@src/api/python/z3/z3.py', 'description': 'Return the Z3 predicate IsInt(a).\n\n>>> x = Real(\'x\')\n>>> IsInt(x + "1/2"...
0
{'name': 'invalidate_cache@avatar/util.py', 'description': "Function to be called when saving or changing an user's avatars.", 'signature': 'def invalidate_cache(user, size=None):'}</s>AUTO_GENERATE_AVATAR_SIZES = getattr(settings, 'AUTO_GENERATE_AVATAR_SIZES', (AVATAR_DEFAULT_SIZE,))
1
{'name': 'Annotation.to_rttm@src/pyannote/core/annotation.py', 'description': 'Serialize annotation as a string using RTTM format\n\nReturns\n-------\nserialized: str\n RTTM string', 'signature': 'def to_rttm(self) -> Text:'}</s>PYANNOTE_TRACK = "track"
0
{'name': 'Client.get_partitions_ps_with_auth@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/hive_metastore/ThriftHiveMetastore.py', 'description': 'Parameters:\n - db_name\n - tbl_name\n - part_vals\n - max_parts\n - user_name\n - group_names', 'signature': 'def get_partitions_ps_with_auth(self, db_name, tbl_name,...
0
{'name': '_parse_jitlog@jitlog/parser.py', 'description': "JitLog is parsed. if an exception is raised after\nthe header has been read, it is saved in the field 'exc' on\nthe forest returned.\n\nThis allows to parse an incomplete log file an still display\neverything that was readable!\nIf a ParseException is directly ...
0
{'name': 'createAPI@apim-traffic-tool/lib/traffic-tool/src/python/utils/request_methods.py', 'description': 'This function will create a given API in WSO2 API Manager\n:param gateway_protocol: Running protocol of the gateway\n:param gateway_host: Host IP address of the gateway\n:param gateway_port: Port\n:param endpoin...
0
{'name': 'bytes2human@python/psutil/examples/iotop.py', 'description': ">>> bytes2human(10000)\n'9.8 K/s'\n>>> bytes2human(100001221)\n'95.4 M/s'", 'signature': 'def bytes2human(n):'}</s>{'name': 'print_line@python/psutil/examples/iotop.py', 'description': "A thin wrapper around curses's addstr().", 'code': 'def print_...
0
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>{'name': 'assert_fee_amount@test/functional/test_framework/util.py', 'description': 'Assert the fee was in range', 'code': 'def ...
0
{'name': 'initialize_jwst_image@grizli/jwst_utils.py', 'description': 'Make copies of some header keywords to make the headers look like\nand HST instrument\n\n1) Apply gain correction [*NOT PERFORMED*]\n2) Clip DQ bits\n3) Copy header keywords\n4) Apply exposure-level 1/f correction\n5) Apply flat field if necessary\n...
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': 'Signing@nordicsemi/dfu/signing.py', 'description': 'Class for singing of hex-files', 'base_classes': ['ob...
0
{'name': 'test_run_iclabel_onnx@mne_icalabel/iclabel/network/tests/test_network.py', 'description': "Test that the network outputs the same values as MATLAB.\n\nTest the the network outputs the same values for the features in\n'features_raw_path' and 'features_epo_path' that contains the features extracted in\nEEGLAB. ...
0
{'name': 'Mommy.create@model_mommy/mommy.py', 'description': 'Factory which creates the mommy class defined by the MOMMY_CUSTOM_CLASS setting', 'signature': 'def create(cls, _model, make_m2m=False, create_files=False):'}</s>{'name': 'gen_multi_polygon@model_mommy/random_gen.py', 'description': 'DOCSTRING', 'code': "def...
0
{'name': 'build_output_filepath@code/nnv/examples/Submission/FORMALISE2025/src/vvn/gtsrbprep.py', 'description': 'For our purposes, we will be naming the file based on\nthe epsilon value used for the verification.', 'signature': 'def build_output_filepath(config: Config, filename=None, parent_only=False):'}</s>PATH_TO_...
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': 'thanksgiving@src/convertdate/holidays.py', 'description': "In the United States, Thanksgiving is celebrated on the last Thursday\nof November. In Canada, on the second Monday of October.\n\nArguments:\n year (int): Gregorian year\n country (str): either ``'usa'`` (default) or ``'canada'``", 'signature':...
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': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>{'name': 'getprotobynumber@pf/_utils.py', 'description': 'Map a protocol number to a name.\n\nReturn the protocol name or None if no mat...
0
{'name': '_SetFilters@llvm-4.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Sets the module\'s error-message filters.\n\nThese filters are applied when deciding whether to emit a given\nerror message.\n\nArgs:\n filters: A string of comma-separated filters (eg "whitespace/indent").\n...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQHSTATE_ACTIVE = 1
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': 'BufferedSocket.recv_until@boltons/socketutils.py', 'description': 'Receive until *delimiter* is found, *maxsize* bytes have been read,\nor *timeout* is exceeded.\n\nArgs:\n delimiter (bytes): One or more bytes to be searched for\n in the socket stream.\n timeout (float): The timeout for this oper...
0
{'name': 'gen_inc_module@da/compiler/incgen.py', 'description': 'Generates the interface file from a DistPy AST.', 'signature': 'def gen_inc_module(daast, cmdline_args, filename=""):'}</s>{'name': 'StartExpr@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['BuiltinCallExpr'], 'methods': [{'name': 'Sta...
0
{'name': 'networkd_networks@kayobe/plugins/filter/networkd.py', 'description': 'Return a dict representation of networkd network configuration.\n\nThe format is compatible with the systemd_networkd_network variable in the\nstackhpc.linux.systemd_networkd role.\n\n:param context: a Jinja2 Context object.\n:param names: ...
1
{'name': 'test_best_params@gatspy/periodic/tests/test_lomb_scargle.py', 'description': 'Quick test for whether best params are computed without failure', 'signature': 'def test_best_params(N=100, period=1):'}</s>{'name': '_generate_data@gatspy/periodic/tests/test_lomb_scargle.py', 'description': 'Generate some data for...
1
{'name': 'SincConv_fast.forward@spk_id/neural_networks.py', 'description': 'Parameters\n----------\nwaveforms : `torch.Tensor` (batch_size, 1, n_samples)\n Batch of waveforms.\nReturns\n-------\nfeatures : `torch.Tensor` (batch_size, out_channels, n_samples_out)\n Batch of sinc filters activations.', 'signature':...
0
{'name': '_getTestStatus@python/DisplayTests.py', 'description': "Return the status for all tests in the given directory, and compute\na summary status given the build type.\nReturn a tuple (dict, string, string, dict, dict) where the first entry maps\ntest suite names to a string describing their status, the second is...
0
{'name': 'bash_unset_variable@src/conda_devenv/gen_scripts.py', 'description': 'Render the code to unset a variable and/or restore its backup in bash.\n\n:param variable_name: The name of the variable.\n:return: The code to restore and/or unset the variable.', 'signature': 'def bash_unset_variable(variable_name: str) -...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMD_CHANGE_LISTENER = 93
0
{'name': 'CorpusAligner.evaluate_alignments@montreal_forced_aligner/alignment/base.py', 'description': 'Evaluate alignments against a reference directory\n\nParameters\n----------\nmapping: dict[str, Union[str, list[str]]], optional\n Mapping between phones that should be considered equal across different phone set ...
0
{'name': 'main@bin/ncbi-gtdb_map.py', 'description': 'Main interface', 'signature': 'def main(args: dict) -> None:'}</s>{'name': 'lca_frac_pass@bin/ncbi-gtdb_map.py', 'description': 'Determine which, if any, of the LCAs pass the homogeneity cutoff.\n"homogeneity" means the fraction of tips with the target LCA \n (eg.,...
0
{'name': 'LMTC.process_dataset@lmtc.py', 'description': 'Process dataset documents (samples) and create targets\n:param documents: list of Document objects\n:return: samples, targets', 'signature': 'def process_dataset(self, documents):'}</s>{'name': 'LMTC@lmtc.py', 'description': 'DOCSTRING', 'base_classes': [], 'meth...
1
{'name': 'init_screen@displays/inkyphat.py', 'description': 'Prepare the screen for drawing and return the draw variables\n ', 'signature': 'def init_screen(color):'}</s>startup_screen_3 = "- help translate to PT -"
0
{'name': 'set_jwst_to_hst_keywords@grizli/jwst_utils.py', 'description': 'Make primary header look like an HST instrument\n\nParameters\n----------\ninput : str, `~astropy.io.fits.HDUList`\n Filename or FITS HDUList object to modify.\n\nreset : bool\n Reset original JWST keywords to their original values.\n\nverb...
0
{'name': '_list_item_start@lookatme/render/markdown_block.py', 'description': 'Render the start of a list item. This function makes use of two\ndifferent styles, one each for unordered lists (bullet styles) and ordered\nlists (numbering styles):\n\n.. code-block:: yaml\n\n bullets:\n \'1\': "•"\n \'2\': "⁃...
0
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>INT32_MAX = int((1 << 31) - 1)
0
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>batch_load = dvz.dvz_batch_load
0
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ...
0
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ...
1
{'name': '_dump_float@src/betterproto/__init__.py', 'description': 'Dump the given float to JSON\n\nParameters\n----------\nvalue: float\n Value to dump\n\nReturns\n-------\nUnion[float, str]\n Dumped value, either a float or the strings', 'signature': 'def _dump_float(value: float) -> Union[float, str]:'}</s>{'n...
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...
1
{'name': 'Query.__init__@SalesforcePy/sfdc.py', 'description': "Constructor. Calls `super`, then encodes the `service` including the `query_string` provided\n\n:param: session_id: Session ID used to make request\n:type: session_id: string\n:param: instance_url: Instance URL used to make the request (eg. `'eu11.salesfor...
0
{'name': 'noise_cov@mne_bids_pipeline/tests/configs/config_ds000248_base.py', 'description': 'Estimate the noise covariance.', 'signature': 'def noise_cov(bp: mne_bids.BIDSPath) -> mne.Covariance:'}</s>mf_reference_run = "01"
0
{'name': 'ApiStub.delete_file@python-sdk/pachyderm_sdk/api/pfs/extension.py', 'description': 'Copies a file within PFS\n\nParameters\n----------\ncommit : pfs.Commit\n An open commit to modify.\npath : str\n The path of the file to be deleted.\n\nExamples\n--------\n>>> from pachyderm_sdk import Client\n>>> from ...
0
{'name': 'EffNetV2Model._build@DECIMER/efficientnetv2/effnetv2_model.py', 'description': 'Builds a model.', 'signature': 'def _build(self):'}</s>v2_base_block = [ # The baseline config for v2 models. "r1_k3_s1_e1_i32_o16_c1", "r2_k3_s2_e4_i16_o32_c1", "r2_k3_s2_e4_i32_o48_c1", "r3_k3_s2_e4_i48_o96_se0....
0
{'name': 'MeshElementField.place@python/taichi/lang/mesh.py', 'description': 'Declares mesh attributes for the mesh element in current mesh.\n\nArgs:\nmembers (Dict[str, Union[PrimitiveType, MatrixType]]): names and types for element attributes.\nreorder: True if reorders the internal memory for coalesced d...
0
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>{'name': 'MaskedIterator@venv/Lib/site-packages/numpy/ma/core.py', 'description': "Flat iterator object to iterate ...
0
{'name': 'update_retention_date@databricks-adx-integration/src/code/tools/ADXProvisionTool/create_dataexplorer_database.py', 'description': 'update table retention date\n:param number_of_companies: number_of_companies\n:type number_of_companies: int', 'signature': 'def update_retention_date(number_of_companies):'}</s>H...
0
{'name': 'InputsTest.test_faster_rcnn_resnet50_eval_input@object_detection/inputs_test.py', 'description': 'Tests the eval input function for FasterRcnnResnet50.', 'signature': 'def test_faster_rcnn_resnet50_eval_input(self, eval_batch_size=1):'}</s>{'name': 'get_configs_from_multiple_files@object_detection/utils/confi...
0
{'name': '_remove_bom_from_list@meza/io.py', 'description': 'Remove a byte order marker (BOM) from a list', 'signature': 'def _remove_bom_from_list(row, bom):'}</s>{'name': 'afterish@meza/fntools.py', 'description': "Calculates the number of digits after a given separator.\n\nArgs:\n content (str): The string to par...
0