text string | label int64 |
|---|---|
{'name': 'MainInterface.process_options@src/python_scripts/scripts/uber_ttest.py', 'description': 'return 1 on valid and exit\n 0 on valid and continue\n-1 on invalid', 'signature': 'def process_options(self):'}</s>{'name': 'common_dir@src/python_scripts/afnipy/afni_util.py', 'description': 'return the directory name ... | 0 |
{'name': 'MethodReferenceSyntaxTest.test_method_reference_to_the_new_method_with_explict_type@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': "test support for method references to 'new' with an\nexplicit type.", 'signature': 'def test_method_reference_to_the_new_method_with_explict_type(self... | 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': 'setup@gget/gget_setup.py', 'description': 'Function to install third-party dependencies for a specified gget module.\nSome modules require pip to be installed (https://pip.pypa.io/en/stable/installation).\nSome modules require curl to be installed (https://everything.curl.dev/get).\n\nArgs:\n- module (str)... | 1 |
{'name': 'AutoBackup.validate_backup_config@custom_components/auto_backup/manager.py', 'description': 'Validate the backup config.', 'signature': 'def validate_backup_config(self, config: Dict):'}</s>ATTR_EXCLUDE = "exclude" | 1 |
{'name': 'apply_mirror_prefix_map@tools/idf_tools.py', 'description': 'Rewrite URL for given tool_obj, given tool_version, and current platform,\nif --mirror-prefix-map flag or IDF_MIRROR_PREFIX_MAP environment variable is given.', 'signature': 'def apply_mirror_prefix_map(args, tool_obj, tool_version):'}</s>{'name': '... | 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': 'EnumMeta._create_@plugins/sublime/enum-dist/enum/__init__.py', 'description': 'Convenience method to create a new Enum class.\n\n`names` can be:\n\n* A string containing member names, separated either with spaces or\n commas. Values are auto-numbered from 1.\n* An iterable of member names. Values are auto-... | 0 |
{'name': 'subdir_checks@source/speed-cam.py', 'description': 'Check if motion SubDir needs to be created', 'signature': 'def subdir_checks(maxHours, maxFiles, directory, prefix):'}</s>{'name': 'get_fps@source/speed-cam.py', 'description': 'Calculate and display frames per second processing', 'code': 'def get_fps(start_... | 0 |
{'name': 'SensorHandler.validate_arming_event@custom_components/alarmo/sensors.py', 'description': 'check whether all sensors have the correct state prior to arming.', 'signature': 'def validate_arming_event(self, area_id: str, target_state: str = None, **kwargs):'}</s>ATTR_EVENT_COUNT = "event_count" | 0 |
{'name': 'Reader.__init__@tools/gfx/png.py', 'description': 'Create a PNG decoder object.\n\nThe constructor expects exactly one keyword argument. If you\nsupply a positional argument instead, it will guess the input\ntype. You can choose among the following keyword arguments:\n\nfilename\n Name of input file (a PNG f... | 0 |
{'name': 'WebSocket.connect@vertx-web/src/test/sockjs-protocol/websocket/_core.py', 'description': 'Connect to url. url is websocket url scheme.\nie. ws://host:port/resource\nYou can customize using \'options\'.\nIf you set "header" list object, you can set your own custom header.\n\n>>> ws = WebSocket()\n>>> ws.connec... | 0 |
{'name': 'slice_off_constant_faces@phi/geom/_geom.py', 'description': 'Removes slices of `obj` where the boundary conditions fully determine the values.\n\nArgs:\n obj: Sliceable object of full\n boundary_slices: Boundary slices.\n boundary: `phiml.math.Extrapolation` implementing `determines_boundary_values()... | 0 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>PF_MD5_DIGEST_LENGTH = 16 | 0 |
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': '_probe_nary@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def _probe_nary(f, args, ctx):\n i... | 0 |
{'name': 'write_images_text@colmap_runner/read_write_model.py', 'description': 'see: src/base/reconstruction.cc\n void Reconstruction::ReadImagesText(const std::string& path)\n void Reconstruction::WriteImagesText(const std::string& path)', 'signature': 'def write_images_text(images, path):'}</s>Camera = collecti... | 0 |
{'name': 'gis_prepro_tasks@oggm/workflow.py', 'description': 'Run all flowline preprocessing tasks on a list of glaciers.\n\nParameters\n----------\ngdirs : list of :py:class:`oggm.GlacierDirectory` objects\n the glacier directories to process', 'signature': 'def gis_prepro_tasks(gdirs):'}</s>{'name': '_all_inflows@... | 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_PHOTURIS = 40 | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCA_TRIGGER_TRANS_ID = 2061 | 0 |
{'name': 'generate_report_summary@app/util/analytics/analytics_utils.py', 'description': 'Generates and writes to the file (results_summary.log) all necessary metrics of the run (duration/concurrency etc.).\n\n:param collector: Collecting all the data from the run.\n:return: None.', 'signature': 'def generate_report_su... | 1 |
{'name': 'NodeList.tell_update@shingetsu/node.py', 'description': 'Tell update other nodes.\n\nIf node is None, node is myself.', 'signature': 'def tell_update(self, cache, stamp="", id="", node=None):'}</s>apache_docroot = _get_value(_extconf, 'Path', 'apache_docroot',
'/var/local/www/shingetsu'... | 0 |
{'name': 'level_successors_padded@vamb/hloss_misc.py', 'description': 'Returns the list of parents and their children at each depth.', 'signature': 'def level_successors_padded('}</s>{'name': 'plurality_threshold@vamb/hloss_misc.py', 'description': 'DOCSTRING', 'code': 'def plurality_threshold(\n tree: Hierarchy, p:... | 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': 'pick@pdfminer3/utils.py', 'description': 'Picks the object obj where func(obj) has the highest value.', 'signature': 'def pick(seq, func, maxobj=None):'}</s>{'name': 'Plane@pdfminer3/utils.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Plane.__init__@pdfminer3/utils.py', 'd... | 0 |
{'name': 'Retry.__call__@stream/clients/python/bookkeeper/common/retry.py', 'description': 'Wrap a callable with retry behavior.\nArgs:\n func (Callable): The callable to add retry behavior to.\n on_error (Callable): A function to call while processing a\n retryable exception. Any error raised by this fun... | 0 |
{'name': 'BL3Profile.get_sdus@bl3save/bl3profile.py', 'description': 'Returns a dict containing the SDU type and the number purchased. The SDU\ntype key will be a constant by default, or an English label if `eng` is `True`', 'signature': 'def get_sdus(self, eng=False):'}</s>vehicle_to_eng = {
OUTRUNNER: 'Outru... | 0 |
{'name': 'readability@panoramix/simplify.py', 'description': "- replaces variable names with nicer ones,\n- fixes empty memory in calls\n- replaces 'max..' in setmems with msize variable\n (max can only appear because of this)", 'signature': 'def readability(trace):'}</s>{'name': 'vars_in_expr@panoramix/simplify.py'... | 0 |
{'name': 'Method.or_cpp_flags@tools/sdbusplus/method.py', 'description': 'Return the corresponding ORed cpp flags.', 'signature': 'def or_cpp_flags(self, flags):'}</s>{'name': 'Method@tools/sdbusplus/method.py', 'description': 'DOCSTRING', 'base_classes': ['NamedElement', 'Renderer'], 'methods': [{'name': 'Method.__ini... | 1 |
{'name': 'toggleManager@BlendNet/addon.py', 'description': "Running the manager instance if it's not already started or stopping it", 'signature': 'def toggleManager():'}</s>{'name': 'managerTaskDetails@BlendNet/addon.py', 'description': 'DOCSTRING', 'code': 'def managerTaskDetails(task):\n return ManagerClient(getM... | 0 |
{'name': 'SpeakerDiarizer.classify_speakers@montreal_forced_aligner/diarization/speaker_diarizer.py', 'description': 'Classify speakers based on ivector or speechbrain model', 'signature': 'def classify_speakers(self):'}</s>OVERWRITE = False | 0 |
{'name': 'load_existing_model@models/utils.py', 'description': "Load an existing model from disk based on the provided metadata.\n\nArgs:\n model_metadata (dict): Metadata dictionary containing information about the model.\n dataset (torchvision.datasets): Dataset object used to instantiate the model.\n device... | 0 |
{'name': 'ProcessFileData@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array... | 0 |
{'name': 'ProcessGlobalSuppresions@tools/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty if the file is... | 0 |
{'name': 'StaticVariableTestCase.test_with_run_command@llvm-12.0.0-project/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py', 'description': 'Test that file and class static variables display correctly.', 'signature': 'def test_with_run_command(self):'}</s>{'name': 'no_debug_info_test@llvm-12.0.0-project/lldb... | 0 |
{'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': 'UnpackTag@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/wire_format.py', 'description': 'The inverse of PackTag(). Given an unsigned 32-bit number,\nreturns a (field_number, wire_type) tuple.', 'signature': 'def UnpackTag(tag):'}</s>{'name': 'SFixed64ByteSize@third_party/include/protobuf... | 0 |
{'name': 'GuiItinerary.showDetailsItineraries@guiItinerary.py', 'description': 'Shows detailed info about selected itinerary in listbox', 'signature': 'def showDetailsItineraries(self, event):'}</s>{'name': 'generate_new_color@globalData.py', 'description': 'Generate new color if not exist in existing array of colors',... | 0 |
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>OP_ENDIF = CScriptOp(0x68) | 0 |
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'DereferenceCommand@gef.py', 'description': '... | 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': 'primerFound@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def primerFound(primer, seq, mismatch):\n align... | 0 |
{'name': '_FixPath@gyp/pylib/gyp/generator/msvs.py', 'description': 'Convert paths to a form that will make sense in a vcproj file.\n\nArguments:\n path: The path to convert, may contain / etc.\nReturns:\n The path with all slashes made into backslashes.', 'signature': 'def _FixPath(path, separator="\\\\"):'}</s>{'na... | 0 |
{'name': 'main@freezer/main.py', 'description': 'freezer-agent binary main execution', 'signature': 'def main():'}</s>{'name': 'BackupJob@freezer/job.py', 'description': 'DOCSTRING', 'base_classes': ['Job'], 'methods': [{'name': 'BackupJob._validate@freezer/job.py', 'description': 'DOCSTRING', 'code': 'def _validate(se... | 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': '_make_type_verifier@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/sql/types.py', 'description': 'Make a verifier that checks the type of obj against dataType and raises a TypeError if they do\nnot match.\n\nThis verifier also checks the value of obj against datatype and raises a Value... | 0 |
{'name': 'FormatDecisionState.MustSplit@tools/yapf/yapf/yapflib/format_decision_state.py', 'description': 'Returns True if the line must split before the next token.', 'signature': 'def MustSplit(self):'}</s>{'name': 'Get@tools/yapf/yapf/yapflib/style.py', 'description': 'Get a style setting.', 'code': 'def Get(setting... | 1 |
{'name': '_makeTags@blockchain-env/lib/python3.7/site-packages/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml,'}</s>lineEnd = LineEnd().setName("lineEnd") | 0 |
{'name': 'Broadcast@pyexfil/Comm/NTP_Body/client.py', 'description': "Send message out to server\n:param data: Data to send to server [str]\n:param to: IP/DNS of server [str]\n :param port: Server's Port [int]\n:param key: Key for AES-OFB mode. [str]\n:return: Boolean", 'signature': 'def Broadcast(data, to=SERVER, p... | 1 |
{'name': 'parse_info@parseoutput.py', 'description': 'Parses result of :i <name> command of ghci and returns derived Symbols.Declaration', 'signature': 'def parse_info(name, contents):'}</s>{'name': 'sublime_haskell_cache_path@sublime_haskell_common.py', 'description': 'Get the path where compiled tools and caches are ... | 0 |
{'name': 'authenticate@update_web/main.py', 'description': 'Sends a 401 response that enables basic auth', 'signature': 'def authenticate():'}</s>{'name': 'update@update_web/main.py', 'description': 'DOCSTRING', 'code': "def update(name):\n data = Update.query.filter(Update.type==name).order_by(Update.id.desc()).lim... | 0 |
{'name': 'BaseTemplate.search@src/back/kite/bottle.py', 'description': 'Search name in all directories specified in lookup.\nFirst without, then with common extensions. Return first hit. ', 'signature': 'def search(cls, name, lookup=[]):'}</s>{'name': '_ImportRedirect@src/back/kite/bottle.py', 'description': 'DOCSTRING... | 0 |
{'name': 'cli@toggl/cli/commands.py', 'description': 'CLI interface to interact with Toggl tracking application.\n\nMany of the options can be set through Environmental variables. The names of the variables\nare denoted in the option\'s helps with format "(ENV: <name of variable>)".\n\nThe authentication credentials ca... | 0 |
{'name': 'decode_text@pdfminer3/utils.py', 'description': 'Decodes a PDFDocEncoding string to Unicode.', 'signature': 'def decode_text(s):'}</s>{'name': 'make_compat_str@pdfminer3/utils.py', 'description': 'In Py2, does nothing. In Py3, converts to string, guessing encoding.', 'code': 'def make_compat_str(in_str):\n ... | 0 |
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'update_gef@gef.py', 'description': 'Obsolete... | 0 |
{'name': 'AbstractTransform.__call__@rising/transforms/abstract.py', 'description': 'Call super class with correct torch context\n\nArgs:\n *args: forwarded positional arguments\n **kwargs: forwarded keyword arguments\n\nReturns:\n Any: transformed data', 'signature': 'def __call__(self, *args, **kwargs) -> An... | 0 |
{'name': 'Device.open@src/LabJackPython.py', 'description': 'Device.open(devType, Ethernet=False, firstFound = True, serial = None, localId = None, devNumber = None, ipAddress = None, handleOnly = False, LJSocket = None)\n\nOpen a device of type devType. ', 'signature': 'def open(self, devType, Ethernet=False, firstFou... | 0 |
{'name': 'revnet2d_step@layers.py', 'description': 'A step of flow, invertible 1x1 convolution followed by a layer of (inverse) dynamic linear transformation\n\nArgs:\n inputs: 4D tensor\n cond: 2D or 4D tensor, conditions of s,mu = g(x, h)\n logdet: objective\n\nReturns:\n output: 4D tensor\n logdet: ob... | 0 |
{'name': 'image_normalization@Tutorial Deploy to OpenCV dnn/aid_cv2_dnn.py', 'description': 'Perform a normalization of the pixel values.\n\nParameters\n----------\nimages: ndarray\nnormalization_method: str\n Factor by which the size of the images should be zoomed\nnormalization_method: str; available are: (text co... | 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': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'dereference@gef.py', 'description': 'GEF wrapper for gdb dereference function.', 'code': 'def dereference(ad... | 0 |
{'name': 'weighted_impurity@chapter4/decision_tree_implementation.py', 'description': "Calculate weighted impurity of children after a split\n@param groups: list of children, and a child consists a list of class labels\n@param criterion: metric to measure the quality of a split, 'gini' for Gini Impurity or 'entropy' fo... | 0 |
{'name': 'CortexM.reset@pyocd/coresight/cortex_m.py', 'description': "! @brief Reset the core.\n\nThe reset method is selectable via the reset_type parameter as well as the reset_type\nsession option. If the reset_type parameter is not specified or None, then the reset_type\noption will be used. If the option is not se... | 0 |
{'name': 'eval_one_epoch@action_cls/train.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def eval_one_epoch(sess, ops, test_writer):'}</s>TRAIN_DATASET = msr_dataset.Dataset(root=DATA, num_points=NUM_POINT, num_frames=NUM_FRAME, skip_frames=SKIP_FRAME, train=True) | 0 |
{'name': 'write@code/html/generate_static_website.py', 'description': 'Writes a generated HTML page to a file, but checks with a HTML parser before.\n:param text:\n:param file:', 'signature': 'def write(text, path):'}</s>non_games_path = ['frameworks'] | 0 |
{'name': 'Application._perform_deferred_reload@robopianist/viewer/application.py', 'description': 'Performs the deferred part of initialization related to Physics reload.\n\nArgs:\n params: Deferred reload parameters, an instance of ReloadParams.', 'signature': 'def _perform_deferred_reload(self, params):'}</s>_PAN_CA... | 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>{'name': 'DvzShapeType@datoviz/__ini... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQEXT_OBJECT = 1 | 0 |
{'name': 'test_org_admin_get_mitre_org@test-http/src/test/org_user_tests/org_as_org_admin.py', 'description': 'services api rejects requests for secretariat by non-secretariat users ', 'signature': 'def test_org_admin_get_mitre_org(org_admin_headers):'}</s>{'name': 'test_org_admin_update_same_org_user_roles_name@test-h... | 0 |
{'name': 'IKinSpace@7_Demo_youBotPickAndPlace/code/modern_robotics/core.py', 'description': 'Computes inverse kinematics in the space frame for an open chain robot\n\n:param Slist: The joint screw axes in the space frame when the\n manipulator is at the home position, in the format of a\n matr... | 0 |
{'name': 'GDAL2Tiles.generate_base_tiles@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Generation of the base tiles (the lowest in the pyramid) directly from the input raster', 'signature': 'def generate_base_tiles(self) -> Tuple[TileJobInfo, List[TileDetail]]:'}</s>profile_list = ["mercator", "geode... | 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': 'callback@scripts/build.py', 'description': 'Build tools.', 'signature': 'def callback() -> None:'}</s>{'name': '_run_for_thread@scripts/build.py', 'description': 'DOCSTRING', 'code': 'def _run_for_thread(command: str) -> tuple[str, int, str]:\n print(f"Running: {command}") # noqa: T201\n result = subpr... | 0 |
{'name': 'Model.add_constraints@linopy/model.py', 'description': 'Assign a new, possibly multi-dimensional array of constraints to the\nmodel.\n\nConstraints are added by defining a left hand side (lhs), the sign and\nthe right hand side (rhs). The lhs has to be a linopy.LinearExpression\nand the rhs a constant (array ... | 0 |
{'name': 'Project.read_configuration@src/nitpick/core.py', 'description': 'Return the ``[tool.nitpick]`` table from the configuration file.\n\nOptionally, validate it against a Marshmallow schema.', 'signature': 'def read_configuration(self) -> Configuration:'}</s>TOMLKIT_DOT = "." | 0 |
{'name': '_FloatingPointEncoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for float fields.\n\nThis is like StructPackEncoder, but catches errors that may be due to\npassing non-finite floating-point values to struct.pack, and ... | 0 |
{'name': 'main.get_info@mcu/qe/qe.py', 'description': 'Extract basis information from the vasprun.xml', 'signature': 'def get_info(self, filename=None): '}</s>{'name': 'read_pdos_output@mcu/qe/qe_io.py', 'description': 'Read the dos files generated by projwfc.x\n\nref: https://www.quantum-espresso.org/Doc/INPUT_PROJ... | 0 |
{'name': 'get_data@chemprop/data/utils.py', 'description': 'Gets smiles string and target values (and optionally compound names if provided) from a CSV file.\n\n:param path: Path to a CSV file.\n:param skip_invalid_smiles: Whether to skip and filter out invalid smiles.\n:param args: Arguments.\n:param features_path: A ... | 1 |
{'name': 'TemplateFactory._processDropper2Template@src/modules/templates/template_factory.py', 'description': 'Generate DROPPER2 template for VBA and VBS based ', 'signature': 'def _processDropper2Template(self):'}</s>{'name': 'checkModuleExist@src/common/utils.py', 'description': 'Returns if a top-level module with :a... | 0 |
{'name': 'LinearFeatures.create_pipeline@lightautoml/pipelines/features/linear_pipeline.py', 'description': 'Create linear pipeline.\n\nArgs:\n train: Dataset with train features.\n\nReturns:\n Transformer.', 'signature': 'def create_pipeline(self, train: NumpyOrPandas) -> LAMLTransformer:'}</s>{'name': 'OHEEncod... | 1 |
{'name': 'kernels_DN_act_R2@e2cnn/kernels/r2.py', 'description': 'Builds a basis for convolutional kernels equivariant to reflections and :math:`N` discrete rotations,\nmodeled by the group :math:`D_N`.\n``in_repr`` and ``out_repr`` need to be :class:`~e2cnn.group.Representation` s\nof :class:`~e2cnn.group.DihedralGrou... | 0 |
{'name': 'process_options@src/python_scripts/scripts/uber_subject.py', 'description': 'return status and VarsObject structs of subject and control variables\n\n - given list of valid options, read and process the user options\n - if terminal option or -no_gui, return 0 (successful quit)\n\nreturn 1 : on success and ... | 0 |
{'name': 'lineno@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Returns current line number within a string, counting newlines as line separators.\nThe first line is number 1.\n\nNote: the default parsing behavior is to expand tabs in the input string\nbefore starting the parsing process. See ... | 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': 'getWorkloadLensReview@static/watool/utilities/Code/exportImportWAFR.py', 'description': 'List all lenses currently available', 'signature': 'def getWorkloadLensReview('}</s>{'name': 'FindWorkload@static/watool/utilities/Code/exportImportWAFR.py', 'description': 'Finding your WorkloadId and ARN ', 'code': 'def... | 0 |
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'fpNEQ@src/api/python/z3/z3.py', 'description': "Create the Z3 floating-point expression `Not(fpEQ(other, self))`... | 0 |
{'name': 'Command.__is_valid_value_for_arg@sievelib/commands.py', 'description': 'Check if value is allowed for arg\n\nSome commands only allow a limited set of values. The method\nalways returns True for methods that do not provide such a\nset.\n\n:param arg: the argument\n:param value: the value to check\n:param chec... | 0 |
{'name': '_getInputFromUser@packstack/installer/run_setup.py', 'description': 'this private func reads the data from the user\nfor the given param', 'signature': 'def _getInputFromUser(param):'}</s>{'name': '_gettmpanswerfilepath@packstack/installer/run_setup.py', 'description': 'DOCSTRING', 'code': 'def _gettmpanswerf... | 0 |
{'name': 'Plant.pick_petal@src/astrobotany/models.py', 'description': "Pick a petal from a flowering plant.\n\nArgs:\n user: The user picking the petal, if not the plant's owner.\n\nReturns: A string with a description of the resulting action.", 'signature': 'def pick_petal(self, user: User | None = None) -> str:'}<... | 0 |
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_75 = Badge("unicorn face", series=1, number=75, symbol="🦄") | 0 |
{'name': 'execute_rome@rome/rome_main.py', 'description': 'Executes the ROME update algorithm for the specified update at the specified layer\nInvariant: model at beginning of function == model at end of function', 'signature': 'def execute_rome('}</s>{'name': 'set_requires_grad@util/nethook.py', 'description': 'Sets r... | 0 |
{'name': 'convert_model@obstacle-detection/model/common/sync_batchnorm/batchnorm.py', 'description': 'Traverse the input module and its child recursively\n and replace all instance of torch.nn.modules.batchnorm.BatchNorm*N*d\n to SynchronizedBatchNorm*N*d\n\nArgs:\n module: the input module needs to be convert t... | 0 |
{'name': 'pre_process_and_fetch_license_dict@src/attributecode/model.py', 'description': 'Return a dictionary containing the license information (key, name, text, url)\nfetched from the ScanCode LicenseDB or DejaCode API.', 'signature': 'def pre_process_and_fetch_license_dict(abouts, from_check=False, api_url=None, api... | 0 |
{'name': 'get_market_data@alphapy/data.py', 'description': 'Get data from an external feed.\n\nParameters\n----------\nmodel : alphapy.Model\n The model object describing the data.\nmarket_specs : dict\n The specifications for controlling the MarketFlow pipeline.\ngroup : alphapy.Group\n The group of symbols.\... | 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': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre... | 0 |
{'name': 'AGraph.clear@pygraphviz/agraph.py', 'description': 'Remove all nodes, edges, and attributes from the graph.', 'signature': 'def clear(self):'}</s>{'name': 'agparent@pygraphviz/graphviz.py', 'description': 'DOCSTRING', 'code': 'def agparent(g):\n return _graphviz.agparent(g)'} | 0 |
{'name': 'MarketstoreServicer.Write@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Missing associated documentation comment in .proto file.', 'signature': 'def Write(self, request, context):'}</s>_WRITEREQUEST = DESCRIPTOR.message_types_by_name['WriteRequest'] | 0 |
{'name': 'art@art/functions.py', 'description': 'Return 1-line art.\n\n:param artname: art name\n:type artname : str\n:param number: number of repeats\n:type number: int\n:param space: space between arts\n:type space: int\n:param __detailed_return: flag for returning the art name\n:type __detailed_return: bool\n:return... | 0 |
{'name': '_Command._decode_transfer_data@pyocd/probe/pydapaccess/dap_access_cmsis_dap.py', 'description': 'Take a byte array and extract the data from it\n\nDecode the response returned by a DAP_Transfer CMSIS-DAP command\nand return it as an array of bytes.', 'signature': 'def _decode_transfer_data(self, data):'}</s>{... | 0 |
{'name': 'template2features@util/models/ner_1/tagged_feature.py', 'description': ':type token: object', 'signature': 'def template2features(sent, i, token_syntax, debug=True):'}</s>{'name': 'text_lower@util/models/ner_1/tagged_feature.py', 'description': 'DOCSTRING', 'code': 'def text_lower(word):\n return word.lowe... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.