text
stringlengths
27
1.4k
public override short get(int index){checkIndex(index);return byteBuffer.getShort(index * libcore.io.SizeOf.SHORT);}
public virtual bool IsExportAll(){return exportAll;}
public static void ValidateSecondArg(int comparisonOperator, String paramValue){switch (comparisonOperator){case BETWEEN:if (paramValue == null){throw new ArgumentException("expr2 must be supplied for 'between' comparisons");}break;case NOT_BETWEEN:if (paramValue == null){throw new ArgumentException("expr2 must be supplied for 'between' comparisons");}break;}}
public override V next(){return this.nextEntry().value;}
public virtual UpdateSchemaResponse UpdateSchema(UpdateSchemaRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateSchemaRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateSchemaResponseUnmarshaller.Instance;return Invoke<UpdateSchemaResponse>(request, options);}
public PortugueseMinimalStemFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
public SeriesChartGroupIndexRecord(RecordInputStream in1){field_1_chartGroupIndex = in1.ReadShort();}
public override ValueEval Evaluate(int srcCellRow, int srcCellCol){return ErrorEval.NA;}
public virtual E get(int key){return get(key, default(E));}
public virtual DescribeComponentConfigurationResponse DescribeComponentConfiguration(DescribeComponentConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeComponentConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeComponentConfigurationResponseUnmarshaller.Instance;return Invoke<DescribeComponentConfigurationResponse>(request, options);}
public CellRangeAddressList Copy(){CellRangeAddressList result = new CellRangeAddressList();int nItems = _list.Count;for (int k = 0; k < nItems; k++){CellRangeAddress region = (CellRangeAddress)_list[k];result.AddCellRangeAddress(region.Copy());}return result;}
public virtual DescribeClientVpnAuthorizationRulesResponse DescribeClientVpnAuthorizationRules(DescribeClientVpnAuthorizationRulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClientVpnAuthorizationRulesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClientVpnAuthorizationRulesResponseUnmarshaller.Instance;return Invoke<DescribeClientVpnAuthorizationRulesResponse>(request, options);}
public IConditionalFormattingRule GetRule(int idx){CFRuleRecord ruleRecord = cfAggregate.GetRule(idx);return new HSSFConditionalFormattingRule(_workbook, ruleRecord);}
public Ref GetAdvertisedRef(string name){return advertisedRefs.Get(name);}
public override int GetType(){return type;}
public virtual DeleteCustomVerificationEmailTemplateResponse DeleteCustomVerificationEmailTemplate(DeleteCustomVerificationEmailTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteCustomVerificationEmailTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteCustomVerificationEmailTemplateResponseUnmarshaller.Instance;return Invoke<DeleteCustomVerificationEmailTemplateResponse>(request, options);}
public virtual void SetRefLogMessage(string msg){if (msg == null){DisableRefLog();}else{destination.SetRefLogMessage(msg, false);}}
public virtual CreateVpcEndpointConnectionNotificationResponse CreateVpcEndpointConnectionNotification(CreateVpcEndpointConnectionNotificationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVpcEndpointConnectionNotificationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVpcEndpointConnectionNotificationResponseUnmarshaller.Instance;return Invoke<CreateVpcEndpointConnectionNotificationResponse>(request, options);}
public ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0){int rnum;if (arg0 is AreaEval){rnum = ((AreaEval)arg0).FirstColumn;}else if (arg0 is RefEval){rnum = ((RefEval)arg0).Column;}else{return ErrorEval.VALUE_INVALID;}return new NumberEval(rnum + 1);}
public CompleteMultipartUploadRequest(string accountId, string vaultName, string uploadId, string archiveSize, string checksum){_accountId = accountId;_vaultName = vaultName;_uploadId = uploadId;_archiveSize = archiveSize;_checksum = checksum;}
public void ClearRect(int x, int y, int width, int height){Color color = foreground;SetColor(background);FillRect(x, y, width, height);SetColor(color);}
public string getRawFragment(){return fragment;}
public override string ToString(){StringBuilder s = new StringBuilder();for (int i = 0; i < count; i++){if (i > 0){s.Append(' ');}s.Append(points[i].point).Append(':').Append(points[i].starts.count).Append(',').Append(points[i].ends.count);}return s.ToString();}
public static double Sinh(double d){double ePowX = Math.Pow(Math.E, d);double ePowNegX = Math.Pow(Math.E, -d);d = (ePowX - ePowNegX) / 2;return d;}
public virtual GetMembersResponse GetMembers(GetMembersRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMembersRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMembersResponseUnmarshaller.Instance;return Invoke<GetMembersResponse>(request, options);}
public IPatternFormatting CreatePatternFormatting(){return GetPatternFormatting(true);}
public virtual DeleteSpotDatafeedSubscriptionResponse DeleteSpotDatafeedSubscription(DeleteSpotDatafeedSubscriptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSpotDatafeedSubscriptionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSpotDatafeedSubscriptionResponseUnmarshaller.Instance;return Invoke<DeleteSpotDatafeedSubscriptionResponse>(request, options);}
public override RevFilter Clone(){return new NGit.Revwalk.Filter.SkipRevFilter(skip);}
public BinarySearchIndexes(int highIx){_lowIx = -1;_highIx = highIx;}
public override Search.Query MakeLuceneQueryFieldNoBoost(string fieldName, BasicQueryFactory qf){return SrndBooleanQuery.MakeBooleanQuery(MakeLuceneSubQueriesField(fieldName, qf), Occur.SHOULD);}
public static CloneCommand CloneRepository(){return new CloneCommand();}
public virtual EnableMetricsCollectionResponse EnableMetricsCollection(EnableMetricsCollectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = EnableMetricsCollectionRequestMarshaller.Instance;options.ResponseUnmarshaller = EnableMetricsCollectionResponseUnmarshaller.Instance;return Invoke<EnableMetricsCollectionResponse>(request, options);}
public virtual DescribePlayerSessionsResponse DescribePlayerSessions(DescribePlayerSessionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribePlayerSessionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribePlayerSessionsResponseUnmarshaller.Instance;return Invoke<DescribePlayerSessionsResponse>(request, options);}
public virtual UpdateDocumentVersionResponse UpdateDocumentVersion(UpdateDocumentVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDocumentVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDocumentVersionResponseUnmarshaller.Instance;return Invoke<UpdateDocumentVersionResponse>(request, options);}
public virtual NGit.Api.TagCommand SetTagger(PersonIdent tagger){this.tagger = tagger;return this;}
public void SetCellValue(double value){if(double.IsInfinity(value)){SetCellErrorValue(FormulaError.DIV0.Code);}else if (double.IsNaN(value)){SetCellErrorValue(FormulaError.NUM.Code);}else{int row = _record.Row;int col = _record.Column;short styleIndex = _record.XFIndex;switch (cellType){case CellType.Numeric:((NumberRecord)_record).Value = value;break;case CellType.Formula:((FormulaRecordAggregate)_record).SetCachedDoubleResult(value);break;default:SetCellType(CellType.Numeric, false, row, col, styleIndex);((NumberRecord)_record).Value = value;break;}}}
public PatternReplaceFilterFactory(IDictionary<string, string> args) : base(args){pattern = GetPattern(args, "pattern");replacement = Get(args, "replacement");replaceAll = "all".Equals(Get(args, "replace", new string[] { "all", "first" }, "all"), StringComparison.Ordinal);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
public IList<T> AsList(object output){if (!(output is IList<T> outputList)){return new JCG.List<T>(1) { (T)output };}else{return outputList;}}
public FooterKey(string keyName){name = keyName;raw = Constants.Encode(keyName.ToLower());}
public virtual IList<IToken> GetTokens(){return tokens;}
public virtual DeleteTaskSetResponse DeleteTaskSet(DeleteTaskSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTaskSetRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTaskSetResponseUnmarshaller.Instance;return Invoke<DeleteTaskSetResponse>(request, options);}
public virtual DescribeLifecycleConfigurationResponse DescribeLifecycleConfiguration(DescribeLifecycleConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLifecycleConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLifecycleConfigurationResponseUnmarshaller.Instance;return Invoke<DescribeLifecycleConfigurationResponse>(request, options);}
public virtual DescribeNodegroupResponse DescribeNodegroup(DescribeNodegroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeNodegroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeNodegroupResponseUnmarshaller.Instance;return Invoke<DescribeNodegroupResponse>(request, options);}
public CustomProperty(){this.name = null;}
public virtual DeleteDirectConnectGatewayResponse DeleteDirectConnectGateway(DeleteDirectConnectGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDirectConnectGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDirectConnectGatewayResponseUnmarshaller.Instance;return Invoke<DeleteDirectConnectGatewayResponse>(request, options);}
protected internal AddCommand(Repository repo) : base(repo){filepatterns = new List<string>();}
public virtual UpdateStageResponse UpdateStage(UpdateStageRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateStageRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateStageResponseUnmarshaller.Instance;return Invoke<UpdateStageResponse>(request, options);}
public virtual ModifyIdFormatResponse ModifyIdFormat(ModifyIdFormatRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyIdFormatRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyIdFormatResponseUnmarshaller.Instance;return Invoke<ModifyIdFormatResponse>(request, options);}
public virtual RemoveRoleFromDBClusterResponse RemoveRoleFromDBCluster(RemoveRoleFromDBClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = RemoveRoleFromDBClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = RemoveRoleFromDBClusterResponseUnmarshaller.Instance;return Invoke<RemoveRoleFromDBClusterResponse>(request, options);}
public override E set(int location, E @object){if (location >= 0 && location < _size){java.util.LinkedList.Link<E> link = voidLink;if (location < (_size / 2)){{for (int i = 0; i <= location; i++){link = link.next;}}}else{{for (int i = _size; i > location; i--){link = link.previous;}}}E result = link.data;link.data = @object;return result;}throw new System.IndexOutOfRangeException();}
public virtual ListPhoneNumbersResponse ListPhoneNumbers(ListPhoneNumbersRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListPhoneNumbersRequestMarshaller.Instance;options.ResponseUnmarshaller = ListPhoneNumbersResponseUnmarshaller.Instance;return Invoke<ListPhoneNumbersResponse>(request, options);}
public GermanNormalizationFilter(TokenStream input): base(input){termAtt = AddAttribute<ICharTermAttribute>();}
public override bool Equals(object @object){return list.Equals(@object);}
public virtual PullCommand Pull(){return new PullCommand(repo);}
public override string ToString(){return "ALL";}
public virtual CreateIngestionResponse CreateIngestion(CreateIngestionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateIngestionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateIngestionResponseUnmarshaller.Instance;return Invoke<CreateIngestionResponse>(request, options);}
protected internal StashCreateCommand(Repository repo) : base(repo){person = new PersonIdent(repo);}
public sealed override java.nio.ShortBuffer asShortBuffer(){return java.nio.ShortToByteBufferAdapter.asShortBuffer(this);}
public FeatSmartTag(){data = new byte[0];}
public virtual NGit.Api.LogCommand SetSkip(int skip){CheckCallable();this.skip = skip;return this;}
public Ptg[] GetFormulaTokens(FormulaRecord formula){int formulaRow = formula.Row;int formulaColumn = formula.Column;if (!IsInRange(formulaRow, formulaColumn)){throw new Exception("Shared Formula Conversion: Coding Error");}SharedFormula sf = new SharedFormula(SpreadsheetVersion.EXCEL97);return sf.ConvertSharedFormulas(field_7_parsed_expr.Tokens, formulaRow, formulaColumn);}
public int regionEnd(){return _regionEnd;}
public virtual int GetBehindCount(){return behindCount;}
public override void Encode(int[] values, int valuesOffset, long[] blocks, int blocksOffset, int iterations){for (int i = 0; i < iterations; ++i){blocks[blocksOffset++] = Encode(values, valuesOffset);valuesOffset += valueCount;}}
public virtual PutImageScanningConfigurationResponse PutImageScanningConfiguration(PutImageScanningConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutImageScanningConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = PutImageScanningConfigurationResponseUnmarshaller.Instance;return Invoke<PutImageScanningConfigurationResponse>(request, options);}
public virtual BlameCommand Blame(){return new BlameCommand(repo);}
public virtual BytesRef TextToBytesRef(){return new BytesRef(text.ToString());}
public virtual int compareTo(java.nio.DoubleBuffer otherBuffer){int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() : otherBuffer.remaining();int thisPos = _position;int otherPos = otherBuffer._position;double thisDouble;double otherDouble;while (compareRemaining > 0){thisDouble = get(thisPos);otherDouble = otherBuffer.get(otherPos);if ((thisDouble != otherDouble) && ((thisDouble == thisDouble) || (otherDouble ==otherDouble))){return thisDouble < otherDouble ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}
public virtual CreateIpGroupResponse CreateIpGroup(CreateIpGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateIpGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateIpGroupResponseUnmarshaller.Instance;return Invoke<CreateIpGroupResponse>(request, options);}
public virtual E set(int index, E e){lock (this){object[] newElements = (object[])elements.Clone();E result = (E)newElements[index];newElements[index] = e;elements = newElements;return result;}}
public override String ToFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.Append(operands[0]);buffer.Append(":");buffer.Append(operands[1]);return buffer.ToString();}
public override string substring(int start, int end){lock (this){return base.substring(start, end);}}
public static TreeFilter Create(TreeFilter a, TreeFilter b){if (a == ALL){return b;}if (b == ALL){return a;}return new AndTreeFilter.Binary(a, b);}
public static string authoritySafePath(string authority, string path){if (authority != null && !string.IsNullOrEmpty(authority) && !string.IsNullOrEmpty(path) && !path.StartsWith("/")){return "/" + path;}return path;}
public void SmudgeRacilyClean(){int @base = infoOffset + P_SIZE;Arrays.Fill(info, @base, @base + 4, unchecked((byte)0));}
public override Object Clone(){return new SeriesListRecord((short[])field_1_seriesNumbers.Clone());}
public void Decode(){if (null == escherRecords || 0 == escherRecords.Count){byte[] rawData = RawData;ConvertToEscherRecords(0, rawData.Length, rawData);}}
public virtual RemoveAutoScalingPolicyResponse RemoveAutoScalingPolicy(RemoveAutoScalingPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = RemoveAutoScalingPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = RemoveAutoScalingPolicyResponseUnmarshaller.Instance;return Invoke<RemoveAutoScalingPolicyResponse>(request, options);}
public override byte ReadByte(){Debug.Assert(!Eof());Debug.Assert(upto <= limit);if (upto == limit){NextSlice();}return (byte)buffer[upto++];}
public virtual CreateAliasResponse CreateAlias(CreateAliasRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateAliasRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateAliasResponseUnmarshaller.Instance;return Invoke<CreateAliasResponse>(request, options);}
public override bool markSupported(){return @in.markSupported();}
public string getRawSchemeSpecificPart(){return schemeSpecificPart;}
public virtual CreateRouteResponseResponse CreateRouteResponse(CreateRouteResponseRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateRouteResponseRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateRouteResponseResponseUnmarshaller.Instance;return Invoke<CreateRouteResponseResponse>(request, options);}
public virtual void remove(){if (this.lastEntryReturned == null){throw new System.InvalidOperationException();}if (this._enclosing.modCount != this.expectedModCount){throw new java.util.ConcurrentModificationException();}this._enclosing.remove(this.lastEntryReturned.key);this.lastEntryReturned = null;this.expectedModCount = this._enclosing.modCount;}
public virtual void put(int key, E value){int i = binarySearch(mKeys, 0, mSize, key);if (i >= 0){mValues[i] = value;}else{i = ~i;if (i < mSize && mValues[i] == DELETED){mKeys[i] = key;mValues[i] = value;return;}if (mGarbage && mSize >= mKeys.Length){gc();i = ~binarySearch(mKeys, 0, mSize, key);}if (mSize >= mKeys.Length){int n = android.util.@internal.ArrayUtils.idealIntArraySize(mSize + 1);int[] nkeys = new int[n];object[] nvalues = new object[n];System.Array.Copy(mKeys, 0, nkeys, 0, mKeys.Length);System.Array.Copy(mValues, 0, nvalues, 0, mValues.Length);mKeys = nkeys;mValues = nvalues;}if (mSize - i != 0){System.Array.Copy(mKeys, i, mKeys, i + 1, mSize - i);System.Array.Copy(mValues, i, mValues, i + 1, mSize - i);}mKeys[i] = key;mValues[i] = value;mSize++;}}
public override bool Equals(object obj){if (obj == this){return true;}else{if (!(obj is Antlr4.Runtime.Atn.LexerCustomAction)){return false;}}Antlr4.Runtime.Atn.LexerCustomAction other = (Antlr4.Runtime.Atn.LexerCustomAction)obj;return ruleIndex == other.ruleIndex && actionIndex == other.actionIndex;}
public override void SeekExact(BytesRef term, TermState state){throw new System.NotSupportedException(this.GetType().Name + " does not support seeking");}
public override void ReadBytes(byte[] b, int offset, int len){Debug.Assert(b.Length >= offset + len);int offsetEnd = offset + len;while (true){int blockLeft = outerInstance.blockSize - currentBlockUpto;int left = offsetEnd - offset;if (blockLeft < left){System.Buffer.BlockCopy(currentBlock, currentBlockUpto, b, offset, blockLeft);NextBlock();offset += blockLeft;}else{System.Buffer.BlockCopy(currentBlock, currentBlockUpto, b, offset, left);currentBlockUpto += left;break;}}}
public FileResolver(FilePath basePath, bool exportAll) : this(){ExportDirectory(basePath);SetExportAll(exportAll);}
public virtual void add(int location, E @object){lock (mutex){list.add(location, @object);}}
public string replaceFirst(string replacement){reset();java.lang.StringBuffer buffer = new java.lang.StringBuffer(input.Length);if (find()){appendReplacement(buffer, replacement);}return appendTail(buffer).ToString();}
public String Format2DRefAsString(){return FormatReferenceAsString();}
public static string TrimFromLast(string str, string stripString){var pos = str.LastIndexOf(stripString);if (pos > -1){return str.Substring(0, pos);}return str;}
public virtual float HyperbolicTf(float freq){if (0.0f == freq){return 0.0f;}float min = tf_hyper_min;float max = tf_hyper_max;double @base = tf_hyper_base;float xoffset = tf_hyper_xoffset;double x = (double)(freq - xoffset);float result = min + (float)((max - min) / 2.0f * (((Math.Pow(@base, x) - Math.Pow(@base, -x)) / (Math.Pow(@base, x) + Math.Pow(@base, -x))) + 1.0d));return float.IsNaN(result) ? max : result;}
public override void SetConfig(Config config){base.SetConfig(config);sortRange = config.Get("sort.rng", 20000);r = new Random(config.Get("rand.seed", 13));}
public virtual ParseException GenerateParseException(){jj_expentries.Clear();bool[] la1tokens = new bool[34];if (jj_kind >= 0){la1tokens[jj_kind] = true;jj_kind = -1;}for (int i = 0; i < 28; i++){if (jj_la1[i] == jj_gen){for (int j = 0; j < 32; j++){if ((jj_la1_0[i] & (1 << j)) != 0){la1tokens[j] = true;}if ((jj_la1_1[i] & (1 << j)) != 0){la1tokens[32 + j] = true;}}}}for (int i = 0; i < 34; i++){if (la1tokens[i]){jj_expentry = new int[1];jj_expentry[0] = i;jj_expentries.Add(jj_expentry);}}jj_endpos = 0;Jj_rescan_token();Jj_add_error_token(0, 0);int[][] exptokseq = new int[jj_expentries.Count][];for (int i = 0; i < jj_expentries.Count; i++){exptokseq[i] = jj_expentries[i];}return new ParseException(Token, exptokseq, StandardSyntaxParserConstants.TokenImage);}
public int AddConditionalFormatting(CellRangeAddress[] regions,IConditionalFormattingRule rule1){return AddConditionalFormatting(regions, (HSSFConditionalFormattingRule)rule1);}
public virtual void SetObjectInserter(ObjectInserter oi){if (inserter != null){inserter.Release();}inserter = oi;}
public override void Clear(){head = null;free = null;}
public void ReInit(ICharStream stream, int lexState){ReInit(stream);SwitchTo(lexState);}