text string | label int64 |
|---|---|
{'name': 'parseOptionsAndInitTestdirs@llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}</s>{'n... | 1 |
{'name': 'command_dispatcher@virtualbmc/control.py', 'description': 'Control CLI command dispatcher\n\nCalls vBMC manager to execute commands, implements uniform\ndictionary-based interface to the caller.', 'signature': 'def command_dispatcher(vbmc_manager, data_in):'}</s>{'name': 'VirtualBMCManager@virtualbmc/manager.... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_SUB_LEVEL = 1307 | 0 |
{'name': 'GarminClient.upload_activity@garminexport/garminclient.py', 'description': 'Upload a GPX, TCX, or FIT file for an activity.\n\n:param file: Path or open file\n:param format: File format (gpx, tcx, or fit); guessed from filename if :obj:`None`\n:type format: str\n:param name: Optional name for the activity on ... | 0 |
{'name': 'matmul_flop_jit@jit_handles.py', 'description': 'This method counts the flops for matmul.\nArgs:\n inputs (list(torch._C.Value)): The input shape in the form of a list of\n jit object before matmul.\n outputs (list(torch._C.Value)): The output shape in the form of a list\n of jit object af... | 0 |
{'name': 'test_binaries@kb_python/main.py', 'description': 'Test whether kallisto and bustools binaries are executable.\n\nInternally, this function calls :func:`utils.get_kallisto_version` and\n:func:`utils.get_bustools_version`, both of which return `None` if there is\nsomething wrong with their respective binaries.\... | 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': 'test_quit@tests/unit/test_pack.py', 'description': 'QUIT command ', 'signature': 'def test_quit():'}</s>{'name': 'test_trace@tests/unit/test_pack.py', 'description': 'TRACE command ', 'code': 'def test_trace():\n """ TRACE command """\n assert like("TRACE", pack_command("TRACE"))'} | 0 |
{'name': 'connect@trino/dbapi.py', 'description': 'Constructor for creating a connection to the database.\n\nSee class :py:class:`Connection` for arguments.\n\n:returns: a :py:class:`Connection` object.', 'signature': 'def connect(*args, **kwargs):'}</s>HEADER_STARTED_TRANSACTION = "X-Trino-Started-Transaction-Id" | 0 |
{'name': 'build_model@joeynmt/model.py', 'description': 'Build and initialize the model according to the configuration.\n\n:param cfg: dictionary configuration containing model specifications\n:param src_vocab: source vocabulary\n:param trg_vocab: target vocabulary\n:return: built and initialized model', 'signature': '... | 1 |
{'name': 'get_insns@riscvmodel/isa.py', 'description': 'Get all Instructions. This is based on all known subclasses of `cls`. If non\nis given, all Instructions are returned. Only such instructions are returned\nthat can be generated, i.e., that have a mnemonic, opcode, etc. So other\nclasses in the hierarchy are not m... | 0 |
{'name': 'Beam.add_supports@indeterminatebeam/indeterminatebeam.py', 'description': 'Associate support objects with the beam object.\n\nParameters\n----------\n*supports : iterable\n An iterable containing Support objects to be applied to\n the Beam object. Note that the load application point\n (or segment) m... | 0 |
{'name': 'SciQuery.get_rdb_compute_domain@py3/SciServer/SciQuery.py', 'description': "Returns an object of class RDBComputeDomain, either defined by the input name or identifiers, or that\nwhich is set in the SciQuery instance.\n\n:param rdb_compute_domain: defines a domain or environment of multiple databases where us... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQFB_CHANNEL_FAIL_RETRY = 263 | 0 |
{'name': 'FloatValueChecker.CheckValue@python/google/protobuf/internal/type_checkers.py', 'description': 'Check and convert proposed_value to float.', 'signature': 'def CheckValue(self, proposed_value):'}</s>{'name': 'StringByteSize@python/google/protobuf/internal/wire_format.py', 'description': 'DOCSTRING', 'code': "d... | 0 |
{'name': 'PISASSDHead.loss@thirdparty/mmdetection/mmdet/models/dense_heads/pisa_ssd_head.py', 'description': 'Compute losses of the head.\n\nArgs:\n cls_scores (list[Tensor]): Box scores for each scale level\n Has shape (N, num_anchors * num_classes, H, W)\n bbox_preds (list[Tensor]): Box energies / deltas... | 1 |
{'name': '_feed_stream@plugin.image.premiumizer/resources/lib/modules/pyaes/blockfeeder.py', 'description': 'Uses feeder to read and convert from in_stream and write to out_stream.', 'signature': 'def _feed_stream(feeder, in_stream, out_stream, block_size = BLOCK_SIZE):'}</s>{'name': '_block_can_consume@plugin.image.pr... | 0 |
{'name': 'IntervalArray.__add__@nelpy/core/_intervalarray.py', 'description': 'add length to start and stop of each interval, or join two interval arrays without merging', 'signature': 'def __add__(self, other):'}</s>{'name': 'frange@nelpy/utils.py', 'description': 'arange with floating point step', 'code': 'def frange... | 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... | 0 |
{'name': 'analyze_enemy_ub@analyze.py', 'description': 'analyze enemy ub\n\n\nArgs\n time_count (int): count up after ub\n work_frame (ndarray): expand frame\n find_time (string): m:ss\n ub_data_enemy (list): found ub data with enemy ub\n\n\nReturns', 'signature': 'def analyze_enemy_ub(time_count, work_fram... | 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': 'DummyVecEnv.__init__@vec_env/dummy_vec_env.py', 'description': 'Arguments:\n\nenv_fns: iterable of callables functions that build environments', 'signature': 'def __init__(self, env_fns):'}</s>{'name': 'SubprocVecEnv@vec_env/subproc_vec_env.py', 'description': 'VecEnv that runs multiple environments in p... | 0 |
{'name': '_iterate_object@voluptuous/schema_builder.py', 'description': 'Return iterator over object attributes. Respect objects with\ndefined __slots__.', 'signature': 'def _iterate_object(obj):'}</s>{'name': 'Inclusive@voluptuous/schema_builder.py', 'description': 'Mark a node in the schema as inclusive.\n\nInclusive... | 0 |
{'name': 'BytesEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': 'Returns an encoder for a bytes field.', 'signature': 'def BytesEncoder(field_number, is_repeated, is_packed):'}</s>{'name': 'GroupSizer@third_party/include/protobuf-2.6.1/python/google/protobuf/interna... | 0 |
{'name': 'write_to_version_file@versioneer.py', 'description': 'Write the given version number to the given _version.py file.', 'signature': 'def write_to_version_file(filename, versions):'}</s>{'name': 'git_pieces_from_vcs@versioneer.py', 'description': "Get version from 'git describe' in the root of the source tree.\... | 0 |
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'isFloat@src/python_scripts/afnipy/afni_base.py', 'description': 'DOCSTRING', 'code': 'def isFloat(s):\n try:\n ... | 0 |
{'name': 'before_save@rulematrix/server/utils.py', 'description': 'make sure that the dedicated path exists (create if not exist)\n:param file_or_dir:\n:return:', 'signature': 'def before_save(file_or_dir):'}</s>{'name': 'array2csv@rulematrix/server/utils.py', 'description': 'DOCSTRING', 'code': 'def array2csv(array, f... | 0 |
{'name': 'TimeRangePartitionManager.create_partition@pg_partitioning/manager.py', 'description': 'The partition of the next cycle is created according to the configuration.\nAfter modifying the period field, the new period will take effect the next time.\nThe start time of the new partition is the end time of the previ... | 1 |
{'name': '_get_wrapper@src/betterproto/__init__.py', 'description': 'Get the wrapper message class for a wrapped type.', 'signature': 'def _get_wrapper(proto_type: str) -> Type:'}</s>{'name': 'sint32_field@src/betterproto/__init__.py', 'description': 'DOCSTRING', 'code': 'def sint32_field(\n number: int, group: Opti... | 0 |
{'name': 'get_preview_suffixes@ide/auth.py', 'description': 'Get the last domain parts of domains permitted for testing.', 'signature': 'def get_preview_suffixes():'}</s>{'name': 'validate_names@ide/routes.py', 'description': 'DOCSTRING', 'code': 'def validate_names(*names):\n # TODO: check that the encoding is \'no... | 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': 'listToImgLists@b... | 0 |
{'name': 'Arcball.down@utils/transformations.py', 'description': 'Set initial cursor window coordinates and pick constrain-axis.', 'signature': 'def down(self, point):'}</s>{'name': 'concatenate_matrices@utils/transformations.py', 'description': 'Return concatenation of series of transformation matrices.\n\n>>> M = num... | 0 |
{'name': 'SpeechTextPreTrainCompoundCriterion.reduce_metrics@examples/speech_text_joint_to_text/criterions/multi_modality_compound.py', 'description': 'Aggregate logging outputs from data parallel training.', 'signature': 'def reduce_metrics(logging_outputs) -> None:'}</s>{'name': 'load_ensemble_for_inference@fairseq/u... | 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': 'universal_accelerated_method@src/mbi/estimation.py', 'description': 'Optimization using the Universal Accelerated MD algorithm.', 'signature': 'def universal_accelerated_method('}</s>{'name': 'brute_force_marginals@src/mbi/marginal_oracles.py', 'description': 'Compute marginals from (log-space) potentials by ... | 0 |
{'name': 'ParseStateMeta.__new__@oslo_policy/_parser.py', 'description': "Create the class.\n\nInjects the 'reducers' list, a list of tuples matching token sequences\nto the names of the corresponding reduction methods.", 'signature': 'def __new__(mcs, name, bases, cls_dict):'}</s>{'name': 'TrueCheck@oslo_policy/_check... | 0 |
{'name': 'resume@supervized_partition/supervized_partition.py', 'description': 'Loads model and optimizer state from a previous checkpoint. ', 'signature': 'def resume(args):'}</s>{'name': 'parse_args@supervized_partition/supervized_partition.py', 'description': 'DOCSTRING', 'code': 'def parse_args():\n parser = arg... | 0 |
{'name': 'WebSocket.close@vertx-web/src/test/sockjs-protocol/websocket/_core.py', 'description': 'Close Websocket object\n\nstatus: status code to send. see STATUS_XXX.\n\nreason: the reason to close. This must be string.\n\ntimeout: timeout until receive a close frame.\n If None, it will wait forever until receive ... | 1 |
{'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': 'CvCamera._rotate_image@pibooth/camera/opencv.py', 'description': 'Rotate an OpenCV image, same direction than RpiCamera.\n ', 'signature': 'def _rotate_image(self, image, rotation):'}</s>LOGGER = logging.getLogger("pibooth") | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_MULTICAST_SEND_ERROR = 2566 | 0 |
{'name': 'parse_args@ros_cross_compile/ros_cross_compile.py', 'description': 'Parse command line arguments.', 'signature': 'def parse_args(args: List[str]) -> argparse.Namespace:'}</s>{'name': 'CollectDependencyListStage@ros_cross_compile/dependencies.py', 'description': 'This stage determines what external dependencie... | 0 |
{'name': 'View._dbscan@picasso/gui/render.py', 'description': 'Performs DBSCAN in a given channel with user-defined parameters\nand saves the result.\n\nParameters\n----------\nchannel : int\n Index of the channel were clustering is performed\npath : str\n Path to save clustered localizations\nradius : float\n ... | 0 |
{'name': 'combine_docstrings@docstring_parser/util.py', 'description': "A function decorator that parses the docstrings from `others`,\nprogrammatically combines them with the parsed docstring of the decorated\nfunction, and replaces the docstring of the decorated function with the\ncomposed result. Only parameters tha... | 1 |
{'name': 'fillAvailableBlenderDists@BlendNet/addon.py', 'description': 'Cached blender dists list for the UI interface', 'signature': 'def fillAvailableBlenderDists(scene = None, context = None):'}</s>{'name': 'hidePassword@BlendNet/addon.py', 'description': 'Will set the hidden value and replace the property with star... | 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_equality@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': "def test_equality():\n assert Schema('fo... | 0 |
{'name': 'create_db@test/conftest.py', 'description': 'Drop the database at ``uri`` and create a brand new one. ', 'signature': 'def create_db(uri):'}</s>BasePostgresqlSpecific = declarative_base(cls=Base) | 0 |
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'ProbeObj@src/api/python/z3/z3types.py', 'd... | 0 |
{'name': 'unique@scripts/llnl_scripts/find_unused_tpl_dirs.py', 'description': 'Returns list with unique entries of input list', 'signature': 'def unique(lst):'}</s>{'name': 'get_shared_base_dir@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'DOCSTRING', 'code': 'def get_shared_base_dir():\n return "/u... | 0 |
{'name': 'load_key_string@src/M2Crypto/RSA.py', 'description': 'Load an RSA key pair from a string.\n\n:param string: String containing RSA key pair in PEM format.\n\n:param callback: A Python callable object that is invoked\n to acquire a passphrase with which to unlock the\n key. The d... | 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': 'ParseArguments@tools/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>_hpp_headers = ... | 0 |
{'name': '_get_word_ngrams@baselines/seq2seq_attention_copy/seq2seq/metrics/rouge.py', 'description': 'Calculates word n-grams for multiple sentences.\n ', 'signature': 'def _get_word_ngrams(n, sentences):'}</s>{'name': 'rouge_l_sentence_level@baselines/seq2seq_attention_copy/seq2seq/metrics/rouge.py', 'description': ... | 0 |
{'name': '_NamespaceInfo.CheckEnd@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check end of namespace comments.', 'signature': 'def CheckEnd(self, filename, clean_lines, linenum, error):'}</s>_ERROR_CATEGORIES = [
'build/class',
'build/c++11',
'build/c++14',
'build/c++tr1',
'build/deprec... | 0 |
{'name': 'rotate@apphelper/image.py', 'description': '点(x,y) 绕(cx,cy)点旋转', 'signature': 'def rotate(x,y,angle,cx,cy):'}</s>{'name': 'get_rorate@apphelper/image.py', 'description': '获取旋转角度后的box及im', 'code': 'def get_rorate(boxes,im,degree=0):\n """\n 获取旋转角度后的box及im\n """\n imgW,imgH = im.size\n newBoxes =... | 0 |
{'name': 'func@python/taichi/lang/kernel_impl.py', 'description': 'Marks a function as callable in Taichi-scope.\n\nThis decorator transforms a Python function into a Taichi one. Taichi\nwill JIT compile it into native instructions.\n\nArgs:\n fn (Callable): The Python function to be decorated\n is_real_function ... | 0 |
{'name': 'ModuleSpec.add_include@thriftrw/compile/compiler.py', 'description': 'Adds a module as an included module.\n\n:param name:\n Name under which the included module should be exposed in the\n current module.\n:param module_spec:\n ModuleSpec of the included module.', 'signature': 'def add_include(self, ... | 0 |
{'name': 'RasterMap@MRT_FUNC_PY4_influxDB.py', 'description': 'Make a map centered at a given point, with given dimensions', 'signature': 'def RasterMap():'}</s>ENABLE = b'E' | 1 |
{'name': 'NDInputAttrTree._renameAttr@scripts/mpylib/ui/mpynode_designer.py', 'description': 'Triggered when the user renames an attribute using the UI', 'signature': 'def _renameAttr(self, item, col):'}</s>ATTR_UI_COLOR_ATTR_NAME = "uiAttrColors" | 0 |
{'name': 'dpll@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'See if the clauses are true in a partial model.', 'signature': 'def dpll(clauses, symbols, model):'}</s>{'name': 'is_var_symbol@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'A logic variable symbol is an initial-lowerca... | 0 |
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 0 |
{'name': 'ProcessFileData@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: An array of strings, each representing a ... | 0 |
{'name': 'URLGenerator.make_ingest_url@snowflake/ingest/utils/uris.py', 'description': 'make_ingest_url - creates a textual representation of the target url we need to hit for\ningesting files\n:param pipe: the pipe which we want to use to ingest files (fully qualified)\n:param uuid: an optional UUID argument to tag th... | 0 |
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>hstr_ow_modes = '\n'.join(['{:12s} -> {}'.format(x, dict_ow_modes[x]) \
for x in list_ow_modes]) | 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... | 0 |
{'name': 'AddrMap.get_value@cpca/structures.py', 'description': '获得映射的第一个地址, 必须保证该key存在, 不然会出错', 'signature': 'def get_value(self, key, pos):'}</s>A = 2 | 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': 'accum_tensor_index_add@torchkbnufft/_nufft/interp.py', 'description': 'We fork this function for the adjoint accumulation.', 'signature': 'def accum_tensor_index_add('}</s>{'name': 'fork_and_accum@torchkbnufft/_nufft/interp.py', 'description': 'Process forking and per batch/coil accumulation function.', 'code... | 0 |
{'name': 'ProcessGlobalSuppresions@tools/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty if the file is... | 1 |
{'name': 'calculate_waveform_metrics@ecephys_spike_sorting/modules/mean_waveforms/waveform_metrics.py', 'description': 'Calculate metrics for an array of waveforms.\n\nMetrics come from Jia et al. (2019) High-density extracellular probes reveal \ndendritic backpropagation and facilitate neuron classification. J Neuroph... | 1 |
{'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': 'ReplaceByFeeTest.test_new_unconfirmed_inputs@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that add new unconfirmed inputs are rejected', 'signature': 'def test_new_unconfirmed_inputs(self):'}</s>OP_1ADD = CScriptOp(0x8b) | 0 |
{'name': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike... | 0 |
{'name': 'FormatCode@tools/yapf/yapf/yapflib/yapf_api.py', 'description': 'Format a string of Python code.\n\nThis provides an alternative entry point to YAPF.\n\nArguments:\n unformatted_source: (unicode) The code to format.\n filename: (unicode) The name of the file being reformatted.\n remaining arguments: see co... | 0 |
{'name': 'CalculateTestLists@src/3rd_party-static/gmock-1.7.0/gtest/test/gtest_shuffle_test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>TOTAL_SHARDS_ENV_VAR = "GTEST_TOTAL_SHARDS" | 1 |
{'name': 'BlockParser.getBlocks@libc/kernel/tools/cpp.py', 'description': 'Return all the blocks parsed.', 'signature': 'def getBlocks(self, tokzer=None):'}</s>{'name': 'SourceRange__contains__@libc/kernel/tools/cpp.py', 'description': 'Determine if a given location is inside the range.', 'code': 'def SourceRange__cont... | 0 |
{'name': 'TestAddressNormalizationUtils.test_validate_postal_code@scourgify/tests/test_address_normalization.py', 'description': 'Test validate_us_postal_code_format', 'signature': 'def test_validate_postal_code(self):'}</s>{'name': 'parse_address_string@scourgify/normalize.py', 'description': "Separate an address stri... | 0 |
{'name': 'AndroidDriver.send_command@qt4a/androiddriver/androiddriver.py', 'description': '发送命令\n ', 'signature': 'def send_command(self, cmd_type, **kwds):'}</s>{'name': 'version_cmp@qt4a/androiddriver/util.py', 'description': '版本比较', 'code': 'def version_cmp(ver1, ver2):\n """版本比较"""\n if ver1 == ver2:\n... | 0 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_CLEAR_SCOPE = 1306 | 0 |
{'name': 'CustomMainWidget.addToList@src/gui/main_widget.py', 'description': 'Adds mod data to the list', 'signature': 'def addToList('}</s>{'name': 'indent@src/util/syntax.py', 'description': 'DOCSTRING', 'code': 'def indent(elem: XML.Element, level: int = 0):\n # pylint: disable=len-as-condition\n i = "\\n" + l... | 0 |
{'name': 'Paragraph.drawPara@xhtml2pdf/reportlab_paragraph.py', 'description': 'Draws a paragraph according to the given style.\nReturns the final y position at the bottom. Not safe for\nparagraphs without spaces e.g. Japanese; wrapping\nalgorithm will go infinite.', 'signature': 'def drawPara(self, debug=0):'}</s>{'na... | 0 |
{'name': 'Path.asGameModRelative@ValveFileSystem/path.py', 'description': "Returns a path instance that is relative to the mod if the path is under the game tree.\nIf the path doesn't match the game tree, the original filepath is returned.", 'signature': 'def asGameModRelative(self):'}</s>{'name': 'resolveMaterialPath@... | 0 |
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'affine_to_params_6@src/python_scripts/afnipy/afni_util.py', 'description': 'convert rotation/shift affine "matrix" ... | 0 |
{'name': 'fields@api/project/__init__.py', 'description': 'Provide a list of fields Malcolm "knows about" merged from Arkime\'s field table, Malcolm\'s\nOpenSearch template for the sessions indices, and Kibana\'s field list\n\nParameters\n----------\nrequest : Request\n template - template name (default is app.confi... | 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': 'is_type_int@tksheet/functions.py', 'description': 'DOCSTRING', ... | 0 |
{'name': 'get_spacegroup@python/spglib/spglib.py', 'description': 'Return space group in international table symbol and number as a string.\n\nWith ``symbol_type=1``, Schoenflies symbol is given instead of international symbol.\n\n:rtype: str | None\n:return:\n If it fails, None is returned.', 'signature': 'def get_... | 0 |
{'name': 'product@cartridge/shop/views.py', 'description': 'Display a product - convert the product variations to JSON as well as\nhandling adding the product to either the cart or the wishlist.', 'signature': 'def product('}</s>{'name': 'invoice_resend_email@cartridge/shop/views.py', 'description': 'Re-sends the order... | 0 |
{'name': 'DataBank.on_holding_registers_change@pyModbusTCP/server.py', 'description': 'Call by server when a value change occur in holding registers space\n\nThis method is provided to be overridden with user code to catch changes\n\n:param address: address of register\n:type address: int\n:param from_value: register o... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQ_SSL_KEY_MEMBER_LENGTH = 8 | 0 |
{'name': '_GetTextInside@scripts/cpplint.py', 'description': "Retrieves all the text between matching open and close parentheses.\n\nGiven a string of lines and a regular expression string, retrieve all the text\nfollowing the expression and between opening punctuation symbols like\n(, [, or {, and the matching close-p... | 0 |
{'name': 'main@ytmdl/main.py', 'description': 'Run on program call.', 'signature': 'def main(args):'}</s>{'name': 'check_config_setup@ytmdl/setupConfig.py', 'description': 'Method to check if the config file is setup.\n\nThis is different from the above method because\nit will check if the config is setup and not do\na... | 0 |
{'name': 'AlarmoBaseEntity.device_info@custom_components/alarmo/alarm_control_panel.py', 'description': 'Return info for device registry.', 'signature': 'def device_info(self) -> dict:'}</s>EVENT_NO_CODE_PROVIDED = "no_code_provided" | 0 |
{'name': '_deaugment_averaging@pytorch_toolbelt/inference/tta.py', 'description': 'Average predictions of TTA-ed model.\nThis function assumes TTA dimension is 0, e.g [T, B, C, Ci, Cj, ..]\n\nArgs:\n x: Input tensor of shape [T, B, ... ]\n reduction: Reduction mode ("sum", "mean", "gmean", "hmean", function, None... | 0 |
{'name': 'read_fixed_fmt@meza/io.py', 'description': "Reads a fixed-width csv file.\n\nArgs:\n filepath (str): The fixed width formatted file path or file like object.\n widths (List[int]): The zero-based 'start' position of each column.\n mode (Optional[str]): The file open mode (default: 'r').\n kwargs (d... | 0 |
{'name': 'error_screen@displays/papiruszero2in.py', 'description': 'Error screen\n ', 'signature': 'def error_screen(message="ERROR"):'}</s>{'name': 'update_lnurl_cancel_notice@displays/papiruszero2in.py', 'description': 'DOCSTRING', 'code': 'def update_lnurl_cancel_notice():\n image, width, height, draw = init_s... | 0 |
{'name': 'LatLonFix.longitude@pynmea2/nmea_utils.py', 'description': 'Longitude in signed degrees (python float)', 'signature': 'def longitude(self):'}</s>{'name': 'ValidStatusFix@pynmea2/nmea_utils.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'ValidStatusFix.is_valid@pynmea2/nmea_u... | 0 |
{'name': 'DeeppolyNonlinearity.__init__@tf_verify/deeppoly_nodes.py', 'description': "Arguments\n---------\ninput_names : iterable\n iterable with the name of the vector you want to apply the non-linearity to\noutput_name : str\n name of this node's output\noutput_shape : iterable\n iterable of ints with the s... | 0 |
{'name': 'AnalyticsCollector.is_git_operations_compliant@app/util/analytics/analytics.py', 'description': 'Calculate expected git operations for a given test duration (only for BITBUCKET).\n\n:return: True with "OK" message if the result matches the requirements,\n otherwise False with an explanatory message.',... | 1 |
{'name': 'BertPreTrainedModel.from_pretrained@modeling.py', 'description': 'Instantiate a BertPreTrainedModel from a pre-trained model file or a pytorch state dict.\nDownload and cache the pre-trained model file if needed.\n\nParams:\n pretrained_model_name_or_path: either:\n - a str with the name of a pre-tr... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.