text string | label int64 |
|---|---|
{'name': 'github_headers@github_scanner.py', 'description': "Given a GitHub access token, produces a Python dict suitable for passing to requests' headers field.\nIf github_token is an empty string, this prints an error message and crashes the program.", 'signature': 'def github_headers(github_token: str) -> dict:'}</s... | 0 |
{'name': 'INFO@lib/charliecloud.py', 'description': 'Note: Use print() for output; this function is for logging.', 'signature': 'def INFO(msg, hint=None, **kwargs):'}</s>{'name': 'ERROR@lib/charliecloud.py', 'description': 'DOCSTRING', 'code': 'def ERROR(msg, hint=None, trace=None, **kwargs):\n log(msg, hint, trace, ... | 0 |
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 0 |
{'name': 'pack_command@bottom/pack.py', 'description': 'Pack a command to send to an IRC server ', 'signature': 'def pack_command(command: str, **kwargs: Any) -> str:'}</s>{'name': 'f@bottom/pack.py', 'description': 'Alias for more readable command construction ', 'code': 'def f(field: str, kwargs: Dict[str, Any],\n ... | 1 |
{'name': 'AGraph.subgraph_parent@pygraphviz/agraph.py', 'description': 'Return parent graph of subgraph or None if graph is root graph.', 'signature': 'def subgraph_parent(self, nbunch=None, name=None):'}</s>{'name': 'gvRender@pygraphviz/graphviz.py', 'description': 'DOCSTRING', 'code': 'def gvRender(gvc, g, format, ou... | 0 |
{'name': 'data_generator@driving/maskModel.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: If T... | 0 |
{'name': 'Player.names@hearthstone/entities.py', 'description': "Returns the player's name and real name.\nReturns two empty strings if the player is unknown.\nAI real name is always an empty string.", 'signature': 'def names(self) -> Tuple[str, str]:'}</s>{'name': 'CardSet@hearthstone/enums.py', 'description': 'TAG_CA... | 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': 'compile_fun_manually@src/makefun/main.py', 'description': ':param target:\n:return:', 'signature': 'def compile_fun_manually(target,'}</s>{'name': 'get_signature_string@src/makefun/main.py', 'description': 'Returns the string to be used as signature.\nIf there is a non-native symbol in the defaults, it is cre... | 0 |
{'name': 'save_using_palette@src/pyradox/image.py', 'description': 'save image using palette and optimization', 'signature': 'def save_using_palette(image, filename, colors = 256):'}</s>{'name': 'split_strip@src/pyradox/image.py', 'description': 'gets a list of subimages from a horizontal strip of images', 'code': 'def... | 0 |
{'name': 'get_dims_with_index_levels@linopy/common.py', 'description': "Get the dimensions of a Dataset with their index levels.\n\nExample usage with a dataset that has:\n- regular dimension 'time'\n- multi-indexed dimension 'station' with levels ['country', 'city']\nThe output would be: ['time', 'station (country, ci... | 0 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': 'Float32@src/api/python/z3/z3.py', 'de... | 0 |
{'name': 'BaseComponent.fit@torchnmf/plca.py', 'description': 'Learn a PLCA model for the data V by maximizing the following log probability of V \nand model params :math:`\\theta` using EM algorithm:\n\n.. math::\n \\mathcal{L} (\\theta)= \\sum_{k_1...k_N} v_{k_1...k_N}\\log{\\hat{v}_{k_1...k_N}} \\\\\n + \\sum_... | 1 |
{'name': 'SetValuesTestCase.test@llvm-project/lldb/test/API/lang/c/set_values/TestSetValues.py', 'description': 'Test settings and readings of program variables.', 'signature': 'def test(self):'}</s>{'name': 'ChildVisitingFormatter@llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'The child... | 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': 'RedisPubSubLoopLayer._get_shard@channels_redis/pubsub.py', 'description': 'Return the shard that is used exclusively for this channel or group.', 'signature': 'def _get_shard(self, channel_or_group_name):'}</s>logger = logging.getLogger(__name__) | 0 |
{'name': 'test_regression_issue_1220_get_face_chip@tools/python/test/test_numpy_returns.py', 'description': 'Memory leak in Python get_face_chip\nhttps://github.com/davisking/dlib/issues/1220', 'signature': 'def test_regression_issue_1220_get_face_chip():'}</s>{'name': 'get_test_image_and_shape@tools/python/test/test_n... | 0 |
{'name': 'test_MultiBaseTilerFactory@src/titiler/core/tests/test_factories.py', 'description': 'test MultiBaseTilerFactory.', 'signature': 'def test_MultiBaseTilerFactory(rio):'}</s>{'name': 'test_dst_crs_option@src/titiler/core/tests/test_factories.py', 'description': 'test dst_crs parameter.', 'code': 'def test_dst_c... | 0 |
{'name': 'Name.check_name@peachpy/name.py', 'description': 'Verifies that the name is appropriate for a symbol', 'signature': 'def check_name(name):'}</s>{'name': 'Name@peachpy/name.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Name.__init__@peachpy/name.py', 'description': 'DOCSTRING', 'co... | 1 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>_main_ctx = None | 0 |
{'name': 'getSegmentation@DigiPathAI/Segmentation.py', 'description': "args:\n img_path: WSI tiff image path (str)\n patch_size: patch size for inference (int)\n stride_size: stride to skip during segmentation (int)\n batch_size: batch_size during inference (int)\n quick: if True; fin... | 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': 'source_nwm2usgs@src/Utility/Pre-Processing/STOFS-3D-Atl-shadow-VIMS/Pre_processing/Source_sink/Replace_with_USGS/replace_with_obs.py', 'description': "This script is to adjust the vsource.th file based on USGS data.\nThe adjustment is done by comparing the NWM data near the vsource and the USGS data near the ... | 1 |
{'name': 'PrettyAttribute.get_oneline_doc@pdir/api.py', 'description': "Doc doesn't necessarily mean doctring. It could be anything that\nshould be put after the attr's name as an explanation.", 'signature': 'def get_oneline_doc(self) -> str:'}</s>{'name': 'get_first_sentence_of_docstring@pdir/_internal_utils.py', 'des... | 1 |
{'name': '_ClassifyInclude@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than ""... | 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': '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': 'torgb@boxx/ylimg/ylimgTool.py', 'description': 'try to transfer a tensor to normalized RGB image\n\nnormalizing img value to 0~1\nand transpose (..., 3, w, h) to (..., w, h, 3)', 'signature': 'def torgb(img):'}</s>__generatorToNumpy = lambda x:np.array(list(x)) | 0 |
{'name': 'plot_items@wfdb/plot/plot.py', 'description': "Subplot individual channels of signals and/or annotations.\n\nParameters\n----------\nsignal : 1d or 2d numpy array or list, optional\n The signal or signals to be plotted. If signal is a\n one-dimensional array, it is assumed to represent a single channel... | 1 |
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>{'na... | 0 |
{'name': '_fit@diffxpy/testing/tests.py', 'description': ':param noise_model: str, noise model to use in model-based unit_test. Possible options:\n\n - \'nb\': default\n:param design_loc: Design matrix of location model.\n:param design_loc: Design matrix of scale model.\n:param constraints_loc: : Constraints for loc... | 0 |
{'name': 'bustools_count@kb_python/count.py', 'description': 'Runs `bustools count`.\n\nArgs:\n bus_path: Path to BUS file to correct\n out_prefix: Prefix of the output files to generate\n t2g_path: Path to output transcript-to-gene mapping\n ecmap_path: Path to ecmap file, as generated by `kallisto bus`\n ... | 0 |
{'name': 'encrypt_password@flask_security/utils.py', 'description': 'Encrypt the specified plaintext password.\n\nIt uses the configured encryption options.\n\n.. deprecated:: 2.0.2\n Use :func:`hash_password` instead.\n\n:param password: The plaintext password to encrypt', 'signature': 'def encrypt_password(password... | 0 |
{'name': 'ProcessFileData@runtimes/compiler-rt/lib/sanitizer_common/scripts/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:... | 0 |
{'name': 'makeCanvas@Utils.py', 'description': '@imgs: list of images, assume same sizes\n@flipBR: flip B and R channel for opencv', 'signature': 'def makeCanvas(imgs, flipBR=True):'}</s>{'name': 'cam_K_from_dict@Utils.py', 'description': 'DOCSTRING', 'code': 'def cam_K_from_dict(cam_cfg):\n return np.array([[cam_cfg[... | 0 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'QueueManager.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': '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': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': '_makeTags@venv/Lib/site-packages/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml,'}</s>__all__ = [ '__version__', '__versionTime__', '__author__', '__compat__',
'And', 'CaselessKeyword', 'Ca... | 0 |
{'name': 'to_device@espnet/nets/pytorch_backend/nets_utils.py', 'description': 'Send tensor into the device of the module.\n\nArgs:\n m (torch.nn.Module): Torch module.\n x (Tensor): Torch tensor.\n\nReturns:\n Tensor: Torch tensor located in the same place as torch module.', 'signature': 'def to_device(m, x):... | 0 |
{'name': 'findpeaks.plot1d@findpeaks/findpeaks.py', 'description': 'Plot the 1D results.\n\nParameters\n----------\nlegend : bool, (default: True)\n Show the legend.\nfigsize : (int, int), (default: None)\n (width, height) in inches.\n\nReturns\n-------\nfig_axis : tuple containing axis for each figure.', 'signat... | 0 |
{'name': 't2frames@jupylet/audio/__init__.py', 'description': 'Convert time in seconds to frames at 44100 frames per second.\n\nArgs:\n t (float): The time duration in seconds.\n\nReturns:\n int: The number of frames.', 'signature': 'def t2frames(t):'}</s>{'name': 'get_time@jupylet/audio/__init__.py', 'descriptio... | 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>MQAUTH_PUBLISH = 19 | 0 |
{'name': 'TranscriptionEvaluationMixin.compute_wer@montreal_forced_aligner/transcription/transcriber.py', 'description': 'Evaluates the transcripts if there are reference transcripts\n\nRaises\n------\n:class:`~montreal_forced_aligner.exceptions.KaldiProcessingError`\n If there were any errors in running Kaldi binar... | 0 |
{'name': 'get_login_data_from_stdin@scripts/Facebook_Scrapper/facebook_scraper.py', 'description': 'Get login data from stdin. ', 'signature': 'def get_login_data_from_stdin():'}</s>{'name': 'get_login_data_from_file@scripts/Facebook_Scrapper/facebook_scraper.py', 'description': 'DOCSTRING', 'code': 'def get_login_data... | 0 |
{'name': 'create_plot@pyeit/visual/plot.py', 'description': 'Creates a plot of a reconstructed EIT image. Optionally plots electrode positions and adds coordinate labels.\n\nParameters\n----------\nax\n Matplotlib axes on which to create the plot\neit_image\n Real valued output of pyeit solve methods\nmesh\n P... | 0 |
{'name': 'test_factory_import_directory_correct_arguments@elpis/transformer/test_transformer.py', 'description': 'Test if the import_directory decorator raises an error when the arguments of\nthe decorated function are not correct.', 'signature': 'def test_factory_import_directory_correct_arguments(tdtaf):'}</s>{'name'... | 0 |
{'name': 'ColorSchemeMatcher.get_special_color@lib/color_scheme_matcher.py', 'description': 'Get the core colors (background, foreground) for the view and gutter.\n\nGet the visible look of the color by simulated transparency if requested.', 'signature': 'def get_special_color(self, name, simulate_transparency=False):'... | 0 |
{'name': 'TestUnitCommit.test_closed_commit@python-sdk/tests/test_pfs.py', 'description': 'Test that an OpenCommit becomes a ClosedCommit when exiting\nthe context manager.', 'signature': 'def test_closed_commit(client: TestClient):'}</s>{'name': 'ClosedCommit@python-sdk/pachyderm_sdk/api/pfs/extension.py', 'descriptio... | 1 |
{'name': 'prepare_cis_output@tensorqtl/cis.py', 'description': 'Return nominal p-value, allele frequencies, etc. as pd.Series', 'signature': 'def prepare_cis_output(r_nominal, r2_perm, std_ratio, g, num_var, dof, variant_id,'}</s>{'name': 'linreg@tensorqtl/core.py', 'description': 'Robust linear regression. Solves y = ... | 0 |
{'name': 'loadingList@main.py', 'description': '载入官方列表\n:return:', 'signature': 'def loadingList():'}</s>{'name': 'zidong_kuanjia@main.py', 'description': '更新展示列表界面\n:param chessData:\n:param i:\n:return:', 'code': 'def zidong_kuanjia(chessData, i):\n \'\'\'\n 更新展示列表界面\n :param chessData:\n :param i:\n :... | 0 |
{'name': 'test_skip_decorators@tests/test_coverage.py', 'description': 'Tests ignoring of property decorators', 'signature': 'def test_skip_decorators(ignore_setter, ignore_deleter, ignore_property, coverage):'}</s>SAMPLES_DIRECTORY = os.path.join("tests", "sample_files", "subdir_a") | 0 |
{'name': 'ResNet50@models/mynet3.py', 'description': 'output, low_level_feat:\n2048, 256', 'signature': 'def ResNet50(output_stride, BatchNorm=nn.BatchNorm2d, pretrained=True, in_c=3):'}</s>{'name': 'ResNet34@models/mynet3.py', 'description': 'output, low_level_feat:\n512, 64', 'code': 'def ResNet34(output_stride, Batc... | 0 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>{'name': 'pf_rule_uid@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'find_near_matches_substitutions_lp@src/fuzzysearch/substitutions_only.py', 'description': 'search for near-matches of subsequence in sequence\n\nThis searches for near-matches, where the nearly-matching parts of the\nsequence must meet the following limitations (relative to the subsequence):\n\n* the number o... | 0 |
{'name': 'pull_key_prefix@util/runningstats.py', 'description': 'Returns a filtered dict of all the items of d that start with\nthe given key prefix, plus a dot, with that prefix removed.', 'signature': 'def pull_key_prefix(prefix, d):'}</s>{'name': 'save_cached_state@util/runningstats.py', 'description': 'Saves the st... | 0 |
{'name': '_parse_edge_nodes@uxarray/io/_mpas.py', 'description': 'Parses edge node connectivity for either the Primal or Dual Mesh.', 'signature': 'def _parse_edge_nodes(in_ds, out_ds, mesh_type):'}</s>EDGE_DIM = "n_edge" | 0 |
{'name': 'NanopbGenerator.run@scripts/nanopb/proto_generator.py', 'description': 'Performs the action of the generator.', 'signature': 'def run(self):'}</s>{'name': 'nanopb_rename_delete@scripts/nanopb/proto_generator.py', 'description': "Renames a delete symbol to delete_.\n\nIf a proto uses a field named 'delete', na... | 1 |
{'name': 'main@src/freetype/src/tools/docmaker/docmaker.py', 'description': 'Main program loop.', 'signature': 'def main(argv):'}</s>re_markup_tag2 = re.compile(r'''\s*@((?:\w|-)*):''') | 0 |
{'name': 'Lookyloo.get_crawled_tree@lookyloo/lookyloo.py', 'description': 'Get the generated tree in ETE Toolkit format.\nLoads the pickle if it exists, creates it otherwise.', 'signature': 'def get_crawled_tree(self, capture_uuid: str, /) -> CrawledTree:'}</s>{'name': 'Phishtank@lookyloo/modules/phishtank.py', 'descri... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_FUNCTION_NOT_SUPPORTED = 2298 | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'ThreeDHandler.get@app/tornado_handlers/three_d.py', 'description': 'GET request callback ', 'signature': 'def get(self, *args, **kwargs):'}</s>{'name': 'CustomHTTPError@app/tornado_handlers/common.py', 'description': 'simple class for HTTP exceptions with a custom error message ', 'base_classes': ['tornado.we... | 1 |
{'name': 'RNNMorphPredictor.__get_lemma@rnnmorph/predictor.py', 'description': 'Получить лемму.\n\n:param word: слово.\n:param pos_tag: часть речи.\n:param gram: граммаическое значение.\n:param enable_normalization: использовать ли нормализацию как в корпусе ГИКРЯ.\n:return: лемма.', 'signature': 'def __get_lemma(self,... | 1 |
{'name': 'AnalyzeAlignmentsFunction._run@montreal_forced_aligner/alignment/multiprocessing.py', 'description': 'Run the function', 'signature': 'def _run(self):'}</s>{'name': 'PhoneConfidenceFunction@montreal_forced_aligner/alignment/multiprocessing.py', 'description': 'Multiprocessing function to calculate phone confi... | 0 |
{'name': 'cmd_base@lib/charliecloud.py', 'description': 'Run a command to completion. If not fail_ok, exit with a fatal error if\nthe command fails (i.e., doesn’t exit with code zero). Return the\nCompletedProcess object.\n\nThe command’s stderr is suppressed unless (1) logging is DEBUG or higher\nor (2) fail_ok is Fal... | 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': 'PoolManager.connection_from_url@src/ahip/poolmanager.py', 'description': 'Similar to :func:`hip.connectionpool.connection_from_url`.\n\nIf ``pool_kwargs`` is not provided and a new pool needs to be\nconstructed, ``self.connection_pool_kw`` is used to initialize\nthe :class:`hip.connectionpool.ConnectionPool`.... | 0 |
{'name': 'SubstrateInterface.submit_extrinsic@substrateinterface/base.py', 'description': 'Submit an extrinsic to the connected node, with the possibility to wait until the extrinsic is included\n in a block and/or the block is finalized. The receipt returned provided information about the block and\n triggered events\... | 0 |
{'name': '_convert_to_example@utils/wholeslideimages/build_image_data.py', 'description': "Build an Example proto for an example.\nArgs:\n filename: string, path to an image file, e.g., '/path/to/example.JPG'\n image_buffer: string, JPEG encoding of RGB image\n label: integer, identifier for the ground truth for the... | 0 |
{'name': 'OtpErlangAtom.binary@src/api/python/erlang.py', 'description': 'return encoded representation', 'signature': 'def binary(self):'}</s>_TAG_NEW_FLOAT_EXT = 70 | 0 |
{'name': 'BaseRequest.query@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'The :attr:`query_string` parsed into a :class:`FormsDict`. These\nvalues are sometimes called "URL arguments" or "GET parameters", but\nnot to be confused with "URL wildcards" as they are provided by the\n:class:`Router`. ', 's... | 0 |
{'name': 'draw_initial_polygon@islamic_patterns.py', 'description': 'Create initial polygon shape ', 'signature': 'def draw_initial_polygon( sides = 6, radius = 1.0, center = Vector((0,0,0)) ):'}</s>edgeIntersections = {} | 0 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'NewDatabase.write_superstructure_db_to_brightway@premise/new_database.py', 'description': 'Register a super-structure database,\naccording to https://github.com/dgdekoning/brightway-superstructure\n:param name: name of the super-structure database\n:param filepath: filepath of the "scenarios difference file"\... | 0 |
{'name': 'shows@boxx/ylimg/ylimgTool.py', 'description': '图片展示分析工具 使用浏览器同步显示同一图像的不同数据表示 如不同通道的image,gt,resoult \n支持放大缩小与拖拽\n\nParameters\n----------\nimgs : list include path or np.ndarray \n 图片地址或图片np.ndarray 组成的list 要求所有图片宽高相同', 'signature': 'def shows(*imgs, png=False, coln=None):'}</s>{'name': 'labelToColor@box... | 0 |
{'name': 'ServiceInfo.getAddress@stino/pyarduino/base/zeroconf.py', 'description': 'Address accessor', 'signature': 'def getAddress(self):'}</s>{'name': 'DNSEntry@stino/pyarduino/base/zeroconf.py', 'description': 'A DNS entry', 'base_classes': ['object'], 'methods': [{'name': 'DNSEntry.__init__@stino/pyarduino/base/zer... | 0 |
{'name': 'blazepose_detec_func@Pose2Sim/Utilities/Blazepose_runsave.py', 'description': "Runs BlazePose (Mediapipe) on a video\nSaves coordinates to OpenPose format (json files) or DeepLabCut format (csv or h5 table)\nOptionally displays and saves images with keypoints overlayed\n\nN.B.: First install mediapipe: `pip i... | 1 |
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>{'name': 'run_command@versioneer.py', 'description': 'Call the given command(s).', 'code': 'def run... | 0 |
{'name': 'LoggingConfiguration.set@python/log.py', 'description': 'Configure a rotating file logging\n ', 'signature': "def set(cls, log_level, log_filename='/tmp/qdk2.log', append=False):"}</s>info = logging.info | 0 |
{'name': 'pollardLambda@2020/Crypto/bakflip/Admin/exploit.py', 'description': 'input\n@Y: Pubkey\n@G: Generator\n@d: Msbits for recovered secret_multiplier\n\nOUTPUT\n@secret_multiplier as the output of pollardLambda algo.', 'signature': 'def pollardLambda(Y: Point, G: Point, d: int, lsb_mask: int) -> int:'}</s>MSG = b... | 0 |
{'name': 'HTTPConnectionPool.is_same_host@src/ahip/connectionpool.py', 'description': 'Check if the given ``url`` is a member of the same host as this\nconnection pool.', 'signature': 'def is_same_host(self, url):'}</s>_urllib_request_moved_attributes = [
MovedAttribute("urlopen", "urllib2", "urllib.request"),
... | 0 |
{'name': 'collect_inventory_license_expression@src/attributecode/model.py', 'description': 'Read the inventory file at location and return a list of ABOUT objects without\nvalidation. The purpose of this is to speed up the process for `gen_license` command.', 'signature': 'def collect_inventory_license_expression(loca... | 0 |
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': 'LinearExpression.size@linopy/expressions.py', 'description': 'Get the total size of the linear expression.', 'signature': 'def size(self) -> int:'}</s>{'name': 'iterate_slices@linopy/common.py', 'description': 'Generate slices of an xarray Dataset or DataArray with a specified soft maximum size.\n\nThe slicin... | 0 |
{'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_FLOW_RATE_SCALE = "flow_rate_scale" | 0 |
{'name': 'removeUsers@apim-traffic-tool/lib/traffic-tool/src/python/multi_tenant_cleanup_scenario.py', 'description': 'This function will remove all created user accounts from carbon (users in multiple tenants)\n:return: None', 'signature': 'def removeUsers():'}</s>tenant_config_details = None | 1 |
{'name': 'CameraGroup.getLogProbability@cameratransform/camera.py', 'description': 'Gives the sum of all terms of the log probability. This function is used for sampling and fitting.', 'signature': 'def getLogProbability(self):'}</s>{'name': 'getBearing@cameratransform/gps.py', 'description': 'The angle relative :math:... | 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': '_get_values@pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py', 'description': 'Match attribute in text and return all matches.\n\n:returns: List of matches.', 'signature': 'def _get_values(attribute, text):'}</s>{'name': '_commit@pkgs/development/interpreters/python/upda... | 0 |
{'name': 'create_hydraulic_model@wntr/sim/hydraulics.py', 'description': "Parameters\n----------\nwn: WaterNetworkModel\nmode: str\nHW_approx: str\n Specifies which Hazen-Williams headloss approximation to use. Options are 'default' and 'piecewise'. Please\n see the WNTR documentation on hydraulics for details.\n... | 1 |
{'name': 'get_pairs@src/data/utils.py', 'description': 'Return set of symbol pairs in a word.\nword is represented as tuple of symbols (symbols being variable-length strings)', 'signature': 'def get_pairs(word):'}</s>{'name': 'TextEncoder@src/data/utils.py', 'description': 'mostly a wrapper for a public python bpe toke... | 0 |
{'name': 'NestingState.Update@tools/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.', ... | 0 |
{'name': 'ClusterAction.start_clusters@qingcloud/iaas/actions/cluster.py', 'description': 'Start one or more clusters.\n@param clusters: the array of clusters IDs.', 'signature': 'def start_clusters(self, clusters,'}</s>ACTION_RESIZE_CACHES = "ResizeCaches" | 0 |
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_36 = Badge("loudly crying ... | 0 |
{'name': 'import_cmaps@src/cmasher/utils.py', 'description': "Reads in custom colormaps from a provided file or directory `cmap_path`;\ntransforms them into :obj:`~matplotlib.colors.ListedColormap` objects; and\nmakes them available in the :mod:`cmasher.cm` module, in addition to\nregistering them in the :mod:`matplotl... | 1 |
{'name': 'register_tokenizer@sqlitefts/fts3.py', 'description': 'register tokenizer module with SQLite connection.', 'signature': 'def register_tokenizer(conn, name, tokenizer_module):'}</s>SQLITE_DONE = 101 | 0 |
{'name': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>{'name': 'arra... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.