text string | label int64 |
|---|---|
{'name': 'community_str@test/lib/base.py', 'description': 'Converts integer in to colon separated two bytes decimal strings like\nBGP Community or Large Community representation.\n\nFor example, this function converts 13107300 = ((200 << 16) | 100)\ninto "200:100".', 'signature': 'def community_str(i):'}</s>BGP_ATTR_TY... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_CLWL_EXIT_NAME_ERROR = 3374 | 0 |
{'name': 'update_startup_screen@displays/waveshare2in13v3.py', 'description': 'Show startup screen on eInk Display\n ', 'signature': 'def update_startup_screen():'}</s>startup_screen_1 = "Bienvenue au" | 1 |
{'name': 'BIP9SoftForksTest.csv_invalidate@test/functional/feature_bip9_softforks.py', 'description': 'Modify the signature in vin 0 of the tx to fail CSV\nPrepends -1 CSV DROP in the scriptSig itself.', 'signature': 'def csv_invalidate(self, tx):'}</s>{'name': 'get_bip9_status@test/functional/test_framework/util.py', ... | 0 |
{'name': 'parseMappingFile@amptk/amptklib.py', 'description': 'function to parse mapping file pull out primers and barcode sequences', 'signature': 'def parseMappingFile(input, output):'}</s>{'name': 'runSubprocess2@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def runSubprocess2(cmd, logfile, output):\n ... | 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>{'name': 'PYIFError@code/pymqi/__init__.py', 'description': 'Exception class for errors generated by pymqi.\n ', 'base_classes': ['Error'], 'methods':... | 1 |
{'name': 'test_dt_import_missing_temporary@elpis/transformer/test_transformer.py', 'description': 'Raise an error if the temporary directory given does not exist.', 'signature': 'def test_dt_import_missing_temporary(tdtaf, tmpdir):'}</s>{'name': 'test_dt_change_setting_callback@elpis/transformer/test_transformer.py', '... | 0 |
{'name': 'cpython_tags@gyp/pylib/packaging/tags.py', 'description': "Yields the tags for a CPython interpreter.\n\nThe tags consist of:\n- cp<python_version>-<abi>-<platform>\n- cp<python_version>-abi3-<platform>\n- cp<python_version>-none-<platform>\n- cp<less than python_version>-abi3-<platform> # Older Python versi... | 1 |
{'name': 'LTSystem.eval_s@src/system.py', 'description': "Compute J_n{f(x)} for a `sensor_value` of `f` with n=0,1,...,'npoints_output'-1.\n ", 'signature': 'def eval_s(self, sensor_value):'}</s>{'name': 'ODESystem@src/system.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'ODES... | 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': '_getInputFromUser@packstack/installer/run_setup.py', 'description': 'this private func reads the data from the user\nfor the given param', 'signature': 'def _getInputFromUser(param):'}</s>INFO_DSPLY_PARAMS = "\n%s will be installed using the following configuration:" % basedefs.APP_NAME | 0 |
{'name': 'run@rf/batch.py', 'description': 'Create example configuration file and tutorial or load config.\n\nAfter that call `run_commands`.', 'signature': 'def run(command, conf=None, tutorial=False, **kw):'}</s>{'name': 'ParseError@rf/batch.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': [... | 0 |
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre... | 0 |
{'name': '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': 'csrgraph.random_walks@csrgraph/graph.py', 'description': "Create random walks from the transition matrix of a graph\n in CSR sparse format\n\nParameters\n----------\nT : scipy.sparse.csr matrix\n Graph transition matrix in CSR sparse format\nwalklen : int\n length of the random walks\nepochs : int\n ... | 0 |
{'name': 'bytes_hash@lib/charliecloud.py', 'description': 'Return the hash of data, as a hex string with no leading algorithm tag.', 'signature': 'def bytes_hash(data):'}</s>ARCH_MAP = { "armv5l": "arm/v5",
"armv6l": "arm/v6",
"aarch32": "arm/v7",
"armv7l": "arm/v7",
... | 0 |
{'name': 'sys_tags@blockchain-env/lib/python3.7/site-packages/packaging/tags.py', 'description': 'Returns the sequence of tag triples for the running interpreter.\n\nThe order of the sequence corresponds to priority order for the\ninterpreter, from most to least important.', 'signature': 'def sys_tags():'}</s>{'name': ... | 1 |
{'name': 'Format.flow_style@strictyaml/ruamel/comments.py', 'description': 'if default (the flow_style) is None, the flow style tacked on to\nthe object explicitly will be taken. If that is None as well the\ndefault flow style rules the format down the line, or the type\nof the constituent values (simple -> flow, map/l... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQQMF_AVAILABLE = py23long(0x00000020) | 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': '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': 'MH.get_sql_and_with_clause@operations.py', 'description': 'Gets the SQL query and WITH clause.\n\nThe query is constructed in a similar way to AbsoluteChange except that we\napply weights to adjust the change.\n\nFor example, the query for\nMH(\'condition\', \'base_value\', \'stratified\',\n metr... | 0 |
{'name': 'ParseArguments@tools/caffe-sphereface/scripts/cpp_lint.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(a... | 0 |
{'name': 'SimpleImputer.fit@datawig/simple_imputer.py', 'description': "Trains and stores imputer model\n\n:param train_df: training data as dataframe\n:param test_df: test data as dataframe; if not provided, a ratio of test_split of the\n training data are used as test data\n:param ctx: List of mxne... | 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>CMAP_RDYLGN = 46 | 0 |
{'name': 'merge_blocks_job@maf/impl/naiveLiftUp.py', 'description': "Combine the lifted blocks and add in the current genome's sequence.", 'signature': 'def merge_blocks_job(job, genome, child_names, block_ids, hal_id, opts):'}</s>{'name': 'split_alignments_by_chrom@maf/impl/naiveLiftUp.py', 'description': 'Split an al... | 0 |
{'name': 'update_startup_screen@displays/waveshare2in13v3.py', 'description': 'Show startup screen on eInk Display\n ', 'signature': 'def update_startup_screen():'}</s>nocoin_screen_2 = "Please add" | 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... | 1 |
{'name': 'process_assignments_and_deletions@da/compiler/incgen.py', 'description': 'Generate stub and hook for assignments and deletions.\n\nThis should be called after the query parameters have been accumulated.', 'signature': 'def process_assignments_and_deletions(state):'}</s>{'name': 'extract_all_queries@da/compile... | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCS_SUSPENDED = 3 | 0 |
{'name': 'basicConfig@Monika After Story/game/python-packages/logging/__init__.py', 'description': "Do basic configuration for the logging system.\n\nThis function does nothing if the root logger already has handlers\nconfigured. It is a convenience method intended for use by simple scripts\nto do one-shot configuratio... | 0 |
{'name': 'serialise_key@amulet_map_editor/api/wx/util/key_config.py', 'description': 'Get the serialised version of the key that was pressed/released.', 'signature': 'def serialise_key(evt: Union[wx.KeyEvent, wx.MouseEvent]) -> Optional[KeyType]:'}</s>F21 = "F21" | 0 |
{'name': 'ConfigPathTest.test_list_out_of_range_get@ml_collections/config_flags/tests/config_path_test.py', 'description': 'Tries to access out-of-range value in list.', 'signature': 'def test_list_out_of_range_get(self):'}</s>{'name': 'get_value@ml_collections/config_flags/config_path.py', 'description': "Gets value o... | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCAMO_END_TIME = 2708 | 0 |
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>OP_DEPTH = CScriptOp(0x74) | 0 |
{'name': 'clean_merged_flowlines@oggm/core/flowline.py', 'description': 'Order and cut merged flowlines to size.\n\nAfter matching flowlines were found and merged to one glacier directory\nthis function makes them nice:\nThere should only be one flowline per bed, so overlapping lines have to be\ncut, attributed to a an... | 0 |
{'name': 'AES.decrypt@plugin.video.premiumizerx/resources/lib/modules/pyaes/aes.py', 'description': 'Decrypt a block of cipher text using the AES block cipher.', 'signature': 'def decrypt(self, ciphertext):'}</s>{'name': '_compact_word@plugin.video.premiumizerx/resources/lib/modules/pyaes/aes.py', 'description': 'DOCST... | 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': 'get_root@versioneer.py', 'description': 'Get the project root directory.\n\nWe require th... | 1 |
{'name': 'is_ip_addr@signac/_vendor/configobj/validate.py', 'description': 'Check that the supplied value is an Internet Protocol address, v.4,\nrepresented by a dotted-quad string, i.e. \'1.2.3.4\'.\n\n>>> vtor.check(\'ip_addr\', \'1 \')\n\'1\'\n>>> vtor.check(\'ip_addr\', \' 1.2\')\n\'1.2\'\n>>> vtor.check(\'ip_addr\... | 0 |
{'name': 'ConsistentHashNew.__genKey@examples/huya/tars/__util.py', 'description': '通过key,返回当前key的hash值,这里采用md5\n:param key:\n:return:', 'signature': 'def __genKey(self, keyStr):'}</s>{'name': 'xml2dict@examples/huya/tars/__util.py', 'description': '@brief: 将xml解析树转成字典\n@param node: 树的根节点\n@type node: cElementTree.Elem... | 0 |
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PF_POOL_BITMASK = 1 | 0 |
{'name': 'CheckStyle@third_party/cpplint/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.... | 0 |
{'name': 'align_one_cli@montreal_forced_aligner/command_line/align_one.py', 'description': 'Align a single file with a pronunciation dictionary and a pretrained acoustic model.', 'signature': 'def align_one_cli(context, **kwargs) -> None:'}</s>{'name': 'PretrainedAligner@montreal_forced_aligner/alignment/pretrained.py'... | 1 |
{'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': 'Compilation._split_compiler@libscanbuild/compilation.py', 'description': 'A predicate to decide whether the command is a compiler call.\n\n:param command: the command to classify\n:param cc: user specified C compiler name\n:param cxx: user specified C++ compiler name\n:return: None if the... | 0 |
{'name': 'prepare_module@torchtnt/utils/prepare_module.py', 'description': 'Utility to move a module to device, set up parallelism, activation checkpointing and compile.\n\nArgs:\n module: module to be used.\n device: device to which module will be moved.\n strategy: the data parallelization strategy to be use... | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCSC_TERMINPUT = b'TD ' | 0 |
{'name': 'IUZoneEntity.extra_state_attributes@custom_components/irrigation_unlimited/binary_sensor.py', 'description': 'Return the state attributes of the device.', 'signature': 'def extra_state_attributes(self):'}</s>ATTR_CURRENT_START = "current_start" | 1 |
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'BssBaseFunction@gef.py', 'description': 'Return the current bss base add... | 0 |
{'name': 'generate_main_html@nhentai/utils.py', 'description': 'Generate a main html to show all the contains doujinshi.\nWith a link to their `index.html`.\nDefault output folder will be the CLI path.', 'signature': "def generate_main_html(output_dir=f'.{PATH_SEPARATOR}'):"}</s>{'name': 'readfile@nhentai/utils.py', 'd... | 1 |
{'name': 'build_badodab_kernel@sgmcmcjax/kernels.py', 'description': 'build BADODAB kernel, a splitting scheme for the 3-equation Langevin diffusion. See https://arxiv.org/abs/1505.06889\n\nArgs:\n dt (float): step size\n loglikelihood (Callable): log-likelihood for a single data point\n logprior (Callable): l... | 0 |
{'name': 'train_epoch@Tensorized MNT/train.py', 'description': 'Epoch operation in training phase', 'signature': 'def train_epoch(model, training_data, optimizer, device, smoothing):'}</s>{'name': 'train@Tensorized MNT/train.py', 'description': 'Start training ', 'code': "def train(model, training_data, validation_data... | 1 |
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ... | 0 |
{'name': 'sign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'varname,ctype,atype\ninit,init.r,init.i,pytype\nvardebuginfo,vardebugshowvalue,varshowvalue\nvarrfromat\nintent', 'signature': 'def sign2map(a, var):'}</s>{'name': 'getinit@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description':... | 1 |
{'name': 'DifferentialExpressionTestWald.plot_vs_ttest@diffxpy/testing/det.py', 'description': 'Normalizes data by size factors if any were used in model.\n\n:param log10:\n:param show: Whether (if save is not None) and where (save indicates dir and file stem) to display plot.\n:param save: Path+file name stem to save ... | 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>OP_SH_OP2 = 0 | 0 |
{'name': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field... | 0 |
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>Zone = collections.namedtuple("Zone", ["name", "zone_start", "z... | 0 |
{'name': 'mach_o_change@bootstrap.py', 'description': "Replace a given name (what) in any LC_LOAD_DYLIB command found in\nthe given binary with a new name (value), provided it's shorter.", 'signature': 'def mach_o_change(path, what, value):'}</s>{'name': 'subst_path@bootstrap.py', 'description': 'DOCSTRING', 'code': "d... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQGMO_STRUC_ID = b'GMO ' | 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': 'SysTrayIcon.update@python/site-packages/winsystray/traybar.py', 'description': 'update icon image and/or hover text ', 'signature': 'def update(self, icon=None, hover_text=None, menu=None):'}</s>GetDC = ctypes.windll.user32.GetDC | 0 |
{'name': 'RequestsHelper.request@notifiers/utils/requests.py', 'description': 'A wrapper method for :meth:`~requests.Session.request``, which adds some defaults and logging\n\n:param url: The URL to send the reply to\n:param method: The method to use\n:param raise_for_status: Should an exception be raised for a failed ... | 1 |
{'name': 'create_connection@nova/proxy/socks.py', 'description': 'create_connection(dest_pair, *[, timeout], **proxy_args) -> socket object\n\nLike socket.create_connection(), but connects to proxy\nbefore returning the socket object.\n\ndest_pair - 2-tuple of (IP/hostname, port).\n**proxy_args - Same args passed to so... | 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>callbacks = {} | 0 |
{'name': 'NoReCaptchaField.get_remote_ip@nocaptcha_recaptcha/fields.py', 'description': 'Return the remote IP from the request.\nFirst check the REMOTE_ADDR header and then the\nHTTP_X_FORWARDED_FOR header.', 'signature': 'def get_remote_ip(self):'}</s>{'name': 'NoReCaptchaWidget@nocaptcha_recaptcha/widgets.py', 'descr... | 0 |
{'name': 'write_recipe@bioconda_utils/bioconductor_skeleton.py', 'description': 'Write the meta.yaml and build.sh files. If the package is detected to be\na data package (bsed on the detected URL from Bioconductor), then also\ncreate a post-link.sh and pre-unlink.sh script that will download and\ninstall the package. I... | 0 |
{'name': 'CortexM.reset@pyocd/coresight/cortex_m.py', 'description': "! @brief Reset the core.\n\nThe reset method is selectable via the reset_type parameter as well as the reset_type\nsession option. If the reset_type parameter is not specified or None, then the reset_type\noption will be used. If the option is not se... | 1 |
{'name': 'cluster_anchors@lib/rpn_util.py', 'description': 'Clusters the anchors based on the imdb boxes (in 2D and/or 3D).\n\nGenerally, this method does a custom k-means clustering using 2D IoU\nas a distance metric.', 'signature': 'def cluster_anchors(feat_stride, anchors, test_scale, imdb, lbls, ilbls, anchor_ratio... | 0 |
{'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>Agundirected = cvar.Agundirected | 0 |
{'name': 'ProcessLine@tools/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n wi... | 0 |
{'name': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'sig... | 0 |
{'name': 'BattleSchedule.chooseChap@foo/arknight/Schedule.py', 'description': '进入到关卡页面', 'signature': 'def chooseChap(self,chap):'}</s>{'name': 'find_circles@foo/pictureR/squreDetect.py', 'description': 'DOCSTRING', 'code': 'def find_circles(img):\n result = blur(img, (5,5))\n gray=cvtColor(result,COLOR_BGR2GRAY)... | 1 |
{'name': 'engine.number_to_words@src/bids/external/inflect.py', 'description': 'Return a number in words.\n\ngroup = 1, 2 or 3 to group numbers before turning into words\ncomma: define comma\n\nandword:\n word for \'and\'. Can be set to \'\'.\n e.g. "one hundred and one" vs "one hundred one"\n\nzero: word for \'0... | 0 |
{'name': 'test_text_predict_on_public_models@tests/public_models/test_public_models_predicts.py', 'description': 'Test non translation text/nlp models.\nAll these models can take the same test text input.', 'signature': 'def test_text_predict_on_public_models(channel):'}</s>{'name': 'test_audio_predict_on_public_models... | 0 |
{'name': 'train@src/train.py', 'description': 'Trains the model\n\n:param config:\n:return:', 'signature': 'def train(config):'}</s>{'name': 'get_avg_dict_val_store@src/utils/util.py', 'description': 'Get average dictionary val\n\n:param dict_val_store:\n:param eval_every:\n:return:', 'code': "def get_avg_dict_val_stor... | 1 |
{'name': 'test_copy_in_s3_file_with_remote@tests/bundles/test_file_bundle_api.py', 'description': 'Test copying in s3 file\nThe file should be copied into the remote context', 'signature': 'def test_copy_in_s3_file_with_remote(run_test):'}</s>{'name': '_get_context@disdat/api.py', 'description': 'Retrieve data context ... | 0 |
{'name': 'degradation_bsrgan_variant@ldm/modules/image_degradation/bsrgan.py', 'description': 'This is the degradation model of BSRGAN from the paper\n"Designing a Practical Degradation Model for Deep Blind Image Super-Resolution"\n----------\nsf: scale factor\nisp_model: camera ISP model\nReturns\n-------\nimg: low-qu... | 0 |
{'name': 'PSStackParser.nextobject@pdfminer3/psparser.py', 'description': 'Yields a list of objects.\n\nReturns keywords, literals, strings, numbers, arrays and dictionaries.\nArrays and dictionaries are represented as Python lists and dictionaries.', 'signature': 'def nextobject(self):'}</s>KEYWORD_PROC_BEGIN = KWD(b'... | 1 |
{'name': '_DecodeUnknownField@python/google/protobuf/internal/decoder.py', 'description': 'Decode a unknown field. Returns the UnknownField and new position.', 'signature': 'def _DecodeUnknownField('}</s>Int64Encoder = _SimpleEncoder(
wire_format.WIRETYPE_VARINT, _EncodeSignedVarint, _SignedVarintSize) | 0 |
{'name': 'test_wavefield_too_big2@tests/test_propagator.py', 'description': 'Check error when wavefield is bigger than model.', 'signature': 'def test_wavefield_too_big2(prop):'}</s>{'name': 'test_passes@tests/test_propagator.py', 'description': 'Check that the test passes when everything is correct.', 'code': 'def tes... | 0 |
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'OcspResponder@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_... | 0 |
{'name': 'Slides.generate@d2lbook/slides.py', 'description': 'Get all slide blocks and write to file.', 'signature': 'def generate(self, nb: notebooknode.NotebookNode, output_fn: str):'}</s>md_mark_pattern = re.compile(':([-\/\\._\w]+):(`[\ \*-\/\\\._\w]+`)?') | 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': 'check_bad_value_types@zict/tests/utils_test.py', 'description': 'z does not accept any Python object as values.\nTest that it reacts correctly when confronted with an invalid value type.', 'signature': 'def check_bad_value_types(z: MutableMapping) -> None:'}</s>{'name': 'check_same_key_threadsafe@zict/tests/u... | 0 |
{'name': 'markerReport@pipelines/pipeline_scxl.py', 'description': 'Prepare a PDF report visualising the discovered cluster markers', 'signature': 'def markerReport(infile, outfile):'}</s>{'name': 'summariseMarkers@pipelines/pipeline_scxl.py', 'description': 'Make summary tables and plots of cluster marker genes.\n\nTh... | 0 |
{'name': 'CheckForNewlineAtEOF@third_party/cpplint/cpplint.py', 'description': 'Logs an error if there is no newline char at the end of the file.\n\nArgs:\n filename: The name of the current file.\n lines: An array of strings, each representing a line of the file.\n error: The function to call with any errors found.... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCAMO_START_TIME = 2712 | 0 |
{'name': 'Normal.NLL@metrics/Disentangle/MIG_metric.py', 'description': 'Analytically computes\n E_N(mu_2,sigma_2^2) [ - log N(mu_1, sigma_1^2) ]\nIf mu_2, and sigma_2^2 are not provided, defaults to entropy.', 'signature': 'def NLL(self, params, sample_params=None):'}</s>train_kwargs = {'data_tensor': data} | 0 |
{'name': 'send_email@sc_scripts_demo/bin/check_jobs.py', 'description': 'Send an email using AWS Simple Email Service\n ', 'signature': 'def send_email(recipients, subject, body, mail_from=DEFAULT_MAIL_FROM):'}</s>{'name': 'get_last_24h_jobs@sc_scripts_demo/bin/check_jobs.py', 'description': 'Fetch jobs that finishe... | 0 |
{'name': 'test_image_upgrade_01150@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade.py', 'description': '### Classes and Methods\n\n- ``ImageUpgrade``\n - ``_build_payload``\n - ``commit``\n\n### Test\n\nInvalid value for ``options.package.install``.\n\n### Setup\n\n- ``devices`` is s... | 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': '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': 'add_node_elevations_google@osmnx/elevation.py', 'description': "Add `elevation` (meters) attributes to all nodes using a web API.\n\nBy default this uses the Google Maps Elevation API, but you could instead\nuse any equivalent API with the same interface and response format (such\nas the Open Topo Data API or... | 1 |
{'name': 'L2Stump.__init__@gradient-boosting/notebooks/support.py', 'description': 'We train on the (X,residual) but only to get\nthe regions in the leaves with y_i. Then we grab mean\nof residual, y_i - F_{m-1}, in that region.\nSplit determined using DecisionTreeRegressor to mirror L1Stump.', 'signature': 'def __init... | 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': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add... | 0 |
{'name': 'parse_date@oaiharvest/harvest.py', 'description': 'Date parser to be used as type argument for argparser options. ', 'signature': 'def parse_date(argument):'}</s>appdir = os.path.expanduser("~/.oai-harvest") | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.