text string | label int64 |
|---|---|
{'name': 'create_dummy_no_shim_settings_bids_session@heudiconv/tests/test_bids.py', 'description': 'Creates a dummy BIDS session, with slim json files and empty nii.gz\nThe fmap files are pepolar\nThe json files don\'t have ShimSettings\n\nParameters\n----------\nsession_path : str\n path to the session (or subject)... | 0 |
{'name': 'Type.get_ref_qualifier@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'Retrieve the ref-qualifier of the type.', 'signature': 'def get_ref_qualifier(self):'}</s>{'name': 'TranslationUnit@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': "Represents a source... | 0 |
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>_RE_PATTERN_STRING = re.compile(r'\bstring\b') | 0 |
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ... | 0 |
{'name': 'IREP.fit@build/lib/wittgenstein/irep.py', 'description': "Fit a Ruleset model.\n\nParameters\n----------\ntrainset : DataFrame, numpy array, or other iterable\n Training dataset. Optional whether to include or exclude class labels column.\ny : iterable of str, int, bool\n Class labels corresponding to t... | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQOPER_EXCLUDED_PUBLISH = 11 | 0 |
{'name': 'CosS3Client.ci_auditing_image_query@qcloud_cos/cos_client.py', 'description': "查询图片审核任务接口\n\n:param Bucket(string): 存储桶名称.\n:param JobID(string): 任务id.\n:param kwargs(dict): 设置请求的headers.\n:return(dict): 查询成功返回的结果,dict类型.\n\n.. code-block:: python\n\n config = CosConfig(Region=region, SecretId=secret_id, S... | 0 |
{'name': 'edge_apply@marching_cubes_gen.py', 'description': 'Applies a vertex permutation to an edge.\nI.e. it permutes both ends of the edge, and finds the new edge that adjoins the two\nresulting vertex indices.', 'signature': 'def edge_apply(op, edge):'}</s>{'name': 'face_apply@marching_cubes_gen.py', 'description':... | 0 |
{'name': 'build@robopianist/models/piano/piano_mjcf.py', 'description': 'Programatically build a piano MJCF.\n\nArgs:\n add_actuators: Whether to add actuators to the piano keys.', 'signature': 'def build(add_actuators: bool = False) -> types.MjcfRootElement:'}</s>WHITE_KEY_WIDTH = 0.0225 | 1 |
{'name': 'test_merged_dup_stream_blocks@maf/impl/naiveLiftUp.py', 'description': 'Check merged_dup_stream behavior on Blocks.', 'signature': 'def test_merged_dup_stream_blocks():'}</s>{'name': 'test_maximize_gapless_alignment_length@maf/impl/naiveLiftUp.py', 'description': 'DOCSTRING', 'code': 'def test_maximize_gaples... | 0 |
{'name': 'DataProcessor.get_dev_examples@cbert_utils.py', 'description': "Gets a collection of 'InputExample's for the dev set.", 'signature': 'def get_dev_examples(self, data_dir):'}</s>{'name': 'convert_examples_to_features@cbert_utils.py', 'description': "Loads a data file into a list of 'InputBatch's.", 'code': 'de... | 0 |
{'name': 'set_bar@library/dothat/backlight.py', 'description': 'Does nothing.\n\nImplemented for library compatibility with Dot3k backlight.', 'signature': 'def set_bar(index, value):'}</s>{'name': 'left_hue@library/dothat/backlight.py', 'description': 'Set the left backlight to supplied hue\n\n:param hue: hue value be... | 0 |
{'name': 'EagerLoadMixin.with_@sqlalchemy_mixins/eagerload.py', 'description': 'Query class and eager load schema at once.\n:type schema: dict\n\nExample:\n schema = {\n Post.user: JOINED, # joinedload user\n Post.comments: (SUBQUERY, { # load comments in separate query\n Comment.user: JOIN... | 0 |
{'name': 'vexec@alphapy/variables.py', 'description': 'Add a variable to the given dataframe.\n\nThis is the core function for adding a variable to a dataframe.\nThe default variable functions are already defined locally\nin ``alphapy.transforms``; however, you may want to define your\nown variable functions. If so, th... | 0 |
{'name': 'test_calc_logp_marginal_likelihood@tests/test_model/test_model_integration.py', 'description': 'Implemented in `tests/test_model/test_model_inference.py`. ', 'signature': 'def test_calc_logp_marginal_likelihood():'}</s>{'name': 'test_prior_params@tests/test_model/test_model_integration.py', 'description': 'Im... | 0 |
{'name': '_to_word@persiantools/digits.py', 'description': 'Convert a number to its Persian word representation.\n\nThis function takes an integer and converts it to its Persian word representation.\nIt handles numbers up to 1,000,000,000,000,000 (one quadrillion).\n\nParameters:\nnumber (int): The number to be convert... | 1 |
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p... | 0 |
{'name': 'BrowserModBrowser.delete@custom_components/browser_mod/browser.py', 'description': 'Delete the device and associated entities.', 'signature': 'def delete(self, hass):'}</s>{'name': 'BrowserBinarySensor@custom_components/browser_mod/binary_sensor.py', 'description': 'DOCSTRING', 'base_classes': ['BrowserModEnt... | 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': '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': 'b_index@tksheet/functions.py', 'description': 'Designed to be a faster way of finding the index of an int\nin a sorted list of ints than list.index()', 'signature': 'def b_index(sorted_seq: Sequence[int], num_to_index: int) -> int:'}</s>{'name': 'dropdown_search_function@tksheet/functions.py', 'description': ... | 0 |
{'name': 'RasterArray.reproject@rioxarray/raster_array.py', 'description': "Reproject :obj:`xarray.DataArray` objects\n\nPowered by :func:`rasterio.warp.reproject`\n\n.. note:: Only 2D/3D arrays with dimensions 'x'/'y' are currently supported.\n Requires either a grid mapping variable with 'spatial_ref' or\n a 'c... | 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': 'GenericAfipTypeManager.populate@django_afip/models.py', 'description': "Fetch and save data for this model from AFIP's WS.\n\nDirect usage of this method is discouraged, use\n:func:`~.models.load_metadata` instead.", 'signature': 'def populate(self, ticket: AuthTicket | None = None) -> None:'}</s>{'name': 'Ta... | 0 |
{'name': 'losslessTrim@amptk/amptklib.py', 'description': 'function to trim primers if found from SE reads\nand then trim/pad to a set length', 'signature': 'def losslessTrim(input, fwdprimer, revprimer, mismatch, trimLen, padding, minlength, output):'}</s>{'name': 'gvc@amptk/amptklib.py', 'description': 'DOCSTRING', '... | 0 |
{'name': 'create_coinbase@test/functional/test_framework/blocktools.py', 'description': 'Create a coinbase transaction.\n\nIf pubkey is passed in, the coinbase output will be a P2PK output;\notherwise an anyone-can-spend output.\n\nIf extra_output_script is given, make a 0-value output to that\nscript. This is useful t... | 0 |
{'name': 'strip_tokens@path_explain/utils.py', 'description': 'A helper function to strip and re-arrange attributions generated\nthrough huggingface transformer models.\n\nArgs:\n tokens: a numpy matrix of words, shaped [batch_size, sequence_length]\n attributions: a numpy matrix of floats, shaped [batch_size, se... | 1 |
{'name': 'NESMusicDatabase.read@muspy/datasets/nes.py', 'description': 'Read a file into a Music object.', 'signature': 'def read(self, filename: Union[str, Path]) -> Music:'}</s>{'name': 'DatasetInfo@muspy/datasets/base.py', 'description': 'A container for dataset information.', 'base_classes': [], 'methods': [{'name'... | 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>{'name': 'DvzRequestShaderSet@datovi... | 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': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_135 = Badge("penguin", series=2, number=35, symbol="🐧") | 0 |
{'name': 'ExportHtml.get_tools@ExportHtml.py', 'description': 'Get tools for toolbar.', 'signature': 'def get_tools(self, tools, use_annotation, use_wrapping):'}</s>DIVIDER = "
<span style="color: %(color)s">...</span>
" | 0 |
{'name': 'send_spoofed_arp@core/arp_spoofer.py', 'description': 'Sends out bidirectional ARP spoofing packets to the victim so that the host running Inspector appears to have the `dest_ip_addr` IP address.', 'signature': 'def send_spoofed_arp(victim_mac_addr, victim_ip_addr, dest_mac_addr, dest_ip_addr):'}</s>{'name': ... | 0 |
{'name': 'HomographyTransform.bfs_search@util/homg_trans.py', 'description': 'Do a BFS search on battle_map starting from start_tile.\nThe object on start_tile will be ignored.\n:param battle_map: map created by create_map()\n:param start_tile: the index of the tile to start BFS\n:return: found_enemies and found_suppli... | 0 |
{'name': 'TableOne._create_tableone@tableone/tableone.py', 'description': 'Create table 1 by combining the continuous and categorical tables.\n\nReturns\n----------\ntable : pandas DataFrame\n The complete table one.', 'signature': 'def _create_tableone(self, data):'}</s>{'name': 'InputValidator@tableone/validators.... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_NOT_OPEN = 6125 | 0 |
{'name': 'Scanner.get_series_branches@reno/scanner.py', 'description': 'Get branches matching the branch_name_re config option.', 'signature': 'def get_series_branches(self):'}</s>{'name': 'Scanner@reno/scanner.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Scanner.__init__@reno/scan... | 1 |
{'name': 'Matrix.cast@python/taichi/lang/matrix.py', 'description': 'Cast the matrix elements to a specified data type.\n\nArgs:\n dtype (:mod:`~taichi.types.primitive_types`): data type of the\n returned matrix.\n\nReturns:\n :class:`taichi.Matrix`: A new matrix with the specified data dtype.\n\nExample::... | 0 |
{'name': 'X509.save@src/M2Crypto/X509.py', 'description': 'Saves X.509 certificate to a file. Default output\nformat is PEM.\n\n:param filename: Name of the file the cert will be saved to.\n\n:param format: Controls what output format is used to save the cert.\n Either FORMAT_PEM or FORMAT_DER to save 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': 'get_arguments@train_s4GAN_wrn38.py', 'description': 'Parse all the arguments provided from the CLI.\n\nReturns:\n A list of parsed arguments.', 'signature': 'def get_arguments():'}</s>{'name': 'DeepV3PlusW38@model/deeplabv3p.py', 'description': 'DOCSTRING', 'code': "def DeepV3PlusW38(num_classes):\n retur... | 0 |
{'name': 'get_random_string@simditor/utils.py', 'description': 'Get random string.', 'signature': 'def get_random_string():'}</s>{'name': 'is_valid_image_extension@simditor/utils.py', 'description': 'is_valid_image_extension.', 'code': 'def is_valid_image_extension(file_path):\n """is_valid_image_extension."""\n ... | 0 |
{'name': 'genModelInput@boxx/ylth/__init__.py', 'description': "Auto generate a Tensor that could as model's input\n\nUsage\n-----\n>>> inp = genModelInput(model)\n>>> result = model(inp)\n>>> tree(result)\n\nParameters\n----------\nmodel: nn.Module\n nn.Module\ninputShape: tuple or list, default None\n By defaul... | 0 |
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>ICMP6_NI_REPLY = 140 | 0 |
{'name': 'to_key@auto_editor/vanparse.py', 'description': 'Convert option name to arg key. e.g. --hello-world -> hello_world', 'signature': 'def to_key(op: Options | Required) -> str:'}</s>{'name': 'OptionText@auto_editor/vanparse.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': []} | 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': 'BaseTestDDSketches.test_merge_mixed@tests/test_ddsketch.py', 'description': 'Test merging DDSketches of different distributions', 'signature': 'def test_merge_mixed(self):'}</s>{'name': 'NumberLineBackward@tests/datasets.py', 'description': 'DOCSTRING', 'base_classes': ['Dataset'], 'methods': [{'name': 'Numbe... | 0 |
{'name': 'ConcurrencyMiddlewareTest1.test_process_exception@tests/test_middleware.py', 'description': 'Tests that RecordModifiedError is handled correctly.', 'signature': 'def test_process_exception(self):'}</s>unique_id = count(1) | 1 |
{'name': 'main@da/compiler/ui.py', 'description': 'Main entry point when invoking compiler module from command line.\n\n ', 'signature': 'def main(argv=None):'}</s>{'name': '_sanitize_filename@da/compiler/ui.py', 'description': "Check and sanitize 'dfile' for use as a target file.\n\n ", 'code': 'def _sanitize_fi... | 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>MQCC_OK = 0 | 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@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>commaSeparatedList = delimitedList( Optional( quotedStr... | 0 |
{'name': 'test_empty_string_with_url@tests/test_bare.py', 'description': 'Originally for https://github.com/mverleg/pyjson_tricks/issues/51 ', 'signature': 'def test_empty_string_with_url():'}</s>{'name': 'test_hooks_called_once_if_comment_before@tests/test_bare.py', 'description': 'DOCSTRING', 'code': 'def test_hooks_... | 0 |
{'name': 'ReplaceByFeeTest.test_opt_in@test/functional/feature_rbf.py', 'description': 'Replacing should only work if orig tx opted in', 'signature': 'def test_opt_in(self):'}</s>OP_8 = CScriptOp(0x58) | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_SSL_CONFIG_ERROR = 2392 | 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>CSR_MHPMEVENT9 = 809 | 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': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>SERVICE_SKIP = "skip" | 0 |
{'name': 'parse_args@src/python_scripts/afnipy/lib_cdiflist.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args(full_argv):'}</s>{'name': 'nuke_final_whitespace@src/python_scripts/afnipy/afni_util.py', 'descriptio... | 0 |
{'name': 'GetTokens@src/3rd_party-static/gmock-1.7.0/scripts/generator/cpp/tokenize.py', 'description': 'Returns a sequence of Tokens.\n\nArgs:\n source: string of C++ source code.\n\nYields:\n Token that represents the next token in the source.', 'signature': 'def GetTokens(source):'}</s>DEBUG = True | 0 |
{'name': 'echo@SneakerBot 2019/venv/lib/python3.7/site-packages/click/utils.py', 'description': "Prints a message plus a newline to the given file or stdout. On\nfirst sight, this looks like the print function, but it has improved\nsupport for handling Unicode and binary data that does not fail no\nmatter how badly co... | 1 |
{'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_CREATE_LOADBALANCER = "CreateLoadBalancer" | 0 |
{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK... | 0 |
{'name': 'iou_ign@lib/core.py', 'description': "Computes the amount of overap of box_b has within box_a, which is handy for dealing with ignore regions.\nHence, assume that box_b are ignore regions and box_a are anchor boxes, then we may want to know how\nmuch overlap the anchors have inside of the ignore regions (henc... | 0 |
{'name': 'p_unary_expression@ctypesgen/parser/cgrammar.py', 'description': 'unary_expression : postfix_expression\n| INC_OP unary_expression\n| DEC_OP unary_expression\n| unary_operator cast_expression\n| SIZEOF unary_expression\n| SIZEOF LPAREN type_name RPAREN\n| asm_expression', 'signature': 'def p_unary_expression(... | 0 |
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_put_bucket_acl_illegal@ut/test.py', 'description': '设置非法的ACL', 'code': 'def test_put_bucket_acl_illegal():\n """设置非法的ACL"""\n try:\n response = c... | 0 |
{'name': 'graph2binary@modisco/cluster/phenograph/core.py', 'description': 'Write (weighted) graph to binary file filename.bin\n:param filename:\n:param graph:\n:return None: graph is written to filename.bin', 'signature': 'def graph2binary(filename, graph):'}</s>{'name': 'get_modularity@modisco/cluster/phenograph/core... | 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': '_typedef@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Create a new typedef for an object.\n ', 'signature': 'def _typedef(obj, derive=False, infer=False):'}</s>{'name': '_power2@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Find the next power of 2.\n '... | 0 |
{'name': 'VersatileImageFieldTestCase.test_registration_exceptions@tests/tests.py', 'description': 'Ensure all registration-related exceptions fire as expected.', 'signature': 'def test_registration_exceptions(self):'}</s>{'name': 'FilteredImage@versatileimagefield/datastructures/filteredimage.py', 'description': "A Pr... | 0 |
{'name': 'MainFrame.update_textlist_from_xmat@src/python_scripts/afnipy/gui_xmat.py', 'description': 'given the X matrix and columns, fill screen data list', 'signature': 'def update_textlist_from_xmat(self):'}</s>gSTR_COLS_HDR = " -- COLUMNS (regressors) by type-- " | 0 |
{'name': 'Input.get_fields@verif/input.py', 'description': 'Get the available fields in this input\n\nReturns:\n list(verif.field): The available fields', 'signature': 'def get_fields(self):'}</s>{'name': 'experimental@verif/util.py', 'description': 'DOCSTRING', 'code': 'def experimental():\n return yellow("(exper... | 0 |
{'name': 'TestBrierScore.test@verif/tests/test_metric.py', 'description': "These have been checked against the Brier scores in the verification R package. The 'bins'\nattribute was set to False, and the code had to be changed because it didn't work for cases\nwhere forecasts were not equal to whole 1/10ths (i.e. 0.1, 0... | 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': 'map_zones@pymultimatic/model/mapper.py', 'description': 'Map *zones*.', 'signature': 'def map_zones(json) -> List[Zone]:'}</s>{'name': 'map_room@pymultimatic/model/mapper.py', 'description': 'Map *room*.', 'code': 'def map_room(raw_room) -> Optional[Room]:\n """Map *room*."""\n if raw_room:\n raw... | 0 |
{'name': 'Image.from_array@autolab_core/image.py', 'description': 'Converts an array of data to an Image based on the values in\nthe array and the data format.', 'signature': 'def from_array(x, frame="unspecified"):'}</s>{'name': 'PointNormalCloud@autolab_core/points.py', 'description': 'A combined set of 3D points and... | 0 |
{'name': 'get_validation_augmentation@v1/notebooks/scripts/train.py', 'description': 'Add paddings to make image shape divisible by 32', 'signature': 'def get_validation_augmentation():'}</s>total_loss = dice_loss + (1 * focal_loss) | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIA_CHANNEL_EVENT = 73 | 0 |
{'name': 'make_condor_jobs@experiments/uci_exps/bayesian_benchmarks/scripts/make_experiments.py', 'description': "Writes a condor submission file, and also creates the executable if necessary. Preamble for the \nexectable (e.g. for setting up the python environment) should go in 'preamble.txt.txt'. Preamble\nfor the co... | 1 |
{'name': 'ready@api/project/__init__.py', 'description': "Return ready status (true or false) for various Malcolm components\n\nParameters\n----------\n\nReturns\n-------\narkime\n true or false, the ready status of Arkime\ndashboards\n true or false, the ready status of Dashboards (or Kibana)\ndashboards_maps\n ... | 0 |
{'name': 'writeFileTree@fwtool.py', 'description': 'Writes a list of UnixFiles to the disk, unpacking known archive files', 'signature': 'def writeFileTree(files, path):'}</s>{'name': 'readZip@fwtool/zip/__init__.py', 'description': 'Takes the a .zip file and returns the contained files', 'code': 'def readZip(file):\n ... | 0 |
{'name': '_IncludeState.CheckNextIncludeOrder@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants ... | 0 |
{'name': 'ConfigDictTest.testJSONConversionBestEffort@ml_collections/config_dict/tests/config_dict_test.py', 'description': 'Tests JSON serialization.', 'signature': 'def testJSONConversionBestEffort(self):'}</s>{'name': '_TestClass@ml_collections/config_dict/tests/config_dict_test.py', 'description': 'DOCSTRING', 'bas... | 0 |
{'name': '_AppHandler.__init__@jupyterlab/commands.py', 'description': 'Create a new _AppHandler object', 'signature': 'def __init__(self, options):'}</s>{'name': 'get_latest_compatible_package_versions@jupyterlab/commands.py', 'description': 'Get the latest compatible version of a list of packages.', 'code': 'def get_... | 0 |
{'name': 'main@onnxruntime/python/tools/tensorrt/perf/post.py', 'description': 'Entry point of this script. Uploads data produced by benchmarking scripts to the database.', 'signature': 'def main():'}</s>latency_over_time_name = "latency_over_time" | 1 |
{'name': 'Abundance.from_files@vamb/parsebam.py', 'description': 'Input:\npaths: List of paths to BAM files\ncache_directory: Where to store temp parts of the larger matrix, if reading multiple\n BAM files in chunks. Required if len(paths) > min(16, nthreads)\ncomp_metadata: CompositionMetaData of sequence catalogue ... | 0 |
{'name': 'estimate_fao56@cfg/hass/custom_components/wb_irrigation/sensor.py', 'description': 'Estimate fao56 from weather ', 'signature': 'def estimate_fao56(day_of_year,'}</s>{'name': 'sunset_hour_angle@cfg/hass/custom_components/wb_irrigation/pyeto/fao.py', 'description': 'Calculate sunset hour angle (*Ws*) from lat... | 1 |
{'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': 'loadConfig@apim-traffic-tool/lib/traffic-tool/src/python/invoke_API.py', 'description': 'This function will load and set the configuration data\n:return: None', 'signature': 'def loadConfig():'}</s>{'name': 'generate_random_string@apim-traffic-tool/lib/attack-tool/src/python/utils/util_methods.py', 'descripti... | 0 |
{'name': 'test_interpolate_fields_even_grids@tests/test_oopinterface.py', 'description': 'To test whether the new features of even-to-odd grid interpolation works well.\n\n.. versionadded:: 0.3.5', 'signature': 'def test_interpolate_fields_even_grids():'}</s>EARTH_RADIUS = 6378000.0 | 1 |
{'name': 'answer_question@onefile.py', 'description': 'Uses everything to do everyhing for one data instance (one question, subgraph etc).', 'signature': 'def answer_question(qa, index, data, relations, parameter_dict):'}</s>GET_LEFT_PROPERTIES_OF_RESOURCE_WITH_OBJECTS = "SELECT DISTINCT ?property ?resource WHERE { ?re... | 0 |
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>TYPE_KML22 = 12 | 0 |
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw... | 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': 'cursor_paginate@twitter_to_sqlite/utils.py', 'description': "Execute cursor pagination, yelding 'key' for each page", 'signature': 'def cursor_paginate(session, url, args, key, page_size=200, sleep=None):'}</s>{'name': 'stream_filter@twitter_to_sqlite/utils.py', 'description': 'DOCSTRING', 'code': 'def stream... | 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': 'is_fp_sort@src/api/python/z3/z3.py', ... | 0 |
{'name': 'ConfigViewInterfaceBase.ipv4_interfaces@hier_config/platforms/view_base.py', 'description': 'Determine the configured IPv4Interface, address/prefix, objects.', 'signature': 'def ipv4_interfaces(self) -> Iterable[IPv4Interface]:'}</s>{'name': 'Vlan@hier_config/platforms/models.py', 'description': 'DOCSTRING', ... | 0 |
{'name': 'fast_overlap_NM@nonrad/nonrad.py', 'description': 'Compute the overlap between two displaced harmonic oscillators.\n\nThis function computes the overlap integral between two harmonic\noscillators with frequencies w1, w2 that are displaced by dQ for the\nquantum numbers n1, n2. The integral is computed using H... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.