text string | label int64 |
|---|---|
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': 'p_member_declarator@ctypesgen/parser/cgrammar.py', 'description': 'member_declarator : declarator gcc_attributes\n| COLON constant_expression gcc_attributes\n| declarator COLON constant_expression gcc_attributes', 'signature': 'def p_member_declarator(p):'}</s>{'name': 'p_primary_expression@ctypesgen/parser/c... | 0 |
{'name': 'find_links_or_emphs@marko/inline_parser.py', 'description': 'Fink links/images or emphasis from text.\n\n:param text: the original text.\n:param link_ref_defs: a mapping of link ref definitions.\n:returns: an iterable of match object.', 'signature': 'def find_links_or_emphs('}</s>{'name': '_is_legal_link_text... | 0 |
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_DBCS_ERROR = 2150 | 0 |
{'name': 'adjust_learning_rate@train_trades_cifar10.py', 'description': 'decrease the learning rate', 'signature': 'def adjust_learning_rate(optimizer, epoch):'}</s>test_loader = torch.utils.data.DataLoader(testset, batch_size=args.test_batch_size, shuffle=False, **kwargs) | 0 |
{'name': '_AutoReject.fit@autoreject/autoreject.py', 'description': 'Compute the thresholds.\n\nParameters\n----------\nepochs : instance of mne.Epochs\n The epochs object from which the channel-level thresholds are\n estimated.\n\nReturns\n-------\nself : instance of _AutoReject\n The instance.', 'signature':... | 0 |
{'name': 'calculate_preimages@bit/transaction.py', 'description': 'Calculates preimages for provided transaction structure and input\nvalues.\n\n:param tx_obj: The transaction object used to calculate preimage from using\n a transaction digest algorithm, such as BIP-143 for Segwit\n inputs. ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQDCC_TARGET_ENC_NORMAL = py23long(0x00000100) | 0 |
{'name': 'create_equity_order_leg@tdameritrade/orders/leg_builder.py', 'description': 'Creates OrderLeg for equity orders', 'signature': 'def create_equity_order_leg('}</s>{'name': 'EquityInstrument@tdameritrade/orders/models/instruments.py', 'description': 'Equity Instrument', 'base_classes': ['Instrument'], 'methods'... | 1 |
{'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>SET_CONTROL_BREAK_OFF = b'\x06' | 0 |
{'name': 'test_check_tuples_invalid_shape@test/test_utils.py', 'description': 'Checks that a value error with the appropriate message is raised if\nshape is invalid (not 2D with preprocessor or 3D with no preprocessor)', 'signature': 'def test_check_tuples_invalid_shape(estimator, context, tuples, found,'}</s>{'name': ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQDSE_NO = 2 | 0 |
{'name': 'ShapeTrainer.set_optimization_variables@experiments/smal_shape.py', 'description': 'Sets as optimization variables those obtained as prediction from the network', 'signature': 'def set_optimization_variables(self):'}</s>{'name': 'kp_data_loader@data/zebra.py', 'description': 'DOCSTRING', 'code': "def kp_data_... | 0 |
{'name': 'observations_to_image@habitat/utils/visualizations/utils.py', 'description': 'Generate image of single frame from observation and info\nreturned from a single environment step().\n\nArgs:\n observation: observation returned from an environment step().\n info: info returned from an environment step().\n ... | 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': 'parse_status_update@slackcli/messaging.py', 'description': 'Parse "/status :emoji: sometext" messages. If there is a match, return a dict\ncontaining the profile attributes to be updated. Else return None.', 'signature': 'def parse_status_update(text):'}</s>{'name': 'ConfigSaveError@slackcli/errors.py', 'desc... | 0 |
{'name': 'AddListView.get_queryset@ahmia/views.py', 'description': 'Retrieve the original queryset and filter it based on banned domains ', 'signature': 'def get_queryset(self):'}</s>{'name': 'LegalView@ahmia/views.py', 'description': 'Legal page view ', 'base_classes': ['TemplateView'], 'methods': []} | 0 |
{'name': '_equalize_weights_lsq_pact@nemo/transf/equalize.py', 'description': 'Performs in-layer equalization by unfolding of convolution parameters\ninto batch-normalization parameters.\n\n:param bn_dict: a dictionary of layer names, with the key being the source (linear) and the value the target (batch-norm).\n:type ... | 0 |
{'name': 'writeFileTree@fwtool.py', 'description': 'Writes a list of UnixFiles to the disk, unpacking known archive files', 'signature': 'def writeFileTree(files, path):'}</s>{'name': 'packCommand@fwtool.py', 'description': 'DOCSTRING', 'code': "def packCommand(firmwareFile, fsFile, bodyFile, configFile, device, outDir... | 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': 'jaccard@utils/utils.py', 'description': 'Compute the jaccard overlap of two sets of boxes. The jaccard overlap\nis simply ... | 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': 'parse_content_transfer_encoding_header@src/future/backports/email/_header_value_parser.py', 'description': 'mechanism\n\n ', 'signature': 'def parse_content_transfer_encoding_header(value):'}</s>{'name': 'Group@src/future/backports/email/_header_value_parser.py', 'description': 'DOCSTRING', 'base_classes':... | 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': 'SegWitTest.test_uncompressed_pubkey@test/functional/p2p_segwit.py', 'description': 'Test uncompressed pubkey validity in segwit transactions.\n\nUncompressed pubkeys are no longer supported in default relay policy,\nbut (for now) are still valid in blocks.', 'signature': 'def test_uncompressed_pubkey(self):'}... | 0 |
{'name': 'to_band@eoreader/bands/__init__.py', 'description': 'Convert a string (or real value) to any alias, band or index.\n\nYou can pass the name or the value of the bands.\n\nArgs:\n to_convert (Union[list, BandNames, str]): Values to convert into band objects\n as_list (bool): Return the result as a list\n\... | 1 |
{'name': 'ModelRunner.write_classification_outputs@araelectra/run_finetuning.py', 'description': 'Write classification predictions to disk.', 'signature': 'def write_classification_outputs(self, tasks, trial, split):'}</s>{'name': 'ETAHook@araelectra/util/training_utils.py', 'description': 'Print out the time remaining... | 0 |
{'name': 'MomSpaceBasis.__init__@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'the constructor\n\nGenerates a cubic lattice in momentum space\nparam Nmax: Number of lattice points in positive kx-direction\nparam kmax: Highest lattice momentum (in 1/fm)\nparam ordered: Optional parameter, True by... | 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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQUOWT_Q_MGR = 0 | 0 |
{'name': 'MaskedArray.__imul__@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Multiply self by other in-place.', 'signature': 'def __imul__(self, other):'}</s>{'name': 'isMaskedArray@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Test whether input is an instance of MaskedArray.\n\nThis function r... | 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': 'client@tests/test_example.py', 'description': 'yield application test client as pytest fixture', 'signature': 'def client():'}</s>app = Flask(__name__, static_url_path="") | 1 |
{'name': 'ContainerVulViewSet.check_flag@vulfocus-api/dockerapi/views.py', 'description': '验证Flag是否正确\n:param request:\n:param pk:\n:return:', 'signature': 'def check_flag(self, request, pk=None):'}</s>{'name': 'stop_container_task@vulfocus-api/tasks/tasks.py', 'description': '停止漏洞容器\n:param container_vul: container vu... | 1 |
{'name': 'find_next_range@utils/file_utils.py', 'description': 'Finds the next value of the Range header\n:param content_range_header: The content-range header value returned in the response, ex. 0-1000/7181823761\n If None, the default Range header that is bytes=0-CHUNK_SIZE is returned\n:pa... | 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': 'mel2hz@avgn/spectrogramming/make_spec.py', 'description': 'Convert a value in Mels to Hertz\n:param mel: a value... | 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': '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': '_ClassifyInclude@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than ""... | 0 |
{'name': 'BL3Profile.set_vaultcard3_keys@bl3save/bl3profile.py', 'description': 'Sets the number of Vault Card 3 keys to `num_keys`', 'signature': 'def set_vaultcard3_keys(self, num_keys):'}</s>level_stat = "/Game/PlayerCharacters/_Shared/_Design/Stats/Character/Stat_Character_Level.Stat_Character_Level" | 0 |
{'name': 'watch_stacks@static/Cost/300_Optimization_Data_Collection/Test/test-from-scratch.py', 'description': 'watch stacks while they are IN_PROGRESS and/or until they are deleted', 'signature': 'def watch_stacks(stack_names = []):'}</s>{'name': 'test_cost_explorer_rightsizing_data@static/Cost/300_Optimization_Data_C... | 0 |
{'name': 'update_model_for_controls@wntr/sim/hydraulics.py', 'description': 'Parameters\n----------\nm: wntr.sim.aml.aml.Model\nwn: wntr.network.model.WaterNetworkModel\nmodel_updater: wntr.sim.models.utils.ModelUpdater\nchange_tracker: wntr.network.controls.ControlChangeTracker', 'signature': 'def update_model_for_con... | 0 |
{'name': 'Architecture.__get_register@gef.py', 'description': "Return a register's value.", 'signature': 'def __get_register(self, regname: str) -> int:'}</s>{'name': 'ArchListCommand@gef.py', 'description': 'List the available architectures.', 'base_classes': ['GenericCommand'], 'methods': [{'name': 'ArchListCommand.d... | 0 |
{'name': 'read_dwarf@dwex/formats.py', 'description': 'UI agnostic - resolve_arch might be interactive\nReturns slightly augmented DWARFInfo\nOr None if not a DWARF containing file (or unrecognized)\nOr False if user has cancelled\nOr throws an exception\nresolve_arch is for Mach-O fat binaries - see read_macho()\nand ... | 1 |
{'name': 'cblaster@cblaster/main.py', 'description': "Run cblaster.\n\nThis function is the central workflow for the entire cblaster package.\n\nArguments:\n query_file (str): Path to FASTA format query file\n query_ids (list): NCBI protein sequence identifiers\n query_profiles(list): Pfam profile identifiers\... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQZAO_NONE = 0 | 0 |
{'name': '_create_initial_typedef@swagger_to/py_client.py', 'description': 'Create a placeholder so that a mapping for identifiable typedefs can be pre-populated.\n\nThis is necessary to avoid looping endlessly through cycles.', 'signature': 'def _create_initial_typedef(intermediate_typedef: swagger_to.intermediate.Typ... | 0 |
{'name': 'DetectionNetwork.postprocess_fastrcnn@libs/networks/build_whole_network.py', 'description': ':param rois:[-1, 4]\n:param bbox_ppred: [-1, (cfgs.Class_num+1) * 4]\n:param scores: [-1, cfgs.Class_num + 1]\n:return:', 'signature': 'def postprocess_fastrcnn(self, rois, bbox_ppred, scores, img_shape):'}</s>LR = 0.... | 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': 'CheckStyle@third_party/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 code, etc.... | 0 |
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>{'name': 'get_param@spider/utils/tools.py', 'description': 'DOCSTRING', 'code': 'def get_param(url, key):\n params = url.split("?")[-1].split("&")\n for param in params:\n key_value = param.split("=", 1)\n ... | 0 |
{'name': 'fn@src/services/mpiwrap/wrap.py', 'description': 'Iterate over listed functions and generate skeleton too.', 'signature': 'def fn(out, scope, args, children):'}</s>skip_headers = False | 0 |
{'name': 'config_cmd@buildtest/cli/config.py', 'description': 'Entry point for ``buildtest config`` command. This method will invoke other methods depending on input argument.\n\nArgs:\n command_args (dict): Parsed arguments from `ArgumentParser.parse_args <https://docs.python.org/3/library/argparse.html#argparse.Ar... | 0 |
{'name': 'cd._tab_fuzzy_match@.config/ranger/commands_full.py', 'description': 'Find directories matching tokens recursively ', 'signature': 'def _tab_fuzzy_match(self, basepath, tokens):'}</s>{'name': 'quit_bang@.config/ranger/commands_full.py', 'description': ":quit!\n\nCloses the current tab, if there's more than on... | 0 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>PFTM_PURGE = 21 | 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': 'File._store@burpui/misc/parser/utils.py', 'description': 'Store the config', 'signature': 'def _store(self, data, dest=None, insecure=False):'}</s>NOTIF_WARN = 1 | 1 |
{'name': 'RobotFileParser.can_fetch@src/future/backports/urllib/robotparser.py', 'description': 'using the parsed robots.txt decide if useragent can fetch url', 'signature': 'def can_fetch(self, useragent, url):'}</s>MAX_CACHE_SIZE = 20 | 0 |
{'name': 'cli@ChromeController/__main__.py', 'description': "ChromeController\n\n\x08\nUsage: python3 -m ChromeController [-s | --silent] [-v | --verbose]\n python3 -m ChromeController fetch <url> [--binary <bin_name>] [--outfile <out_file_name>]\n python3 -m ChromeController downloadnewprotocol\n python3 -m ChromeC... | 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': 'SciQuery.get_constraint_names@py3/SciServer/SciQuery.py', 'description': 'Gets a list of the names of table constraints in a particular database belonging to an RDBComputeDomain.', 'signature': 'def get_constraint_names(self, table_name, database=None, rdb_compute_domain=None):'}</s>{'name': '__getFileService... | 0 |
{'name': 'Designmap.set_style_mapping_node@src/simple_idml/components.py', 'description': 'Do it only if self.style_mapping_node is None.', 'signature': 'def set_style_mapping_node(self):'}</s>RECTO = "recto" | 0 |
{'name': 'CheckRespiratory@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check mol under Respiratory\n\nReference:\n Ritchie, Timothy J., Christopher N. Luscombe, and Simon JF Macdonald. \n J Chem Inf Model, 49.4 (2009): 1025-1032.\n \nRule details:\n 240<=MW<= 520\n -2.0<=logP<=4.7\n 6<=nHB<... | 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>re1 = re.compile(r' +') | 0 |
{'name': 'PandasSpecialEngine._get_values_to_insert@pangres/engine.py', 'description': 'Gets the values to be inserted from the pandas DataFrame\ndefined in given instance of PandasSpecialEngine\nto the coresponding SQL table.\n\nReturns\n-------\nvalues : list\n Values from the df attribute that may have been conve... | 0 |
{'name': 'PageAdmin.get_form@pages/admin/__init__.py', 'description': 'Get a :class:`Page <pages.admin.forms.PageForm>` for the\n:class:`Page <pages.models.Page>` and modify its fields depending on\nthe request.', 'signature': 'def get_form(self, request, obj=None, **kwargs):'}</s>PAGE_HIDE_ROOT_SLUG = getattr(settings... | 0 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': '_AddListFieldsMethod@python/google/protobuf/internal/python_message.py', 'description': 'Helper for _AddMessageMethods(... | 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>PCIE_GEN_RATE = {
1: 2.5*8/10,
2: 5*8/10,
3: 8*128/130,
4: 16*128/130,
5: 32*128/130,
} | 0 |
{'name': 'Path.add@furl/furl.py', 'description': 'Add <path> to the existing path. <path> can either be a Path instance,\na list of segments, or a path string to append to the existing path.\n\nReturns: <self>.', 'signature': 'def add(self, path):'}</s>{'name': 'set_scheme@furl/furl.py', 'description': 'DOCSTRING', 'co... | 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>MQRCCF_EVENTS_DISABLED = 3224 | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_SYSTEM_OBJECTS = 1404 | 0 |
{'name': 'select_hfr_db@disdat/hyperframe.py', 'description': 'Create an HFrame Record from a row in our DB.\nWhere uuid= && owner= && human_name= && processing_name=\n\nArgs:\n engine_g:\n uuid (str): add to where clause\n owner (str): add to where clause\n human_name (str): add to where clause\n proce... | 0 |
{'name': '_IncludeState.CheckNextIncludeOrder@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants ... | 0 |
{'name': 'GenericSimpleClauseState.getEntry@util/py_lib/seqan/dox/dox_parser.py', 'description': 'Returns the Entry for the brief clause.', 'signature': 'def getEntry(self):'}</s>HTML_ATTRIBUTE = IDENTIFIER + r'="[^"]*"' | 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': 'ToDoViews.__init__@todopyramid/views.py', 'description': 'Set some common variables needed for each view.\n ', 'signature': 'def __init__(self, context, request):'}</s>{'name': 'TodoUser@todopyramid/models.py', 'description': 'When a user signs in with their persona, this model is what\nstores their ac... | 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': 'traced@beeline/__init__.py', 'description': 'Function decorator to wrap an entire function in a trace span. If no trace\nis active in the current thread, starts a new trace, and the wrapping span\nwill be a root span. If a trace is active, creates a child span of the\nexisting trace.\n\nExample use:\n\n```\n@... | 0 |
{'name': 'BinaryAxis.__init__@src/python/approxeng/input/__init__.py', 'description': "Create a new binary axis, used to route axis events through to a pair of buttons, which are created as\npart of this constructor\n\n:param name:\n Name for the axis, use this to describe the axis, it's not used for anything else\n... | 0 |
{'name': 'predicted_genbank@scripts/compare_predictions_to_phages.py', 'description': 'Read the predictions from the genbank file and return\na set of features\n:param predf: the predictions file\n:param verbose: more output\n:return: a set of predicted phage genes', 'signature': 'def predicted_genbank(predf, verbose=F... | 0 |
{'name': 'ECDSA.verify@jws/algos.py', 'description': 'Verifies a message using ECDSA cryptographic signature and key.\n\n``crypto`` is the cryptographic signature\n``key`` is the verifying key. Can be a real key object or a string.', 'signature': 'def verify(self, msg, crypto, key):'}</s>{'name': 'ECDSA@jws/algos.py', ... | 1 |
{'name': 'Bootloader._send@tools/bootloader/can/host/bootloader.py', 'description': 'Send a message via CAN Bus\n\nWith default settings the functions waits for the response to the\nmessage and retry the transmission after a timeout. After the\nspecifed number of retries it will raise a BootloaderException.\n\nKeeps tr... | 0 |
{'name': 'Writer.__init__@tools/gfx/png.py', 'description': 'Create a PNG encoder object.\n\nArguments:\n\nwidth, height\n Image size in pixels, as two separate arguments.\nsize\n Image size (w,h) in pixels, as single argument.\ngreyscale\n Input data is greyscale, not RGB.\nalpha\n Input data has alpha channel (RG... | 0 |
{'name': 'build_match_function@onlinejudge_command/subcommand/test.py', 'description': "build_match_function builds the function to compare actual outputs and expected outputs.\n\nThis function doesn't any I/O.", 'signature': 'def build_match_function(*, compare_mode: CompareMode, error: Optional[float], judge_command:... | 0 |
{'name': 'github_import@code/synchronization/github_import.py', 'description': 'Import various information from Github repositories (like contributors) or stars for Github repos\nGithub rate limiting limits us to 1000 queries an hour (also with a personal token?)', 'signature': 'def github_import():'}</s>essential_insp... | 0 |
{'name': 'optimze_conformation.score_conformation@deepdock/DockingFunction.py', 'description': 'Parameters\n----------\nvalues : numpy.ndarray\n set of inputs of shape :code:`(n_particles, dimensions)`\nReturns\n-------\nnumpy.ndarray\n computed cost of size :code:`(n_particles, )`', 'signature': 'def score_confo... | 1 |
{'name': 'IsiDataInsightsDaemon.__init__@isi_data_insights_daemon.py', 'description': "Initialize.\n:param: pidfile is the path to the daemon's pidfile (required).", 'signature': 'def __init__(self, pidfile):'}</s>{'name': 'UpdateInterval@isi_data_insights_daemon.py', 'description': 'DOCSTRING', 'base_classes': ['objec... | 0 |
{'name': 'PipelineSharedReadWrite.load@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/ml/pipeline.py', 'description': 'Load metadata and stages for a :py:class:`Pipeline` or :py:class:`PipelineModel`\n\n:return: (UID, list of stages)', 'signature': 'def load(metadata, sc, path):'}</s>__all__ = [... | 0 |
{'name': 'BatchMemoryRecallLoss.__init__@blackbox_backprop/recall.py', 'description': ':param batch_memory: How many batches should be in memory\n:param kwargs: arguments of the underlying loss', 'signature': 'def __init__(self, batch_memory, **kwargs):'}</s>{'name': 'rank_normalised@blackbox_backprop/ranking.py', 'des... | 0 |
{'name': 'FSPath.iterdir@airflow_code_editor/fs.py', 'description': 'Iterate over the files in this directory', 'signature': 'def iterdir(self, show_ignored_entries=False):'}</s>STAT_FIELDS = [
"st_mode",
"st_ino",
"st_dev",
"st_nlink",
"st_uid",
"st_gid",
"st_size",
"st_atime",
"st_... | 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': 'HokusaiGlobalConfig.save@hokusai/lib/global_config.py', 'description': 'save config to local config file ', 'signature': 'def save(self):'}</s>local_global_config_file_name = ".hokusai.yml" | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_STRUC_ID_ERROR = 6107 | 0 |
{'name': 'PVPCData.update_active_sensors@aiopvpc/pvpc_data.py', 'description': 'Update enabled API indicators to download.', 'signature': 'def update_active_sensors(self, data_id: str, enabled: bool):'}</s>DEFAULT_POWER_KW = 3.3 | 0 |
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_CHANNEL_INITIATOR_ERROR = 3218 | 0 |
{'name': 'TopologyView.retrieve@moi/views.py', 'description': 'Read information about an individual Topology resource.\n\nThe GET method reads the information of a Topology.', 'signature': 'def retrieve(self, request, *args, **kwargs):'}</s>{'name': 'AMFFunction@moi/models.py', 'description': 'DOCSTRING', 'base_classes... | 0 |
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ... | 0 |
{'name': '_loadedModules@snimpy/mib.py', 'description': 'Generates the list of loaded modules.\n\n:yield: The :class:`smi.SmiModule` of all currently loaded modules.', 'signature': 'def _loadedModules():'}</s>{'name': 'getScalars@snimpy/mib.py', 'description': 'Return all scalars from a given MIB.\n\n:param mib: The MI... | 0 |
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>{'name': 'pfsync_state_key@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.