text string | label int64 |
|---|---|
{'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': 'TestClassification.check_metric_values_for_classification@tests/test_classification.py', 'description': 'Check that the classification metric values are as expected.\n\nParameters\n----------\nmetric_name : str\n Name of the metric to check.\nlabel_array : list of str\n List of label strings from which ... | 1 |
{'name': 'main@char60/std_turn.py', 'description': ':param start: the quantile to start cutting, usually it should be 0\n:param end: the quantile to end cutting, usually it should be 1\n:param step: quantile step\n:return: a dataframe with calculated variance of residual', 'signature': 'def main(start, end, step):'}</s... | 0 |
{'name': 'masked_area_interpolate@tobler/dasymetric/masked_area_interpolate.py', 'description': 'Interpolate data between two polygonal datasets using an auxiliary raster to mask out uninhabited land.\n\nParameters\n----------\nsource_df : geopandas.GeoDataFrame\n source data to be converted to another geometric rep... | 0 |
{'name': 'imshow@DigiPathAI/new_Segmentation.py', 'description': 'Handy function to show multiple plots in on row, possibly with different cmaps and titles\nUsage:\nimshow(img1, title="myPlot")\nimshow(img1,img2, title=[\'title1\',\'title2\'])\nimshow(img1,img2, cmap=\'hot\')\nimshow(img1,img2,cmap=[\'gray\',\'Blues\']... | 0 |
{'name': 'create_event_classes@lib/event.py', 'description': 'Creates list of classes that will be calculated for', 'signature': 'def create_event_classes(all_events, b_type):'}</s>{'name': 'ALTRv@lib/var_event.py', 'description': "Alternative on 'right' side of the gene. Variable boundary.", 'base_classes': ['Variable... | 1 |
{'name': 'generate_files@scripts/update_api.py', 'description': 'Scan the api files in ``api_files`` and emit the relevant API files into\nthe output directories specified. If an output directory is set to ``None``\nthen the files for that language binding or module are not emitted.\n\nThe reason for this function inte... | 0 |
{'name': 'net_bond_obj@kayobe/plugins/filter/networks.py', 'description': 'Return a dict representation of a network bond interface.\n\nThe returned dict is compatible with the interfaces_bond_interfaces\nvariable in the MichaelRigaert.interfaces role.', 'signature': 'def net_bond_obj(context, name, inventory_hostname=... | 0 |
{'name': '_TestAWSIoTCoreDeviceLifecycleBase.test_device_accept_and_reject_or_dismiss@backend-tests/tests/test_aws_iotcore.py', 'description': 'Test how accepted-rejected and accepted-dismissed Mender flow affects AWS IoT Core devices.', 'signature': 'def test_device_accept_and_reject_or_dismiss('}</s>HOST = "mender-io... | 0 |
{'name': 'profile_stop@lib/charliecloud.py', 'description': 'If profiling, stop the profiler.', 'signature': 'def profile_stop():'}</s>FILENAME_MAX_CHARS = 192 | 0 |
{'name': 'BinFile.read@wntr/epanet/io.py', 'description': 'Read a binary file and create a results object.\n\nParameters\n----------\nfilename : str\n An EPANET BIN output file\nconvergence_error: bool (optional)\n If convergence_error is True, an error will be raised if the\n simulation does not converge. If ... | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_OBJECT_OPEN_FORCE = 3210 | 0 |
{'name': '_populate_face_centerpoints@uxarray/grid/coordinates.py', 'description': "Calculates the face centerpoints using Welzl's algorithm. It is a\nrandomized algorithm for finding the center and radius of the smallest\ncircle that encloses a set of points. It is here adapted to work on a unit\nsphere. Also, this al... | 0 |
{'name': 'test_preprocessor_expression@tests/macros/test_macro_processor.py', 'description': "Test that macro expansion doesn't recurse", 'signature': 'def test_preprocessor_expression():'}</s>{'name': 'ReaderMeta@hy/reader/reader.py', 'description': 'Provides a class with a dispatch map `DEFAULT_TABLE`\nand a decorato... | 0 |
{'name': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'test_date_custom_format@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_date_custom_format():\n ... | 0 |
{'name': 'Client.__init__@ironicclient/v1/client.py', 'description': 'Initialize a new client for the Ironic v1 API.', 'signature': 'def __init__(self, endpoint_override=None, *args, **kwargs):'}</s>API_VERSION_SELECTED_STATES = ('user', 'negotiated', 'cached', 'default') | 0 |
{'name': 'register_cmap@src/cmasher/utils.py', 'description': "Creates a :obj:`~matplotlib.colors.ListedColormap` object using the\nprovided `name` and `data`, and registers the colormap in the\n:mod:`cmasher.cm` and :mod:`matplotlib.cm` modules.\nA reversed version of the colormap will be registered as well.\n\nParame... | 1 |
{'name': 'ensure_rng@miceforest/utils.py', 'description': 'Creates a random number generator based on an optional seed. This can be\nan integer or another random state for a seeded rng, or None for an\nunseeded rng.', 'signature': 'def ensure_rng(random_state) -> RandomState:'}</s>{'name': 'logistic_function@micefores... | 0 |
{'name': 'assemble@bin/smrtsv.py', 'description': 'Assemble candidate regions from raw reads aligned to regions.', 'signature': 'def assemble(args):'}</s>{'name': 'index@bin/smrtsv.py', 'description': 'DOCSTRING', 'code': 'def index(args):\n return _run_snake_target(\n args,\n "prepare_reference",\n ... | 0 |
{'name': 'Embedding_Model.get_word_vector@src/codes/embeddings/embedding_models.py', 'description': 'Handle unknown word: In case of our private word2vec, we have a vocabs_list to check. With regular models,\nwe can check inside the model. Note that by default, we use char-model to handle unknown words.\n:param word:\n... | 1 |
{'name': 'IUZone.zone_id@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the zone_id. Should match the zone_id used in sequences', 'signature': 'def zone_id(self) -> str:'}</s>CONF_TIMELINE = "timeline" | 0 |
{'name': 'GTestBreakOnFailureUnitTest.RunAndVerify@googletest/test/googletest-break-on-failure-unittest.py', 'description': 'Runs googletest-break-on-failure-unittest_ and verifies its behavior.\n\nRuns googletest-break-on-failure-unittest_ and verifies that it does\n(or does not) have a seg-fault.\n\nArgs:\n env_var_... | 1 |
{'name': 'desired_user@github_scanner.py', 'description': 'Given a GitHub repo "name" (e.g., "comp215-week01-intro-2017-danwallach"), returns true or false if that\nproject is something we\'re trying to grade now, based on the specified prefix as well as the list of graders\n(to be ignored). Since we might be dealing w... | 0 |
{'name': 'merge_images_with_occlusions@utils/correspondence_tools/correspondence_augmentation.py', 'description': 'This function will take image_a and image_b and "merge" them.\n\nIt will do this by:\n- randomly selecting either image_a or image_b to be the background\n- using the mask for the image that is not the bac... | 1 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIACF_SYSP_OUT_BUFFER_SIZE = 1180 | 0 |
{'name': 'PlotModel.create_tally_image@openmc_plotter/plotmodel.py', 'description': 'Parameters\n----------\nview : PlotView\n View used to set bounds of the tally data\n\nReturns\n-------\ntuple\n image data (numpy.ndarray), data extents (optional),\n data_min_value (float), data_max_value (float),\n data ... | 1 |
{'name': 'PackageIndex.process_index@venv/Lib/site-packages/setuptools/package_index.py', 'description': 'Process the contents of a PyPI page', 'signature': 'def process_index(self, url, page):'}</s>{'name': 'fix_sf_url@venv/Lib/site-packages/setuptools/package_index.py', 'description': 'DOCSTRING', 'code': 'def fix_sf... | 0 |
{'name': 'create_instances_from_document@bert_tf/create_pretraining_data.py', 'description': 'Creates `TrainingInstance`s for a single document.', 'signature': 'def create_instances_from_document(all_documents, document_index, max_seq_length, short_seq_prob, masked_lm_prob,'}</s>{'name': 'create_training_instances@bert... | 0 |
{'name': 'localtime@tool/mkarchive.py', 'description': 'Return YYYY-mm-dd HH:MM.', 'signature': 'def localtime(stamp=0):'}</s>dnsname_should_match = _get_value(_extconf, 'Network', 'dnsname_should_match', True, 'boolean') | 0 |
{'name': 'plot_sounding@pymeteo/skewt.py', 'description': 'Plot sounding data\n\nThis plots temperature, dewpoint and wind data on a Skew-T/Log-P plot.\nThis will also plot derived values such as wetbulb temperature and\nlabel the surface based LCL, LFC and EL.\n\n:parameter z: height values (1D array)\n:parameter th: ... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_EXPIRY = 1244 | 0 |
{'name': 'create_color_texture@io_scene_minecraft_json/export_minecraft_json.py', 'description': "Create a packed square texture from list of input colors. Each color\nis a distinct RGB tuple given a 3x3 pixel square in the texture. These\nmust be 3x3 pixels so that there is no uv bleeding near the face edges.\nAlso in... | 0 |
{'name': 'SimpleBlock.__init__@models/kpconv/blocks.py', 'description': 'Initialize a simple convolution block with its ReLU and BatchNorm.\n:param in_dim: dimension input features\n:param out_dim: dimension input features\n:param radius: current radius of convolution\n:param config: parameters', 'signature': 'def __in... | 1 |
{'name': 'scnym_predict@scnym/api.py', 'description': 'Predict cell identities using an scNym model.\n\nParameters\n----------\nadata : AnnData\n [Cells, Genes] experiment containing annotated\n cells to train on.\nconfig : dict\n configuration options.\n\nReturns\n-------\nNone. Adds `adata.obs[config["key_ad... | 0 |
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PFTM_ICMP_FIRST_PACKET = 9 | 0 |
{'name': 'IsDerivedFunction@tools/cpplint.py', 'description': 'Check if current line contains an inherited function.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains a function with "override"\n virt-specifier... | 0 |
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>{'name': 'pfioc_states@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'ChainstateWriteCrashTest.restart_node@test/functional/feature_dbcrash.py', 'description': 'Start up a given node id, wait for the tip to reach the given block hash, and calculate the utxo hash.\n\nExceptions on startup should indicate node crash (due to -dbcrashratio), in which case we try again. Give up\naft... | 0 |
{'name': 'port_bind@kuryr/lib/binding/drivers/ipvlan.py', 'description': 'Binds the Neutron port to the network interface on the host.\n\n:param endpoint_id: the ID of the endpoint as string\n:param port: the container Neutron port dictionary as returned by\n python-neutronclient\n:param s... | 1 |
{'name': 'make_divisible@imagenet_codebase/utils/__init__.py', 'description': 'This function is taken from the original tf repo.\nIt ensures that all layers have a channel number that is divisible by 8\nIt can be seen here:\nhttps://github.com/tensorflow/models/blob/master/research/slim/nets/mobilenet/mobilenet.py\n:pa... | 0 |
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>{'name': 'CheckHeaderFileIncluded@scripts/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'code': 'def Che... | 0 |
{'name': 'test_invalid_signal_tuple_length@tests/test_wait_signal.py', 'description': 'Test that a ValueError is raised when not providing a signal+name tuple with exactly 2 elements\nas signal parameter.', 'signature': 'def test_invalid_signal_tuple_length(qtbot, signaller):'}</s>{'name': 'test_signal_triggered@tests/... | 0 |
{'name': 'get_reader@meza/io.py', 'description': "Gets the appropriate reader for a given file extension.\n\nArgs:\n extension (str): The file extension.\n\nReturns:\n func: The file reading function\n\nSee also:\n `meza.io.read`\n\nRaises:\n TypeError: If unable to find a suitable reader.\n\nExamples:\n ... | 0 |
{'name': '_create_initial_typedef@swagger_to/py_client.py', 'description': 'Create a placeholder so that a mapping for identifiable typedefs can be pre-populated.\n\nThis is necessary to avoid looping endlessly through cycles.', 'signature': 'def _create_initial_typedef(intermediate_typedef: swagger_to.intermediate.Typ... | 0 |
{'name': '_strict_random_crop_image@object_detection/core/preprocessor.py', 'description': 'Performs random crop.\n\nNote: Keypoint coordinates that are outside the crop will be set to NaN, which\nis consistent with the original keypoint encoding for non-existing keypoints.\nThis function always crops the image and is ... | 0 |
{'name': 'HtmlRenderer.__init__@mistletoe/html_renderer.py', 'description': "Args:\n extras (list): allows subclasses to add even more custom tokens.\n html_escape_double_quotes (bool): whether to also escape double\n quotes when HTML-escaping rendered text.\n html_escape_single_quotes (bool): whether t... | 0 |
{'name': 'TGRG@riskfolio/src/RiskFunctions.py', 'description': 'Calculate the Tail Gini range of a returns series.\n\nParameters\n----------\nX : 1d-array\n Returns series, must have Tx1 size.\nalpha : float, optional\n Significance level of Tail Gini of losses. The default is 0.05.\na_sim : float, optional\n ... | 0 |
{'name': 'FindStartOfExpressionInLine@tools/cpplint.py', 'description': 'Find position at the matching start of current expression.\n\nThis is almost the reverse of FindEndOfExpressionInLine, but note\nthat the input position and returned position differs by 1.\n\nArgs:\n line: a CleansedLines line.\n endpos: start s... | 0 |
{'name': 'create_eval_input_fn@object_detection/inputs.py', 'description': 'Creates an eval `input` function for `Estimator`.\n\nArgs:\n eval_config: An eval_pb2.EvalConfig.\n eval_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator` in ... | 0 |
{'name': 'CheckForNewlineAtEOF@third_party/cpplint/cpplint.py', 'description': 'Logs an error if there is no newline char at the end of the file.\n\nArgs:\n filename: The name of the current file.\n lines: An array of strings, each representing a line of the file.\n error: The function to call with any errors found.... | 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': 'login@ide/auth.py', 'description': "This is a bit too tricky, but I couldn't find another way. Google only allows specific \nredirect URLs to use OAuth2. We want to be able to test with alternative version specific servers\n(e.g., 20201227t175543-dot-py38-glowscript.uc.r.appspot.com). The solution here is to ... | 0 |
{'name': 'AutoTorrent.link_files@autotorrent/at.py', 'description': 'Links the files to the destination_path if they are found.', 'signature': 'def link_files(self, destination_path, files):'}</s>COLOR_ALREADY_SEEDING = Color.BLUE | 0 |
{'name': 'Conv2DSum.build@libspn_keras/layers/conv2d_sum.py', 'description': 'Build the internal components for this leaf layer.\n\nArgs:\n input_shape: Shape of the input Tensor.', 'signature': 'def build(self, input_shape: Tuple[Optional[int], ...]) -> None:'}</s>{'name': 'logspace_wrapper_initializer@libspn_keras... | 1 |
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OPCODES_BY_NAME = {
'OP_0' : OP_0,
... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIA_QMOPT_LOG_SYSTEM_MSGS = 164 | 0 |
{'name': 'control_read_initial_values@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Read initial control values', 'signature': 'def control_read_initial_values(sniffer):'}</s>ERROR_INTERFACE = 2 | 0 |
{'name': 'provider.stop_loading@dataset/union_person.py', 'description': 'to kill all threads\n ', 'signature': 'def stop_loading(self):'}</s>{'name': 'draw_keypoints_on_image_array@utils/test_tools.py', 'description': 'Draws keypoints on an image (numpy array).\nArgs:\n image: a numpy array with shape [height,... | 0 |
{'name': 'ReplaceByFeeTest.test_spends_of_conflicting_outputs@test/functional/feature_rbf.py', 'description': 'Replacements that spend conflicting tx outputs are rejected', 'signature': 'def test_spends_of_conflicting_outputs(self):'}</s>OP_1ADD = CScriptOp(0x8b) | 0 |
{'name': 'VimPlugin.LookupTag@vimdoc/module.py', 'description': 'Returns the tag name for the given type and name.', 'signature': 'def LookupTag(self, typ, name):'}</s>line_continuation = re.compile(r'^\s*\\') | 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': 'Grid.from_dataset@uxarray/grid/grid.py', 'description': 'Constructs a ``Grid`` object from a dataset.\n\nParameters\n----------\ndataset : xr.Dataset or path-like\n ``xarray.Dataset`` containing unstructured grid coordinates and connectivity variables or a directory\n containing ASCII files represents... | 0 |
{'name': '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, ... | 0 |
{'name': 'create_sampler@rulematrix/surrogate/sample.py', 'description': 'We treat the sampling of categorical values as a multivariate categorical distribution.\nWe sample categorical values first, then sample the continuous and integer variables\nusing the conditional distribution w.r.t. to the categorical vector.\n\... | 0 |
{'name': 'GQNLSTMCell._conv@gqn/gqn_draw.py', 'description': 'This is numerically equivalent to concatenating the inputs and then\nconvolving everything. However, it allows for splitting the convolution\nvariables per input and (with the right scoping) share variables between\ndifferent cells when inputs match.', 'sign... | 0 |
{'name': 'Task.end@src/mnemocards/task.py', 'description': 'Method called after processing all the notes.', 'signature': 'def end(self):'}</s>{'name': 'ClassModel@src/mnemocards/utils.py', 'description': 'DOCSTRING', 'base_classes': ['pydantic.BaseModel'], 'methods': [{'name': 'ClassModel.build_extra@src/mnemocards/uti... | 0 |
{'name': 'forward@transformers_learn_icl_by_gd/src/train.py', 'description': 'Transformer forward.', 'signature': 'def forward(tokens: jnp.ndarray, is_training: bool, gd: bool):'}</s>{'name': 'test_sin@transformers_learn_icl_by_gd/src/train.py', 'description': 'DOCSTRING', 'code': 'def test_sin(params, rng, gd):\n rng... | 0 |
{'name': 'CScript.raw_iter@test/functional/test_framework/script.py', 'description': 'Raw iteration\n\nYields tuples of (opcode, data, sop_idx) so that the different possible\nPUSHDATA encodings can be accurately distinguished, as well as\ndetermining the exact opcode byte indexes. (sop_idx)', 'signature': 'def raw_ite... | 0 |
{'name': 'euler_from_quaternion@utils/transformations.py', 'description': 'Return Euler angles from quaternion for specified axis sequence.\n\n>>> angles = euler_from_quaternion([0.99810947, 0.06146124, 0, 0])\n>>> numpy.allclose(angles, [0.123, 0, 0])\nTrue', 'signature': "def euler_from_quaternion(quaternion, axes='s... | 0 |
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'skipIfNetBSD@llvm-project/lldb/p... | 0 |
{'name': 'About.set_standard_fields@src/attributecode/model.py', 'description': 'Create fields in an ordered dict to keep a standard ordering. We\ncould use a metaclass to track ordering django-like but this approach\nis simpler.', 'signature': 'def set_standard_fields(self):'}</s>boolean_fields = [
"redistribute",... | 0 |
{'name': 'check_json_precision@test/functional/test_framework/util.py', 'description': 'Make sure json library being used does not lose precision converting BTC values', 'signature': 'def check_json_precision():'}</s>{'name': 'assert_greater_than_or_equal@test/functional/test_framework/util.py', 'description': 'DOCSTRI... | 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': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam... | 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': 'include_setuptools@kratos.gid/exec/get-pip.py', 'description': 'Install setuptools only if absent and not excluded.', 'signature': 'def include_setuptools(args):'}</s>{'name': 'determine_pip_install_arguments@kratos.gid/exec/get-pip.py', 'description': 'DOCSTRING', 'code': 'def determine_pip_install_arguments... | 0 |
{'name': 'RoIDataLayer._shuffle_roidb_inds@api/lib/roi_data_layer/layer.py', 'description': 'Randomly permute the training roidb.', 'signature': 'def _shuffle_roidb_inds(self):'}</s>cfg = __C | 0 |
{'name': 'HarosAnalyseRunner._load_history@haros/haros.py', 'description': "Load analyis history from database file\nand add it to self.database.history, append the previously\n'current' analysis report to history.", 'signature': 'def _load_history(self):'}</s>{'name': 'serve@haros/visualiser.py', 'description': 'DOCST... | 0 |
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MATCH_AMOAND_W = 1610620975 | 0 |
{'name': 'TcpServer.request_termination@cli/rpc2socks/utils/tcpserver.py', 'description': "Request this server's own I/O handling thread to leave gracefully.", 'signature': 'def request_termination(self):'}</s>UNSET = object() | 0 |
{'name': 'template@pyFileFixity/lib/profilers/visual/pympler/util/bottle3.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.', 'signature': 'def template(tpl, template_adapter=SimpleTemplate, **kwargs):'}</s>response = Response() | 1 |
{'name': 'BaseBaggingPU.fit@src/pulearn/bagging.py', 'description': 'Build a Bagging ensemble of estimators from the training set (X, y).\n\nParameters\n----------\nX : {array-like, sparse matrix} of shape = [n_samples, n_features]\n The training input samples. Sparse matrices are accepted only if\n they are supp... | 0 |
{'name': 'GenotypeCounts.get_bb_frequency@examples/locus_summary.py', 'description': 'Frequency of BB genotype (as fraction of all calls)\n\nReturns:\n float: BB genotype frequency', 'signature': 'def get_bb_frequency(self):'}</s>{'name': 'LocusSummary@examples/locus_summary.py', 'description': 'DOCSTRING', 'bas... | 0 |
{'name': 'DebPkgToolsTestCase.test_collect_packages@deb_pkg_tools/tests.py', 'description': 'Test the command line interface for collection of related packages.', 'signature': 'def test_collect_packages(self):'}</s>{'name': 'load_control_file@deb_pkg_tools/control.py', 'description': 'Load a control file and return the... | 0 |
{'name': 'LayoutViewSet.create@vulfocus-api/layout_image/views.py', 'description': 'ๅๅปบ็ผๆ็ฏๅขไฟกๆฏ', 'signature': 'def create(self, request, *args, **kwargs):'}</s>COMPOSE_ZIP_PATH = os.path.join(BASE_DIR, "compose-zip-store") | 0 |
{'name': 'BlockParser.getBlocks@libc/kernel/tools/cpp.py', 'description': 'Return all the blocks parsed.', 'signature': 'def getBlocks(self, tokzer=None):'}</s>tokNEQUAL = "!=" | 0 |
{'name': 'Test.test_MCD43A4@tests/test_image.py', 'description': 'Test the image module for MCD43A4', 'signature': 'def test_MCD43A4(self):'}</s>{'name': 'Test@tests/test_image.py', 'description': 'Tests for `eemont` package.', 'base_classes': ['unittest.TestCase'], 'methods': [{'name': 'Test.test_Container_Get_Item_By... | 1 |
{'name': '_precond_grad_dense_dense@preconditioned_stochastic_gradient_descent.py', 'description': 'return preconditioned gradient using Kronecker product preconditioner\nQl: (left side) Cholesky factor of preconditioner\nQr: (right side) Cholesky factor of preconditioner\nGrad: (matrix) gradient', 'signature': 'def _p... | 0 |
{'name': 'consume@tools/pydfu.py', 'description': 'Parses the struct defined by `fmt` from `data`, stores the parsed fields\ninto a named tuple using `names`. Returns the named tuple, and the data\nwith the struct stripped off.', 'signature': 'def consume(fmt, data, names):'}</s>{'name': 'clr_status@tools/pydfu.py', 'd... | 0 |
{'name': 'PreparedRequest.prepare_url@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/models.py', 'description': 'Prepares the given HTTP URL.', 'signature': 'def prepare_url(self, url, params):'}</s>{'name': 'HTTPError@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/exceptions... | 0 |
{'name': 'non_max_suppression@yolov3/utils/utils.py', 'description': "Removes detections with lower object confidence score than 'conf_thres'\nNon-Maximum Suppression to further filter detections.\nReturns detections with shape:\n (x1, y1, x2, y2, object_conf, conf, class)", 'signature': 'def non_max_suppression(pre... | 0 |
{'name': 'IUZone.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this zone as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>SERVICE_PAUSE = "pause" | 0 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIA_RECEIVE_TIMEOUT = 111 | 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': '_synchronize_async_fixture@pytest_asyncio/plugin.py', 'description': 'Wraps the fixture function of an async fixture in a synchronous function.', 'signature': 'def _synchronize_async_fixture(fixturedef: FixtureDef) -> None:'}</s>{'name': '_provide_clean_event_loop@pytest_asyncio/plugin.py', 'description': 'DO... | 0 |
{'name': 'transformer_model@baselines/models/albert/modeling.py', 'description': 'Multi-headed, multi-layer Transformer from "Attention is All You Need".\n\nThis is almost an exact implementation of the original Transformer encoder.\n\nSee the original paper:\nhttps://arxiv.org/abs/1706.03762\n\nAlso see:\nhttps://gith... | 0 |
{'name': 'get_exemplar_motifs@modisco/hit_scoring/exemplar_based_hitscoring.py', 'description': 'This identifies the exemplars among seqlets\n\nArgs:\n seqlets: A list of :class:`modisco.core.Seqlet` that are already\n aligned relative to each other\n pattern_comparison_settings: determines which tracks to... | 0 |
{'name': 'data_generator@Mask_RCNN/mrcnn/model.py', 'description': 'A generator that returns images and corresponding target class ids,\nbounding box deltas, and masks.\n\ndataset: The Dataset object to pick data from\nconfig: The model config object\nshuffle: If True, shuffles the samples before every epoch\naugment: ... | 0 |
{'name': 'SOCAInstall._storage_build_fsx_lustre_filesystem@installer/resources/src/cdk_construct.py', 'description': 'Build an FSx filesystem.', 'signature': 'def _storage_build_fsx_lustre_filesystem(self, fs_key: str):'}</s>{'name': 'resolve_secret_as_str@installer/resources/src/helpers/secretsmanager.py', 'descriptio... | 0 |
{'name': 'Ava._images_and_boxes_preprocessing_cv2@models/SlowFast/slowfast/datasets/ava_dataset.py', 'description': 'This function performs preprocessing for the input images and\ncorresponding boxes for one clip with opencv as backend.\n\nArgs:\n imgs (tensor): the images.\n boxes (ndarray): the boxes for the cu... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.