text
string
label
int64
{'name': 'test_datasetprovider_awkward_exporter_multiple_subtensors@kinoml/tests/datasets/test_core.py', 'description': 'When we use an aggregator like TupleOfArrays, which\nbreaks the one system -> one tensor assumption,\nwe need to use the `.dict_of_arrays()` exporter.\n\nThis creates a dictionary of arrays, where ea...
0
{'name': '_validate_units_consistency_v2@unyt/_array_functions.py', 'description': 'raise UnitInconsistencyError if units are mixed\nif all args are pure numbers, they are treated as having ref_units,\notherwise they are treated as dimensionless', 'signature': 'def _validate_units_consistency_v2(ref_units, *args) -> No...
0
{'name': '_build_agg@loudml/influx.py', 'description': 'Build requested aggregation', 'signature': 'def _build_agg(feature):'}</s>{'name': '_build_tags_predicates@loudml/influx.py', 'description': "Build tags predicates for 'where' clause", 'code': 'def _build_tags_predicates(match_all=None):\n """\n Build tags p...
0
{'name': 'Client.get_player_verify@clashroyale/royaleapi/client.py', 'description': "Check the API Key of a player.\nThis endpoint has been **restricted** to\ncertain members of the community\n\nParameters\n----------\ntag: str\n A valid tournament tag. Minimum length: 3\n Valid characters: 0289PYLQGRJCUV\napikey...
0
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': '_BytesForNonRepeatedElement@third_party/dawn/third_pa...
0
{'name': 'getMapOfVehicles@map_computor.py', 'description': 'get the vehicle positions as NIPS paper\n:param area_length:\n:return: numpy narray', 'signature': 'def getMapOfVehicles(area_length=600):'}</s>yeta = 0.15
0
{'name': 'create_translation@rising/transforms/functional/affine.py', 'description': 'Formats the given translation parameters to a homogeneous transformation\nmatrix\n\nArgs:\n offset: the translation offset(s). Supported are:\n * a single parameter (as float or int), which will be replicated\n for al...
0
{'name': 'SlidingWindow.duration_to_samples@src/pyannote/core/segment.py', 'description': 'Returns samples in duration', 'signature': 'def duration_to_samples(self, duration: float) -> int:'}</s>{'name': 'Segment@src/pyannote/core/segment.py', 'description': 'Time interval\n\nParameters\n----------\nstart : float\n ...
1
{'name': 'create_train_input_fn@object_detection/inputs.py', 'description': 'Creates a train `input` function for `Estimator`.\n\nArgs:\n train_config: A train_pb2.TrainConfig.\n train_input_config: An input_reader_pb2.InputReader.\n model_config: A model_pb2.DetectionModel.\n\nReturns:\n `input_fn` for `Estimator`...
0
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>HEARTBEAT_DATA_RATE_FACTOR = 5
0
{'name': 'pollardLambda@2020/Crypto/bakflip/Admin/exploit.py', 'description': 'input\n@Y: Pubkey\n@G: Generator\n@d: Msbits for recovered secret_multiplier\n\nOUTPUT\n@secret_multiplier as the output of pollardLambda algo.', 'signature': 'def pollardLambda(Y: Point, G: Point, d: int, lsb_mask: int) -> int:'}</s>ct = r....
0
{'name': 'GDAL2Tiles.optparse_init@auxiliary/gdal2customtiles/legacy/gdal2customtiles_py27.py', 'description': 'Prepare the option parser for input (argv)', 'signature': 'def optparse_init(self):'}</s>{'name': 'GlobalMercator@auxiliary/gdal2customtiles/legacy/gdal2customtiles_py27.py', 'description': 'TMS Global Mercat...
0
{'name': 'format@libs/sqlparse/__init__.py', 'description': 'Format *sql* according to *options*.\n\nAvailable options are documented in :ref:`formatting`.\n\nIn addition to the formatting options this function accepts the\nkeyword "encoding" which determines the encoding of the statement.\n\n:returns: The formatted SQ...
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MASK_FLE_Q = 4261441663
0
{'name': 'LoadtestWorkerStub.__init__@load-test-framework/python_src/proto_dir/loadtest_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>DESCRIPTOR = _descriptor.FileDescriptor( name='src/main/proto/loadtest.proto', package='google.pub...
0
{'name': 'ZWaveServices.add_node@custom_components/zwave_mqtt/services.py', 'description': 'Enter inclusion mode on the controller.', 'signature': 'def add_node(self, service):'}</s>_LOGGER = logging.getLogger(__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>RequestContent = DvzRequestContent
0
{'name': 'TestManager.test_custom_manager2@modeltranslation/tests/tests.py', 'description': 'Test if user-defined queryset is still working', 'signature': 'def test_custom_manager2(self):'}</s>{'name': 'ProxyModelTest@modeltranslation/tests/tests.py', 'description': 'DOCSTRING', 'base_classes': ['ModeltranslationTestBa...
0
{'name': 'PintArray._from_sequence@pint_pandas/pint_array.py', 'description': 'Initialises a PintArray from a list like of quantity scalars or a list like of floats and dtype\n-----\nUsage\nPintArray._from_sequence([Q_(1,"m"),Q_(2,"m")])', 'signature': 'def _from_sequence(cls, scalars, dtype=None, copy=False):'}</s>{'n...
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': 'validateURL@src/feedvalidator/__init__.py', 'description': 'validate RSS from URL, returns events list, or (events, rawdata) tuple', 'signature': 'def validateURL(url, firstOccurrenceOnly=1, wantRawData=0):'}</s>{'name': 'MissingAttribute@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classe...
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': 'kill@pyngrok/ngrok.py', 'description': "Terminate the ``ngrok`` processes, if running, for the given config's ``ngrok_path``. This method will not\nblock, it will just issue a kill request.\n\n:param pyngrok_config: A ``pyngrok`` configuration to use when interacting with the ``ngrok`` binary,\n overriding...
0
{'name': 'main@.ci/watchdog/Main.py', 'description': 'Read args passed to script, load tokens and run watchdog.\n\nKeyword arguments:\n:param args: arguments parsed by argparse ArgumentParser\n\n:return: returns status code 0 on successful completion', 'signature': 'def main(args):'}</s>DEFAULT_JENKINS_TOKEN_...
0
{'name': 'NetworkProfile.__init__@gmacpyutil/gmacpyutil/profiles.py', 'description': 'Initializes a network configuration profile with no payloads.\n\nArgs:\n username: str, the username associated with this profile.', 'signature': 'def __init__(self, username):'}</s>CORP_PROXY = "https://proxyconfig.megacorp.com/prox...
0
{'name': 'update_payout_screen@displays/waveshare2in13v3.py', 'description': "Update the payout screen to reflect balance of deposited coins.\nScan the invoice??? I don't think so!", 'signature': 'def update_payout_screen():'}</s>wallet_scan_2 = "deine Wallet"
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': '_GenerateRenderMethod.create_filter_callable@mako/codegen.py', 'description': "write a filter-applying expression based on the filters\npresent in the given filter names, adjusting for the global\n'default' filter aliases as needed.", 'signature': 'def create_filter_callable(self, args, target, is_expression)...
0
{'name': 'Metric.to_sql@metrics.py', 'description': 'Generates SQL query for the metric.', 'signature': 'def to_sql(self, table, split_by: Optional[Union[Text, List[Text]]] = None):'}</s>{'name': 'add_parenthesis_if_needed@sql.py', 'description': 'DOCSTRING', 'code': "def add_parenthesis_if_needed(*columns):\n for col...
0
{'name': 'NonCallableMock._get_child_mock@Contents/Libraries/Shared/mock.py', 'description': 'Create the child mocks for attributes and return value.\nBy default child mocks will be the same type as the parent.\nSubclasses of Mock may want to override this to customize the way\nchild mocks are made.\n\nFor non-callable...
0
{'name': 'guess_json_utf@src/requests/utils.py', 'description': ':rtype: str', 'signature': 'def guess_json_utf(data):'}</s>{'name': 'iter_slices@src/requests/utils.py', 'description': 'Iterate over slices of a string.', 'code': 'def iter_slices(string, slice_length):\n """Iterate over slices of a string."""\n po...
0
{'name': 'MultipleChoiceFilterTests.test_filter_conjoined_true@tests/test_filters.py', 'description': 'Tests that a filter with `conjoined=True` returns objects that\nhave all the values included in `value`. For example filter\nusers that have all of these books.', 'signature': 'def test_filter_conjoined_true(self):'}<...
0
{'name': 'modsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'modulename', 'signature': 'def modsign2map(m):'}</s>{'name': 'sign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'varname,ctype,atype\ninit,init.r,init.i,pytype\nvardebuginfo,vardebugshowvalue,varshowvalue\nvarr...
0
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_tabletype_vec_new@language-bindings/python/src/wamr/wasmcapi/bi...
0
{'name': 'github_import@code/synchronization/github_import.py', 'description': 'Import various information from Github repositories (like contributors) or stars for Github repos\nGithub rate limiting limits us to 1000 queries an hour (also with a personal token?)', 'signature': 'def github_import():'}</s>{'name': 'writ...
0
{'name': 'main@trainer.py', 'description': 'train model until the maximum number of steps reached\n:param model_type: model type\n:param model_name: model name\n:param logger: logger\n:return: None', 'signature': 'def main(model_type, model_name, logger):'}</s>{'name': 'change_channel@utils.py', 'description': 'Get fra...
0
{'name': 'rename_downloaded_paper@code/paper_downloader_ICML.py', 'description': ' rename the downloaded ICML paper to {title}_ICML_2010.pdf and save to\n source_path\n :param year: int, year\n :param source_path: str, whose structure should be\n source_path/papers/pdf files (2010)\n /index.html ...
0
{'name': 'resume@supervized_partition/supervized_partition.py', 'description': 'Loads model and optimizer state from a previous checkpoint. ', 'signature': 'def resume(args):'}</s>{'name': 'embed@supervized_partition/supervized_partition.py', 'description': 'DOCSTRING', 'code': 'def embed(args):\n random.seed(0) \n...
0
{'name': 'update_weights_sgd@chapter5/logistic_regression_from_scratch.py', 'description': 'One weight update iteration: moving weights by one step based on each individual sample\nArgs:\n X_train, y_train (numpy.ndarray, training data set)\n weights (numpy.ndarray)\n learning_rate (float)\nReturns:\n numpy...
0
{'name': '_text_replace_case_sensitive@fletcher/algorithms/string.py', 'description': 'Replace occurrences of ``pat`` with ``repl`` in the Series/Index with some other string. For every\nrow, only the first ``max_repl`` replacements will be performed. If ``max_repl = -1`` we consider that\nwe have no limit for the numb...
0
{'name': 'cluster_anchors@lib/rpn_util.py', 'description': 'Clusters the anchors based on the imdb boxes (in 2D and/or 3D).\n\nGenerally, this method does a custom k-means clustering using 2D IoU\nas a distance metric.', 'signature': 'def cluster_anchors(feat_stride, anchors, test_scale, imdb, lbls, ilbls, anchor_ratio...
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': 'SectionHeader.new_member@pcapng/blocks.py', 'description': "Helper method to create a block that's a member of this section", 'signature': 'def new_member(self, cls, **kwargs):'}</s>LINKTYPE_LTALK = 114
0
{'name': 'overwrites_mem@panoramix/simplify.py', 'description': "for a given line, returns True if it potentially\noverwrites *any part* of memory index, False if it *for sure* doesn't", 'signature': 'def overwrites_mem(line, mem_idx):'}</s>{'name': 'cleanup_vars@panoramix/simplify.py', 'description': 'DOCSTRING', 'cod...
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': 'run_cmp_results@llvm-project/clang/utils/analyzer/SATestBuild.py', 'description': 'Compare the warnings produced by scan-build.\nstrictness defines the success criteria for the test:\n 0 - success if there are no crashes or analyzer failure.\n 1 - success if there are no difference in the number of reported...
0
{'name': 'state_wait_validate@pibooth/plugins/hookspecs.py', 'description': 'Return the next state name if application can switch to it\nelse return None.\n\n:param cfg: application configuration\n:param app: application instance\n:param win: graphical window instance\n:param events: pygame events generated since last ...
0
{'name': 'TestMecab.test_parse_tostr_partial@tests/test_mecab.py', 'description': 'Test -p / --partial parsing to string.', 'signature': 'def test_parse_tostr_partial(self):'}</s>REGEXTYPE = type(re.compile(''))
0
{'name': 'create_patches_reduced_target@csbdeep/data/generate.py', 'description': 'Create normalized training data to be used for neural network training.\n\nIn contrast to :func:`create_patches`, it is assumed that the target image has reduced\ndimensionality (i.e. size 1) along one or several axes (`reduction_axes`)....
1
{'name': 'WinograndeTask.load_dataset@examples/roberta/wsc/wsc_task.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset('}</s>{'name': 'index_put@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def index_put(te...
0
{'name': 'ZWaveListValueSensor.__init__@custom_components/zwave_mqtt/binary_sensor.py', 'description': 'Initialize a ZWaveListValueSensor entity.', 'signature': 'def __init__('}</s>NOTIFICATION_OFF_VALUE = "off_value"
0
{'name': 'NHC2HassCover.should_poll@custom_components/nhc2/cover.py', 'description': 'Return false, since the cover will push state.', 'signature': 'def should_poll(self):'}</s>VENETIAN_BLIND = "venetianblind"
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>NAMED_ASSIGN = 8500
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': 'multihead_attention@tensor2tensor_envi/layers/common_attention.py', 'description': 'Multihead scaled-dot-product attention with input/output transformations.\n\nArgs:\n query_antecedent: a Tensor with shape [batch, length_q, channels]\n memory_antecedent: a Tensor with shape [batch, length_m, channels] or N...
0
{'name': 'imshow@src/pyrtools/tools/display.py', 'description': "Show image(s).\n\nArguments\n---------\nimage : `np.array` or `list`\n the image(s) to plot. Images can be either grayscale, in which case\n they must be 2d arrays of shape `(h,w)`, or RGB(A), in which case they\n must be 3d arrays of shape `(h,w...
0
{'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>ERR_INVALID_LEN = 3
0
{'name': 'PULP_CBC_CMDTest.test_cuts_off@pulp/tests/test_pulp.py', 'description': 'Test if setting cuts=False adds cuts off to the command line.', 'signature': 'def test_cuts_off(self):'}</s>{'name': 'getSolver@pulp/apis/__init__.py', 'description': 'Instantiates a solver from its name\n\n:param str solver: solver name...
0
{'name': 'CIFAR10.__getitem__@gandogs/datasets.py', 'description': 'Args:\n index (int): Index\nReturns:\n tuple: (image, target) where target is index of the target class.', 'signature': 'def __getitem__(self, index):'}</s>{'name': 'pil_loader@gandogs/datasets.py', 'description': 'DOCSTRING', 'code': "def pil_lo...
0
{'name': 'PPOTrainer.train@ss_baselines/savi/ppo/ppo_trainer.py', 'description': 'Main method for training PPO.\n\nReturns:\n None', 'signature': 'def train(self) -> None:'}</s>{'name': 'RolloutStorage@ss_baselines/common/rollout_storage.py', 'description': 'Class for storing rollout information for RL trainers.\n\n...
1
{'name': 'load_tests@gnocchi/tests/functional/test_gabbi.py', 'description': 'Provide a TestSuite to the discovery process.', 'signature': 'def load_tests(loader, tests, pattern):'}</s>{'name': 'MetricdThread@gnocchi/tests/functional/fixtures.py', 'description': 'Run metricd in a naive thread to process measures.', 'ba...
0
{'name': 'Block_rel.__init__@src/graphnet/models/components/layers.py', 'description': "Construct 'Block_rel'.\n\nArgs:\n input_dim: Dimension of the input tensor.\n num_heads: Number of attention heads to use in the `Attention_rel`\n layer.\n mlp_ratio: Ratio of the hidden size of the feedforward network t...
0
{'name': 'SimpleJSONRPCDispatcher._unmarshaled_dispatch@src/service_api/python/jsonrpclib/jsonrpclib/SimpleJSONRPCServer.py', 'description': 'Loads the request dictionary (unmarshaled), calls the method(s)\naccordingly and returns a JSON-RPC dictionary (not marshaled)\n\n:param request: JSON-RPC request dictionary (or ...
1
{'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>MQIIH_NONE = 0
0
{'name': 'get_workdays@chinese_calendar/utils.py', 'description': 'get workdays between start date and end date. (includes start date and end date)\n\n:type start: datetime.date | datetime.datetime\n:type end: datetime.date | datetime.datetime\n:type include_weekends: bool\n:param include_weekends: False for excluding...
0
{'name': 'test_executor_once@tests/test_executor.py', 'description': 'Test that ExecutorEventEmitters also emit events for once.', 'signature': 'def test_executor_once():'}</s>{'name': 'PyeeTestError@tests/test_executor.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': []}
0
{'name': 'create_features@alphapy/features.py', 'description': 'Create features for the train and test set.\n\nParameters\n----------\nmodel : alphapy.Model\n Model object with the feature specifications.\nX : pandas.DataFrame\n Combined train and test data.\nX_train : pandas.DataFrame\n Training data.\nX_test...
1
{'name': 'filter_with_bustools@kb_python/count.py', 'description': "Generate filtered count matrices with bustools.\n\nArgs:\n bus_path: Path to sorted, corrected, sorted BUS file\n ecmap_path: Path to matrix ec file\n txnames_path: Path to list of transcripts\n t2g_path: Path to transcript-to-gene mapping\...
0
{'name': 'WeatherIrrigarion.__init__@cfg/hass/custom_components/wb_irrigation/sensor.py', 'description': 'Initialize the sensor.', 'signature': 'def __init__(self, hass, conf):'}</s>CONF_RAIN_MIN = "rain_min_value"
1
{'name': 'build_and_install_draco@Engine/lib/assimp/contrib/draco/src/draco/tools/install_test/test.py', 'description': 'Builds Draco in shared and static configurations.', 'signature': 'def build_and_install_draco():'}</s>{'name': 'cmake_build@Engine/lib/assimp/contrib/draco/src/draco/tools/install_test/test.py', 'des...
1
{'name': 'SetValuesTestCase.test@llvm-project/lldb/test/API/lang/c/set_values/TestSetValues.py', 'description': 'Test settings and readings of program variables.', 'signature': 'def test(self):'}</s>{'name': 'LLDBTestCaseFactory@llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py', 'description': 'DOCSTRING', ...
0
{'name': 'normalize_numbered_streets@scourgify/normalize.py', 'description': 'Change numbered street names to include missing original identifiers.\n\n:param parsed_addr: address parsed into ordereddict per usaddress.\n:type parsed_addr: Mapping\n:return: parsed_addr with ordinal identifiers appended to numbered street...
0
{'name': 'update_self@backend/app/routers/me.py', 'description': 'Endpoint to allow a user to update *their own* profile.', 'signature': 'def update_self('}</s>{'name': 'create_access_token@backend/app/auth.py', 'description': "Create an access token for the user's login.\n\nArgs:\n data: the user to create the toke...
0
{'name': 'pad@venv/Lib/site-packages/numpy/lib/arraypad.py', 'description': "Pads an array.\n\nParameters\n----------\narray : array_like of rank N\n Input array\npad_width : {sequence, array_like, int}\n Number of values padded to the edges of each axis.\n ((before_1, after_1), ... (before_N, after_N)) unique...
1
{'name': 'construct_fields_and_filters@graphene_sqlalchemy/types.py', 'description': 'Construct all the fields for a SQLAlchemyObjectType.\nThe main steps are:\n - Gather all the relevant attributes from the SQLAlchemy model\n - Gather all the ORM fields defined on the type\n - Merge in overrides and build up all th...
0
{'name': 'is_block@tests/test_backbones/test_resnet.py', 'description': 'Check if is ResNet building block.', 'signature': 'def is_block(modules):'}</s>{'name': 'test_bottleneck_reslayer@tests/test_backbones/test_resnet.py', 'description': 'DOCSTRING', 'code': 'def test_bottleneck_reslayer():\n # 3 Bottleneck w/o do...
0
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'GlibcHeapArenaSummary@gef.py', 'description'...
0
{'name': 'locked@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/thrift/server/TNonblockingServer.py', 'description': 'Decorator which locks self.lock.', 'signature': 'def locked(func):'}</s>{'name': 'socket_exception@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/thrift/server/TNonblockingServer.py', 'descrip...
0
{'name': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'SmartEvalCommand@gef.py', 'description': 'SmartEval: Smart eval (vague approach to mimic WinDBG `?`).', 'base_classes': ['Gener...
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_frame_vec_delete@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': 'def w...
0
{'name': 'CheckForNewlineAtEOF@third_party/cpplint/cpplint.py', 'description': 'Logs an error if there is no newline char at the end of the file.\n\nArgs:\n filename: The name of the current file.\n lines: An array of strings, each representing a line of the file.\n error: The function to call with any errors found....
0
{'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': 'flatten@d2lbook/common.py', 'description': 'flatten a list of lists into a list.', 'code': 'def flatten(x):\n """flat...
0
{'name': 'athena_source@05_explore/data-wrangler/99_GENERATED_Python_Code.py', 'description': 'Represents a source that handles Athena.\n\nNote: Input dataset_definition is a Mohave specific dataset definition and is different from Processing Job\ndataset definition.', 'signature': 'def athena_source(spark, mode, datas...
1
{'name': 'main@radish/main.py', 'description': 'Entrypont to radish.\nSetup up configuration, loads extensions, reads feature files and runs\nradish', 'signature': 'def main(args=None):'}</s>{'name': 'locate@radish/utils.py', 'description': 'Locate the object for the given name', 'code': 'def locate(name):\n """\n ...
0
{'name': 'Parser._parse@util/py_lib/pyratemp.py', 'description': 'Recursive part of `parse()`.\n\n:Parameters:\n - template\n - fpos: position of ``template`` in the complete template (for error-messages)', 'signature': 'def _parse(self, template, fpos=0):'}</s>{'name': 'srow@util/py_lib/pyratemp.py', 'descriptio...
0
{'name': 'buildmodule@venv/Lib/site-packages/numpy/f2py/rules.py', 'description': 'Return', 'signature': 'def buildmodule(m, um):'}</s>{'name': 'getinit@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'DOCSTRING', 'code': 'def getinit(a, var):\n if isstring(var):\n init, showinit = \'""\', "\'...
0
{'name': 'StandoffParser._parse_annotations@trove/contrib/brat/brat.py', 'description': 'Use parser to import BRAT standoff format\n\n:param txt_filename:\n:param ann_filename:\n:return:', 'signature': 'def _parse_annotations(self, txt_filename, ann_filename):'}</s>{'name': 'print_scores@trove/contrib/brat/brat.py', 'd...
0
{'name': 'WebcamVideoStream.stop@versions/speed-cam_8.87.py', 'description': 'indicate that the thread should be stopped ', 'signature': 'def stop(self):'}</s>IM_SAVE_4AI_NEG_TIMER_SEC = 60 * 60 * 6
0
{'name': 'FancyPage.beforeDrawPage@rst2pdf/createpdf.py', 'description': 'Do adjustments to the page according to where we are in the document.\n\n* Gutter margins on left or right as needed', 'signature': 'def beforeDrawPage(self, canv, doc):'}</s>{'name': 'UnhappyOnce@rst2pdf/createpdf.py', 'description': 'An indexin...
0
{'name': 'NestingState.Update@scripts/cpplint.py', 'description': 'Update nesting state with current 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 any errors found.'...
0
{'name': 'test_get_parts_geometry_collection_multi@pygeos/tests/test_geometry.py', 'description': 'On the first pass, the individual Multi* geometry objects are returned\nfrom the collection. On the second pass, the individual singular geometry\nobjects within those are returned.', 'signature': 'def test_get_parts_geo...
0
{'name': 'Camera.load@cameratransform/camera.py', 'description': 'Load the camera parameters from a json file.\n\nParameters\n----------\nfilename : str\n the filename of the file to load.', 'signature': 'def load(self, filename: str):'}</s>{'name': '_getSensorFromDatabase@cameratransform/camera.py', 'description': ...
0
{'name': 'HindcastEnsemble.bootstrap@src/climpred/classes.py', 'description': 'Bootstrap with replacement according to :cite:t:`Goddard2013`.\n\nArgs:\n metric: Metric to apply for verification, see `metrics <../metrics.html>`_\n comparison: How to compare to the observations/verification data.\n See `comp...
0
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'on_reboot_pi@src/server/server.py', 'description': 'Reboot the raspberry pi.', 'code': 'def on_reboot_pi(*args):\n \'\'\'Reboot the raspberry pi.\'\'\'\n if Rac...
0
{'name': 'register_field@marshmallow_mongoengine/conversion/fields.py', 'description': 'Bind a marshmallow field to it corresponding mongoengine field\n:param mongo_field_cls: Mongoengine Field\n:param marshmallow_field_cls: Marshmallow Field\n:param available_params: List of :class marshmallow_mongoengine.conversion.p...
0
{'name': 'AdbDevice.connect@adb_shell/adb_device.py', 'description': "Establish an ADB connection to the device.\n\nSee :meth:`_AdbIOManager.connect`.\n\nParameters\n----------\nrsa_keys : list, None\n A list of signers of type :class:`~adb_shell.auth.sign_cryptography.CryptographySigner`,\n :class:`~adb_shell.au...
0
{'name': 'get_split@slim/datasets/raw_patches_for_heatmaps.py', 'description': "Gets a dataset tuple with instructions for reading flowers.\n\nArgs:\n split_name: A train/validation split name.\n dataset_dir: The base directory of the dataset sources.\n file_pattern: The file pattern to use when matching the dataset...
0
{'name': 'modsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'modulename', 'signature': 'def modsign2map(m):'}</s>{'name': 'l_not@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': "def l_not(f):\n return eval('lambda v,f=f:not f(v)')"}
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': 'NodeList.tell_update@shingetsu/node.py', 'description': 'Tell update other nodes.\n\nIf node is None, node is myself.', 'signature': 'def tell_update(self, cache, stamp="", id="", node=None):'}</s>template_suffix = ".txt"
0