text string | label int64 |
|---|---|
{'name': 'ProtocolTest.test_complete_packet@test/test_protocol.py', 'description': 'Protocol should assemble incoming lines into complete packet.', 'signature': 'def test_complete_packet(self):'}</s>INSTANTANEOUS_VOLTAGE_L3 = "^\d-\d:72\.7\.0.+?\r\n" | 0 |
{'name': 'crackline@venv/Lib/site-packages/numpy/f2py/crackfortran.py', 'description': 'reset=-1 --- initialize\nreset=0 --- crack the line\nreset=1 --- final check if mismatch of blocks occurred\n\nCracked data is saved in grouplist[0].', 'signature': 'def crackline(line, reset=0):'}</s>__all__ = [
'applyrule... | 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>{'name': 'get_bare_quoted_string@src/future/backports/email/_header_value_parser.py', 'description': 'bare-quoted-s... | 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': 'MidiStatus.get_columns@robopianist/viewer/application.py', 'description': 'Returns the text to display in two columns.', 'signature': 'def get_columns(self):'}</s>KEY_1 = 49 | 0 |
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'CudaEnvironment@fairseq/utils.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'CudaEnvironment.__init__@fairseq/utils.py', 'descr... | 0 |
{'name': 'AutoUplift._generate_data_depend_uplift_candidates@lightautoml/addons/uplift/base.py', 'description': "Generate uplift candidates.\n\nGenerate new uplift candidates which depend from data.\n\nIf there is imbalance in treatment , adds the simple linear model for smaller stage.\n\nArgs:\n data: Dataset to tr... | 1 |
{'name': 'ISO3166Utils.short2full@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Convert an ISO 3166-2 country code to the corresponding full name', 'signature': 'def short2full(cls, code):'}</s>{'name': 'xpath_attr@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOCSTRING', 'code... | 0 |
{'name': 'ZiGate.__haddr@zigate/core.py', 'description': 'convert int addr to hex ', 'signature': 'def __haddr(self, int_addr, length=4):'}</s>{'name': 'ZiGate@zigate/core.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'ZiGate.__init__@zigate/core.py', 'description': 'DOCSTRING', 'cod... | 1 |
{'name': 'ReplaceByFeeTest.test_opt_in@test/functional/feature_rbf.py', 'description': 'Replacing should only work if orig tx opted in', 'signature': 'def test_opt_in(self):'}</s>OP_AND = CScriptOp(0x84) | 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>MQZAET_GROUP = 2 | 0 |
{'name': 'safe_run2@amptk/process_illumina_folder.py', 'description': 'Call run(), catch exceptions.', 'signature': 'def safe_run2(*args, **kwargs):'}</s>{'name': 'dictFlip@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def dictFlip(input):\n #flip the list of dictionaries\n outDict = {}\n for k,v in... | 0 |
{'name': 'follow_device@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Follow the selected device', 'signature': 'def follow_device(sniffer, device):'}</s>write_new_packets = False | 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': 'unpackDslr@fwtool.py', 'description': 'DOCSTRING', 'code': "def unpackDslr(file, outDir, mtime):\n print('Decrypting firmware image')\n... | 0 |
{'name': 'TestBrierScore.test@verif/tests/test_metric.py', 'description': "These have been checked against the Brier scores in the verification R package. The 'bins'\nattribute was set to False, and the code had to be changed because it didn't work for cases\nwhere forecasts were not equal to whole 1/10ths (i.e. 0.1, 0... | 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': 'CalculateChiv1@PyBioMed/PyMolecule/connectivity.py', 'description': '#################################################################\nCalculation of valence molecular connectivity chi index for\n\npath order 1\n\n---->Chiv1\n\nUsage:\n\n result=CalculateChiv1(mol)\n\n Input: mol is a molecule object.\... | 0 |
{'name': 'IUZoneEntity.extra_state_attributes@custom_components/irrigation_unlimited/binary_sensor.py', 'description': 'Return the state attributes of the device.', 'signature': 'def extra_state_attributes(self):'}</s>ATTR_ZONE_COUNT = "zone_count" | 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': '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': 'get_session_over_time@onnxruntime/python/tools/tensorrt/perf/post.py', 'description': 'Returns a new Pandas table with data that tracks the session creation times of model/EP combinations over time.\n\n:param session_table: The Pandas table containing per model/EP session creation times with the schema:\n ... | 0 |
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>{'name': 'msg_getblocktxn@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'... | 0 |
{'name': 'rgb2lab_transpose@docker/data/colorize_image.py', 'description': 'INPUTS\n img_rgb XxXx3\nOUTPUTS\n returned value is 3xXxX ', 'signature': 'def rgb2lab_transpose(img_rgb):'}</s>{'name': 'ColorizeImageCaffeDist@docker/data/colorize_image.py', 'description': 'DOCSTRING', 'base_classes': ['ColorizeImageCa... | 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': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ... | 0 |
{'name': 'setup_openapi@src/rororo/openapi/openapi.py', 'description': 'Setup OpenAPI schema to use with aiohttp.web application.\n\nUnlike `aiohttp-apispec <https://aiohttp-apispec.readthedocs.io/>`_ and\nother tools, which provides OpenAPI/Swagger support for aiohttp.web\napplications, *rororo* changes the way of usi... | 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': 'read_afni_seed_file@src/python_scripts/afnipy/afni_util.py', 'des... | 0 |
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inlin... | 0 |
{'name': 'RestoreOs._create_image@freezer/openstack/restore.py', 'description': ':param path:\n:param restore_from_timestamp:\n:type restore_from_timestamp: int\n:return:', 'signature': 'def _create_image(self, path, restore_from_timestamp):'}</s>{'name': 'create_dir_tree@freezer/utils/utils.py', 'description': 'DOCSTR... | 0 |
{'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': 'mpesa_access_token... | 0 |
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>{'name': 'play_sequence@soundrts/clientmedia.py', 'description': 'play a sequence of sounds or texts, each one interruptible', 'code': 'def play_sequence(names):\n "... | 0 |
{'name': 'fill_filter_mosaics@grizli/pipeline/auto_script.py', 'description': 'Fill field mosaics with the average value taken from other filters so that all images have the same coverage\n\nParameters\n----------\nfield_root : str', 'signature': 'def fill_filter_mosaics(field_root):'}</s>{'name': 'dot_templates@grizli... | 0 |
{'name': 'read_reshape2d@postprocessing/science/compute_diff_seissol_data.py', 'description': 'read seissol dataset\nand if there is only one time stamp\ncreate a second dimension of size 1', 'signature': 'def read_reshape2d(sx, dataname):'}</s>parser = argparse.ArgumentParser(
description="make difference between ... | 0 |
{'name': '_CallbackContext.check_data@sounddevice.py', 'description': 'Check data and output mapping.', 'signature': 'def check_data(self, data, mapping, device):'}</s>{'name': 'RawStream@sounddevice.py', 'description': 'Raw stream for playback and recording. See __init__().', 'base_classes': ['RawInputStream', 'RawOu... | 0 |
{'name': 'Xpress.solve_problem_from_file@linopy/solvers.py', 'description': 'Solve a linear problem from a problem file using the Xpress solver.\n\nThis function reads the linear problem file and passes it to\nthe Xpress solver. If the solution is successful it returns\nvariable solutions and constraint dual values. Th... | 0 |
{'name': 'writeInitialize@cxxtest/cxxtestgen.py', 'description': 'Write CxxTest::initialize(), which replaces static initialization', 'signature': 'def writeInitialize(output):'}</s>{'name': 'isGenerated@cxxtest/cxxtestgen.py', 'description': 'Checks whether a suite class should be created', 'code': "def isGenerated(su... | 0 |
{'name': 'PumpEvents@comtypes/client/_events.py', 'description': "This following code waits for 'timeout' seconds in the way\nrequired for COM, internally doing the correct things depending\non the COM appartment of the current thread. It is possible to\nterminate the message loop by pressing CTRL+C, which will raise\... | 0 |
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>{'name': '_Quiet@scripts/cpplint.py', 'description': "Return's the module's quiet setting.", 'code': 'def _Quiet():\n """Return\'s the module\'s qui... | 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': 'configure_logger@tir/technologies/core/logging_config.py', 'description': ':return:', 'signature': 'def configure_logger():'}</s>file_path = None | 1 |
{'name': 'threshold_fit@mord/threshold_based.py', 'description': "Solve the general threshold-based ordinal regression model\nusing the logistic loss as surrogate of the 0-1 loss\n\nParameters\n----------\nmode : string, one of {'AE', '0-1', 'SE'}", 'signature': "def threshold_fit(X, y, alpha, n_class, mode='AE',"}</s>... | 1 |
{'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': 'location_project@symbols.py', 'description': 'DOCSTRING', 'code': 'def location... | 0 |
{'name': 'Dataset.__init__@lib/imdb_util.py', 'description': "This function reads in all datasets to be used in training and stores ANY relevant\ninformation which may be needed during training as a list of edict()\n(referred to commonly as 'imobj').\n\nThe function also optionally stores the image database (imdb) file... | 0 |
{'name': 'IUCoordinator.service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Entry point for all service calls.', 'signature': 'def service_call('}</s>CONF_REFRESH_INTERVAL = "refresh_interval" | 0 |
{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>CONF_MINIMUM = "minimum" | 0 |
{'name': 'follow@twitter_to_sqlite/cli.py', 'description': 'Experimental: Follow these Twitter users and save tweets in real-time', 'signature': 'def follow(db_path, identifiers, attach, sql, ids, auth, verbose):'}</s>{'name': 'ad_mobile_conversions_attributed@twitter_to_sqlite/archive.py', 'description': 'DOCSTRING', ... | 0 |
{'name': 'ReplaceByFeeTest.test_opt_in@test/functional/feature_rbf.py', 'description': 'Replacing should only work if orig tx opted in', 'signature': 'def test_opt_in(self):'}</s>OP_XOR = CScriptOp(0x86) | 0 |
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 0 |
{'name': 'TruthedCharacters.dump_values@ocr_utils.py', 'description': "prints out the feature names and a short sample of the data in each feature\n\nexample:\n-------------------------------------\n ds = ocr_utils.read_data(input_filters_dict = input_filters_dict, \n output_feature_list=outpu... | 0 |
{'name': 'train@pygad/nn/nn.py', 'description': 'Trains the neural network.\n\nnum_epochs: Number of epochs.\nlast_layer: Reference to the last (output) layer in the network architecture.\ndata_inputs: Data features.\ndata_outputs: Data outputs.\nproblem_type: Can be either classification or regression to define the pr... | 1 |
{'name': 'DataLoader_.__init__@torchkge/inference.py', 'description': "Parameters\n----------\nbatch_size: int\n Size of the required batches.\nuse_cuda: str (opt, default = None)\n Can be either None (no use of cuda at all), 'all' to move all the\n dataset to cuda and then split in batches or 'batch' to simpl... | 0 |
{'name': 'SuperSmoother._enhance_bass@ace/supersmoother.py', 'description': 'Update best span choices with bass enhancement as requested by user (Eq. 11).', 'signature': 'def _enhance_bass(self):'}</s>{'name': 'SuperSmoother@ace/supersmoother.py', 'description': 'Variable-span smoother.', 'base_classes': ['smoother.Smo... | 1 |
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 0 |
{'name': 'is_mask@eoreader/bands/__init__.py', 'description': 'Returns True if is a Mask band (from :code:`MaskBandNames`)\n\nArgs:\n mask (BandType): Anything that could be a Mask band\n\nReturns:\n bool: True if the band asked is a Mask band\n\nExamples:\n\n >>> from eoreader.bands import NDVI, HH, GREEN, SL... | 0 |
{'name': 'colored@src/monty/termcolor.py', 'description': "Colorize text.\n\nAvailable text colors:\n red, green, yellow, blue, magenta, cyan, white.\n\nAvailable text highlights:\n on_red, on_green, on_yellow, on_blue, on_magenta, on_cyan, on_white.\n\nAvailable attributes:\n bold, dark, underline, blink, rev... | 1 |
{'name': 'CountMinSketch.hashes@probables/countminsketch/countminsketch.py', 'description': 'Return the hashes based on the provided key\n\nArgs:\n key (str): Description of arg1\n depth (int): Number of permutations of the hash to generate; if None, generate `number_hashes`\n\nReturns:\n List(int): A list of ... | 0 |
{'name': 'test_repr@voluptuous/tests/tests.py', 'description': 'Verify that __repr__ returns valid Python expressions', 'signature': 'def test_repr():'}</s>{'name': 'test_new_required_test@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': "def test_new_required_test():\n schema = Schema(\n {\n ... | 0 |
{'name': 'Unit.has_equivalent@unyt/unit_object.py', 'description': "Check to see if this unit object as an equivalent unit in *equiv*.\n\nExample\n-------\n>>> from unyt import km\n>>> km.has_equivalent('spectral')\nTrue\n>>> km.has_equivalent('mass_energy')\nFalse", 'signature': 'def has_equivalent(self, equiv):'}</s>... | 0 |
{'name': 'time_diff@gns/learned_simulator.py', 'description': 'Finite difference between two input position sequence\n\nArgs:\n position_sequence: Input position sequence & shape(nparticles, 6 steps, dim)\n\nReturns:\n torch.tensor: Velocity sequence', 'signature': 'def time_diff('}</s>{'name': 'Decoder@gns/graph_net... | 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': 'preprocess_nwm_shp@src/Utility/Pre-Processing/STOFS-3D-Atl-shadow-VIMS/Pre_processing/Source_sink/Replace_with_USGS/replace_with_obs.py', 'description': 'Preprocess the NWM hydrofabric shapefile.\nAdd a "from" property to each segment, i.e., the featureID of the upstream segments.', 'signature': 'def preproce... | 0 |
{'name': 'get_split@datasets/mnist.py', 'description': "Gets a dataset tuple with instructions for reading MNIST.\n\nArgs:\n split_name: A train/test split name.\n dataset_dir: The base directory of the dataset sources.\n file_pattern: The file pattern to use when matching the dataset sources.\n It is assumed tha... | 1 |
{'name': 'PFGid._str_to_num@pf/rule.py', 'description': 'Convert a string to a numeric group ID.', 'signature': 'def _str_to_num(self, s):'}</s>ICMP_REDIRECT_TOSHOST = 3 | 0 |
{'name': 'probit_assignment@Criticality/PCS/Criticality/network_lib/weighted_betweenness.py', 'description': "Function to do stochastic probit assignment on transport network. The weight of the transport network\nis sampled by normal distribution with the original link weight as the mean.\n\nParameters\n------------\nG... | 0 |
{'name': 'StatementSplitter.process@sqlparse/engine/statement_splitter.py', 'description': 'Process the stream', 'signature': 'def process(self, stream):'}</s>Token = _TokenType() | 1 |
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 0 |
{'name': '_clean_up_temporary_files@datasets/download_and_convert_mnist.py', 'description': 'Removes temporary files used to create the dataset.\n\nArgs:\n dataset_dir: The directory where the temporary files are stored.', 'signature': 'def _clean_up_temporary_files(dataset_dir):'}</s>_IMAGE_SIZE = 28 | 0 |
{'name': 'register_functions@llvm-4.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'Register function prototypes with a libclang library instance.\n\nThis must be called as part of library instantiation so Python knows how\nto call out to the shared library.', 'signature': 'def register_functions(li... | 0 |
{'name': 'JDETracker.update@tracker/multitracker.py', 'description': 'Processes the image frame and finds bounding box(detections).\n\nAssociates the detection with corresponding tracklets and also handles lost, removed, refound and active tracklets\n\nParameters\n----------\nim_blob : torch.float32\n Tensor o... | 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': 'connect_JSON@contrib/spendfrom/spendfrom.py', 'description': 'Connect to a transcendence JSON-RPC server', 'signature': 'def connect_JSON(config):'}</s>BASE_FEE = Decimal("0.001") | 0 |
{'name': '_convert_to_example@utils/wholeslideimages/build_image_data.py', 'description': "Build an Example proto for an example.\nArgs:\n filename: string, path to an image file, e.g., '/path/to/example.JPG'\n image_buffer: string, JPEG encoding of RGB image\n label: integer, identifier for the ground truth for the... | 0 |
{'name': 'prettyFrameStack@boxx/tool/toolLog.py', 'description': 'get frame return pretty str of stack\n\n>>> prettyFrameLocation(frame)\n__init__ <-f <-ff <-demo.py\n\nParameters\n----------\nframe : frame or int, default 0\n if int:相对于调用此函数frame的 int 深度的对应frame\nendByMain : bool, default True\n 为 True 则在第一个 fra... | 0 |
{'name': 'Beam.add_supports@indeterminatebeam/indeterminatebeam.py', 'description': 'Associate support objects with the beam object.\n\nParameters\n----------\n*supports : iterable\n An iterable containing Support objects to be applied to\n the Beam object. Note that the load application point\n (or segment) m... | 0 |
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inline=False):'}</s>... | 0 |
{'name': 'PropertyArray.dict@policy/policy.py', 'description': 'Return a dictionary containing all contained NEAT property attributes', 'signature': 'def dict(self):'}</s>DOMAIN_SOCK_NAME = "neat_pm_socket" | 0 |
{'name': 'CAsyncDBHandler.BeginTrans@bin/spa/clientside/asyncdbhandler.py', 'description': 'Start a manual transaction with a given isolation asynchronously. Note the transaction will be associated with SocketPro client message queue if available to avoid possible transaction lose\n:param isolation: a value for transac... | 1 |
{'name': 'DefaultPytorchInferenceHandler.default_model_fn@src/sagemaker_pytorch_serving_container/default_pytorch_inference_handler.py', 'description': 'Loads a model. For PyTorch, a default function to load a model only if Elastic Inference is used.\nIn other cases, users should provide customized model_fn() in script... | 0 |
{'name': 'attrib@vendor/attr/_make.py', 'description': "Create a new attribute on a class.\n\n.. warning::\n\n Does *not* do anything unless the class is also decorated with\n `attr.s`!\n\n:param default: A value that is used if an ``attrs``-generated ``__init__``\n is used and no value is passed while instan... | 0 |
{'name': 'now@yaql/standard_library/date_time.py', 'description': ':yaql:now\n\nReturns the current local date and time.\n\n:signature: now(offset => timespan(0))\n:arg offset: datetime offset in microsecond resolution, needed for tzinfo,\n timespan(0) by default\n:argType offset: timespan type\n:returnType: datetim... | 0 |
{'name': 'MomSpaceBasis.dens@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'returns density of system if num particles are present\nparam num: int, number of particles\nreturn dens: float', 'signature': 'def dens(self,num):'}</s>count = 0 | 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': 'NetworkProfile.AddAnchorCertificate@gmacpyutil/gmacpyutil/profiles.py', 'description': 'Adds a certificate payload to the profile for server identification.\n\nArgs:\n certificate: str, PEM-formatted certificate.\n\nRaises:\n CertificateError: there was an error processing the certificate', 'signature': 'de... | 0 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'main_loop@virtualbmc/control.py', 'description': 'Server part of the CLI control interface\n\nReceives JSON messages from ZMQ socket, calls the command handler and\nsends JSON response back to the client.\n\nClient builds requests out of its command-line options which\ninclude the command (e.g. `start`, `list... | 0 |
{'name': 'install_tees@calrissian/main.py', 'description': 'Reconnects stdout/stderr to `tee` processes via subprocess.PIPE that can write to user-supplied files\nhttps://stackoverflow.com/a/651718/595085\n:param stdout_path: optional path of file to tee standard output to\n:param stderr_path: optional path of file to ... | 0 |
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n... | 0 |
{'name': '_makeTags@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'FollowedBy@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'descriptio... | 0 |
{'name': 'crossbar_accuracy.vector_accuracy@MNSIM/Accuracy_Model/Crossbar_accuracy.py', 'description': 'consider the effect of the ADC ', 'signature': 'def vector_accuracy(self, read_vector):'}</s>{'name': 'crossbar@MNSIM/Hardware_Model/Crossbar.py', 'description': 'DOCSTRING', 'base_classes': ['device'], 'methods': [{... | 0 |
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_132 = Badge("genie", series=2, number=32, symbol="🧞") | 0 |
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra... | 0 |
{'name': 'ModelMeta.build_absolute_uri@meta/models.py', 'description': 'Return the full url for the provided url argument', 'signature': 'def build_absolute_uri(self, url):'}</s>{'name': 'get_setting@meta/settings.py', 'description': 'Get setting value from django settings with fallback to globals defaults.', 'code': '... | 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': 'EasyMap.BATHYMETRY@herbie/toolbox/cartopy_tools.py', 'description': 'Add bathymetry data from ETOPO1 dataset to map.\n\nParameters\n----------\ncoarsen : int\n ETOPO1 data is a 1-minute arc dataset. This is huge.\n For global plots, you don\'t need this resolution, and can\n be happy with a 30-minute... | 1 |
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p... | 0 |
{'name': 'create_codes_index_of_exchanges_matrix@premise/export.py', 'description': 'Create a dictionary with row/column indices of the A matrix\nas key and the activity code as value.\n:return: a dictionary to map indices to activity codes\n:rtype: dict', 'signature': 'def create_codes_index_of_exchanges_matrix(databa... | 0 |
{'name': 'PostgresNode.default_conf@testgres/node.py', 'description': "Apply default settings to this node.\n\nArgs:\n fsync: should this node use fsync to keep data safe?\n unix_sockets: should we enable UNIX sockets?\n allow_streaming: should this node add a hba entry for replication?\n allow_logical: can... | 0 |
{'name': 'watch_stacks@static/Cost/300_Optimization_Data_Collection/Test/test-from-scratch.py', 'description': 'watch stacks while they are IN_PROGRESS and/or until they are deleted', 'signature': 'def watch_stacks(stack_names = []):'}</s>{'name': 'test_budgets_data@static/Cost/300_Optimization_Data_Collection/Test/tes... | 0 |
{'name': 'TLP.pack@fpga/lib/pcie/tb/pcie.py', 'description': 'Pack TLP as DWORD array', 'signature': 'def pack(self):'}</s>{'name': 'MSICapability@fpga/lib/pcie/tb/pcie.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'MSICapability.__init__@fpga/lib/pcie/tb/pcie.py', 'description': 'DO... | 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>MQCMDL_LEVEL_320 = 320 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.