text
string
label
int64
{'name': 'asynq@asynq/decorators.py', 'description': 'Async task decorator.\nConverts a method returning generator object to\na method returning AsyncTask object.', 'signature': 'def asynq('}</s>{'name': 'ErrorFuture@asynq/futures.py', 'description': 'Future that always raises the specified error.', 'base_classes': ['F...
0
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>PFRULE_RETURNICMP = 4
0
{'name': 'GLRasterizer.model_to_image_transform@menpo3d/rasterize/opengl.py', 'description': 'TransformChain from 3D model space to 2D image space.', 'signature': 'def model_to_image_transform(self):'}</s>PASSTHROUGH_TEXTURE_FRAG_SHADER = CONTAINING_DIR / "shaders/texture/passthrough.frag"
0
{'name': 'test_indices@gplearn/tests/test_genetic.py', 'description': 'Check that indices are stable when generated on the fly.', 'signature': 'def test_indices():'}</s>{'name': '_weighted_pearson@gplearn/fitness.py', 'description': 'Calculate the weighted Pearson correlation coefficient.', 'code': 'def _weighted_pears...
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': 'TestStrictWrapper.test_strict_wrapper@responses/tests/test_responses.py', 'description': 'Test that assert_all_requests_are_fired could be applied to the decorator.', 'signature': 'def test_strict_wrapper(self):'}</s>{'name': 'test_handles_unicode_url@responses/tests/test_responses.py', 'description': 'DOCSTR...
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': 'UNSUBSCRIBE.encode@src/mqtt/pdu.py', 'description': 'Encode and store an UNSUBCRIBE control packet\n@raise e: C{ValueError} if any encoded topic string exceeds 65535 bytes', 'signature': 'def encode(self):'}</s>{'name': 'SUBSCRIBE@src/mqtt/pdu.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'meth...
0
{'name': '_summary@python/DisplayTests.py', 'description': 'Display a summary of a build.\n\nReturns a string representing part of a webpage.', 'signature': 'def _summary(req, type, revision, machine=None, buildType=None, timestamp=None):'}</s>{'name': '_importCode@python/DisplayTests.py', 'description': 'Import dynami...
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': 'Fzip@amptk/amptklib.py', 'description': 'function to zip as fast as it can, pigz -> bgzip -> gzip', 'signature': 'def Fzip(input, output, cpus):'}</s>{'name': 'SystemInfo@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def SystemInfo():\n system_os = systemOS()\n python_vers = str(sys.version_i...
0
{'name': 'jitcode.set_integrator@jitcode/_jitcode.py', 'description': 'Analogous to the function in SciPy’s ODE with the same name. This automatically generates the derivative and Jacobian if they do not exist yet and are needed. You can also choose integrators from `scipy.integrate.solve_ivp`.\n\nParameters\n---------...
1
{'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': 'VersionNegotiationMixin.negotiate_version@ironicclient/common/http.py', 'description': 'Negotiate the server version\n\nAssumption: Called after receiving a 406 error when doing a request.\n\n:param conn: A connection object\n:param resp: The response object from http request', 'signature': 'def negotiate_ver...
0
{'name': 'DbusMonitor.make_monitor@dbusmonitor.py', 'description': 'Override this to do more things with monitoring. ', 'signature': 'def make_monitor(self, service, path, value, text, options):'}</s>{'name': 'main@dbusmonitor.py', 'description': 'DOCSTRING', 'code': 'def main():\n\t# Init logging\n\tlogging.basicConfi...
0
{'name': '_FunctionDataTypeDef.__call__@lib/rule_engine/types.py', 'description': '.. versionadded:: 4.0.0\n\n:param str name: The name of the function, e.g. "split".\n:param return_type: The data type of the functions return value.\n:param tuple argument_types: The data types of the functions arguments.\n:param int mi...
0
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': '__compare_wasm_exporttype_t@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'DOCSTRING', 'code': 'def...
0
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/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 ...
0
{'name': 'Model.normal_mode@pyEMA/pyEMA.py', 'description': 'Transform the complex mode shape matrix self.A to normal mode shape.\n\nThe real mode shape should have the maximum correlation with\nthe original complex mode shape. The vector that is most correlated\nwith the complex mode, is the real part of the complex m...
1
{'name': 'Confluence.add_attachment@confluence/client.py', 'description': 'Add a single attachment to an existing piece of content.\n\n:param content_id: the confluence content to add the attachment to.\n:param file_path: The full location of the file on the local system.\n:param file_name: Optionally the name to give ...
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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_NULL_POINTER = 6108
0
{'name': 'QtAbstractItemView._refresh_visible_row@enamlx/qt/qt_abstract_item_view.py', 'description': 'Subclasses must implement this method to refresh the content in the\nrow with the content at the given index.\n\nParameters\n----------\n value: int\n Index of the row that needs to be refreshed', 'signature...
0
{'name': 'PiApplication.find_print_event@pibooth/booth.py', 'description': 'Return the first found event if found in the list.\n ', 'signature': 'def find_print_event(self, events):'}</s>{'name': 'Counters@pibooth/counters.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Counter...
0
{'name': 'temporary_clone@src/oca_github_bot/github.py', 'description': 'context manager that clones a git branch into a tremporary directory,\nand yields the temp dir name, with cache', 'signature': 'def temporary_clone(org, repo, branch):'}</s>HTTP_HOST = os.environ.get("HTTP_HOST")
0
{'name': 'LlvmCovHelper.export_lcov@sdk/cmake/generate_coverage_report.py', 'description': 'Export source-based coverage data into lcov format.', 'signature': 'def export_lcov(self, file_name):'}</s>DEFAULT_LCOV_EXPORT_FILE = pathlib.Path("./cov.info")
0
{'name': '_export_polytope@contrib/xml/xmlio.py', 'description': 'Builds an XML tree from a polytope.\n\n@param poly:\n polytope to export\n@return:\n `None` (if parent is not `None`), or\n an xml tree', 'signature': 'def _export_polytope('}</s>maybe_float = float | None
0
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'code': 'def ...
0
{'name': 'joydata@project_sample/2019-2ProjectSamples_Code/11조-수강과목을 통한 전공 예측 프로그램/joy.py', 'description': "joydata reads data/joydata.txt file and returns the data'\nParameters\n standardized: If True, performs standardization or \n feature scaling such that mean is 0 and std dev = 1.0\n shuffled: If True...
0
{'name': 'mutation_TSP_1@sko/operators/mutation.py', 'description': 'every gene in every chromosome mutate\n:param self:\n:return:', 'signature': 'def mutation_TSP_1(self):'}</s>{'name': 'mutation_swap@sko/operators/mutation.py', 'description': 'DOCSTRING', 'code': 'def mutation_swap(self):\n for i in range(self.siz...
0
{'name': 'Context.add_const@onnx_chainer/context.py', 'description': 'Add a constant array as an ONNX Constant node.\n\nReturns:\n str: registered name.', 'signature': 'def add_const(self, array, name):'}</s>{'name': '_tensor_from_array_for_constant@onnx_chainer/context.py', 'description': 'DOCSTRING', 'code': "def ...
1
{'name': 'BitcoinTestFramework._initialize_chain@test/functional/test_framework/test_framework.py', 'description': 'Initialize a pre-mined blockchain for use by the test.\n\nCreate a cache of a 200-block-long chain (with wallet) for MAX_NODES\nAfterward, create num_nodes copies from the cache.', 'signature': 'def _init...
0
{'name': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQTCPSTACK_SINGLE = 0
0
{'name': 'describe_pe_direction@src/bids/reports/parameters.py', 'description': 'Generate description of phase encoding direction.', 'signature': 'def describe_pe_direction(metadata: dict, config: dict) -> str:'}</s>{'name': 'describe_slice_timing@src/bids/reports/parameters.py', 'description': 'Generate description of...
0
{'name': 'pre_process_and_fetch_license_dict@src/attributecode/model.py', 'description': 'Return a dictionary containing the license information (key, name, text, url)\nfetched from the ScanCode LicenseDB or DejaCode API.', 'signature': 'def pre_process_and_fetch_license_dict(abouts, from_check=False, api_url=None, api...
0
{'name': 'Environment.compile_expression@third_party/dawn/third_party/jinja2/environment.py', 'description': 'A handy helper method that returns a callable that accepts keyword\narguments that appear as variables in the expression. If called it\nreturns the result of the expression.\n\nThis is useful if applications w...
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>TCPS_FIN_WAIT_1 = 6
0
{'name': 'ResnetGenerator.__init__@SIM-CycleGAN/models/networks.py', 'description': 'Construct a Resnet-based generator\n\nParameters:\n input_nc (int) -- the number of channels in input images\n output_nc (int) -- the number of channels in output images\n ngf (int) -- the number of filters ...
0
{'name': 'Monitor.decode_json@wideq/client.py', 'description': 'Decode a bytestring that encodes JSON status data.', 'signature': 'def decode_json(data: bytes) -> Dict[str, Any]:'}</s>StringValue = namedtuple("StringValue", ["comment"])
0
{'name': '_get_unique_value@pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py', 'description': 'Match attribute in text and return unique match.\n\n:returns: Single match.', 'signature': 'def _get_unique_value(attribute, text):'}</s>{'name': '_get_latest_version_github@pkgs/develop...
0
{'name': 'compile_fun_manually@src/makefun/main.py', 'description': ':param target:\n:return:', 'signature': 'def compile_fun_manually(target,'}</s>{'name': '_update_fields@src/makefun/main.py', 'description': 'Update the signature of func with the provided information\n\nThis method merely exists to remind which field...
0
{'name': '_ZTextTestResult.addExpectedFailure@zpycore/zunittest.py', 'description': 'Replacement of addExpectedFailure to fixup the _ZTodo hack', 'signature': 'def addExpectedFailure(self, test: unittest.TestCase,'}</s>{'name': 'ZTodo@zpycore/zunittest.py', 'description': 'ZTodo\n\nDecorator to use instead of unittest....
0
{'name': 'textureAsContentTexture@ValveFileSystem/valve.py', 'description': 'returns a resolved content texture filepath for some sort of texture path. it looks for psd\nfirst, and then for tga. if neither are found None is returned', 'signature': 'def textureAsContentTexture(texturePath):'}</s>{'name': 'encode_quote...
0
{'name': 'TestCommandlineUtils.check_filter_features_no_arff_argparse@tests/test_commandline_utils.py', 'description': 'Check that we are setting up argument parsing correctly for `filter_features`.\n\nWe are checking for ALL file types except ARFF. We are not checking whether\nthe results are correct because we have s...
0
{'name': 'parse_config@lyvi/__init__.py', 'description': 'Return a dict with updated configuration options.', 'signature': 'def parse_config():'}</s>{'name': 'Player@lyvi/players/__init__.py', 'description': 'Base Player class.\n\nThis class should be subclassed for a specific player.', 'base_classes': [], 'methods': [...
0
{'name': 'list_build_history@buildtest/cli/history.py', 'description': 'This method is entry point for ``buildtest history list`` which prints all previous builds\nstored in **BUILD_HISTORY_DIR**. Each directory has a ``build.json`` file that stores content\nof each build that was run by ``buildtest build``.\n\nArgs:\n...
1
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_DESCRIBE...
0
{'name': 'Point.__init__@PythonCode/adk/fortune.py', 'description': 'p is a tuple (x,y).', 'signature': 'def __init__(self, p, idx = None):'}</s>{'name': 'Voronoi@PythonCode/adk/fortune.py', 'description': 'Fortune Line Sweep Implementation.', 'base_classes': [], 'methods': [{'name': 'Voronoi.__init__@PythonCode/adk/fo...
0
{'name': 'init_training_model@lib/core.py', 'description': 'This function is meant to load the training model and optimizer, which expects\n./model/<conf.model>.py to be the pytorch model file.\n\nThe function copies the model file into the cache BEFORE loading, for easy reproducibility.', 'signature': 'def init_traini...
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PF_PASS = 0
1
{'name': 'PriorUtil.encode@sl_utils.py', 'description': 'Encode ground truth polygones to segments and links for local classification and regression.\n\n# Arguments\n gt_data: shape (boxes, 4 xy + classes)\n\n# Return\n shape (priors, 2 segment_labels + 5 segment_offsets + 2*8 inter_layer_links_labels + 2*4 cross...
0
{'name': 'write_rig_as_usdskel@tools/export_usdskel_from_scratch/python/convert_maya_to_usdskel/converter.py', 'description': 'Write an animated USD Skeleton to-disk.\n\nIf no time range is given then a start/end range is found by looking\nat the earliest start and the latest end animation keys from the\ngiven nodes.\n...
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': 'Splitwise.addUserToGroup@splitwise/__init__.py', 'description': 'Adds a user to the group.\n\nArgs:\n user(:obj:`splitwise.user.User`): User to be added\n group_id(long): ID of the group\n\nReturns:\n tuple: tuple containing:\n success(bool): True if group deleted, False otherwise\n\n user(...
0
{'name': 'IsDerivedFunction@tools/cpplint.py', 'description': 'Check if current line contains an inherited function.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains a function with "override"\n virt-specifier...
0
{'name': 'test_repr@voluptuous/tests/tests.py', 'description': 'Verify that __repr__ returns valid Python expressions', 'signature': 'def test_repr():'}</s>{'name': 'test_schema_infer_list@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': "def test_schema_infer_list():\n schema = Schema.infer({'list': ...
0
{'name': 'HomographyTransform.bfs_search@util/homg_trans.py', 'description': 'Do a BFS search on battle_map starting from start_tile.\nThe object on start_tile will be ignored.\n:param battle_map: map created by create_map()\n:param start_tile: the index of the tile to start BFS\n:return: found_enemies and found_suppli...
0
{'name': '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.__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': 'PathBase.load@tests/_lib_vendors/py/_path/common.py', 'description': '(deprecated) return object unpickled from self.read() ', 'signature': 'def load(self):'}</s>iswin32 = sys.platform == "win32" or (getattr(os, '_name', False) == 'nt')
0
{'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': 'checksec@gef.py', 'description': 'DOCSTRING', 'code': 'def checksec(file...
0
{'name': '_decode_dict@fips-files/generators/sjson/__init__.py', 'description': 'delimited -- if ``True``, parsing will stop once the end-of-dictionary\n delimiter has been reached(``}``)', 'signature': 'def _decode_dict(stream, delimited=False):'}</s>_WHITESPACE_SET = set({b' ', b'\t', b'\n', b'\r'})
0
{'name': '_wrap@dill/source.py', 'description': "encapsulate a function and it's __import__ ", 'signature': 'def _wrap(f):'}</s>{'name': '_closuredsource@dill/source.py', 'description': "get source code for closured objects; return a dict of 'name'\nand 'code blocks'", 'code': 'def _closuredsource(func, alias=\'\'):\n ...
0
{'name': 'ProcessLine@compiler-rt/lib/sanitizer_common/scripts/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 l...
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': 'euler_from_quaternion@utils/transformations.py', 'description': 'Return Euler angles from quaternion for specified axis sequence.\n\n>>> angles = euler_from_quaternion([0.99810947, 0.06146124, 0, 0])\n>>> numpy.allclose(angles, [0.123, 0, 0])\nTrue', 'signature': "def euler_from_quaternion(quaternion, axes='s...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQQA_GET_INHIBITED = 1
0
{'name': 'Client.add_archive_stream@opentok/opentok.py', 'description': 'This method will add streams to the archive with addStream for new participant(choosing audio, video or both).\n\n:param String archive_id: the ID of the archive that will be updated\n:param String stream_id: the id of the stream that will get add...
1
{'name': 'train@src/sagemaker_pytorch_container/training.py', 'description': 'Run PyTorch training on a user supplied module.\n\nThe user supplied module is run in either a local or distributed SageMaker\nenvironment.\n\nThe user supplied module and its dependencies are downloaded from S3.\nTraining is invoked by calli...
1
{'name': 'CppExpr.expectId@libc/kernel/tools/cpp.py', 'description': 'Check that a given token id is at the current position.', 'signature': 'def expectId(self, id):'}</s>tokDIVIDE = "/"
0
{'name': 'verify_ocsp_response@certvalidator/validate.py', 'description': 'Verifies an OCSP response, checking to make sure the certificate has not\nbeen revoked. Fulfills the requirements of\nhttps://tools.ietf.org/html/rfc6960#section-3.2.\n\n:param cert:\n An asn1cyrpto.x509.Certificate object to verify the OCSP ...
1
{'name': 'Platform.logout@ringcentral/platform/platform.py', 'description': 'Logs out the user by revoking the access token.\n\nReturns:\n Response: The response object containing logout confirmation if successful.\n\nRaises:\n Exception: If any error occurs during the logout process.\n\nNote:\n - Constructs t...
1
{'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>MQSO_WILDCARD_TOPIC = 2097152
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_PUBSUB_STATUS_ATTRS = 1318
0
{'name': 'load_model@Toolbox/arcsdm/machine_learning/general.py', 'description': 'Load a Sklearn model from a .joblib file.\n\nArgs:\n path: Path from where the model should be loaded. Include the .joblib file extension.\n\nReturns:\n Loaded model.', 'signature': 'def load_model(path: Path) -> Union[BaseEstimator...
0
{'name': 'SnippetParser.extract@snippet_parser/core.py', 'description': "This is the main method for extracting HTML snippets out of wiki markup.\n\nBroadly, the algorithm goes as follows:\n 1) Find the sections that contain any of the citation needed\n templates.\n 2) Mark the templates with a special elem...
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': 'local_ip4_addr_list@python/dglke/dist_train.py', 'description': 'Return a set of IPv4 address\n ', 'signature': 'def local_ip4_addr_list():'}</s>{'name': 'construct_cmd_script@python/dglke/dist_train.py', 'description': 'Construct command line string and write it into file\n ', 'code': 'def construct_cm...
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': 'merge@linopy/expressions.py', 'description': 'Merge multiple expression together.\n\nThis function is a bit faster than summing over multiple linear expressions.\nIn case a list of LinearExpression with exactly the same shape is passed\nand the dimension to concatenate on is TERM_DIM, the concatenation uses\n...
1
{'name': 'Compound.write@nbtlib/tag.py', 'description': 'Override :meth:`Base.write` for compound tags.', 'signature': 'def write(self, fileobj, byteorder="big"):'}</s>{'name': 'get_format@nbtlib/tag.py', 'description': 'Return a dictionary containing a format for each byte order.', 'code': 'def get_format(fmt, string)...
0
{'name': 'extract_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def extract_kalman_boxes(dataset_test, net, rpn_conf, test_path, data_folder):'}</s>{'name': 'create_colorbar@lib/util.py', 'description': 'DOCSTRING', 'code': 'def create_colorbar(height...
0
{'name': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'get_terminal_size@gef.py', 'description': 'Return the current terminal size.', 'code': 'def get_terminal_size() -> tuple[int, int]:\n """Return the current terminal size."""\n if...
0
{'name': 'FriendlyPasswordResetForm.clean_email@authtools/forms.py', 'description': "Return an error message if the email address being reset is unknown.\n\nThis is to revert https://code.djangoproject.com/ticket/19758\nThe bug #19758 tries not to leak emails through password reset because\nonly usernames are unique in...
0
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>OP_PUBKEY = CScriptOp(0xfe)
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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQAUTH_ALL = -1
0
{'name': 'install_any@ci_tools/nox_utils.py', 'description': 'Install the `pkgs` provided with `session.install(*pkgs)`, except for those present in `use_conda_for`', 'signature': 'def install_any(session,'}</s>SetupCfg = namedtuple('SetupCfg', ('setup_requires', 'install_requires', 'tests_requires', 'extras_require'))
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_ast@src/api/python/z3/z3.py', 'de...
0
{'name': 'Parse@app_common/lib/ua_parser/user_agent_parser.py', 'description': 'Parse all the things\nArgs:\n user_agent_string: the full user agent string\n jsParseBits: javascript override bits\nReturns:\n A dictionary containing all parsed bits', 'signature': 'def Parse(user_agent_string, **jsParseBits):'}</s>{'n...
1
{'name': 'test_handle_headers_failure_increments_counter@test/integration/test_user_defined_output_plugins.py', 'description': 'Checks that counters are incremented properly for handleResponseHeaders failures.', 'signature': 'def test_handle_headers_failure_increments_counter(http_test_server_fixture):'}</s>{'name': 't...
0
{'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': 'clear_location_attrs@da/compil...
0
{'name': 'test_use_multiple_databases@tenant_schemas_celery/integration_test.py', 'description': 'Test the case where a setting to have multiple database search path to be changed\nwas put for a task', 'signature': 'def test_use_multiple_databases(setup_tenant_test):'}</s>{'name': 'get_schema_name@tenant_schemas_celery...
0
{'name': 'line@nbinteract/plotting.py', 'description': 'Generates an interactive line chart that allows users to change the\nparameters of the inputs x_fn and y_fn.\n\nArgs:\n x_fn (Array | (*args -> Array str | Array int | Array float)):\n If array, uses array values for x-coordinates.\n\n If function...
0
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>{'name': 'simxSet...
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': 'BaseUserInterface.update@ring/func/base.py', 'description': 'Execute the original function and `set` the result as the value.\n\nThis action is comprehensible as a concatenation of\n:meth:`ring.func.base.BaseUserInterface.execute` and\n:meth:`ring.func.base.BaseUserInterface.set`.\n\n:see: :meth:`ring.func.ba...
0
{'name': 'BreakpointAfterJoinTestCase.test@llvm-project/lldb/test/API/functionalities/thread/break_after_join/TestBreakAfterJoin.py', 'description': 'Test breakpoint handling after a thread join.', 'signature': 'def test(self):'}</s>{'name': 'expectedFlakey@llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py...
0