language
stringclasses
2 values
func_code_string
stringlengths
63
466k
python
def get(self, key_use, key_type="", owner="", kid=None, **kwargs): """ Get all keys that matches a set of search criteria :param key_use: A key useful for this usage (enc, dec, sig, ver) :param key_type: Type of key (rsa, ec, oct, ..) :param owner: Who is the owner of the keys, ...
java
public void animateClose() { prepareContent(); if (onDrawerScrollListener != null) { onDrawerScrollListener.onScrollStarted(); } animateClose(vertical ? viewHandle.getTop() : viewHandle.getLeft()); if (onDrawerScrollListener != null) { onDrawerScrollLis...
java
public EnumT valueOfStrict(String constant) { EnumT value = knownValues.get(constant); if (value != null) { return value; } else { throw new IllegalArgumentException( "Constant \"" + constant + "\" not found for enum \"" + clazz.getName() + "\""); } }
java
@Override public EClass getIfcPolygonalBoundedHalfSpace() { if (ifcPolygonalBoundedHalfSpaceEClass == null) { ifcPolygonalBoundedHalfSpaceEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI) .getEClassifiers().get(435); } return ifcPolygonalBoundedHalfSpaceEClass; }
java
@SuppressWarnings("unchecked") protected BindingResult<T> doBind( ArgumentConversionContext<T> context, ConvertibleValues<?> values, String annotationValue) { return doConvert(doResolve(context, values, annotationValue), context); }
java
public static <T> ServiceFuture<T> fromResponse(final Observable<ServiceResponse<T>> observable, final ServiceCallback<T> callback) { final ServiceFuture<T> serviceFuture = new ServiceFuture<>(); serviceFuture.subscription = observable .last() .subscribe(new Action1<Servi...
python
def rescan_all(host): ''' List scsi devices CLI Example: .. code-block:: bash salt '*' scsi.rescan_all 0 ''' if os.path.isdir('/sys/class/scsi_host/host{0}'.format(host)): cmd = 'echo "- - -" > /sys/class/scsi_host/host{0}/scan'.format(host) else: return 'Host {0} ...
java
protected void activate() { LOG.debug("Activating receipt of incoming messages"); String addr = endpointInfo.getAddress(); try { new URL(addr); } catch (Exception e) { throw new Fault(e); } engine.addHandler(addr, new Handler(this, SecurityActio...
python
def get_release_revision(self, project, release_id, definition_snapshot_revision, **kwargs): """GetReleaseRevision. Get release for a given revision number. :param str project: Project ID or project name :param int release_id: Id of the release. :param int definition_snapshot_rev...
java
public static byte[] getExtensionValue(byte [] certExtValue) throws IOException { ByteArrayInputStream inStream = new ByteArrayInputStream(certExtValue); ASN1InputStream derInputStream = new ASN1InputStream(inStream); ASN1Primitive object = derInputStream.readObject(); if (object instanceof ASN1OctetString)...
java
public int getSourceTree( String base, String urlString, SourceLocator locator, XPathContext xctxt) throws TransformerException { // System.out.println("getSourceTree"); try { Source source = this.resolveURI(base, urlString, locator); // System.out.println("getSourceTre...
java
@Deprecated public PointL toProjectedPixels(final long latituteE6, final long longitudeE6, final PointL reuse) { return toProjectedPixels(latituteE6 * 1E-6, longitudeE6 * 1E-6, reuse); }
java
public static boolean isAccessibilityFocusable( Context context, AccessibilityNodeInfoCompat node) { if (node == null) { return false; } // Never focus invisible nodes. if (!isVisibleOrLegacy(node)) { return false; } // Always focus "...
java
Rule TimeSignature() { return FirstOf( String("C|"), String("C"), IgnoreCase("none"), MeterNum(), DIGIT() ).label(TimeSignature); }
python
def build_binary_dist_helper(self, requirement, setup_command): """ Convert an unpacked source distribution to a binary distribution. :param requirement: A :class:`.Requirement` object. :param setup_command: A list of strings with the arguments to ``setup.p...
java
@Override public double similarScore(List<Word> words1, List<Word> words2) { if(words1 == null || words2 == null){ //只要有一个文本为null,规定相似度分值为0,表示完全不相等 return 0.0; } if(words1.isEmpty() && words2.isEmpty()){ //如果两个文本都为空,规定相似度分值为1,表示完全相等 return 1.0;...
java
public Resource plus(Resource other) { double totalCpu = this.getCpu() + other.getCpu(); ByteAmount totalRam = this.getRam().plus(other.getRam()); ByteAmount totalDisk = this.getDisk().plus(other.getDisk()); return new Resource(totalCpu, totalRam, totalDisk); }
java
public synchronized void registerJmxIfRequired() { referenceCount++; if(isRegistered == false) { String domain = JmxUtils.getPackageName(this.getClass()); this.jmxObjectName = JmxUtils.createObjectName(domain, this.name); JmxUtils.registerMbean(this, this.jmxObjectNam...
java
public Matrix3x2d setView(double left, double right, double bottom, double top) { m00 = 2.0 / (right - left); m01 = 0.0; m10 = 0.0; m11 = 2.0 / (top - bottom); m20 = (left + right) / (left - right); m21 = (bottom + top) / (bottom - top); return this; }
python
def parse(cls, fptr, offset, length): """Parse data entry URL box. Parameters ---------- fptr : file Open file object. offset : int Start position of box in bytes. length : int Length of the box in bytes. Returns -----...
java
synchronized private void clearCachedStructures() { mapsInitialized = false; packageMap = new HashMap(); classSource = new HashMap(); unqNameTable = null; nameSpaceChanged(); }
python
def autobuild_decorate(func, caller): """ autobuild_decorate(func, caller) decorates a function using a caller. Allows for an extra `autobuild` keyword arg. The only difference to decorator.decorate() is to use our custom AutobuildFunctionMaker instead. """ evaldict = dict(_call_=caller, _func_=...
python
def cfg_lldp_interface(self, protocol_interface, phy_interface=None): """Cfg LLDP on interface and create object. """ if phy_interface is None: phy_interface = protocol_interface self.create_attr_obj(protocol_interface, phy_interface) ret = self.pub_lldp.enable_lldp(protocol_...
java
static byte[] escapeString(byte b[]) { ByteBuffer content = new ByteBuffer(); escapeString(b, content); return content.toByteArray(); }
python
def add_attribute_group_items(attributegroupitems, **kwargs): """ Populate attribute groups with items. ** attributegroupitems : a list of items, of the form: ```{ 'attr_id' : X, 'group_id' : Y, 'network_id' : Z, ...
java
protected ISFSObject parseObject(GetterMethodCover method, Object object) { return object2params(method.getReturnClass(), object); }
python
def geodetic2geocentric(theta, alt): """ Conversion from geodetic to geocentric coordinates by using the WGS84 spheroid. :param theta: colatitude (float, rad) :param alt: altitude (float, km) :return gccolat: geocentric colatitude (float, rad) d: gccolat minus theta (float, rad) ...
python
def data_to_binary(self): """ :return: bytes """ return bytes([ COMMAND_CODE, self.channels_to_byte(self.closed), self.channels_to_byte(self.enabled), self.channels_to_byte(self.normal), self.channels_to_byte(self.locked) ...
java
@SuppressWarnings("rawtypes") private Map<String, Object> buildOverrideAttribute(final Annotation compositionAnno, final ExpandedAnnotation targetAnno) { final Annotation originalAnno = targetAnno.getOriginal(); final Map<String, Object> overrideAttrs = new HashMap<>(); ...
python
def _get_client(config, url=None, version=None, timeout=None): ''' Get a connection to a docker API (socket or URL) By default it will use the base docker-py defaults which at the time of writing are using the local socket and the 1.4 API Set those keys in your configuration tree somehow: ...
java
public void setJsonPath(URL url) throws IOException { String path = url.toString(); if (path.startsWith(ValueConsts.LOCAL_FILE_URL)) { setJsonPath(NetUtils.urlToString(url)); } else { setJsonObject(FileExecutor.read(url)); } }
python
def _on_key_pressed(self, event): """ Auto indent if the released key is the return key. :param event: the key event """ if not event.isAccepted(): if event.key() == Qt.Key_Return or event.key() == Qt.Key_Enter: cursor = self.editor.textCursor() ...
python
def _job_handler(self) -> bool: """Process the work items.""" while True: try: task = self._unfullfilled.get_nowait() except queue.Empty: break else: self._log.debug("Job: %s" % str(task)) engine = self._...
java
public JSONObject saveRule(String objectID, JSONObject rule) throws AlgoliaException { return saveRule(objectID, rule, false); }
python
def trace_set_format(self, fmt): """Sets the format for the trace buffer to use. Args: self (JLink): the ``JLink`` instance. fmt (int): format for the trace buffer; this is one of the attributes of ``JLinkTraceFormat``. Returns: ``None`` """ ...
python
def handleMarketDepth(self, msg): """ https://www.interactivebrokers.com/en/software/api/apiguide/java/updatemktdepth.htm https://www.interactivebrokers.com/en/software/api/apiguide/java/updatemktdepthl2.htm """ # make sure symbol exists if msg.tickerId not in self.marke...
python
def delete(path, attribute): ''' Removes the given attribute from the file :param str path: The file(s) to get attributes from :param str attribute: The attribute name to be deleted from the file/directory :return: True if successful, otherwise False :rtype: bool :raises: Command...
python
def load(self, other: merkle_tree.MerkleTree): """Load this tree from a dumb data object for serialisation. The object must have attributes tree_size:int and hashes:list. """ self._update(other.tree_size, other.hashes)
java
public static void typeface(View view, TypefaceCollection typefaceCollection) { if (view instanceof ViewGroup) { applyTypeface((ViewGroup) view, typefaceCollection); } else { applyForView(view, typefaceCollection); } }
python
def export(self, name, columns, points): """Write the points to the Prometheus exporter using Gauge.""" logger.debug("Export {} stats to Prometheus exporter".format(name)) # Remove non number stats and convert all to float (for Boolean) data = {k: float(v) for (k, v) in iteritems(dict(z...
python
def report(self): """ Create the report for the user-supplied targets """ # Add all the genes to the header header = 'Sample,' data = str() with open(os.path.join(self.reportpath, '{at}.csv'.format(at=self.analysistype)), 'w') as report: write_header =...
python
async def send(self, sender, **kwargs): ''' send a signal from the sender to all connected receivers ''' if not self.receivers: return [] responses = [] futures = [] for receiver in self._get_receivers(sender): method = receiver() if callable(m...
java
static HttpStreamWrapper openReadWrite(HttpPath path) throws IOException { HttpStream stream = createStream(path); stream._isPost = true; return new HttpStreamWrapper(stream); }
java
public BufferedImage getImage(int imageHeight, int widthScale) { BufferedImage out = new BufferedImage(traceLength * widthScale, imageHeight, BufferedImage.TYPE_BYTE_INDEXED); Graphics2D g = out.createGraphics(); Color acolor = Color.green.darker(); Color ccolor = Color.blue; Color gcolor = Color.black; Col...
java
public DateTimeFormatterBuilder appendTimeZoneOffset( String zeroOffsetText, boolean showSeparators, int minFields, int maxFields) { return append0(new TimeZoneOffset (zeroOffsetText, zeroOffsetText, showSeparators, minFields, maxFields)); }
python
def enter(self, container_alias): ''' a method to open up a terminal inside a running container :param container_alias: string with name or id of container :return: None ''' title = '%s.enter' % self.__class__.__name__ # validate inputs ...
java
static int guessNumWords(Beliefs b) { int n = -1; for (int v=0; v<b.varBeliefs.length; v++) { Var var = b.varBeliefs[v].getVars().get(0); if (var instanceof LinkVar) { LinkVar link = (LinkVar) var; int p = link.getParent(); int c = ...
python
def shift( self, periods: int = 1, fill_value: object = None, ) -> ABCExtensionArray: """ Shift values by desired number. Newly introduced missing values are filled with ``self.dtype.na_value``. .. versionadded:: 0.24.0 Parameter...
python
def setColor(self, key, value): """ Sets the color value for the inputed color. :param key | <unicode> value | <QtGui.QColor> """ key = nativestring(key).capitalize() self._colorSet.setColor(key, value) # ...
python
def allconcat(self, x, mesh_axis, concat_axis): """Grouped allconcat (like MPI allgather followed by concat). Args: x: a LaidOutTensor mesh_axis: an integer - the mesh axis along which to group concat_axis: an integer (the Tensor axis along which to concatenate) Returns: a LaidOutTe...
python
def update_position(self, new_position=None): """Update the cursor position and much more. Parameters ---------- new_position : int or float new position in s, for plotting etc. Notes ----- This is a central function. It updates the cursor, then upda...
python
def add_error_handlers(app): """Add custom error handlers for PyMacaronCoreExceptions to the app""" def handle_validation_error(error): response = jsonify({'message': str(error)}) response.status_code = error.status_code return response app.errorhandler(ValidationError)(handle_vali...
python
def get_asset_spatial_session_for_repository(self, repository_id, proxy): """Gets the session for retrieving spatial coverage of an asset for the given repository. arg: repository_id (osid.id.Id): the Id of the repository arg proxy (osid.proxy.Proxy): a proxy return: (osi...
java
public void flushAllAvailableRows(final XMLUtil util, final Appendable appendable) throws IOException { this.appendPreamble(util, appendable); this.appendRows(util, appendable, 0); }
java
protected void extendsTBSCertificate(BcX509TBSCertificateBuilder builder, CertifiedPublicKey issuer, PrincipalIndentifier subjectName, PublicKeyParameters subject, X509CertificateParameters parameters) throws IOException { // Do nothing by default. }
python
def remove_key(key: str, persists: bool = True): """ Removes the specified key from the cauldron configs if the key exists :param key: The key in the cauldron configs object to remove :param persists: """ environ.configs.remove(key, include_persists=persists) environ.configs.save()...
python
def run(self): """ Initializes the stream. """ if not hasattr(self, 'queue'): raise RuntimeError("Audio queue is not intialized.") self.stream.start_stream() self.keep_listening = True while self.keep_listening: try: frame = self.queue.get(False, timeout=queue_timeout) self.stream.write(fra...
python
def recompile(): """ Compile requirements files for all environments. """ pinned_packages = {} env_confs = discover( os.path.join( OPTIONS['base_dir'], '*.' + OPTIONS['in_ext'], ), ) if OPTIONS['header_file']: with open(OPTIONS['header_file']) ...
java
public byte[] getData(byte[] dst, int offset) { final int items = Math.min(data.length, dst.length - offset) / stringLength; final int end = items * stringLength; if (end == 0) logger.error("destination range has to be multiple of 14 bytes " + "for KNX strings"); for (int i = 0; i < end; ++i) ...
java
public void clearMetaData(Object key) { if (key == this.key) { key = null; wmmd = null; if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "MetaData was removed."); } } else { } }
java
public List<MessageOrOmemoMessage> decryptMamQueryResult(MamManager.MamQuery mamQuery) throws SmackException.NotLoggedInException { return new ArrayList<>(getOmemoService().decryptMamQueryResult(new LoggedInOmemoManager(this), mamQuery)); }
java
protected IHttpRequest createHttpRequest(String theUrl, EncodingEnum theEncoding, RequestTypeEnum theRequestType) { IHttpClient httpClient = getRestfulClientFactory().getHttpClient(new StringBuilder(theUrl), null, null, theRequestType, myHeaders); return httpClient.createGetRequest(getContext(), theEncoding); }
java
private boolean isAtLeastOneExcludePresent(Plugin plugin) throws MojoExecutionException { Xpp3Dom configuration = (Xpp3Dom) plugin.getConfiguration(); if (configuration == null) return false; Xpp3Dom excludesDom = configuration.getChild(EXCLUDES_PARAM_NAME); if (excludesDom == null) retu...
java
@Override public SimplePath[] interconnect(KamNode[] nodes) { if (noItems(nodes)) { throw new InvalidArgument("nodes", nodes); } if (nulls((Object[]) nodes)) { throw new InvalidArgument("Nodes contains null elements"); } Kam[] kams = kams(nodes); ...
java
public static <T> T[] toArray(List<T> list) { return toArray(getClass(list.get(0)), list); }
python
def tweak(environment, opts): """Commands operating on environment data Usage: datacats tweak --install-postgis [ENVIRONMENT] datacats tweak --add-redis [ENVIRONMENT] datacats tweak --admin-password [ENVIRONMENT] Options: --install-postgis Install postgis in ckan database --add-redis Adds re...
python
def get_units_from_category(self, category) -> typing.Iterator['BaseUnit']: """ Args: category: unit category Returns: generator over all units of a specific category in this coalition """ Mission.validator_group_category.validate(category, 'group category') ...
python
def erase_lines(n=1): """ Erases n lines from the screen and moves the cursor up to follow """ for _ in range(n): print(codes.cursor["up"], end="") print(codes.cursor["eol"], end="")
java
public Observable<StreamingPolicyInner> getAsync(String resourceGroupName, String accountName, String streamingPolicyName) { return getWithServiceResponseAsync(resourceGroupName, accountName, streamingPolicyName).map(new Func1<ServiceResponse<StreamingPolicyInner>, StreamingPolicyInner>() { @Overrid...
python
def database_backup(self, data_directory, *args, **kwargs): """Uploads a PostgreSQL file cluster to S3 or Windows Azure Blob Service Mechanism: just wraps _upload_pg_cluster_dir with start/stop backup actions with exception handling. In particular there is a 'finally' block to ...
java
@Override public void release(MemorySegment segment) { // check if segment is null or has already been freed if (segment == null || segment.isFreed() || !(segment instanceof DefaultMemorySegment)) { return; } final DefaultMemorySegment defSeg = (DefaultMemorySegment) segment; final AbstractInvokable ow...
python
def update_report_collector(self, timestamp): """Updating report collector for pipeline details.""" report_enabled = 'report' in self.information and self.information['report'] == 'html' report_enabled = report_enabled and 'stage' in self.information report_enabled = report_enabled and E...
java
public java.io.Closeable connect(OutputStream stdin, InputStream stdout, InputStream stderr) { setProcessInputStream(stdin); setProcessErrorStream(stderr); setProcessOutputStream(stdout); outputThread.start(); errorThread.start(); if (inputThread != null) { in...
java
public static String readFully(BufferedReader reader) throws IOException { if (reader == null) { return null; } StringBuilder sb = new StringBuilder(BUFFER_SIZE); char[] buf = new char[BUFFER_SIZE]; try { int len; // read until we reach then e...
java
public static Pattern readPattern(final DataInput pStream) throws IOException { // Get the data (8 bytes) byte[] data = new byte[8]; pStream.readFully(data); return new BitMapPattern(data); }
python
def validate(source): """Validate a Wagon archive. Return True if succeeds, False otherwise. It also prints a list of all validation errors. This will test that some of the metadata is solid, that the required wheels are present within the archives and that the package is installable. Note tha...
java
private Pattern findingSteps() { String initialStartingWords = concatenateInitialStartingWords(); String followingStartingWords = concatenateFollowingStartingWords(); return compile( "((" + initialStartingWords + ")\\s(.)*?)\\s*(\\Z|" + followingStartingWords + "|\\n" ...
java
public RemoteTask getRemoteTask(Task localTaskOwner, String strUserID, boolean bCreateIfNotFound) { return this.getRemoteTask(localTaskOwner, strUserID, null, bCreateIfNotFound); }
python
async def _worker_process(self) -> None: """This function processing data.""" state = self.STATE_DETECT timeout = self._time_duration self._loop.call_soon(self._callback, False) re_start = re.compile("silence_start") re_end = re.compile("silence_end") # process...
python
def is_unknown(input, model_file=None, model_proto=None, name=None): """Returns true if input id is unknown piece. Args: input: An arbitrary tensor of int32. model_file: The sentencepiece model file path. model_proto: The sentencepiece model serialized proto. Either `model_file` or `mo...
java
public CreateIssueParams milestoneIds(List milestoneIds) { for (Object milestoneId : milestoneIds) { parameters.add(new NameValuePair("milestoneId[]", milestoneId.toString())); } return this; }
java
private void addMediaTypes(final MethodResult methodResult, final ClassResult classResult, final ResourceMethod resourceMethod) { // accept media types -> inherit resourceMethod.getRequestMediaTypes().addAll(methodResult.getRequestMediaTypes()); if (resourceMethod.getRequestMediaTypes().isEmpty(...
java
protected static String escapeXmlSpecialCharacters(String aText) { String result = aText; result = result.replaceAll("&", "&amp;"); result = result.replaceAll("\'", "\\\\&#039;"); result = result.replaceAll("'", "\\\\&#039;"); return result; }
python
def check_channel_subsystem_request(self, channel, name): """ Determine if a requested subsystem will be provided to the client on the given channel. If this method returns ``True``, all future I/O through this channel will be assumed to be connected to the requested subsystem. ...
java
public void cache(Identity oid, Object obj) { if (oid != null && obj != null) { ObjectCache cache = getCache(oid, obj, METHOD_CACHE); if (cache != null) { cache.cache(oid, obj); } } }
java
@CheckReturnValue protected Builder build(Object object) { if (object instanceof Concept) { return concept((Concept) object); } else if (object instanceof Boolean) { return bool((boolean) object); } else if (object instanceof Collection) { ...
java
public static void rollbackCache(){ List<String> keys = TransactionWriteCacheKeys.get(); if(keys == null)return; for (String key : keys) { getCacheProvider().remove(key); } }
python
def is_time_included(self, time): """Check if time is included in analysis period. Return True if time is inside this analysis period, otherwise return False Args: time: A DateTime to be tested Returns: A boolean. True if time is included in analysis pe...
python
def find( self, _limit=None, _offset=0, _step=5000, order_by="id", return_count=False, **_filter ): """ Performs a simple search on the table. Simply pass keyword arguments as ``filter``. :: results = table.find(country='Fra...
java
public static HalLinkRelation of(LinkRelation relation) { Assert.notNull(relation, "LinkRelation must not be null!"); if (HalLinkRelation.class.isInstance(relation)) { return (HalLinkRelation) relation; } return of(relation.value()); }
python
def zpk(self, zeros, poles, gain, analog=True, **kwargs): """Filter this `TimeSeries` by applying a zero-pole-gain filter Parameters ---------- zeros : `array-like` list of zero frequencies (in Hertz) poles : `array-like` list of pole frequencies (in Her...
python
def get_cmap(self, arr=None, cmap=None, N=None): """Get the :class:`matplotlib.colors.Colormap` for plotting Parameters ---------- arr: np.ndarray The array to plot cmap: str or matplotlib.colors.Colormap The colormap to use. If None, the :attr:`value` of...
java
public void setSplitTransition(Transition transition) { if (split == null) { if (transition != null) { setSplitHref("#"); } else { return; } } if (split != null) JQMCommon.setTransition(split, transition); }
python
def fast_combine_pairs(files, force_single, full_name, separators): """ assume files that need to be paired are within 10 entries of each other, once the list is sorted """ files = sort_filenames(files) chunks = tz.sliding_window(10, files) pairs = [combine_pairs(chunk, force_single, full_name, ...
java
public void actionShow() throws Exception { // try to load the historical resource if (CmsStringUtil.isNotEmpty(getParamVersion())) { showHistoricVersion(); } else { String resourceStr = getParamResource(); // trying to read the resource CmsResour...
java
private boolean checkFilteredXSSF() { XSSFWorkbook currentXSSFWorkbook = (XSSFWorkbook) this.currentWorkbook; POIXMLProperties props = currentXSSFWorkbook.getProperties(); SimpleDateFormat format = new SimpleDateFormat(MSExcelParser.DATE_FORMAT); // check for each defined property // check if we need to...
python
def upload(clk_json, project, apikey, server, output, verbose): """Upload CLK data to entity matching server. Given a json file containing hashed clk data as CLK_JSON, upload to the entity resolution service. Use "-" to read from stdin. """ if verbose: log("Uploading CLK data from {}"....
java
public CharSequence matchOnLength(final Supplier<CharSequence> one, final Supplier<CharSequence> many) { final int arrayLength = arrayLength(); if (arrayLength == 1) { return one.get(); } else if (arrayLength > 1) { return many.get(); ...
python
def format_out_of_country_calling_number(numobj, region_calling_from): """Formats a phone number for out-of-country dialing purposes. If no region_calling_from is supplied, we format the number in its INTERNATIONAL format. If the country calling code is the same as that of the region where the number i...
java
public ServiceFuture<P2SVpnGatewayInner> createOrUpdateAsync(String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, final ServiceCallback<P2SVpnGatewayInner> serviceCallback) { return ServiceFuture.fromResponse(createOrUpdateWithServiceResponseAsync(resourceGroupName, gatewayN...