text string | label int64 |
|---|---|
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQQSGS_CREATED = 1 | 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': 'on_restart_server@src/server/server.py', 'description': 'Re-execute the current process.', 'signature': 'def on_restart_server():'}</s>{'name': 'on_restore_deleted_lap@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def on_restore_deleted_lap(data):\n RaceContext.race.restore_deleted_lap(data)'... | 0 |
{'name': 'CollapsingMergeTree.get_insert_batch@src/django_clickhouse/engines.py', 'description': 'Gets a list of model_cls instances to insert into database\n:param model_cls: ClickHouseModel subclass to import\n:param objects: A list of django Model instances to sync\n:return: A list of model_cls objects', 'signature'... | 1 |
{'name': 'DebuggerAPI.do_delete@tools/p4dbg.py', 'description': "Unsets a break point, previously set with the 'break' command: delete(d) <obj_type> <obj_name>", 'signature': 'def do_delete(self, line):'}</s>field_map = FieldMap() | 0 |
{'name': 'match_resolution@macrodensity/tools.py', 'description': 'Match the resolutions of two datasets by cubic spline interpolation.\n\nParameters:\n A (:obj:`numpy.ndarray`): The first dataset containing potential values in the format (x, potential).\n\n B (:obj:`numpy.ndarray`): The second dataset containing... | 0 |
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>{'name': 'on_cluster_event_trigger@src/server/server.py', 'description': 'Received event trigger from primary. ', 'code': "def on_cluster_event_trigger(data):\n ''' Receive... | 0 |
{'name': 'setup_java_class@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'returns an example java class with the\ngiven content_to_add contained within a method.', 'signature': 'def setup_java_class(content_to_add):'}</s>{'name': 'BasicType@baseline_tokenization/javalang/tree.py', 'descript... | 0 |
{'name': 'BareValidator._validate_items@cerberus/validator.py', 'description': "{'type': 'list', 'check_with': 'items'}", 'signature': 'def _validate_items(self, items, field, values):'}</s>NOT_NULLABLE = ErrorDefinition(0x23, 'nullable') | 0 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>{'nam... | 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>MQGACF_ALL_APPLS = 8020 | 0 |
{'name': 'git_pieces_from_vcs@versioneer.py', 'description': "Get version from 'git describe' in the root of the source tree.\n\nThis only gets called if the git-archive 'subst' keywords were *not*\nexpanded, and _version.py hasn't already been rewritten with a short\nversion string, meaning we're inside a checked out ... | 0 |
{'name': 'main@kb_python/main.py', 'description': 'Command-line entrypoint.\n ', 'signature': 'def main():'}</s>PACKAGE_PATH = os.path.abspath(os.path.dirname(__file__)) | 0 |
{'name': 'NetSuiteClient.upsert@netsuitesdk/internal/client.py', 'description': "Add an object of type recordType with given externalId..\nIf a record of specified type with matching externalId already\nexists, it is updated.\n\nUsage example:\n customer = self.Customer()\n customer.externalId = 'customer_id'\n ... | 1 |
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'print_json_dict@src/python_scripts/afnipy/afni_util.py', 'description': 'DOCSTRING', 'code': "def print_json_dict(... | 0 |
{'name': 'show_settings@versions/speed-cam_13.07.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>align_filename = os.path.join(IM_RECENT_DIR_PATH, "align_cam.jpg") | 0 |
{'name': 'create_yoy_chart@src/fitly/pages/performance.py', 'description': ':param metric: Allowed values from strava summary table [hrss, tss, trimp, distance, elapsed_time, high_intensity_seconds, mod_intensity_seconds, low_intensity_seconds]\n:return:', 'signature': "def create_yoy_chart(metric, sport='all'):"}</s>{... | 0 |
{'name': 'Modules@vimdoc/module.py', 'description': 'Creates modules from a plugin directory.\n\nNote that there can be many, if a plugin has standalone parts that merit their\nown helpfiles.\n\nArgs:\n directory: The plugin directory.\nYields:\n Module objects as necessary.', 'signature': 'def Modules(directory):'}<... | 0 |
{'name': 'p_unary_expression@ctypesgen/parser/cgrammar.py', 'description': 'unary_expression : postfix_expression\n| INC_OP unary_expression\n| DEC_OP unary_expression\n| unary_operator cast_expression\n| SIZEOF unary_expression\n| SIZEOF LPAREN type_name RPAREN\n| asm_expression', 'signature': 'def p_unary_expression(... | 0 |
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>LJE_STREAM_ORDER_ERROR = 15 | 0 |
{'name': 'find_on_path@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Yield distributions accessible on a sys.path directory', 'signature': 'def find_on_path(importer, path_item, only=False):'}</s>{'name': '_macosx_vers@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'DOCSTRING', 'code': "... | 0 |
{'name': 'VectorVariable.format_value@software/hermeslite/VCDWriter.py', 'description': "Format value change for VCD stream.\n\n:param value: New value for the variable.\n:types value: int, str, or None\n:raises ValueError: for *some* invalid values.\n\nA *value* of `None` is the same as `'z'`.\n\n.. Warning::\n\n I... | 0 |
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'model_eval@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def model_eval(model):\n is_training = model.training\n model.eval()\n yie... | 0 |
{'name': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi... | 0 |
{'name': 'init_screen@displays/inkyphat.py', 'description': 'Prepare the screen for drawing and return the draw variables\n ', 'signature': 'def init_screen(color):'}</s>lntxbot_balance_2 = "Your current balance:" | 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': '_coerce_fp_expr_list@src/api/python/... | 0 |
{'name': 'preprocess_inputs_std@pixel_decoder/utils.py', 'description': "The means and stds are train and validation base.\nIt need to be train's stds and means. It might be ok since we are doing KFold split here", 'signature': 'def preprocess_inputs_std(x, mean, std):'}</s>{'name': 'cache_stats@pixel_decoder/utils.py'... | 0 |
{'name': '_makeTags@scripts/pdns/lib/python2.7/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': '_ParseResultsWithOffset@scripts/pdns/lib/python2.7/site-packages... | 0 |
{'name': 'Translator.get_options_for_model@modeltranslation/translator.py', 'description': 'Thin wrapper around ``_get_options_for_model`` to preserve the\nsemantic of throwing exception for models not directly registered.', 'signature': 'def get_options_for_model(self, model: type[Model]) -> TranslationOptions:'}</s>{... | 1 |
{'name': 'setup_handlers@jupyter-extension/jupyterlab_pachyderm/handlers.py', 'description': 'Sets up the Pachyderm client and the HTTP request handler.\n\nConfig for the Pachyderm client will first be attempted by reading\nthe local config file. This falls back to the PACHD_ADDRESS and\nDEX_TOKEN env vars, and finally... | 1 |
{'name': 'LTL.dumps@tulip/spec/form.py', 'description': 'Dump TuLiP LTL file string.\n\n@param timestamp:\n If True, then add comment to file with\n current time in UTC.', 'signature': 'def dumps('}</s>{'name': '_conj@tulip/spec/form.py', 'description': 'DOCSTRING', 'code': "def _conj(\n iterable:\n ... | 0 |
{'name': 'Client.set_api_version@SalesforcePy/sfdc.py', 'description': 'Sets the api version to be used by the client. If not provided, it will get the latest version\navailable\n\n:return: set version kwarg on client if not defined', 'signature': 'def set_api_version(self, **kwargs):'}</s>{'name': 'ExecuteAnonymous@Sa... | 0 |
{'name': 'RPNPostProcessor.add_gt_proposals@model/modeling/rpn/inference.py', 'description': 'Arguments:\n proposals: list[BoxList]\n targets: list[BoxList]', 'signature': 'def add_gt_proposals(self, proposals, targets):'}</s>{'name': 'RPNPostProcessor@model/modeling/rpn/inference.py', 'description': 'Performs po... | 1 |
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t... | 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': 'merge@sidechainnet/utils/align.py', 'description': 'Returns True iff when pn_seq and my_seq are aligned, the resultant mask is the same\nas reported by ProteinNet.\n\nAlso returns the computed_mask that matches with ProteinNet', 'signature': 'def merge(aligner, pn_entry, sc_entry, pnid, attempt_number=0, igno... | 1 |
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'get_command_str@src/python_scripts/afnipy/afni_util.py', 'description': 'return a script generation command\n\narg... | 0 |
{'name': 'get_config@annoying/functions.py', 'description': "Get settings from django.conf if exists,\nreturn default value otherwise\n\nexample:\n\nADMIN_EMAIL = get_config('ADMIN_EMAIL', 'default@email.com')", 'signature': 'def get_config(key, default=None):'}</s>{'name': 'get_object_or_None@annoying/functions.py', '... | 0 |
{'name': 'Controller.choose_and_send_file@tg/controllers.py', 'description': 'Call file picker and send chosen file based on mimetype', 'signature': 'def choose_and_send_file(self) -> None:'}</s>HandlerType = Callable[[Any], Optional[str]] | 0 |
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'RpzARecord@infoblox_client/objects.py', 'description': 'RpzARecord: Response ... | 0 |
{'name': 'TLP.set_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completion for TLP', 'signature': 'def set_completion(self, tlp, completer_id, has_data=False, status=CPL_STATUS_SC):'}</s>{'name': 'PcieExtCapList@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'base_classes': ['PcieCapList'], 'met... | 0 |
{'name': 'LatentDiffusion._prior_bpd@ldm/models/diffusion/ddpm.py', 'description': "Get the prior KL term for the variational lower-bound, measured in\nbits-per-dim.\nThis term can't be optimized, as it only depends on the encoder.\n:param x_start: the [N x C x ...] tensor of inputs.\n:return: a batch of [N] KL values ... | 0 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'BoolRef@src/api/python/z3/z3.py', 'description': 'All Boolean expressions are instances of this class.', 'base_classes': ['Ex... | 0 |
{'name': 'TauronAmiplusConfigFlowSensor.__init__@custom_components/tauron_amiplus/sensor.py', 'description': 'Initialize the sensor.', 'signature': 'def __init__(self, coordinator: TauronAmiplusUpdateCoordinator, name: str, meter_id: str, sensor_type: str,'}</s>{'name': 'TauronAmiplusSensor@custom_components/tauron_ami... | 0 |
{'name': 'Function.get_parameters@sqlparse/sql.py', 'description': 'Return a list of parameters.', 'signature': 'def get_parameters(self):'}</s>{'name': 'imt@sqlparse/utils.py', 'description': 'Helper function to simplify comparisons Instance, Match and TokenType\n:param token:\n:param i: Class or Tuple/List of Classes... | 1 |
{'name': 'get_youtube_streams@ytmdl/yt.py', 'description': "Get both audio & video stream urls for youtube using youtube-dl.\n\nPS: I don't know how youtube-dl does the magic", 'signature': 'def get_youtube_streams(url):'}</s>logger = Logger("yt") | 0 |
{'name': 'ECKey.sign_ecdsa@test/functional/test_framework/key.py', 'description': 'Construct a DER-encoded ECDSA signature with this key.\n\nSee https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm for the\nECDSA signer algorithm.', 'signature': 'def sign_ecdsa(self, msg, low_s=True, rfc6979=False):... | 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>html5parser = html5lib.HTMLParser(strict=True) | 0 |
{'name': 'wide_resnet50_2@models/resnet.py', 'description': 'Wide ResNet-50-2 model from\n`"Wide Residual Networks" <https://arxiv.org/pdf/1605.07146.pdf>`_\n\nThe model is the same as ResNet except for the bottleneck number of channels\nwhich is twice larger in every block. The number of channels in outer 1x1\nconvolu... | 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_INQUIRE_PROT_POLICY = 205 | 0 |
{'name': 'adjoint_model_general@english/adjoints_sensitivities_automatic_differentiation/adjoint_ode.py', 'description': 'This solves a system of 2*N differential equations in reverse, first the\noriginal ODE system (which is needed since we require the solution to\nevaluate the Jacobian) and then the adjoint system.\n... | 0 |
{'name': 'main@pibooth/booth.py', 'description': 'Application entry point.\n ', 'signature': 'def main():'}</s>{'name': 'get_event_pos@pibooth/utils.py', 'description': 'Return the position from finger or mouse event on x-axis and y-axis (x, y).\n\n:param display_size: size of display for relative positioning in fin... | 0 |
{'name': 'convert_loras_to_safeloras_with_embeds@lora_diffusion/lora.py', 'description': 'Converts the Lora from multiple pytorch .pt files into a single safetensor file.\n\nmodelmap is a dictionary of {\n "module name": (pytorch_model_path, target_replace_module, rank)\n}', 'signature': 'def convert_loras_to_safelo... | 0 |
{'name': 'create_speechcommands35_classification_dataset@s5/dataloading.py', 'description': 'AG inexplicably moved away from using a cache dir... Grumble.\nThe `cache_dir` will effectively be ./raw_datasets/speech_commands/0.0.2 .\n\nSee abstract template.', 'signature': 'def create_speechcommands35_classification_dat... | 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>MQAIT_ALL = 0 | 0 |
{'name': 'IndicatorDataset.dates@wbpy/indicators.py', 'description': 'Return list of dates used in the dataset.\n\n:param use_datetime:\n If True, return dates as datetime.date() objects, rather than\n strings.', 'signature': 'def dates(self, use_datetime=False):'}</s>path = os.path.join(os.path.dirname(os.path.r... | 0 |
{'name': 'ZiGate.decode_data@zigate/core.py', 'description': 'Decode raw packet message', 'signature': 'def decode_data(self, packet):'}</s>ZIGATE_DEVICE_ADDRESS_CHANGED = "ZIGATE_DEVICE_ADDRESS_CHANGED" | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCHT_REQUESTER = 4 | 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': 'main@pre_commit_hooks/check_autopkg_recipes.py', 'description': 'Main process.', 'signature': 'def main(argv=None):'}</s>{'name': 'validate_comments@pre_commit_hooks/check_autopkg_recipes.py', 'description': 'Warn about comments in <!-- --> format that would break when running\nplutil -convert\xa0xml1.', 'cod... | 1 |
{'name': 'CIB.lookup@policy/cib.py', 'description': 'CIB lookup logic implementation\n\nReturn CIB rows that include *all* required properties from the request PropertyArray', 'signature': 'def lookup(self, input_properties, candidate_num=5):'}</s>PIB_DIR = "examples/pib/" | 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>{'name': 'SubOp@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['Operator'], 'methods': []} | 0 |
{'name': 'on_restore_database@src/server/server.py', 'description': 'Restore database.', 'signature': 'def on_restore_database(data):'}</s>{'name': 'on_cap_enter_at_btn@src/server/server.py', 'description': 'Capture enter-at level.', 'code': "def on_cap_enter_at_btn(data):\n '''Capture enter-at level.'''\n node_i... | 0 |
{'name': 'CorpusAligner.evaluate_alignments@montreal_forced_aligner/alignment/base.py', 'description': 'Evaluate alignments against a reference directory\n\nParameters\n----------\nmapping: dict[str, Union[str, list[str]]], optional\n Mapping between phones that should be considered equal across different phone set ... | 0 |
{'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': 'RstToPdf.createPdf@rst2pdf/createpdf.py', 'description': "Create a PDF from text (ReST input),\nor doctree (docutil nodes) and save it in outfile.\n\nIf outfile is a string, it's a filename.\nIf it's something with a write method, (like a StringIO,\nor a file object), the data is saved there.", 'signature': '... | 0 |
{'name': 'test_fail_with_invalid_dbname_and_automatic_recovery_disabled@test/io/test_io.py', 'description': 'Should fail without retries when automatic recovery is disabled and dbname is invalid', 'signature': 'def test_fail_with_invalid_dbname_and_automatic_recovery_disabled(defaultenv):'}</s>{'name': 'jwtauthheader@t... | 0 |
{'name': 'ReplaceByFeeTest.test_doublespend_tree@test/functional/feature_rbf.py', 'description': 'Doublespend of a big tree of transactions', 'signature': 'def test_doublespend_tree(self):'}</s>OP_XOR = CScriptOp(0x86) | 0 |
{'name': 'athena_source@05_explore/data-wrangler/99_GENERATED_Python_Code.py', 'description': 'Represents a source that handles Athena.\n\nNote: Input dataset_definition is a Mohave specific dataset definition and is different from Processing Job\ndataset definition.', 'signature': 'def athena_source(spark, mode, datas... | 0 |
{'name': 'runExperiment@mininet-wifi/scalabilityTest/code.py', 'description': 'Run Experiment', 'signature': 'def runExperiment():'}</s>RANGE = 16 | 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': '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': 'MqttTasmotaCounter.__init__@cfg/hass/custom_components/mytasmota/sensor.py', 'description': 'Initialize the sensor.', 'signature': 'def __init__(self, hass, config):'}</s>{'name': 'get_tasmota_command@cfg/hass/custom_components/mytasmota/__init__.py', 'description': 'DOCSTRING', 'code': "def get_tasmota_comma... | 0 |
{'name': 'get_arguments@train_full.py', 'description': 'Parse all the arguments provided from the CLI.\n\nReturns:\n A list of parsed arguments.', 'signature': 'def get_arguments():'}</s>POWER = 0.9 | 1 |
{'name': 'TestAdminTreeList.test_result_tree_list_escapes_labels@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree_list_escapes_labels(self, model_with_unicode):'}</s>{'name': 'TestCl... | 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': 'space_minify@htmlmin/minify.py', 'description': 'recursive function to reduce space characters in html code.\n\n:param soup: a BeautifulSoup of the code to reduce\n:type soup: bs4.BeautifulSoup\n:param ignore_comments: whether or not to keep comments in the\n result\n:type ignore_commen... | 0 |
{'name': 'Session.prepare_request@src/requests/sessions.py', 'description': "Constructs a :class:`PreparedRequest <PreparedRequest>` for\ntransmission and returns it. The :class:`PreparedRequest` has settings\nmerged from the :class:`Request <Request>` instance and those of the\n:class:`Session`.\n\n:param request: :cl... | 0 |
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>ICMP_TIMXCEED_REASS = 1 | 0 |
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>{'name': 'pf_rule_addr@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
{'name': 'ensure_list@custom_components/zwave_mqtt/discovery.py', 'description': 'Convert a value to a list if needed.', 'signature': 'def ensure_list(value):'}</s>SERVICE_CANCEL_COMMAND = "cancel_command" | 0 |
{'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': 'TestInvoiceGenerationCommand.test_2nd_sub_billing_after_trial_with_some_consumed_units_overflow@silver/tests/commands/test_generate_docs.py', 'description': 'The subscription:\n * start_date=2015-05-20\n * trial_end=2015-06-03\n * first billing_date=2015-06-01\n * second billing_date=2015-06-04 (r... | 1 |
{'name': 'on_restart_server@src/server/server.py', 'description': 'Re-execute the current process.', 'signature': 'def on_restart_server():'}</s>Filters = FilterManager(RHAPI) | 0 |
{'name': 'AnalysisObj.analyzeRow@bifacial_radiance/main.py', 'description': "Function to Analyze every module in the row. \n\nParameters\n----------\noctfile : string\n Filename and extension of .oct file\nscene : ``SceneObj``\n Generated with :py:class:`~bifacial_radiance.RadianceObj.makeScene`.\nrowWanted : int... | 0 |
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro... | 0 |
{'name': 'is_valid_label@kubespawner/slugs.py', 'description': 'is_valid check for label values', 'signature': 'def is_valid_label(s):'}</s>{'name': 'is_valid_default@kubespawner/slugs.py', 'description': "Strict is_valid\n\nReturns True if it's valid for _all_ our known uses\n\nCurrently, this is the same as is_valid_... | 0 |
{'name': '_BinaryLogisticHeadWithSigmoidCrossEntropyLoss._create_tpu_estimator_spec@07_train/privacy/tensorflow_privacy/privacy/estimators/v1/head.py', 'description': "Returns an `EstimatorSpec`.\n\nArgs:\n features: Input `dict` of `Tensor` or `SparseTensor` objects.\n mode: Estimator's `ModeKeys`.\n logits: logits... | 1 |
{'name': 'parse_ifdef_block@sqf/parser.py', 'description': 'Given a IfDefStatement and the defines, converts the statement.tokens into\na list of tokens that can be analyzed after processing the #ifdef statement.\n`position_until_here` used to compute position of errors', 'signature': 'def parse_ifdef_block(expression,... | 0 |
{'name': 'parseMappingFile@amptk/amptklib.py', 'description': 'function to parse mapping file pull out primers and barcode sequences', 'signature': 'def parseMappingFile(input, output):'}</s>{'name': 'CheckDependencies@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def CheckDependencies(input):\n missing =... | 0 |
{'name': 'Arcball.drag@utils/transformations.py', 'description': 'Update current cursor window coordinates.', 'signature': 'def drag(self, point):'}</s>{'name': 'scale_from_matrix@utils/transformations.py', 'description': 'Return scaling factor, origin and direction from scaling matrix.\n\n>>> factor = random.random() ... | 0 |
{'name': 'TestAdminTree.test_result_tree@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree(self, model_without_proxy):'}</s>{'name': 'TestTreeAdmin@treebeard/tests/test_treebeard.py',... | 0 |
{'name': 'connect_one_in_one_out@python/erdos/__init__.py', 'description': "Registers a :py:class:`.OneInOneOut` operator to the dataflow graph that\nreceives input from the given :code:`read_stream`, and returns the\n:py:class:`OperatorStream` that the operator will write the data on.\n\nArgs:\n op_type: The :py:cl... | 0 |
{'name': 'TestSequencePredictionHuman.test_3@test/test_base.py', 'description': 'test the dna and protein coding sequences are correct by comparing\nwith manually generally sequences', 'signature': 'def test_3(self):'}</s>logger = logging.getLogger("AGFusion") | 0 |
{'name': 'BatchExecutor.submit@vcap/vcap/batch_executor.py', 'description': 'Submits a job and returns a Future that will be fulfilled later.', 'signature': 'def submit(self, input_data: Any, future: Future = None) -> Future:'}</s>{'name': 'deprecated@vcap/vcap/deprecation.py', 'description': 'Mark a function as deprec... | 0 |
{'name': 'View.update_pick_info_long@picasso/gui/render.py', 'description': 'Called when evaluating picks statistics in Info Dialog. ', 'signature': 'def update_pick_info_long(self):'}</s>{'name': 'DbscanDialog@picasso/gui/render.py', 'description': 'A class to obtain inputs for DBSCAN.\nSee scikit-learn DBSCAN for mor... | 0 |
{'name': 'CenterNetHead.forward@mmdet/models/dense_heads/centernet_head.py', 'description': 'Forward features. Notice CenterNet head does not use FPN.\n\nArgs:\n feats (tuple[Tensor]): Features from the upstream network, each is\n a 4D-tensor.\n\nReturns:\n center_heatmap_preds (List[Tensor]): center predi... | 0 |
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ... | 0 |
{'name': 'AttackerStep.random_perturb@robustness/attack_steps.py', 'description': 'Given a starting input, take a random step within the feasible set', 'signature': 'def random_perturb(self, x):'}</s>{'name': 'RandomStep@robustness/attack_steps.py', 'description': 'Step for Randomized Smoothing.', 'base_classes': ['Att... | 0 |
{'name': 'test_diamond_inheritance@seminar08/ml_cxx/third_party/pybind11/tests/test_multiple_inheritance.py', 'description': 'Tests that diamond inheritance works as expected (issue #959)', 'signature': 'def test_diamond_inheritance():'}</s>{'name': 'test_mi_base_return@seminar08/ml_cxx/third_party/pybind11/tests/test_... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.