id
int32 0
10.3k
| java
stringlengths 29
1.4k
| cs
stringlengths 28
1.38k
|
---|---|---|
9,600 | public final void setPrecedenceStartState(int precedence, DFAState startState) {if (!isPrecedenceDfa()) {throw new IllegalStateException("Only precedence DFAs may contain a precedence start state.");}if (precedence < 0) {return;}synchronized (s0) {if (precedence >= s0.edges.length) {s0.edges = Arrays.copyOf(s0.edges, precedence + 1);}s0.edges[precedence] = startState;}}
| public void SetPrecedenceStartState(int precedence, DFAState startState){if (!IsPrecedenceDfa){throw new Exception("Only precedence DFAs may contain a precedence start state.");}if (precedence < 0){return;}lock (s0){if (precedence >= s0.edges.Length){s0.edges = Arrays.CopyOf(s0.edges, precedence + 1);}s0.edges[precedence] = startState;}}
|
9,601 | public EditPhotosRequest() {super("CloudPhoto", "2017-07-11", "EditPhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
| public EditPhotosRequest(): base("CloudPhoto", "2017-07-11", "EditPhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
|
9,602 | public Builder() {PositiveIntOutputs outputs = PositiveIntOutputs.getSingleton();fstCompiler = new FSTCompiler<>(FST.INPUT_TYPE.BYTE1, outputs);scratchInts = new IntsRefBuilder();}
| public Builder(){data = new GrowableByteArrayDataOutput(128);bufferSize = 0;previousDoc = -1;indexInterval = 2;cardinality = 0;numBlocks = 0;}
|
9,603 | public DeleteFlowDefinitionResult deleteFlowDefinition(DeleteFlowDefinitionRequest request) {request = beforeClientExecution(request);return executeDeleteFlowDefinition(request);}
| public virtual DeleteFlowDefinitionResponse DeleteFlowDefinition(DeleteFlowDefinitionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteFlowDefinitionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteFlowDefinitionResponseUnmarshaller.Instance;return Invoke<DeleteFlowDefinitionResponse>(request, options);}
|
9,604 | public void setLastFailedRefreshTime() {lastFailedRefreshTime = System.currentTimeMillis();}
| public void SetLastFailedRefreshTime(){lastFailedRefreshTime = DateTime.UtcNow.Ticks;}
|
9,605 | public ModifyDBInstanceRequest(String dBInstanceIdentifier) {setDBInstanceIdentifier(dBInstanceIdentifier);}
| public ModifyDBInstanceRequest(string dbInstanceIdentifier){_dbInstanceIdentifier = dbInstanceIdentifier;}
|
9,606 | public GetTemplateSummaryResult getTemplateSummary(GetTemplateSummaryRequest request) {request = beforeClientExecution(request);return executeGetTemplateSummary(request);}
| public virtual GetTemplateSummaryResponse GetTemplateSummary(GetTemplateSummaryRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetTemplateSummaryRequestMarshaller.Instance;options.ResponseUnmarshaller = GetTemplateSummaryResponseUnmarshaller.Instance;return Invoke<GetTemplateSummaryResponse>(request, options);}
|
9,607 | public Snapshot revokeSnapshotAccess(RevokeSnapshotAccessRequest request) {request = beforeClientExecution(request);return executeRevokeSnapshotAccess(request);}
| public virtual RevokeSnapshotAccessResponse RevokeSnapshotAccess(RevokeSnapshotAccessRequest request){var options = new InvokeOptions();options.RequestMarshaller = RevokeSnapshotAccessRequestMarshaller.Instance;options.ResponseUnmarshaller = RevokeSnapshotAccessResponseUnmarshaller.Instance;return Invoke<RevokeSnapshotAccessResponse>(request, options);}
|
9,608 | public void serialize(final LittleEndianOutput out) {final int field_4_name_length = field_6_name_text.length();final int field_5_comment_length = field_7_comment_text.length();out.writeShort(field_1_record_type);out.writeShort(field_2_frt_cell_ref_flag);out.writeLong(field_3_reserved);out.writeShort(field_4_name_length);out.writeShort(field_5_comment_length);boolean isNameMultiByte = StringUtil.hasMultibyte(field_6_name_text);out.writeByte(isNameMultiByte ? 1 : 0);if (isNameMultiByte) {StringUtil.putUnicodeLE(field_6_name_text, out);} else {StringUtil.putCompressedUnicode(field_6_name_text, out);}boolean isCommentMultiByte = StringUtil.hasMultibyte(field_7_comment_text);out.writeByte(isCommentMultiByte ? 1 : 0);if (isCommentMultiByte) {StringUtil.putUnicodeLE(field_7_comment_text, out);} else {StringUtil.putCompressedUnicode(field_7_comment_text, out);}}
| public override void Serialize(ILittleEndianOutput out1){int field_4_name_length = field_6_name_text.Length;int field_5_comment_length = field_7_comment_text.Length;out1.WriteShort(field_1_record_type);out1.WriteShort(field_2_frt_cell_ref_flag);out1.WriteLong(field_3_reserved);out1.WriteShort(field_4_name_length);out1.WriteShort(field_5_comment_length);out1.WriteByte(0);StringUtil.PutCompressedUnicode(field_6_name_text,out1);out1.WriteByte(0);StringUtil.PutCompressedUnicode(field_7_comment_text, out1);}
|
9,609 | public StartProjectVersionResult startProjectVersion(StartProjectVersionRequest request) {request = beforeClientExecution(request);return executeStartProjectVersion(request);}
| public virtual StartProjectVersionResponse StartProjectVersion(StartProjectVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartProjectVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = StartProjectVersionResponseUnmarshaller.Instance;return Invoke<StartProjectVersionResponse>(request, options);}
|
9,610 | public MoPenDeleteGroupMemberRequest() {super("MoPen", "2018-02-11", "MoPenDeleteGroupMember", "mopen");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}
| public MoPenDeleteGroupMemberRequest(): base("MoPen", "2018-02-11", "MoPenDeleteGroupMember", "mopen", "openAPI"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}
|
9,611 | public synchronized int getMax() {return mMax;}
| public virtual int getMax(){lock (this){return mMax;}}
|
9,612 | public DiffCommand setSourcePrefix(String sourcePrefix) {this.sourcePrefix = sourcePrefix;return this;}
| public virtual NGit.Api.DiffCommand SetSourcePrefix(string sourcePrefix){this.sourcePrefix = sourcePrefix;return this;}
|
9,613 | public CreateFlowLogsResult createFlowLogs(CreateFlowLogsRequest request) {request = beforeClientExecution(request);return executeCreateFlowLogs(request);}
| public virtual CreateFlowLogsResponse CreateFlowLogs(CreateFlowLogsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateFlowLogsRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateFlowLogsResponseUnmarshaller.Instance;return Invoke<CreateFlowLogsResponse>(request, options);}
|
9,614 | public void writeString(String text, int numberOfRichTextRuns, int extendedDataSize) {boolean is16bitEncoded = StringUtil.hasMultibyte(text);int keepTogetherSize = 2 + 1 + 1; int optionFlags = 0x00;if (is16bitEncoded) {optionFlags |= 0x01;keepTogetherSize += 1; }if (numberOfRichTextRuns > 0) {optionFlags |= 0x08;keepTogetherSize += 2;}if (extendedDataSize > 0) {optionFlags |= 0x04;keepTogetherSize += 4;}writeContinueIfRequired(keepTogetherSize);writeShort(text.length());writeByte(optionFlags);if (numberOfRichTextRuns > 0) {writeShort(numberOfRichTextRuns);}if (extendedDataSize > 0) {writeInt(extendedDataSize);}writeCharacterData(text, is16bitEncoded);}
| public void WriteString(String text, int numberOfRichTextRuns, int extendedDataSize){bool is16bitEncoded = StringUtil.HasMultibyte(text);int keepTogetherSize = 2 + 1 + 1; int optionFlags = 0x00;if (is16bitEncoded){optionFlags |= 0x01;keepTogetherSize += 1; }if (numberOfRichTextRuns > 0){optionFlags |= 0x08;keepTogetherSize += 2;}if (extendedDataSize > 0){optionFlags |= 0x04;keepTogetherSize += 4;}WriteContinueIfRequired(keepTogetherSize);WriteShort(text.Length);WriteByte(optionFlags);if (numberOfRichTextRuns > 0){WriteShort(numberOfRichTextRuns);}if (extendedDataSize > 0){WriteInt(extendedDataSize);}WriteCharacterData(text, is16bitEncoded);}
|
9,615 | public String toFormulaString(String[] operands) {StringBuilder buf = new StringBuilder();if(isExternalFunction()) {buf.append(operands[0]); appendArgs(buf, 1, operands);} else {buf.append(getName());appendArgs(buf, 0, operands);}return buf.toString();}
| public override String ToFormulaString(String[] operands){StringBuilder buf = new StringBuilder();if (IsExternalFunction){buf.Append(operands[0]); AppendArgs(buf, 1, operands);}else{buf.Append(Name);AppendArgs(buf, 0, operands);}return buf.ToString();}
|
9,616 | public DetectStackDriftResult detectStackDrift(DetectStackDriftRequest request) {request = beforeClientExecution(request);return executeDetectStackDrift(request);}
| public virtual DetectStackDriftResponse DetectStackDrift(DetectStackDriftRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectStackDriftRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectStackDriftResponseUnmarshaller.Instance;return Invoke<DetectStackDriftResponse>(request, options);}
|
9,617 | public ObjectId idFor(TreeFormatter formatter) {return delegate().idFor(formatter);}
| public override ObjectId IdFor(TreeFormatter formatter){return Delegate().IdFor(formatter);}
|
9,618 | public CharSequence toQueryString(EscapeQuerySyntax escaper) {if (isDefaultField(this.field)) {return getTermEscaped(escaper);} else {return this.field + ":" + getTermEscaped(escaper);}}
| public override string ToQueryString(IEscapeQuerySyntax escaper){if (IsDefaultField(this.m_field)){return GetTermEscaped(escaper);}else{return this.m_field + ":" + GetTermEscaped(escaper);}}
|
9,619 | public RenderUiTemplateResult renderUiTemplate(RenderUiTemplateRequest request) {request = beforeClientExecution(request);return executeRenderUiTemplate(request);}
| public virtual RenderUiTemplateResponse RenderUiTemplate(RenderUiTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = RenderUiTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = RenderUiTemplateResponseUnmarshaller.Instance;return Invoke<RenderUiTemplateResponse>(request, options);}
|
9,620 | public final LongBuffer asLongBuffer() {return LongToByteBufferAdapter.asLongBuffer(this);}
| public sealed override java.nio.LongBuffer asLongBuffer(){return java.nio.LongToByteBufferAdapter.asLongBuffer(this);}
|
9,621 | public DescribeLimitsResult describeLimits(DescribeLimitsRequest request) {request = beforeClientExecution(request);return executeDescribeLimits(request);}
| public virtual DescribeLimitsResponse DescribeLimits(DescribeLimitsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLimitsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLimitsResponseUnmarshaller.Instance;return Invoke<DescribeLimitsResponse>(request, options);}
|
9,622 | public DescribeAssessmentTargetsResult describeAssessmentTargets(DescribeAssessmentTargetsRequest request) {request = beforeClientExecution(request);return executeDescribeAssessmentTargets(request);}
| public virtual DescribeAssessmentTargetsResponse DescribeAssessmentTargets(DescribeAssessmentTargetsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAssessmentTargetsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAssessmentTargetsResponseUnmarshaller.Instance;return Invoke<DescribeAssessmentTargetsResponse>(request, options);}
|
9,623 | public DeleteClientVpnRouteResult deleteClientVpnRoute(DeleteClientVpnRouteRequest request) {request = beforeClientExecution(request);return executeDeleteClientVpnRoute(request);}
| public virtual DeleteClientVpnRouteResponse DeleteClientVpnRoute(DeleteClientVpnRouteRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteClientVpnRouteRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteClientVpnRouteResponseUnmarshaller.Instance;return Invoke<DeleteClientVpnRouteResponse>(request, options);}
|
9,624 | public RebaseCommand setUpstream(AnyObjectId upstream) {try {this.upstreamCommit = walk.parseCommit(upstream);this.upstreamCommitName = upstream.name();} catch (IOException e) {throw new JGitInternalException(MessageFormat.format(JGitText.get().couldNotReadObjectWhileParsingCommit,upstream.name()), e);}return this;}
| public virtual NGit.Api.RebaseCommand SetUpstream(AnyObjectId upstream){try{this.upstreamCommit = walk.ParseCommit(upstream);this.upstreamCommitName = upstream.Name;}catch (IOException e){throw new JGitInternalException(MessageFormat.Format(JGitText.Get().couldNotReadObjectWhileParsingCommit, upstream.Name), e);}return this;}
|
9,625 | public Collection<ChildScorable> getChildren() {return Collections.singleton(new ChildScorable(in, "CACHED"));}
| public override ICollection<ChildScorer> GetChildren(){return new[] { new ChildScorer(scorer, "CACHED") };}
|
9,626 | public synchronized String substring(int start) {return super.substring(start);}
| public override string substring(int start){lock (this){return base.substring(start);}}
|
9,627 | public static double sum(double[] values) {double sum = 0;for (double value : values) {sum += value;}return sum;}
| public static double Sum(double[] values){double sum = 0;for (int i = 0, iSize = values.Length; i < iSize; i++){sum += values[i];}return sum;}
|
9,628 | public static BlankRecord[] convertBlankRecords(MulBlankRecord mbk) {BlankRecord[] mulRecs = new BlankRecord[mbk.getNumColumns()];for (int k = 0; k < mbk.getNumColumns(); k++) {BlankRecord br = new BlankRecord();br.setColumn((short) (k + mbk.getFirstColumn()));br.setRow(mbk.getRow());br.setXFIndex(mbk.getXFAt(k));mulRecs[k] = br;}return mulRecs;}
| public static BlankRecord[] ConvertBlankRecords(MulBlankRecord mbk){BlankRecord[] mulRecs = new BlankRecord[mbk.NumColumns];for (int k = 0; k < mbk.NumColumns; k++){BlankRecord br = new BlankRecord();br.Column = k + mbk.FirstColumn;br.Row = mbk.Row;br.XFIndex = mbk.GetXFAt(k);mulRecs[k] = br;}return mulRecs;}
|
9,629 | public DeregisterDBProxyTargetsResult deregisterDBProxyTargets(DeregisterDBProxyTargetsRequest request) {request = beforeClientExecution(request);return executeDeregisterDBProxyTargets(request);}
| public virtual DeregisterDBProxyTargetsResponse DeregisterDBProxyTargets(DeregisterDBProxyTargetsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeregisterDBProxyTargetsRequestMarshaller.Instance;options.ResponseUnmarshaller = DeregisterDBProxyTargetsResponseUnmarshaller.Instance;return Invoke<DeregisterDBProxyTargetsResponse>(request, options);}
|
9,630 | public SummaryInformation(final PropertySet ps) throws UnexpectedPropertySetTypeException {super(ps);if (!isSummaryInformation()) {throw new UnexpectedPropertySetTypeException("Not a " + getClass().getName());}}
| public SummaryInformation(PropertySet ps): base(ps){if (!IsSummaryInformation)throw new UnexpectedPropertySetTypeException("Not a "+ GetType().Name);}
|
9,631 | public void setCredentialsProvider(AlibabaCloudCredentialsProvider credentialsProvider) {if (credential != null) {return;}credential = new CredentialsBackupCompatibilityAdaptor(credentialsProvider);}
| public void SetCredentialsProvider(AlibabaCloudCredentialsProvider credentialsProvider){if (_credential != null){return;}_credential = new CredentialsBackupCompatibilityAdaptor(credentialsProvider);}
|
9,632 | public CharArrayReader(char[] buf, int offset, int length) {if (offset < 0 || offset > buf.length || length < 0 || offset + length < 0) {throw new IllegalArgumentException();}this.buf = buf;this.pos = offset;this.markedPos = offset;int bufferLength = buf.length;this.count = offset + length < bufferLength ? length : bufferLength;}
| public CharArrayReader(char[] buf, int offset, int length){if (offset < 0 || offset > buf.Length || length < 0 || offset + length < 0){throw new System.ArgumentException();}this.buf = buf;this.pos = offset;this.markedPos = offset;int bufferLength = buf.Length;this.count = offset + length < bufferLength ? length : bufferLength;}
|
9,633 | public Object getProperty(final long id) {wasNull = !properties.containsKey(id);return (wasNull) ? null : properties.get(id).getValue();}
| public virtual Object GetProperty(long id){wasNull = false;for (int i = 0; i < properties.Length; i++)if (id == properties[i].ID)return properties[i].Value;wasNull = true;return null;}
|
9,634 | public BufferedOutputStream(OutputStream out, int size) {super(out);if (size <= 0) {throw new IllegalArgumentException("size <= 0");}buf = new byte[size];}
| public BufferedOutputStream(java.io.OutputStream @out, int size) : base(@out){if (size <= 0){throw new System.ArgumentException("size <= 0");}buf = new byte[size];}
|
9,635 | public AuthorizeDBSecurityGroupIngressRequest(String dBSecurityGroupName) {setDBSecurityGroupName(dBSecurityGroupName);}
| public AuthorizeDBSecurityGroupIngressRequest(string dbSecurityGroupName){_dbSecurityGroupName = dbSecurityGroupName;}
|
9,636 | public ArrayDataSource(T[] elements) {this.elements = elements.clone();}
| public ArrayDataSource(T[] elements) {this.elements = elements;}
|
9,637 | public CreateDeploymentResult createDeployment(CreateDeploymentRequest request) {request = beforeClientExecution(request);return executeCreateDeployment(request);}
| public virtual CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance;return Invoke<CreateDeploymentResponse>(request, options);}
|
9,638 | public final int getInt() {int newPosition = position + SizeOf.INT;if (newPosition > limit) {throw new BufferUnderflowException();}int result = Memory.peekInt(backingArray, offset + position, order);position = newPosition;return result;}
| public sealed override int getInt(){int newPosition = _position + libcore.io.SizeOf.INT;if (newPosition > _limit){throw new java.nio.BufferUnderflowException();}int result = libcore.io.Memory.peekInt(backingArray, offset + _position, _order);_position = newPosition;return result;}
|
9,639 | public DeleteTransitGatewayRouteResult deleteTransitGatewayRoute(DeleteTransitGatewayRouteRequest request) {request = beforeClientExecution(request);return executeDeleteTransitGatewayRoute(request);}
| public virtual DeleteTransitGatewayRouteResponse DeleteTransitGatewayRoute(DeleteTransitGatewayRouteRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTransitGatewayRouteRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTransitGatewayRouteResponseUnmarshaller.Instance;return Invoke<DeleteTransitGatewayRouteResponse>(request, options);}
|
9,640 | public ListMultipartUploadsRequest(String bucketName) {this.bucketName = bucketName;}
| public ListMultipartUploadsRequest(string vaultName){_vaultName = vaultName;}
|
9,641 | public float score(float freq, long norm) {return (float) SimilarityBase.this.score(stats, freq, getLengthValue(norm));}
| public override float Score(int doc, float freq){return outerInstance.Score(stats, freq, norms == null ? 1F : outerInstance.DecodeNormValue((byte)norms.Get(doc)));}
|
9,642 | public char next() {if (offset >= (end - 1)) {offset = end;return DONE;}return string.charAt(++offset);}
| public char next(){if (offset >= (end - 1)){offset = end;return java.text.CharacterIteratorClass.DONE;}return @string[++offset];}
|
9,643 | public CherryPickResult(RevCommit newHead, List<Ref> cherryPickedRefs) {this.status = CherryPickStatus.OK;this.newHead = newHead;this.cherryPickedRefs = cherryPickedRefs;this.failingPaths = null;}
| public CherryPickResult(RevCommit newHead, IList<Ref> cherryPickedRefs){this.status = CherryPickResult.CherryPickStatus.OK;this.newHead = newHead;this.cherryPickedRefs = cherryPickedRefs;this.failingPaths = null;}
|
9,644 | public static Token newToken(int ofKind){return newToken(ofKind, null);}
| public static Token NewToken(int ofKind){return NewToken(ofKind, null);}
|
9,645 | public HSSFClientAnchor getPreferredSize(double scale){return getPreferredSize(scale, scale);}
| public IClientAnchor GetPreferredSize(double scale){return GetPreferredSize(scale, scale);}
|
9,646 | public UpdateInstanceRequest() {super("Ots", "2016-06-20", "UpdateInstance", "ots");setMethod(MethodType.POST);}
| public UpdateInstanceRequest(): base("Ots", "2016-06-20", "UpdateInstance", "ots", "openAPI"){Method = MethodType.POST;}
|
9,647 | public ByteBuffer putInt(int index, int value) {checkIndex(index, SizeOf.INT);Memory.pokeInt(backingArray, offset + index, value, order);return this;}
| public override java.nio.ByteBuffer putInt(int index, int value){checkIndex(index, libcore.io.SizeOf.INT);libcore.io.Memory.pokeInt(backingArray, offset + index, value, _order);return this;}
|
9,648 | public byte[] serialize() {int size = getDataSize() + 4;ByteArrayOutputStream baos = new ByteArrayOutputStream(size);serialize(new LittleEndianOutputStream(baos));if (baos.size() != size) {throw new RuntimeException("write size mismatch");}return baos.toByteArray();}
| public byte[] Serialize(){int size = DataSize + 4;using (MemoryStream baos = new MemoryStream(size)){Serialize(new LittleEndianOutputStream(baos));if (baos.Length != size){throw new Exception("write size mismatch");}return baos.ToArray();}}
|
9,649 | public GetFieldLevelEncryptionProfileResult getFieldLevelEncryptionProfile(GetFieldLevelEncryptionProfileRequest request) {request = beforeClientExecution(request);return executeGetFieldLevelEncryptionProfile(request);}
| public virtual GetFieldLevelEncryptionProfileResponse GetFieldLevelEncryptionProfile(GetFieldLevelEncryptionProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetFieldLevelEncryptionProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = GetFieldLevelEncryptionProfileResponseUnmarshaller.Instance;return Invoke<GetFieldLevelEncryptionProfileResponse>(request, options);}
|
9,650 | public void serialize(LittleEndianOutput out) {out.writeShort(field_1_number_of_sheets);if(isExternalReferences()) {StringUtil.writeUnicodeString(out, field_2_encoded_url);for (String field_3_sheet_name : field_3_sheet_names) {StringUtil.writeUnicodeString(out, field_3_sheet_name);}} else {int field2val = _isAddInFunctions ? TAG_ADD_IN_FUNCTIONS : TAG_INTERNAL_REFERENCES;out.writeShort(field2val);}}
| public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_number_of_sheets);if (IsExternalReferences){StringUtil.WriteUnicodeString(out1, field_2_encoded_url);for (int i = 0; i < field_3_sheet_names.Length; i++){StringUtil.WriteUnicodeString(out1, field_3_sheet_names[i]);}}else{int field2val = _isAddInFunctions ? TAG_ADD_IN_FUNCTIONS : TAG_INTERNAL_REFERENCES;out1.WriteShort(field2val);}}
|
9,651 | public BitsSlice(Bits parent, ReaderSlice slice) {this.parent = parent;this.start = slice.start;this.length = slice.length;assert length >= 0: "length=" + length;}
| public BitsSlice(IBits parent, ReaderSlice slice){this.parent = parent;this.start = slice.Start;this.length = slice.Length;Debug.Assert(length >= 0, "length=" + length);}
|
9,652 | public void removeName(Name name) {int index = getNameIndex((HSSFName) name);removeName(index);}
| public void RemoveName(int index){names.RemoveAt(index);workbook.RemoveName(index);}
|
9,653 | public ListConfigurationRevisionsResult listConfigurationRevisions(ListConfigurationRevisionsRequest request) {request = beforeClientExecution(request);return executeListConfigurationRevisions(request);}
| public virtual ListConfigurationRevisionsResponse ListConfigurationRevisions(ListConfigurationRevisionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListConfigurationRevisionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListConfigurationRevisionsResponseUnmarshaller.Instance;return Invoke<ListConfigurationRevisionsResponse>(request, options);}
|
9,654 | public ObjectStream openStream() {return new ObjectStream.SmallStream(this);}
| public override ObjectStream OpenStream(){return new ObjectStream.SmallStream(this);}
|
9,655 | public boolean delete() {return directory.delete();}
| public bool Delete(){return directory.Delete();}
|
9,656 | public void clear(){_limit = 0;}
| public void Clear(){_limit = 0;}
|
9,657 | public void setMaxObjectSizeLimit(long limit) {maxObjectSizeLimit = limit;}
| public virtual void SetMaxObjectSizeLimit(long limit){maxObjectSizeLimit = limit;}
|
9,658 | public DescribeEventSubscriptionsResult describeEventSubscriptions(DescribeEventSubscriptionsRequest request) {request = beforeClientExecution(request);return executeDescribeEventSubscriptions(request);}
| public virtual DescribeEventSubscriptionsResponse DescribeEventSubscriptions(DescribeEventSubscriptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeEventSubscriptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeEventSubscriptionsResponseUnmarshaller.Instance;return Invoke<DescribeEventSubscriptionsResponse>(request, options);}
|
9,659 | public boolean startEvaluate(FormulaCellCacheEntry cce) {if (cce == null) {throw new IllegalArgumentException("cellLoc must not be null");}if (_currentlyEvaluatingCells.contains(cce)) {return false;}_currentlyEvaluatingCells.add(cce);_evaluationFrames.add(new CellEvaluationFrame(cce));return true;}
| public bool StartEvaluate(FormulaCellCacheEntry cce){if (cce == null){throw new ArgumentException("cellLoc must not be null");}if (_currentlyEvaluatingCells.Contains(cce)){return false;}_currentlyEvaluatingCells.Add(cce);_evaluationFrames.Add(new CellEvaluationFrame(cce));return true;}
|
9,660 | public void serialize(LittleEndianOutput out) {out.writeShort(sid);out.writeShort(_cbFContinued);if (_linkPtg == null) {out.writeShort(0);} else {int formulaSize = _linkPtg.getSize();int linkSize = formulaSize + 6;if (_unknownPostFormulaByte != null) {linkSize++;}out.writeShort(linkSize);out.writeShort(formulaSize);out.writeInt(_unknownPreFormulaInt);_linkPtg.write(out);if (_unknownPostFormulaByte != null) {out.writeByte(_unknownPostFormulaByte.intValue());}}out.writeShort(_cLines);out.writeShort(_iSel);out.writeShort(_flags);out.writeShort(_idEdit);if(_dropData != null) {_dropData.serialize(out);}if(_rgLines != null) {for(String str : _rgLines){StringUtil.writeUnicodeString(out, str);}}if(_bsels != null) {for(boolean val : _bsels){out.writeByte(val ? 1 : 0);}}}
| public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(sid);out1.WriteShort(_cbFContinued); if (_linkPtg == null){out1.WriteShort(0);}else{int formulaSize = _linkPtg.Size;int linkSize = formulaSize + 6;if (_unknownPostFormulaByte != null){linkSize++;}out1.WriteShort(linkSize);out1.WriteShort(formulaSize);out1.WriteInt(_unknownPreFormulaInt);_linkPtg.Write(out1);if (_unknownPostFormulaByte != null){out1.WriteByte(Convert.ToByte(_unknownPostFormulaByte, CultureInfo.InvariantCulture));}}out1.WriteShort(_cLines);out1.WriteShort(_iSel);out1.WriteShort(_flags);out1.WriteShort(_idEdit);if (_dropData != null){_dropData.Serialize(out1);}if (_rgLines != null){foreach (String str in _rgLines){StringUtil.WriteUnicodeString(out1, str);}}if (_bsels != null){foreach (bool val in _bsels){out1.WriteByte(val ? 1 : 0);}}}
|
9,661 | public void remove(int el) {if ( readonly ) throw new IllegalStateException("can't alter readonly IntervalSet");int n = intervals.size();for (int i = 0; i < n; i++) {Interval I = intervals.get(i);int a = I.a;int b = I.b;if ( el<a ) {break; }if ( el==a && el==b ) {intervals.remove(i);break;}if ( el==a ) {I.a++;break;}if ( el==b ) {I.b--;break;}if ( el>a && el<b ) { int oldb = I.b;I.b = el-1; add(el+1, oldb); }}}
| public virtual void Remove(int el){if (@readonly){throw new InvalidOperationException("can't alter readonly IntervalSet");}int n = intervals.Count;for (int i = 0; i < n; i++){Interval I = intervals[i];int a = I.a;int b = I.b;if (el < a){break;}if (el == a && el == b){intervals.RemoveAt(i);break;}if (el == a){intervals[i] = Interval.Of(I.a + 1, I.b);break;}if (el == b){intervals[i] = Interval.Of(I.a, I.b - 1);break;}if (el > a && el < b){int oldb = I.b;intervals[i] = Interval.Of(I.a, el - 1);Add(el + 1, oldb);}}}
|
9,662 | public IntegerList toIntegerList() {IntegerList values = new IntegerList(size());int n = intervals.size();for (int i = 0; i < n; i++) {Interval I = intervals.get(i);int a = I.a;int b = I.b;for (int v=a; v<=b; v++) {values.add(v);}}return values;}
| public virtual ArrayList<int> ToIntegerList(){ArrayList<int> values = new ArrayList<int>(Count);int n = intervals.Count;for (int i = 0; i < n; i++){Interval I = intervals[i];int a = I.a;int b = I.b;for (int v = a; v <= b; v++){values.Add(v);}}return values;}
|
9,663 | @Override public void clear() {AbstractMultimap.this.clear();}
| public override void clear(){this._enclosing.clear();}
|
9,664 | public CharsRef pullNext() {assert upto < count;lastEndOffset = endOffsets[upto];lastPosLength = posLengths[upto];final CharsRefBuilder result = outputs[upto++];posIncr = 0;if (upto == count) {reset();}return result.get();}
| public virtual CharsRef PullNext(){Debug.Assert(upto < count);lastEndOffset = endOffsets[upto];lastPosLength = posLengths[upto];CharsRef result = outputs[upto++];posIncr = 0;if (upto == count){Reset();}return result;}
|
9,665 | public FSTTermsWriter(SegmentWriteState state, PostingsWriterBase postingsWriter) throws IOException {final String termsFileName = IndexFileNames.segmentFileName(state.segmentInfo.name, state.segmentSuffix, TERMS_EXTENSION);this.postingsWriter = postingsWriter;this.fieldInfos = state.fieldInfos;this.out = state.directory.createOutput(termsFileName, state.context);this.maxDoc = state.segmentInfo.maxDoc();boolean success = false;try {CodecUtil.writeIndexHeader(out, TERMS_CODEC_NAME, TERMS_VERSION_CURRENT,state.segmentInfo.getId(), state.segmentSuffix);this.postingsWriter.init(out, state);success = true;} finally {if (!success) {IOUtils.closeWhileHandlingException(out);}}}
| public FSTTermsWriter(SegmentWriteState state, PostingsWriterBase postingsWriter){var termsFileName = IndexFileNames.SegmentFileName(state.SegmentInfo.Name, state.SegmentSuffix,TERMS_EXTENSION);_postingsWriter = postingsWriter;_fieldInfos = state.FieldInfos;_output = state.Directory.CreateOutput(termsFileName, state.Context);var success = false;try{WriteHeader(_output);_postingsWriter.Init(_output);success = true;}finally{if (!success){IOUtils.DisposeWhileHandlingException(_output);}}}
|
9,666 | public int compareTo(Cell other) {return Double.compare(distanceSortKey, other.distanceSortKey);}
| public virtual int CompareTo(Cell o){return string.CompareOrdinal(TokenString, o.TokenString);}
|
9,667 | public ListAccountSettingsResult listAccountSettings(ListAccountSettingsRequest request) {request = beforeClientExecution(request);return executeListAccountSettings(request);}
| public virtual ListAccountSettingsResponse ListAccountSettings(ListAccountSettingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListAccountSettingsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListAccountSettingsResponseUnmarshaller.Instance;return Invoke<ListAccountSettingsResponse>(request, options);}
|
9,668 | public boolean find() {matchFound = findNextImpl(address, input, matchOffsets);if (matchFound) {findPos = matchOffsets[1];}return matchFound;}
| public bool find(){matchFound = findNextImpl(address, input, matchOffsets);if (matchFound){findPos = matchOffsets[1];}return matchFound;}
|
9,669 | public V next() { return super.nextEntry().value; }
| public override V next(){return this.nextEntry().value;}
|
9,670 | public DescribeLocalGatewaysResult describeLocalGateways(DescribeLocalGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeLocalGateways(request);}
| public virtual DescribeLocalGatewaysResponse DescribeLocalGateways(DescribeLocalGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLocalGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLocalGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeLocalGatewaysResponse>(request, options);}
|
9,671 | public ByteArrayDataInput(byte[] bytes, int offset, int len) {reset(bytes, offset, len);}
| public ByteArrayDataInput(byte[] bytes, int offset, int len){Reset(bytes, offset, len);}
|
9,672 | public String toString() {return super.toString() + ":" + revstr; }
| public override string ToString(){return base.ToString() + ":" + revstr;}
|
9,673 | public RegisterCrossAccountAccessRoleResult registerCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest request) {request = beforeClientExecution(request);return executeRegisterCrossAccountAccessRole(request);}
| public virtual RegisterCrossAccountAccessRoleResponse RegisterCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterCrossAccountAccessRoleRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterCrossAccountAccessRoleResponseUnmarshaller.Instance;return Invoke<RegisterCrossAccountAccessRoleResponse>(request, options);}
|
9,674 | public void clear() {ConcurrentHashMap.this.clear();}
| public override void clear(){this._enclosing.clear();}
|
9,675 | public DescribeFileSystemsResult describeFileSystems(DescribeFileSystemsRequest request) {request = beforeClientExecution(request);return executeDescribeFileSystems(request);}
| public virtual DescribeFileSystemsResponse DescribeFileSystems(DescribeFileSystemsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeFileSystemsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeFileSystemsResponseUnmarshaller.Instance;return Invoke<DescribeFileSystemsResponse>(request, options);}
|
9,676 | public ReverseStringFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
| public ReverseStringFilterFactory(IDictionary<string, string> args) : base(args){AssureMatchVersion();if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
|
9,677 | public Builder() {this(true);}
| public Builder(){InitializeInstanceFields();}
|
9,678 | public TokenStream create(TokenStream input) {return new IrishLowerCaseFilter(input);}
| public override TokenStream Create(TokenStream input){return new IrishLowerCaseFilter(input);}
|
9,679 | public GetQualificationTypeResult getQualificationType(GetQualificationTypeRequest request) {request = beforeClientExecution(request);return executeGetQualificationType(request);}
| public virtual GetQualificationTypeResponse GetQualificationType(GetQualificationTypeRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetQualificationTypeRequestMarshaller.Instance;options.ResponseUnmarshaller = GetQualificationTypeResponseUnmarshaller.Instance;return Invoke<GetQualificationTypeResponse>(request, options);}
|
9,680 | public ThreeWayMerger newMerger(Repository db, boolean inCore) {return new ResolveMerger(db, inCore);}
| public override Merger NewMerger(Repository db, bool inCore){return new ResolveMerger(db, inCore);}
|
9,681 | public String getNameText(int definedNameIndex) {return _externalNameRecords[definedNameIndex].getText();}
| public String GetNameText(int definedNameIndex){return _externalNameRecords[definedNameIndex].Text;}
|
9,682 | public PlotWalk(Repository repo) {super(repo);super.sort(RevSort.TOPO, true);additionalRefMap = new HashMap<>();repository = repo;}
| public PlotWalk(Repository repo) : base(repo){base.Sort(RevSort.TOPO, true);reverseRefMap = repo.GetAllRefsByPeeledObjectId();}
|
9,683 | public SubscribeToDatasetResult subscribeToDataset(SubscribeToDatasetRequest request) {request = beforeClientExecution(request);return executeSubscribeToDataset(request);}
| public virtual SubscribeToDatasetResponse SubscribeToDataset(SubscribeToDatasetRequest request){var options = new InvokeOptions();options.RequestMarshaller = SubscribeToDatasetRequestMarshaller.Instance;options.ResponseUnmarshaller = SubscribeToDatasetResponseUnmarshaller.Instance;return Invoke<SubscribeToDatasetResponse>(request, options);}
|
9,684 | public StringBuilder append(char[] str, int offset, int len) {append0(str, offset, len);return this;}
| public java.lang.StringBuilder append(char[] str, int offset, int len){append0(str, offset, len);return this;}
|
9,685 | public synchronized int indexOf(String subString, int start) {return super.indexOf(subString, start);}
| public override int indexOf(string subString, int start){lock (this){return base.indexOf(subString, start);}}
|
9,686 | public List<E> subList(int from, int to) {Object[] snapshot = elements;if (from < 0 || from > to || to > snapshot.length) {throw new IndexOutOfBoundsException("from=" + from + ", to=" + to +", list size=" + snapshot.length);}return new CowSubList(snapshot, from, to);}
| public virtual java.util.List<E> subList(int from, int to){object[] snapshot = elements;if (from < 0 || from > to || to > snapshot.Length){throw new System.IndexOutOfRangeException("from=" + from + ", to=" + to + ", list size="+ snapshot.Length);}return new java.util.concurrent.CopyOnWriteArrayList<E>.CowSubList(this, snapshot, from, to);}
|
9,687 | public Severity getSeverity() {return severity;}
| public virtual FormatError.Severity GetSeverity(){return severity;}
|
9,688 | public DescribeBundleTasksResult describeBundleTasks() {return describeBundleTasks(new DescribeBundleTasksRequest());}
| public virtual DescribeBundleTasksResponse DescribeBundleTasks(){return DescribeBundleTasks(new DescribeBundleTasksRequest());}
|
9,689 | public BooleanQuery build() {return new BooleanQuery(minimumNumberShouldMatch, clauses.toArray(new BooleanClause[0]));}
| public CompositeReaderContext Build(){return (CompositeReaderContext)Build(null, reader, 0, 0);}
|
9,690 | public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[HIDEOBJ]\n");buffer.append(" .hideobj = ").append(Integer.toHexString(getHideObj())).append("\n");buffer.append("[/HIDEOBJ]\n");return buffer.toString();}
| public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[HIDEOBJ]\n");buffer.Append(" .hideobj = ").Append(StringUtil.ToHexString(GetHideObj())).Append("\n");buffer.Append("[/HIDEOBJ]\n");return buffer.ToString();}
|
9,691 | public UseSelFSRecord(boolean b) {this(0);_options = useNaturalLanguageFormulasFlag.setBoolean(_options, b);}
| public UseSelFSRecord(int options){_options = options;}
|
9,692 | public boolean equals( Object o ) {return o instanceof RomanianStemmer;}
| public override bool Equals(object o){return o is RomanianStemmer;}
|
9,693 | public AbortMultipartUploadResult abortMultipartUpload(AbortMultipartUploadRequest request) {request = beforeClientExecution(request);return executeAbortMultipartUpload(request);}
| public virtual AbortMultipartUploadResponse AbortMultipartUpload(AbortMultipartUploadRequest request){var options = new InvokeOptions();options.RequestMarshaller = AbortMultipartUploadRequestMarshaller.Instance;options.ResponseUnmarshaller = AbortMultipartUploadResponseUnmarshaller.Instance;return Invoke<AbortMultipartUploadResponse>(request, options);}
|
9,694 | public void reportMatch(Parser recognizer) {endErrorCondition(recognizer);}
| public virtual void ReportMatch(Parser recognizer){EndErrorCondition(recognizer);}
|
9,695 | public ModifyVpnConnectionResult modifyVpnConnection(ModifyVpnConnectionRequest request) {request = beforeClientExecution(request);return executeModifyVpnConnection(request);}
| public virtual ModifyVpnConnectionResponse ModifyVpnConnection(ModifyVpnConnectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyVpnConnectionRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyVpnConnectionResponseUnmarshaller.Instance;return Invoke<ModifyVpnConnectionResponse>(request, options);}
|
9,696 | public GetSendStatisticsResult getSendStatistics() {return getSendStatistics(new GetSendStatisticsRequest());}
| public virtual GetSendStatisticsResponse GetSendStatistics(){return GetSendStatistics(new GetSendStatisticsRequest());}
|
9,697 | public CreateVoiceConnectorGroupResult createVoiceConnectorGroup(CreateVoiceConnectorGroupRequest request) {request = beforeClientExecution(request);return executeCreateVoiceConnectorGroup(request);}
| public virtual CreateVoiceConnectorGroupResponse CreateVoiceConnectorGroup(CreateVoiceConnectorGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVoiceConnectorGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVoiceConnectorGroupResponseUnmarshaller.Instance;return Invoke<CreateVoiceConnectorGroupResponse>(request, options);}
|
9,698 | public InitiateJobRequest(String vaultName, JobParameters jobParameters) {setVaultName(vaultName);setJobParameters(jobParameters);}
| public InitiateJobRequest(string vaultName, JobParameters jobParameters){_vaultName = vaultName;_jobParameters = jobParameters;}
|
9,699 | public MatchResult toMatchResult() {ensureMatch();return new MatchResultImpl(input, matchOffsets);}
| public java.util.regex.MatchResult toMatchResult(){ensureMatch();return new java.util.regex.MatchResultImpl(input, matchOffsets);}
|