text string | label int64 |
|---|---|
{'name': 'ProcessFileData@tools/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 li... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQGA_FIRST = 8001 | 0 |
{'name': 'apply@hdrnet/layers.py', 'description': 'Applies a sliced affined model to the input image.\n\nArgs:\n sliced: (Tensor) [batch_size, h, w, n_output, n_input+1] affine coefficients\n input_image: (Tensor) [batch_size, h, w, n_input] input data onto which to\n apply the affine transform.\n name: (string) ... | 0 |
{'name': 'initState@Deprecated/mrtf_test.py', 'description': 'Initialize a dictionary to hold the state ', 'signature': 'def initState():'}</s>nIDBytes = 18 | 0 |
{'name': 'prepare_backend@src/api_trt/modules/model_zoo/getter.py', 'description': "Prepares the backend for a model.\n\nArgs:\n model_name (str): The name of the model.\n backend_name (str): The name of the backend (onnx, trt).\n im_size (List[int]): The desired maximum size of the image in W, H form.\n ma... | 0 |
{'name': 'HyperFrameRecord.add_frames@disdat/hyperframe.py', 'description': "Add frames to the PB. If UUID, just add the UUID. If a FrameRecord,\nthen add both the UUID in the pb.frames map and the FrameRecord in the frame_cache.\n\nArgs:\n frames (:list:'FrameRecord' or :list:tuple:str,str): List of Frames to app... | 0 |
{'name': 'run@src/doitlive/cli.py', 'description': 'Main function for "magic-running" a list of commands.', 'signature': 'def run('}</s>env = os.environ | 0 |
{'name': 'BitfieldsTestCase.test_and_python_api@tools/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py', 'description': 'Use Python APIs to inspect a bitfields variable.', 'signature': 'def test_and_python_api(self):'}</s>{'name': '_LocalProcess@tools/lldb/packages/Python/lldbsuite/test/lldbtest.py... | 0 |
{'name': 'preprocess_objdump_out@tools/asm-differ/diff.py', 'description': 'Preprocess the output of objdump into a format that `process()` expects.\nThis format is suitable for saving to disk with `--write-asm`.\n\n- Optionally filter the output to a single function (`restrict`)\n- Otherwise, strip objdump header (7 l... | 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>_PIPELINE = [
CollectDependencyListStage(),
CreateSysrootStage(),
EmulatedDockerBuildStage(),
PackageRuntimeImageStage()... | 1 |
{'name': 'main@psearch/prepare_dataset.py', 'description': 'launches the entire cycle of data preprocessing: generation of stereoisomers, conformers and a database\n:param in_fname: input .smi file containing information about SMILES, compounds id and its activity status\n:param split_dataset: if True will splited inpu... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_REOPEN_TEMPORARY_Q_ERROR = 6103 | 0 |
{'name': '_AutoReject.transform@autoreject/autoreject.py', 'description': 'Fix and find the bad epochs.\n\nParameters\n----------\nepochs : instance of mne.Epochs\n The epochs object for which bad epochs must be found.\n\nreturn_log : bool\n If true the rejection log is also returned.\n\nReturns\n-------\nepochs_... | 1 |
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ... | 0 |
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_59 = Badge("oncoming autom... | 0 |
{'name': 'BlockParser.getBlocks@libc/kernel/tools/cpp.py', 'description': 'Return all the blocks parsed.', 'signature': 'def getBlocks(self, tokzer=None):'}</s>tokSHR = ">>" | 0 |
{'name': 'Response.from_raw@nsq/response.py', 'description': 'Return a new response from a raw buffer', 'signature': 'def from_raw(conn, raw):'}</s>{'name': 'Error@nsq/response.py', 'description': 'An error', 'base_classes': ['Response'], 'methods': [{'name': 'Error.find@nsq/response.py', 'description': 'Find the excep... | 1 |
{'name': 'ResourceManager.lookup@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Search for a resource and return an absolute file path, or `None`.\n\nThe :attr:`path` list is searched in order. The first match is\nreturend. Symlinks are followed. The result is cached to speed up\nfuture lookups. ', 's... | 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>MQZCI_DEFAULT = 0 | 0 |
{'name': 'safe_dump_all@strictyaml/ruamel/main.py', 'description': 'Serialize a sequence of Python objects into a YAML stream.\nProduce only basic YAML tags.\nIf stream is None, return the produced string instead.', 'signature': 'def safe_dump_all(documents, stream=None, **kwds):'}</s>{'name': 'VersionedResolver@strict... | 0 |
{'name': 'get_child_access3@Inventory_Modules.py', 'description': "- faws_acct is a custom class (account_class.aws_acct_access)\n- fChildAccount expects an AWS account number (ostensibly of a Child Account)\n- rRegion expects a string representing one of the AWS regions ('us-east-1', 'eu-west-1', etc.)\n- fRoleList ex... | 0 |
{'name': 'EVPTestCase.test_load_key_string_pubkey_rsa@tests/test_evp.py', 'description': 'Testing creating a PKey instance from PEM string.', 'signature': 'def test_load_key_string_pubkey_rsa(self):'}</s>NID_secp521r1 = m2.NID_secp521r1 | 0 |
{'name': 'cifar_generator@tensor2tensor_envi/data_generators/cifar.py', 'description': 'Image generator for CIFAR-10 and 100.\n\nArgs:\n cifar_version: string; one of "cifar10" or "cifar100"\n tmp_dir: path to temporary storage directory.\n training: a Boolean; if true, we use the train set, otherwise the test set.\... | 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': 'xray_line@python/xraydb/xray.py', 'description': "get data for an x-ray emission line of an element, given\nthe siegbahn notation for the like (Ka1, Lb1, etc).\n\nReturns:\n energy (in eV), intensity, initial_level, final_level\n\nArgs:\n element (int, str): atomic number, atomic symbol for element\n... | 0 |
{'name': 'build_graph@evaluate.py', 'description': 'build tf graph for predict\nArgs:\n model_name: choose a model to build\n attention_module: must be "se_block" or "cbam_block"\n config_dict: some config for building net\n is_training: whether to train or test, here must be False\nReturn:\n det_loss: a... | 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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCMD_INQUIRE_ENTITY_AUTH = 88 | 0 |
{'name': 'NewDatabase.update@premise/new_database.py', 'description': 'Update a specific sector by name.', 'signature': 'def update(self, sectors: [str, list, None] = None) -> None:'}</s>FILEPATH_METHANOL_FROM_NATGAS_FUELS_INVENTORIES = INVENTORY_DIR / "lci-synfuels-from-methanol-from-natural-gas.xlsx" | 0 |
{'name': 'H3LIS331DL.select_datarate@grove/grove_3_axis_digital_accelerometer.py', 'description': 'Select the data rate of the accelerometer from the given provided values', 'signature': 'def select_datarate(self):'}</s>H3LIS331DL_ACCL_PM_10 = 192 | 0 |
{'name': 'find_otherside_modules@rtl/vendor/pulp_platform_register_interface/vendor/lowrisc_opentitan/util/topgen/intermodule.py', 'description': 'Find far-end port based on given module and signal name\n ', 'signature': 'def find_otherside_modules(topcfg: OrderedDict, m,'}</s>{'name': 'get_pad_list@rtl/vendor/pulp_... | 0 |
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'... | 0 |
{'name': '_eigenvalues_inverse@FDApy/simulation/karhunen.py', 'description': 'Generate inverse decreasing eigenvalues.\n\nParameters\n----------\nn\n Number of eigenvalues to generates.\n\nReturns\n-------\nnpt.NDArray[np.float64], shape=(n,)\n The generated eigenvalues.\n\nExample\n-------\n>>> _eigenvalues_inve... | 0 |
{'name': 'Queue.dequeue@fn/immutable/list.py', 'description': 'Return pair of values: the item from the front of the queue and\nthe new queue object without poped element.', 'signature': 'def dequeue(self):'}</s>{'name': 'foldr@fn/op.py', 'description': 'Return function to fold iterator to scala value using\npassed fun... | 0 |
{'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': 'kill@pyngrok/ngrok.py', 'description': "Terminate the ``ngrok`` processes, if running, for the given config's ``ngrok_path``. This method will not\nblock, it will just issue a kill request.\n\n:param pyngrok_config: A ``pyngrok`` configuration to use when interacting with the ``ngrok`` binary,\n overriding... | 0 |
{'name': 'PipelineParallelTransformerModel.build_model_base@fairseq/model_parallel/models/pipeline_parallel_transformer/model.py', 'description': 'Build a new model instance.', 'signature': 'def build_model_base(cls, args, task):'}</s>{'name': 'relu_squared@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def re... | 0 |
{'name': 'create_clauses@research/2019_05_08_performance_checks/src/vqf/preprocessing.py', 'description': "Creates clauses for the VQF algorithm.\n\nIf true_p_int or true_q_int are provided, algorithm treats their length as known.\nThis also means that it sets the leading bits to 1.\nIt returns dictionaries, which repr... | 0 |
{'name': 'pspnet.load_pretrained_model@ptsemseg/models/pspnet.py', 'description': 'Load weights from caffemodel w/o caffe dependency\nand plug them in corresponding modules', 'signature': 'def load_pretrained_model(self, model_path):'}</s>LossParameter = _reflection.GeneratedProtocolMessageType('LossParameter', (_messa... | 0 |
{'name': 'IMAP._fetch_emails_info@imapy/imap.py', 'description': 'Fetches email info from server and returns as parsed email\nobjects', 'signature': 'def _fetch_emails_info(self, email_uids: List[str]) -> List[EmailMessage]:'}</s>{'name': 'refresh_folders@imapy/imap.py', 'description': 'Decorator used to refresh folder... | 0 |
{'name': 'Circuit.id@discopy/quantum/circuit.py', 'description': 'The identity circuit on a given domain.\n\nParameters:\n dom : The domain (and codomain) of the identity,\n or ``qubit ** dom`` if ``dom`` is an ``int``.', 'signature': 'def id(cls, dom: int | Ty = None):'}</s>{'name': 'Category@discopy/frobe... | 0 |
{'name': 'writeWorld@cxxtest/cxxtestgen.py', 'description': 'Write the world definitions', 'signature': 'def writeWorld( output ):'}</s>{'name': 'closeSuite@cxxtest/cxxtestgen.py', 'description': 'Close current suite and add it to the list if valid', 'code': "def closeSuite():\n '''Close current suite and add it to ... | 0 |
{'name': 'enumerate_mpi_declarations@src/services/mpiwrap/wrap.py', 'description': "Invokes mpicc's C preprocessor on a C file that includes mpi.h.\nParses the output for declarations, and yields each declaration to\nthe caller.", 'signature': 'def enumerate_mpi_declarations(mpicc, includes):'}</s>{'name': 'find_matchi... | 1 |
{'name': 'Window.at@tests/auto/wasm/selenium/qwasmwindow.py', 'description': 'Returns (window, offset) for given handle on window', 'signature': 'def at(self, handle):'}</s>{'name': 'Window@tests/auto/wasm/selenium/qwasmwindow.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Window.__init__@te... | 1 |
{'name': 'PFGid._str_to_num@pf/rule.py', 'description': 'Convert a string to a numeric group ID.', 'signature': 'def _str_to_num(self, s):'}</s>ICMP_PARAMPROB = 12 | 0 |
{'name': 'Placeholders_Calls.test1@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'func placeholder - no ()', 'signature': 'def test1(self):'}</s>{'name': 'SetDirective@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'DOCSTRING', 'base_classes': ['OutputTest'], 'methods': [{'name': 'SetDirective.test1@Cheetah/Test... | 0 |
{'name': 'lprint@art/functions.py', 'description': 'Print a grid (length X height) of the given character.\n\n:param length: the grid length\n:type length: int\n:param height: the grid height\n:type height: int\n:param char: target character\n:type char: str\n:return: None', 'signature': "def lprint(length=15, height=1... | 0 |
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'NsecRecord@infoblox_client/objects.py', 'description': 'NsecRecord: DNS NSEC record object.\nCorresponds to WAPI object \'record:nsec\'\n\nNSEC resource record is one of the r... | 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... | 0 |
{'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': 'nestedExpr@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pyparsing ex... | 0 |
{'name': 'level_successors_padded@vamb/hloss_misc.py', 'description': 'Returns the list of parents and their children at each depth.', 'signature': 'def level_successors_padded('}</s>{'name': 'Sum@vamb/hloss_misc.py', 'description': 'Implements sum_xxx as an object. Avoids re-computation.', 'base_classes': ['nn.Module'... | 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': 'Shaper.categorize@fontFeatures/shaperLib/Shaper.py', 'description': 'Returns the appropriate complex shaper class to shape this buffer.', 'signature': 'def categorize(self, buf):'}</s>{'name': 'MyanmarShaper@fontFeatures/shaperLib/MyanmarShaper.py', 'description': 'DOCSTRING', 'base_classes': ['SyllabicShaper... | 1 |
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'ASharedRecordBase@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_classes': ['InfobloxObject'], 'methods': [{'name': 'ASharedRecordBase.get_v4_class@infoblox_cl... | 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': 'parse_capture_filter@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': '"Parse given capture filter', 'signature': 'def parse_capture_filter(capture_filter):'}</s>{'name': 'shutdownLogger@tools/ble_sniffer/extcap/SnifferAPI/Logger.py', 'description': 'DOCSTRING', 'code': 'def shutdownLogger():\n ... | 0 |
{'name': 'CSSParser.parse_pseudo_class@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse pseudo class.', 'signature': 'def parse_pseudo_class(self, sel, m, has_selector, iselector, is_html):'}</s>REL_HAS_SIBLING = ":~" | 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': 'toggleManager@BlendNet/addon.py', 'description': "Running the manager instance if it's not already started or stopping it", 'signature': 'def toggleManager():'}</s>available_instance_types_cache = [[], ''] | 0 |
{'name': 'TestManager.test_custom_manager2@modeltranslation/tests/tests.py', 'description': 'Test if user-defined queryset is still working', 'signature': 'def test_custom_manager2(self):'}</s>{'name': 'ThirdPartyTranslationOptions@modeltranslation/tests/translation.py', 'description': 'DOCSTRING', 'base_classes': ['Tr... | 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': 'FilePart@fwtool/io/__init__.py', 'description': 'A view of a part of a file. Can be used like a regular file', 'base_classes': ['object... | 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': 'RecentList.getall@shingetsu/cache.py', 'description': 'Search nodes and update my recent list.', 'signature': 'def getall(self):'}</s>server_name = _get_value(_extconf, 'Gateway', 'server_name', '') | 0 |
{'name': 'LogisticRegression.compute_on_sql_magic_mode@models.py', 'description': 'Gets the coefficients by minimizing the cost function.\n\nWe use iteratively reweighted least squares algorithm to solve the model.\nThe algorithm is described in\nhttps://colab.research.google.com/drive/1Srfs4weM4LO9vt1HbOkGrD4kVbG8cso8... | 0 |
{'name': 'pseudo_cqt@librosa/core/constantq.py', 'description': "Compute the pseudo constant-Q transform of an audio signal.\n\nThis uses a single fft size that is the smallest power of 2 that is greater\nthan or equal to the max of:\n\n 1. The longest CQT filter\n 2. 2x the hop_length\n\nParameters\n----------\n... | 0 |
{'name': 'load_inventory@src/attributecode/gen.py', 'description': 'Load the inventory file at `location` for ABOUT and LICENSE files stored in\nthe `base_dir`. Return a list of errors and a list of About objects\nvalidated against the `base_dir`.\n\nOptionally use `reference_dir` as the directory location of extra ref... | 0 |
{'name': 'convert_v05x_to_v06x@echopype/echodata/sensor_ep_version_mapping/v05x_to_v06x.py', 'description': 'This function converts the EchoData structure created in echopype\nversion 0.5.x to the EchoData structure created in echopype version\n0.6.x. Specifically, the following items are completed:\n\n1. Rename the co... | 0 |
{'name': 'XRasterBase.write_grid_mapping@rioxarray/rioxarray.py', 'description': 'Write the CF grid_mapping attribute to the encoding.\n\nParameters\n----------\ngrid_mapping_name: str, optional\n Name of the grid_mapping coordinate.\ninplace: bool, optional\n If True, it will write to the existing dataset. Defau... | 0 |
{'name': 'Parser._parse@util/py_lib/pyratemp.py', 'description': 'Recursive part of `parse()`.\n\n:Parameters:\n - template\n - fpos: position of ``template`` in the complete template (for error-messages)', 'signature': 'def _parse(self, template, fpos=0):'}</s>{'name': 'TemplateRenderError@util/py_lib/pyratemp.p... | 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>MQPSPROP_NONE = 0 | 0 |
{'name': 'favorites@twitter_to_sqlite/cli.py', 'description': 'Save tweets favorited by specified user', 'signature': 'def favorites(db_path, auth, user_id, screen_name, stop_after):'}</s>{'name': 'fetch_status_batches@twitter_to_sqlite/utils.py', 'description': 'DOCSTRING', 'code': 'def fetch_status_batches(session, t... | 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': 'batch_conv2d_im_backward_f@ctensor/operator.py', 'description': 'input is result tensor grad, kernel is weight tensor', 'signature': 'def batch_conv2d_im_backward_f(x, kernel, stride=(1, 1)):'}</s>{'name': 'make_tensor_like@ctensor/tensor.py', 'description': 'Make the operand a tensor.', 'code': "def make_ten... | 0 |
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'is_or@src/api/python/z3/z3.py', 'des... | 0 |
{'name': 'surface_mesh@phi/geom/_convert.py', 'description': "Create a surface `Mesh` from a Geometry.\n\nArgs:\n geo: `Geometry` to convert. Must implement `approximate_signed_distance`.\n rel_dx: Relative mesh resolution as fraction of bounding box size.\n abs_dx: Absolute mesh resolution. If both `rel_dx` a... | 1 |
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ... | 0 |
{'name': 'build_datasets@chemprop/cli/train.py', 'description': 'build the train/val/test datasets, where :attr:`test_data` may be None', 'signature': 'def build_datasets(args, train_data, val_data, test_data):'}</s>{'name': 'MulticomponentMPNN@chemprop/models/multi.py', 'description': 'DOCSTRING', 'base_classes': ['MP... | 0 |
{'name': 'libmain@da/__main__.py', 'description': "Main program entry point.\n\nParses command line options, sets up global variables, and calls the 'main'\nfunction of the DistAlgo program.", 'signature': 'def libmain():'}</s>{'name': 'die@da/__main__.py', 'description': 'DOCSTRING', 'code': 'def die(mesg = None):\n ... | 1 |
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W... | 0 |
{'name': 'GroveI2cColorSensorV2.gain@grove/grove_i2c_color_sensor_v2.py', 'description': 'The gain control. Should be 1, 4, 16, or 60.\n ', 'signature': 'def gain(self):'}</s>{'name': 'Bus@grove/i2c.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Bus.__init__@grove/i2c.py', 'descriptio... | 0 |
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'fill_with_neg_inf@fairseq/utils.py', 'description': 'FP16-compatible function that fills a tensor with -inf.', 'code': 'def fill_with_neg_inf(t):\n ... | 0 |
{'name': 'play@jupylet/audio/__init__.py', 'description': 'Play given note polyphonically with the instrument previously set by \ncall to :func:`use`.\n\nYou can supply key/value pairs of properties to modify in the given \ninstrument.\n\nArgs:\n note (float): Note to play in units of semitones \n where 60 is... | 0 |
{'name': 'TestCli.test_spec@tests/test_cli.py', 'description': 'Tests that spec is set correctly in NbInteract initialization', 'signature': 'def test_spec(self):'}</s>NOCOLOR = "[0m" | 0 |
{'name': 'test_pkg_test_conda_package_format@test/test_utils.py', 'description': 'Running a mulled-build test with .tar.bz2/.conda package formats', 'signature': 'def test_pkg_test_conda_package_format('}</s>{'name': 'get_free_space@bioconda_utils/utils.py', 'description': 'Return free space in MB on disk', 'code': 'de... | 0 |
{'name': 'minimal_init@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard', 'signature': 'def minimal_init():'}</s>GATHERED = [4256] | 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': 'get_topo_file@oggm/utils/_downloads.py', 'description': "Path(s) to the DEM file(s) covering the desired extent.\n\nIf the needed files for covering the extent are not present, download them.\n\nThe default behavior is to try a list of DEM sources in order, and\nstop once the downloaded data is covering a lar... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCD_VERSION_6 = py23long(6) | 1 |
{'name': 'register_adapter@psycopg2/extensions.py', 'description': "Register 'callable' as an ISQLQuote adapter for type 'typ'.", 'signature': 'def register_adapter(typ, callable):'}</s>ISOLATION_LEVEL_READ_COMMITTED = 1 | 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_QUIT = 256 | 0 |
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_BOOLAND = CScriptOp(0x9a) | 0 |
{'name': 'diff@dictdiffer/__init__.py', 'description': "Compare two dictionary/list/set objects, and returns a diff result.\n\nReturn an iterator with differences between two objects. The diff items\nrepresent addition/deletion/change and the item value is a *deep copy*\nfrom the corresponding source or destination obj... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCACF_PARENT_Q_MGR_NAME = 3032 | 0 |
{'name': 'ReactionDiffusionSystem.__init__@graphics/reaction_diffusion/ReactionDiffusionSystem.py', 'description': 'Instantiate a reaction-diffusion system with given config and initial grid state\n:param shape: size for each dimension of the system grid\n:param config: parameters that defined the behavior of the syste... | 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': 'TestError.test_from_raw_error@test/test_response.py', 'description': 'Can identify an error type', 'signature': 'def test_from_raw_error(self):'}</s>CLS = b'CLS' | 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': 'CheckStyle@tools/caffe-sphereface/scripts/cpp_lint.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 insid... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.