text string | label int64 |
|---|---|
{'name': 'get_dgram_bins@colabfold/alphafold/extra_ptm.py', 'description': 'From colabdesign, calculate bin boundaries of distogram', 'signature': 'def get_dgram_bins(result):'}</s>{'name': 'plot_chain_pairwise_analysis@colabfold/alphafold/extra_ptm.py', 'description': 'DOCSTRING', 'code': 'def plot_chain_pairwise_anal... | 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': 'NVMeOFConnectorTestCase.test_extend_volume_unreplicated_nvme_fails@os_brick/tests/initiator/connectors/test_nvmeof.py', 'description': 'nvme command fails, so it rescans, waits, and reads size.', 'signature': 'def test_extend_volume_unreplicated_nvme_fails('}</s>{'name': 'convert_str@os_brick/utils.py', 'desc... | 0 |
{'name': '_deaugment_averaging@pytorch_toolbelt/inference/tta.py', 'description': 'Average predictions of TTA-ed model.\nThis function assumes TTA dimension is 0, e.g [T, B, C, Ci, Cj, ..]\n\nArgs:\n x: Input tensor of shape [T, B, ... ]\n reduction: Reduction mode ("sum", "mean", "gmean", "hmean", function, None... | 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>MQFB_NOT_A_REPOSITORY_MSG = 280 | 0 |
{'name': 'gpu_mem_get_mbs@ipyexperiments/utils/mem.py', 'description': 'Query nvidia for total, used and free memory for gpu in MBs. if gpu id is not passed, currently selected torch device is used ', 'signature': 'def gpu_mem_get_mbs(torch_gpu_id=None):'}</s>{'name': 'gpu_mem_allocate_mbs@ipyexperiments/utils/mem.py',... | 0 |
{'name': 'ReceiptQuerySet.validate@django_afip/models.py', 'description': "Validate all receipts matching this queryset.\n\nNote that, due to how AFIP implements its numbering, this method is not\nthread-safe, or even multiprocess-safe. You MAY however, call this method\nconcurrently for receipts from different :class:... | 1 |
{'name': 'EnumDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for enum field.', 'signature': 'def EnumDecoder(field_number, is_repeated, is_packed, key, new_default,'}</s>{'name': '_VarintDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Return an encoder for a ... | 0 |
{'name': 'search@ytmdl/core.py', 'description': 'Search the song on YouTube, ask the user for an input and accordingly\nreturn a selected song.\n\nThe song can be extracted either from an URL or the name. If the name is\npresent, we will search on YouTube for the name, ask the user for a choice\nand accordingly return ... | 0 |
{'name': 'test_image_validate_00500@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_validate.py', 'description': '### Classes and Methods\n- ``ImageValidate``\n - ``wait_for_controller``\n\n### Summary\nVerify proper behavior of ``wait_for_controller`` when no actions\nare pending.\n\n### Setup\n- ``re... | 0 |
{'name': 'process_line@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have an effect\nare from SUPPOR... | 0 |
{'name': 'BitBoxCommonAPI.__init__@py/bitbox02/bitbox02/communication/bitbox_api_protocol.py', 'description': 'Can raise LibraryVersionOutdatedException. check_min_version() should be called following\nthe instantiation.\nIf device_info is None, it is infered using the OP_INFO API call, available since\nfirmware versio... | 1 |
{'name': 'libmain@da/__main__.py', 'description': "Main program entry point.\n\nParses command line options, sets up global variables, and calls the 'main'\nfunction of the DistAlgo program.", 'signature': 'def libmain():'}</s>loads = pickle.loads | 0 |
{'name': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'get_filepath@gef.py', 'description': 'Return the local absolute path of the file currently debugged.', 'code': 'def get_filepath() -> str | None:\n """Return the local absolute path... | 0 |
{'name': 'ExportHtml.format_text@ExportHtml.py', 'description': 'Format the text.', 'signature': 'def format_text(self, line, text, color, bgcolor, style, empty, annotate=False):'}</s>CODE_START = "<code class="code_page">" | 0 |
{'name': 'model_average@examples/estimator_suite.py', 'description': 'Run ModelAverage in default mode (QuicGraphicalLassoCV) to obtain proportion\nmatrix.\n\nNOTE: This returns precision_ proportions, not cov, prec estimates, so we\n return the raw proportions for "cov" and the threshold support\n estimat... | 0 |
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24... | 0 |
{'name': 'pcb_to_svg@kidiff/kidiff.py', 'description': 'Hands off required .kicad_pcb files to "plotpcb"\nand generate .svg files. Routine is quick so all\nlayers are plotted to svg.', 'signature': 'def pcb_to_svg(kicad_pcb_path, repo_path, kicad_project_dir, board_filename, commit1, commit2, plot_page_frame, filename_... | 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': 'draw_dry_adiabat@pymeteo/skewt.py', 'description': 'Plot dry adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates dry adiabats\nand plots these lines. Adiabats are calculated \nevery 10 K', 'signature': 'def draw_dry_adiabat(axes):'}</s... | 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': '_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': 'ByteBufferInputStream@fips-files/generators/sjson/__init__.py', 'description': 'Input stream wrapper for r... | 0 |
{'name': 'TestAdminTree.test_result_tree@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree(self, model_without_proxy):'}</s>{'name': 'TestMP_TreeFindProblems@treebeard/tests/test_tree... | 0 |
{'name': 'show_hist@序列预测/PCA去趋势化/show.py', 'description': 'def normfun(x,mu,sigma):\n pdf = np.exp(-((x - mu)**2)/(2*sigma**2)) / (sigma * np.sqrt(2*np.pi))\n return pdf\n#正态分布函数\nx = np.arange(-5,5,0.1) \ny = normfun(x, 0, 50)\nplt.plot(x,y)\nplt.show()', 'signature': 'def show_hist(arr):'}</s>{'name': 'show2@序列... | 0 |
{'name': 'test_nar_step_ahead_insufficient_initial_conditions@sysidentpy/tests/test_narmax_base.py', 'description': 'Test that _nar_step_ahead raises an error if input is too short.', 'signature': 'def test_nar_step_ahead_insufficient_initial_conditions():'}</s>{'name': 'Polynomial@sysidentpy/basis_function/_polynomial... | 1 |
{'name': 'load_mat@mhkit/dolfyn/io/api.py', 'description': 'Load xarray dataset from MATLAB (.mat) file, complimentary to `save_mat()`\n\nA .mat file must contain the fields: {vars, coords, config, units},\nwhere \'coords\' contain the dimensions of all variables in \'vars\'.\n\nParameters\n----------\nfilename : str\n... | 1 |
{'name': 'make_config@pypicloud/scripts.py', 'description': 'Create a server config file', 'signature': 'def make_config(argv=None):'}</s>{'name': 'bucket_validate@pypicloud/scripts.py', 'description': 'Check for valid bucket name', 'code': 'def bucket_validate(name):\n """Check for valid bucket name"""\n if name... | 1 |
{'name': 'temporary_clone@src/oca_github_bot/github.py', 'description': 'context manager that clones a git branch into a tremporary directory,\nand yields the temp dir name, with cache', 'signature': 'def temporary_clone(org, repo, branch):'}</s>DRY_RUN = os.environ.get("DRY_RUN", "").lower() in ("1", "true", "yes") | 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': 'calculate_pass@src/pyinterp/orbit.py', 'description': 'Get the properties of a swath of an half-orbit.\n\nArgs:\n pass_number: Pass number\n orbit: Orbit describing the pass to be calculated.\n bbox: Bounding box of the pass. Defaults to the whole Earth.\n\nReturns:\n The properties of the pass.',... | 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... | 0 |
{'name': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam... | 0 |
{'name': 'Configuration.__init__@python-build-with-qt/sip-4.11.2/siputils.py', 'description': 'Initialise an instance of the class.\n\nsub_cfg is the list of sub-class configurations. It should be None\nwhen called normally.', 'signature': 'def __init__(self, sub_cfg=None):'}</s>{'name': 'ProgramMakefile@python-build-... | 0 |
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'plus_or_dot@versioneer.py', 'description': "Return a + if we don't already have one, else return a .", 'code': 'def plus_or_dot(pieces):\n """Return a +... | 0 |
{'name': 'vec_length@phi/field/_field_math.py', 'description': 'See `phi.math.vec_abs()` ', 'signature': 'def vec_length(field: Field):'}</s>{'name': 'Geometry@phi/geom/_geom.py', 'description': 'Abstract base class for N-dimensional shapes.\n\nMain implementing classes:\n\n* Sphere\n* box family: box (generator), Box,... | 0 |
{'name': '_encode_htk@scripts/import_corpus.py', 'description': " char *ReWriteString(char *s,char *dst, char q)\n{\n static char stat[MAXSTRLEN*4];\n Boolean noSing,noDbl;\n int n;\n unsigned char *p,*d;\n\n if (dst==NULL) d=(unsigned char*)(dst=stat);\n else d=(unsigned char*)dst;\n\n if (s[0]!=SING_... | 0 |
{'name': 'LiquidityHintMgr.badness_penalty@lndmanage/lib/liquidityhints.py', 'description': 'The badness penalty indicates how close a node was to the failing hop of\npayment routes in units of a fee rate. This fee rate can accumulate and may\nlead to complete ignoring of the node, which is why we let the badness penal... | 0 |
{'name': 'draw_isobars@pymeteo/skewt.py', 'description': 'Plot isobars on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function draws isobars at intervals of 2*dp.', 'signature': 'def draw_isobars(axes):'}</s>{'name': 'label_h@pymeteo/skewt.py', 'description': 'DOCSTRING... | 0 |
{'name': 'test_minimal_data@tests/builder/builder_test.py', 'description': 'Test the minimal data that must be provided to generate UFOs, and in\nsome cases that additional redundant data is not set.', 'signature': 'def test_minimal_data(ufo_module):'}</s>{'name': 'test_lib_no_weight@tests/builder/builder_test.py', 'de... | 0 |
{'name': 'HydrogenBuilder.__init__@sidechainnet/structure/HydrogenBuilder.py', 'description': 'Create a Hydrogen builder for a protein.\n\nArgs:\n seq (str): Protein sequence.\n coords (numpy.ndarray, torch.tensor): Coordinate set for a protein that does\n not yet contain Hydrogens.', 'signature': "def __i... | 1 |
{'name': 'update_setup@pipenv_setup/setup_updater.py', 'description': 'Clear install_requires and dependency_links argument and fill new ones. Format the code.\n\n:param dependency_arguments:\n:param filename:\n:param dev: update extras_require or not\n:raise ValueError: when setup.py is not recognized (malformed)', 's... | 0 |
{'name': 'get_collapsed_properties_type_mappings@swagger_spec_validator/validator20.py', 'description': 'Get all the properties for a swagger model (definition).\n:param definition: dictionary representation of the definition\n:type definition: dict\n:param deref: callable that dereferences $refs\n:return: (required pr... | 0 |
{'name': 'RedisStorage.append_event@django_eventstream/storage.py', 'description': 'Appends a new event to the storage for the specified channel.\n\nArgs:\n channel (str): The name of the channel to append the event to.\n event_type (str): The type of the event.\n data (dict): The data associated with the even... | 0 |
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 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_ALTER_SUB_ERROR = 2435 | 0 |
{'name': '_encode_htk@scripts/import_corpus.py', 'description': " char *ReWriteString(char *s,char *dst, char q)\n{\n static char stat[MAXSTRLEN*4];\n Boolean noSing,noDbl;\n int n;\n unsigned char *p,*d;\n\n if (dst==NULL) d=(unsigned char*)(dst=stat);\n else d=(unsigned char*)dst;\n\n if (s[0]!=SING_... | 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': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_... | 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': 'GPUVerifyInstance.runTool@GPUVerify.py', 'description': 'Returns a triple (succeeded, timeout) ', 'signature': 'def runTool(self, ToolName, Command):'}</s>{'name': 'json_load@GPUVerifyScript/json_loader.py', 'description': "Load GPUVerify invocation data from json_file object.\n\nThe function either:\n(a) ret... | 0 |
{'name': 'TokenizerTest.testConsumeOctalIntegers@python/google/protobuf/internal/text_format_test.py', 'description': 'Test support for C style octal integers.', 'signature': 'def testConsumeOctalIntegers(self):'}</s>{'name': 'IsPythonDefaultSerializationDeterministic@python/google/protobuf/internal/api_implementation.... | 0 |
{'name': 'ProcessFileData@llvm-12.0.0-project/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... | 1 |
{'name': 'from_json_schema_type@typesystem/json_schema.py', 'description': 'Build a typed field from a JSON schema object.', 'signature': 'def from_json_schema_type('}</s>{'name': 'Array@typesystem/fields.py', 'description': 'DOCSTRING', 'base_classes': ['Field'], 'methods': [{'name': 'Array.__init__@typesystem/fields.... | 1 |
{'name': 'streets_per_node_proportions@osmnx/stats.py', 'description': 'Calculate streets-per-node proportions.\n\nParameters\n----------\nG\n Input graph.\n\nReturns\n-------\nspnp\n Dictionary keyed by count of streets incident on each node, and with\n values of what proportion of nodes in the graph have thi... | 0 |
{'name': 'guess_lexer@lib/pygments/lexers/__init__.py', 'description': 'Guess a lexer by strong distinctions in the text (eg, shebang).', 'signature': 'def guess_lexer(_text, **options):'}</s>{'name': '_automodule@lib/pygments/lexers/__init__.py', 'description': 'Automatically import lexers.', 'base_classes': ['types.M... | 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>CONTINUATION = token.N_TOKENS | 0 |
{'name': 'KeycloakOpenID.get_policies@ansible/roles/keycloak-deploy/files/python-keycloak-0.12.0/keycloak/keycloak_openid.py', 'description': 'Get policies by user token\n\n:param token: user token\n:return: policies list', 'signature': "def get_policies(self, token, method_token_info='introspect', **kwargs):"}</s>URL_... | 0 |
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_byte_vec_t@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'base_classes': ['St... | 0 |
{'name': 'normalize_text@Text/TextQualityWatchdog/Watchdog/PreprocessData.py', 'description': 'This function applies puntuation and whitespace normalization,\nand returns the processed text in lowercase.', 'signature': 'def normalize_text(text):'}</s>{'name': 'simplify_punctuation@Text/TextQualityWatchdog/Watchdog/Prep... | 1 |
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'IP@src/python_scripts/afnipy/afni_base.py', 'description': 'Info ... | 1 |
{'name': 'post_comment@shingetsu/mch/post.py', 'description': 'Post article.', 'signature': 'def post_comment(env, thread_key, name, mail, body, passwd, tag=None):'}</s>update = run_dir + "/update.txt" | 0 |
{'name': 'current_umask@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/utils/misc.py', 'description': 'Get the current umask which involves having to set it temporarily.', 'signature': 'def current_umask():'}</s>{'name': '_makedirs_31@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pkg_resources/py31... | 0 |
{'name': 'FindOutgoingInterface@comtypes/client/_events.py', 'description': 'XXX Describe the strategy that is used...', 'signature': 'def FindOutgoingInterface(source: IUnknown) -> Type[IUnknown]:'}</s>DISP_E_EXCEPTION = -2147352567 | 0 |
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/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 ... | 0 |
{'name': 'AnalyzeAlignmentsFunction._run@montreal_forced_aligner/alignment/multiprocessing.py', 'description': 'Run the function', 'signature': 'def _run(self):'}</s>{'name': 'KaldiFunction@montreal_forced_aligner/abc.py', 'description': 'Abstract class for running Kaldi functions', 'base_classes': [], 'methods': [{'na... | 0 |
{'name': 'BrowseView.do_dym@dbdb/core/views.py', 'description': 'Did you mean search', 'signature': 'def do_dym(self, search_q):'}</s>{'name': 'SystemSearchText@dbdb/core/models.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model'], 'methods': []} | 0 |
{'name': 'rpn_bbox_loss_graph@Mask_RCNN/mrcnn/model.py', 'description': 'Return the RPN bounding box loss graph.\n\nconfig: the model config object.\ntarget_bbox: [batch, max positive anchors, (dy, dx, log(dh), log(dw))].\n Uses 0 padding to fill in unsed bbox deltas.\nrpn_match: [batch, anchors, 1]. Anchor match ty... | 0 |
{'name': 'add_after_get_hook@src/supporting-files/db_hooks.py', 'description': "Registers a function to be called after any model is fetched.\n\nThis will be invoked immediately after the execution of any of the\nfollowing methods, and will be called after the RPC has returned and the\nmodel is reconstructed. This mean... | 0 |
{'name': 'tikhonov_inverse@solvers/image_reconstruction.py', 'description': 'Compute Laplacian-regularized Tiknov inverse. This function solves\n argmin_x || y - sum_{k} G_k x_k ||^2 + beta sum_{k} || S x_k ||^2 + eps || x ||^2\nS: 2D Laplacian operator\nx_k: k-th 2D slice of a 3D volume x\n\neps || x ||^2 seems to ... | 1 |
{'name': 'SendMessage._change_name_workflow@py/send_message.py', 'description': 'Invoke change name workfow.', 'signature': 'def _change_name_workflow(self, name: Optional[str] = None) -> None:'}</s>{'name': 'U2FApp@py/send_message.py', 'description': 'App', 'base_classes': [], 'methods': [{'name': 'U2FApp.__init__@py/... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQ_DSG_NAME_LENGTH = 8 | 0 |
{'name': 'ctrl_c_signal_handler@shutit_util.py', 'description': 'CTRL-c signal handler - enters a pause point if it can.\n ', 'signature': 'def ctrl_c_signal_handler(_, frame):'}</s>in_ctrlc = False | 1 |
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>_user_prop_push = Z3_push_eh(user_prop_push) | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIMGRCOV_YES = 1 | 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': 'Pipe.pull@d6tpipe/pipe.py', 'description': "Pull remote files to local\n\nArgs:\n files (list): override list of filenames\n dryrun (bool): preview only\n include (str): pattern of files to include, eg `*.csv` or `a-*.csv|b-*.csv`\n exclude (str): pattern of files to exclude\n nrecent (int): us... | 1 |
{'name': 'TileCreator.concatTiles@tensorflow/tools/tilecreator.py', 'description': 'build a frame by concatenation of the given tiles.\ntiles: numpy array of same shaped tiles [batch,z,y,x,c]\nframeShape: the shape of the frame in tiles [z,y,x]\ntileBorder: cut off borders of the tiles. [z,y,x,c]', 'signature': 'def co... | 0 |
{'name': 'cook_features_into@classification/feature_generation/feature_utilities.py', 'description': 'Convert raw features into something the model can digest\n\nArgs:\n arrays: (features, timestamps, ranges)\n i : index to inserrt into\n features: np.array of raw features\n range: tuple, optional\n ... | 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': 'Main.initialise_jobs@accelerator/control.py', 'description': 'Updata database, check deps, create jobids. ', 'signature': 'def initialise_jobs(self, setup, workdir=None):'}</s>{'name': '_ParamsDict@accelerator/database.py', 'description': 'DOCSTRING', 'base_classes': ['defaultdict'], 'methods': [{'name': '_Pa... | 0 |
{'name': 'download_official_website_layout@vulfocus-api/layout_image/views.py', 'description': '下载官网编排场景(社区)', 'signature': 'def download_official_website_layout(request):'}</s>{'name': 'get_random_port@vulfocus-api/layout_image/views.py', 'description': '生成随机端口列表', 'code': 'def get_random_port(env_content):\n """\n... | 0 |
{'name': 'ResolveEndpoint.fetch@datacommons_client/endpoints/resolve.py', 'description': 'Fetches resolved data for the given nodes and expressions, identified by name,\n coordinates, or wiki ID.\n\nArgs:\n node_ids (str | list[str]): One or more node IDs to resolve.\n expression (str): The relation expression to... | 1 |
{'name': 'CalculateTestLists@src/3rd_party-static/gmock-1.7.0/gtest/test/gtest_shuffle_test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>SHARDED_TESTS = [] | 1 |
{'name': 'GlyphsBuilder._fake_designspace@Lib/glyphsLib/builder/builders.py', 'description': 'Build a fake designspace with the given UFOs as sources, so that all\nbuilder functions can rely on the presence of a designspace.', 'signature': 'def _fake_designspace(self, ufos):'}</s>{'name': 'GSClass@Lib/glyphsLib/classes... | 0 |
{'name': 'DonutModel.train@loudml/donut.py', 'description': 'Train model', 'signature': 'def train('}</s>{'name': 'make_ts@loudml/misc.py', 'description': 'Build a timestamp from a mixed input\n (second timestamp or ISO string or relative time)', 'code': 'def make_ts(mixed):\n """\n Build a timestamp from a mi... | 0 |
{'name': 'DarwinLogEventBasedTestBase.do_test@lldb/packages/Python/lldbsuite/test/darwin_log.py', 'description': 'Runs the test inferior, returning collected events.\n\nThis method runs the test inferior to the first breakpoint hit.\nIt then adds a listener for structured data events, and collects\nall events from that... | 0 |
{'name': 'DebPkgToolsTestCase.test_repository_creation@deb_pkg_tools/tests.py', 'description': 'Test the creation of trivial repositories.', 'signature': 'def test_repository_creation(self, preserve=False):'}</s>{'name': 'parse_control_fields@deb_pkg_tools/control.py', 'description': "Parse Debian control file fields.\... | 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': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'is_rational_value@src/api/python/z3/z3.py'... | 0 |
{'name': 'BaseProcessTensor.dt@oqupy/process_tensor.py', 'description': 'Time step length.', 'signature': 'def dt(self):'}</s>{'name': 'increase_list_of_index@oqupy/util.py', 'description': 'Circle through a list of indices. ', 'code': 'def increase_list_of_index(\n a: List,\n shape: List,\n index:... | 0 |
{'name': '_get_s3_creds@linodecli/plugins/obj/__init__.py', 'description': 'Retrieves stored s3 creds for the acting user from the config, or generates new\ncreds using the client and stores them if none exist\n\n:param client: The client object from the invoking PluginContext\n:type client: linodecli.CLI\n:param force... | 0 |
{'name': 'ZiGate._set_device@zigate/core.py', 'description': 'add/update device to cache list', 'signature': 'def _set_device(self, device):'}</s>ACTIONS_THERMOSTAT = "thermostat" | 0 |
{'name': 'User.signup@toggl/api/models.py', 'description': 'Creates brand new user. After creation confirmation email is sent to him.\n\n:param email: Valid email of the new user.\n:param password: Password of the new user.\n:param timezone: Timezone to be associated with the user. If empty, than timezone from config i... | 0 |
{'name': 'run_bind_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with requested rpcallowip and rpcbind parameters,\nthen try to connect, and check if the set of bound addresses\nmatches the expected set.', 'signature': 'def run_bind_test(tmpdir, allow_ips, connect_to, addresses, expected):'}</s>{'nam... | 0 |
{'name': 'SpiderList.set@scrapyd/webservice.py', 'description': 'Calculate, cache and return the ``scrapy list`` output for the project and version, bypassing the cache.', 'signature': 'def set(self, project, version, *, runner):'}</s>{'name': 'ListVersions@scrapyd/webservice.py', 'description': 'DOCSTRING', 'base_clas... | 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': 'dictserver@external/curl/tests/dictserver.py', 'description': 'Start up a TCP server with a DICT handler and serve DICT requests forever.', 'signature': 'def dictserver(options):'}</s>{'name': 'DictHandler@external/curl/tests/dictserver.py', 'description': 'Handler class for DICT connections.', 'base_classes'... | 1 |
{'name': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign... | 0 |
{'name': 'QueryParser.resolve_path@rest_models/backend/compiler.py', 'description': 'resolve the path of Alias to find the final model, with the final name of the attr\n:param Col col: the column to resolve\n:rtype: tuple[Alias], str', 'signature': 'def resolve_path(self, col):'}</s>{'name': 'simple_count@rest_models/b... | 0 |
{'name': 'test@examples/python/learning_pytorch.py', 'description': 'Runs a test_episodes_per_epoch episodes and prints the result', 'signature': 'def test(game, agent):'}</s>test_episodes_per_epoch = 100 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.