id
int32
0
10.3k
java
stringlengths
29
1.4k
cs
stringlengths
28
1.38k
7,300
public SendMessageResult sendMessage(String queueUrl, String messageBody) {return sendMessage(new SendMessageRequest().withQueueUrl(queueUrl).withMessageBody(messageBody));}
public virtual SendMessageResponse SendMessage(string queueUrl, string messageBody){var request = new SendMessageRequest();request.QueueUrl = queueUrl;request.MessageBody = messageBody;return SendMessage(request);}
7,301
public static double getExcelDate(Date date) {return getExcelDate(date, false);}
public static double GetExcelDate(DateTime date){return GetExcelDate(date, false);}
7,302
public String toString() {return markedUpText.subSequence(textStartPos, textEndPos).toString();}
public override string ToString(){return markedUpText.ToString(TextStartPos, TextEndPos - TextStartPos);}
7,303
public ModifyInstancePlacementResult modifyInstancePlacement(ModifyInstancePlacementRequest request) {request = beforeClientExecution(request);return executeModifyInstancePlacement(request);}
public virtual ModifyInstancePlacementResponse ModifyInstancePlacement(ModifyInstancePlacementRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyInstancePlacementRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyInstancePlacementResponseUnmarshaller.Instance;return Invoke<ModifyInstancePlacementResponse>(request, options);}
7,304
public static String replaceOccupiedParameters(String url, Map<String, String> paths) {String result = url;for (Map.Entry<String, String> entry : paths.entrySet()) {String key = entry.getKey();String value = entry.getValue();String target = "[" + key + "]";result = result.replace(target, value);}return result;}
public static string ReplaceOccupiedParameters(string url, Dictionary<string, string> paths){var result = url;foreach (var entry in paths){var key = entry.Key;var value = entry.Value;var target = "[" + key + "]";result = result.Replace(target, value);}return result;}
7,305
public String toString() {return "<matchAllDocs field='*' term='*'/>";}
public override string ToString(){return "<matchAllDocs field='*' term='*'/>";}
7,306
public DeleteMetricFilterRequest(String logGroupName, String filterName) {setLogGroupName(logGroupName);setFilterName(filterName);}
public DeleteMetricFilterRequest(string logGroupName, string filterName){_logGroupName = logGroupName;_filterName = filterName;}
7,307
public char readChar() throws IOException {return primitiveTypes.readChar();}
public virtual char readChar(){throw new System.NotImplementedException();}
7,308
public DescribeInstanceStatusResult describeInstanceStatus(DescribeInstanceStatusRequest request) {request = beforeClientExecution(request);return executeDescribeInstanceStatus(request);}
public virtual DescribeInstanceStatusResponse DescribeInstanceStatus(DescribeInstanceStatusRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeInstanceStatusRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeInstanceStatusResponseUnmarshaller.Instance;return Invoke<DescribeInstanceStatusResponse>(request, options);}
7,309
public BatchDeleteAttributesResult batchDeleteAttributes(BatchDeleteAttributesRequest request) {request = beforeClientExecution(request);return executeBatchDeleteAttributes(request);}
public virtual BatchDeleteAttributesResponse BatchDeleteAttributes(BatchDeleteAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchDeleteAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchDeleteAttributesResponseUnmarshaller.Instance;return Invoke<BatchDeleteAttributesResponse>(request, options);}
7,310
public String toString() {return "<fieldconfig name=\"" + this.fieldName + "\" configurations=\""+ super.toString() + "\"/>";}
public override string ToString(){return "<fieldconfig name=\"" + this.fieldName + "\" configurations=\""+ base.ToString() + "\"/>";}
7,311
public ListDeploymentGroupsResult listDeploymentGroups(ListDeploymentGroupsRequest request) {request = beforeClientExecution(request);return executeListDeploymentGroups(request);}
public virtual ListDeploymentGroupsResponse ListDeploymentGroups(ListDeploymentGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDeploymentGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDeploymentGroupsResponseUnmarshaller.Instance;return Invoke<ListDeploymentGroupsResponse>(request, options);}
7,312
public CellGeneralFormatter() {this(LocaleUtil.getUserLocale());}
public CellGeneralFormatter(): base("General"){;}
7,313
public BloomFilteredTerms(Terms terms, FuzzySet filter) {this.delegateTerms = terms;this.filter = filter;}
public BloomFilteredTerms(Terms terms, FuzzySet filter){_delegateTerms = terms;_filter = filter;}
7,314
public int numBits(int idx) {return bytes[idx].bits;}
public virtual int NumBits(int idx){return bytes[idx].Bits;}
7,315
public boolean equals(Object obj) {if (obj == this) {return true;}else if (!(obj instanceof LexerChannelAction)) {return false;}return channel == ((LexerChannelAction)obj).channel;}
public override bool Equals(object obj){if (obj == this){return true;}else{if (!(obj is Antlr4.Runtime.Atn.LexerChannelAction)){return false;}}return channel == ((Antlr4.Runtime.Atn.LexerChannelAction)obj).channel;}
7,316
public void write(LittleEndianOutput out) {out.writeByte(sid + getPtgClass());out.writeShort(getValue());}
public override void Write(ILittleEndianOutput out1){out1.WriteByte(sid + PtgClass);out1.WriteShort(Value);}
7,317
public ExecuteChangeSetResult executeChangeSet(ExecuteChangeSetRequest request) {request = beforeClientExecution(request);return executeExecuteChangeSet(request);}
public virtual ExecuteChangeSetResponse ExecuteChangeSet(ExecuteChangeSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = ExecuteChangeSetRequestMarshaller.Instance;options.ResponseUnmarshaller = ExecuteChangeSetResponseUnmarshaller.Instance;return Invoke<ExecuteChangeSetResponse>(request, options);}
7,318
public StartInstanceResult startInstance(StartInstanceRequest request) {request = beforeClientExecution(request);return executeStartInstance(request);}
public virtual StartInstanceResponse StartInstance(StartInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = StartInstanceResponseUnmarshaller.Instance;return Invoke<StartInstanceResponse>(request, options);}
7,319
public CapitalizationFilterFactory(Map<String, String> args) {super(args);boolean ignoreCase = getBoolean(args, KEEP_IGNORE_CASE, false);Set<String> k = getSet(args, KEEP);if (k != null) {keep = new CharArraySet(10, ignoreCase);keep.addAll(k);}k = getSet(args, OK_PREFIX);if (k != null) {okPrefix = new ArrayList<>();for (String item : k) {okPrefix.add(item.toCharArray());}}minWordLength = getInt(args, MIN_WORD_LENGTH, 0);maxWordCount = getInt(args, MAX_WORD_COUNT, CapitalizationFilter.DEFAULT_MAX_WORD_COUNT);maxTokenLength = getInt(args, MAX_TOKEN_LENGTH, CapitalizationFilter.DEFAULT_MAX_TOKEN_LENGTH);onlyFirstWord = getBoolean(args, ONLY_FIRST_WORD, true);forceFirstLetter = getBoolean(args, FORCE_FIRST_LETTER, true);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public CapitalizationFilterFactory(IDictionary<string, string> args): base(args){AssureMatchVersion();bool ignoreCase = GetBoolean(args, KEEP_IGNORE_CASE, false);ICollection<string> k = GetSet(args, KEEP);if (k != null){keep = new CharArraySet(m_luceneMatchVersion, 10, ignoreCase);keep.UnionWith(k);}k = GetSet(args, OK_PREFIX);if (k != null){okPrefix = new List<char[]>();foreach (string item in k){okPrefix.Add(item.ToCharArray());}}minWordLength = GetInt32(args, MIN_WORD_LENGTH, 0);maxWordCount = GetInt32(args, MAX_WORD_COUNT, CapitalizationFilter.DEFAULT_MAX_WORD_COUNT);maxTokenLength = GetInt32(args, MAX_TOKEN_LENGTH, CapitalizationFilter.DEFAULT_MAX_TOKEN_LENGTH);onlyFirstWord = GetBoolean(args, ONLY_FIRST_WORD, true);forceFirstLetter = GetBoolean(args, FORCE_FIRST_LETTER, true);culture = GetCulture(args, CULTURE, null);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
7,320
public static long[] copyOf(long[] original, int newLength) {if (newLength < 0) {throw new NegativeArraySizeException();}return copyOfRange(original, 0, newLength);}
public static long[] copyOf(long[] original, int newLength){if (newLength < 0){throw new java.lang.NegativeArraySizeException();}return copyOfRange(original, 0, newLength);}
7,321
public String toString() {return ref.toString();}
public override string ToString(){return [email protected]();}
7,322
public ListNetworksResult listNetworks(ListNetworksRequest request) {request = beforeClientExecution(request);return executeListNetworks(request);}
public virtual ListNetworksResponse ListNetworks(ListNetworksRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListNetworksRequestMarshaller.Instance;options.ResponseUnmarshaller = ListNetworksResponseUnmarshaller.Instance;return Invoke<ListNetworksResponse>(request, options);}
7,323
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0) {ValueEval arg = arg0;if (arg instanceof RefEval) {RefEval re = (RefEval)arg;arg = re.getInnerValueEval(re.getFirstSheetIndex());} else if (arg instanceof AreaEval) {arg = ((AreaEval) arg).getRelativeValue(0, 0);}if (arg instanceof StringEval) {return arg;}if (arg instanceof ErrorEval) {return arg;}return StringEval.EMPTY_INSTANCE;}
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0){ValueEval arg = arg0;if (arg is RefEval){RefEval re = (RefEval)arg;arg = re.GetInnerValueEval(re.FirstSheetIndex);}else if (arg is AreaEval){arg = ((AreaEval)arg).GetRelativeValue(0, 0);}if (arg is StringEval){return arg;}if (arg is ErrorEval){return arg;}return StringEval.EMPTY_INSTANCE;}
7,324
public StopNotebookInstanceResult stopNotebookInstance(StopNotebookInstanceRequest request) {request = beforeClientExecution(request);return executeStopNotebookInstance(request);}
public virtual StopNotebookInstanceResponse StopNotebookInstance(StopNotebookInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopNotebookInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = StopNotebookInstanceResponseUnmarshaller.Instance;return Invoke<StopNotebookInstanceResponse>(request, options);}
7,325
public void applyFont(int startIndex, int endIndex, short fontIndex) {if (startIndex > endIndex)throw new IllegalArgumentException("Start index must be less than end index.");if (startIndex < 0 || endIndex > length())throw new IllegalArgumentException("Start and end index not in range.");if (startIndex == endIndex)return;short currentFont = NO_FONT;if (endIndex != length()) {currentFont = this.getFontAtIndex(endIndex);}_string = cloneStringIfRequired();Iterator<FormatRun> formatting = _string.formatIterator();if (formatting != null) {while (formatting.hasNext()) {FormatRun r = formatting.next();if ((r.getCharacterPos() >= startIndex) && (r.getCharacterPos() < endIndex))formatting.remove();}}_string.addFormatRun(new FormatRun((short)startIndex, fontIndex));if (endIndex != length())_string.addFormatRun(new FormatRun((short)endIndex, currentFont));addToSSTIfRequired();}
public void ApplyFont(int startIndex, int endIndex, short fontIndex){if (startIndex > endIndex)throw new ArgumentException("Start index must be less than end index.");if (startIndex < 0 || endIndex > Length)throw new ArgumentException("Start and end index not in range.");if (startIndex == endIndex)return;short currentFont = NO_FONT;if (endIndex != Length){currentFont = this.GetFontAtIndex(endIndex);}_string = CloneStringIfRequired();System.Collections.Generic.List<UnicodeString.FormatRun> formatting = _string.FormatIterator();ArrayList deletedFR = new ArrayList();if (formatting != null){IEnumerator<UnicodeString.FormatRun> formats = formatting.GetEnumerator();while (formats.MoveNext()){UnicodeString.FormatRun r = formats.Current;if ((r.CharacterPos >= startIndex) && (r.CharacterPos < endIndex)){deletedFR.Add(r);}}}foreach (UnicodeString.FormatRun fr in deletedFR){_string.RemoveFormatRun(fr);}_string.AddFormatRun(new UnicodeString.FormatRun((short)startIndex, fontIndex));if (endIndex != Length)_string.AddFormatRun(new UnicodeString.FormatRun((short)endIndex, currentFont));AddToSSTIfRequired();}
7,326
public int readInt() throws IOException {return primitiveTypes.readInt();}
public virtual int readInt(){throw new System.NotImplementedException();}
7,327
public Iterable<RevCommit> call() throws GitAPIException, NoHeadException {checkCallable();List<TreeFilter> filters = new ArrayList<>();if (!pathFilters.isEmpty()) {filters.add(AndTreeFilter.create(PathFilterGroup.create(pathFilters), TreeFilter.ANY_DIFF));}if (!excludeTreeFilters.isEmpty()) {for (TreeFilter f : excludeTreeFilters) {filters.add(AndTreeFilter.create(f, TreeFilter.ANY_DIFF));}}if (!filters.isEmpty()) {if (filters.size() == 1) {filters.add(TreeFilter.ANY_DIFF);}walk.setTreeFilter(AndTreeFilter.create(filters));}if (skip > -1 && maxCount > -1)walk.setRevFilter(AndRevFilter.create(SkipRevFilter.create(skip),MaxCountRevFilter.create(maxCount)));else if (skip > -1)walk.setRevFilter(SkipRevFilter.create(skip));else if (maxCount > -1)walk.setRevFilter(MaxCountRevFilter.create(maxCount));if (!startSpecified) {try {ObjectId headId = repo.resolve(Constants.HEAD);if (headId == null)throw new NoHeadException(JGitText.get().noHEADExistsAndNoExplicitStartingRevisionWasSpecified);add(headId);} catch (IOException e) {throw new JGitInternalException(JGitText.get().anExceptionOccurredWhileTryingToAddTheIdOfHEAD,e);}}if (this.revFilter != null) {walk.setRevFilter(this.revFilter);}setCallable(false);return walk;}
public override Iterable<RevCommit> Call(){CheckCallable();if (pathFilters.Count > 0){walk.SetTreeFilter(AndTreeFilter.Create(PathFilterGroup.Create(pathFilters), TreeFilter.ANY_DIFF));}if (skip > -1 && maxCount > -1){walk.SetRevFilter(AndRevFilter.Create(SkipRevFilter.Create(skip), MaxCountRevFilter.Create(maxCount)));}else{if (skip > -1){walk.SetRevFilter(SkipRevFilter.Create(skip));}else{if (maxCount > -1){walk.SetRevFilter(MaxCountRevFilter.Create(maxCount));}}}if (!startSpecified){try{ObjectId headId = repo.Resolve(Constants.HEAD);if (headId == null){throw new NoHeadException(JGitText.Get().noHEADExistsAndNoExplicitStartingRevisionWasSpecified);}Add(headId);}catch (IOException e){throw new JGitInternalException(JGitText.Get().anExceptionOccurredWhileTryingToAddTheIdOfHEAD, e);}}SetCallable(false);return walk;}
7,328
public HyphenationCompoundWordTokenFilterFactory(Map<String, String> args) {super(args);dictFile = get(args, "dictionary");encoding = get(args, "encoding");hypFile = require(args, "hyphenator");minWordSize = getInt(args, "minWordSize", CompoundWordTokenFilterBase.DEFAULT_MIN_WORD_SIZE);minSubwordSize = getInt(args, "minSubwordSize", CompoundWordTokenFilterBase.DEFAULT_MIN_SUBWORD_SIZE);maxSubwordSize = getInt(args, "maxSubwordSize", CompoundWordTokenFilterBase.DEFAULT_MAX_SUBWORD_SIZE);onlyLongestMatch = getBoolean(args, "onlyLongestMatch", false);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public HyphenationCompoundWordTokenFilterFactory(IDictionary<string, string> args) : base(args){AssureMatchVersion();dictFile = Get(args, "dictionary");encoding = Get(args, "encoding");hypFile = Require(args, "hyphenator");minWordSize = GetInt32(args, "minWordSize", CompoundWordTokenFilterBase.DEFAULT_MIN_WORD_SIZE);minSubwordSize = GetInt32(args, "minSubwordSize", CompoundWordTokenFilterBase.DEFAULT_MIN_SUBWORD_SIZE);maxSubwordSize = GetInt32(args, "maxSubwordSize", CompoundWordTokenFilterBase.DEFAULT_MAX_SUBWORD_SIZE);onlyLongestMatch = GetBoolean(args, "onlyLongestMatch", false);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
7,329
public DeleteTerminologyResult deleteTerminology(DeleteTerminologyRequest request) {request = beforeClientExecution(request);return executeDeleteTerminology(request);}
public virtual DeleteTerminologyResponse DeleteTerminology(DeleteTerminologyRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTerminologyRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTerminologyResponseUnmarshaller.Instance;return Invoke<DeleteTerminologyResponse>(request, options);}
7,330
public boolean remove(Object o) {if (!(o instanceof Entry))return false;Entry<?, ?> e = (Entry<?, ?>)o;return removeMapping(e.getKey(), e.getValue());}
public override bool remove(object o){if (!(o is java.util.MapClass.Entry<K, V>)){return false;}java.util.MapClass.Entry<object, object> e = (java.util.MapClass.Entry<object, object>)o;return this._enclosing.removeMapping(e.getKey(), e.getValue());}
7,331
public GetObjectAttributesResult getObjectAttributes(GetObjectAttributesRequest request) {request = beforeClientExecution(request);return executeGetObjectAttributes(request);}
public virtual GetObjectAttributesResponse GetObjectAttributes(GetObjectAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetObjectAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetObjectAttributesResponseUnmarshaller.Instance;return Invoke<GetObjectAttributesResponse>(request, options);}
7,332
public RevWalk getRevWalk() {throw new UnsupportedOperationException(MessageFormat.format(JGitText.get().isAStaticFlagAndHasNorevWalkInstance, toString()));}
public override RevWalk GetRevWalk(){throw new NotSupportedException(MessageFormat.Format(JGitText.Get().isAStaticFlagAndHasNorevWalkInstance, ToString()));}
7,333
public DescribeKeyPairsResult describeKeyPairs(DescribeKeyPairsRequest request) {request = beforeClientExecution(request);return executeDescribeKeyPairs(request);}
public virtual DescribeKeyPairsResponse DescribeKeyPairs(DescribeKeyPairsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeKeyPairsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeKeyPairsResponseUnmarshaller.Instance;return Invoke<DescribeKeyPairsResponse>(request, options);}
7,334
public byte[] toByteArray() {return build();}
public virtual byte[] ToByteArray(){return Build();}
7,335
public void setIndexVersion(int version) {indexVersion = version;}
public virtual void SetIndexVersion(int version){indexVersion = version;}
7,336
public IgnoreNode() {rules = new ArrayList<>();}
public IgnoreNode(){rules = new AList<IgnoreRule>();}
7,337
public TreeFilter negate() {return NotTreeFilter.create(this);}
public virtual TreeFilter Negate(){return NotTreeFilter.Create(this);}
7,338
public long ramBytesUsed() {return docs.ramBytesUsed()+ RamUsageEstimator.NUM_BYTES_OBJECT_HEADER+ 2 * Integer.BYTES+ 2 + Long.BYTES+ RamUsageEstimator.NUM_BYTES_OBJECT_REF;}
public long RamBytesUsed(){return RamUsageEstimator.AlignObjectSize(3 * RamUsageEstimator.NUM_BYTES_OBJECT_REF + 2 * RamUsageEstimator.NUM_BYTES_INT32)+ RamUsageEstimator.SizeOf(data)+ positions.RamBytesUsed()+ wordNums.RamBytesUsed();}
7,339
public String toString() {return exists() ? toObject().toString() : "(null)";}
public override string ToString(){return Exists ? ToObject().ToString() : "(null)";}
7,340
public int available() throws IOException {checkReadPrimitiveTypes();return primitiveData.available();}
public override int available(){throw new System.NotImplementedException();}
7,341
public UnicodeMapping(String pEntityName, String pResolvedValue) {entityName = "&" + pEntityName + ";";resolvedValue = pResolvedValue;}
public UnicodeMapping(String pEntityName, String pResolvedValue){entityName = "&" + pEntityName + ";";resolvedValue = pResolvedValue;}
7,342
public final void removeBreak(int main) {Integer rowKey = Integer.valueOf(main);Break region = _breakMap.get(rowKey);_breaks.remove(region);_breakMap.remove(rowKey);}
public void RemoveBreak(int main){int rowKey = main;Break region = (Break)_breakMap[rowKey];_breaks.Remove(region);_breakMap.Remove(rowKey);}
7,343
public void sort(int from, int to) {checkRange(from, to);if (to - from <= 1) {return;}reset(from, to);do {ensureInvariants();pushRunLen(nextRun());} while (runEnd(0) < to);exhaustStack();assert runEnd(0) == to;}
public override void Sort(int from, int to){CheckRange(from, to);if (to - from <= 1){return;}Reset(from, to);do{EnsureInvariants();PushRunLen(NextRun());} while (RunEnd(0) < to);ExhaustStack();Debug.Assert(RunEnd(0) == to);}
7,344
public File getDirectory() {return directory;}
public virtual FilePath GetDirectory(){return directory;}
7,345
public PositionTrackingVisitor(RecordVisitor rv, int initialPosition) {_rv = rv;_position = initialPosition;}
public PositionTrackingVisitor(RecordVisitor rv, int initialPosition){_rv = rv;_position = initialPosition;}
7,346
public T top() {return top;}
public T Top(){return top;}
7,347
public String toString() {StringBuilder sb = new StringBuilder();sb.append(getClass().getName());sb.append(" [");if (externalWorkbookNumber >= 0) {sb.append(" [");sb.append("workbook=").append(getExternalWorkbookNumber());sb.append("] ");}sb.append("sheet=").append(getSheetName());if (lastSheetName != null) {sb.append(" : ");sb.append("sheet=").append(lastSheetName);}sb.append(" ! ");sb.append(formatReferenceAsString());sb.append("]");return sb.toString();}
public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append(this.GetType().Name);sb.Append(" [");if (externalWorkbookNumber >= 0){sb.Append(" [");sb.Append("workbook=").Append(ExternalWorkbookNumber);sb.Append("] ");}sb.Append("sheet=").Append(SheetName);if (lastSheetName != null){sb.Append(" : ");sb.Append("sheet=").Append(lastSheetName);}sb.Append(" ! ");sb.Append(FormatReferenceAsString());sb.Append("]");return sb.ToString();}
7,348
public SubmoduleSyncCommand addPath(String path) {paths.add(path);return this;}
public virtual NGit.Api.SubmoduleSyncCommand AddPath(string path){paths.AddItem(path);return this;}
7,349
@Override public int size() {return map.size();}
public override int size(){return this._enclosing._size;}
7,350
public DeleteNamespaceRequest() {super("cr", "2016-06-07", "DeleteNamespace", "cr");setUriPattern("/namespace/[Namespace]");setMethod(MethodType.DELETE);}
public DeleteNamespaceRequest(): base("cr", "2016-06-07", "DeleteNamespace", "cr", "openAPI"){UriPattern = "/namespace/[Namespace]";Method = MethodType.DELETE;}
7,351
public GeoRestriction(GeoRestrictionType restrictionType) {setRestrictionType(restrictionType.toString());}
public GeoRestriction(GeoRestrictionType restrictionType){_restrictionType = restrictionType;}
7,352
public RecognizeEntityRequest() {super("visionai-poc", "2020-04-08", "RecognizeEntity");setMethod(MethodType.POST);}
public RecognizeEntityRequest(): base("visionai-poc", "2020-04-08", "RecognizeEntity"){Method = MethodType.POST;}
7,353
public final int compareTo(byte[] bs, int p) {int cmp;cmp = NB.compareUInt32(w1, NB.decodeInt32(bs, p));if (cmp != 0)return cmp;cmp = NB.compareUInt32(w2, NB.decodeInt32(bs, p + 4));if (cmp != 0)return cmp;cmp = NB.compareUInt32(w3, NB.decodeInt32(bs, p + 8));if (cmp != 0)return cmp;cmp = NB.compareUInt32(w4, NB.decodeInt32(bs, p + 12));if (cmp != 0)return cmp;return NB.compareUInt32(w5, NB.decodeInt32(bs, p + 16));}
public int CompareTo(byte[] bs, int p){int cmp;cmp = NB.CompareUInt32(w1, NB.DecodeInt32(bs, p));if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w2, NB.DecodeInt32(bs, p + 4));if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w3, NB.DecodeInt32(bs, p + 8));if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w4, NB.DecodeInt32(bs, p + 12));if (cmp != 0){return cmp;}return NB.CompareUInt32(w5, NB.DecodeInt32(bs, p + 16));}
7,354
public SendMessageRequest() {super("OnsMqtt", "2019-12-11", "SendMessage", "onsmqtt");setMethod(MethodType.POST);}
public SendMessageRequest(): base("OnsMqtt", "2019-12-11", "SendMessage", "onsmqtt", "openAPI"){Method = MethodType.POST;}
7,355
public SelectRequest(String selectExpression) {setSelectExpression(selectExpression);}
public SelectRequest(string selectExpression){_selectExpression = selectExpression;}
7,356
public TopMarginRecord clone() {return copy();}
public override Object Clone(){TopMarginRecord rec = new TopMarginRecord();rec.field_1_margin = this.field_1_margin;return rec;}
7,357
public GetStaticIpsResult getStaticIps(GetStaticIpsRequest request) {request = beforeClientExecution(request);return executeGetStaticIps(request);}
public virtual GetStaticIpsResponse GetStaticIps(GetStaticIpsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetStaticIpsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetStaticIpsResponseUnmarshaller.Instance;return Invoke<GetStaticIpsResponse>(request, options);}
7,358
public String toString() {final StringBuilder b = new StringBuilder();final int sectionCount = getSectionCount();b.append(getClass().getName());b.append('[');b.append("byteOrder: ");b.append(getByteOrder());b.append(", classID: ");b.append(getClassID());b.append(", format: ");b.append(getFormat());b.append(", OSVersion: ");b.append(getOSVersion());b.append(", sectionCount: ");b.append(sectionCount);b.append(", sections: [\n");for (Section section: getSections()) {b.append(section.toString(getPropertySetIDMap()));}b.append(']');b.append(']');return b.toString();}
public override String ToString(){StringBuilder b = new StringBuilder();int sectionCount = SectionCount;b.Append(GetType().Name);b.Append('[');b.Append("byteOrder: ");b.Append(ByteOrder);b.Append(", classID: ");b.Append(ClassID);b.Append(", format: ");b.Append(Format);b.Append(", OSVersion: ");b.Append(OSVersion);b.Append(", sectionCount: ");b.Append(sectionCount);b.Append(", sections: [\n");foreach (Section section in Sections){b.Append(section.ToString());}b.Append(']');b.Append(']');return b.ToString();}
7,359
public int stem(char s[], int len) {if (len < 4) return len;final int origLen = len;len = rule0(s, len);len = rule1(s, len);len = rule2(s, len);len = rule3(s, len);len = rule4(s, len);len = rule5(s, len);len = rule6(s, len);len = rule7(s, len);len = rule8(s, len);len = rule9(s, len);len = rule10(s, len);len = rule11(s, len);len = rule12(s, len);len = rule13(s, len);len = rule14(s, len);len = rule15(s, len);len = rule16(s, len);len = rule17(s, len);len = rule18(s, len);len = rule19(s, len);len = rule20(s, len);if (len == origLen)len = rule21(s, len);return rule22(s, len);}
public virtual int Stem(char[] s, int len){if (len < 4) {return len;}int origLen = len;len = Rule0(s, len);len = Rule1(s, len);len = Rule2(s, len);len = Rule3(s, len);len = Rule4(s, len);len = Rule5(s, len);len = Rule6(s, len);len = Rule7(s, len);len = Rule8(s, len);len = Rule9(s, len);len = Rule10(s, len);len = Rule11(s, len);len = Rule12(s, len);len = Rule13(s, len);len = Rule14(s, len);len = Rule15(s, len);len = Rule16(s, len);len = Rule17(s, len);len = Rule18(s, len);len = Rule19(s, len);len = Rule20(s, len);if (len == origLen){len = Rule21(s, len);}return Rule22(s, len);}
7,360
public CreateStreamingURLResult createStreamingURL(CreateStreamingURLRequest request) {request = beforeClientExecution(request);return executeCreateStreamingURL(request);}
public virtual CreateStreamingURLResponse CreateStreamingURL(CreateStreamingURLRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateStreamingURLRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateStreamingURLResponseUnmarshaller.Instance;return Invoke<CreateStreamingURLResponse>(request, options);}
7,361
public IBSimilarity(Distribution distribution,Lambda lambda,Normalization normalization) {this.distribution = distribution;this.lambda = lambda;this.normalization = normalization;}
public IBSimilarity(Distribution distribution, Lambda lambda, Normalization normalization){this.m_distribution = distribution;this.m_lambda = lambda;this.m_normalization = normalization;}
7,362
public GetBatchPredictionResult getBatchPrediction(GetBatchPredictionRequest request) {request = beforeClientExecution(request);return executeGetBatchPrediction(request);}
public virtual GetBatchPredictionResponse GetBatchPrediction(GetBatchPredictionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetBatchPredictionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetBatchPredictionResponseUnmarshaller.Instance;return Invoke<GetBatchPredictionResponse>(request, options);}
7,363
public StartInstancesResult startInstances(StartInstancesRequest request) {request = beforeClientExecution(request);return executeStartInstances(request);}
public virtual StartInstancesResponse StartInstances(StartInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = StartInstancesResponseUnmarshaller.Instance;return Invoke<StartInstancesResponse>(request, options);}
7,364
public DescribeLoadBalancerAttributesResult describeLoadBalancerAttributes(DescribeLoadBalancerAttributesRequest request) {request = beforeClientExecution(request);return executeDescribeLoadBalancerAttributes(request);}
public virtual DescribeLoadBalancerAttributesResponse DescribeLoadBalancerAttributes(DescribeLoadBalancerAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLoadBalancerAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLoadBalancerAttributesResponseUnmarshaller.Instance;return Invoke<DescribeLoadBalancerAttributesResponse>(request, options);}
7,365
public Filter(int type, long size, InputStream in) {this.type = type;this.size = size;this.in = in;}
public Filter(int type, long size, InputStream @in){this.type = type;this.size = size;this.@in = @in;}
7,366
public String getBaseForm() {return dictionary.getBaseForm(wordId, surfaceForm, offset, length);}
public virtual string GetBaseForm(){return dictionary.GetBaseForm(wordId, surfaceForm, offset, length);}
7,367
public Query makeLuceneQueryNoBoost(BasicQueryFactory qf) {if (fieldNames.size() == 1) { return q.makeLuceneQueryFieldNoBoost(fieldNames.get(0), qf);} else { List<SrndQuery> queries = new ArrayList<>();Iterator<String> fni = getFieldNames().listIterator();SrndQuery qc;while (fni.hasNext()) {qc = q.clone();queries.add( new FieldsQuery( qc, fni.next(), fieldOp));}OrQuery oq = new OrQuery(queries,true ,OR_OPERATOR_NAME);return oq.makeLuceneQueryField(null, qf);}}
public virtual Search.Query MakeLuceneQueryNoBoost(BasicQueryFactory qf){if (fieldNames.Count == 1){ return q.MakeLuceneQueryFieldNoBoost(fieldNames.FirstOrDefault(), qf);}else{ List<SrndQuery> queries = new List<SrndQuery>();foreach (var fieldName in fieldNames){var qc = (SrndQuery)q.Clone();queries.Add(new FieldsQuery(qc, fieldName, fieldOp));}OrQuery oq = new OrQuery(queries,true ,orOperatorName);return oq.MakeLuceneQueryField(null, qf);}}
7,368
public SetVisibleToAllUsersResult setVisibleToAllUsers(SetVisibleToAllUsersRequest request) {request = beforeClientExecution(request);return executeSetVisibleToAllUsers(request);}
public virtual SetVisibleToAllUsersResponse SetVisibleToAllUsers(SetVisibleToAllUsersRequest request){var options = new InvokeOptions();options.RequestMarshaller = SetVisibleToAllUsersRequestMarshaller.Instance;options.ResponseUnmarshaller = SetVisibleToAllUsersResponseUnmarshaller.Instance;return Invoke<SetVisibleToAllUsersResponse>(request, options);}
7,369
public GetBotResult getBot(GetBotRequest request) {request = beforeClientExecution(request);return executeGetBot(request);}
public virtual GetBotResponse GetBot(GetBotRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetBotRequestMarshaller.Instance;options.ResponseUnmarshaller = GetBotResponseUnmarshaller.Instance;return Invoke<GetBotResponse>(request, options);}
7,370
public UpdateApnsSandboxChannelResult updateApnsSandboxChannel(UpdateApnsSandboxChannelRequest request) {request = beforeClientExecution(request);return executeUpdateApnsSandboxChannel(request);}
public virtual UpdateApnsSandboxChannelResponse UpdateApnsSandboxChannel(UpdateApnsSandboxChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateApnsSandboxChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateApnsSandboxChannelResponseUnmarshaller.Instance;return Invoke<UpdateApnsSandboxChannelResponse>(request, options);}
7,371
public CreateRouteResult createRoute(CreateRouteRequest request) {request = beforeClientExecution(request);return executeCreateRoute(request);}
public virtual CreateRouteResponse CreateRoute(CreateRouteRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateRouteRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance;return Invoke<CreateRouteResponse>(request, options);}
7,372
public FreeRefFunction findFunction(String name) {FreeRefFunction func = super.findFunction(name);if (func != null) {int idx = getFunctionIndex(name);_funcMap.put(idx, name);}return func;}
public override FreeRefFunction FindFunction(String name){FreeRefFunction func = base.FindFunction(name);if (func != null){int idx = GetFunctionIndex(name);_funcMap[idx] = name;}return func;}
7,373
public boolean atMinValue() {return value == minValue;}
public virtual bool AtMinValue(){return value == minValue;}
7,374
public TerminateInstanceInAutoScalingGroupResult terminateInstanceInAutoScalingGroup(TerminateInstanceInAutoScalingGroupRequest request) {request = beforeClientExecution(request);return executeTerminateInstanceInAutoScalingGroup(request);}
public virtual TerminateInstanceInAutoScalingGroupResponse TerminateInstanceInAutoScalingGroup(TerminateInstanceInAutoScalingGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = TerminateInstanceInAutoScalingGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = TerminateInstanceInAutoScalingGroupResponseUnmarshaller.Instance;return Invoke<TerminateInstanceInAutoScalingGroupResponse>(request, options);}
7,375
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[DVAL]\n");buffer.append(" .options = ").append(getOptions()).append('\n');buffer.append(" .horizPos = ").append(getHorizontalPos()).append('\n');buffer.append(" .vertPos = ").append(getVerticalPos()).append('\n');buffer.append(" .comboObjectID = ").append(Integer.toHexString(getObjectID())).append("\n");buffer.append(" .DVRecordsNumber = ").append(Integer.toHexString(getDVRecNo())).append("\n");buffer.append("[/DVAL]\n");return buffer.toString();}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[DVAL]\n");buffer.Append(" .options = ").Append(this.Options).Append('\n');buffer.Append(" .horizPos = ").Append(this.HorizontalPos).Append('\n');buffer.Append(" .vertPos = ").Append(this.VerticalPos).Append('\n');buffer.Append(" .comboObjectID = ").Append(StringUtil.ToHexString(this.ObjectID)).Append("\n");buffer.Append(" .DVRecordsNumber = ").Append(StringUtil.ToHexString(this.DVRecNo)).Append("\n");buffer.Append("[/DVAL]\n");return buffer.ToString();}
7,376
public static Token newToken(int ofKind, String image){switch(ofKind){default : return new Token(ofKind, image);}}
public static Token NewToken(int ofKind, string image){switch (ofKind){default: return new Token(ofKind, image);}}
7,377
public ATNConfig(ATNState state,int alt,PredictionContext context,SemanticContext semanticContext){this.state = state;this.alt = alt;this.context = context;this.semanticContext = semanticContext;}
public ATNConfig(ATNState state,int alt,PredictionContext context,SemanticContext semanticContext){this.state = state;this.alt = alt;this.context = context;this.semanticContext = semanticContext;}
7,378
public DataValidationConstraint createFormulaListConstraint(String listFormula) {return DVConstraint.createFormulaListConstraint(listFormula);}
public IDataValidationConstraint CreateFormulaListConstraint(String listFormula){return DVConstraint.CreateFormulaListConstraint(listFormula);}
7,379
public GlobalReplicationGroup failoverGlobalReplicationGroup(FailoverGlobalReplicationGroupRequest request) {request = beforeClientExecution(request);return executeFailoverGlobalReplicationGroup(request);}
public virtual FailoverGlobalReplicationGroupResponse FailoverGlobalReplicationGroup(FailoverGlobalReplicationGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = FailoverGlobalReplicationGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = FailoverGlobalReplicationGroupResponseUnmarshaller.Instance;return Invoke<FailoverGlobalReplicationGroupResponse>(request, options);}
7,380
public BatchPutAttributesResult batchPutAttributes(BatchPutAttributesRequest request) {request = beforeClientExecution(request);return executeBatchPutAttributes(request);}
public virtual BatchPutAttributesResponse BatchPutAttributes(BatchPutAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchPutAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchPutAttributesResponseUnmarshaller.Instance;return Invoke<BatchPutAttributesResponse>(request, options);}
7,381
public long get(int index) {final int o = index >>> 1;final int b = index & 1;final int shift = b << 5;return (blocks[o] >>> shift) & 4294967295L;}
public override long Get(int index){int o = (int)((uint)index >> 1);int b = index & 1;int shift = b << 5;return ((long)((ulong)blocks[o] >> shift)) & 4294967295L;}
7,382
public int execute(StringBuilder buf) {return index;}
public virtual int Execute(StringBuilder buf){return index;}
7,383
public int remove(Object key) {boolean hashedOk;int index, next, hash;int result;Object object;index = next = findIndex(key, keys);if (keys[index] != key) {return -1;}result = values[index];int length = keys.length;while (true) {next = (next + 2) % length;object = keys[next];if (object == null) {break;}hash = getModuloHash(object, length);hashedOk = hash > index;if (next < index) {hashedOk = hashedOk || (hash <= next);} else {hashedOk = hashedOk && (hash <= next);}if (!hashedOk) {keys[index] = object;values[index] = values[next];index = next;}}size--;keys[index] = null;values[index] = -1;return result;}
public int remove(object key){bool hashedOk;int index;int next;int hash;int result;object @object;index = next = findIndex(key, keys);if (keys[index] != key){return -1;}result = values[index];int length = keys.Length;while (true){next = (next + 2) % length;@object = keys[next];if (@object == null){break;}hash = getModuloHash(@object, length);hashedOk = hash > index;if (next < index){hashedOk = hashedOk || (hash <= next);}else{hashedOk = hashedOk && (hash <= next);}if (!hashedOk){keys[index] = @object;values[index] = values[next];index = next;}}size--;keys[index] = null;values[index] = -1;return result;}
7,384
public synchronized void setMaxMergesAndThreads(int maxMergeCount, int maxThreadCount) {if (maxMergeCount == AUTO_DETECT_MERGES_AND_THREADS && maxThreadCount == AUTO_DETECT_MERGES_AND_THREADS) {this.maxMergeCount = AUTO_DETECT_MERGES_AND_THREADS;this.maxThreadCount = AUTO_DETECT_MERGES_AND_THREADS;} else if (maxMergeCount == AUTO_DETECT_MERGES_AND_THREADS) {throw new IllegalArgumentException("both maxMergeCount and maxThreadCount must be AUTO_DETECT_MERGES_AND_THREADS");} else if (maxThreadCount == AUTO_DETECT_MERGES_AND_THREADS) {throw new IllegalArgumentException("both maxMergeCount and maxThreadCount must be AUTO_DETECT_MERGES_AND_THREADS");} else {if (maxThreadCount < 1) {throw new IllegalArgumentException("maxThreadCount should be at least 1");}if (maxMergeCount < 1) {throw new IllegalArgumentException("maxMergeCount should be at least 1");}if (maxThreadCount > maxMergeCount) {throw new IllegalArgumentException("maxThreadCount should be <= maxMergeCount (= " + maxMergeCount + ")");}this.maxThreadCount = maxThreadCount;this.maxMergeCount = maxMergeCount;}}
public virtual void SetMaxMergesAndThreads(int maxMergeCount, int maxThreadCount){if (maxThreadCount < 1){throw new System.ArgumentException("maxThreadCount should be at least 1");}if (maxMergeCount < 1){throw new System.ArgumentException("maxMergeCount should be at least 1");}if (maxThreadCount > maxMergeCount){throw new System.ArgumentException("maxThreadCount should be <= maxMergeCount (= " + maxMergeCount + ")");}this.maxThreadCount = maxThreadCount;this.maxMergeCount = maxMergeCount;}
7,385
public final DoubleBuffer put(double[] src) {return put(src, 0, src.length);}
public java.nio.DoubleBuffer put(double[] src){return put(src, 0, src.Length);}
7,386
public final Collection<Ref> getRefs() {return advertisedRefs.values();}
public ICollection<Ref> GetRefs(){return advertisedRefs.Values;}
7,387
public DocFreqValueSource(String field, String val, String indexedField, BytesRef indexedBytes) {this.field = field;this.val = val;this.indexedField = indexedField;this.indexedBytes = indexedBytes;}
public DocFreqValueSource(string field, string val, string indexedField, BytesRef indexedBytes){this.m_field = field;this.m_val = val;this.m_indexedField = indexedField;this.m_indexedBytes = indexedBytes;}
7,388
public String getSegmentsFileName() {return IndexFileNames.fileNameFromGeneration(IndexFileNames.SEGMENTS,"",lastGeneration);}
public string GetSegmentsFileName(){return IndexFileNames.FileNameFromGeneration(IndexFileNames.SEGMENTS, "", lastGeneration);}
7,389
public Listener(String protocol, Integer loadBalancerPort, Integer instancePort) {setProtocol(protocol);setLoadBalancerPort(loadBalancerPort);setInstancePort(instancePort);}
public Listener(string protocol, int loadBalancerPort, int instancePort){_protocol = protocol;_loadBalancerPort = loadBalancerPort;_instancePort = instancePort;}
7,390
public GetCurrentUserResult getCurrentUser(GetCurrentUserRequest request) {request = beforeClientExecution(request);return executeGetCurrentUser(request);}
public virtual GetCurrentUserResponse GetCurrentUser(GetCurrentUserRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetCurrentUserRequestMarshaller.Instance;options.ResponseUnmarshaller = GetCurrentUserResponseUnmarshaller.Instance;return Invoke<GetCurrentUserResponse>(request, options);}
7,391
public String toString() {return "ObjectDirectory[" + getDirectory() + "]"; }
public override string ToString(){return "ObjectDirectory[" + GetDirectory() + "]";}
7,392
public IllegalFormatWidthException(int w) {this.w = w;}
public IllegalFormatWidthException(int w){this.w = w;}
7,393
public String toToken() {return this.token;}
public virtual string ToToken(){return this.token;}
7,394
public UpdatePhoneNumberResult updatePhoneNumber(UpdatePhoneNumberRequest request) {request = beforeClientExecution(request);return executeUpdatePhoneNumber(request);}
public virtual UpdatePhoneNumberResponse UpdatePhoneNumber(UpdatePhoneNumberRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdatePhoneNumberRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdatePhoneNumberResponseUnmarshaller.Instance;return Invoke<UpdatePhoneNumberResponse>(request, options);}
7,395
public final IndexableField getField(String name) {for (IndexableField field : fields) {if (field.name().equals(name)) {return field;}}return null;}
public IIndexableField GetField(string name){foreach (IIndexableField field in fields){if (field.Name.Equals(name, StringComparison.Ordinal)){return field;}}return null;}
7,396
public DisableDomainTransferLockResult disableDomainTransferLock(DisableDomainTransferLockRequest request) {request = beforeClientExecution(request);return executeDisableDomainTransferLock(request);}
public virtual DisableDomainTransferLockResponse DisableDomainTransferLock(DisableDomainTransferLockRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisableDomainTransferLockRequestMarshaller.Instance;options.ResponseUnmarshaller = DisableDomainTransferLockResponseUnmarshaller.Instance;return Invoke<DisableDomainTransferLockResponse>(request, options);}
7,397
public PrintHeadersRecord clone() {return copy();}
public override Object Clone(){PrintHeadersRecord rec = new PrintHeadersRecord();rec.field_1_print_headers = field_1_print_headers;return rec;}
7,398
public UpdateDataSourceResult updateDataSource(UpdateDataSourceRequest request) {request = beforeClientExecution(request);return executeUpdateDataSource(request);}
public virtual UpdateDataSourceResponse UpdateDataSource(UpdateDataSourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDataSourceRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDataSourceResponseUnmarshaller.Instance;return Invoke<UpdateDataSourceResponse>(request, options);}
7,399
public int popMode() {if ( _modeStack.isEmpty() ) throw new EmptyStackException();if ( LexerATNSimulator.debug ) System.out.println("popMode back to "+ _modeStack.peek());mode( _modeStack.pop() );return _mode;}
public virtual int PopMode(){if (_modeStack.Count == 0){throw new InvalidOperationException();}int mode = _modeStack.Pop();Mode(mode);return _mode;}