text
string
label
int64
{'name': 'MultiDatasetProvider.to_numpy@kinoml/datasets/core.py', 'description': 'List of Numpy-native arrays, as generated by each ``provider.to_numpy(...)``\nmethod. Check ``DatasetProvider.to_numpy`` docstring for more details.', 'signature': 'def to_numpy(self, **kwargs):'}</s>{'name': 'BaseMeasurement@kinoml/core/...
0
{'name': 'GetJob.__init__@SalesforcePy/jobs.py', 'description': "Constructor. Calls `super`, then encodes the `service` including the `query_string` provided\n\n:param: session_id: Session ID used to make request\n:type: session_id: string\n:param: instance_url: Instance URL used to make the request (eg. `'eu11.salesfo...
0
{'name': '_get_devices@custom_components/hubitat/config_flow.py', 'description': 'Return the devices associated with a given config entry.', 'signature': 'def _get_devices(hass: HomeAssistant, config_entry: ConfigEntry) -> list[DeviceEntry]:'}</s>H_CONF_SYNC_AREAS = "sync_areas"
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PF_PRIO_ZERO = 255
1
{'name': 'ConcurrentBaseModelFormSet._management_form@src/concurrency/admin.py', 'description': 'Returns the ManagementForm instance for this FormSet.', 'signature': 'def _management_form(self):'}</s>__all__ = []
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCA_SSL_CERT_ISSUER_NAME = 2130
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_PUBSUB_INHIBITED = 3318
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': 'pyrshow@src/pyrtools/tools/display.py', 'description': "Display the coefficients of the pyramid in an orderly fashion\n\nArguments\n---------\npyr_coeffs : `dict`\n from the pyramid object (i.e. pyr.pyr_coeffs)\nis_complex : `bool`\n default False, indicates whether the pyramids is real or complex\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': 'Lexer.match@mako/lexer.py', 'description': 'compile the given regexp, cache the reg, and call match_reg().', 'signature': 'def match(self, regexp, flags=None):'}</s>{'name': '_install_fallback@mako/exceptions.py', 'description': 'DOCSTRING', 'code': "def _install_fallback():\n global syntax_highlight, pygm...
0
{'name': 'Camera.addLandmarkInformationGPS@cameratransform/camera.py', 'description': 'Add a term to the camera probability used for fitting. This term includes the probability to observe the given\nlandmarks and the specified positions in the image.\n\nParameters\n----------\nlm_points_image : ndarray\n the pixel p...
0
{'name': 'extcap_interfaces@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'List available interfaces to capture from', 'signature': 'def extcap_interfaces():'}</s>CTRL_CMD_INFO_MSG = 7
0
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'read_json_file@...
0
{'name': 'FairseqTask.build_generator@fairseq/tasks/fairseq_task.py', 'description': 'Build a :class:`~fairseq.SequenceGenerator` instance for this\ntask.\n\nArgs:\n models (List[~fairseq.models.FairseqModel]): ensemble of models\n args (fairseq.dataclass.configs.GenerationConfig):\n configuration object (...
0
{'name': 'CheckForNonConstReference@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instan...
0
{'name': 'run_command@versioneer.py', 'description': 'Call the given command(s).', 'signature': 'def run_command(commands, args, cwd=None, verbose=False, hide_stderr=False,'}</s>{'name': 'NotThisMethod@versioneer.py', 'description': 'Exception raised if a method is not valid for the current scenario.', 'base_classes': ...
0
{'name': 'StaticVariableTestCase.test_with_run_command@llvm-12.0.0-project/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py', 'description': 'Test that file and class static variables display correctly.', 'signature': 'def test_with_run_command(self):'}</s>{'name': 'skipUnlessWindows@llvm-12.0.0-project/lldb/...
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': 'GroupDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for a gr...
0
{'name': 'WheelFeeder.execute@utils/wheel_feeder.py', 'description': 'Main method executing the feeding.', 'signature': 'def execute(self):'}</s>{'name': 'WheelFeederAuthentication@utils/wheel_feeder.py', 'description': "WheelFeederAuthentication takes care about building valid session with the Wheel's API\nusing Cogni...
0
{'name': 'ProjectIdentity.__init__@client/tc/azext_tc/vendored_sdks/teamcloud/models/_models_py3.py', 'description': ':keyword project_id: Required.\n:paramtype project_id: str\n:keyword project_name: Required.\n:paramtype project_name: str\n:keyword organization: Required.\n:paramtype organization: str\n:keyword organ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_INQUIRE_TOPIC = 174
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': 'fat.read_dentry@tools/fat16copy.py', 'description': 'Read and decode a dentry from the given file-like object at its current\nseek position.', 'signature': 'def read_dentry(self, f=None):'}</s>DEL_MARKER = 229
1
{'name': 'check_bad_value_types@zict/tests/utils_test.py', 'description': 'z does not accept any Python object as values.\nTest that it reacts correctly when confronted with an invalid value type.', 'signature': 'def check_bad_value_types(z: MutableMapping) -> None:'}</s>{'name': 'check_bad_key_types@zict/tests/utils_t...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_Q_MGR_DEFINITION_TYPE = 1084
0
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_208 = Badge("key", series=3, number=8, symbol="🔑")
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>mock_circle = dvz.dvz_mock_circle
0
{'name': 'project@source/tomopy/sim/project.py', 'description': 'Project x-rays through a given 3D object.\n\nParameters\n----------\nobj : ndarray\n Voxelized 3D object.\ntheta : array\n Projection angles in radian.\ncenter: array, optional\n Location of rotation axis.\nemission : bool, optional\n Determin...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCFOFFLD_SMDS = 1
0
{'name': '_validate@src/feedvalidator/__init__.py', 'description': 'validate RSS from string, returns validator object', 'signature': 'def _validate(aString, firstOccurrenceOnly, loggedEvents, base, encoding, selfURIs=None, mediaType=None):'}</s>{'name': 'InvalidItunesCategory@src/feedvalidator/logging.py', 'descriptio...
0
{'name': 'from_ftp@icesat2_toolkit/utilities.py', 'description': "Download a file from a ftp host\n\nParameters\n----------\nHOST: str or list\n remote ftp host path\nusername: str or NoneType\n ftp username\npassword: str or NoneType\n ftp password\ntimeout: int or NoneType, default None\n timeout in secon...
0
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>{'nam...
0
{'name': 'spatial_smooth@python/np/carfac.py', 'description': 'Design the AGC spatial smoothing filter.\n\nTODO(dicklyon): Can you say more??\n\nArgs:\n coeffs: The coefficient description for this state\n stage_state: The state of the AGC right now.\n\nReturns:\n A new stage stage object.', 'signature': 'def spatia...
0
{'name': 'auto_from_etree@a38/fattura.py', 'description': 'Instantiate a Fattura or FatturaElettronicaSemplificata from a parsed XML', 'signature': 'def auto_from_etree('}</s>{'name': 'ProgressivoInvioField@a38/fields.py', 'description': 'DOCSTRING', 'base_classes': ['StringField'], 'methods': [{'name': 'ProgressivoInv...
0
{'name': 'bisect_steps_remaining@nix_bisect/git.py', 'description': 'Estimate of remaining steps, including the current one.\n\nThis is an approximation.', 'signature': 'def bisect_steps_remaining():'}</s>{'name': 'cur_commit@nix_bisect/git.py', 'description': 'Returns the rev of the current HEAD.', 'code': 'def cur_co...
0
{'name': 'parseOptionsAndInitTestdirs@lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}</s>sdir_name = None
0
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'vals_are_increa...
0
{'name': 'get_current_error@wrappers/python/indy_vdr/bindings.py', 'description': 'Get the error result from the previous failed API method.\n\nArgs:\n expect: Return a default error message if none is found', 'signature': 'def get_current_error(expect: bool = False) -> VdrError:'}</s>{'name': 'pool_get_status@wrapp...
0
{'name': 'SQLInsertCompiler.handle_insert_through@rest_models/backend/compiler.py', 'description': "special case where we don't insert into the given table because it's not exposed. we\nhandle this case by updating the field on either side of the through.\n:return:", 'signature': 'def handle_insert_through(self):'}</s>...
0
{'name': 'GDAL2Tiles.open_input@auxiliary/demtiles/gdal2demtiles.py', 'description': 'Initialization of the input raster, reprojection if necessary', 'signature': 'def open_input(self):'}</s>__doc__globalmaptiles = " globalmaptiles.py Global Map Tiles as defined in Tile Map Service (TMS) Profiles =====================...
0
{'name': 'ResetNolintSuppressions@scripts/cpplint.py', 'description': 'Resets the set of NOLINT suppressions to empty.', 'signature': 'def ResetNolintSuppressions():'}</s>_ALT_TOKEN_REPLACEMENT = { 'and': '&&', 'bitor': '|', 'or': '||', 'xor': '^', 'compl': '~', 'bitand': '&', 'and_eq': '&='...
0
{'name': 'convert_RNN@scratch/converters/modules/converters/mx2onnx_conv/onnx/mx2onnx/_op_translations.py', 'description': "Map MXNet's RNN operator attributes to onnx's RNN operator\nand return the created node.", 'signature': 'def convert_RNN(node, **kwargs):'}</s>{'name': 'convert_mul_scalar@scratch/converters/modul...
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>signing...
0
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'render_format@src/server/server.py', 'description': 'Route to settings page.', 'code': "def render_format():\n '''Route to settings page.'''\n return render_tem...
0
{'name': 'accum_tensor_index_add@torchkbnufft/_nufft/interp.py', 'description': 'We fork this function for the adjoint accumulation.', 'signature': 'def accum_tensor_index_add('}</s>{'name': 'table_interp_multiple_batches@torchkbnufft/_nufft/interp.py', 'description': 'Table interpolation with for loop over batch dimen...
0
{'name': 'jitcode_transversal_lyap.set_initial_value@jitcode/_jitcode.py', 'description': 'Like the analogous function of `jitcode`/`scipy.integrate.ode`, except that only one initial value per group of synchronised components has to be provided (in the same order as the `groups` argument of the constructor).', 'signat...
0
{'name': 'test_nar_step_ahead_insufficient_initial_conditions@sysidentpy/tests/test_narmax_base.py', 'description': 'Test that _nar_step_ahead raises an error if input is too short.', 'signature': 'def test_nar_step_ahead_insufficient_initial_conditions():'}</s>split_data = int(len(x) * (train_percentage / 100))
0
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ...
0
{'name': 'logs@hokusai/cli/review_app.py', 'description': 'Get container logs', 'signature': 'def logs(app_name, timestamps, follow, tail, previous, label, verbose):'}</s>{'name': 'status@hokusai/cli/review_app.py', 'description': 'Print the Kubernetes resources status defined in the staging context / {APP_NAME} namesp...
0
{'name': 'GroupStats.plot_correlation@ffn/core.py', 'description': "Utility function to plot correlations.\n\nArgs:\n * freq (str): Pandas data frequency alias string\n * title (str): Plot title\n * figsize (tuple (x,y)): figure size\n * kwargs: passed to Pandas' plot_corr_heatmap function", 'signature': 'd...
0
{'name': 'transform_world_to_camera@3DLabelGen/3DReg/data_utils.py', 'description': 'Project 3d poses from world coordinate to camera coordinate system\nArgs\n poses_set: dictionary with 3d poses\n cams: dictionary with cameras\n ncams: number of cameras per subject\nReturn:\n t3d_camera: dictionary with 3d poses i...
0
{'name': 'ctrl_c_signal_handler@shutit_util.py', 'description': 'CTRL-c signal handler - enters a pause point if it can.\n ', 'signature': 'def ctrl_c_signal_handler(_, frame):'}</s>{'name': 'print_frame_recurse@shutit_util.py', 'description': 'DOCSTRING', 'code': "def print_frame_recurse(frame):\n\tif frame.f_b...
0
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>Current_log_path_name = log.later_stage_setup(RaceContext.serverconfig.get_section('LOGGING'), SOCKET_IO)
0
{'name': 'MACAddr.decode@aioblescan/aioblescan.py', 'description': 'Decode the MAC address from a byte array.\n\nThis will take the first 6 bytes from data and transform them into a MAC address\nstring representation. This will be assigned to the attribute "val". It then returns\nthe data stream minus the bytes consume...
0
{'name': 'load_json@policy/cib.py', 'description': 'Read CIB node from JSON file', 'signature': 'def load_json(filename):'}</s>{'name': 'term_separator@policy/policy.py', 'description': 'Get a separator line with the width of the terminal with a centered text', 'code': 'def term_separator(text=\'\', line_char=CHARS.LIN...
0
{'name': 'load_existing_model@models/utils.py', 'description': "Load an existing model from disk based on the provided metadata.\n\nArgs:\n model_metadata (dict): Metadata dictionary containing information about the model.\n dataset (torchvision.datasets): Dataset object used to instantiate the model.\n device...
0
{'name': 'start@server.py', 'description': ' Pulls the parameters from disk\n Instantiate QuestionAnswering class (onefile).\n\n Thus, all models are loaded.\n Help loading the model, then start the server.\n\n CHANGE MAJOR CONFIGS HERE\n:return:', 'signature': 'def start():'}</s>{'name': 'checker@utils/...
0
{'name': 'RuntimeAPI.do_table_add@tools/runtime_CLI.py', 'description': 'Add entry to a match table: table_add <table name> <action name> <match fields> => <action parameters> [priority]', 'signature': 'def do_table_add(self, line):'}</s>{'name': 'ParseVSet@tools/runtime_CLI.py', 'description': 'DOCSTRING', 'base_class...
0
{'name': 'ParseArguments@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(a...
0
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>{'name': 'initialize_datadir@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': 'def initialize_datadi...
0
{'name': 'Dataset.link_to_here@accelerator/dataset.py', 'description': "Use this to expose a subjob as a dataset in your job:\nDataset(subjid).link_to_here()\nwill allow access to the subjob dataset under your jid.\nSpecify column_filter as an iterable of columns to include\nif you don't want all of them.\nUse override...
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': 'isFloat@src/python_scripts/afnipy/afni_base.py', 'description': 'DOCSTRING', 'code': 'def isFloat(s):\n try...
0
{'name': '_default_value@swagger_to/py_client.py', 'description': 'Determine the default value of the given type definition.\n\n:param typedef: type definition in Python representation.\n:return: Python code', 'signature': 'def _default_value(typedef: Typedef) -> str:'}</s>{'name': '_arg_name@swagger_to/py_client.py', ...
0
{'name': 'create_yaml@hokusai/commands/review_app.py', 'description': 'create yaml for review app ', 'signature': 'def create_yaml(source_file, app_name):'}</s>{'name': 'local_to_local@hokusai/lib/common.py', 'description': 'copy source file to target dir/file\noptionally create target dir, set target file mode as desi...
1
{'name': 'PrePostChange.get_change_raw_sql@operations.py', 'description': "Generates PrePost-adjusted values for PercentChange computation.\n\nThis function generates subqueries like\nWITH PrePostRaw AS (SELECT\n split_by,\n stratified_by,\n condition_column,\n child_metric,\n covariate\nFROM T\nGROUP BY split_by,...
1
{'name': 'Grid.face_node_connectivity@uxarray/grid/grid.py', 'description': 'Indices of the nodes that make up each face.\n\nDimensions: ``(n_face, n_max_face_nodes)``\n\nNodes are in counter-clockwise order.', 'signature': 'def face_node_connectivity(self) -> xr.DataArray:'}</s>NODE_FACE_CONNECTIVITY_DIMS = ["n_node",...
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': 'SelfActuatedPiano.__init__@robopianist/suite/tasks/self_actuated_piano.py', 'description': 'Task constructor.\n\nArgs:\n midi: A `MidiFile` object.\n n_steps_lookahead: Number of timesteps to look ahead when computing the\n goal state.\n trim_silence: If True, shifts the MIDI file so that the ...
0
{'name': 'IO.open@python/Py106/packet.py', 'description': 'Open an IRIG file for reading or writing', 'signature': 'def open(self, filename, file_mode):'}</s>{'name': 'IO@python/Py106/packet.py', 'description': 'IRIG 106 packet data input / output', 'base_classes': ['object'], 'methods': [{'name': 'IO.__init__@python/P...
1
{'name': 'render_pep440@nfp/_version.py', 'description': 'Build up version string, with post-release "local version identifier".\n\nOur goal: TAG[+DISTANCE.gHEX[.dirty]] . Note that if you\nget a tagged build and then dirty it, you\'ll get TAG+0.gHEX.dirty\n\nExceptions:\n1: no tags. git_describe was just HEX. 0+untagg...
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': 'read_csv@alphaction/dataset/datasets/evaluation/ava/ava_eval.py', 'description': 'Loads boxes and class labels from a CSV file in the AVA format.\n\nCSV file format described at https://research.google.com/ava/download.html.\n\nArgs:\n csv_file: Path of csv file.\n class_whitelist: If provided, boxes corres...
1
{'name': 'BuildImage@utils/pyHDLC/__init__.py', 'description': "Build and optionally test container image(s).\n\n:param image:\n Bare image name(s), without registry, collection or architecture.\n The supported syntax for each image name is ``name[#location]``, where the optional ``location`` is ignored during\n the...
0
{'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': '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>real8pattern = re.compile(...
0
{'name': 'Normal.kld@metrics/Disentangle/MIG_metric.py', 'description': 'Computes KL(q||p) where q is the given distribution and p\nis the standard Normal distribution.', 'signature': 'def kld(self, params):'}</s>{'name': 'compute_metric_shapes@metrics/Disentangle/MIG_metric.py', 'description': 'DOCSTRING', 'code': 'de...
0
{'name': 'have_qstring@labelImg.py', 'description': 'p3/qt5 get rid of QString wrapper as py3 has native unicode str type', 'signature': 'def have_qstring():'}</s>{'name': 'StringBundle@libs/stringBundle.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'StringBundle.__init__@libs/stringBundle.p...
0
{'name': 'test@joeynmt/prediction.py', 'description': 'Main test function. Handles loading a model from checkpoint, generating\ntranslations, storing them, and plotting attention.\n\n:param cfg: configuration dict\n:param output_path: path to output\n:param prepared: model and datasets passed from training\n:param save...
0
{'name': 'arc_labels@nxviz/annotate.py', 'description': 'Annotate node labels for arc plot.', 'signature': 'def arc_labels('}</s>{'name': 'is_data_homogenous@nxviz/utils.py', 'description': 'Checks that all of the data in the container are of the same Python data\ntype. This function is called in every other function b...
0
{'name': 'get_ovs_veths@kayobe/plugins/filter/networks.py', 'description': "Return a list of dicts describing veth pairs to plug into Open vSwitch.\n\n:param context: a Jinja2 Context object.\n:param names: list of names of networks.\n:param inventory_hostname: Ansible inventory hostname.\n:returns: a list of dicts des...
0
{'name': 'next_tzolkin_haab@src/convertdate/mayan.py', 'description': "For a given haab-tzolk'in combination, and a Julian day count, find the next occurrance of the combination after the date", 'signature': 'def next_tzolkin_haab(tzolkin, haab, jd):'}</s>{'name': 'monthcalendar@src/convertdate/gregorian.py', 'descript...
0
{'name': 'run@ValveBatchExport/HeartValveBatchAnalysis/annulus_shape_analysis.py', 'description': "Run annulus curve analysis\n:param csv_filename: input CSV file containing columns Filename, Phase, Valve, AnnulusContourX, AnnulusContourY, AnnulusContourZ, AnnulusContourLabel\n:param label_order: list of strings defini...
0
{'name': 'FindDap.__call__@pyocd/probe/pydapaccess/interface/pyusb_backend.py', 'description': 'Return True if this is a DAP device, False otherwise', 'signature': 'def __call__(self, dev):'}</s>log = logging.getLogger('pyusb')
1
{'name': 'Serial._reconfigure_port@serial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>SetCommTimeouts = _stdcall_libraries['kernel32'].SetCommTimeouts
1
{'name': 'Product._load@eoreader/products/product.py', 'description': 'Core function loading optical data bands\n\nArgs:\n bands (list): Band list\n pixel_size (float): Pixel size of the band, in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if pixel_size is provided.\n kwa...
0
{'name': 'ParseArguments@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'signature': 'def ParseArguments(a...
0
{'name': 'humanbytes@resources/lib/util.py', 'description': 'Return the given bytes as a human friendly KB, MB, GB, or TB string', 'signature': 'def humanbytes(B):'}</s>TEXTSTORE = os.path.join(ADDON_DATA, "Inhaltstexte")
0
{'name': 'NodeRedText.update_discovery_config@custom_components/nodered/text.py', 'description': 'Update the entity config.', 'signature': 'def update_discovery_config(self, msg):'}</s>CONF_MODE = "mode"
1
{'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': 'openLabJack@src/LabJackPython.py', 'description': 'openLabJack(deviceType, connectionType, firstFound = True, pAddress = 1, LJSocket = None)\n\nNote: On Windows, UE9 over Ethernet, pAddress MUST be the IP address. ', 'signature': 'def openLabJack(deviceType, connectionType, firstFound = True, pAddress = None,...
0
{'name': 'MomSpaceBasis.__init__@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'the constructor\n\nGenerates a cubic lattice in momentum space\nparam Nmax: Number of lattice points in positive kx-direction\nparam kmax: Highest lattice momentum (in 1/fm)\nparam ordered: Optional parameter, True by...
0
{'name': 'GeneratorLSTMCell.__init__@gqn/gqn_draw.py', 'description': 'Construct ConvLSTMCell.\nArgs:\n conv_ndims: Convolution dimensionality (1, 2 or 3).\n input_shape: Shape of the input as int tuple, excluding the batch size.\n output_channels: int, number of output channels of the conv LSTM.\n kernel_shape: Sh...
0
{'name': 'build_datetime@yaql/standard_library/date_time.py', 'description': ':yaql:datetime\n\nReturns datetime object built on year, month, day, hour, minute, second,\nmicrosecond, offset.\n\n:signature: datetime(year, month, day, hour => 0, minute => 0, second => 0,\n microsecond => 0, offset => ...
0
{'name': 'ScrollingTest.testProtocol@reversibility/pycolab/pycolab/tests/scrolling_test.py', 'description': 'Verify correct behaviour of the scrolling protocol helpers.', 'signature': 'def testProtocol(self):'}</s>{'name': 'TestDrape@reversibility/pycolab/pycolab/tests/test_things.py', 'description': "A `Drape` subclas...
1
{'name': 'DmlVisitor.visit_CreateTableAsStmt@data_lineage/parser/dml_visitor.py', 'description': ' Do not process CTAS statement by default.\n:param ancestors:\n:type ancestors:\n:param node:\n:type node:\n:return:\n:rtype:', 'signature': 'def visit_CreateTableAsStmt(self, ancestors, node):'}</s>{'name': 'SelectSour...
0
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ...
0
{'name': '_EpanetRule.add_action_on_false@wntr/epanet/io.py', 'description': 'Add an "else" action from an IfThenElseControl', 'signature': "def add_action_on_false(self, action, prefix=' ELSE'):"}</s>_CURVE_ENTRY = " {name:10s} {x:12f} {y:12f} {com:>3s} "
0
{'name': 'get_connector_mapping@os_brick/initiator/connector.py', 'description': 'Get connector mapping based on platform.\n\nThis is used by Nova to get the right connector information.\n\n:param arch: The architecture being requested.', 'signature': 'def get_connector_mapping(arch=None):'}</s>MULTIPATH_PATH_CHECK_REG...
0
{'name': 'install@tasks/app/dependencies.py', 'description': 'Install project dependencies.', 'signature': 'def install(context):'}</s>log = logging.getLogger(__name__)
0