text string | label int64 |
|---|---|
{'name': 'ParserElement.setDebugActions@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.', 'signature': 'def setDebugActions( self, startAction, successAction, exceptionAction ):'}</s>{'name': 'infixNotation@tests/_lib_vendors/pkg... | 0 |
{'name': 'get@myproxy/views.py', 'description': "返回 JSON 格式的IP数据\nnum - 请求的 ip 数量,\n 如果不为数字,返回错误信息 'require a integer'\n 如果大于限定的最大数量,则取最大的数\n 如果请求的数量大于数据库中总数量,返回数据库所有 ip, 并在 status 中标明 'not enough'\n\nv_num - times passed verif\n\ntype - ip type 'O' stands for 其他 ,'G' for 高匿,'T' for 透明\n\nhead - http-head, off... | 1 |
{'name': 'training_loop@tensor2tensor_envi/rl/trainer_model_based.py', 'description': 'Run the main training loop.', 'signature': 'def training_loop(hparams, output_dir, report_fn=None, report_metric=None):'}</s>{'name': 'evaluate_world_model@tensor2tensor_envi/rl/trainer_model_based.py', 'description': 'Evaluate the w... | 1 |
{'name': 'isa_c@riscvmodel/isa.py', 'description': 'Decorator for the instructions. The decorator contains the static information for the\ninstructions, in particular the encoding parameters and the assembler mnemonic.\n\n:param mnemonic: Assembler mnemonic\n:return: Wrapper class that overwrites the actual definition ... | 0 |
{'name': 'has_perfect_mapping@scripts/genotype_with_reference.py', 'description': 'Returns True if the given pysam read maps perfectly.\n\nA "perfect" mapping is either a mapping quality greater than zero and no\nmore than 2% mismatches or a full-length alignment of the read without any\nmismatches. Also consider soft-... | 0 |
{'name': 'wait_on_db_update@grizli/aws/db.py', 'description': 'Wait for db to stop updating on root', 'signature': 'def wait_on_db_update(root, t0=60, dt=30, n_iter=60, engine=None):'}</s>{'name': 'convex_hull_wrapper@grizli/utils.py', 'description': 'Generate a convex hull from a list of points\n\nParameters\n--------... | 0 |
{'name': 'Muse._init_timestamp_correction@muselsl/muse.py', 'description': 'Init IRLS params', 'signature': 'def _init_timestamp_correction(self):'}</s>MUSE_GATT_ATTR_LEFTAUX = "273e0002-4c4d-454d-96be-f03bac821358" | 0 |
{'name': 'start@server.py', 'description': ' Pulls the parameters from disk\n Instantiate QuestionAnswering class (onefile).\n\n Thus, all models are loaded.\n Help loading the model, then start the server.\n\n CHANGE MAJOR CONFIGS HERE\n:return:', 'signature': 'def start():'}</s>{'name': '__prepare__@da... | 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': 'MWI.update_menu@src/myweatherindicator.py', 'description': 'Update the menu for a specific index.\n\nParameters:\n- index (int): The index of the menu to update.\n\nReturns:\n- None\n\nRaises:\n- None', 'signature': 'def update_menu(self, index):'}</s>FORMAT = "%(asctime)s | %(levelname)s | %(name)s | %(messa... | 0 |
{'name': 'EntryTransformer.unquoted_value@code/utils/osg_parse.py', 'description': ':param x:\n:return:', 'signature': 'def unquoted_value(self, x):'}</s>{'name': 'detect_archive_type@code/utils/utils.py', 'description': 'Tries to guess which type an archive is.', 'code': 'def detect_archive_type(name):\n """\n T... | 0 |
{'name': 'Cache.get_with_range@shingetsu/cache.py', 'description': 'Get data in range.', 'signature': 'def get_with_range(self, node=None):'}</s>share_nodes = 5 | 0 |
{'name': 'generator_custom_text_edge_cases@tests/test-tokenizer-random.py', 'description': 'Edge cases found while debugging', 'signature': 'def generator_custom_text_edge_cases() -> Iterator[str]:'}</s>{'name': 'generator_vocab_words@tests/test-tokenizer-random.py', 'description': 'Brute force check all vocab words', ... | 0 |
{'name': 'build_datetime@yaql/standard_library/date_time.py', 'description': ':yaql:datetime\n\nReturns datetime object built on year, month, day, hour, minute, second,\nmicrosecond, offset.\n\n:signature: datetime(year, month, day, hour => 0, minute => 0, second => 0,\n microsecond => 0, offset => ... | 0 |
{'name': 'NonTokens.test6@Cheetah/Tests/SyntaxAndOutput.py', 'description': '1 dollar sign followed by EOL Slurp Token', 'signature': 'def test6(self):'}</s>{'name': 'Placeholders_Esc@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'DOCSTRING', 'base_classes': ['OutputTest'], 'methods': [{'name': 'Placeholders_Esc.te... | 0 |
{'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': 'wrap_open@tests/conftest.py', 'description': 'DOCSTRING', 'code': 'def wrap_... | 0 |
{'name': 'NMEASentence.parse@pynmea2/nmea.py', 'description': 'parse(line)\n\nParses a string representing a NMEA 0183 sentence, and returns a\nNMEASentence object\n\nRaises ValueError if the string could not be parsed, or if the checksum\ndid not match.', 'signature': 'def parse(line, check=False):'}</s>{'name': 'NMEA... | 0 |
{'name': 'count_velocity@kb_python/count.py', 'description': 'Generates RNA velocity matrices (DEPRECATED).\n\nArgs:\n index_path: Path to kallisto index\n t2g_path: Path to transcript-to-gene mapping\n cdna_t2c_path: Path to cDNA transcripts-to-capture file\n intron_t2c_path: Path to intron transcripts-to-... | 0 |
{'name': 'reduce@polytope/polytope.py', 'description': 'Remove redundant inequalities from the hyperplane representation.\n\nUses the algorithm described at [1],\nby solving one LP for each facet.\n\n[1] https://www.cs.mcgill.ca/~fukuda/soft/polyfaq/node24.html\n\nWarning:\n - nonEmptyBounded == 0 case is not tested m... | 0 |
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>TLP_MSG_GATHER = (FMT_4DW, 0x15) | 0 |
{'name': 'PecanBase.invoke_controller@pecan/core.py', 'description': 'The main request handler for Pecan applications.', 'signature': 'def invoke_controller(self, controller, args, kwargs, state):'}</s>{'name': 'handle_security@pecan/secure.py', 'description': 'Checks the security of a controller. ', 'code': 'def hand... | 0 |
{'name': 'get_ovs_veths@kayobe/plugins/filter/networks.py', 'description': "Return a list of dicts describing veth pairs to plug into Open vSwitch.\n\n:param context: a Jinja2 Context object.\n:param names: list of names of networks.\n:param inventory_hostname: Ansible inventory hostname.\n:returns: a list of dicts des... | 0 |
{'name': 'V2Api.get_tasks@scaleapi/api_client/v2/api/v2_api.py', 'description': "Get Multiple Tasks\n\nRetrieve multiple [Tasks](/core-resources/task) from a [Project](/core-resources/project) or [Batch](/core-resources/batch).\n\n:param project_id: Scale's unique identifier for the project.\n:type project_id: str\n:pa... | 0 |
{'name': 'TreeAnc.tree@treetime/treeanc.py', 'description': 'assigns a tree to the internal self._tree variable. The tree is either\nloaded from file (if in_tree is str) or assigned (if in_tree is a Phylo.tree)', 'signature': 'def tree(self, in_tree):'}</s>{'name': 'seq2prof@treetime/seq_utils.py', 'description': 'Conv... | 0 |
{'name': 'fullMammoPreprocess@src/modules/imagePreprocessing/imagePreprocessing.py', 'description': 'This function chains and executes all the preprocessing\nsteps for a full mammogram, in the following order:\n\nStep 1 - Initial crop\nStep 2 - Min-max normalise\nStep 3 - Remove artefacts\nStep 4 - Horizontal flip (if ... | 1 |
{'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>MQRC_LDAP_USER_NAME_ERROR = 2388 | 0 |
{'name': 'NonCallableMock._get_child_mock@Contents/Libraries/Shared/mock.py', 'description': 'Create the child mocks for attributes and return value.\nBy default child mocks will be the same type as the parent.\nSubclasses of Mock may want to override this to customize the way\nchild mocks are made.\n\nFor non-callable... | 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>_running_under_wsl = None | 0 |
{'name': 'speed_camera@versions/speed-cam_8.87.py', 'description': 'Main speed camera processing function ', 'signature': 'def speed_camera():'}</s>IM_RECENT_MAX_FILES = 200 | 0 |
{'name': 'load_partition@streaming/python/raystreaming/partition.py', 'description': 'Deserialize `descriptor_partition_bytes` to get partition info, then\nget or load partition function.\nNote that this function must be kept in sync with\n `io.ray.streaming.runtime.python.GraphPbBuilder.serializePartition`\n\nArgs:\n ... | 0 |
{'name': 'CheckForNonConstReference@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/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 cl... | 0 |
{'name': '_nested_lookup@src/libs/util.py', 'description': 'Lookup a key in a nested document, yield a value', 'signature': 'def _nested_lookup(key, values, document, wild=False, return_parent=False):'}</s>{'name': '_wrapper_func_stdout@src/libs/util.py', 'description': 'DOCSTRING', 'code': 'def _wrapper_func_stdout(ar... | 0 |
{'name': 'workspace_users_ls@toggl/cli/commands.py', 'description': 'Lists all users in current workspace and some related information.\n\nID of entries are ID of Workspace User and not User entity!', 'signature': 'def workspace_users_ls(ctx, fields):'}</s>{'name': 'default_workspace@toggl/cli/commands.py', 'descriptio... | 0 |
{'name': '_RDIReader.read_nocode@mhkit/dolfyn/io/rdi.py', 'description': 'Identify filler or unknown bytes and bypass them', 'signature': 'def read_nocode(self, id):'}</s>{'name': 'read_winriver@mhkit/dolfyn/io/rdi_defs.py', 'description': 'Skip WinRiver1 Navigation block (outdated)', 'code': 'def read_winriver(rdr):\n... | 0 |
{'name': 'degradation_bsrgan@ldm/modules/image_degradation/bsrgan.py', 'description': 'This is the degradation model of BSRGAN from the paper\n"Designing a Practical Degradation Model for Deep Blind Image Super-Resolution"\n----------\nimg: HXWXC, [0, 1], its size should be large than (lq_patchsizexsf)x(lq_patchsizexsf... | 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': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>ICMP_TIMXCEED = 11 | 0 |
{'name': 'run@pretf/pretf/cli.py', 'description': 'This is the pretf CLI tool entrypoint.', 'signature': 'def run() -> Union[CompletedProcess, int]:'}</s>{'name': 'find_paths@pretf/pretf/util.py', 'description': 'DOCSTRING', 'code': 'def find_paths(\n path_patterns: Sequence[str],\n exclude_name_patterns: Sequenc... | 0 |
{'name': 'CodeGenTest.test_fgpu_agent_func_comments@tests/python/codegen/test_codegen.py', 'description': 'Comments and doc string should be removed and not translated', 'signature': 'def test_fgpu_agent_func_comments(self):'}</s>cpp_fgpu_for_msg_input_wrap = "for (const auto& m : FLAMEGPU->message_in.wrap(x, y)){
... | 0 |
{'name': 'compute_sparse_agent_cell_f@self_organising_systems/biomakerca/env_logic.py', 'description': "Compute a sparse agent cell_f.\n\nThis works for ExclusiveOp, ParallelOp and ReproduceOp.\nNote that the cell_f *requires* to have the proper argument name 'programs',\nso this is an informal interface.\n\nif it is u... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQOPER_PUT_REPLY = 5 | 0 |
{'name': 'downsample_with_parcellation@brainspace/mesh/mesh_operations.py', 'description': "Downsample surface according to labeling.\n\nSuch that, each parcel centroid is used as a point in the new downsampled\nsurface. Connectivity is based on neighboring parcels.\n\nParameters\n----------\nsurf : vtkPolyData or BSPo... | 0 |
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>HAS_BEEN_DEFEATED = [4311] | 0 |
{'name': 'run_wrapper@models/stylegan_tf_official/dnnlib/submission/submit.py', 'description': 'Wrap the actual run function call for handling logging, exceptions, typing, etc.', 'signature': 'def run_wrapper(submit_config: SubmitConfig) -> None:'}</s>{'name': 'is_top_level_function@models/stylegan_tf_official/dnnlib/u... | 0 |
{'name': 'WrappedSocket.handshake@blockchain-env/lib/python3.7/site-packages/urllib3/contrib/securetransport.py', 'description': "Actually performs the TLS handshake. This is run automatically by\nwrapped socket, and shouldn't be needed in user code.", 'signature': 'def handshake('}</s>_connection_ref_lock = threading.... | 1 |
{'name': 'test_using_ledgers_for_reconciliation@capone/tests/test_create_transaction.py', 'description': 'Test ledger behavior with a revenue reconciliation worked example.\n\nThis test creates an Order and a CreditCardTransaction and, using the\nfour Ledgers created in setUp, it makes all of the ledger entries that\na... | 0 |
{'name': 'YoutubeCastV1._pair@resources/lib/tubecast/youtube/app.py', 'description': 'called as part of service discovery ', 'signature': 'def _pair(self, pairing_code):'}</s>LEVEL_MAP = {
logging.CRITICAL: xbmc.LOGFATAL,
logging.ERROR: xbmc.LOGERROR,
logging.WARNING: xbmc.LOGWARNING,
logging.INFO: xbmc... | 0 |
{'name': 'basicConfig@Monika After Story/game/python-packages/logging/__init__.py', 'description': "Do basic configuration for the logging system.\n\nThis function does nothing if the root logger already has handlers\nconfigured. It is a convenience method intended for use by simple scripts\nto do one-shot configuratio... | 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': 'Slides.generate@d2lbook/slides.py', 'description': 'Get all slide blocks and write to file.', 'signature': 'def generate(self, nb: notebooknode.NotebookNode, output_fn: str):'}</s>{'name': 'Slides@d2lbook/slides.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Slides.__init__@d2lbook... | 1 |
{'name': 'end_point_path_to_api_obj_name@components/create_swagger_config.py', 'description': 'Convert the end point url to an object and api name.', 'signature': 'def end_point_path_to_api_obj_name(end_point):'}</s>URL_ENCODE_PARAMS = ['NfsAliasId'] | 0 |
{'name': '_http_info_changed@custom_components/meross_cloud/__init__.py', 'description': 'Tells when a new device is discovered among the known ones', 'signature': 'def _http_info_changed(known: Collection[HttpDeviceInfo], discovered: Collection[HttpDeviceInfo]) -> bool:'}</s>{'name': 'dismiss_notification@custom_compo... | 0 |
{'name': 'BIDSLayout.add_derivatives@src/bids/layout/layout.py', 'description': 'Add BIDS-Derivatives datasets to tracking.\n\nParameters\n----------\npath : str or list\n One or more paths to BIDS-Derivatives datasets.\n Each path can point to either a derivatives/ directory\n containing one or more pipeline ... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCACF_REPLY_TO_Q_MGR = 3140 | 0 |
{'name': 'Helpfile.WriteParagraph@vimdoc/output.py', 'description': 'Writes one paragraph.', 'signature': 'def WriteParagraph(self, p, namespace, indent=0):'}</s>arg_hole = re.compile(r'{\]') | 0 |
{'name': 'default_frequencies@config/parse.py', 'description': 'Get frequencies as the maximum of the upper levels.\n\n:param cores: the list of cpu cores\n:param caches: the dictionary of caches', 'signature': 'def default_frequencies(cores, caches):'}</s>pmem_deprecation_warnings = {
'columns': 'Set "bank_columns... | 0 |
{'name': 'event_loop_policy@pytest_asyncio/plugin.py', 'description': 'Return an instance of the policy used to create asyncio event loops.', 'signature': 'def event_loop_policy() -> AbstractEventLoopPolicy:'}</s>{'name': '_wrap_asyncgen_fixture@pytest_asyncio/plugin.py', 'description': 'DOCSTRING', 'code': 'def _wrap_... | 0 |
{'name': '_check_em_conversion@unyt/unit_object.py', 'description': "Check to see if the units contain E&M units\n\nThis function supports unyt's ability to convert data to and from E&M\nelectromagnetic units. However, this support is limited and only very\nsimple unit expressions can be readily converted. This functio... | 1 |
{'name': 'TestMibSnimpy.testGetByOid@tests/test_mib.py', 'description': 'Test that we can get all named attributes by OID.', 'signature': 'def testGetByOid(self):'}</s>_lastError = None | 0 |
{'name': 'test_kitti_3d@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def test_kitti_3d(dataset_test, net, rpn_conf, results_path, test_path, has_rcnn=False):'}</s>{'name': 'init_log_file@lib/util.py', 'description': "This function inits a log file given a folder ... | 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>FORMAT_DOUBLE_LITTLE_ENDIAN = "<d" | 0 |
{'name': 'VimPlugin.LookupTag@vimdoc/module.py', 'description': 'Returns the tag name for the given type and name.', 'signature': 'def LookupTag(self, typ, name):'}</s>flag_line = re.compile(r"""
# Definition start.
^\s*call?\s*.*\.Flag\(
# Shit's about to get real.
(?:
# GROUP 1: The flag name in single qu... | 0 |
{'name': '_predict@mokapot/brew.py', 'description': 'Return the new scores for the dataset\n\nParameters\n----------\ndatasets : Dict\n Contains all required info about the dataset to rescore\nmodels_idx : list of numpy.ndarray\n The indicies of the models to predict with\nmodels : list of Model\n The models f... | 0 |
{'name': '_convert_to_example@utils/wholeslideimages/build_image_data.py', 'description': "Build an Example proto for an example.\nArgs:\n filename: string, path to an image file, e.g., '/path/to/example.JPG'\n image_buffer: string, JPEG encoding of RGB image\n label: integer, identifier for the ground truth for the... | 0 |
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'MissingTitleAttr@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Warning'], 'method... | 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>diagonal = _frommethod('diagonal') | 0 |
{'name': 'FindDomainAdd@app/utils/GetMessage.py', 'description': '查找域名真实地址\n:param domain:\n:return:', 'signature': 'def FindDomainAdd(domain):'}</s>{'name': 'SubDomainBurst@app/utils/GetMessage.py', 'description': '子域名爆破\n从字典读取子域名构造新的url进行访问,若返回状态码为200,则返回可攻击列表attack_list\n:param true_domain:\n:return:', 'code': 'def ... | 0 |
{'name': 'standardize_variables@aimacode/logic.py', 'description': 'Replace all the variables in sentence with new variables.', 'signature': 'def standardize_variables(sentence, dic=None):'}</s>{'name': 'is_prop_symbol@aimacode/logic.py', 'description': 'A proposition logic symbol is an initial-uppercase string.', 'cod... | 0 |
{'name': 'render@amulet_map_editor/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>HANDLERS = {} | 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': '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': 'convert_reaction_to_valid_features_batch@chemprot/tokenization.py', 'description': 'Convert list of reaction SMILES into batch of input features.', 'signature': 'def convert_reaction_to_valid_features_batch('}</s>{'name': 'BasicSmilesTokenizer@chemprot/tokenization.py', 'description': 'Run basic SMILES tokeni... | 0 |
{'name': 'update_sample_attr@ui/views/Samples.py', 'description': "Update sample's attribute\n\nParameters\n----------\nrequest :\n\nReturns\n-------", 'signature': 'def update_sample_attr(request):'}</s>{'name': 'RestrictedFileField@ui/forms.py', 'description': 'DOCSTRING', 'base_classes': ['forms.FileField'], 'method... | 0 |
{'name': 'plot_results@utils/utils.py', 'description': "Plot YOLO training results from the file 'results.txt'\nExample of what this is trying to plot can be found at: \nhttps://user-images.githubusercontent.com/26833433/63258271-fe9d5300-c27b-11e9-9a15-95038daf4438.png\nAn example results.txt file:\nimport os; os.syst... | 0 |
{'name': 'logout@n26/cli.py', 'description': 'Logout ', 'signature': 'def logout():'}</s>AMOUNT = "amount" | 0 |
{'name': 'pspnet.load_pretrained_model@ptsemseg/models/pspnet.py', 'description': 'Load weights from caffemodel w/o caffe dependency\nand plug them in corresponding modules', 'signature': 'def load_pretrained_model(self, model_path):'}</s>_POOLINGPARAMETER_POOLMETHOD = _descriptor.EnumDescriptor(
name='PoolMethod',
... | 0 |
{'name': 'CScriptOp.encode_op_n@qa/rpc-tests/test_framework/script.py', 'description': 'Encode a small integer op, returning an opcode', 'signature': 'def encode_op_n(n):'}</s>OP_VERIFY = CScriptOp(0x69) | 0 |
{'name': 'add_stderr_logger@src/ahip/__init__.py', 'description': 'Helper for quickly adding a StreamHandler to the logger. Useful for\ndebugging.\n\nReturns the handler after adding it.', 'signature': 'def add_stderr_logger(level=logging.DEBUG):'}</s>ConnectionError = ProtocolError | 0 |
{'name': 'Browser.link@zombie/browser.py', 'description': 'Finds and returns a link ``<a>`` element (:class:`zombie.dom.DOMNode`).\nYou can use a CSS selector or find a link by its text contents (case\nsensitive, but ignores leading/trailing spaces).\n\n:param selector: an optional string CSS selector\n ... | 0 |
{'name': 'MfaWorker.configuration@montreal_forced_aligner/abc.py', 'description': 'Configuration parameters', 'signature': 'def configuration(self) -> MetaDict:'}</s>{'name': 'generate_config_path@montreal_forced_aligner/config.py', 'description': 'Generate the global configuration path for MFA\n\nReturns\n-------\nPat... | 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': '_do_get_request@linodecli/configuration/auth.py', 'description': 'Runs an HTTP GET request.\n\n:param base_url: The base URL of... | 0 |
{'name': 'TestMommyCreatesAssociatedModels.test_create_many_to_many_with_through_option@tests/test_mommy.py', 'description': 'This does not works', 'signature': 'def test_create_many_to_many_with_through_option(self):'}</s>{'name': 'TestMommyHandlesModelWithNext@tests/test_mommy.py', 'description': 'DOCSTRING', 'base_c... | 0 |
{'name': 'init_training_model@lib/core.py', 'description': 'This function is meant to load the training model and optimizer, which expects\n./model/<conf.model>.py to be the pytorch model file.\n\nThe function copies the model file into the cache BEFORE loading, for easy reproducibility.', 'signature': 'def init_traini... | 1 |
{'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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_PWD_LENGTH_ERROR = 3098 | 0 |
{'name': 'change_widget_color@Contents/scripts/siweighteditor/qt.py', 'description': '引数\nwidget 色を変えたいウィジェットオブジェクト\nbgColor 背景色をRGBのリストか0~255のグレースケールで指定、省略可能。', 'signature': 'def change_widget_color(widget, '}</s>{'name': 'get_maya_window@Contents/scripts/siweighteditor/qt.py', 'description': 'DOCSTRING', 'code': 'def... | 0 |
{'name': 'filtertime@api/project/__init__.py', 'description': 'Applies a time filter (inclusive; extracted from request arguments) to an OpenSearch query and\nreturns the range as a tuple of integers representing the milliseconds since EPOCH. If\neither end of the range is unspecified, the start and end times default t... | 0 |
{'name': 'infidandgrad@examples/fidelity-gradient.py', 'description': '""\nTake a numpy array [hx0, hz0, hx1, hz1, ...] over full timesteps and\nreturn the fidelity and gradient of the fidelity to the global target_derivative', 'signature': 'def infidandgrad(paras):'}</s>fidelity = v_target_derivative @ v_final_state | 1 |
{'name': 'is_valid_label@kubespawner/slugs.py', 'description': 'is_valid check for label values', 'signature': 'def is_valid_label(s):'}</s>{'name': '_is_valid_general@kubespawner/slugs.py', 'description': 'General is_valid check\n\nChecks rules:', 'code': 'def _is_valid_general(\n s, starts_with=None, ends_with=Non... | 1 |
{'name': 'MfaWorker.configuration@montreal_forced_aligner/abc.py', 'description': 'Configuration parameters', 'signature': 'def configuration(self) -> MetaDict:'}</s>{'name': 'MfaProfile@montreal_forced_aligner/config.py', 'description': 'Configuration class for a profile used from the command line', 'base_classes': []... | 0 |
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'BP@src/python_scripts/afnipy/afni_base.py', 'description': 'Warni... | 0 |
{'name': 'replace@yaql/standard_library/date_time.py', 'description': ':yaql:replace\n\nReturns datetime object with applied replacements.\n\n:signature: dt.replace(year => null, month => null, day => null,\n hour => null, minute => null, second => null,\n microsecond => null... | 0 |
{'name': 'GroupStats.plot_correlation@ffn/core.py', 'description': "Utility function to plot correlations.\n\nArgs:\n * freq (str): Pandas data frequency alias string\n * title (str): Plot title\n * figsize (tuple (x,y)): figure size\n * kwargs: passed to Pandas' plot_corr_heatmap function", 'signature': 'd... | 0 |
{'name': 'set_jwst_to_hst_keywords@grizli/jwst_utils.py', 'description': 'Make primary header look like an HST instrument\n\nParameters\n----------\ninput : str, `~astropy.io.fits.HDUList`\n Filename or FITS HDUList object to modify.\n\nreset : bool\n Reset original JWST keywords to their original values.\n\nverb... | 0 |
{'name': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field... | 0 |
{'name': 'PredictionEnsemble._bootstrap@src/climpred/classes.py', 'description': "PredictionEnsemble.bootstrap() parent method.\n\nexplain: OPTIONS['bootstrap_resample_skill_func']\n\nSee also:\n* :py:meth:`~climpred.PerfectModelEnsemble.bootstrap`\n* :py:meth:`~climpred.HindcastEnsemble.bootstrap`", 'signature': 'def ... | 0 |
{'name': 'CHOCO_CMD.readsol@pulp/apis/choco_api.py', 'description': 'Read a Choco solution file', 'signature': 'def readsol(filename):'}</s>{'name': 'LpSolver_CMD@pulp/apis/core.py', 'description': 'A generic command line LP Solver', 'base_classes': ['LpSolver'], 'methods': [{'name': 'LpSolver_CMD.__init__@pulp/apis/co... | 0 |
{'name': 'test_ssl_env@cheroot/test/test_ssl.py', 'description': 'Test the SSL environment generated by the SSL adapters.', 'signature': 'def test_ssl_env( # noqa: C901 # FIXME'}</s>{'name': 'test_http_over_https_error@cheroot/test/test_ssl.py', 'description': 'Ensure that connecting over HTTP to HTTPS port is handle... | 0 |
{'name': 'initialize_jwst_image@grizli/jwst_utils.py', 'description': 'Make copies of some header keywords to make the headers look like\nand HST instrument\n\n1) Apply gain correction [*NOT PERFORMED*]\n2) Clip DQ bits\n3) Copy header keywords\n4) Apply exposure-level 1/f correction\n5) Apply flat field if necessary\n... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.