text
string
label
int64
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCA_TRIGGER_TERM_ID = 2063
0
{'name': 'RFXtrxProtocolTest.test_complete_packet@test/test_rfxtrx_protocol.py', 'description': 'Protocol should assemble incoming lines into complete packet.', 'signature': 'def test_complete_packet(self):'}</s>TEXT_MESSAGE_CODE = "^\d-\d:96\.13\.1.+?\r\n"
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': 'get_sinusoid_encoding@ppim/models/t2t.py', 'description': 'Sinusoid position encoding table', 'signature': 'def get_sinusoid_encoding(n_position, d_hid):'}</s>{'name': 'T2T_Layer@ppim/models/t2t.py', 'description': 'Tokens-to-Token encoding module', 'base_classes': ['nn.Layer'], 'methods': [{'name': 'T2T_Laye...
0
{'name': 'PretrainingModel._get_masked_lm_output@araelectra/run_pretraining.py', 'description': 'Masked language modeling softmax layer.', 'signature': 'def _get_masked_lm_output(self, inputs: pretrain_data.Inputs, model):'}</s>{'name': 'PretrainingModel@araelectra/run_pretraining.py', 'description': 'Transformer pre-t...
1
{'name': 'Windows.setupLogger@addon/addonWindow.py', 'description': '初始化 Logger ', 'signature': 'def setupLogger(self):'}</s>{'name': 'Handler@addon/logger.py', 'description': 'DOCSTRING', 'base_classes': ['QObject', 'logging.Handler'], 'methods': [{'name': 'Handler.__init__@addon/logger.py', 'description': 'DOCSTRING'...
1
{'name': 'test_print_full@tests/test_main.py', 'description': 'Test --print option for different types of inputs.', 'signature': 'def test_print_full(tmp_path: Path, capsys) -> None:'}</s>{'name': 'test_verbose@tests/test_main.py', 'description': 'DOCSTRING', 'code': 'def test_verbose(mocker, tmp_path) -> None:\n ar...
0
{'name': 'what@boxx/ylimg/ylimgTool.py', 'description': "tell you what's this by\npretty print `Document`, `Classes`, `Inner Struct`, `Attributes` of anything.\n\na magic tool to learn new Python Package\n\nParameters\n----------\nanything : anything in Python\n decompose all of anything\nfull : bool, default False\...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACH_COMMAND_COUNT = 1520
0
{'name': '_transform_attrs@blockchain-env/lib/python3.7/site-packages/attr/_make.py', 'description': "Transform all `_CountingAttr`s on a class into `Attribute`s.\n\nIf *these* is passed, use that and don't look for them on the class.\n\nReturn an `_Attributes`.", 'signature': 'def _transform_attrs(cls, these, auto_att...
0
{'name': 'LessParser.__init__@lesscpy/lessc/parser.py', 'description': 'Parser object\n\nKwargs:\n lex_optimize (bool): Optimize lexer\n yacc_optimize (bool): Optimize parser\n tabfile (str): Yacc tab filename\n yacc_debug (bool): yacc debug mode\n scope (Scope): Inherited scope\n outputdir (str): Out...
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': 'runBody@cxxtest/cxxtestgen.py', 'description': 'Body of TestDescription::run()', 'signature': 'def runBody( suite, test ):'}</s>destroy_re = re.compile( r'\bstatic\s+void\s+destroySuite\s*\(\s*\w+\s*\*\s*\w*\s*\)' )
0
{'name': 'Metar._handleWind@metar/Metar.py', 'description': 'Parse the wind and variable-wind groups.\n\nThe following attributes are set:\n wind_dir [direction]\n wind_speed [speed]\n wind_gust [speed]\n wind_dir_from [int]\n wind_dir_to [int]', 'signature': 'def _...
0
{'name': 'expr_value@tools/kconfig_new/kconfiglib.py', 'description': "Evaluates the expression 'expr' to a tristate value. Returns 0 (n), 1 (m),\nor 2 (y).\n\n'expr' must be an already-parsed expression from a Symbol, Choice, or\nMenuNode property. To evaluate an expression represented as a string, use\nKconfig.eval_s...
0
{'name': 'Cache.search@shingetsu/cache.py', 'description': 'Search node from network and get records.', 'signature': 'def search(self, searchlist=None, myself4=None, myself6=None):'}</s>lock = RLock()
0
{'name': 'scnym_predict@scnym/api.py', 'description': 'Predict cell identities using an scNym model.\n\nParameters\n----------\nadata : AnnData\n [Cells, Genes] experiment containing annotated\n cells to train on.\nconfig : dict\n configuration options.\n\nReturns\n-------\nNone. Adds `adata.obs[config["key_ad...
1
{'name': 'PyImportResolver.update_doc@python/ffi_navigator/import_resolver.py', 'description': 'Update the resolver state by adding a document.\n\nParameters\n----------\npath : str\n The module path\n\nsource : list or str\n The source code.', 'signature': 'def update_doc(self, path, source):'}</s>{'name': 'find...
1
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': 'InitiatorConnector.factory@os_brick/initiator/connector.py', 'description': 'Build a Connector object based upon protocol and architecture.', 'signature': 'def factory(protocol, root_helper, driver=None,'}</s>{'name': 'trace@os_brick/utils.py', 'description': 'Trace calls to the decorated function.\n\nThis de...
0
{'name': 'construct_config@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/utils.py', 'description': 'merge dictionaries for configs in parent directories.\nThe configs closest to gsurl should take precedence.', 'signature': 'def construct_config(storage_client: storage.Client, blob: storage.Blob,...
0
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'split_visit@grizli/u...
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': 'GaussianDiffusion.ddim_reverse_sample@point_e/diffusion/gaussian_diffusion.py', 'description': 'Sample x_{t+1} from the model using DDIM reverse ODE.', 'signature': 'def ddim_reverse_sample('}</s>{'name': '_extract_into_tensor@point_e/diffusion/gaussian_diffusion.py', 'description': 'Extract values from a 1-D...
1
{'name': 'TorchSnapshotSaver.restore@torchtnt/framework/callbacks/torchsnapshot_saver.py', 'description': "Utility method to restore snapshot state from a path.\n\nThere are additional flags offered should the user want to skip loading the train and eval progress.\nBy default, the train and eval progress are restored, ...
1
{'name': 'getWaf@WAF/WAF-Enhanced-Replicator/wafget.py', 'description': "Prints customer account and calls the right WAF function to get customer's resources.\nThe arguments are a list with the following values: [wafType to be considered (1 = global, 2 = regional), region name, Web ACL ID]", 'signature': 'def getWaf(ar...
0
{'name': 'SyntaxErrorTests.test_nonlocal3@didyoumean/didyoumean_sugg_tests.py', 'description': 'nonlocal must be used only when binding to non-global exists.', 'signature': 'def test_nonlocal3(self):'}</s>DESCREXPECT = (TypeError, re.DESCRIPT_REQUIRES_TYPE_RE)
0
{'name': 'configured_instances@custom_components/mikrotik_router/config_flow.py', 'description': 'Return a set of configured instances.', 'signature': 'def configured_instances(hass):'}</s>CONF_SENSOR_MANGLE = "sensor_mangle"
0
{'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>default_app = AppStack()
0
{'name': 'Field.default_factory@pyfields/core.py', 'description': 'Decorator to register the decorated function as the default factory of a field. Any previously registered\ndefault factory will be overridden.\n\nThe decorated function should accept a single argument `(obj/self)`, and should return a value to use as th...
0
{'name': 'parseOptionsAndInitTestdirs@tools/lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}</s>{'name': '...
0
{'name': 'run_eruption_env@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create a video running Eruption.', 'signature': 'def run_eruption_env('}</s>{'name': 'make_agent_parallel_interface@self_organising_systems/biomakerca/env_logic.py', 'description': "Construct an interface for agent pa...
0
{'name': 'build_badodab_kernel@sgmcmcjax/kernels.py', 'description': 'build BADODAB kernel, a splitting scheme for the 3-equation Langevin diffusion. See https://arxiv.org/abs/1505.06889\n\nArgs:\n dt (float): step size\n loglikelihood (Callable): log-likelihood for a single data point\n logprior (Callable): l...
0
{'name': 'preaggregate_time@verif/data.py', 'description': 'Aggregate array across time\n\nArgs:\n array (np.array): 3D array of observations or forecasts\n times (np.array): 1D array of unixtimes (seconds)\n aggregator (verif.aggregator.Aggregator): Aggregate with this function\n length (float): Aggregate ...
0
{'name': 'test_binaries@kb_python/main.py', 'description': 'Test whether kallisto and bustools binaries are executable.\n\nInternally, this function calls :func:`utils.get_kallisto_version` and\n:func:`utils.get_bustools_version`, both of which return `None` if there is\nsomething wrong with their respective binaries.\...
0
{'name': 'KeyValueStore.transaction@skein/kv.py', 'description': "An atomic transaction on the key-value store.\n\nParameters\n----------\nconditions : Condition or sequence of Conditions, optional\n A sequence of conditions to evaluate together. The conditional\n expression succeeds if all conditions evaluate to...
0
{'name': 'FoundationTestCase2.test_more_expr_commands@tools/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py', 'description': 'More expression commands for objective-c.', 'signature': 'def test_more_expr_commands(self):'}</s>{'name': 'PrintableRegex@tools/lldb/packages/Python/lldbsuite/test/...
0
{'name': 'TestFile.test_report_@tests/test_result_collection.py', 'description': "Tests that 'non-module' docstrings are recoded correctly", 'signature': 'def test_report_(self, node_identifier, has_docstr, ignore_reason):'}</s>{'name': 'AggregatedCount@docstr_coverage/result_collection.py', 'description': 'Counts of d...
0
{'name': 'runBody@cxxtest/cxxtestgen.py', 'description': 'Body of TestDescription::run()', 'signature': 'def runBody( suite, test ):'}</s>{'name': 'writeSuitePointer@cxxtest/cxxtestgen.py', 'description': 'Create static suite pointer object for dynamic suites', 'code': "def writeSuitePointer( output, suite ):\n '''C...
0
{'name': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike...
0
{'name': 'Statement._condition_entries@policyuniverse/statement.py', 'description': 'Extracts any ARNs, Account Numbers, UserIDs, Usernames, CIDRs, VPCs, and VPC Endpoints from a condition block.\n\nIgnores any negated condition operators like StringNotLike.\nIgnores weak condition keys like referer, date, etc.\n\nReas...
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': 'name2test_func@multichecklist/generate_test_utils.py', 'description': 'Maps from the test name to the respective function to generate tests.', 'signature': 'def name2test_func(name):'}</s>{'name': 'generate_intensifiers_tests@multichecklist/generate_test_utils.py', 'description': 'Method to generate intensifi...
1
{'name': 'nestedExpr@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and\nclosing delimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list\n (default= ``"("``); can also ...
0
{'name': 'genesets@pipelines/pipeline_scxl.py', 'description': 'Intermediate target to run geneset tasks', 'signature': 'def genesets(infile, outfile):'}</s>{'name': 'plotExtraSingleR@pipelines/pipeline_scxl.py', 'description': 'Make extra plots to explore the singleR annotations\n(slower, plots not currently included ...
0
{'name': 'inject_envoy_http_proxy_fixture@benchmarks/envoy_proxy.py', 'description': 'Injects an Envoy proxy in front of the test server.\n\nNOTE: Depends on the proxy_config fixture, which must be explicitly imported\ninto the consuming module when using this fixture.\n\nArgs:\n request: supplies the ip version.\n s...
0
{'name': 'gate2zx@discopy/quantum/zx.py', 'description': 'Turns gates into ZX diagrams. ', 'signature': 'def gate2zx(box):'}</s>{'name': 'Functor@discopy/rigid.py', 'description': 'A rigid functor is a closed functor that preserves cups and caps.\n\nParameters:\n ob (Mapping[Ty, Ty]) : Map from atomic :class:`Ty` to...
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': 'element_wise_product@aimacode/utils.py', 'description': 'Return vector as an element-wise product of vectors X and Y', 'signature': 'def element_wise_product(X, Y):'}</s>F = Bool(False)
0
{'name': 'connect@pyngrok/ngrok.py', 'description': 'Establish a new ``ngrok`` tunnel for the given protocol to the given port, returning an object representing\nthe connected tunnel.\n\nIf a `tunnel definition in ngrok\'s config file\n<https://ngrok.com/docs/agent/config/v2/#tunnel-configurations>`_ matches the given\...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACH_MSGS_RCVD = 1634
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQMTOK_NONE_ARRAY = [b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0"]
0
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'test_schema_decorator_partial_match_called_with_args@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_schema_decorator_partial_match_called_with_args()...
0
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_126 = Badge("bomb...
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': 'p_member_declarator@ctypesgen/parser/cgrammar.py', 'description': 'member_declarator : declarator gcc_attributes\n| COLON constant_expression gcc_attributes\n| declarator COLON constant_expression gcc_attributes', 'signature': 'def p_member_declarator(p):'}</s>{'name': 'p_constant_expression@ctypesgen/parser/...
0
{'name': 'fsn2uri@Monika After Story/game/python-packages/mutagen/_senf/_fsnative.py', 'description': "Args:\n path (fsnative): The path to convert to an URI\nReturns:\n `text`: An ASCII only URI\nRaises:\n TypeError: If no `fsnative` was passed\n ValueError: If the path can't be converted\n\nTakes a `fsnat...
0
{'name': 'ParseArguments@scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(args):'}</s>{'name': 'Pat...
0
{'name': 'DebPkgToolsTestCase.test_relationship_parsing@deb_pkg_tools/tests.py', 'description': 'Test the parsing of Debian package relationship declarations.', 'signature': 'def test_relationship_parsing(self):'}</s>ALLOW_HARD_LINKS = coerce_boolean(os.environ.get('DPT_HARD_LINKS', 'true'))
0
{'name': 'BaseRequest.query@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'The :attr:`query_string` parsed into a :class:`FormsDict`. These\nvalues are sometimes called "URL arguments" or "GET parameters", but\nnot to be confused with "URL wildcards" as they are provided by the\n:class:`Router`. ', 's...
0
{'name': 'DayGroupCreateView.form_valid@rosters/views.py', 'description': 'Add all days to day group by default.', 'signature': 'def form_valid(self, form):'}</s>{'name': 'StaffRequestListView@rosters/views.py', 'description': 'StaffRequest List View.', 'base_classes': ['LoginRequiredMixin', 'ListView'], 'methods': [{'...
0
{'name': 'image_preprocessing@Tutorial Deploy to OpenCV dnn/aid_cv2_dnn.py', 'description': 'Wrapper function which performs all image preprocessing steps, required\nfor preparing raw rtdc images to be forwarded through a neural net,\n\nParameters\n----------\nimages: numpy array of shape (nr.images,height,width,channe...
1
{'name': 'load_inventory@src/attributecode/gen.py', 'description': 'Load the inventory file at `location` for ABOUT and LICENSE files stored in\nthe `base_dir`. Return a list of errors and a list of About objects\nvalidated against the `base_dir`.\n\nOptionally use `reference_dir` as the directory location of extra ref...
0
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n...
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': 'p_member_declarator@ctypesgen/parser/cgrammar.py', 'description': 'member_declarator : declarator gcc_attributes\n| COLON constant_expression gcc_attributes\n| declarator COLON constant_expression gcc_attributes', 'signature': 'def p_member_declarator(p):'}</s>{'name': 'LRParser@ctypesgen/parser/yacc.py', 'de...
0
{'name': 'test_RunningSession_endpoint_url@tests/unit/test_session.py', 'description': 'Test pytest_localstack.session.RunningSession.endpoint_url.', 'signature': 'def test_RunningSession_endpoint_url(use_ssl, service_name, not_service_name):'}</s>DEFAULT_AWS_REGION = "us-east-1"
0
{'name': 'BertTokenizer.__init__@albert/albert_zh/tokenization_bert.py', 'description': 'Constructs a BertTokenizer.\n\nArgs:\n **vocab_file**: Path to a one-wordpiece-per-line vocabulary file\n **do_lower_case**: (`optional`) boolean (default True)\n Whether to lower case the input\n Only has an ef...
0
{'name': 'run@onlinejudge_command/subcommand/login.py', 'description': ':returns: whether it is logged in or not.', 'signature': 'def run(args: argparse.Namespace) -> bool:'}</s>{'name': 'get_default_command@onlinejudge_command/utils.py', 'description': 'get_default_command returns a command to execute the default outp...
0
{'name': 'print_line@module/message.py', 'description': 'prints out any string ', 'signature': 'def print_line(value):'}</s>{'name': 'animate_characters@module/message.py', 'description': 'printing ASCII arts line by line', 'code': "def animate_characters(color, string, speed):\n '''printing ASCII arts line by line'...
0
{'name': 'print_numpy@utils/util.py', 'description': 'Print the mean, min, max, median, std, and size of a numpy array\n\nParameters:\n val (bool) -- if print the values of the numpy array\n shp (bool) -- if print the shape of the numpy array', 'signature': 'def print_numpy(x, val=True, shp=False):'}</s>{'name': ...
0
{'name': 'WorkerTestCase.test_sigusr1@tests/integration/test_worker.py', 'description': 'Print stacktrace on SIGUSR1', 'signature': 'def test_sigusr1(self):'}</s>{'name': 'test_heartbeat_error@tests/integration/test_worker.py', 'description': 'HeartbeatError is raised on disconnect', 'code': 'def test_heartbeat_error(r...
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': 'VerticalSwipe.rect@qt4a/andrcontrols.py', 'description': 'left, top, width, height\n ', 'signature': 'def rect(self):'}</s>{'name': 'RadioButton@qt4a/andrcontrols.py', 'description': '单选按钮\n ', 'base_classes': ['CompoundButton'], 'methods': []}
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': 'unpack_properties@mqttools/common.py', 'description': 'Return a dictionary of unpacked properties.\n\n ', 'signature': 'def unpack_properties(packet_name,'}</s>{'name': 'unpack_connect@mqttools/common.py', 'description': 'DOCSTRING', 'code': "def unpack_connect(payload):\n if unpack_string(payload) != '...
0
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'hardware_set_all_frequencies@src/server/server.py', 'description': 'do hardware update for frequencies', 'code': 'def hardware_set_all_frequencies(freqs):\n \'\'\'...
0
{'name': 'get_preview_suffixes@ide/auth.py', 'description': 'Get the last domain parts of domains permitted for testing.', 'signature': 'def get_preview_suffixes():'}</s>{'name': 'chrange@ide/routes.py', 'description': 'DOCSTRING', 'code': 'def chrange(b,e): return set(chr(x) for x in range(ord(b), ord(e)+1))'}
0
{'name': 'less_three_percentage@model.py', 'description': 'less three accuracy for one batch ', 'signature': 'def less_three_percentage(y_true, y_pred, interval):'}</s>{'name': 'less_one_percentage@model.py', 'description': 'less one accuracy for one batch ', 'code': 'def less_one_percentage(y_true, y_pred, interval):\...
0
{'name': 'training_pipeline@alphapy/__main__.py', 'description': 'AlphaPy Training Pipeline\n\nParameters\n----------\nmodel : alphapy.Model\n The model object for controlling the pipeline.\n\nReturns\n-------\nmodel : alphapy.Model\n The final results are stored in the model object.\n\nRaises\n------\nKeyError\n...
1
{'name': 'handle_no_HAR_file_exception@website/web/genericapi.py', 'description': 'The capture has no HAR file, it failed for some reason.', 'signature': 'def handle_no_HAR_file_exception(error: Any) -> Response:'}</s>{'name': 'RebuildAllCache@website/web/genericapi.py', 'description': 'DOCSTRING', 'base_classes': ['Re...
0
{'name': 'get_status@tools/pydfu.py', 'description': 'Get the status of the last operation.', 'signature': 'def get_status():'}</s>__DFU_STATE_DFU_MANIFEST = 7
0
{'name': 'plot_tuning_curves1D@nelpy/plotting/core.py', 'description': "WARNING! This function is not complete, and hence 'private',\nand may be moved somewhere else later on.\n\nIf pad=0 then the y-axis is assumed to be firing rate", 'signature': 'def plot_tuning_curves1D(ratemap, ax=None, normalize=False, pad=None, u...
0
{'name': 'Pdf.Render@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Generates a sequence of points suitable for plotting.\n\nIf options includes low and high, it must also include n;\nin that case the density is evaluated an n locations between\nlow and high, including both.\n\nIf options includes xs, the den...
0
{'name': 'WindowsProjectTestCase.test_empty_xpsp3pro_project_config@tests/commands/project_creation/test_windows_project.py', 'description': 'Test empty Windows XP SP3 project creation.', 'signature': 'def test_empty_xpsp3pro_project_config(self):'}</s>{'name': 'WindowsProjectTestCase@tests/commands/project_creation/te...
1
{'name': 'BaseG2Ciphersuite.Aggregate@2021/Crypto/Trouble With Pairs/Handout/BLS.py', 'description': 'The Aggregate algorithm aggregates multiple signatures into one.\nRaise `ValidationError` when there is input validation error.', 'signature': 'def Aggregate(cls, signatures: Sequence[BLSSignature]) -> BLSSignature:'}<...
0
{'name': 'test_org_admin_get_mitre_org@test-http/src/test/org_user_tests/org_as_org_admin.py', 'description': 'services api rejects requests for secretariat by non-secretariat users ', 'signature': 'def test_org_admin_get_mitre_org(org_admin_headers):'}</s>{'name': 'test_org_admin_get_secretariat_id_quota_info@test-htt...
0
{'name': 'UVd.step@preconditioned_stochastic_gradient_descent.py', 'description': "Performs a single step of PSGD with low-rank modification (UVd) preconditioner, i.e., \nupdating the trainable parameters once, and returning what closure returns.\n\nArgs:\n closure (callable): a closure that evaluates the function o...
0
{'name': 'format_table@aegea/util/printing.py', 'description': 'Table pretty printer. Expects tables to be given as arrays of arrays::\n\n print(format_table([[1, "2"], [3, "456"]], column_names=[\'A\', \'B\']))', 'signature': 'def format_table(table, column_names=None, column_specs=None, max_col_width=32, auto_col_...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIT_GROUP_ID = 5
0
{'name': 'combineNNNer@code/parseJsontoFeatures.py', 'description': 'add more named entities pronoun into dict', 'signature': 'def combineNNNer(nnlist,features,corefs):'}</s>{'name': 'findNNPNN@code/parseJsontoFeatures.py', 'description': 'find named entities pronoun', 'code': 'def findNNPNN(tokens):\n """find named...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQAS_STOPPED = 3
0
{'name': 'read_reshape2d@postprocessing/science/compute_diff_seissol_data.py', 'description': 'read seissol dataset\nand if there is only one time stamp\ncreate a second dimension of size 1', 'signature': 'def read_reshape2d(sx, dataname):'}</s>{'name': 'return_sorted_geom_connect@postprocessing/science/compute_diff_se...
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': 'eGetRawS@src/LabJackPython.py', 'description': 'Function not yet implemented.\n\nFor Windows only.', 'signature': 'def eGetRawS(Handle, pIOType, Channel, pValue, x1):'}</s>LJ_rgBIP4V = 4
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': 'polyphony_rate@muspy/metrics/metrics.py', 'description': 'Return the ratio of time steps where multiple pitches are on.\n\nThe polyphony rate is defined as the ratio of the number of time\nsteps where multiple pitches are on to the total number of time\nsteps. Drum tracks are ignored. Return NaN if song lengt...
0
{'name': 'convert_developers@code/html/generate_static_website.py', 'description': ':param developers:\n:param entries:\n:return:', 'signature': 'def convert_developers(developers, entries):'}</s>{'name': 'is_inactive@code/utils/osg.py', 'description': 'DOCSTRING', 'code': "def is_inactive(entry):\n state = entry['S...
0
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'Unordered@voluptuous/validators.py', 'description': "Ensures sequence contains values in unspecified order.\n\n>>> s = Schema(Unordered([2, 1]))\n>>> s([2, 1])\n[2, 1]\n>>> s([...
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>{'name': 'masked_less_equal@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Mask an array where less than or equal to a given value.\n\nThis...
0