text string | label int64 |
|---|---|
{'name': 'Connection.cursor@trino/dbapi.py', 'description': 'Return a new :py:class:`Cursor` object using the connection.', 'signature': 'def cursor(self, cursor_style: str = "row", legacy_primitive_types: bool = None):'}</s>{'name': 'SegmentCursor@trino/dbapi.py', 'description': 'DOCSTRING', 'base_classes': ['Cursor']... | 1 |
{'name': 'Product._reproject@eoreader/products/product.py', 'description': 'Reproject using RPCs (cannot use another pixel size than src to ensure RPCs are valid)\n\nArgs:\n src_arr (np.ndarray): Array to reproject\n src_meta (dict): Metadata\n rpcs (rpc.RPC): RPCs\n dem_path (str): DEM path\n\nReturns:\n ... | 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_USAGE_DATA_SET_TYPE = 1167 | 0 |
{'name': 'annotate_residues_from_sequence@vermouth/dssp/dssp.py', 'description': "Sets the attribute `attribute` to a value from `sequence` for every node in\n`molecule`. Nodes in the n'th residue of `molecule` are given the n'th\nvalue of `sequence`.\n\nParameters\n----------\nmolecule: networkx.Graph\n The molecul... | 0 |
{'name': 'BinaryAxis.__init__@src/python/approxeng/input/__init__.py', 'description': "Create a new binary axis, used to route axis events through to a pair of buttons, which are created as\npart of this constructor\n\n:param name:\n Name for the axis, use this to describe the axis, it's not used for anything else\n... | 0 |
{'name': 'handle_control_command@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Handle command from control channel', 'signature': 'def handle_control_command(sniffer, arg, typ, payload):'}</s>CTRL_KEY_TYPE_ADD_ADDR = 6 | 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': 'get_index_of_gap_in_sorted_integer_seq_forward@tksheet/function... | 0 |
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>TCPS_SYN_SENT = 2 | 0 |
{'name': 'DataContext.rebuild_db@disdat/data_context.py', 'description': "For this context, read in all pb's and rebuild tables.\nAll state is immutable.\n1.) Read in all HFrame PBs\n2.) Ensure that each HFrame PB is WEAKLY consistent -- file names corresponding to the\nframes are on disk (but we do not check their con... | 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': 'validate_api_declaration@swagger_spec_validator/validator12.py', 'description': 'Validate an API Declaration (§5.2).\n\n:param api_declaration: a dictionary respresentation of an API Declaration.\n\n:returns: `None` in case of success, otherwise raises an exception.\n\n:raises: :py:class:`swagger_spec_validat... | 0 |
{'name': 'ReplaceByFeeTest.test_too_many_replacements@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>{'name': 'msg_addr@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'base_clas... | 0 |
{'name': 'SwinTransformerBlock.forward@pytorch_toolbelt/modules/encoders/swin.py', 'description': 'Forward function.\n\nArgs:\n x: Input feature, tensor size (B, H*W, C).\n H, W: Spatial resolution of the input feature.\n mask_matrix: Attention mask for cyclic shift.', 'signature': 'def forward(self, x, mask_m... | 0 |
{'name': 'CommandLineTestCase.test_running_install_hosts@tests/installer/test_run_setup.py', 'description': 'Test packstack.installer.run_setup.main\n\nThis test effectivly runs all of the python code ran by\npackstack --install-hosts=127.0.0.1 --os-swift-install=y\n\nIt is a fairly wide net but boost code coverage of ... | 0 |
{'name': 'parse_expr@classes/docopt.py', 'description': "expr ::= seq ( '|' seq )* ;", 'signature': 'def parse_expr(tokens, options):'}</s>{'name': 'Dict@classes/docopt.py', 'description': 'DOCSTRING', 'base_classes': ['dict'], 'methods': [{'name': 'Dict.__repr__@classes/docopt.py', 'description': 'DOCSTRING', 'code': ... | 0 |
{'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>TYPE_INT64 = "int64" | 1 |
{'name': 'SendClient._on_message_sent@uamqp/client.py', 'description': "Callback run on a message send operation. If message\nhas a user defined callback, it will be called here. If the result\nof the operation is failure, the message state will be reverted\nto 'pending' up to the maximum retry count.\n\n:param message... | 0 |
{'name': 'Metar._handlePressure@metar/Metar.py', 'description': 'Parse an altimeter-pressure group.\n\nThe following attributes are set:\n press [int]', 'signature': 'def _handlePressure( self, d ):'}</s>{'name': 'Metar@metar/Metar.py', 'description': 'METAR (aviation meteorology report)', 'base_classes': ['objec... | 1 |
{'name': 'ProjectIdentity.__init__@client/tc/azext_tc/vendored_sdks/teamcloud/models/_models_py3.py', 'description': ':keyword project_id: Required.\n:paramtype project_id: str\n:keyword project_name: Required.\n:paramtype project_name: str\n:keyword organization: Required.\n:paramtype organization: str\n:keyword organ... | 0 |
{'name': 'EC_pub.get_der@src/M2Crypto/EC.py', 'description': 'Returns the public key in DER format as a buffer object.', 'signature': 'def get_der(self):'}</s>log = logging.getLogger('util') | 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>args = get_arguments() | 0 |
{'name': 'urlsplit@bleach/_vendor/parse.py', 'description': "Parse a URL into 5 components:\n<scheme>://<netloc>/<path>?<query>#<fragment>\nReturn a 5-tuple: (scheme, netloc, path, query, fragment).\nNote that we don't break the components up in smaller bits\n(e.g. netloc is a single string) and we don't expand % escap... | 0 |
{'name': 'NonCallableMock._get_child_mock@Contents/Libraries/Shared/mock.py', 'description': 'Create the child mocks for attributes and return value.\nBy default child mocks will be the same type as the parent.\nSubclasses of Mock may want to override this to customize the way\nchild mocks are made.\n\nFor non-callable... | 0 |
{'name': 'matrixBuilder_AminoAcid_Matrix_tests.test_AminoAcid_Matrix_initEmpiricalMatrix@tests/matrix_builder_test.py', 'description': 'Tests that class initialization properly imported the empirical replacement matrix. ', 'signature': 'def test_AminoAcid_Matrix_initEmpiricalMatrix(self):'}</s>{'name': 'matrixBuilder_M... | 0 |
{'name': 'create_test_gitlab@tests/gitlab_test_utils.py', 'description': 'Creates a test GitlabTree instance with mocked data', 'signature': 'def create_test_gitlab(monkeypatch: pytest.MonkeyPatch, '}</s>{'name': 'validate_tree@tests/gitlab_test_utils.py', 'description': 'Validates the structure of a generated tree', '... | 0 |
{'name': 'entrypoint@emissionsapi/web.py', 'description': 'Entrypoint for running this as a module or from the binary.\nIt starts the Connexion Debug Server. It is not meant to be used for\nproduction, but only during the development.', 'signature': 'def entrypoint():'}</s>__session__ = None | 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>MQWDR2_LENGTH_1 = 124 | 0 |
{'name': 'fixUserSettingsDuplicateBrackets@src/util/util.py', 'description': 'Fix invalid section names in user.settings', 'signature': 'def fixUserSettingsDuplicateBrackets():'}</s>{'name': 'getIcon@src/util/util.py', 'description': 'Gets icon from the res folder', 'code': "def getIcon(filename):\n '''Gets icon fro... | 0 |
{'name': 'Serial._reconfigure_port@serial/rfc2217.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>{'name': 'TelnetSubnegotiation@serial/rfc2217.py', 'description': 'A object to handle subnegotiation of options. In this case actually\nsub-sub options fo... | 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_extra_empty_errors@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': "def test_extra_empty_errors():\n ... | 0 |
{'name': 'CDF.write_globalattrs@cdflib/cdfwrite.py', 'description': "Writes the global attributes.\n\nParameters\n----------\nglobalAttrs: dict\n Global attribute name(s) and their value(s) pair(s).\n\n The value(s) is a dictionary of entry number and value pair(s).\n For example::\n\n globalAttrs={}\n ... | 0 |
{'name': 'try_parse_int64@symspellpy/helpers.py', 'description': 'Converts the string representation of a number to its 64-bit signed\ninteger equivalent.\n\nArgs:\n string: String representation of a number.\n\nReturns:\n The 64-bit signed integer equivalent, or None if conversion failed or if\n the numbe... | 0 |
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'affine_to_param... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMD_STATISTICS_Q = 165 | 0 |
{'name': 'kallisto_bus@kb_python/count.py', 'description': 'Runs `kallisto bus`.\n\nArgs:\n fastqs: List of FASTQ file paths, or a single path to a batch file\n index_path: Path to kallisto index\n technology: Single-cell technology used\n out_dir: Path to output directory\n threads: Number of threads to... | 0 |
{'name': 'NacosClient.list_naming_instance@nacos/client.py', 'description': ':param service_name: 服务名\n:param clusters: 集群名称 字符串,多个集群用逗号分隔\n:param namespace_id: 命名空间ID\n:param group_name: 分组名\n:param healthy_only: 是否只返回健康实例 否,默认为false', 'signature': 'def list_namin... | 0 |
{'name': 'GarminClient._login@garminexport/garminclient.py', 'description': 'Logs in with the supplied account credentials.\nThe return value is a URL where the created authentication ticket can be claimed.\nFor example, "https://connect.garmin.com/modern?ticket=ST-2550833-30KdiEJ3jqvFzLNGi2C7-sso"\n\nThe response mess... | 0 |
{'name': 'Path.mountpoint@lib/filesystem.py', 'description': 'Return the mount point of the filesystem containing, or, if symlink,\nthe file pointed to. E.g.:\n\n >>> Path("/proc").mountpoint()\n Path(\'/proc\')\n >>> Path("/proc/self").mountpoint()\n Path(\'/proc\')\n >>> Path("/").mountpoint()\n Path(\'/\... | 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': 'MetricList.get_sql_and_with_clause@metrics.py', 'description': "Gets the SQL query and WITH clause.\n\nThe query is constructed by\n1. Get the query for every children metric.\n2. If all children queries are compatible, we just collect all the columns\n from the children and use the WHERE and GROUP BY clause... | 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': '_import_xml@contrib/xml/xmlio.py', 'description': 'Returns the Tulip data structure contained in a parsed XML file.', 'signature': 'def _import_xml('}</s>T_HYBRIDSYS = "HybridSysDyn" | 1 |
{'name': 'Device.open@src/LabJackPython.py', 'description': 'Device.open(devType, Ethernet=False, firstFound = True, serial = None, localId = None, devNumber = None, ipAddress = None, handleOnly = False, LJSocket = None)\n\nOpen a device of type devType. ', 'signature': 'def open(self, devType, Ethernet=False, firstFou... | 0 |
{'name': 'test_model_from_data@tests/mlmc/test_MLMCSimulator.py', 'description': 'Executes simulate() with models and inputs created from files\nto ensure there are no exceptions while performing basic functionality.', 'signature': 'def test_model_from_data(data_input, models_from_data):'}</s>{'name': 'SpringMassModel... | 0 |
{'name': 'setup_body_request@aiosonic/http_parser.py', 'description': 'Get body to be sent.', 'signature': 'def setup_body_request(data: DataType, headers: "HeadersType") -> ParsedBodyType:'}</s>REPLACEABLE_HEADERS = {"host", "user-agent"} | 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': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo... | 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': 'addon@ValveFileSyste... | 0 |
{'name': '_StreamBase.__init__@sounddevice.py', 'description': "Base class for PortAudio streams.\n\nThis class should only be used by library authors who want to\ncreate their own custom stream classes.\nMost users should use the derived classes\n`Stream`, `InputStream`, `OutputStream`,\n`RawStream`, `RawInputStream` ... | 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': 'JavaObjectUnmarshaller.do_classdesc@javaobj/v1/unmarshaller.py', 'description': 'Handles a TC_CLASSDESC opcode\n\n:param parent:\n:param ident: Log indentation level\n:return: A JavaClass object', 'signature': 'def do_classdesc(self, parent=None, ident=0):'}</s>__docformat__ = "restructuredtext en" | 0 |
{'name': 'extract_data@ytmdl/main.py', 'description': 'Extract the arguments and act accordingly.', 'signature': 'def extract_data():'}</s>{'name': 'is_present@ytmdl/utility.py', 'description': 'Check if the passed app is installed in the machine.', 'code': 'def is_present(app):\n """Check if the passed app is insta... | 0 |
{'name': 'get_task@araelectra/finetune/task_builder.py', 'description': 'Get an instance of a task based on its name.', 'signature': 'def get_task(config: configure_finetuning.FinetuningConfig, task_name,'}</s>{'name': 'STS@araelectra/finetune/classification/classification_tasks.py', 'description': 'Semantic Textual Si... | 1 |
{'name': 'test_check_classic_valid_with_preprocessor@test/test_utils.py', 'description': 'Test that valid inputs when using a preprocessor raises no warning', 'signature': 'def test_check_classic_valid_with_preprocessor(points):'}</s>points_list = [np.array([0, 1, 2, 1]),
np.array(['img0.png', 'img1.png... | 0 |
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inlin... | 0 |
{'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': 'primary_avatar@avatar/templatetags/avatar_tags.py', 'description': 'This tag tries to get the default avatar for a user without doing any db\nrequests. It achieve this by linking to a special view that will do all the \nwork for us. If that special view is then cached by a CDN for instance,\nwe will avoid man... | 0 |
{'name': 'PouiInternal.log_result@tir/technologies/poui_internal.py', 'description': '[Internal]\n\nLogs the result of comparison between user value and captured value.\n\n:param field: The field whose values would be compared\n:type field: str\n:param user_value: The value the user expects\n:type user_value: str\n:par... | 0 |
{'name': 'MessageSetItemEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': 'Encoder for extensions of MessageSet.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n required int32 type_id = 2;\n required stri... | 0 |
{'name': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'gef_current_instruction@gef.py', 'description': 'Return the current instruction as an Instruction object.', 'code': 'def gef_current_instruction(addr: int) -> Instruction:\n """Retu... | 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': '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': 'attach_grad@ctensor/tensor.py', 'description': 'During backpropagation, attach computed grad into prece... | 0 |
{'name': 'main@demo/top_down_pose_tracking_demo_with_mmdet.py', 'description': 'Visualize the demo images.\n\nUsing mmdet to detect the human.', 'signature': 'def main():'}</s>{'name': 'DatasetInfo@mmpose/datasets/dataset_info.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'DatasetInfo.__init... | 1 |
{'name': 'EmptySection.set_block@anvil/empty_section.py', 'description': 'Sets the block at given coordinates\n\nParameters\n----------\nblock\n Block to set\nint x, y, z\n Coordinates\n\nRaises\n------\nanvil.OutOfBoundsCoordinates\n If coordinates are not in range of 0-15', 'signature': 'def set_block(self, ... | 1 |
{'name': 'ServiceInfo.request@stino/pyarduino/base/zeroconf.py', 'description': 'Returns true if the service could be discovered on the\nnetwork, and updates this object with details discovered.', 'signature': 'def request(self, zc, timeout):'}</s>_CLASS_MASK = 32767 | 0 |
{'name': 'dict@ring/func/asyncio.py', 'description': ':class:`dict` interface for :mod:`asyncio`.\n\n:see: :func:`ring.func.sync.dict` for common description.', 'signature': 'def dict('}</s>{'name': 'CacheUserInterface@ring/func/asyncio.py', 'description': 'General cache user interface provider for :mod:`asyncio`.\n\n:... | 1 |
{'name': 'Dataset.__init__@lib/imdb_util.py', 'description': "This function reads in all datasets to be used in training and stores ANY relevant\ninformation which may be needed during training as a list of edict()\n(referred to commonly as 'imobj').\n\nThe function also optionally stores the image database (imdb) file... | 0 |
{'name': 'LegacyBestFourPoint.best_sell_3@twstock/legacy.py', 'description': '三日均價由上往下', 'signature': 'def best_sell_3(self):'}</s>{'name': 'LegacyBestFourPoint@twstock/legacy.py', 'description': '四大買點組合\n\n:param grs.Stock data: 個股資料', 'base_classes': ['object'], 'methods': [{'name': 'LegacyBestFourPoint.__init__@twst... | 1 |
{'name': 'test_non_string_metadata_key@tests/test_make.py', 'description': 'A non-string key in the attrib metadata comes through in the mm field.', 'signature': 'def test_non_string_metadata_key(module: DataclassModule) -> None:'}</s>{'name': '_assert_dump_load@tests/test_make.py', 'description': 'DOCSTRING', 'code': ... | 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': 'detect@peachpy/x86_64/abi.py', 'description': 'Detects host ABI (either process ABI or system ABI, depending on parameters)\n\n:param bool system_abi: specified whether system ABI or process ABI should be detected. The two may differ, e.g.\n when a 64-bit system runs 32-bit Python interpreter.\n\n:returns:... | 0 |
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_instance_new_with_args_ex@language-bindings/python/src/wamr/was... | 0 |
{'name': 'atmos@rio_color/scripts/cli.py', 'description': 'Atmospheric correction', 'signature': 'def atmos('}</s>jobs_opt = click.option(
"--jobs",
"-j",
type=int,
default=1,
help="Number of jobs to run simultaneously, Use -1 for all cores, default: 1",
) | 0 |
{'name': 'CheckStyle@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/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 leng... | 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_COOLWARM = 39 | 0 |
{'name': 'Data.__init__@verif/data.py', 'description': "Arguments:\ninputs A list of verif.input\ntimes A numpy array of times. Discard data for all other times\ndates A numpy array of dates. Only allow times that occur on\n these dates (but alllow any hour of the day).\ntods ... | 0 |
{'name': 'read_brat_folder_into_core_format@ronec_v1/scripts/convertors/scripts.py', 'description': 'Given a folder will read the .ann file an return a list of Sentence objects.\nIt will search in all sub-folders for .ann files', 'signature': 'def read_brat_folder_into_core_format (folder):'}</s>{'name': '_conllup_to_c... | 0 |
{'name': 'merge_spans@tools/task-SI_scorer.py', 'description': ':param spans: a list of spans of article annotations\n:param i: the index in spans which needs to be tested for ovelapping\n:param annotations: a list of annotations of an article\n:return:', 'signature': 'def merge_spans(annotations_without_overlapping, i... | 0 |
{'name': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_... | 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': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24... | 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': 'ParseInstancesMultiZone.setUp@testing/test_parser.py', 'description': 'Setup for each test.\n\n ', 'signature': 'def setUp(self):'}</s>{'name': 'simulate@parsing/simulate.py', 'description': "Simulate the wrapper fmu with any overwriting signals.\n\nParameters\n----------\nstart_time : int\n Start t... | 0 |
{'name': 'setup_T2_amplitudes@doc/LectureNotes/_build/jupyter_execute/cc.py', 'description': 'returns the t2 amplitudes and t2 channels\nparam sp_basis: a sp_basis\nparam NN: neutron number\nparam st_degen: 2 for the moment, spin-isospin degeneracy\nreturn: hh_channels, pp_channels, p_rel_hh, p_rel_pp, t2amp\n t... | 0 |
{'name': 'auth@twitter_to_sqlite/cli.py', 'description': 'Save authentication credentials to a JSON file', 'signature': 'def auth(auth):'}</s>{'name': 'tweet@twitter_to_sqlite/archive.py', 'description': 'DOCSTRING', 'code': 'def tweet(item):\n # Older versions of the archive have the tweet data at the top level of ... | 0 |
{'name': 'TypeErrorTests.test_keyword_builtin@didyoumean/didyoumean_sugg_tests.py', 'description': 'A few builtins (like int()) have a different error message.', 'signature': 'def test_keyword_builtin(self):'}</s>UNKNOWN_NAMEERROR = (NameError, None) | 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': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>PFR_FLAG_DUMMY = 2 | 0 |
{'name': '_init@third_party/libassimp/port/PyAssimp/pyassimp/core.py', 'description': "Custom initialize() for C structs, adds safely accessible member functionality.\n\n:param target: set the object which receive the added methods. Useful when manipulating\npointers, to skip the intermediate 'contents' deferencing.", ... | 0 |
{'name': 'CheckLanguage@tools/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A ... | 0 |
{'name': 'VectorEnv._worker_env@habitat/core/vector_env.py', 'description': 'process worker for creating and interacting with the environment.\n ', 'signature': 'def _worker_env('}</s>OBSERVATION_SPACE_COMMAND = "observation_space" | 1 |
{'name': 'create_train_input_fn@object_detection/inputs.py', 'description': 'Creates a train `input` function for `Estimator`.\n\nArgs:\n train_config: A train_pb2.TrainConfig.\n train_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator`... | 0 |
{'name': '_makeTags@scripts/pdns/lib/python2.7/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'col@scripts/pdns/lib/python2.7/site-packages/pkg_resources/_vend... | 0 |
{'name': 'records2geojson@meza/convert.py', 'description': "Converts records into a GeoJSON file like object.\n\n Args:\n records (Iter[dict]): Rows of data whose keys are the field names.\n E.g., output from any `meza.io.read_geojson`.\n\n kwargs (dict): Keyword arguments.\n\nKwargs:\n key (str): GeoJS... | 0 |
{'name': '_AppHandler._read_build_config@jupyterlab/commands.py', 'description': 'Get the build config data for the app dir.', 'signature': 'def _read_build_config(self):'}</s>{'name': '_fetch_package_metadata@jupyterlab/commands.py', 'description': 'Fetch the metadata for a package from the npm registry', 'code': 'def... | 0 |
{'name': 'TestAggregatedTimeSerie.test_back_window@gnocchi/tests/test_carbonara.py', 'description': 'Back window testing.\n\nTest the back window on an archive is not longer than the window we\naggregate on.', 'signature': 'def test_back_window(self):'}</s>{'name': 'InvalidData@gnocchi/carbonara.py', 'description': 'Er... | 0 |
{'name': 'NegotiatingTelnetHandler.handle@third-party/curl/tests/negtelnetserver.py', 'description': 'Negotiates options before reading data.', 'signature': 'def handle(self):'}</s>{'name': 'ScriptException@third-party/curl/tests/negtelnetserver.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods':... | 0 |
{'name': 'setup@volkswagencarnet/__init__.py', 'description': 'Setup Volkswagen Carnet component', 'signature': 'def setup(hass, config):'}</s>{'name': 'VolkswagenEntity@volkswagencarnet/__init__.py', 'description': 'Base class for all VOC entities.', 'base_classes': ['Entity'], 'methods': [{'name': 'VolkswagenEntity._... | 0 |
{'name': 'Message._postprocess_single@src/betterproto/__init__.py', 'description': 'Adjusts values after parsing.', 'signature': 'def _postprocess_single('}</s>{'name': 'parse_fields@src/betterproto/__init__.py', 'description': 'DOCSTRING', 'code': 'def parse_fields(value: bytes) -> Generator[ParsedField, None, None]:\... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.