text string | label int64 |
|---|---|
{'name': 'API.devices@pymyq/api.py', 'description': 'Return all devices.', 'signature': 'def devices(self) -> Dict[str, Union[MyQDevice, MyQGaragedoor, MyQLamp, MyQLock]]:'}</s>OAUTH_BASE_URI = "https://partner-identity.myq-cloud.com" | 0 |
{'name': 'ProcessLine@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a l... | 0 |
{'name': 'timeline@twtxt/cli.py', 'description': 'Retrieve your personal timeline.', 'signature': 'def timeline(ctx, pager, limit, twtfile, sorting, timeout, porcelain, source, cache, force_update):'}</s>{'name': 'run_pre_tweet_hook@twtxt/helper.py', 'description': 'DOCSTRING', 'code': 'def run_pre_tweet_hook(hook, opt... | 0 |
{'name': 'MessageSetItemEncoder@python/google/protobuf/internal/encoder.py', 'description': 'Encoder for extensions of MessageSet.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n required int32 type_id = 2;\n required string message = 3;\n }\n }', 'sign... | 0 |
{'name': 'records2geojson@meza/convert.py', 'description': "Converts records into a GeoJSON file like object.\n\n Args:\n records (Iter[dict]): Rows of data whose keys are the field names.\n E.g., output from any `meza.io.read_geojson`.\n\n kwargs (dict): Keyword arguments.\n\nKwargs:\n key (str): GeoJS... | 0 |
{'name': 'VaryHeaderTestCase.test_consistent_origin@tests/decorator/test_vary_header.py', 'description': 'If the Access-Control-Allow-Origin header will change dynamically,\nthe Vary:Origin header should be set.', 'signature': 'def test_consistent_origin(self):'}</s>{'name': 're_fix@flask_cors/core.py', 'description': ... | 0 |
{'name': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'test_path_with_string@voluptuous/tests/tests.py', 'description': 'Most common dict use with strings as keys', 'code': 'def... | 0 |
{'name': 'FffYmltoCFsConv._fff_scan_host_folder@Utilities/fineFileFramework/source/fine_file_framework/template/fffyml2c.py', 'description': 'scan host folder, apply filtering and attach folder / file attribute to main class', 'signature': 'def _fff_scan_host_folder(self, path, host_dir_attr, parent, indent=0):'}</s>{'... | 1 |
{'name': 'encrypt_security_credential@django_daraja/mpesa/utils.py', 'description': 'Generate an encrypted security credential from a plaintext value\n\nArguments:\n credential (str) -- The plaintext credential display', 'signature': 'def encrypt_security_credential(credential):'}</s>{'name': 'encrypt_rsa@django... | 1 |
{'name': 'column_type_eq@graphene_sqlalchemy/utils.py', 'description': 'A simple function that makes the equality based matcher functions for\nSingleDispatchByMatchFunction prettier', 'signature': 'def column_type_eq(value: Any) -> Callable[[Any], bool]:'}</s>{'name': 'sort_argument_for_model@graphene_sqlalchemy/utils.... | 0 |
{'name': 'attention_layer@baselines/models/roberta/modeling.py', 'description': 'Performs multi-headed attention from `from_tensor` to `to_tensor`.\n\nThis is an implementation of multi-headed attention based on "Attention\nis all you Need". If `from_tensor` and `to_tensor` are the same, then\nthis is self-attention. E... | 1 |
{'name': 'deconvolve@rf/deconvolve.py', 'description': "Deconvolve one component of a stream from other components.\n\nThe deconvolutions are written to the data arrays of the stream. To keep\nthe original data use the copy method of Stream.\nThe stats dictionaries of the traces inside stream must have an 'onset'\nentr... | 1 |
{'name': 'writeFileTree@fwtool.py', 'description': 'Writes a list of UnixFiles to the disk, unpacking known archive files', 'signature': 'def writeFileTree(files, path):'}</s>{'name': 'readLzh@fwtool/lzh/__init__.py', 'description': 'DOCSTRING', 'code': "def readLzh(file):\n header = LzhHeader.unpack(file)\n\n if heade... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQREADA_YES = 1 | 0 |
{'name': 'render_pep440_pre@versioneer.py', 'description': 'TAG[.post.devDISTANCE] -- No -dirty.\n\nExceptions:\n1: no tags. 0.post.devDISTANCE', 'signature': 'def render_pep440_pre(pieces):'}</s>{'name': 'do_setup@versioneer.py', 'description': 'Main VCS-independent setup function for installing Versioneer.', 'code': ... | 0 |
{'name': 'parse@marko/inline_parser.py', 'description': 'Parse given text and produce a list of inline elements.\n\n:param text: the text to be parsed.\n:param elements: the element types to be included in parsing\n:param fallback: fallback class when no other element type is matched.', 'signature': 'def parse('}</s>WH... | 0 |
{'name': 'nim_handler@cogs/results/ctr_support.py', 'description': 'Parses 3ds nim error codes in the following ranges:\n005-2000 to 005-3023:\n - NIM got a result of its own. Took description and added by 52000.\n005-4200 to 005-4399:\n - NIM got an HTTP result. Took description and added by 54200, cutting out at 5439... | 0 |
{'name': 'writeFdat@fwtool/sony/fdat.py', 'description': 'Writes a non-encrypted FDAT file', 'signature': 'def writeFdat(fdat, outFile):'}</s>{'name': 'dump16le@fwtool/util/__init__.py', 'description': 'DOCSTRING', 'code': "def dump16le(value):\n return struct.pack('<H', value)"} | 0 |
{'name': 'load_chained_operator@streaming/python/raystreaming/operator.py', 'description': 'Load chained operator from serialized operators and configs', 'signature': 'def load_chained_operator(chained_operator_bytes: bytes):'}</s>{'name': 'load_function@streaming/python/raystreaming/function.py', 'description': 'Deser... | 0 |
{'name': 'run@benchmarking/phantom.py', 'description': 'Run reconstruction benchmarks for phantoms.\n\nParameters\n----------\nphantom : string\n The name of the phantom to use.\nalgorithm : string\n The name of the algorithm to test.\nargs : argparser args\n\nReturns\n-------\nEither rec or imgs\nrec : np.ndarra... | 1 |
{'name': 'make_game@reversibility/pycolab/pycolab/examples/better_scrolly_maze.py', 'description': 'Builds and returns a Better Scrolly Maze game for the selected level.', 'signature': 'def make_game(level):'}</s>STARTER_OFFSET = [(-2, -12), # For level 0
(10, 0), # For level 1
(... | 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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCACH_LISTENER_START_DATE = 3556 | 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': 'RstToPdf.createPdf@rst2pdf/createpdf.py', 'description': "Create a PDF from text (ReST input),\nor doctree (docutil nodes) and save it in outfile.\n\nIf outfile is a string, it's a filename.\nIf it's something with a write method, (like a StringIO,\nor a file object), the data is saved there.", 'signature': '... | 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': 'test_set_format_int3@cyvcf2/tests/test_reader.py', 'description': 'test that we can handle multiple (in this case 3) values per sample', 'signature': 'def test_set_format_int3():'}</s>{'name': 'test_set_alternates@cyvcf2/tests/test_reader.py', 'description': 'DOCSTRING', 'code': 'def test_set_alternates():\n ... | 0 |
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_170 = Badge("wink... | 0 |
{'name': 'design_and_init_agc@python/jax/carfac.py', 'description': 'Design the AGC implementation from the parameters.\n\nArgs:\n ear: the index of the ear.\n params: all the design parameters.\n hypers: all the coefficients. This is needed because things like `n_ch` is\n not in `Parameters`.\n\nReturns:\n The ... | 1 |
{'name': '_reverse@windspharm/xarray.py', 'description': 'Reverse an `xarray.DataArray` along a given dimension.', 'signature': 'def _reverse(array, dim):'}</s>{'name': 'VectorWind@windspharm/standard.py', 'description': 'Vector Wind computations (standard `numpy` interface).', 'base_classes': ['object'], 'methods': [{... | 0 |
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi... | 0 |
{'name': 'prepare_backend@scratch/converters/modules/model_zoo/getter.py', 'description': "Check if ONNX, MXNet and TensorRT models exist and download/create them otherwise.\n\n:param model_name: Name of required model. Must be one of keys in `models` dict.\n:param backend_name: Name of inference backend. (onnx, trt)\n... | 0 |
{'name': 'bustools_project@kb_python/count.py', 'description': 'Runs `bustools project`.\n\n bus_path: Path to BUS file to sort\n out_dir: Path to output directory\n map_path: Path to file containing source-to-destination mapping\n ecmap_path: Path to ecmap file, as generated by `kallisto bus`\n txnames_... | 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': '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': 'Message.load@src/betterproto/__init__.py', 'description': 'Load the binary encoded Protobuf from a stream into this message instance. This\nreturns the instance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nstream: :class:`bytes`\n The stream to load the message from.\nsize:... | 1 |
{'name': 'Slides.generate@d2lbook/slides.py', 'description': 'Get all slide blocks and write to file.', 'signature': 'def generate(self, nb: notebooknode.NotebookNode, output_fn: str):'}</s>{'name': 'get_cell_tab@d2lbook/notebook.py', 'description': 'Get the cell tab', 'code': 'def get_cell_tab(cell: notebooknode.Noteb... | 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': 'share_image@vulfocus-api/tasks/tasks.py', 'description': '贡献镜像\n:param task_id: 任务 id\n:return:', 'signature': 'def share_image(task_id):'}</s>{'name': 'create_compose_task@vulfocus-api/tasks/tasks.py', 'description': '创建docker-compose镜像任务', 'code': 'def create_compose_task(user_info, image_info, tag, request... | 0 |
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>{'name': 'redirect_race@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def redirect_race():\n return redirect("/run", code=301)'} | 0 |
{'name': '_NestingState.UpdatePreprocessor@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Update preprocessor stack.\n\nWe need to handle preprocessors due to classes like this:\n #ifdef SWIG\n struct ResultDetailsPageElementExtensionPoint {\n #else\n struct ResultDetailsPageElementExtensionP... | 0 |
{'name': 'filter_unique_threaded@qm9_filter_generated.py', 'description': 'Identify duplicate molecules among a large amount of generated structures using\nmultiple CPU-threads. The first found structure of each kind is kept as valid\noriginal and all following duplicating structures are marked as invalid (the\nmolecul... | 1 |
{'name': 'AioJoinableQueue@aioprocessing/__init__.py', 'description': 'Returns an asyncio-friendly version of a multiprocessing.JoinableQueue\n\nReturns an AioJoinableQueue object with the given context. If a context\nis not provided, the default for the platform will be used.', 'signature': 'def AioJoinableQueue(maxsi... | 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': 'Installer.ensure_home@blogger_cli/cli_utils/installation.py', 'description': 'Ensures that $BLOGGER_CLI_HOME exists or create it.', 'signature': 'def ensure_home(self):'}</s>{'name': 'is_decorated@blogger_cli/cli_utils/installation.py', 'description': 'DOCSTRING', 'code': 'def is_decorated():\n if platform... | 0 |
{'name': 'train_one_tissue_cv@scnym/main.py', 'description': 'Trains a cell type classifier for a single tissue\n\nParameters\n----------\nX : np.ndarray\n [Cells, Genes] of log1p transformed, normalized values.\n log1p and normalization performed using scanpy defaults.\nmetadata : pd.DataFrame\n [Cells, Featu... | 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': 'dict_to_obs@vec_env/util.py', 'description': 'Convert an observation dict into a raw array if the\noriginal observation space was not a Dict space.', 'signature': 'def dict_to_obs(obs_dict):'}</s>{'name': 'copy_obs_dict@vec_env/util.py', 'description': 'Deep-copy an observation dict.', 'code': 'def copy_obs_d... | 0 |
{'name': 'MemoryObjectSendStream.send_nowait@src/anyio/streams/memory.py', 'description': 'Send an item immediately if it can be done without waiting.\n\n:param item: the item to send\n:raises ~anyio.ClosedResourceError: if this send stream has been closed\n:raises ~anyio.BrokenResourceError: if the stream has been clo... | 1 |
{'name': 'Serial._reconfigure_port@serial/rfc2217.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>SERVER_SET_PARITY = b'g' | 0 |
{'name': 'fit_smpl@src/SMPL/fit_smpl.py', 'description': 'fit smpl model with 3d keypoints data', 'signature': 'def fit_smpl(data):'}</s>init_mean_pose = torch.from_numpy(file['pose'][:]).unsqueeze(0).float() | 1 |
{'name': 'CheckBraces@third_party/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 call with ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_CHANNEL_TABLE_ERROR = 3062 | 0 |
{'name': 'GitlabTree.print_tree@gitlabber/gitlab_tree.py', 'description': 'Print the tree in specified format.\n\nArgs:\n format: Print format to use\n \nRaises:\n GitlabTreeError: If printing fails', 'signature': 'def print_tree(self, format: PrintFormat = PrintFormat.TREE) -> None:'}</s>{'name': 'GitlabTree@... | 1 |
{'name': 'CirqSimulateStateTest.test_state_empty_circuit@tensorflow_quantum/core/ops/cirq_ops_test.py', 'description': 'Test empty circuits', 'signature': 'def test_state_empty_circuit(self):'}</s>{'name': '_serialize_controls@tensorflow_quantum/core/serialize/serializer.py', 'description': 'Helper to serialize control... | 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': 'Field.deprecation_reason@pygraphy/introspection.py', 'description': 'Not support yet', 'signature': 'def deprecation_reason(self) -> Optional[str]:'}</s>{'name': 'Schema@pygraphy/introspection.py', 'description': 'DOCSTRING', 'base_classes': ['Object'], 'methods': [{'name': 'Schema.directives@pygraphy/introsp... | 0 |
{'name': 'find_stop@tools/hadb.py', 'description': 'Find time HA stopped # of times ago.', 'signature': 'def find_stop(stops: int) -> dt.datetime | None:'}</s>TS_WIDTH = 26 | 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>EVALUAT... | 0 |
{'name': 'ProcessLine@tools/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n wi... | 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': 'Sampler.change_alpha@lda/lda.py', 'description': 'Update the alpha value; note that this invalidates precomputed values.', 'signature': 'def change_alpha(self, idx, val):'}</s>{'name': 'Sampler@lda/lda.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Sampler.__init__@lda/lda.py', 'de... | 1 |
{'name': 'test_multiple_backends_https_h1@test/integration/test_integration_basics.py', 'description': 'Test that we can load-test multiple backends on https.\n\nRuns the CLI configured to use HTTP/1 with TLS against multiple test servers, and sanity\nchecks statistics from both client and server.', 'signature': 'def t... | 0 |
{'name': 'CARFACCell.call@python/tf/carfac.py', 'description': 'Computes output_at_t given input_at_t and states_at_t.\n\nArgs:\n input_at_t: A [batch_size, n_ears, 1]-tensor with input at this step.\n states_at_t: A tuple of state tensors at this step, where each element is\n a [batch_size]-tensor.\n\nReturns:\n ... | 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>MQLDAPC_INACTIVE = 0 | 0 |
{'name': 'read_html@meza/io.py', 'description': "Reads tables from an html file\n\nTODO: convert to lxml.etree.iterparse\nhttp://lxml.de/parsing.html#iterparse-and-iterwalk\n\nArgs:\n filepath (str): The html file path or file like object.\n If you have a url, use the following pattern:\n\n r = request... | 1 |
{'name': 'Sv1Product.get_quicklook_path@eoreader/products/optical/sv1_product.py', 'description': 'Get quicklook path if existing.\n\nReturns:\n str: Quicklook path', 'signature': 'def get_quicklook_path(self) -> str:'}</s>{'name': 'SpectralBandNames@eoreader/bands/band_names.py', 'description': 'This class aims to ... | 0 |
{'name': 'request_get_body@wrappers/python/indy_vdr/bindings.py', 'description': 'Get the canonical signature input for a prepared request.', 'signature': 'def request_get_body(handle: RequestHandle) -> str:'}</s>{'name': 'request_set_endorser@wrappers/python/indy_vdr/bindings.py', 'description': 'Set the endorser on a... | 0 |
{'name': 'ProAntiSaccades.run_trials@demo_experiments/anti_saccades.py', 'description': ' ', 'signature': 'def run_trials(self, nTrials, task, practice=False):'}</s>FULLSCREEN = False | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_SOAP_DOTNET_ERROR = 2210 | 0 |
{'name': 'get_local_part@src/future/backports/email/_header_value_parser.py', 'description': 'local-part = dot-atom / quoted-string / obs-local-part\n\n ', 'signature': 'def get_local_part(value):'}</s>_has_surrogates = re.compile(
'([^\ud800-\udbff]|\A)[\udc00-\udfff]([^\udc00-\udfff]|\Z)').search | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_INHIBIT_PUB = 181 | 0 |
{'name': 'InstanceSetup._WriteHostKeyToGuestAttributes@packages/python-google-compute-engine/google_compute_engine/instance_setup/instance_setup.py', 'description': 'Write a host key to guest attributes, ignoring errors.', 'signature': 'def _WriteHostKeyToGuestAttributes(self, key_type, key_value):'}</s>OSLOGIN_CONTROL... | 0 |
{'name': 'WebSocket.close@vertx-web/src/test/sockjs-protocol/websocket/_core.py', 'description': 'Close Websocket object\n\nstatus: status code to send. see STATUS_XXX.\n\nreason: the reason to close. This must be string.\n\ntimeout: timeout until receive a close frame.\n If None, it will wait forever until receive ... | 0 |
{'name': 'tag_copy@spatialmedia/mpeg/box.py', 'description': 'Copies a block of data from in_fh to out_fh.\n\nArgs:\n in_fh: file handle, source of uncached file contents.\n out_fh: file handle, destination for saved file.\n size: int, amount of data to copy.', 'signature': 'def tag_copy(in_fh, out_fh, size):'}</s>T... | 0 |
{'name': 'dijkstra@lndmanage/lib/pathfinding.py', 'description': 'Wrapper for calculating a shortest path given a weight function.\n\n:param graph: networkx graph\n:param source: find a path from this key\n:param target: to this key\n:param weight: weight function, takes node_from (pubkey from), node_to (pubkey to), ch... | 0 |
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>PFRKE_PLAIN = 0 | 0 |
{'name': 'Data.get_scores@verif/data.py', 'description': "Retrieves scores from all files\n\nClimatology is handled by subtracting clim's fcst field from any\nobs or determinsitic fields.\n\nArguments:\nfields Which verif.field should be retreived? Either a list or a\n single field can be supplied... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_CELL_DIR_NOT_AVAILABLE = 4068 | 0 |
{'name': 'Camera.addLandmarkInformation@cameratransform/camera.py', 'description': 'Add a term to the camera probability used for fitting. This term includes the probability to observe the given\nlandmarks and the specified positions in the image.\n\nParameters\n----------\nlm_points_image : ndarray\n the pixel posi... | 0 |
{'name': 'cubic_spline@manifold_flow/transforms/splines/cubic.py', 'description': 'References:\n> Blinn, J. F. (2007). How to solve a cubic equation, part 5: Back to numerics. IEEE Computer\nGraphics and Applications, 27(3):78–89.', 'signature': 'def cubic_spline('}</s>{'name': 'is_int@manifold_flow/utils/various.py', ... | 0 |
{'name': 'Person.getFromToken@flickr_api/objects.py', 'description': 'Retrieve the person corresponding to the authentication token.', 'signature': 'def getFromToken(token=None, filename=None, token_key=None,'}</s>{'name': 'clean_args@flickr_api/method_call.py', 'description': 'Reformat the arguments.', 'code': 'def cl... | 0 |
{'name': '_create_p2p_link_worker@src/evengsdk/cli/lab/commands.py', 'description': 'Worker for Thread Executor to create p2p links', 'signature': 'def _create_p2p_link_worker(link: Dict, path: str, tasks: List) -> None:'}</s>{'name': 'edit@src/evengsdk/cli/lab/commands.py', 'description': 'Edit a lab on EVE-NG host. E... | 0 |
{'name': 'HomographyTransform.map_index_to_coord@util/homg_trans.py', 'description': 'Return the coordinate in the transformed space of the tile.\nDependencies: init_map_coordinate\n:param index: tile index\n:return: coordinate of the tile in the transformed space.', 'signature': 'def map_index_to_coord(self, index):'}... | 0 |
{'name': 'main@other_utils/taxdump_merge.py', 'description': 'Main interface', 'signature': 'def main(args: dict) -> None:'}</s>{'name': 'CustomFormatter@other_utils/taxdump_merge.py', 'description': 'DOCSTRING', 'base_classes': ['argparse.ArgumentDefaultsHelpFormatter', 'argparse.RawDescriptionHelpFormatter'], 'method... | 0 |
{'name': 'convert_developers@code/html/generate_static_website.py', 'description': ':param developers:\n:param entries:\n:return:', 'signature': 'def convert_developers(developers, entries):'}</s>{'name': 'entry_index@code/html/generate_static_website.py', 'description': 'Prepares an entry for being an index in a categ... | 0 |
{'name': '_align_column@misc/tableutils.py', 'description': '[string] -> [padded_string]\n\n>>> list(map(str,_align_column(["12.345", "-1234.5", "1.23", "1234.5", "1e+234", "1.0e234"], "decimal")))\n[\' 12.345 \', \'-1234.5 \', \' 1.23 \', \' 1234.5 \', \' 1e+234 \', \' 1.0e234\']\n\n>>> list(map(st... | 0 |
{'name': 'fit_scan@fit_scan.py', 'description': 'function: fit FLAME model to a 3D scan\n\ninput: \n scan: input scan\n lmk_3d: input landmark 3d, in shape (N,3)\n model: FLAME face model\n lmk_face_idx, lmk_b_coords: landmark embedding, in face indices and barycentric coordinates\n weights: weights for ... | 0 |
{'name': 'db2file@django_yubin/storage_backends.py', 'description': 'Migrate emails from DatabaseStorageBackend to FileStorageBackend.', 'signature': 'def db2file():'}</s>{'name': 'StorageBackendException@django_yubin/storage_backends.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': []} | 1 |
{'name': 'MailChimp.__init__@mailchimp3/__init__.py', 'description': 'Initialize the class with your api_key and user_id and attach all of\nthe endpoints', 'signature': 'def __init__(self, *args, **kwargs):'}</s>{'name': 'ListWebhooks@mailchimp3/entities/listwebhooks.py', 'description': 'Manage webhooks for a specific ... | 1 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'ParamsRef@src/api/python/z3/z3.py', 'description': 'Set of parameters used to configure Solvers, Tactics and Simplifiers in Z... | 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': '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>CMAP_PINK = 32 | 0 |
{'name': 'startInstance@BlendNet/providers/gcp/__init__.py', 'description': 'Start stopped instance with specified name', 'signature': 'def startInstance(instance_name):'}</s>{'name': '_getInstance@BlendNet/providers/gcp/__init__.py', 'description': 'Get the instance information or return None', 'code': "def _getInstan... | 0 |
{'name': 'create_dummy_content@todopyramid/scripts/initializedb.py', 'description': 'Create some tasks by default to show off the site\n ', 'signature': 'def create_dummy_content(user_id):'}</s>{'name': 'usage@todopyramid/scripts/initializedb.py', 'description': 'DOCSTRING', 'code': 'def usage(argv):\n cmd = os.p... | 0 |
{'name': 'DeviceThermalComfort.compute_states@custom_components/thermal_comfort/sensor.py', 'description': 'Compute states of configured sensors.', 'signature': 'def compute_states(self) -> dict[SensorType, ComputeState]:'}</s>DEFAULT_SENSOR_TYPES = list(SENSOR_TYPES.keys()) | 0 |
{'name': 'CombinedFunction.add_penalty@parsimony/functions/combinedfunctions.py', 'description': 'Add a penalty, i.e. a constraint on the Lagrange form.\n\nParameters\n----------\npenalty : Penalty\n A function that penalises the objective function.\n\naccepts_params : 2-tuple or list of 2-tuples\n The outer func... | 0 |
{'name': 'GelfTcpHandler.makePickle@pygelf/handlers.py', 'description': 'if you send the message over tcp, it should always be null terminated or the input will reject it ', 'signature': 'def makePickle(self, record):'}</s>{'name': 'GelfUdpHandler@pygelf/handlers.py', 'description': 'DOCSTRING', 'base_classes': ['BaseH... | 0 |
{'name': 'environmental_contours@mhkit/wave/contours.py', 'description': "Returns a Dictionary of x1 and x2 components for each contour\nmethod passed. A method may be one of the following:\nPrincipal Component Analysis, Gaussian, Gumbel, Clayton, Rosenblatt,\nnonparametric Gaussian, nonparametric Clayton,\nnonparamet... | 1 |
{'name': '_https_resolve@local/common/dns.py', 'description': '此函数功能实现仅限于解析为 A、AAAA 记录', 'signature': 'def _https_resolve(server, qname, qtype, query_data):'}</s>{'name': 'isipv6@local/common/net.py', 'description': 'DOCSTRING', 'code': "def isipv6(ip, AF_INET6=socket.AF_INET6, inet_pton=socket.inet_pton):\n if ':' ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.