java
stringlengths 28
1.4k
| C#
stringlengths 27
1.38k
|
---|---|
public void join( AbstractEscherHolderRecord record ){rawDataContainer.concatenate(record.getRawData());} | public void Join(AbstractEscherHolderRecord record){rawDataContainer.Concatenate(record.RawData);} |
public static byte[] grow(byte[] array, int minSize) {assert minSize >= 0: "size must be positive (got " + minSize + "): likely integer overflow?";if (array.length < minSize) {return growExact(array, oversize(minSize, Byte.BYTES));} else return array;} | public static byte[] Grow(byte[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){byte[] newArray = new byte[Oversize(minSize, 1)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}} |
public boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (getClass() != obj.getClass())return false;FlushInfo other = (FlushInfo) obj;if (estimatedSegmentSize != other.estimatedSegmentSize)return false;if (numDocs != other.numDocs)return false;return true;} | public override bool Equals(object obj){if (this == obj){return true;}if (obj == null){return false;}if (this.GetType() != obj.GetType()){return false;}FlushInfo other = (FlushInfo)obj;if (EstimatedSegmentSize != other.EstimatedSegmentSize){return false;}if (NumDocs != other.NumDocs){return false;}return true;} |
public void copyRawTo(int[] b, int o) {b[o] = w1;b[o + 1] = w2;b[o + 2] = w3;b[o + 3] = w4;b[o + 4] = w5;} | public virtual void CopyRawTo(int[] b, int o){b[o] = w1;b[o + 1] = w2;b[o + 2] = w3;b[o + 3] = w4;b[o + 4] = w5;} |
public ReadPipelineResult readPipeline(ReadPipelineRequest request) {request = beforeClientExecution(request);return executeReadPipeline(request);} | public virtual ReadPipelineResponse ReadPipeline(ReadPipelineRequest request){var options = new InvokeOptions();options.RequestMarshaller = ReadPipelineRequestMarshaller.Instance;options.ResponseUnmarshaller = ReadPipelineResponseUnmarshaller.Instance;return Invoke<ReadPipelineResponse>(request, options);} |
public BoostQueryNode(QueryNode query, float value) {if (query == null) {throw new QueryNodeError(new MessageImpl(QueryParserMessages.NODE_ACTION_NOT_SUPPORTED, "query", "null"));}this.value = value;setLeaf(false);allocate();add(query);} | public BoostQueryNode(IQueryNode query, float value){if (query == null){throw new QueryNodeError(new Message(QueryParserMessages.NODE_ACTION_NOT_SUPPORTED, "query", "null"));}this.value = value;IsLeaf = false;Allocate();Add(query);} |
public void setFallbackAlgorithm(DiffAlgorithm alg) {fallback = alg;} | public virtual void SetFallbackAlgorithm(DiffAlgorithm alg){fallback = alg;} |
public void add(Transition t) {find(t.min).starts.add(t);find(1+t.max).ends.add(t);} | public void Add(Transition t){Find(t.min).starts.Add(t);Find(1 + t.max).ends.Add(t);} |
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append(" [FEATURE FORMULA ERRORS]\n");buffer.append(" checkCalculationErrors = ");buffer.append(" checkEmptyCellRef = ");buffer.append(" checkNumbersAsText = ");buffer.append(" checkInconsistentRanges = ");buffer.append(" checkInconsistentFormulas = ");buffer.append(" checkDateTimeFormats = ");buffer.append(" checkUnprotectedFormulas = ");buffer.append(" performDataValidation = ");buffer.append(" [/FEATURE FORMULA ERRORS]\n");return buffer.toString();} | public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append(" [FEATURE FORMULA ERRORS]\n");buffer.Append(" checkCalculationErrors = ");buffer.Append(" checkEmptyCellRef = ");buffer.Append(" checkNumbersAsText = ");buffer.Append(" checkInconsistentRanges = ");buffer.Append(" checkInconsistentFormulas = ");buffer.Append(" checkDateTimeFormats = ");buffer.Append(" checkUnprotectedFormulas = ");buffer.Append(" performDataValidation = ");buffer.Append(" [/FEATURE FORMULA ERRORS]\n");return buffer.ToString();} |
public void execute(Lexer lexer) {lexer.setType(type);} | public virtual void Execute(Lexer lexer){lexer.Type = type;} |
public UpgradePublishedSchemaResult upgradePublishedSchema(UpgradePublishedSchemaRequest request) {request = beforeClientExecution(request);return executeUpgradePublishedSchema(request);} | public virtual UpgradePublishedSchemaResponse UpgradePublishedSchema(UpgradePublishedSchemaRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpgradePublishedSchemaRequestMarshaller.Instance;options.ResponseUnmarshaller = UpgradePublishedSchemaResponseUnmarshaller.Instance;return Invoke<UpgradePublishedSchemaResponse>(request, options);} |
public int readRecordSID() {readPlain(buffer, 0, LittleEndianConsts.SHORT_SIZE);int sid = LittleEndian.getUShort(buffer, 0);shouldSkipEncryptionOnCurrentRecord = isNeverEncryptedRecord(sid);return sid;} | public int ReadRecordSID(){int sid = _le.ReadUShort();_rc4.SkipTwoBytes();_rc4.StartRecord(sid);return sid;} |
public CreateImageBuilderStreamingURLResult createImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request) {request = beforeClientExecution(request);return executeCreateImageBuilderStreamingURL(request);} | public virtual CreateImageBuilderStreamingURLResponse CreateImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateImageBuilderStreamingURLRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateImageBuilderStreamingURLResponseUnmarshaller.Instance;return Invoke<CreateImageBuilderStreamingURLResponse>(request, options);} |
public SheetIdentifier(String bookName, NameIdentifier sheetIdentifier) {_bookName = bookName;_sheetIdentifier = sheetIdentifier;} | public SheetIdentifier(String bookName, NameIdentifier sheetIdentifier){_bookName = bookName;_sheetIdentifier = sheetIdentifier;} |
public boolean equals( Object o ) {return o instanceof PortugueseStemmer;} | public override bool Equals(object o){return o is PortugueseStemmer;} |
public PasswordRecord clone() {return copy();} | public override Object Clone(){return new PasswordRecord(field_1_password);} |
public DescribeTableRequest(String tableName) {setTableName(tableName);} | public DescribeTableRequest(string tableName){_tableName = tableName;} |
public ModifyCacheParameterGroupResult modifyCacheParameterGroup(ModifyCacheParameterGroupRequest request) {request = beforeClientExecution(request);return executeModifyCacheParameterGroup(request);} | public virtual ModifyCacheParameterGroupResponse ModifyCacheParameterGroup(ModifyCacheParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyCacheParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyCacheParameterGroupResponseUnmarshaller.Instance;return Invoke<ModifyCacheParameterGroupResponse>(request, options);} |
public E set(int location, E object) {ListIterator<E> it = listIterator(location);if (!it.hasNext()) {throw new IndexOutOfBoundsException();}E result = it.next();it.set(object);return result;} | public override E set(int location, E @object){java.util.ListIterator<E> it = listIterator(location);if (!it.hasNext()){throw new System.IndexOutOfRangeException();}E result = it.next();it.set(@object);return result;} |
public String toFormulaString() {return NumberToTextConverter.toText(field_1_value);} | public override String ToFormulaString(){return NumberToTextConverter.ToText(Value);} |
public ListBootstrapActionsResult listBootstrapActions(ListBootstrapActionsRequest request) {request = beforeClientExecution(request);return executeListBootstrapActions(request);} | public virtual ListBootstrapActionsResponse ListBootstrapActions(ListBootstrapActionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListBootstrapActionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListBootstrapActionsResponseUnmarshaller.Instance;return Invoke<ListBootstrapActionsResponse>(request, options);} |
public void serialize(LittleEndianOutput out) {out.writeShort(_wStyle);out.writeShort(_cLine);out.writeShort(_dxMin);StringUtil.writeUnicodeString(out, _str);if(_unused != null) {out.writeByte(_unused);}} | public void Serialize(ILittleEndianOutput out1) {out1.WriteShort(_wStyle);out1.WriteShort(_cLine);out1.WriteShort(_dxMin);StringUtil.WriteUnicodeString(out1, _str);out1.WriteByte(_unused);} |
public SynonymFilter(TokenStream input, SynonymMap synonyms, boolean ignoreCase) {super(input);this.synonyms = synonyms;this.ignoreCase = ignoreCase;this.fst = synonyms.fst;if (fst == null) {throw new IllegalArgumentException("fst must be non-null");}this.fstReader = fst.getBytesReader();rollBufferSize = 1+synonyms.maxHorizontalContext;futureInputs = new PendingInput[rollBufferSize];futureOutputs = new PendingOutputs[rollBufferSize];for(int pos=0;pos<rollBufferSize;pos++) {futureInputs[pos] = new PendingInput();futureOutputs[pos] = new PendingOutputs();}scratchArc = new FST.Arc<>();} | public SynonymFilter(TokenStream input, SynonymMap synonyms, bool ignoreCase): base(input){termAtt = AddAttribute<ICharTermAttribute>();posIncrAtt = AddAttribute<IPositionIncrementAttribute>();posLenAtt = AddAttribute<IPositionLengthAttribute>();typeAtt = AddAttribute<ITypeAttribute>();offsetAtt = AddAttribute<IOffsetAttribute>();this.synonyms = synonyms;this.ignoreCase = ignoreCase;this.fst = synonyms.Fst;if (fst == null){throw new System.ArgumentException("fst must be non-null");}this.fstReader = fst.GetBytesReader();rollBufferSize = 1 + synonyms.MaxHorizontalContext;futureInputs = new PendingInput[rollBufferSize];futureOutputs = new PendingOutputs[rollBufferSize];for (int pos = 0; pos < rollBufferSize; pos++){futureInputs[pos] = new PendingInput();futureOutputs[pos] = new PendingOutputs();}scratchArc = new FST.Arc<BytesRef>();} |
public CreateApiResult createApi(CreateApiRequest request) {request = beforeClientExecution(request);return executeCreateApi(request);} | public virtual CreateApiResponse CreateApi(CreateApiRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateApiRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateApiResponseUnmarshaller.Instance;return Invoke<CreateApiResponse>(request, options);} |
public IndexOutput createOutput(String name, IOContext context) throws IOException {ensureOpen();if (context.context != Context.MERGE || context.mergeInfo.estimatedMergeBytes < minBytesDirect) {return delegate.createOutput(name, context);} else {return new NativeUnixIndexOutput(getDirectory().resolve(name), name, mergeBufferSize);}} | public IndexOutput createOutput(string name, IOContext context) throws IOException{ensureOpen();if (context.context != Context.MERGE || context.mergeInfo.estimatedMergeBytes < minBytesDirect){return @delegate.createOutput(name, context);}else{ensureCanWrite(name);return new NativeUnixIndexOutput(new File(Directory, name), mergeBufferSize);}} |
public void drawArc(int x, int y, int width, int height,int startAngle, int arcAngle){if (logger.check( POILogger.WARN ))logger.log(POILogger.WARN,"drawArc not supported");} | public void DrawArc(int x, int y, int width, int height,int startAngle, int arcAngle){if (Logger.Check(POILogger.WARN))Logger.Log(POILogger.WARN, "DrawArc not supported");} |
public UpdateUserSettingsResult updateUserSettings(UpdateUserSettingsRequest request) {request = beforeClientExecution(request);return executeUpdateUserSettings(request);} | public virtual UpdateUserSettingsResponse UpdateUserSettings(UpdateUserSettingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateUserSettingsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateUserSettingsResponseUnmarshaller.Instance;return Invoke<UpdateUserSettingsResponse>(request, options);} |
public DeleteDiskSnapshotResult deleteDiskSnapshot(DeleteDiskSnapshotRequest request) {request = beforeClientExecution(request);return executeDeleteDiskSnapshot(request);} | public virtual DeleteDiskSnapshotResponse DeleteDiskSnapshot(DeleteDiskSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDiskSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDiskSnapshotResponseUnmarshaller.Instance;return Invoke<DeleteDiskSnapshotResponse>(request, options);} |
public ColumnInfoRecord() {setColumnWidth(2275);_options = 2;_xfIndex = 0x0f;field_6_reserved = 2; } | public ColumnInfoRecord(){this.ColumnWidth = 2275;_options = 2;_xf_index = 0x0f;field_6_reserved = 2; } |
public final long getLong(int index) {checkIndex(index, SizeOf.LONG);return Memory.peekLong(backingArray, offset + index, order);} | public sealed override long getLong(int index){checkIndex(index, libcore.io.SizeOf.LONG);return libcore.io.Memory.peekLong(backingArray, offset + index, _order);} |
public DeleteKnownHostKeysResult deleteKnownHostKeys(DeleteKnownHostKeysRequest request) {request = beforeClientExecution(request);return executeDeleteKnownHostKeys(request);} | public virtual DeleteKnownHostKeysResponse DeleteKnownHostKeys(DeleteKnownHostKeysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteKnownHostKeysRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteKnownHostKeysResponseUnmarshaller.Instance;return Invoke<DeleteKnownHostKeysResponse>(request, options);} |
public DeleteSigningCertificateRequest(String certificateId) {setCertificateId(certificateId);} | public DeleteSigningCertificateRequest(string certificateId){_certificateId = certificateId;} |
public StopProcessingJobResult stopProcessingJob(StopProcessingJobRequest request) {request = beforeClientExecution(request);return executeStopProcessingJob(request);} | public virtual StopProcessingJobResponse StopProcessingJob(StopProcessingJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopProcessingJobRequestMarshaller.Instance;options.ResponseUnmarshaller = StopProcessingJobResponseUnmarshaller.Instance;return Invoke<StopProcessingJobResponse>(request, options);} |
public TermsEnum getTermsEnum(Terms terms) throws IOException {switch(type) {case NONE:return TermsEnum.EMPTY;case ALL:return terms.iterator();case SINGLE:return new SingleTermsEnum(terms.iterator(), term);case NORMAL:return terms.intersect(this, null);default:throw new RuntimeException("unhandled case");}} | public virtual TermsEnum GetTermsEnum(Terms terms){switch (Type){case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.NONE:return TermsEnum.EMPTY;case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.ALL:return terms.GetIterator(null);case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.SINGLE:return new SingleTermsEnum(terms.GetIterator(null), Term);case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.PREFIX:return new PrefixTermsEnum(terms.GetIterator(null), Term);case Lucene.Net.Util.Automaton.CompiledAutomaton.AUTOMATON_TYPE.NORMAL:return terms.Intersect(this, null);default:throw new Exception("unhandled case");}} |
public void grow() {costs = ArrayUtil.grow(costs, 1+count);lastRightID = ArrayUtil.grow(lastRightID, 1+count);backPos = ArrayUtil.grow(backPos, 1+count);backWordPos = ArrayUtil.grow(backWordPos, 1+count);backIndex = ArrayUtil.grow(backIndex, 1+count);backID = ArrayUtil.grow(backID, 1+count);final Type[] newBackType = new Type[backID.length];System.arraycopy(backType, 0, newBackType, 0, backType.length);backType = newBackType;} | public void Grow(){costs = ArrayUtil.Grow(costs, 1 + count);lastRightID = ArrayUtil.Grow(lastRightID, 1 + count);backPos = ArrayUtil.Grow(backPos, 1 + count);backIndex = ArrayUtil.Grow(backIndex, 1 + count);backID = ArrayUtil.Grow(backID, 1 + count);JapaneseTokenizerType[] newBackType = new JapaneseTokenizerType[backID.Length];System.Array.Copy(backType, 0, newBackType, 0, backType.Length);backType = newBackType;} |
public int get(final int index){if (index >= _limit){throw new IndexOutOfBoundsException(index + " not accessible in a list of length " + _limit);}return _array[ index ];} | public int Get(int index){if (index >= _limit){throw new IndexOutOfRangeException(index + " not accessible in a list of length " + _limit);}return _array[index];} |
public LongBuffer slice() {return new ReadWriteLongArrayBuffer(remaining(), backingArray, offset + position);} | public override java.nio.LongBuffer slice(){return new java.nio.ReadWriteLongArrayBuffer(remaining(), backingArray, offset +_position);} |
public ListProblemsResult listProblems(ListProblemsRequest request) {request = beforeClientExecution(request);return executeListProblems(request);} | public virtual ListProblemsResponse ListProblems(ListProblemsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListProblemsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListProblemsResponseUnmarshaller.Instance;return Invoke<ListProblemsResponse>(request, options);} |
public static double pmt(double r, double n, double p, double f, boolean t) {double retval = 0;if (r == 0) {retval = -1*(f+p)/n;}else {double r1 = r + 1;retval = ( f + p * Math.pow(r1, n) ) * r/((t ? r1 : 1) * (1 - Math.pow(r1, n)));}return retval;} | public static double pmt(double r, double n, double p, double f, bool t){double retval = 0;if (r == 0){retval = -1 * (f + p) / n;}else{double r1 = r + 1;retval = (f + p * Math.Pow(r1, n)) * r/((t ? r1 : 1) * (1 - Math.Pow(r1, n)));}return retval;} |
public PrintGridlinesRecord clone() {return copy();} | public override Object Clone(){PrintGridlinesRecord rec = new PrintGridlinesRecord();rec.field_1_print_gridlines = field_1_print_gridlines;return rec;} |
public HSSFCellStyle getColumnStyle(int column) {short styleIndex = _sheet.getXFIndexForColAt((short) column);if (styleIndex == 0xf) {return null;}ExtendedFormatRecord xf = _book.getExFormatAt(styleIndex);return new HSSFCellStyle(styleIndex, xf, _book);} | public NPOI.SS.UserModel.ICellStyle GetColumnStyle(int column){short styleIndex = _sheet.GetXFIndexForColAt((short)column);if (styleIndex == 0xf){return null;}ExtendedFormatRecord xf = book.GetExFormatAt(styleIndex);return new HSSFCellStyle(styleIndex, xf, book);} |
public Query makeLuceneQueryField(String fieldName, BasicQueryFactory qf){Query q = makeLuceneQueryFieldNoBoost(fieldName, qf);if (isWeighted()) {q = new BoostQuery(q, getWeight()); }return q;} | public virtual Search.Query MakeLuceneQueryField(string fieldName, BasicQueryFactory qf){Search.Query q = MakeLuceneQueryFieldNoBoost(fieldName, qf);if (IsWeighted){q.Boost=(Weight * q.Boost); }return q;} |
public double getPrecisionAt(int n) {if (n<1 || n>MAX_POINTS) {throw new IllegalArgumentException("n="+n+" - but it must be in [1,"+MAX_POINTS+"] range!");}if (n>numPoints) {return (numPoints * pAt[(int)numPoints])/n;}return pAt[n];} | public virtual double GetPrecisionAt(int n){if (n < 1 || n > MAX_POINTS){throw new ArgumentException("n=" + n + " - but it must be in [1," + MAX_POINTS + "] range!");}if (n > numPoints){return (numPoints * pAt[(int)numPoints]) / n;}return pAt[n];} |
public DescribeEngineDefaultParametersRequest(String dBParameterGroupFamily) {setDBParameterGroupFamily(dBParameterGroupFamily);} | public DescribeEngineDefaultParametersRequest(string dbParameterGroupFamily){_dbParameterGroupFamily = dbParameterGroupFamily;} |
public DeleteClientCertificateResult deleteClientCertificate(DeleteClientCertificateRequest request) {request = beforeClientExecution(request);return executeDeleteClientCertificate(request);} | public virtual DeleteClientCertificateResponse DeleteClientCertificate(DeleteClientCertificateRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteClientCertificateRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteClientCertificateResponseUnmarshaller.Instance;return Invoke<DeleteClientCertificateResponse>(request, options);} |
public int compareTo(CharBuffer otherBuffer) {int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining(): otherBuffer.remaining();int thisPos = position;int otherPos = otherBuffer.position;char thisByte, otherByte;while (compareRemaining > 0) {thisByte = get(thisPos);otherByte = otherBuffer.get(otherPos);if (thisByte != otherByte) {return thisByte < otherByte ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();} | public virtual int compareTo(java.nio.CharBuffer otherBuffer){int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() : otherBuffer.remaining();int thisPos = _position;int otherPos = otherBuffer._position;char thisByte;char otherByte;while (compareRemaining > 0){thisByte = get(thisPos);otherByte = otherBuffer.get(otherPos);if (thisByte != otherByte){return thisByte < otherByte ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();} |
public byte readByte(){return _in.readByte();} | public int ReadByte(){return _in.ReadByte();} |
public SendBounceResult sendBounce(SendBounceRequest request) {request = beforeClientExecution(request);return executeSendBounce(request);} | public virtual SendBounceResponse SendBounce(SendBounceRequest request){var options = new InvokeOptions();options.RequestMarshaller = SendBounceRequestMarshaller.Instance;options.ResponseUnmarshaller = SendBounceResponseUnmarshaller.Instance;return Invoke<SendBounceResponse>(request, options);} |
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0,ValueEval arg1) {double dn;try {ValueEval ve1 = OperandResolver.getSingleValue(arg1, srcRowIndex, srcColumnIndex);dn = OperandResolver.coerceValueToDouble(ve1);} catch (EvaluationException e1) {return ErrorEval.VALUE_INVALID;}if (dn < 0 || dn > 1) { return ErrorEval.NUM_ERROR;}double result;try {double[] ds = ValueCollector.collectValues(arg0);int N = ds.length;if (N == 0 || N > 8191) {return ErrorEval.NUM_ERROR;}double n = (N - 1) * dn + 1;if (n == 1d) {result = StatsLib.kthSmallest(ds, 1);} else if (Double.compare(n, N) == 0) {result = StatsLib.kthLargest(ds, 1);} else {int k = (int) n;double d = n - k;result = StatsLib.kthSmallest(ds, k) + d* (StatsLib.kthSmallest(ds, k + 1) - StatsLib.kthSmallest(ds, k));}NumericFunction.checkValue(result);} catch (EvaluationException e) {return e.getErrorEval();}return new NumberEval(result);} | public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0,ValueEval arg1){double dn;try{ValueEval ve1 = OperandResolver.GetSingleValue(arg1, srcRowIndex, srcColumnIndex);dn = OperandResolver.CoerceValueToDouble(ve1);}catch (EvaluationException){return ErrorEval.VALUE_INVALID;}if (dn < 0 || dn > 1){ return ErrorEval.NUM_ERROR;}double result;try{double[] ds = NPOI.SS.Formula.Functions.AggregateFunction.ValueCollector.CollectValues(arg0);int N = ds.Length;if (N == 0 || N > 8191){return ErrorEval.NUM_ERROR;}double n = (N - 1) * dn + 1;if (n == 1d){result = StatsLib.kthSmallest(ds, 1);}else if (n == N){result = StatsLib.kthLargest(ds, 1);}else{int k = (int)n;double d = n - k;result = StatsLib.kthSmallest(ds, k) + d* (StatsLib.kthSmallest(ds, k + 1) - StatsLib.kthSmallest(ds, k));}NumericFunction.CheckValue(result);}catch (EvaluationException e){return e.GetErrorEval();}return new NumberEval(result);} |
public int getIndexOfFormattingRun(int index) {FormatRun r = _string.getFormatRun(index);return r.getCharacterPos();} | public int GetIndexOfFormattingRun(int index){UnicodeString.FormatRun r = _string.GetFormatRun(index);return r.CharacterPos;} |
public void getEntryObjectId(MutableObjectId out) {out.fromRaw(idBuffer(), idOffset());} | public virtual void GetEntryObjectId(MutableObjectId @out){@out.FromRaw(IdBuffer, IdOffset);} |
public static byte[] grow(byte[] array, int minSize) {assert minSize >= 0: "size must be positive (got " + minSize + "): likely integer overflow?";if (array.length < minSize) {return growExact(array, oversize(minSize, Byte.BYTES));} else return array;} | public static float[] Grow(float[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){float[] newArray = new float[Oversize(minSize, RamUsageEstimator.NUM_BYTES_SINGLE)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}} |
public boolean get(String name, boolean dflt) {boolean vals[] = (boolean[]) valByRound.get(name);if (vals != null) {return vals[roundNumber % vals.length];}String sval = props.getProperty(name, "" + dflt);if (sval.indexOf(":") < 0) {return Boolean.valueOf(sval).booleanValue();}int k = sval.indexOf(":");String colName = sval.substring(0, k);sval = sval.substring(k + 1);colForValByRound.put(name, colName);vals = propToBooleanArray(sval);valByRound.put(name, vals);return vals[roundNumber % vals.length];} | public virtual string Get(string name, string dflt){string[] vals;object temp;if (valByRound.TryGetValue(name, out temp) && temp != null){vals = (string[])temp;return vals[roundNumber % vals.Length];}string sval;if (!props.TryGetValue(name, out sval)){sval = dflt;}if (sval == null){return null;}if (sval.IndexOf(':') < 0){return sval;}else if (sval.IndexOf(":\\", StringComparison.Ordinal) >= 0 || sval.IndexOf(":/", StringComparison.Ordinal) >= 0){return sval;}int k = sval.IndexOf(':');string colName = sval.Substring(0, k - 0);sval = sval.Substring(k + 1);colForValByRound[name] = colName;vals = PropToStringArray(sval);valByRound[name] = vals;return vals[roundNumber % vals.Length];} |
public GroupingSearch setCaching(int maxDocsToCache, boolean cacheScores) {this.maxDocsToCache = maxDocsToCache;this.maxCacheRAMMB = null;this.cacheScores = cacheScores;return this;} | public virtual GroupingSearch SetCaching(int maxDocsToCache, bool cacheScores){this.maxDocsToCache = maxDocsToCache;this.maxCacheRAMMB = null;this.cacheScores = cacheScores;return this;} |
public boolean isValidTermOrPhrase( final List<TermInfo> phraseCandidate ){if( !terminal ) return false;if( phraseCandidate.size() == 1 ) return true;int pos = phraseCandidate.get( 0 ).getPosition();for( int i = 1; i < phraseCandidate.size(); i++ ){int nextPos = phraseCandidate.get( i ).getPosition();if( Math.abs( nextPos - pos - 1 ) > slop ) return false;pos = nextPos;}return true;} | public virtual bool IsValidTermOrPhrase(IList<TermInfo> phraseCandidate){if (!terminal) return false;if (phraseCandidate.Count == 1) return true;int pos = phraseCandidate[0].Position;for (int i = 1; i < phraseCandidate.Count; i++){int nextPos = phraseCandidate[i].Position;if (Math.Abs(nextPos - pos - 1) > slop) return false;pos = nextPos;}return true;} |
public Run startWorkflowExecution(StartWorkflowExecutionRequest request) {request = beforeClientExecution(request);return executeStartWorkflowExecution(request);} | public virtual StartWorkflowExecutionResponse StartWorkflowExecution(StartWorkflowExecutionRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartWorkflowExecutionRequestMarshaller.Instance;options.ResponseUnmarshaller = StartWorkflowExecutionResponseUnmarshaller.Instance;return Invoke<StartWorkflowExecutionResponse>(request, options);} |
public char[] nextKey() {goNext();return keys[lastPos];} | public virtual char[] NextKey(){GoNext();return outerInstance.keys[lastPos];} |
public ContainsResult contains(BytesRef value) {int hash = hashFunction.hash(value);if (hash < 0) {hash = hash * -1;}return mayContainValue(hash);} | public virtual ContainsResult Contains(BytesRef value){var hash = _hashFunction.Hash(value);if (hash < 0){hash = hash*-1;}return MayContainValue(hash);} |
public GetMethodResponseResult getMethodResponse(GetMethodResponseRequest request) {request = beforeClientExecution(request);return executeGetMethodResponse(request);} | public virtual GetMethodResponseResponse GetMethodResponse(GetMethodResponseRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMethodResponseRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMethodResponseResponseUnmarshaller.Instance;return Invoke<GetMethodResponseResponse>(request, options);} |
public void setValue(boolean value) {_value = value ? 1 : 0;_isError = false;} | public void SetValue(bool value){_value = value ? 1 : 0;_isError = false;} |
public synchronized E elementAt(int location) {if (location < elementCount) {return (E) elementData[location];}throw arrayIndexOutOfBoundsException(location, elementCount);} | public virtual E elementAt(int location){lock (this){if (location < elementCount){return (E)elementData[location];}throw arrayIndexOutOfBoundsException(location, elementCount);}} |
public void set(int index, long value) {final int o = index >>> 3;final int b = index & 7;final int shift = b << 3;blocks[o] = (blocks[o] & ~(255L << shift)) | (value << shift);} | public override void Set(int index, long value){int o = (int)((uint)index >> 3);int b = index & 7;int shift = b << 3;blocks[o] = (blocks[o] & ~(255L << shift)) | (value << shift);} |
public IterationRecord clone() {return copy();} | public override Object Clone(){return new IterationRecord(Iteration);} |
public boolean requiresCommitBody() {return a.requiresCommitBody();} | public override bool RequiresCommitBody(){return a.RequiresCommitBody();} |
public UpdateTrafficPolicyCommentResult updateTrafficPolicyComment(UpdateTrafficPolicyCommentRequest request) {request = beforeClientExecution(request);return executeUpdateTrafficPolicyComment(request);} | public virtual UpdateTrafficPolicyCommentResponse UpdateTrafficPolicyComment(UpdateTrafficPolicyCommentRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateTrafficPolicyCommentRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateTrafficPolicyCommentResponseUnmarshaller.Instance;return Invoke<UpdateTrafficPolicyCommentResponse>(request, options);} |
public UpdatePrimaryEmailAddressResult updatePrimaryEmailAddress(UpdatePrimaryEmailAddressRequest request) {request = beforeClientExecution(request);return executeUpdatePrimaryEmailAddress(request);} | public virtual UpdatePrimaryEmailAddressResponse UpdatePrimaryEmailAddress(UpdatePrimaryEmailAddressRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdatePrimaryEmailAddressRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdatePrimaryEmailAddressResponseUnmarshaller.Instance;return Invoke<UpdatePrimaryEmailAddressResponse>(request, options);} |
public static Pattern compile(String pattern) {return new Pattern(pattern, 0);} | public static java.util.regex.Pattern compile(string pattern_1){return new java.util.regex.Pattern(pattern_1, 0);} |
public static int update(int hash, int value) {final int c1 = 0xCC9E2D51;final int c2 = 0x1B873593;final int r1 = 15;final int r2 = 13;final int m = 5;final int n = 0xE6546B64;int k = value;k = k * c1;k = (k << r1) | (k >>> (32 - r1));k = k * c2;hash = hash ^ k;hash = (hash << r2) | (hash >>> (32 - r2));hash = hash * m + n;return hash;} | public static int Update(int hash, int value){int c1 = unchecked((int)(0xCC9E2D51));int c2 = unchecked((int)(0x1B873593));int r1 = 15;int r2 = 13;int m = 5;int n = unchecked((int)(0xE6546B64));int k = value;k = k * c1;k = (k << r1) | ((int)(((uint)k) >> (32 - r1)));k = k * c2;hash = hash ^ k;hash = (hash << r2) | ((int)(((uint)hash) >> (32 - r2)));hash = hash * m + n;return hash;} |
public void serialize(LittleEndianOutput out) {out.writeShort(getHorizontalHold());out.writeShort(getVerticalHold());out.writeShort(getWidth());out.writeShort(getHeight());out.writeShort(getOptions());out.writeShort(getActiveSheetIndex());out.writeShort(getFirstVisibleTab());out.writeShort(getNumSelectedTabs());out.writeShort(getTabWidthRatio());} | public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(HorizontalHold);out1.WriteShort(VerticalHold);out1.WriteShort(Width);out1.WriteShort(Height);out1.WriteShort(Options);out1.WriteShort(ActiveSheetIndex);out1.WriteShort(FirstVisibleTab);out1.WriteShort(NumSelectedTabs);out1.WriteShort(TabWidthRatio);} |
public boolean lessThan(ShardRef first, ShardRef second) {assert first != second;final FieldDoc firstFD = (FieldDoc) shardHits[first.shardIndex][first.hitIndex];final FieldDoc secondFD = (FieldDoc) shardHits[second.shardIndex][second.hitIndex];for(int compIDX=0;compIDX<comparators.length;compIDX++) {final FieldComparator comp = comparators[compIDX];final int cmp = reverseMul[compIDX] * comp.compareValues(firstFD.fields[compIDX], secondFD.fields[compIDX]);if (cmp != 0) {return cmp < 0;}}return tieBreakLessThan(first, firstFD, second, secondFD, tieBreaker);} | protected internal override bool LessThan(ShardRef first, ShardRef second){Debug.Assert(first != second);FieldDoc firstFD = (FieldDoc)shardHits[first.ShardIndex][first.HitIndex];FieldDoc secondFD = (FieldDoc)shardHits[second.ShardIndex][second.HitIndex];for (int compIDX = 0; compIDX < comparers.Length; compIDX++){FieldComparer comp = comparers[compIDX];int cmp = reverseMul[compIDX] * comp.CompareValues(firstFD.Fields[compIDX], secondFD.Fields[compIDX]);if (cmp != 0){return cmp < 0;}}if (first.ShardIndex < second.ShardIndex){return true;}else if (first.ShardIndex > second.ShardIndex){return false;}else{Debug.Assert(first.HitIndex != second.HitIndex);return first.HitIndex < second.HitIndex;}} |
public static int UTF8toUTF16(BytesRef bytesRef, char[] chars) {return UTF8toUTF16(bytesRef.bytes, bytesRef.offset, bytesRef.length, chars);} | public static void UTF8toUTF16(BytesRef bytesRef, CharsRef chars){UTF8toUTF16(bytesRef.Bytes, bytesRef.Offset, bytesRef.Length, chars);} |
public Trie optimize(Trie orig) {List<CharSequence> cmds = orig.cmds;List<Row> rows = new ArrayList<>();List<Row> orows = orig.rows;int remap[] = new int[orows.size()];Arrays.fill(remap, 1);for (int j = orows.size() - 1; j >= 0; j--) {if (eat(orows.get(j), remap)) {remap[j] = 0;}}Arrays.fill(remap, -1);rows = removeGaps(orig.root, orows, new ArrayList<Row>(), remap);return new Trie(orig.forward, remap[orig.root], cmds, rows);} | public override Trie Optimize(Trie orig){IList<string> cmds = orig.cmds;IList<Row> rows = new List<Row>();IList<Row> orows = orig.rows;int[] remap = new int[orows.Count];Arrays.Fill(remap, 1);for (int j = orows.Count - 1; j >= 0; j--){if (Eat(orows[j], remap)){remap[j] = 0;}}Arrays.Fill(remap, -1);rows = RemoveGaps(orig.root, orows, new List<Row>(), remap);return new Trie(orig.forward, remap[orig.root], cmds, rows);} |
public DataValidationConstraint createCustomConstraint(String formula) {return DVConstraint.createCustomFormulaConstraint(formula);} | public IDataValidationConstraint CreateCustomConstraint(String formula){return DVConstraint.CreateCustomFormulaConstraint(formula);} |
public ByteBuffer putInt(int index, int value) {throw new ReadOnlyBufferException();} | public override java.nio.ByteBuffer putInt(int index, int value){throw new java.nio.ReadOnlyBufferException();} |
public DescribeLoadBalancerPolicyTypesResult describeLoadBalancerPolicyTypes() {return describeLoadBalancerPolicyTypes(new DescribeLoadBalancerPolicyTypesRequest());} | public virtual DescribeLoadBalancerPolicyTypesResponse DescribeLoadBalancerPolicyTypes(){return DescribeLoadBalancerPolicyTypes(new DescribeLoadBalancerPolicyTypesRequest());} |
public NIOFSIndexInput clone() {NIOFSIndexInput clone = (NIOFSIndexInput)super.clone();clone.isClone = true;return clone;} | public override object Clone(){NIOFSIndexInput clone = (NIOFSIndexInput)base.Clone();clone.isClone = true;return clone;} |
public long getTotalSLLATNLookaheadOps() {DecisionInfo[] decisions = atnSimulator.getDecisionInfo();long k = 0;for (int i = 0; i < decisions.length; i++) {k += decisions[i].SLL_ATNTransitions;}return k;} | public long getTotalSLLATNLookaheadOps(){DecisionInfo[] decisions = atnSimulator.getDecisionInfo();long k = 0;for (int i = 0; i < decisions.Length; i++){k += decisions[i].SLL_ATNTransitions;}return k;} |
public UpdateEndpointResult updateEndpoint(UpdateEndpointRequest request) {request = beforeClientExecution(request);return executeUpdateEndpoint(request);} | public virtual UpdateEndpointResponse UpdateEndpoint(UpdateEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateEndpointResponseUnmarshaller.Instance;return Invoke<UpdateEndpointResponse>(request, options);} |
public GetEmailChannelResult getEmailChannel(GetEmailChannelRequest request) {request = beforeClientExecution(request);return executeGetEmailChannel(request);} | public virtual GetEmailChannelResponse GetEmailChannel(GetEmailChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetEmailChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = GetEmailChannelResponseUnmarshaller.Instance;return Invoke<GetEmailChannelResponse>(request, options);} |
public ListPhoneNumberOrdersResult listPhoneNumberOrders(ListPhoneNumberOrdersRequest request) {request = beforeClientExecution(request);return executeListPhoneNumberOrders(request);} | public virtual ListPhoneNumberOrdersResponse ListPhoneNumberOrders(ListPhoneNumberOrdersRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListPhoneNumberOrdersRequestMarshaller.Instance;options.ResponseUnmarshaller = ListPhoneNumberOrdersResponseUnmarshaller.Instance;return Invoke<ListPhoneNumberOrdersResponse>(request, options);} |
public UpdateBuildResult updateBuild(UpdateBuildRequest request) {request = beforeClientExecution(request);return executeUpdateBuild(request);} | public virtual UpdateBuildResponse UpdateBuild(UpdateBuildRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateBuildRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateBuildResponseUnmarshaller.Instance;return Invoke<UpdateBuildResponse>(request, options);} |
public int serialize( int offset, byte[] data, EscherSerializationListener listener ){listener.beforeRecordSerialize( offset, getRecordId(), this );LittleEndian.putShort( data, offset, getOptions() );LittleEndian.putShort( data, offset + 2, getRecordId() );int remainingBytes = 16;LittleEndian.putInt( data, offset + 4, remainingBytes );LittleEndian.putInt( data, offset + 8, field_1_rectX1 );LittleEndian.putInt( data, offset + 12, field_2_rectY1 );LittleEndian.putInt( data, offset + 16, field_3_rectX2 );LittleEndian.putInt( data, offset + 20, field_4_rectY2 );listener.afterRecordSerialize( offset + getRecordSize(), getRecordId(), offset + getRecordSize(), this );return 8 + 16;} | public override int Serialize(int offset, byte[] data, EscherSerializationListener listener){listener.BeforeRecordSerialize(offset, RecordId, this);LittleEndian.PutShort(data, offset, Options);LittleEndian.PutShort(data, offset + 2, RecordId);int remainingBytes = 16;LittleEndian.PutInt(data, offset + 4, remainingBytes);LittleEndian.PutInt(data, offset + 8, field_1_rectX1);LittleEndian.PutInt(data, offset + 12, field_2_rectY1);LittleEndian.PutInt(data, offset + 16, field_3_rectX2);LittleEndian.PutInt(data, offset + 20, field_4_rectY2);listener.AfterRecordSerialize(offset + RecordSize, RecordId, offset + RecordSize, this);return 8 + 16;} |
public CleanCommand setDryRun(boolean dryRun) {this.dryRun = dryRun;return this;} | public virtual NGit.Api.CleanCommand SetDryRun(bool dryRun){this.dryRun = dryRun;return this;} |
public DescribeClusterVersionsResult describeClusterVersions(DescribeClusterVersionsRequest request) {request = beforeClientExecution(request);return executeDescribeClusterVersions(request);} | public virtual DescribeClusterVersionsResponse DescribeClusterVersions(DescribeClusterVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClusterVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClusterVersionsResponseUnmarshaller.Instance;return Invoke<DescribeClusterVersionsResponse>(request, options);} |
public DescribeWorkspacesResult describeWorkspaces(DescribeWorkspacesRequest request) {request = beforeClientExecution(request);return executeDescribeWorkspaces(request);} | public virtual DescribeWorkspacesResponse DescribeWorkspaces(DescribeWorkspacesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeWorkspacesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeWorkspacesResponseUnmarshaller.Instance;return Invoke<DescribeWorkspacesResponse>(request, options);} |
public void copyRawTo(int[] b, int o) {b[o] = w1;b[o + 1] = w2;b[o + 2] = w3;b[o + 3] = w4;b[o + 4] = w5;} | public virtual void CopyRawTo(byte[] b, int o){NB.EncodeInt32(b, o, w1);NB.EncodeInt32(b, o + 4, w2);NB.EncodeInt32(b, o + 8, w3);NB.EncodeInt32(b, o + 12, w4);NB.EncodeInt32(b, o + 16, w5);} |
public SetStackPolicyResult setStackPolicy(SetStackPolicyRequest request) {request = beforeClientExecution(request);return executeSetStackPolicy(request);} | public virtual SetStackPolicyResponse SetStackPolicy(SetStackPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = SetStackPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = SetStackPolicyResponseUnmarshaller.Instance;return Invoke<SetStackPolicyResponse>(request, options);} |
public String toString() {StringBuilder s = new StringBuilder();append(s, oldRef, "CREATE"); s.append(' ');append(s, newRef, "DELETE"); s.append(' ').append(getRefName());s.append(' ').append(getResult());if (getMessage() != null) {s.append(' ').append(getMessage());}return s.toString();} | public override string ToString(){StringBuilder sb = new StringBuilder();sb.Append("TrackingRefUpdate[");sb.Append(remoteName);sb.Append(" -> ");sb.Append(localName);if (forceUpdate){sb.Append(" (forced)");}sb.Append(" ");sb.Append(oldObjectId == null ? string.Empty : oldObjectId.Abbreviate(7).Name);sb.Append("..");sb.Append(newObjectId == null ? string.Empty : newObjectId.Abbreviate(7).Name);sb.Append("]");return sb.ToString();} |
public short getXFAt(int coffset) {return field_3_rks[coffset].xf;} | public short GetXFAt(int coffset){return field_3_rks[coffset].xf;} |
public ByteBuffer put(byte[] src, int srcOffset, int byteCount) {Arrays.checkOffsetAndCount(src.length, srcOffset, byteCount);if (byteCount > remaining()) {throw new BufferOverflowException();}for (int i = srcOffset; i < srcOffset + byteCount; ++i) {put(src[i]);}return this;} | public virtual java.nio.ByteBuffer put(byte[] src, int srcOffset, int byteCount){java.util.Arrays.checkOffsetAndCount(src.Length, srcOffset, byteCount);if (byteCount > remaining()){throw new java.nio.BufferOverflowException();}{for (int i = srcOffset; i < srcOffset + byteCount; ++i){put(src[i]);}}return this;} |
public ReceiveMessageResult receiveMessage(String queueUrl) {return receiveMessage(new ReceiveMessageRequest().withQueueUrl(queueUrl));} | public virtual ReceiveMessageResponse ReceiveMessage(string queueUrl){var request = new ReceiveMessageRequest();request.QueueUrl = queueUrl;return ReceiveMessage(request);} |
public NativeUnixIndexInput(NativeUnixIndexInput other) throws IOException {super(other.toString());this.fis = null;channel = other.channel;this.bufferSize = other.bufferSize;buffer = ByteBuffer.allocateDirect(bufferSize);filePos = -bufferSize;bufferPos = bufferSize;isOpen = true;isClone = true;seek(other.getFilePointer());} | public NativeUnixIndexInput(NativeUnixIndexInput other) throws IOException{base(other.ToString());this.fis = null;channel = other.channel;this.bufferSize = other.bufferSize;buffer = ByteBuffer.allocateDirect(bufferSize);filePos = -bufferSize;bufferPos = bufferSize;isOpen = true;isClone = true;seek(other.FilePointer);} |
public Merger newMerger(Repository db, boolean inCore) {return new OneSide(db, treeIndex);} | public override Merger NewMerger(Repository db, bool inCore){return new StrategyOneSided.OneSide(db, treeIndex);} |
public void flush() {synchronized (lock) {if (out != null) {try {out.flush();} catch (IOException e) {setError();}} else {setError();}}} | public override void flush(){lock (@lock){if (@out != null){try{@out.flush();}catch (System.IO.IOException){setError();}}else{setError();}}} |
public DisassociateIamInstanceProfileResult disassociateIamInstanceProfile(DisassociateIamInstanceProfileRequest request) {request = beforeClientExecution(request);return executeDisassociateIamInstanceProfile(request);} | public virtual DisassociateIamInstanceProfileResponse DisassociateIamInstanceProfile(DisassociateIamInstanceProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateIamInstanceProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateIamInstanceProfileResponseUnmarshaller.Instance;return Invoke<DisassociateIamInstanceProfileResponse>(request, options);} |
public void beginTask(String title, int totalWork) {if (!isMainThread())throw new IllegalStateException();pm.beginTask(title, totalWork);} | public override void BeginTask(string title, int totalWork){if (!IsMainThread()){throw new InvalidOperationException();}pm.BeginTask(title, totalWork);} |
public void run() {try {count = task.runAndMaybeStats(letChildReport);} catch (Exception e) {throw new RuntimeException(e);}} | public override void Run(){try{count = task.RunAndMaybeStats(letChildReport);}catch (Exception e){throw new Exception(e.ToString(), e);}} |
public TokenFilter create(TokenStream input) {return new EdgeNGramTokenFilter(input, minGramSize, maxGramSize, preserveOriginal);} | public override TokenStream Create(TokenStream input){return new EdgeNGramTokenFilter(m_luceneMatchVersion, input, side, minGramSize, maxGramSize);} |
public String toString() {return "RemoteRefUpdate[remoteName="+ remoteName+ ", "+ status+ ", "+ (expectedOldObjectId != null ? expectedOldObjectId.name(): "(null)") + "..."+ (newObjectId != null ? newObjectId.name() : "(null)")+ (fastForward ? ", fastForward" : "")+ ", srcRef=" + srcRef+ (forceUpdate ? ", forceUpdate" : "") + ", message="+ (message != null ? "\"" + message + "\"" : "null") + "]";} | public override string ToString(){return "RemoteRefUpdate[remoteName=" + remoteName + ", " + status + ", " + (expectedOldObjectId!= null ? expectedOldObjectId.Name : "(null)") + "..." + (newObjectId != null ?newObjectId.Name : "(null)") + (fastForward ? ", fastForward" : string.Empty) +", srcRef=" + srcRef + (forceUpdate ? ", forceUpdate" : string.Empty) + ", message="+ (message != null ? "\"" + message + "\"" : "null") + "]";} |
public ListJournalS3ExportsResult listJournalS3Exports(ListJournalS3ExportsRequest request) {request = beforeClientExecution(request);return executeListJournalS3Exports(request);} | public virtual ListJournalS3ExportsResponse ListJournalS3Exports(ListJournalS3ExportsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListJournalS3ExportsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListJournalS3ExportsResponseUnmarshaller.Instance;return Invoke<ListJournalS3ExportsResponse>(request, options);} |
Subsets and Splits