text
string
label
int64
{'name': 'BatchBase.flush@asynq/batching.py', 'description': "Flushes the batch.\n\nAlmost the same as ``self.value()``, but:\n\n* this method doesn't throw an error even if underlying batch\n flush actually completed with an error\n* on the other hand, subsequent flush throws an error.\n\nSo this method is intended t...
1
{'name': 'device_removed@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is removed', 'signature': 'def device_removed(notification):'}</s>capture_scan_response = True
0
{'name': 'month_days@src/convertdate/hebrew.py', 'description': 'How many days are in a given month of a given year', 'signature': 'def month_days(year, month):'}</s>HAVE_31_DAYS = (1, 3, 5, 7, 8, 10, 12)
0
{'name': 'data_generator.__iter__@examples/task_reading_comprehension_by_seq2seq.py', 'description': '单条样本格式:[CLS]篇章[SEP]问题[SEP]答案[SEP]\n ', 'signature': 'def __iter__(self, random=False):'}</s>{'name': 'Adam@bert4keras/optimizers.py', 'description': '重新定义Adam优化器,便于派生出新的优化器\n(tensorflow的optimizer_v2类)', 'base_cl...
0
{'name': 'term_to_binary@src/api/python/erlang.py', 'description': 'Encode Python types into Erlang terms in binary data', 'signature': 'def term_to_binary(term, compressed=False):'}</s>{'name': 'ParseException@src/api/python/erlang.py', 'description': 'ParseError provides specific parsing failure information', 'base_c...
0
{'name': 'Pix2Pix.fit@src/Pix2Pix/Pix2Pix.py', 'description': 'Parameters: \n model_name: Resume the training from saved checkpoint with file - "model_name"\n epoch_decay: Number of epochs after which learning rate starts decaying', 'signature': 'def fit(self, nb_epochs: int = 400, d_lr: float = 2e-4, g_lr: floa...
0
{'name': 'resnet@models/cifar/resnet.py', 'description': 'Constructs a ResNet model.', 'signature': 'def resnet(**kwargs):'}</s>{'name': 'ONE_ResNet@models/cifar/resnet.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], 'methods': [{'name': 'ONE_ResNet.__init__@models/cifar/resnet.py', 'description': 'DOCS...
0
{'name': 'transform_text_with_addrs@cpca/__init__.py', 'description': '将含有多个地址的长文本中的地址全部提取出来\nArgs:\n text_with_addrs: 一个字符串,里面可能含有多个地址\n index:可以通过这个参数指定输出的DataFrame的index,默认情况下是range(len(data))\n pos_sensitive:如果为True则会多返回三列,分别提取出的省市区在字符串中的位置,如果字符串中不存在的话则显示-1\n umap: 当只有区的信息时, 且该区存在同名时, 指定该区具体是哪一个,字典的 key...
0
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'is_pie@gef.py', 'description': 'DOCSTRING', 'code': 'def is_pie(fpath: s...
0
{'name': 'angle@soundrts/lib/sound.py', 'description': 'angle of x2,y2 related to player x1,y1,o', 'signature': 'def angle(x1, y1, x2, y2, o=0):'}</s>d = {}
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': 'render_newline@lookatme/render/markdown_block.py', 'description': 'Render a newline\n\nSee :any:`lookatme.tui.SlideRenderer.do_render` for argument and return\nvalue descriptions.', 'signature': 'def render_newline(token, body, stack, loop):'}</s>{'name': 'dict_deep_update@lookatme/utils.py', 'description': '...
0
{'name': 'd4_image_deaugment@pytorch_toolbelt/inference/tta.py', 'description': 'Deaugment input tensor (output of the model) assuming the input was D4-augmented image (See d4_augment).\nArgs:\n image: Tensor of [B * 8, C, H, W] shape\n reduction: Reduction model for aggregating outputs. Default is taking mean.\n...
0
{'name': 'predict_to_file@examples/task_iflytek_adversarial_training.py', 'description': '输出预测结果到文件\n结果文件可以提交到 https://www.cluebenchmarks.com 评测。', 'signature': 'def predict_to_file(in_file, out_file):'}</s>{'name': 'DataGenerator@bert4keras/snippets.py', 'description': '数据生成器模版\n ', 'base_classes': ['object'], 'met...
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>Fixed32Encoder = _StructPackEncoder(wire_format.WIRETYPE_FIXED3...
0
{'name': 'extract_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def extract_kalman_boxes(dataset_test, net, rpn_conf, test_path, data_folder):'}</s>{'name': 'bbCoords2XYWH@lib/rpn_util.py', 'description': 'Convert from [x1, y1, x2, y2] to [x,y,w,h]', ...
0
{'name': 'MetaDataFrame.__init__@stock_pandas/meta/cumulator.py', 'description': 'Creates a stock data frame\n\nArgs:\n data (ndarray, Iterable, dict, DataFrame, StockDataFrame): data\n date_col (:obj:`str`, optional): If set, then the column named `date_col` will convert and set as the DateTimeIndex of the data ...
0
{'name': 'TrimmedMatchDesignTest.testOutputCandidateDesignWithMissingObservation@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks that no error is raised if missing observation are present.', 'signature': 'def testOutputCandidateDesignWithMissingObservation(self):'}</s>{'name': '_constru...
0
{'name': 'read_fixed_fmt@meza/io.py', 'description': "Reads a fixed-width csv file.\n\nArgs:\n filepath (str): The fixed width formatted file path or file like object.\n widths (List[int]): The zero-based 'start' position of each column.\n mode (Optional[str]): The file open mode (default: 'r').\n kwargs (d...
0
{'name': 'pytest_fixture_setup@pytest_asyncio/plugin.py', 'description': 'Adjust the event loop policy when an event loop is produced.', 'signature': 'def pytest_fixture_setup('}</s>{'name': 'unused_udp_port_factory@pytest_asyncio/plugin.py', 'description': 'A factory function, producing different unused UDP ports.', '...
0
{'name': 'findlines@tests/utils.py', 'description': 'Extract the lines from the buffer which contains the pattern\n`substring`\n\nArgs:\n substring (str): the pattern to look for\n buffer (str): the buffer to look into\n\nReturns:\n List[str]', 'signature': 'def findlines(substring: str, buffer: str) -> List[s...
0
{'name': 'GetDefaultStyleForDir@tools/yapf/yapf/yapflib/file_resources.py', 'description': 'Return default style name for a given directory.\n\nLooks for .style.yapf or setup.cfg in the parent directories.\n\nArguments:\n dirname: (unicode) The name of the directory.\n\nReturns:\n The filename if found, otherwise ret...
1
{'name': 'sign_tx@bit/transaction.py', 'description': 'Signs inputs in provided transaction object for which unspents\nare provided and can be signed by the private key.\n\n:param private_key: Private key\n:type private_key: ``PrivateKey`` or ``MultiSig``\n:param tx: Transaction object\n:type tx: ``TxObj``\n:param unsp...
0
{'name': 'inceptionresnetv2@DeepFish/models/inception.py', 'description': 'InceptionResNetV2 model architecture from the\n`"InceptionV4, Inception-ResNet..." <https://arxiv.org/abs/1602.07261>`_ paper.', 'signature': 'def inceptionresnetv2(num_classes=1000, pretrained=None):'}</s>pretrained_settings = { 'inceptionr...
1
{'name': 'arc_labels@nxviz/annotate.py', 'description': 'Annotate node labels for arc plot.', 'signature': 'def arc_labels('}</s>{'name': 'hive_group@nxviz/annotate.py', 'description': 'Text annotation of hive plot groups.', 'code': 'def hive_group(\n G: nx.Graph,\n group_by: Hashable,\n offset: float = np.pi ...
0
{'name': 'get_credentials@linodecli/plugins/obj/__init__.py', 'description': 'Get access_key and secret_key of the object storage.', 'signature': 'def get_credentials(cli: CLI):'}</s>{'name': 'call@linodecli/plugins/obj/__init__.py', 'description': 'This is called when the plugin is invoked', 'code': 'def call(\n ar...
0
{'name': 'validation_region@MWAA/verify_env/verify_env.py', 'description': "verify environment name doesn't have path to files or unexpected input\nREGION: example is us-east-1", 'signature': 'def validation_region(input_region):'}</s>S3_CHECK_SUCCESS_MSG = "s3 bucket, {bucket_arn}, or account blocks public access ✅"
0
{'name': 'encodeLength@src/mqtt/pdu.py', 'description': 'Encodes value into a multibyte sequence defined by MQTT protocol.\nUsed to encode packet length fields.', 'signature': 'def encodeLength(value):'}</s>{'name': 'PUBLISH@src/mqtt/pdu.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': ...
0
{'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': 'Main.update_database@accelerator/control.py', 'description': 'Insert all new jobids (from all workdirs) in database,\ndiscard all deleted or with incorrect hash.', 'signature': 'def update_database(self):'}</s>{'name': 'run@accelerator/dispatch.py', 'description': 'DOCSTRING', 'code': "def run(cmd, close_in_c...
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': 'BisectRunner.run@nix_bisect/bisect_runner.py', 'description': 'Finds the first bad commit', 'signature': 'def run(self, bisect_fun):'}</s>{'name': 'named_skip@nix_bisect/bisect_runner.py', 'description': 'Mark a commit as belonging to a named skip range.\n\nIn contrast to a regular `git bisect skip`, all comm...
1
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': 'test_suite@setup.py', 'description': 'Defines the test suite for the snowflake ingest SDK', 'signature': 'def test_suite():'}</s>DEPENDS = ["pyjwt", "snowflake-connector-python>=3.0.3", "furl", "cryptography", "requests<=2.32.3"]
0
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
0
{'name': '_remove_bom_from_list@meza/io.py', 'description': 'Remove a byte order marker (BOM) from a list', 'signature': 'def _remove_bom_from_list(row, bom):'}</s>READER_KEYS = FMTKEYS.union(["fieldnames", "restkey", "restval", "dialect"])
0
{'name': 'Paystack.__init__@paystackapi/paystack.py', 'description': 'Instantiate Basic Classes to call here.', 'signature': 'def __init__(self, secret_key=None):'}</s>{'name': 'ControlPanel@paystackapi/cpanel.py', 'description': 'docstring for ControlPanel.', 'base_classes': ['PayStackBase'], 'methods': [{'name': 'Con...
1
{'name': 'test_json_schema_validator@tests/test_json_schema.py', 'description': 'Use the `JSONSchema` field to validate all the test case schemas.', 'signature': 'def test_json_schema_validator(schema, data, is_valid, description):'}</s>{'name': 'CustomField@tests/test_json_schema.py', 'description': 'DOCSTRING', 'base...
0
{'name': 'on_shutdown_pi@src/server/server.py', 'description': 'Shutdown the raspberry pi.', 'signature': 'def on_shutdown_pi(*args):'}</s>MIN_PYTHON_MAJOR_VERSION = 3
0
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>ND_ROUTER_ADVERT = 134
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCD_CURRENT_VERSION = 12
0
{'name': 'test_divergence@adaptive/tests/test_cquad.py', 'description': 'This function should raise a DivergentIntegralError.', 'signature': 'def test_divergence():'}</s>{'name': 'test_machine_precision@adaptive/tests/test_cquad.py', 'description': 'DOCSTRING', 'code': 'def test_machine_precision():\n f, a, b, tol =...
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': 'test_raising_failed_validation@tests/test_models.py', 'description': 'Test validating valid receipts.', 'signature': 'def test_raising_failed_validation(populated_db: None) -> None:'}</s>{'name': 'test_revalidation_valid_receipt@tests/test_models.py', 'description': 'Test revalidation process of a valid recei...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_SYSP_DUAL_ACTIVE = 1183
0
{'name': 'env_perform_reproduce_update@self_organising_systems/biomakerca/env_logic.py', 'description': "Perform reproduce operations in the environment.\n\nThis is the function that should be used for high level step_env design.\n\nArguments:\n key: a jax random number generator.\n env: the input environment to be m...
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': 'GlyphsBuilder._fake_designspace@Lib/glyphsLib/builder/builders.py', 'description': 'Build a fake designspace with the given UFOs as sources, so that all\nbuilder functions can rely on the presence of a designspace.', 'signature': 'def _fake_designspace(self, ufos):'}</s>{'name': 'GlyphsBuilder@Lib/glyphsLib/b...
1
{'name': 'Dotfiles.write_config@tests/conftest.py', 'description': 'Write a dotbot config and return the filename.', 'signature': 'def write_config(self, config: Any, serializer: str = "yaml", path: Optional[str] = None) -> str:'}</s>{'name': 'rmtree_error_handler@tests/conftest.py', 'description': 'DOCSTRING', 'code':...
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': 'WhatHappenedToTheWeirdAdditionP1.play_farey_addition_animations@ford_circles_explained.py', 'description': "Returns a series of animations showing 'a/b oplus c/d equals (a+c)/(b+d)'", 'signature': 'def play_farey_addition_animations(self, a, b, c, d):'}</s>{'name': 'DInteger@ford_circles_explained.py', 'descr...
0
{'name': 'test_get_atoms_errors@vermouth/tests/test_ffinput.py', 'description': 'Test _get_atoms fails when expected.', 'signature': 'def test_get_atoms_errors(tokens, natoms):'}</s>{'name': 'iter_force_field_files@vermouth/forcefield.py', 'description': 'Returns a generator over the path of all the force field files i...
0
{'name': 'create_modules@models.py', 'description': 'Constructs module list of layer blocks from module configuration in module_defs', 'signature': 'def create_modules(module_defs):'}</s>{'name': 'build_targets_max@utils/utils.py', 'description': 'returns nT, nCorrect, tx, ty, tw, th, tconf, tcls', 'code': 'def build_t...
0
{'name': 'test_system_generator@openmoltools/tests/test_forcefield_generators.py', 'description': 'Test SystemGenerator.', 'signature': 'def test_system_generator():'}</s>{'name': 'generateResidueTemplate@openmoltools/forcefield_generators.py', 'description': "Generate an residue template for simtk.openmm.app.ForceFiel...
0
{'name': 'get_signature_string@src/makefun/main.py', 'description': 'Returns the string to be used as signature.\nIf there is a non-native symbol in the defaults, it is created as a variable in the evaldict\n:param func_name:\n:param func_signature:\n:return:', 'signature': 'def get_signature_string(func_name, func_sig...
0
{'name': 'plot_sounding_data_csv@pymeteo/skewt.py', 'description': 'Plot SkewT from a CSV sounding data file\n\n:param filename: The name of the file to open.\n:type filename: str\n:param output: The name of the file to output plot\n:type output: str\n\nThe datafile format is CSV with the following columns: \n\n- press...
0
{'name': 'FrameUtilsTestCase.test_frame_utils@tools/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py', 'description': 'Test utility functions for the frame object.', 'signature': 'def test_frame_utils(self):'}</s>{'name': 'SETTING_MSG@tools/lldb/packages/Python/lldbsuite/test/lldbtest.py'...
0
{'name': '_len_preprocessed_single@src/betterproto/__init__.py', 'description': 'Calculate the size of adjusted values for serialization without fully serializing them.', 'signature': 'def _len_preprocessed_single(proto_type: str, wraps: str, value: Any) -> int:'}</s>{'name': 'parse_fields@src/betterproto/__init__.py',...
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': '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': 'indent@src/api/python/z3/z3printer.py', 'description': 'DOCSTRING', 'code': 'def indent(i, arg):\n return IndentFormatObje...
0
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>LOG_WARNING = 4
0
{'name': 'ProcessFile@tools/cpplint.py', 'description': 'Does google-lint on a single file.\n\nArgs:\n filename: The name of the file to parse.\n\n vlevel: The level of errors to report. Every error of confidence\n >= verbose_level will be reported. 0 is a good default.\n\n extra_check_functions: An array of addi...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACH_SHARED_CHL_RESTART = 1600
0
{'name': 'SignatureHash@qa/rpc-tests/test_framework/script.py', 'description': 'Consensus-correct SignatureHash\n\nReturns (hash, err) to precisely match the consensus-critical behavior of\nthe SIGHASH_SINGLE bug. (inIdx is *not* checked for validity)', 'signature': 'def SignatureHash(script, txTo, inIdx, hashtype):'}<...
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': 'NormalizeOutput@googletest/test/googletest-output-test.py', 'description': 'Normalizes output (the output of googletest-output-test_.exe).', 'signature': 'def NormalizeOutput(output):'}</s>_flag_map = { 'source_dir': os.path.dirname(sys.argv[0]), 'build_dir': os.path.dirname(sys.argv[0]), }
0
{'name': 'MarkChecker.verify_all_nodes@tests/tools.py', 'description': 'Generically test atok.get_text() on the ast tree: for each statement and expression in the\ntree, we extract the text, parse it, and see if it produces an equivalent tree. Returns the\nnumber of nodes that were tested this way.', 'signature': 'def ...
1
{'name': 'PyrataReTest.test_finditer_compiled_step@do_tests.py', 'description': 'Test finditer method with a compiled step pattern. The pattern matches several times the data.', 'signature': 'def test_finditer_compiled_step(self):'}</s>{'name': 'State@pyrata/state.py', 'description': 'DOCSTRING', 'base_classes': ['obje...
0
{'name': 'Mapdef.__init__@swagger_to/go_server.py', 'description': 'Initialize with default values.', 'signature': 'def __init__(self):'}</s>{'name': '_parse_typedef@swagger_to/swagger.py', 'description': 'Parse the type definition from the raw dictionary in the Swagger spec.\n\n:param raw_dict: raw dictionary of the S...
0
{'name': 'device_removed@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is removed', 'signature': 'def device_removed(notification):'}</s>{'name': 'error_interface_not_found@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'DOCSTRING', 'code': 'def error_interface_not_found(interface...
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': '_mvbuf@lmdb/cffi.py', 'description': 'Convert a MDB_val cdata to a CFFI buffer object.', 'signature': 'def _mvbuf(mv):'}</s>UnicodeType = getattr(__builtin__, 'unicode', str)
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>valid_multiplayer_modes = ( 'competitive', 'co-op', 'hotseat', 'LAN', 'local', 'massive', 'matchmaking', 'online', 'spli...
0
{'name': 'split_imageset@ldm/modules/image_degradation/utils_image.py', 'description': 'split the large images from original_dataroot into small overlapped images with size (p_size)x(p_size),\nand save them into taget_dataroot; only the images with larger size than (p_max)x(p_max)\nwill be splitted.\nArgs:\n origina...
0
{'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': 'AL_Tes...
0
{'name': '_text_count_case_sensitive@fletcher/algorithms/string.py', 'description': 'For each row in the data computes the number of occurrences of the pattern ``pat``.\nThis implementation does basic byte-by-byte comparison and is independent\nof any locales or encodings.', 'signature': 'def _text_count_case_sensitive...
0
{'name': '_parse_array@pygdbmi/gdbmiparser.py', 'description': 'Parse an array, stream should be passed the initial [\nreturns:\n Parsed array', 'signature': 'def _parse_array(stream: StringStream) -> list:'}</s>{'name': '_parse_val@pygdbmi/gdbmiparser.py', 'description': 'Parse value from string\nreturns:\n Pars...
1
{'name': 'VxmDense.__init__@voxelmorph/tf/networks.py', 'description': "Parameters:\n inshape: Input shape. e.g. (192, 192, 192)\n nb_unet_features: Unet convolutional features. Can be specified via a list of lists with\n the form [[encoder feats], [decoder feats]], or as a single integer. \n If Non...
0
{'name': 'PPOTrainer.train@ss_baselines/savi/ppo/ppo_trainer.py', 'description': 'Main method for training PPO.\n\nReturns:\n None', 'signature': 'def train(self) -> None:'}</s>baseline_registry = BaselineRegistry()
0
{'name': 'serve_content@gedgo/views/media.py', 'description': 'Generate a response to server protected content.', 'signature': 'def serve_content(storage, name):'}</s>SERVER_EMAIL = ['noreply@example.com']
0
{'name': 'PyAssimp3DViewer.recursive_render@Engine/lib/assimp/port/PyAssimp/scripts/3d_viewer.py', 'description': 'Main recursive rendering method.\n ', 'signature': 'def recursive_render(self, node, shader, mode=BASE, with_normals=True):'}</s>gllogger = logging.getLogger("OpenGL")
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': 'random_split@datawig/utils.py', 'description': 'Shuffles and splits a Data frame into partitions with specified percentages of data\n\n:param data_frame: a pandas DataFrame\n:param split_ratios: percentages of splits\n:param seed: seed of random number generator\n:return:', 'signature': 'def random_split(data...
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': 'AdbDevice._push@adb_shell/adb_device.py', 'description': 'Push a file-like object to the device.\n\nParameters\n----------\nstream : _io.BytesIO\n File-like object for reading from\ndevice_path : str\n Destination on the device to write to\nst_mode : int\n Stat mode for the file\nmtime : int\n Mod...
0
{'name': '_AppHandler._read_build_config@jupyterlab/commands.py', 'description': 'Get the build config data for the app dir.', 'signature': 'def _read_build_config(self):'}</s>{'name': 'get_workspaces_dir@jupyterlab/commands.py', 'description': 'Get the configured JupyterLab workspaces directory.', 'code': 'def get_wor...
0
{'name': 'get_field_type_capable_with_index@src/rqt_ez_publisher/ez_publisher_model.py', 'description': 'get type even if it contains [] for array', 'signature': 'def get_field_type_capable_with_index(field_string):'}</s>{'name': 'flatten@src/rqt_ez_publisher/ez_publisher_model.py', 'description': 'DOCSTRING', 'code': ...
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>MQIACH_CLWL_CHANNEL_PRIORITY = 1578
0
{'name': 'db_open@versions/speed-cam_11.26.py', 'description': 'Insert speed data into database table', 'signature': 'def db_open(db_file):'}</s>{'name': 'subDirCheckMaxHrs@versions/speed-cam_11.26.py', 'description': 'extract the date-time from the directory name', 'code': 'def subDirCheckMaxHrs(directory, hrsMax, pre...
0
{'name': 'getSyllsFromWav@avgn/segment_song/wav_to_syllables.py', 'description': 'Extract syllables from wav file\n ', 'signature': 'def getSyllsFromWav(row, _mel_basis, wav_time, hparams):'}</s>{'name': 'invert_spectrogram@avgn/spectrogramming/make_spec.py', 'description': 'Under MSR-LA License\nBased on MATLAB imp...
0
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n...
0
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/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>{'name': 'EmptyHeaderError@venv/Lib/site-packages/pip-19.0.3-p...
1
{'name': 'TestParseTagInput.test_tags_with_double_quotes_can_contain_commas@tagging/tests/tests.py', 'description': 'Double quotes can contain commas ', 'signature': 'def test_tags_with_double_quotes_can_contain_commas(self):'}</s>{'name': 'TestTagsRelatedForModel@tagging/tests/tests.py', 'description': 'DOCSTRING', 'b...
0
{'name': '_strict_random_crop_image@object_detection/core/preprocessor.py', 'description': 'Performs random crop.\n\nNote: Keypoint coordinates that are outside the crop will be set to NaN, which\nis consistent with the original keypoint encoding for non-existing keypoints.\nThis function always crops the image and is ...
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': 'pre_clean_addr_str@scourgify/cleaning.py', 'description': 'Remove any known undesirable sub-strings and special characters.\n\nCleaning should be enacted on an addr_str to remove known characters\nand phrases that might prevent usaddress from successfully parsing.\nFollows USPS pub 28 guidelines for undesirab...
1
{'name': 'before_save@rulematrix/server/utils.py', 'description': 'make sure that the dedicated path exists (create if not exist)\n:param file_or_dir:\n:return:', 'signature': 'def before_save(file_or_dir):'}</s>{'name': 'file_exists@rulematrix/server/utils.py', 'description': 'DOCSTRING', 'code': 'def file_exists(file...
0
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>mouse_event = dvz.dvz_mouse_event
0
{'name': 'apply_flt_dq@grizli/utils.py', 'description': 'Read and apply the compact exposure information file\n\nParameters\n----------\nfilename : str\n FLT/FLC filename.\n\nreplace : (str, str)\n Replace arguments for output DQ filename:\n\n >>> output_filename = filename.replace(replace[0], replace[1])\n\no...
0
{'name': 'delete_database@databricks-adx-integration/src/code/tools/ADXProvisionTool/create_dataexplorer_database.py', 'description': 'deletedatabase\n\n:param number_of_companies: number_of_companies\n :type number_of_companies: int\n ', 'signature': 'def delete_database(number_of_companies):'}</s>{'name': 'update_ing...
0