text
string
label
int64
{'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': 'qa@tasks.py', 'description': 'Run a quality report', 'signature': 'def qa(ctx):'}</s>{'name': 'assets@tasks.py', 'description': 'Fetch web assets', 'code': 'def assets(ctx):\n """Fetch web assets"""\n header(assets.__doc__)\n with ctx.cd(ROOT):\n ctx.run("npm install")\n ctx.run("mkdir ...
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
0
{'name': 'MarkerManager.mark_compiler_output@parseoutput.py', 'description': 'Parse text into a list of OutputMessage objects.\n ', 'signature': 'def mark_compiler_output(self, view, banner, base_dir, text, exit_code):'}</s>{'name': 'module_location@symbols.py', 'description': 'DOCSTRING', 'code': 'def module_lo...
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': 'BetweenMixins.assertBetween@marbles/mixins/marbles/mixins/mixins.py', 'description': 'Fail if ``obj`` is not between ``lower`` and ``upper``.\n\nIf ``strict=True`` (default), fail unless\n``lower < obj < upper``. If ``strict=False``, fail unless\n``lower <= obj <= upper``.\n\nThis is equivalent to ``self.asse...
0
{'name': 'discover_saml_provider@aws-inventory/lambda/inventory-iam.py', 'description': "Queries AWS to determine SAML Providers exist (and who you're trusting)", 'signature': 'def discover_saml_provider(account):'}</s>SAML_RESOURCE_PATH = "iam/saml"
1
{'name': 'resume@supervized_partition/supervized_partition.py', 'description': 'Loads model and optimizer state from a previous checkpoint. ', 'signature': 'def resume(args):'}</s>{'name': 'read_embeddings@supervized_partition/graph_processing.py', 'description': 'read the input point cloud in a format ready for embedd...
0
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'traceParseAction@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendo...
0
{'name': 'engine.number_to_words@src/bids/external/inflect.py', 'description': 'Return a number in words.\n\ngroup = 1, 2 or 3 to group numbers before turning into words\ncomma: define comma\n\nandword:\n word for \'and\'. Can be set to \'\'.\n e.g. "one hundred and one" vs "one hundred one"\n\nzero: word for \'0...
0
{'name': 'MultipleChoiceFilterTests.test_filter_conjoined_true@tests/test_filters.py', 'description': 'Tests that a filter with `conjoined=True` returns objects that\nhave all the values included in `value`. For example filter\nusers that have all of these books.', 'signature': 'def test_filter_conjoined_true(self):'}<...
1
{'name': 'CalculateTestLists@swap-ssdb-1.9.2/tests/googletest/googletest/test/gtest_shuffle_test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>SHUFFLED_FILTERED_TESTS = []
1
{'name': 'MPyNode._getGenericInput@scripts/mpylib/_mpynode/mpynode_obj.py', 'description': 'Generic method fot getting the plugs input value using the given MDataHandle function name (get_func_name).\nReturns a value or tuple of values depending on the is_array arg.', 'signature': 'def _getGenericInput(self, data_block...
0
{'name': '_process_dataset@slim/datasets/build_imagenet_data.py', 'description': "Process a complete data set and save it as a TFRecord.\n\nArgs:\n name: string, unique identifier specifying the data set.\n directory: string, root path to the data set.\n num_shards: integer number of shards for this data set.\n syn...
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>MQSECITEM_MXTOPIC = 11
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': 'double_sum@pythoncourse/coursecode/xlwings/backtest_xl/backtest_xl.py', 'description': 'Returns twice the sum of the two arguments', 'signature': 'def double_sum(x, y):'}</s>{'name': 'calculate_event@pythoncourse/coursecode/xlwings/backtest_xl/backtest_xl.py', 'description': 'DOCSTRING', 'code': "def calculat...
0
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>SIGHASH_NONE = 2
0
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat...
0
{'name': 'run_model_on_ep@onnxruntime/python/tools/tensorrt/perf/benchmark.py', 'description': 'Benchmarks and/or validates the given model on the given EP.\n\n:param args: The command-line arguments to this script.\n:param model_name: The name of the model to run.\n:param model_info: A dictionary that contains paths t...
1
{'name': 'Muse.connect@muselsl/muse.py', 'description': 'Connect to the device', 'signature': 'def connect(self, interface=None, retries=0):'}</s>MUSE_GATT_ATTR_STREAM_TOGGLE = "273e0001-4c4d-454d-96be-f03bac821358"
0
{'name': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_...
0
{'name': 'writeSuites@cxxtest/cxxtestgen.py', 'description': 'Write all TestDescriptions and SuiteDescriptions', 'signature': 'def writeSuites(output):'}</s>{'name': 'writeSuiteObject@cxxtest/cxxtestgen.py', 'description': 'Create static suite object for non-dynamic suites', 'code': 'def writeSuiteObject( output, suite...
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': 'BaseOptions.initialize@options/base_options.py', 'description': 'Define the common options that are used in both training and test.', 'signature': 'def initialize(self, parser):'}</s>{'name': 'mkdir@util/util.py', 'description': "create a single empty directory if it didn't exist\n\nParameters:\n path (str...
0
{'name': 'main@tools/lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Run dotest.py in inferior mode in parallel.\n\n@param num_threads the parsed value of the num-threads command line\nargument.\n\n@param test_subdir optionally specifies a subdir to limit testing\nwithin. May be None if the entire test ...
0
{'name': 'test_deserialize@tests/test_pubsub_sentinel.py', 'description': 'Test default deserialization method', 'signature': 'def test_deserialize(channel_layer):'}</s>{'name': 'test_multi_send_receive_sync@tests/test_pubsub_sentinel.py', 'description': 'DOCSTRING', 'code': 'def test_multi_send_receive_sync(channel_la...
0
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inline=False):'}</s>...
0
{'name': 'test_email_validation_with_none@voluptuous/tests/tests.py', 'description': 'Test with invalid None email address', 'signature': 'def test_email_validation_with_none():'}</s>{'name': 'ContainsInvalid@voluptuous/error.py', 'description': 'List does not contain item', 'base_classes': ['Invalid'], 'methods': []}
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': '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': 'IsOutOfLineMethodDefinition@tools/cpplint.py', 'description': 'Check if current line contains an out-of-line method definition.\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 an out-of-line method d...
0
{'name': 'roleassign@code/link_coref.py', 'description': 'assign role to argument followed type of event', 'signature': 'def roleassign(allevent,pred_result,sentences):'}</s>{'name': 'load_model_realis@code/link_coref.py', 'description': 'load trained model for predicting realis', 'code': 'def load_model_realis(realist...
0
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>ICMP_UNREACH_HOST_PROHIB = 10
0
{'name': 'EVPTestCase.test_get_ec@tests/test_evp.py', 'description': 'Testing retrieving the EC key from the PKey instance.', 'signature': 'def test_get_ec(self):'}</s>NID_secp128r1 = m2.NID_secp128r1
0
{'name': 'takeMiniTimelapse@source/pi-timolo.py', 'description': 'Take a motion tracking activated mini timelapse sequence\nusing yield if motion triggered', 'signature': 'def takeMiniTimelapse(moPath, prefix, NumOn, motionNumCount, currentDayMode, NumPath):'}</s>{'name': 'takePano@source/pi-timolo.py', 'description': ...
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': 'QueryXpathCommand.cache_context_nodes@xpath.py', 'description': 'Cache context nodes to allow live mode to work with them.', 'signature': 'def cache_context_nodes(self):'}</s>settings = None
0
{'name': 'P2PConnection.disconnect_node@test/functional/test_framework/mininode.py', 'description': 'Disconnect the p2p connection.\n\nCalled by the test logic thread. Causes the p2p connection\nto be disconnected on the next iteration of the asyncore loop.', 'signature': 'def disconnect_node(self):'}</s>COIN = 1000000...
0
{'name': 'JupyterWidget.set_default_style@qtconsole/jupyter_widget.py', 'description': 'Sets the widget style to the class defaults.\n\nParameters\n----------\ncolors : str, optional (default lightbg)\n Whether to use the default light background or dark\n background or B&W style.', 'signature': "def set_default_...
1
{'name': 'Confidence._assign_confidence@mokapot/confidence.py', 'description': 'Assign confidence estimates to PSMs and peptides.\n\nThis method processes the dataset to assign confidence estimates\n(q-values and PEPs) at different levels (PSMs, peptides) using the\nspecified algorithms. It can optionally stream the co...
1
{'name': 'ShopTests.setUp@tests/test_shop.py', 'description': 'Set up test data - category, product and options.', 'signature': 'def setUp(self):'}</s>{'name': 'SaleTests@tests/test_shop.py', 'description': 'DOCSTRING', 'base_classes': ['TestCase'], 'methods': [{'name': 'SaleTests.setUp@tests/test_shop.py', 'descriptio...
0
{'name': 'Fuels.generate_biofuel_activities@premise/fuels.py', 'description': 'Create region-specific biofuel datasets.\nUpdate the conversion efficiency.\n:return:', 'signature': 'def generate_biofuel_activities(self):'}</s>FUEL_MARKETS = DATA_DIR / "fuels" / "fuel_markets.yml"
0
{'name': 'BaseResponse.add_header@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Add an additional response header, not removing duplicates. ', 'signature': 'def add_header(self, name, value):'}</s>_HTTP_STATUS_LINES = dict((k, '%d %s'%(k,v)) for (k,v) in HTTP_CODES.items())
0
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': '_get_html_precedence@src/api/python/z...
0
{'name': 'openLabJack@src/LabJackPython.py', 'description': 'openLabJack(deviceType, connectionType, firstFound = True, pAddress = 1, LJSocket = None)\n\nNote: On Windows, UE9 over Ethernet, pAddress MUST be the IP address. ', 'signature': 'def openLabJack(deviceType, connectionType, firstFound = True, pAddress = None,...
0
{'name': 'dumps@goblin/fileio/graphson.py', 'description': 'Convert Goblin elements to GraphSON', 'signature': 'def dumps(adj_list):'}</s>writer = graphson.GraphSONWriter()
0
{'name': 'NNPolicy.forward@projects/reinforcement learning/covid19_confounder/utils.py', 'description': 'Compute action logits from observation.\n\nParameters\n----------\nobs: A Tensor of shape [batch_size, obs_dim].\n\nReturns\n-------\nA Tensor of shape [batch_size, ac_dim].', 'signature': 'def forward(self, obs):'}...
1
{'name': 'BaseFormatter.get_colors@saltlint/formatters/base.py', 'description': 'Return the colors as a dict, pass False to return the colors as empty\nstrings.', 'signature': 'def get_colors(self, use=True):'}</s>{'name': 'BaseFormatter@saltlint/formatters/base.py', 'description': 'DOCSTRING', 'base_classes': ['object...
1
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inline=False):'}</s>...
0
{'name': 'default_renderer_base@altair/utils/display.py', 'description': 'A default renderer for Vega or VegaLite that works for modern frontends.\n\nThis renderer works with modern frontends (JupyterLab, nteract) that know\nhow to render the custom VegaLite MIME type listed above.', 'signature': 'def default_renderer_...
0
{'name': 'versus_rest@diffxpy/testing/tests.py', 'description': 'Perform pairwise differential expression test between two groups on adata object\nfor each gene for each groups versus the rest of the data set.\n\nThis function wraps the selected statistical test for the scenario of\na two sample comparison. All unit_te...
0
{'name': 'CheckForNonConstReference@third_party/cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance conta...
0
{'name': 'document@api/project/__init__.py', 'description': 'Returns the matching document(s) from the specified index\n\nParameters\n----------\nrequest : Request\n Uses \'from\', \'to\', \'limit\', \'filter\', and \'doctype\' from request arguments\n\nReturns\n-------\nfilter\n dict containing the filters, e.g....
0
{'name': 'ProcessFileData@tools/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a li...
0
{'name': 'relative_strength_index@Python/useful_examples/CalculateEMA/indicators.py', 'description': 'Calculate Relative Strength Index(RSI) for given data.\n\n:param df: pandas.DataFrame\n:param n:\n:return: pandas.DataFrame', 'signature': 'def relative_strength_index(df, n):'}</s>{'name': 'bollinger_bands@Python/usef...
0
{'name': 'main@Simple_CRuD_Blog_App_with_Streamlit/blog_app(unrefactored).py', 'description': 'A Simple CRUD Blog App', 'signature': 'def main():'}</s>{'name': 'get_blog_by_msg@Simple_CRuD_Blog_App_with_Streamlit/blog_app(unrefactored).py', 'description': 'DOCSTRING', 'code': 'def get_blog_by_msg(article):\n c.execu...
0
{'name': 'Consul.__init__@consulate/client.py', 'description': 'Create a new instance of the Consul class', 'signature': 'def __init__(self,'}</s>CONTENT_JSON = "application/json; charset=utf-8"
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': 'gen_inc_module@da/compiler/incgen.py', 'description': 'Generates the interface file from a DistPy AST.', 'signature': 'def gen_inc_module(daast, cmdline_args, filename=""):'}</s>STUB_INIT = " def {name}(): global {var} {var} = {type}() return {var} "
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': 'test_wave_lava@self_organising_systems/biomakerca/extensions/eruption.py', 'description': "Create a video while testing init_progra...
0
{'name': 'WSCTask.load_dataset@examples/roberta/wsc/wsc_task.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset('}</s>{'name': 'lengths_to_mask@fairseq/data/data_utils.py', 'description': 'DOCSTRING', 'code': 'def len...
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': 'sleep_receiver_function@testproject/testapp/tests.py', 'description': 'Sleeps for one second.\n\nThis is used to sleep for a second after every Stormpath resource is\ncreated, to avoid test failures.', 'signature': 'def sleep_receiver_function(signal, sender, data, params):'}</s>CLIENT = Client( id = sett...
0
{'name': '_FloatingPointEncoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for float fields.\n\nThis is like StructPackEncoder, but catches errors that may be due to\npassing non-finite floating-point values to struct.pack, and ...
0
{'name': 'TrainingJob.start@loudml/server.py', 'description': 'Submit training job to worker pool', 'signature': 'def start(self, config):'}</s>{'name': 'TransportError@loudml/errors.py', 'description': "Exception raised when LML returns a non-OK (>=400) HTTP status code.\nOr when an actual connection error happens; in...
0
{'name': 'NamespaceLookupTestCase.test_scope_ambiguity_after_using_lookup_with_run_command@tools/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py', 'description': 'Test scope lookup ambiguity after using in lldb.', 'signature': 'def test_scope_ambiguity_after_using_lookup_with_run_command(s...
0
{'name': 'get_logger@pydactyl/api_client.py', 'description': 'Get the default logger.', 'signature': 'def get_logger() -> logging.Logger:'}</s>{'name': 'Locations@pydactyl/api/locations.py', 'description': 'Class for interacting with the Pterdactyl Locations API.', 'base_classes': ['PterodactylAPI'], 'methods': [{'name...
0
{'name': 'CSSParser.parse_selectors@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse selectors.', 'signature': 'def parse_selectors(self, iselector, index=0, flags=0):'}</s>CSS_DEFAULT = CSSParser( ''' :checked, /* This pattern must be at the end. Spe...
0
{'name': 'Knode.get_node@kabuki/hierarchical.py', 'description': "Return the node that depends on the same elements.\n\nCalled by the child to receive specific parent node.\n\n:Arguments:\n col_to_elem : dict\n Maps column names to elements.\n e.g. {'col1': 'elem1', 'col2': 'elem2', 'col3': 'elem3'}", ...
0
{'name': 'NestingState.Update@tools/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.', ...
0
{'name': 'ModbusServer.__init__@pyModbusTCP/server.py', 'description': "Constructor\n\nModbus server constructor.\n\n:param host: hostname or IPv4/IPv6 address server address (default is 'localhost')\n:type host: str\n:param port: TCP port number (default is 502)\n:type port: int\n:param no_block: no block mode, i.e. s...
1
{'name': 'varname@varname/core.py', 'description': "Get the name of the variable(s) that assigned by function call or\nclass instantiation.\n\nTo debug and specify the right frame and ignore arguments, you can set\ndebug on and see how the frames are ignored or selected:\n\n>>> from varname import config\n>>> config.de...
0
{'name': 'TestFacebookWebMiddleware.test_application_authorization@tests/test_fandjango.py', 'description': 'Verify that the user is redirected to authorize the application\nupon querying a view decorated by ``facebook_authorization_required``\nsans code nor access token.', 'signature': 'def test_application_authorizat...
0
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'Elf@gef.py', 'description': 'Basic ELF parsi...
0
{'name': 'Dispatch.__getattr__@comtypes/client/lazybind.py', 'description': 'Get a COM attribute.', 'signature': 'def __getattr__(self, name):'}</s>VT_R4 = 4
0
{'name': '_create_ssl_context_no_verify@icesat2_toolkit/utilities.py', 'description': 'Creates an SSL context for unverified connections\n ', 'signature': 'def _create_ssl_context_no_verify() -> ssl.SSLContext:'}</s>{'name': 'generate_presigned_url@icesat2_toolkit/utilities.py', 'description': 'Generate a presigned ...
0
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>S_IFDIR = 16384
0
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose=False):'}</s>{'name': 'do_setup@versioneer.py', 'description': 'Do main VCS-independent setup function for insta...
0
{'name': 'OSXBootstrapper.ensure_package_manager@python/mozboot/mozboot/osx.py', 'description': 'Search package mgr in sys.path, if none is found, prompt the user to install one.\nIf only one is found, use that one. If both are found, prompt the user to choose\none.', 'signature': 'def ensure_package_manager(self):'}</...
1
{'name': 'CARE.train@csbdeep/models/care_standard.py', 'description': 'Train the neural network with the given data.\n\nParameters\n----------\nX : :class:`numpy.ndarray`\n Array of source images.\nY : :class:`numpy.ndarray`\n Array of target images.\nvalidation_data : tuple(:class:`numpy.ndarray`, :class:`numpy....
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': 'BaseProxyObject.get_interface@dbus_next/proxy_object.py', 'description': 'Get an interface exported on this proxy object and connect it to the bus.\n\n:param name: The name of the interface to retrieve.\n:type name: str\n\n:raises:\n - :class:`InterfaceNotFoundError <dbus_next.InterfaceNotFoundError>` - If...
1
{'name': '_makeTags@blockchain-env/lib/python3.7/site-packages/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml,'}</s>system_version = tuple(sys.version_info)[:3]
0
{'name': 'SensorHandler.validate_arming_event@custom_components/alarmo/sensors.py', 'description': 'check whether all sensors have the correct state prior to arming.', 'signature': 'def validate_arming_event(self, area_id: str, target_state: str = None, **kwargs):'}</s>_LOGGER = logging.getLogger(__name__)
0
{'name': 'CardExtractor.split_pow_tgh@mtglib/card_extractor.py', 'description': "Split a power/toughness string on the correct slash.\n\nCorrectly accounts for curly braces to denote fractions.\nE.g., '2/2' --> ['2', '2']\n'3{1/2}/3{1/2}' --> ['3{1/2}', '3{1/2}']", 'signature': 'def split_pow_tgh(self, text):'}</s>RARI...
0
{'name': 'PortManager.check_modem_lines@serial/rfc2217.py', 'description': 'read control lines from serial port and compare the last value sent to remote.\nsend updates on changes.', 'signature': 'def check_modem_lines(self, force_notification=False):'}</s>LINESTATE_MASK_SHIFTREG_EMPTY = 64
0
{'name': '_create_dsmr_protocol@dsmr_parser/clients/protocol.py', 'description': 'Creates a DSMR asyncio protocol.', 'signature': 'def _create_dsmr_protocol(dsmr_version, telegram_callback, protocol, loop=None, **kwargs): #noqa'}</s>SERIAL_SETTINGS_V2_2 = { 'baudrate': 9600, 'bytesize': serial.SEVENBITS, 'p...
1
{'name': 'is_manifest_folder@operatorcourier/manifest_parser.py', 'description': ':param folder_path: the path of the input folder\n:return: True if the folder contains valid operator manifest files (at least\n 1 valid CSV file), False otherwise', 'signature': 'def is_manifest_folder(folder_path):'}</s>{'name':...
0
{'name': 'CheckStyle@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside co...
0
{'name': 'PSStackParser.nextobject@pdfminer3/psparser.py', 'description': 'Yields a list of objects.\n\nReturns keywords, literals, strings, numbers, arrays and dictionaries.\nArrays and dictionaries are represented as Python lists and dictionaries.', 'signature': 'def nextobject(self):'}</s>END_HEX_STRING = re.compile...
0
{'name': 'versus_rest@diffxpy/testing/tests.py', 'description': 'Perform pairwise differential expression test between two groups on adata object\nfor each gene for each groups versus the rest of the data set.\n\nThis function wraps the selected statistical test for the scenario of\na two sample comparison. All unit_te...
1
{'name': 'IREP._grow_ruleset_cn@wittgenstein/irep.py', 'description': 'Grow a Ruleset with (optional) pruning.', 'signature': 'def _grow_ruleset_cn(self, pos_df, neg_df, initial_model=None):'}</s>{'name': 'weighted_avg_freqs@wittgenstein/utils.py', 'description': 'Return weighted mean proportions of counts in the list....
0
{'name': 'CSSParser.selector_iter@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Iterate selector tokens.', 'signature': 'def selector_iter(self, pattern):'}</s>RE_WEEK = re.compile(r'^(?P<year>[0-9]{4,})-W(?P<week>[0-9]{2})$')
0
{'name': 'Dispatch.__getattr__@comtypes/client/lazybind.py', 'description': 'Get a COM attribute.', 'signature': 'def __getattr__(self, name):'}</s>DISPID_COLLECT = -8
0
{'name': 'BaseResponse.add_header@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Add an additional response header, not removing duplicates. ', 'signature': 'def add_header(self, name, value):'}</s>__license__ = "MIT"
0
{'name': 'ensure_subnet@aegea/util/aws/__init__.py', 'description': 'Find and return a subnet in the given VPC, or create one subnet per AZ and return one of them if no suitable subnet\nis found.', 'signature': 'def ensure_subnet(vpc, availability_zone=None, assign_ipv6_cidr_blocks=False):'}</s>{'name': 'make_waiter@ae...
0
{'name': 'train@src/train.py', 'description': 'Trains the model\n\n:param config:\n:return:', 'signature': 'def train(config):'}</s>{'name': 'Batcher@src/data/Batcher.py', 'description': 'Batcher is responsible for returning batches of data', 'base_classes': ['object'], 'methods': [{'name': 'Batcher.__init__@src/data/B...
1
{'name': 'set_key_value@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Send key value to device', 'signature': 'def set_key_value(sniffer, payload):'}</s>last_used_advhop = "37,38,39"
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_DEST_NAME_ERROR = 2264
0