text string | label int64 |
|---|---|
{'name': 'TokenList._get_first_name@sqlparse/sql.py', 'description': 'Returns the name of the first token with a name', 'signature': 'def _get_first_name(self, idx=None, reverse=False, keywords=False,'}</s>DML = Keyword.DML | 0 |
{'name': 'generate_release_changelog@extra/release_tool.py', 'description': 'Generate changelog and write it to a file', 'signature': 'def generate_release_changelog('}</s>{'name': 'do_select_test_suite@extra/release_tool.py', 'description': 'Process --select-test-suite argument.', 'code': 'def do_select_test_suite():\... | 0 |
{'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': 'test_zero_copy_local_file@tests/bundles/test_file_bundle_api.py', '... | 0 |
{'name': 'test_genetic_operations@gplearn/tests/test_genetic.py', 'description': "Check all genetic operations are stable and don't change programs", 'signature': 'def test_genetic_operations():'}</s>add2 = _Function(function=np.add, name='add', arity=2) | 1 |
{'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': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>KEY_LEFT_BRACKET = 91 | 0 |
{'name': 'TeamCloudClientOperationsMixin.get_schedule@client/tc/azext_tc/vendored_sdks/teamcloud/operations/_team_cloud_client_operations.py', 'description': 'Gets the Schedule.\n\nGets the Schedule.\n\n:param schedule_id:\n:type schedule_id: str\n:param organization_id:\n:type organization_id: str\n:param project_id:\... | 0 |
{'name': '_dedup_chunk@pairtools/lib/dedup.py', 'description': 'Mark duplicates in a dataframe of pairs\n\nParameters\n----------\ndf : pd.DataFrame\n Dataframe with pairs, has to contain columns \'chrom1\', \'pos1\', \'chrom2\', \'pos2\'\n \'strand1\', \'strand2\'\nr : int\n Allowed distance between two pairs... | 0 |
{'name': 'ancestors@rest_models/backend/compiler.py', 'description': 'generator the return the list of ancestors of an alias\n:param alias:\n:return:', 'signature': 'def ancestors(alias):'}</s>{'name': 'join_results@rest_models/backend/compiler.py', 'description': 'a generator that will generate each results possible f... | 0 |
{'name': '_build_agg@loudml/influx.py', 'description': 'Build requested aggregation', 'signature': 'def _build_agg(feature):'}</s>{'name': 'ConnectionTimeout@loudml/errors.py', 'description': "A network timeout. Doesn't cause a node retry by default. ", 'base_classes': ['ConnectionError'], 'methods': [{'name': 'Connect... | 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': 'resnet1202@fhmap/factory/archs/resnet.py', 'description': 'factory class of ResNet-1202.\nParameters\n----------\npretrained : bool\n Rreturn pretrained model. Note: currently just raise error.\nnum_classes : int\n Number of output class.', 'signature': 'def resnet1202(pretrained: bool = False, num_clas... | 0 |
{'name': 'ProcessFileData@third_party/cpplint/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 rep... | 1 |
{'name': '_add_useful_error_message@tests/conftest.py', 'description': 'If an AssertionError is raised in the assert, find any other calls on mock where the first parameter is uri and\nappend those calls to the AssertionErrors message to more easily find the cause of the test failure.', 'signature': 'def _add_useful_er... | 1 |
{'name': 'is_numeric@lib/rule_engine/types.py', 'description': 'Check whether *value* is a numeric value (i.e. capable of being represented as a floating point value without loss\nof information).\n\n:param value: The value to check. This value is a native Python type.\n:return: Whether or not the value is numeric.\n:r... | 0 |
{'name': 'NVMeOFConnectorTestCase.test_extend_volume_unreplicated_nvme_fails@os_brick/tests/initiator/connectors/test_nvmeof.py', 'description': 'nvme command fails, so it rescans, waits, and reads size.', 'signature': 'def test_extend_volume_unreplicated_nvme_fails('}</s>{'name': 'PortalTestCase@os_brick/tests/initiat... | 0 |
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>{'na... | 0 |
{'name': 'parse_info@parseoutput.py', 'description': 'Parses result of :i <name> command of ghci and returns derived Symbols.Declaration', 'signature': 'def parse_info(name, contents):'}</s>{'name': 'format_type@symbols.py', 'description': "Format type expression for popup\nSet span 'type' for types and 'tyvar' for typ... | 0 |
{'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': 'submit_run@models/stylegan_tf_official/dnnlib/submission/submit.py', 'description': 'Create a run dir, gather files related to the run, copy files to the run dir, and launch the run in appropriate place.', 'signature': 'def submit_run(submit_config: SubmitConfig, run_func_name: str, **run_func_kwargs) -> None... | 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': 'ECMA376Agile.generate_encryption_parameters@msoffcrypto/method/ecma376_agile.py', 'description': 'Generates encryption parameters used to encrypt a payload.\n\nReturns the information + a secret key.', 'signature': 'def generate_encryption_parameters(key, salt_value=None, spin_count=100000):'}</s>ALGORITHM_HA... | 0 |
{'name': 'Rolling.solve@msppy/solver.py', 'description': 'Call rolling solver to solve the true problem. It will dynamically\nconstruct extensive models and then call Gurobi solver to solve it.\n\nParameters\n----------\nn_simulations: int\n The number of simulations;\n\nn_branches: int\n The number of branches i... | 0 |
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PF_STATE_SYNPROXY = 3 | 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': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ... | 0 |
{'name': '_equalize_weights_lsq_pact@nemo/transf/equalize.py', 'description': 'Performs in-layer equalization by unfolding of convolution parameters\ninto batch-normalization parameters.\n\n:param bn_dict: a dictionary of layer names, with the key being the source (linear) and the value the target (batch-norm).\n:type ... | 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': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK... | 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': 'quick_check_arg... | 0 |
{'name': 'test_change_statement_timeout@test/io/test_io.py', 'description': 'Statement timeout changes take effect immediately', 'signature': 'def test_change_statement_timeout(defaultenv, metapostgrest):'}</s>{'name': 'reset_statement_timeout@test/io/test_io.py', 'description': 'Reset the statement timeout for the giv... | 1 |
{'name': 'topology@findpeaks/stats.py', 'description': 'Determine peaks using toplogy method.\n\nDescription\n-----------\nThe idea behind the topology method: Consider the function graph of the function that assigns each pixel its level.\nNow consider a water level that continuously descents to lower levels. At local ... | 1 |
{'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': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'is_arch@gef.py', 'description': 'DOCSTRING', 'code': 'def is_arch(arch: Elf.Abi) -> bool:\n return arch in gef.arch.aliases'} | 0 |
{'name': '_ConfigFlagTestCase.assert_equal_configs@ml_collections/config_flags/tests/config_overriding_test.py', 'description': 'Checks if two configs are identical.', 'signature': 'def assert_equal_configs(self, config1, config2):'}</s>{'name': '_ErrorConfig@ml_collections/config_flags/config_flags.py', 'description':... | 0 |
{'name': 'SoundCache.get_sound@soundrts/lib/sound_cache.py', 'description': 'return the sound corresponding to the given name', 'signature': 'def get_sound(self, name, warn=True):'}</s>warning = _NeverCrash(logging.warning) | 1 |
{'name': 'Bottle.reset@src/back/kite/bottle.py', 'description': 'Reset all routes (force plugins to be re-applied) and clear all\ncaches. If an ID or route object is given, only that specific route\nis affected. ', 'signature': 'def reset(self, route=None):'}</s>Request = BaseRequest | 0 |
{'name': 'qald_run@utils/data_preparation_rdf_type.py', 'description': "'\n\nIf the query contains only rdf constraint and no other triple, it will push the rdf type to the\nconstraint candidate and there will be no positive or negative path in the query.\n\n'path_id': [u'+25212']", 'signature': 'def qald_run(test = T... | 0 |
{'name': 'Arcball.drag@transformations.py', 'description': 'Update current cursor window coordinates.', 'signature': 'def drag(self, point):'}</s>{'name': 'compose_matrix@transformations.py', 'description': 'Return transformation matrix from sequence of transformations.\n\nThis is the inverse of the decompose_matrix fu... | 0 |
{'name': 'tabulate@misc/tabulate.py', 'description': 'Format a fixed width table for pretty printing.\n\n>>> print(tabulate([[1, 2.34], [-56, "8.999"], ["2", "10001"]]))\n--- ---------\n 1 2.34\n-56 8.999\n 2 10001\n--- ---------\n\nThe first required argument (`tabular_data`) can be a\nlist-of-lists (or... | 1 |
{'name': 'AlarmoMasterEntity.__init__@custom_components/alarmo/alarm_control_panel.py', 'description': 'Initialize the alarm_control_panel entity.', 'signature': 'def __init__(self, hass: HomeAssistant, name: str, entity_id: str) -> None:'}</s>ATTR_TRIGGERS = "triggers" | 0 |
{'name': 'GTestHelpTest.TestHelpFlag@third-party/googletest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to the binary or No... | 1 |
{'name': 'CARE._predict_mean_and_scale@csbdeep/models/care_standard.py', 'description': 'Apply neural network to raw image to predict restored image.\n\nSee :func:`predict` for parameter explanations.\n\nReturns\n-------\ntuple(:class:`numpy.ndarray`, :class:`numpy.ndarray` or None)\n If model is probabilistic, retu... | 1 |
{'name': 'PPOBuffer.finish_path@ppo-pick-jobs.py', 'description': 'Call this at the end of a trajectory, or when one gets cut off\nby an epoch ending. This looks back in the buffer to where the\ntrajectory started, and uses rewards and value estimates from\nthe whole trajectory to compute advantage estimates with GAE-L... | 0 |
{'name': 'LightRGB.update_status_information@pyShelly/light.py', 'description': 'Update the status information.', 'signature': 'def update_status_information(self, status, src):'}</s>SRC_STATUS = 2 | 0 |
{'name': 'test_imputer_duplicate_encoder_output_columns@test/test_imputer.py', 'description': 'Tests Imputer with sequential, bag-of-words and categorical variables as inputs\nthis could be run as part of integration test suite.', 'signature': 'def test_imputer_duplicate_encoder_output_columns(test_dir, data_frame):'}<... | 0 |
{'name': 'ConfigSpecification._define_param_specs@nematus/config.py', 'description': 'Adds all ParameterSpecification objects.', 'signature': 'def _define_param_specs(self):'}</s>{'name': 'write_config_to_json_file@nematus/config.py', 'description': 'Writes a config object to a JSON file.\n\nArgs:\n config: a config... | 0 |
{'name': 'identity_matrix@imgviz/external/transformations.py', 'description': 'Return 4x4 identity/unit matrix.\n\n>>> I = identity_matrix()\n>>> np.allclose(I, np.dot(I, I))\nTrue\n>>> np.sum(I), np.trace(I)\n(4.0, 4.0)\n>>> np.allclose(I, np.identity(4))\nTrue', 'signature': 'def identity_matrix():'}</s>{'name': 'ref... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCOPY_REPLY = 8 | 0 |
{'name': 'render_quoted_form@hy/core/result_macros.py', 'description': 'Render a quoted form as a new hy Expression.\n\n`level` is the level of quasiquoting of the current form. We can\nunquote if level is 0.\n\nReturns a two-tuple (`expression`, `splice`).\n\nThe `splice` return value is used to mark `unquote-splice`d... | 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': 'Request.__del__@wrappers/python/indy_vdr/request.py', 'description': 'Release the pool instance.', 'signature': 'def __del__(self):'}</s>{'name': '_load_library@wrappers/python/indy_vdr/bindings.py', 'description': 'Load the CDLL library.\n\nThe python module directory is searched first, followed by the usual... | 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': '_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': '_linkGraph@python/DisplayTests.py', 'description': 'Return a link ... | 1 |
{'name': 'load_json@policy/cib.py', 'description': 'Read CIB node from JSON file', 'signature': 'def load_json(filename):'}</s>{'name': 'update_log_level@policy/pmdefaults.py', 'description': 'DOCSTRING', 'code': 'def update_log_level(level):\n if level == 0:\n log_level = logging.ERROR\n elif level == 3:\... | 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': 'projection_test@benchmarks/benchmarking/cases/deltablue_base.py', 'description': 'This test constructs a two sets of variables related to each\nother by a simple linear transformation (scale and offset). The\ntime is measured to change a variable on either side of the\nmapping and to change the scale and offs... | 1 |
{'name': 'decryptFdat@fwtool/sony/fdat.py', 'description': 'Decrypts an encrypted FDAT file', 'signature': 'def decryptFdat(file):'}</s>{'name': 'crc32@fwtool/util/__init__.py', 'description': 'DOCSTRING', 'code': "def crc32(*files):\n crc = 0\n for file in files:\n for chunk in iter(lambda: file.read(4096), b''):\n ... | 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': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': 'Uint32ValueChecker@third_party/dawn/third_party/proto... | 0 |
{'name': 'is_address@eth_utils/address.py', 'description': 'Is the given string an address in any of the known formats?', 'signature': 'def is_address(value: Any) -> bool:'}</s>{'name': 'is_normalized_address@eth_utils/address.py', 'description': 'Returns whether the provided value is an address in its normalized form.... | 0 |
{'name': 'create_app@baymax/app.py', 'description': 'Create a Flask app.', 'signature': 'def create_app(config=None, app_name=None, blueprints=None):'}</s>celery = FlaskCelery('tasks', broker='redis://localhost:6379/0') | 0 |
{'name': 'PageElement.find_all_previous@bs4/element.py', 'description': 'Returns all items that match the given criteria and appear\nbefore this Tag in the document.', 'signature': 'def find_all_previous(self, name=None, attrs={}, text=None, limit=None,'}</s>PY3K = sys.version_info[0] > 2 | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCACF_UOW_LOG_EXTENT_NAME = 3064 | 0 |
{'name': 'PageAdmin.get_form@pages/admin/__init__.py', 'description': 'Get a :class:`Page <pages.admin.forms.PageForm>` for the\n:class:`Page <pages.models.Page>` and modify its fields depending on\nthe request.', 'signature': 'def get_form(self, request, obj=None, **kwargs):'}</s>{'name': 'add_page_action@pages/admin/... | 0 |
{'name': '_wrap_callback@sounddevice.py', 'description': 'Invoke callback function and check for custom exceptions.', 'signature': 'def _wrap_callback(callback, *args):'}</s>{'name': 'RawStream@sounddevice.py', 'description': 'Raw stream for playback and recording. See __init__().', 'base_classes': ['RawInputStream', ... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMD_RESET_CLUSTER = 74 | 0 |
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'get_version_string@src/api/python/z3/z3.py... | 0 |
{'name': 'pytest_runtest_teardown@Chapter03/tests/conftest.py', 'description': 'Called at the end of each test', 'signature': 'def pytest_runtest_teardown(item, nextitem):'}</s>CWD = Path(__file__).resolve().parent | 0 |
{'name': 'Region.__add__@polytope/polytope.py', 'description': 'Return union with Polytope or Region.\n\nApplies convex simplification if possible.\nTo turn off this check,\nuse Region.union\n\n@type other: L{Polytope} or L{Region}\n@rtype: L{Region}', 'signature': 'def __add__(self, other):'}</s>{'name': 'givens_rotat... | 0 |
{'name': 'displayInfo@source/pi-timolo.py', 'description': 'Display variable settings with plugin overlays if required', 'signature': 'def displayInfo(motioncount, timelapsecount):'}</s>{'name': 'subDirCheckMaxHrs@source/pi-timolo.py', 'description': 'Note to self need to add error checking\nextract the date-time from ... | 0 |
{'name': 'Teams.post@app/modules/teams/resources.py', 'description': 'Create a new team.', 'signature': 'def post(self, args):'}</s>{'name': 'TeamMemberByID@app/modules/teams/resources.py', 'description': 'Manipulations with a specific team member.', 'base_classes': ['Resource'], 'methods': [{'name': 'TeamMemberByID.de... | 0 |
{'name': 'w_pb_fs@disdat/hyperframe.py', 'description': "Write the pb contained in the xxxRecord.\n\nNote: If atomic=True, in almost all cases there won't actually be another file with\nthis name. But if there is, this will atomically replace the file with the new version.\n\nNote: Atomicity means we won't have a corr... | 0 |
{'name': 'aux_tokenize@sqlitefts/fts5_aux.py', 'description': 'FTS5 AUX function to tokenize a column.\n\nthis function is a callback function, thus it should not be called directly', 'signature': 'def aux_tokenize(pApi, pFts, pCtx, nVal, apVal):'}</s>{'name': 'fts5_api_from_db@sqlitefts/fts5.py', 'description': 'DOCST... | 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>MQCA_SSL_CERT_ISSUER_NAME = 2130 | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_MSG_ID_LENGTH = 24 | 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': 'save_cmd_orig@src/python_scripts/afnipy/lib_physio_logs.py', 'description': 'Write out input cmd output dir.', 'signature': 'def save_cmd_orig(retobj, verb=1):'}</s>hlp = '''Prefix of output filenames, without path (def: {dopt})
'''.format(dopt=DEF[opt]) | 0 |
{'name': 'get_name_addr@src/future/backports/email/_header_value_parser.py', 'description': 'name-addr = [display-name] angle-addr\n\n ', 'signature': 'def get_name_addr(value):'}</s>{'name': 'NoBoundaryInMultipartDefect@src/future/backports/email/errors.py', 'description': 'A message claimed to be a multipart but h... | 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_wap_wsg_idm_ecid_wtls8 = m2.NID_wap_wsg_idm_ecid_wtls8 | 0 |
{'name': 'conv2d@v1/musegan/libs/ops.py', 'description': "Apply a 2D convolution layer on the input tensor and return the resulting tensor.\n\nArgs:\n tensor_in (tensor): The input tensor.\n out_channels (int): The number of output channels.\n kernels (list of int): The size of the kernel. [kernel_height, kern... | 0 |
{'name': 'Confluence.remove_space_watch@confluence/client.py', 'description': 'Stop a user watching a space.\n\nUser is optional. If not specified, currently logged-in user will be\nused. Otherwise, it can be specified by either user key or username.\nWhen a user is specified and is different from the logged-in user,\n... | 1 |
{'name': 'test_testosterone@permute/data/tests/test_data.py', 'description': 'Test that "testosterone" data can be loaded. ', 'signature': 'def test_testosterone():'}</s>{'name': 'rats@permute/data/__init__.py', 'description': 'The\n\n ', 'code': 'def rats():\n """The\n\n """\n return load(_os.path.join("np... | 0 |
{'name': 'denoise@findpeaks/stats.py', 'description': "Denoise input data.\n\nDescription\n-----------\nDenoising the data is very usefull before detection of peaks. Multiple methods are implemented to denoise the data.\nThe bilateral filter uses a Gaussian filter in the space domain,\nbut it also uses one more (multip... | 1 |
{'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': 'to_taichi_type@python/taichi/lang/util.py', 'description': 'Convert numpy or torch or paddle data type to its counterpart in taichi.\n\nArgs:\n dt (DataType): The desired data type to convert.\n\nReturns:\n DataType: The counterpart data type in taichi.', 'signature': 'def to_taichi_type(dt):'}</s>i8 = ... | 1 |
{'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': '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': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'is_fp@src/api/python/z3/z3.py', 'description': "Return `True` if `a` is a Z3 floating-point expression.\n\n>>> b... | 0 |
{'name': 'RequestsMock.add@responses/__init__.py', 'description': ">>> import responses\n\nA basic request:\n>>> responses.add(responses.GET, 'http://example.com')\n\nYou can also directly pass an object which implements the\n``BaseResponse`` interface:\n\n>>> responses.add(Response(...))\n\nA JSON payload:\n\n>>> resp... | 0 |
{'name': 'MainWindow.loadFile@labelImg.py', 'description': 'Load the specified file, or the last opened file if None.', 'signature': 'def loadFile(self, filePath=None):'}</s>{'name': 'Shape@libs/shape.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Shape.__init__@libs/shape.py', 'desc... | 0 |
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>{'name': 'get_stopped_threads@llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'Ret... | 0 |
{'name': '_is_running_tests@src/supporting-files/txn_safety.py', 'description': "An imperfect check for whether we're in a test: we see *_test.py.", 'signature': 'def _is_running_tests():'}</s>{'name': '_ts_violation@src/supporting-files/txn_safety.py', 'description': 'Log or raise a transaction safety violation.', 'co... | 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': 'MaskedArray.__imul__@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Multiply self by other in-place.', 'signature': 'def __imul__(self, other):'}</s>tan = _MaskedUnaryOperation(umath.tan, 0.0,
_DomainTan(1e-35)) | 0 |
{'name': 'validate_transaction@capone/api/queries.py', 'description': 'Validates a Transaction and its sub-models before saving.\n\nOne, it validates that this Transaction properly balances.\n\nA Transaction balances if its credit amounts match its debit amounts.\nIf the Transaction does not balance, then a Transaction... | 1 |
{'name': 'PyMetaWearLoggingModule.download_log@pymetawear/modules/base.py', 'description': 'Download logged data from the MetaWear board\n\n:param timeout: Time to wait for download to resume if connection is lost.\n:param data_callback: Function called to process each downloaded sample.\n:param progress_update_functio... | 1 |
{'name': 'corefdiffbyevent@code/link_coref.py', 'description': 'comprise features for clustering events', 'signature': 'def corefdiffbyevent(pubdate,events,features,weight,threshold):'}</s>{'name': 'readFinal@code/link_coref.py', 'description': 'read input content into dict\neach line is fname text offset keytrigger pr... | 0 |
{'name': 'real_env_step_increment@tensor2tensor_envi/rl/trainer_model_based.py', 'description': 'Real env step increment.', 'signature': 'def real_env_step_increment(hparams):'}</s>{'name': 'train_world_model@tensor2tensor_envi/rl/trainer_model_based.py', 'description': 'Train the world model on problem_name.', 'code':... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.