text string | label int64 |
|---|---|
{'name': 'install_python@bootstrap.py', 'description': 'Install just the base environment, no distutils patches etc', 'signature': 'def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, symlink=True):'}</s>ACTIVATE_SH = convert("""
eJytVd9v2kAMfs9fYQLq2m4MscdNVKMqEkgtVIQxbeuUHolpTgsXdHehpT/+9/mS... | 0 |
{'name': 'extract_entities@libratom/lib/entities.py', 'description': 'Main entity extraction function that extracts named entities from a given iterable of files\n\nSpawns multiple processes via multiprocessing.Pool', 'signature': 'def extract_entities('}</s>{'name': 'BodyType@libratom/lib/constants.py', 'description':... | 0 |
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie... | 0 |
{'name': 'test_LocalstackEndpointResolver@tests/integration/test_contrib/test_botocore.py', 'description': 'Test pytest_localstack.botocore.LocalstackEndpointResolver.', 'signature': 'def test_LocalstackEndpointResolver('}</s>manager = pluggy.PluginManager("pytest-localstack") | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools subclasses used by Versioneer.\n\nIf the package uses a different cmdclass (e.g. one from numpy), it\nshould be provide as an argument.', 'signature': 'def get_cmdclass(cmdclass: Optional[Dict[str, Any]] = None):'}</s>{'name': 'get_version... | 0 |
{'name': 'transform_relations@skosify/skosify.py', 'description': 'Transform YSO-style concept relations into SKOS equivalents.', 'signature': 'def transform_relations(rdf, relationmap):'}</s>{'name': 'infer_broaderTransitive@skosify/skosify.py', 'description': 'DOCSTRING', 'code': 'def infer_broaderTransitive(rdf):\n ... | 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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMD_CREATE_AUTH_INFO = 81 | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQDCC_DEFAULT_CONVERSION = py23long(0x00000001) | 0 |
{'name': 'collect_inventory_license_expression@src/attributecode/model.py', 'description': 'Read the inventory file at location and return a list of ABOUT objects without\nvalidation. The purpose of this is to speed up the process for `gen_license` command.', 'signature': 'def collect_inventory_license_expression(loca... | 1 |
{'name': 'marching_cubes_3d@marching_cubes_3d.py', 'description': 'Iterates over a cells of size one between the specified range, and evaluates f to produce\na boundary by Marching Cubes. Returns a Mesh object.', 'signature': 'def marching_cubes_3d(f, xmin=XMIN, xmax=XMAX, ymin=YMIN, ymax=YMAX, zmin=ZMIN, zmax=ZMAX):'}... | 1 |
{'name': 'get_signature_string@src/makefun/main.py', 'description': 'Returns the string to be used as signature.\nIf there is a non-native symbol in the defaults, it is created as a variable in the evaldict\n:param func_name:\n:param func_signature:\n:return:', 'signature': 'def get_signature_string(func_name, func_sig... | 0 |
{'name': 'create_hydraulic_model@wntr/sim/hydraulics.py', 'description': "Parameters\n----------\nwn: WaterNetworkModel\nmode: str\nHW_approx: str\n Specifies which Hazen-Williams headloss approximation to use. Options are 'default' and 'piecewise'. Please\n see the WNTR documentation on hydraulics for details.\n... | 0 |
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W... | 0 |
{'name': 'SnippetParser._html_list_to_snippets@snippet_parser/core.py', 'description': 'Given a list element containing a citation needed marker in one of\nits <li>, extract a snippet by taking the <li> with the marker plus\na couple of other <li> for context, dropping all other items.\n\nReturns a list of snippets ext... | 0 |
{'name': 'get_input@rpcq/_utils.py', 'description': 'Get positional or keyword arguments from JSON RPC params\n\n:param params: Parameters passed through JSON RPC\n:return: args, kwargs', 'signature': 'def get_input(params: Union[dict, list]) -> Tuple[list, dict]:'}</s>{'name': 'NativeQuilMetadata@rpcq/messages.py', 'd... | 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': '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': 'NonPrintableDefect@src/future/backports/email/errors.py', 'description': 'ASCII characters outside the... | 0 |
{'name': 'data_generator@Mask_RCNN/mrcnn/model.py', 'description': 'A generator that returns images and corresponding target class ids,\nbounding box deltas, and masks.\n\ndataset: The Dataset object to pick data from\nconfig: The model config object\nshuffle: If True, shuffles the samples before every epoch\naugment: ... | 0 |
{'name': 'fixup_pth_and_egg_link@bootstrap.py', 'description': 'Makes .pth and .egg-link files use relative paths', 'signature': 'def fixup_pth_and_egg_link(home_dir, sys_path=None):'}</s>{'name': 'main@bootstrap.py', 'description': 'DOCSTRING', 'code': 'def main():\n parser = ConfigOptionParser(\n version=vi... | 0 |
{'name': 'LogisticRegression.compute_on_sql_magic_mode@models.py', 'description': 'Gets the coefficients by minimizing the cost function.\n\nWe use iteratively reweighted least squares algorithm to solve the model.\nThe algorithm is described in\nhttps://colab.research.google.com/drive/1Srfs4weM4LO9vt1HbOkGrD4kVbG8cso8... | 0 |
{'name': 'Entry.unit@myfitnesspal/entry.py', 'description': 'Unit.', 'signature': 'def unit(self) -> Optional[str]:'}</s>{'name': 'Entry@myfitnesspal/entry.py', 'description': 'Stores information about a single entry.', 'base_classes': ['MFPBase'], 'methods': [{'name': 'Entry.__init__@myfitnesspal/entry.py', 'descripti... | 1 |
{'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': 'TLP.set_ca_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completer abort (CA) completion for TLP', 'signature': 'def set_ca_completion(self, tlp, completer_id):'}</s>{'name': 'align@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'code': 'def align(val, mask):\n if val & mask:\n ... | 0 |
{'name': 'OptimRegime.load_state_dict@optim.py', 'description': 'Loads the optimizer state.\n\nArguments:\n state_dict (dict): optimizer state. Should be an object returned\n from a call to :meth:`state_dict`.', 'signature': 'def load_state_dict(self, state_dict):'}</s>{'name': 'GradSmooth@regularization.py',... | 0 |
{'name': 'version_tnf@strictyaml/ruamel/compat.py', 'description': 'return True if strictyaml.ruamel version_info < t1, None if t2 is specified and bigger else False', 'signature': 'def version_tnf(t1, t2=None):'}</s>_debug = None | 0 |
{'name': 'FletcherBaseArray.__array_ufunc__@fletcher/base.py', 'description': 'Apply a NumPy ufunc on the ExtensionArray.', 'signature': 'def __array_ufunc__(self, ufunc, method: str, *inputs, **kwargs):'}</s>kurt_op = partial(pd_nanop, nanops.nankurt) | 0 |
{'name': 'CellLogger.gpu_ram@ipyexperiments/cell_logger.py', 'description': 'for the currently selected GPU device return: total, free and used RAM in bytes ', 'signature': 'def gpu_ram(self):'}</s>{'name': 'b2mb@ipyexperiments/cell_logger.py', 'description': 'DOCSTRING', 'code': 'def b2mb(x): return int(x/2**20)'} | 0 |
{'name': 'sha256sum@droidutil.py', 'description': "Computes the SHA256 hash of a binary file\nReturns the digest string or '' if an error occurred reading the file", 'signature': 'def sha256sum(input_file_name):'}</s>{'name': 'sha1sum@droidutil.py', 'description': "Computes the SHA1 hash of a binary file\nReturns the d... | 0 |
{'name': 'CheckBraces@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to ca... | 0 |
{'name': 'generate_config@deprecated/gcp/R80.30/single-byol-R80.30/check-point-vsec--byol.py', 'description': 'Creates the gateway.', 'signature': 'def generate_config(context):'}</s>{'name': 'make_firewall_rule@deprecated/gcp/R80.30/single-byol-R80.30/check-point-vsec--byol.py', 'description': 'DOCSTRING', 'code': 'de... | 0 |
{'name': 'rot_by_axis@python/taichi/math/mathimpl.py', 'description': 'Returns the 4x4 matrix representation of a 3d rotation with given axis `axis` and angle `ang`.\n\nArgs:\n axis (vec3): rotation axis\n ang (float): angle in radians unit\n\nReturns:\n :class:`~taichi.math.mat4`: rotation matrix', 'signature... | 0 |
{'name': 'SemisupervisedTranslationTask.load_dataset@fairseq/tasks/semisupervised_translation.py', 'description': 'Load a dataset split.', 'signature': 'def load_dataset(self, split, epoch=1, **kwargs):'}</s>{'name': 'safe_hasattr@fairseq/utils.py', 'description': 'Returns True if the given key exists and is not None.'... | 0 |
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>downcaseTokens = tokenMap(lambda t: _ustr(t).lower()) | 1 |
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>_ALT_TOKEN_REPLACEMENT_PATTERN = re.compile(
r'[ =()](' + ('|'.join(_ALT_TOKEN_REPLACEMENT.keys())) + r')(?=[ (]|$)') | 0 |
{'name': 'compute_prediction@chapter5/logistic_regression_from_scratch.py', 'description': 'Compute the prediction y_hat based on current weights', 'signature': 'def compute_prediction(X, weights):'}</s>y_train = np.array([0,
0,
0,
0,
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': 'get_box_spilt@apphelper/image.py', 'description': 'isRoate:是否旋转box', 'signature': 'def get_box_spilt(boxes,im,sizeW,SizeH,splitW=8,isRoate=False,rorateDegree=0):'}</s>{'name': 'rotate@apphelper/image.py', 'description': '点(x,y) 绕(cx,cy)点旋转', 'code': 'def rotate(x,y,angle,cx,cy):\n """\n 点(x,y) 绕(cx,cy)点... | 0 |
{'name': 'run_lyndor_bat@module/save.py', 'description': 'create Run-Lyndor.bat in windows ', 'signature': 'def run_lyndor_bat():'}</s>{'name': 'spinning_cursor@module/message.py', 'description': 'spinning cursor', 'code': "def spinning_cursor():\n '''spinning cursor'''\n flag = True\n while flag:\n for... | 0 |
{'name': 'Metar._handlePressure@metar/Metar.py', 'description': 'Parse an altimeter-pressure group.\n\nThe following attributes are set:\n press [int]', 'signature': 'def _handlePressure( self, d ):'}</s>{'name': 'xlate_loc@metar/Metar.py', 'description': 'Substitute English terms for the location codes in the gi... | 0 |
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ... | 0 |
{'name': 'MarkerManager.mark_compiler_output@parseoutput.py', 'description': 'Parse text into a list of OutputMessage objects.\n ', 'signature': 'def mark_compiler_output(self, view, banner, base_dir, text, exit_code):'}</s>{'name': 'Position@symbols.py', 'description': 'DOCSTRING', 'base_classes': ['object'], '... | 1 |
{'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': 'setup_scanner@custom_components/life360/device_tracker.py', 'description': 'Set up device scanner.', 'signature': 'def setup_scanner(hass, config, see, discovery_info=None):'}</s>CONF_HOME_PLACE = "home_place" | 0 |
{'name': 'transformer_xl@baselines/models/xlnet/modeling.py', 'description': 'Defines a Transformer-XL computation graph with additional\nsupport for XLNet.\n\nArgs:\n\ninp_k: int32 Tensor in shape [len, bsz], the input token IDs.\nseg_id: int32 Tensor in shape [len, bsz], the input segment IDs.\ninput_mask: float32 Te... | 1 |
{'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': 'indigenous_peoples_day@src/convertdate/holidays.py', 'description': 'Celebrated on the second Monday in October in the United States.', 'signature': "def indigenous_peoples_day(year, country='usa'):"}</s>APR = 4 | 0 |
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>ERR_PING = "Error: the provided hostname is unreachable" | 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': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo... | 0 |
{'name': 'Graph.__init__@train.py', 'description': 'Args:\n num: Either 1 or 2. 1 for Text2Mel 2 for SSRN.\n mode: Either "train" or "synthesize".', 'signature': 'def __init__(self, num=1, mode="train"):'}</s>{'name': 'Hyperparams@hyperparams.py', 'description': 'Hyper parameters', 'base_classes': [], 'methods': []} | 0 |
{'name': '_NamespaceInfo.CheckEnd@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check end of namespace comments.', 'signature': 'def CheckEnd(self, filename, clean_lines, linenum, error):'}</s>{'name': 'ReverseCloseExpression@ament_cpplint/ament_cpplint/cpplint.py', 'description': "If input points to ) or } ... | 0 |
{'name': 'test_calculate_pass@src/pyinterp/tests/test_orbit_interpolation.py', 'description': 'Test the calculation of the pass.', 'signature': 'def test_calculate_pass():'}</s>{'name': 'test_calculate_orbit@src/pyinterp/tests/test_orbit_interpolation.py', 'description': 'Test the calculation of the orbit.', 'code': 'd... | 0 |
{'name': '_decode_number@fips-files/generators/sjson/__init__.py', 'description': 'Parse a number.\n\nnext_char -- the next byte in the stream.', 'signature': 'def _decode_number(stream, next_char):'}</s>{'name': '_parse@fips-files/generators/sjson/__init__.py', 'description': 'DOCSTRING', 'code': 'def _parse(stream):\... | 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': 'Path.mountpoint@lib/filesystem.py', 'description': 'Return the mount point of the filesystem containing, or, if symlink,\nthe file pointed to. E.g.:\n\n >>> Path("/proc").mountpoint()\n Path(\'/proc\')\n >>> Path("/proc/self").mountpoint()\n Path(\'/proc\')\n >>> Path("/").mountpoint()\n Path(\'/\... | 0 |
{'name': 'algorithm_4@adaptive/tests/algorithm_4.py', 'description': 'ALGORITHM_4 evaluates an integral using adaptive quadrature. The\nalgorithm uses Clenshaw-Curtis quadrature rules of increasing\ndegree in each interval and bisects the interval if either the\nfunction does not appear to be smooth or a rule of maximu... | 0 |
{'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': 'get_factorial_cond_table@src/python_scripts/afnipy/lib_subjects.py', 'description': "given a l... | 0 |
{'name': 'create_app@baymax/app.py', 'description': 'Create a Flask app.', 'signature': 'def create_app(config=None, app_name=None, blueprints=None):'}</s>{'name': 'configure_error_handlers@baymax/app.py', 'description': 'DOCSTRING', 'code': 'def configure_error_handlers(app):\n\n @app.errorhandler(403)\n def for... | 1 |
{'name': '_MXNetModule.__make_numerical_loss@datawig/imputer.py', 'description': 'Generate output symbol for univariate numeric loss\n\n:param latents:\n:param label_field_name:\n:return: mxnet symbols for predictions and loss', 'signature': 'def __make_numerical_loss(latents: mx.symbol,'}</s>{'name': 'logits_from_prob... | 0 |
{'name': 'codep_dist@riskfolio/src/AuxFunctions.py', 'description': "Calculate the codependence and distance matrix according the selected method.\n\nParameters\n----------\nreturns : DataFrame of shape (n_samples, n_assets)\n Assets returns DataFrame, where n_samples is the number of\n observations and n_assets ... | 0 |
{'name': 'accuracy@training/train_imagenet_nv.py', 'description': 'Computes the accuracy@k for the specified values of k', 'signature': 'def accuracy(output, target, topk=(1,)):'}</s>is_master = os.environ.get('RANK', '0') == '0' | 0 |
{'name': 'SchemaClass.getHighestType@redfish_service_validator/catalog.py', 'description': "Get Highest possible version for given type.\n\n:param acquiredtype: Type available\n:param limit: Version string limit (full namespace or just version 'v1_x_x')", 'signature': 'def getHighestType(self, my_full_type, limit=None)... | 1 |
{'name': 'MessageBus.request_name_sync@dbus_next/glib/message_bus.py', 'description': 'Request that this message bus owns the given name.\n\n:param name: The name to request.\n:type name: str\n:param flags: Name flags that affect the behavior of the name request.\n:type flags: :class:`NameFlag <dbus_next.NameFlag>`\n\n... | 0 |
{'name': 'get_verify@小红书/shumei_slide.py', 'description': '进行验证', 'signature': 'def get_verify(organization):'}</s>CAPTCHA_DISPLAY_WIDTH = 310 | 0 |
{'name': 'CheckCommaSpacing@tools/cpplint.py', 'description': 'Checks for horizontal spacing near commas and semicolons.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any ... | 0 |
{'name': 'run_workflow@director/commands/workflows.py', 'description': 'Execute a workflow', 'signature': 'def run_workflow(ctx, fullname, payload, comment):'}</s>{'name': 'validate@director/utils.py', 'description': 'Validate a payload according to a given schema', 'code': 'def validate(payload, schema):\n """Valid... | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMD_CHANNEL_EVENT = 46 | 0 |
{'name': 'GridWorld.dump_subworld@tulip/gridworld.py', 'description': 'Generate new GridWorld instance from part of current one.\n\nDoes not perform automatic truncation (to make desired\nsubworld fit); instead a ValueError exception is raised.\nHowever, the "extend" argument can be used to achieve\nsomething similar.\... | 0 |
{'name': 'NNFOwithBayesianJumps.__init__@gru_ode_bayes/models.py', 'description': 'The smoother variable computes the classification loss as a weighted average of the projection of the latents at each observation.\nimpute feeds the parameters of the distribution to GRU-ODE at each step.', 'signature': 'def __init__(sel... | 1 |
{'name': 'timedifference@code/link_coref.py', 'description': 'compute difference of time between two mentions', 'signature': 'def timedifference(pubdate,events,eventid1,eventid2):'}</s>{'name': 'load_model_realis@code/link_coref.py', 'description': 'load trained model for predicting realis', 'code': 'def load_model_rea... | 0 |
{'name': 'XMLDump.finish@TDScanner/sqlmap/lib/core/xmldump.py', 'description': 'Finishes the dumper operation:\n1. Adds the session status to the xml\n2. Writes the xml to the file\n3. Closes the xml file', 'signature': 'def finish(self, resultStatus, resultMsg=""):'}</s>{'name': '_writexml_text@TDScanner/sqlmap/thirdp... | 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': 'is_valid_encoded_query_key@furl/furl.py', 'description': ... | 0 |
{'name': 'CheckForNonConstReference@tools/caffe-sphereface/scripts/cpp_lint.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 clean_lines: A CleansedLines in... | 0 |
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'ArraySortRef@src/api/python/z3/z3.py', 'description': 'Array sorts.', 'base_classes': ['SortRef'], 'methods': [{'name': 'ArraySortRef.domain@src/api/python/z3/... | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIAMO_UNSUBS_DUR = 786 | 0 |
{'name': 'TrimmedMatchDesignTest.testReportCandidateDesignWithNoResponseDuringEval@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks the calculation with no response during evaluation period.', 'signature': 'def testReportCandidateDesignWithNoResponseDuringEval(self):'}</s>PRE_EXPERIMENT ... | 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': 'Pipe.output@tcd/pipe.py', 'description': 'Format output path from data\n:param video_data: Video data\n:return: Output string', 'signature': 'def output(self, video_data: Dict[str, Any]) -> str:'}</s>{'name': 'Settings@tcd/settings.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Set... | 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': '_search_coarse@source/tomopy/recon/rotation.py', 'description': 'Coarse search for finding the rotation center.', 'signature': 'def _search_coarse(sino, smin, smax, ratio, drop, ncore=None):'}</s>__copyright__ = "Copyright (c) 2015, UChicago Argonne, LLC." | 0 |
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>ci_test_m3u8 = "test.m3u8" | 0 |
{'name': 'get_state_op@tensorflow_quantum/core/ops/circuit_execution_ops.py', 'description': "Get a TensorFlow op that produces states from given quantum circuits.\n\nThis function produces a non-differentiable op that will calculate\nbatches of state tensors given tensor batches of `cirq.Circuit`s and\nparameter value... | 0 |
{'name': 'XRasterBase.write_grid_mapping@rioxarray/rioxarray.py', 'description': 'Write the CF grid_mapping attribute to the encoding.\n\nParameters\n----------\ngrid_mapping_name: str, optional\n Name of the grid_mapping coordinate.\ninplace: bool, optional\n If True, it will write to the existing dataset. Defau... | 0 |
{'name': '_load_released_version@source-builder/sb/version.py', 'description': "Load the release data if present. If not found the package is not released.\n\nA release can be made by adding a file called `VERSION` to the top level\ndirectory of a package. This is useful for user deploying a package and\nmaking custom ... | 0 |
{'name': 'get_random_vector@articles/inversion.py', 'description': "Return a random vector with a maximum length of 'max_step'.", 'signature': 'def get_random_vector(max_step):'}</s>{'name': 'LineToCircleInversionRevisited@articles/inversion.py', 'description': 'DOCSTRING', 'base_classes': ['LineToCircleInversion'], 'm... | 0 |
{'name': 'test_switching_threads@tests/unit/test_tui_reporter.py', 'description': 'Test that we can switch which thread is displayed', 'signature': 'def test_switching_threads():'}</s>{'name': 'test_update_thread@tests/unit/test_tui_reporter.py', 'description': 'Test that our update thread posts the expected messages t... | 0 |
{'name': 'pump_efficiency@proptools/turbopump.py', 'description': 'Pump efficiency estimate.\n\nBased on figure 6-23 in Huzel and Huang.\n\nArguments:\n dp: Pump pressure rise [units: pascal].\n m_dot: Pump mass flow [units: kilogram second**-1].\n rho: Density of pumped fluid [units: kilogram meter**-3].\n ... | 0 |
{'name': 'asynq@asynq/decorators.py', 'description': 'Async task decorator.\nConverts a method returning generator object to\na method returning AsyncTask object.', 'signature': 'def asynq('}</s>{'name': 'has_async_fn@asynq/decorators.py', 'description': 'Returns true if fn can be called asynchronously.', 'code': 'def ... | 1 |
{'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': 'get_page_from_string_or_id@pages/templatetags/pages_tags.py', 'description': 'Return a Page object from a slug or an id.', 'signature': 'def get_page_from_string_or_id(page_string, lang=None):'}</s>do_get_page = register.tag('get_page', do_get_page) | 0 |
{'name': 'wide_resnet50_3@robustness/imagenet_models/resnet.py', 'description': 'Wide ResNet-50-3 model\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet\n progress (bool): If True, displays a progress bar of the download to stderr', 'signature': 'def wide_resnet50_3(pretrained=False, p... | 0 |
{'name': '_GenerateMSVSProject@gyp/pylib/gyp/generator/msvs.py', 'description': 'Generates a .vcproj file. It may create .rules and .user files too.\n\nArguments:\n project: The project object we will generate the file for.\n options: Global options passed to the generator.\n version: The VisualStudioVersion object... | 0 |
{'name': 'MPEServiceCommand.service_metadata_init@snet/cli/commands/mpe_service.py', 'description': 'Utility for creating a service metadata file.\n\nCLI questionnaire for service metadata creation. Creates a `service_metadata.json`\n(if file name is not set) with values entered by the user in the questionnaire utility... | 0 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': '_pb_args_coeffs@src/api/python/z3/z3.... | 0 |
{'name': 'fit_model@scnym/main.py', 'description': 'Fit an scNym model given a set of observations and labels.\n\nParameters\n----------\nX : np.ndarray\n [Cells, Genes] of log1p transformed normalized values.\n log1p and normalization performed using scanpy defaults.\ny : np.ndarray\n [Cells,] integer class l... | 1 |
{'name': '_change_precision_pact@nemo/transf/utils.py', 'description': 'Changes the target precision of a PACT quantization-aware layer.\n\n\n:param bits: target bit-width.\n:type bits: `int`\n\n:param scale_activations: if False, do not change precision of activations (default True).\n:type scale_activations: boolea... | 0 |
{'name': 'convert_v05x_to_v06x@echopype/echodata/sensor_ep_version_mapping/v05x_to_v06x.py', 'description': 'This function converts the EchoData structure created in echopype\nversion 0.5.x to the EchoData structure created in echopype version\n0.6.x. Specifically, the following items are completed:\n\n1. Rename the co... | 1 |
{'name': 'PropKB.tell@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Add the sentence's clauses to the KB.", 'signature': 'def tell(self, sentence):'}</s>{'name': 'parse_definite_clause@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'Return the antecedents and the consequent of a de... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.