text
string
label
int64
{'name': 'Project._generate_output_dir@project_generator/project.py', 'description': 'This is a separate function, so that it can be more easily tested ', 'signature': 'def _generate_output_dir(settings, path):'}</s>{'name': 'PartialFormatter@project_generator/util.py', 'description': 'DOCSTRING', 'base_classes': ['str...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_WRONG_CF_LEVEL = 2366
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQTYPE_INT64 = 128
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>MQPL_MVS = 1
0
{'name': 'compute_bbox_stats@lib/rpn_util.py', 'description': 'Computes the mean and standard deviation for each regression\nparameter (usually pertaining to [dx, dy, sw, sh] but sometimes\nfor 3d parameters too).\n\nOnce these stats are known we normalize the regression targets\nto have 0 mean and 1 variance, to hypot...
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': 'Block.update_status_information@pyShelly/block.py', 'description': 'Update the status information.', 'signature': 'def update_status_information(self):'}</s>{'name': 'Duo@pyShelly/light.py', 'description': 'DOCSTRING', 'base_classes': ['LightWhite'], 'methods': [{'name': 'Duo.__init__@pyShelly/light.py', 'des...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_WRONG_USER = 3151
0
{'name': 'initialize_ad_tracking_db@core/friendly_organizer.py', 'description': 'Initializes the AdTracker table with the default list of trackers. Ran only once at startup.', 'signature': 'def initialize_ad_tracking_db():'}</s>{'name': '_get_routes@core/networking.py', 'description': 'DOCSTRING', 'code': 'def _get_rou...
0
{'name': 'serialize@strictyaml/ruamel/main.py', 'description': 'Serialize a representation tree into a YAML stream.\nIf stream is None, return the produced string instead.', 'signature': 'def serialize(node, stream=None, Dumper=Dumper, **kwds):'}</s>{'name': 'DirectiveToken@strictyaml/ruamel/tokens.py', 'description': ...
0
{'name': 'plot_tuning_curves1D@nelpy/plotting/core.py', 'description': "WARNING! This function is not complete, and hence 'private',\nand may be moved somewhere else later on.\n\nIf pad=0 then the y-axis is assumed to be firing rate", 'signature': 'def plot_tuning_curves1D(ratemap, ax=None, normalize=False, pad=None, u...
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': 'collect_stats@dsets/tfidf_stats.py', 'description': 'Uses wikipedia snippets to collect statistics over a corpus of English text.\nRetrieved later when computing TF-IDF vectors.', 'signature': 'def collect_stats(data_dir: str):'}</s>REMOTE_ROOT_URL = data["REMOTE_ROOT_URL"]
0
{'name': 'ParseCodeLine@vimdoc/parser.py', 'description': 'Parses one line of code and creates the appropriate CodeLine.', 'signature': 'def ParseCodeLine(line):'}</s>{'name': 'IsComment@vimdoc/parser.py', 'description': 'DOCSTRING', 'code': 'def IsComment(line):\n return regex.comment_leader.match(line)'}
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PFRULE_STATESLOPPY = 131072
1
{'name': 'RemoveMultiLineCommentsFromRange@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Clears a range of lines for multi-line comments.', 'signature': 'def RemoveMultiLineCommentsFromRange(lines, begin, end):'}</s>{'name': '_CppLintState@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Maintains mo...
0
{'name': 'test_multipart_matcher_fail@responses/tests/test_matchers.py', 'description': 'Validate that Exception is raised if request does not match responses.matchers\n validate matchers.multipart_matcher\n:return: None', 'signature': 'def test_multipart_matcher_fail():'}</s>{'name': 'test_query_string_matcher@resp...
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>MQET_MQSC = 1
0
{'name': 'Mouse.handle_position@qt4c/mouse.py', 'description': '坐标转换', 'signature': 'def handle_position(x, y):'}</s>{'name': 'Process@qt4c/util.py', 'description': "提供系统进程的操作类\n使用例子:\nfor proc in Process.GetProcessesByName('iexplore.exe'):\n print proc.ProcessId", 'base_classes': ['object'], 'methods': [{'name': 'P...
0
{'name': 'XRasterBase.x_dim@rioxarray/rioxarray.py', 'description': 'Hashable: The dimension for the X-axis.', 'signature': 'def x_dim(self) -> Hashable:'}</s>{'name': '_order_bounds@rioxarray/rioxarray.py', 'description': 'Make sure that the bounds are in the correct order', 'code': 'def _order_bounds(\n *,\n mi...
0
{'name': 'test_calc_logp_marginal_likelihood@tests/test_model/test_model_integration.py', 'description': 'Implemented in `tests/test_model/test_model_inference.py`. ', 'signature': 'def test_calc_logp_marginal_likelihood():'}</s>{'name': 'test_calc_logp_prior@tests/test_model/test_model_integration.py', 'description': ...
0
{'name': 'exec_lint@check_lint.py', 'description': "Utility function to unconditionally execute `SublimeHaskellLint.run()` without worrying about the command's status.\n ", 'signature': 'def exec_lint(view, fly_mode=False, continue_success=None, error_handler=None):'}</s>{'name': 'output_error@sublime_haskell_common...
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>PLATFORMS = { "Linux": "linux", ...
0
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'GetSelectionFromList@src/python_scripts/afnipy/afni_base.py', 'description': 'DOCSTRING', 'code': 'def GetSele...
0
{'name': 'TestVimModule.test_missing_parent@tests/test_module.py', 'description': 'Parent sections should exist.', 'signature': 'def test_missing_parent(self):'}</s>{'name': 'ArgumentMismatch@vimdoc/error.py', 'description': 'DOCSTRING', 'base_classes': ['Warning'], 'methods': []}
0
{'name': 'handle_control_command@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Handle command from control channel', 'signature': 'def handle_control_command(sniffer, arg, typ, payload):'}</s>{'name': 'SnifferWatchDogTimeout@tools/ble_sniffer/extcap/SnifferAPI/Exceptions.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>PORT_MIN = 11000
0
{'name': 'test_make_importer@elpis/transformer/test_transformer.py', 'description': 'Use the make_importer function to create an importer data transformer.', 'signature': 'def test_make_importer(tdtaf, tmpdir):'}</s>{'name': 'test_factory_general_setting_with_default@elpis/transformer/test_transformer.py', 'description...
0
{'name': 'PrettyTable.__init__@SyntaxParser/BackUp/Materials/Sample/prettytable.py', 'description': 'Return a new PrettyTable instance\n\nArguments:\n\nencoding - Unicode encoding scheme used to decode any encoded input\nfield_names - list or tuple of field names\nfields - list or tuple of field names to include in dis...
0
{'name': 'NodeManager.list_volume_targets@ironicclient/v1/node.py', 'description': 'List all the volume targets for a given node.\n\n:param node_id: Name or UUID of the node.\n:param marker: Optional, the UUID of a volume target, eg the last\n volume target from a previous result set. Return\n ...
0
{'name': 'HomographyTransform.transform_coord@util/homg_trans.py', 'description': 'Transform coordinate in original space to homography transformed space.\nDependencies: init_map_coordinate\n:param coord: point in original space\n:return: point in transformed space', 'signature': 'def transform_coord(self, coord):'}</s...
0
{'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': 'transform@support/docopt.py', 'description': 'Expand pattern into an (almost) equivalent one, but with single Either.\n\nExample: ((-a | -b) (-c | -d)) => (-a -c | -a -d | -b -c | -b -d)\nQuirks: [-a] => (-a), (-a...) => (-a -a)', 'signature': 'def transform(pattern):'}</s>{'name': 'Command@support/docopt.py'...
0
{'name': 'Element.find_ids@src/svgutils/compose.py', 'description': 'Find elements with given IDs.\n\nParameters\n----------\nelement_ids : list of strings\n list of IDs to find\n\nReturns\n-------\na new `Panel` object which contains all the found elements.', 'signature': 'def find_ids(self, element_ids):'}</s>{'na...
0
{'name': 'MikrotikTrackerCoordinator.__init__@custom_components/mikrotik_router/coordinator.py', 'description': 'Initialize MikrotikTrackerCoordinator.', 'signature': 'def __init__('}</s>DEFAULT_SENSOR_NETWATCH_TRACKER = False
0
{'name': 'conv2d@v1/musegan/libs/ops.py', 'description': "Apply a 2D convolution layer on the input tensor and return the resulting tensor.\n\nArgs:\n tensor_in (tensor): The input tensor.\n out_channels (int): The number of output channels.\n kernels (list of int): The size of the kernel. [kernel_height, kern...
0
{'name': 'HyperFrameRecord.add_frames@disdat/hyperframe.py', 'description': "Add frames to the PB. If UUID, just add the UUID. If a FrameRecord,\nthen add both the UUID in the pb.frames map and the FrameRecord in the frame_cache.\n\nArgs:\n frames (:list:'FrameRecord' or :list:tuple:str,str): List of Frames to app...
0
{'name': 'build_pypi_index@etc/scripts/gen_pypi_simple.py', 'description': "Using a ``directory`` directory of wheels and sdists, create the a PyPI\nsimple directory index at ``directory``/simple/ populated with the proper\nPyPI simple index directory structure crafted using symlinks.\n\nWARNING: The ``directory``/simp...
1
{'name': 'guess_json_utf@src/requests/utils.py', 'description': ':rtype: str', 'signature': 'def guess_json_utf(data):'}</s>{'name': 'InvalidURL@src/requests/exceptions.py', 'description': 'The URL provided was somehow invalid.', 'base_classes': ['RequestException', 'ValueError'], 'methods': []}
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': 'Arcball.down@utils/transformations.py', 'description': 'Set initial cursor window coordinates and pick constrain-axis.', 'signature': 'def down(self, point):'}</s>{'name': 'arcball_map_to_sphere@utils/transformations.py', 'description': 'Return unit sphere coordinates from window coordinates.', 'code': 'def a...
1
{'name': 'compute_prior@tensor2tensor_envi/models/research/glow_ops.py', 'description': 'Distribution on z_t conditioned on z_{t-1} and latent.\n\nArgs:\n name: variable scope.\n z: 4-D Tensor.\n latent: optional,\n if hparams.latent_dist_encoder == "pointwise", this is a list\n of 4-D Tensors of l...
0
{'name': 'ScaleClient.remove_studio_assignments@scaleapi/__init__.py', 'description': 'Removes projects from users based on emails.\nArgs:\n emails (List[str]):\n emails to unassign\n projects (List[str]):\n projects to unassign\n\nReturns:\n Dict[StudioLabelerAssignment]', 'signature': 'def remo...
0
{'name': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>{'name': 's2b@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'de...
0
{'name': 'im_detect_3d@lib/rpn_util.py', 'description': 'Object detection in 3D', 'signature': 'def im_detect_3d(im, net, rpn_conf, preprocess, p2, gpu=0, synced=False, return_base=False):'}</s>{'name': 'compute_rel_pose@lib/core.py', 'description': 'DOCSTRING', 'code': 'def compute_rel_pose(pose_pre, pose):\n\n pos...
0
{'name': 'TestEffectPrediciton.test_mouse_6@test/test_base.py', 'description': 'Test junction location annotated', 'signature': 'def test_mouse_6(self):'}</s>{'name': '_Parser@agfusion/parsers.py', 'description': 'Base parser.', 'base_classes': [], 'methods': [{'name': '_Parser.__init__@agfusion/parsers.py', 'descripti...
0
{'name': 'execute_and_aggregate_exclusive_ops@self_organising_systems/biomakerca/env_logic.py', 'description': 'Execute all exclusive functions and aggregate them all into a single\nExclusiveOp for each cell.\n\nThis function constructs sanitized interfaces for the input excl_fs and \nagent_excl_f, making sure that no ...
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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_GET_INHIBITED = 2016
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...
0
{'name': 'UFPCA.transform@FDApy/preprocessing/dim_reduction/ufpca.py', 'description': "Apply dimensionality reduction to the data.\n\nThe functional principal components scores are defined as the\nprojection of the observation :math:`X_i` on the eigenfunction\n:math:`\\phi_k`. These scores are given by:\n\n.. math::\n ...
0
{'name': 'test_needs_sdist_without_options@paver/tests/test_setuputils.py', 'description': 'Test that a custom sdist can be used in needs() w/o options.setup', 'signature': 'def test_needs_sdist_without_options():'}</s>{'name': 'test_override_distutils_command@paver/tests/test_setuputils.py', 'description': 'DOCSTRING'...
0
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>LOG_ALERT = 1
0
{'name': 'IrregularFunctionalData.mean@FDApy/representation/functional_data.py', 'description': "Compute an estimate of the mean.\n\nThis function computes an estimate of the mean curve of a\nIrregularFunctionalData object. The curves are not sampled on a common\ngrid. We implement the methodology from [2]_.\n\nParamet...
0
{'name': 'qald_run@utils/data_preparation_rdf_type.py', 'description': "'\n\nIf the query contains only rdf constraint and no other triple, it will push the rdf type to the\nconstraint candidate and there will be no positive or negative path in the query.\n\n'path_id': [u'+25212']", 'signature': 'def qald_run(test = T...
0
{'name': 'parse_capture_filter@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': '"Parse given capture filter', 'signature': 'def parse_capture_filter(capture_filter):'}</s>{'name': 'extcap_config@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'List configuration for the given interface', 'code...
0
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>{'name': 'pf_queue_scspec@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W...
0
{'name': 'ExponentialModelTests.test_check_parameters_at_initialization@tests/probabilisticmodels_tests.py', 'description': 'Tests whether it is possible to have a multidimensional exponent.', 'signature': 'def test_check_parameters_at_initialization(self):'}</s>{'name': 'ProbabilisticModel@abcpy/probabilisticmodels.py...
0
{'name': 'preaggregate_time@verif/data.py', 'description': 'Aggregate array across time\n\nArgs:\n array (np.array): 3D array of observations or forecasts\n times (np.array): 1D array of unixtimes (seconds)\n aggregator (verif.aggregator.Aggregator): Aggregate with this function\n length (float): Aggregate ...
0
{'name': 'get_page_from_string_or_id@pages/templatetags/pages_tags.py', 'description': 'Return a Page object from a slug or an id.', 'signature': 'def get_page_from_string_or_id(page_string, lang=None):'}</s>{'name': 'GetContentNode@pages/templatetags/pages_tags.py', 'description': 'Get content node', 'base_classes': [...
0
{'name': 'to_taichi_type@python/taichi/lang/util.py', 'description': 'Convert numpy or torch or paddle data type to its counterpart in taichi.\n\nArgs:\n dt (DataType): The desired data type to convert.\n\nReturns:\n DataType: The counterpart data type in taichi.', 'signature': 'def to_taichi_type(dt):'}</s>f32 =...
1
{'name': 'ProcessFileData@tools/caffe-sphereface/scripts/cpp_lint.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.\n lines: An array of strin...
0
{'name': 'PrintUsage@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Prints a brief usage string and exits, optionally with an error message.\n\nArgs:\n message: The optional error message.', 'signature': 'def PrintUsage(message):'}</s>_CPP_HEADERS = frozenset([ # Legacy 'algobase.h', 'algo.h', ...
0
{'name': 'ProcessFileData@llvm-4.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....
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_gt@src/api/python/z3/z3.py', 'descripti...
0
{'name': 'View.pick_areas@picasso/gui/render.py', 'description': 'Finds the areas of all current picks in um^2.\n\nReturns\n-------\nareas : np.1darray\n Areas of all picks.', 'signature': 'def pick_areas(self):'}</s>{'name': 'render_gaussian@picasso/render.py', 'description': 'Renders locs with with individual loca...
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>{'name': 'isinteger@venv/L...
0
{'name': '_do_download@ez_setup.py', 'description': 'Download Setuptools.', 'signature': 'def _do_download(version, download_base, to_dir, download_delay):'}</s>{'name': 'download_file_curl@ez_setup.py', 'description': 'DOCSTRING', 'code': "def download_file_curl(url, target):\n cmd = ['curl', url, '--location', '--...
0
{'name': 'StatementSplitter.process@sqlparse/engine/statement_splitter.py', 'description': 'Process the stream', 'signature': 'def process(self, stream):'}</s>{'name': 'Parenthesis@sqlparse/sql.py', 'description': 'Tokens between parenthesis.', 'base_classes': ['TokenList'], 'methods': [{'name': 'Parenthesis._groupable...
0
{'name': 'fifo_test@examples/fifo/tests/test_fifo.py', 'description': 'FIFO Test ', 'signature': 'def fifo_test(dut):'}</s>{'name': 'CoverPoint@cocotb_coverage/coverage.py', 'description': 'Class used to create coverage points as decorators.\n\nThis decorator samples members of the decorated function (its signature).\n...
0
{'name': 'GDAL2Tiles.generate_base_tiles@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Generation of the base tiles (the lowest in the pyramid) directly from the input raster', 'signature': 'def generate_base_tiles(self) -> Tuple[TileJobInfo, List[TileDetail]]:'}</s>{'name': 'process_args@auxiliary/g...
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': 'HyASTCompiler._compile_collect@hy/compiler.py', 'description': 'Collect the expression contexts from a list of compiled expression.\n\nThis returns a list of the expression contexts, and the sum of the\nResult objects passed as arguments.', 'signature': 'def _compile_collect(self, exprs, with_kwargs=False, di...
0
{'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': '_ModifiedDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Like SimpleDecoder but...
0
{'name': 'RequestsCookieJar.set@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/cookies.py', 'description': 'Dict-like set() that also supports optional domain and path args in\norder to resolve naming collisions from using one cookie jar over\nmultiple domains.', 'signature': 'def set(self, name, ...
0
{'name': '_uncompress@brainspace/mesh/mesh_io.py', 'description': 'Uncompresses files. Currently only supports gzip.\n\nParameters\n----------\nipth : str\n Input filename.\nopth : str\n Output filename.\nblock_size : int, optional\n Size of blocks of the input that are read at a time, by default 65536', 'sign...
0
{'name': '_path_is_ancestor@blockchain-env/lib/python3.7/site-packages/flask/cli.py', 'description': 'Take ``other`` and remove the length of ``path`` from it. Then join it\nto ``path``. If it is the original value, ``path`` is an ancestor of\n``other``.', 'signature': 'def _path_is_ancestor(path, other):'}</s>{'name':...
0
{'name': 'PortManager.check_modem_lines@serial/rfc2217.py', 'description': 'read control lines from serial port and compare the last value sent to remote.\nsend updates on changes.', 'signature': 'def check_modem_lines(self, force_notification=False):'}</s>M_NORMAL = 0
0
{'name': 'speed_camera@versions/speed-camera 13.2/speed-cam.py', 'description': 'Main speed camera loop processing function', 'signature': 'def speed_camera():'}</s>{'name': 'subdir_check_max_hrs@versions/speed-camera 13.2/speed-cam.py', 'description': 'Rxtract the date-time from the directory name', 'code': 'def subdi...
0
{'name': 'TemplateCreation.set_atlas@voxelmorph/tf/networks.py', 'description': 'Sets the atlas weights.', 'signature': 'def set_atlas(self, atlas):'}</s>{'name': 'VxmAffineFeatureDetector@voxelmorph/tf/networks.py', 'description': 'SynthMorph network for symmetric affine or rigid registration of two images.\n\nIf you ...
0
{'name': 'Status.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.\n\nArgs:\n time_multiplier: Instance of util.TimeMultiplier.\n pause: An observable pause subject, instance of util.ObservableFlag.\n frame_timer: A Timer instance counting duration of frames.', 'signature': 'def __in...
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': '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': 'convert_examples_to_features@cbert_utils.py', 'description': "Loads a data file into a list of 'InputBatch's.", 'signature': 'def convert_examples_to_features(examples, label_list, max_seq_length, tokenizer):'}</s>{'name': 'convert_tokens_to_ids@cbert_utils.py', 'description': 'Converts tokens into ids using ...
0
{'name': '_lookup_module@dill/session.py', 'description': 'lookup name or id of obj if module is imported', 'signature': 'def _lookup_module(modmap, name, obj, main_module):'}</s>{'name': '_import_module@dill/_dill.py', 'description': 'DOCSTRING', 'code': "def _import_module(import_name, safe=False):\n try:\n ...
0
{'name': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>{'name': 'to_secs@custom_components/irrigation_unlimited/irrigation_unlimited.py',...
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': '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': 'init_training_model@lib/core.py', 'description': 'This function is meant to load the training model and optimizer, which expects\n./model/<conf.model>.py to be the pytorch model file.\n\nThe function copies the model file into the cache BEFORE loading, for easy reproducibility.', 'signature': 'def init_traini...
0
{'name': '_GenerateRenderMethod.write_toplevel@mako/codegen.py', 'description': 'Traverse a template structure for module-level directives and\ngenerate the start of module-level code.', 'signature': 'def write_toplevel(self):'}</s>html_entities_unescape = _html_entities_escaper.unescape
0
{'name': '_main_worker@rio_rgbify/mbtiler.py', 'description': 'Util for setting global vars w/ a Pool', 'signature': 'def _main_worker(inpath, g_work_func, g_args):'}</s>global_args = None
1
{'name': 'template@pyFileFixity/lib/profilers/visual/pympler/util/bottle3.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.', 'signature': 'def template(tpl, template_adapter=SimpleTemplate, **kwargs):'}</s>{'name': 'HTTPError@pyF...
0
{'name': 'HTTPRequest.read_request_line@cheroot/server.py', 'description': "Read and parse first line of the HTTP request.\n\nReturns:\n bool: True if the request line is valid or False if it's malformed.", 'signature': 'def read_request_line(self): # noqa: C901 # FIXME'}</s>TAB = b'\t'
0
{'name': 'brie_MH_Heuristic@brie/version1/model_brie.py', 'description': 'Matroplis-Hasting sampler to infer Brie parameters in a heuristic way,\nnamely, sampling isoform proportion and optimize the bayesian regression\nin turn.\n\nParameters\n----------\nR_mat: a list of array of bool\n each element in the list is ...
1
{'name': '_makeTags@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'OneOrMore@SneakerBot 2019/venv/lib/python3.7/...
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': 'estimate_entropies@metrics/Disentangle/MIG_metric.py', 'description': 'Computes the term:\n E_{p(x)} E_{q(z|x)} [-log q(z)]\nand\n E_{p(x)} E_{q(z_j|x)} [-log q(z_j)]\nwhere q(z) = 1/N sum_n=1^N q(z|x_n).\nAssumes samples are from q(z|x) for *all* x in the dataset.\nAssumes that q(z|x) is factorial ie. ...
1
{'name': 'generate_anchors@lib/rpn_util.py', 'description': 'Generates the anchors according to the configuration and\n(optionally) based on the imdb properties.', 'signature': 'def generate_anchors(conf, imdb, cache_folder):'}</s>{'name': 'RandomSaturation@lib/augmentations.py', 'description': 'Randomly adjust the sat...
0