id
int32
0
10.3k
java
stringlengths
29
1.4k
cs
stringlengths
28
1.38k
7,600
public CreateInstancesResult createInstances(CreateInstancesRequest request) {request = beforeClientExecution(request);return executeCreateInstances(request);}
public virtual CreateInstancesResponse CreateInstances(CreateInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateInstancesResponseUnmarshaller.Instance;return Invoke<CreateInstancesResponse>(request, options);}
7,601
public static int getRecordSizeForBlockCount(int blockCount) {return 20 + 4 * blockCount;}
public static int GetRecordSizeForBlockCount(int blockCount){return 20 + (4 * blockCount);}
7,602
public StopStreamEncryptionResult stopStreamEncryption(StopStreamEncryptionRequest request) {request = beforeClientExecution(request);return executeStopStreamEncryption(request);}
public virtual StopStreamEncryptionResponse StopStreamEncryption(StopStreamEncryptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopStreamEncryptionRequestMarshaller.Instance;options.ResponseUnmarshaller = StopStreamEncryptionResponseUnmarshaller.Instance;return Invoke<StopStreamEncryptionResponse>(request, options);}
7,603
public GetPredictionResult getPrediction(GetPredictionRequest request) {request = beforeClientExecution(request);return executeGetPrediction(request);}
public virtual GetPredictionResponse GetPrediction(GetPredictionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetPredictionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetPredictionResponseUnmarshaller.Instance;return Invoke<GetPredictionResponse>(request, options);}
7,604
public ModifyWorkspacePropertiesResult modifyWorkspaceProperties(ModifyWorkspacePropertiesRequest request) {request = beforeClientExecution(request);return executeModifyWorkspaceProperties(request);}
public virtual ModifyWorkspacePropertiesResponse ModifyWorkspaceProperties(ModifyWorkspacePropertiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyWorkspacePropertiesRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyWorkspacePropertiesResponseUnmarshaller.Instance;return Invoke<ModifyWorkspacePropertiesResponse>(request, options);}
7,605
public void copyFrom(TermState _other) {assert _other instanceof BlockTermState : "can not copy from " + _other.getClass().getName();BlockTermState other = (BlockTermState) _other;super.copyFrom(_other);docFreq = other.docFreq;totalTermFreq = other.totalTermFreq;termBlockOrd = other.termBlockOrd;blockFilePointer = other.blockFilePointer;}
public override void CopyFrom(TermState other){Debug.Assert(other is BlockTermState, "can not copy from " + other.GetType().Name);BlockTermState other2 = (BlockTermState)other;base.CopyFrom(other);DocFreq = other2.DocFreq;TotalTermFreq = other2.TotalTermFreq;TermBlockOrd = other2.TermBlockOrd;BlockFilePointer = other2.BlockFilePointer;}
7,606
public String getLine() {return command.getLine();}
public virtual string GetLine(){return line;}
7,607
public static void release(Inflater i) {if (i != null) {i.reset();if (releaseImpl(i))i.end();}}
public static void Release(Inflater i){if (i != null){i.Reset();if (ReleaseImpl(i)){i.Finish();}}}
7,608
public EnumSet<RevSort> getRevSort() {return sorting.clone();}
public virtual EnumSet<RevSort> GetRevSort(){return sorting.Clone();}
7,609
public boolean removeFetchRefSpec(RefSpec s) {return fetch.remove(s);}
public virtual bool RemoveFetchRefSpec(RefSpec s){return fetch.Remove(s);}
7,610
public CharBuffer put(char c) {if (position == limit) {throw new BufferOverflowException();}backingArray[offset + position++] = c;return this;}
public override java.nio.CharBuffer put(char c){if (_position == _limit){throw new java.nio.BufferOverflowException();}backingArray[offset + _position++] = c;return this;}
7,611
public int getRate() {return (perMin ? rate : 60*rate);}
public virtual int GetRate(){return (perMin ? rate : 60 * rate);}
7,612
public DescribeDBParametersRequest(String dBParameterGroupName) {setDBParameterGroupName(dBParameterGroupName);}
public DescribeDBParametersRequest(string dbParameterGroupName){_dbParameterGroupName = dbParameterGroupName;}
7,613
public DeleteNodeResult deleteNode(DeleteNodeRequest request) {request = beforeClientExecution(request);return executeDeleteNode(request);}
public virtual DeleteNodeResponse DeleteNode(DeleteNodeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteNodeRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteNodeResponseUnmarshaller.Instance;return Invoke<DeleteNodeResponse>(request, options);}
7,614
@Override public List<E> subList(int from, int to) {Slice slice = this.slice;if (from < 0 || from > to || to > size()) {throw new IndexOutOfBoundsException("from=" + from + ", to=" + to +", list size=" + size());}return new CowSubList(slice.expectedElements, slice.from + from, slice.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);}
7,615
public CompositeReaderContext build() {return (CompositeReaderContext) build(null, reader, 0, 0);}
public CompositeReaderContext Build(){return (CompositeReaderContext)Build(null, reader, 0, 0);}
7,616
public Cluster rebootCluster(RebootClusterRequest request) {request = beforeClientExecution(request);return executeRebootCluster(request);}
public virtual RebootClusterResponse RebootCluster(RebootClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = RebootClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = RebootClusterResponseUnmarshaller.Instance;return Invoke<RebootClusterResponse>(request, options);}
7,617
public void setBorder(boolean value){field_1_options = border.setShortBoolean(field_1_options, value);}
public void SetBorder(bool value){field_1_options = border.SetShortBoolean(field_1_options, value);}
7,618
public DescribeExportTasksResult describeExportTasks(DescribeExportTasksRequest request) {request = beforeClientExecution(request);return executeDescribeExportTasks(request);}
public virtual DescribeExportTasksResponse DescribeExportTasks(DescribeExportTasksRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeExportTasksRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeExportTasksResponseUnmarshaller.Instance;return Invoke<DescribeExportTasksResponse>(request, options);}
7,619
public SeriesLabelsRecord clone() {return copy();}
public override Object Clone(){SeriesLabelsRecord rec = new SeriesLabelsRecord();rec.field_1_formatFlags = field_1_formatFlags;return rec;}
7,620
public final String getShortMessage() {byte[] raw = buffer;int msgB = RawParseUtils.tagMessage(raw, 0);if (msgB < 0) {return ""; }int msgE = RawParseUtils.endOfParagraph(raw, msgB);String str = RawParseUtils.decode(guessEncoding(), raw, msgB, msgE);if (RevCommit.hasLF(raw, msgB, msgE)) {str = StringUtils.replaceLineBreaksWithSpace(str);}return str;}
public string GetShortMessage(){byte[] raw = buffer;int msgB = RawParseUtils.TagMessage(raw, 0);if (msgB < 0){return string.Empty;}Encoding enc = RawParseUtils.ParseEncoding(raw);int msgE = RawParseUtils.EndOfParagraph(raw, msgB);string str = RawParseUtils.Decode(enc, raw, msgB, msgE);if (RevCommit.HasLF(raw, msgB, msgE)){str = str.Replace('\n', ' ');}return str;}
7,621
public String toString() {StringBuilder r = new StringBuilder();if (isOperatorInfix()) {infixToString(r);} else {prefixToString(r);}weightToString(r);return r.toString();}
public override string ToString(){StringBuilder r = new StringBuilder();if (IsOperatorInfix){InfixToString(r);}else{PrefixToString(r);}WeightToString(r);return r.ToString();}
7,622
public String getPreferredAuthentications() {return preferredAuthentications;}
public virtual string GetPreferredAuthentications(){return preferredAuthentications;}
7,623
public int size() {return elements.length;}
public virtual int size(){return elements.Length;}
7,624
public ListPartnerEventSourcesResult listPartnerEventSources(ListPartnerEventSourcesRequest request) {request = beforeClientExecution(request);return executeListPartnerEventSources(request);}
public virtual ListPartnerEventSourcesResponse ListPartnerEventSources(ListPartnerEventSourcesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListPartnerEventSourcesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListPartnerEventSourcesResponseUnmarshaller.Instance;return Invoke<ListPartnerEventSourcesResponse>(request, options);}
7,625
public void write(byte[] buffer, int offset, int length) {Arrays.checkOffsetAndCount(buffer.length, offset, length);synchronized (this) {if (out == null) {setError();return;}try {out.write(buffer, offset, length);if (autoFlush) {flush();}} catch (IOException e) {setError();}}}
public override void write(byte[] buffer, int offset, int length){java.util.Arrays.checkOffsetAndCount(buffer.Length, offset, length);lock (this){if (@out == null){setError();return;}try{@out.write(buffer, offset, length);if (autoFlush){flush();}}catch (System.IO.IOException){setError();}}}
7,626
public ListRegisteredTagsRequest() {super("CloudPhoto", "2017-07-11", "ListRegisteredTags", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
public ListRegisteredTagsRequest(): base("CloudPhoto", "2017-07-11", "ListRegisteredTags", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
7,627
public DeleteDBSubnetGroupResult deleteDBSubnetGroup(DeleteDBSubnetGroupRequest request) {request = beforeClientExecution(request);return executeDeleteDBSubnetGroup(request);}
public virtual DeleteDBSubnetGroupResponse DeleteDBSubnetGroup(DeleteDBSubnetGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDBSubnetGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDBSubnetGroupResponseUnmarshaller.Instance;return Invoke<DeleteDBSubnetGroupResponse>(request, options);}
7,628
public PacketLineOut(OutputStream outputStream) {out = outputStream;lenbuffer = new byte[5];flushOnEnd = true;}
public PacketLineOut(OutputStream outputStream){@out = outputStream;lenbuffer = new byte[5];flushOnEnd = true;}
7,629
public void appendDebugInfo(StringBuilder sb) {sb.append('(');sb.append( "isxvi=").append(HexDump.shortToHex(_isxvi));sb.append(" isxvd=").append(HexDump.shortToHex(_isxvd));sb.append(" idObj=").append(HexDump.shortToHex(_idObj));sb.append(')');}
public void AppendDebugInfo(StringBuilder sb){sb.Append('(');sb.Append("isxvi=").Append(HexDump.ShortToHex(_isxvi));sb.Append(" isxvd=").Append(HexDump.ShortToHex(_isxvd));sb.Append(" idObj=").Append(HexDump.ShortToHex(_idObj));sb.Append(')');}
7,630
public InterfaceHdrRecord(RecordInputStream in) {_codepage = in.readShort();}
public InterfaceHdrRecord(RecordInputStream in1){_codepage = in1.ReadShort();}
7,631
public DescribeVaultRequest(String accountId, String vaultName) {setAccountId(accountId);setVaultName(vaultName);}
public DescribeVaultRequest(string accountId, string vaultName){_accountId = accountId;_vaultName = vaultName;}
7,632
public void add(String match, String replacement) {if (match.length() == 0 ){throw new IllegalArgumentException("cannot match the empty string");}if (pendingPairs.containsKey(match)) {throw new IllegalArgumentException("match \"" + match + "\" was already added");}pendingPairs.put(match, replacement);}
public virtual void Add(string match, string replacement){if (match.Length == 0){throw new System.ArgumentException("cannot match the empty string");}if (pendingPairs.ContainsKey(match)){throw new System.ArgumentException("match \"" + match + "\" was already added");}pendingPairs[match] = replacement;}
7,633
public boolean equals(Object o) {if (this == o) {return true;}else if ( !(o instanceof ArrayPredictionContext) ) {return false;}if ( this.hashCode() != o.hashCode() ) {return false; }ArrayPredictionContext a = (ArrayPredictionContext)o;return Arrays.equals(returnStates, a.returnStates) &&Arrays.equals(parents, a.parents);}
public override bool Equals(Object o){if (this == o){return true;}else if (!(o is ArrayPredictionContext)){return false;}if (this.GetHashCode() != o.GetHashCode()){return false; }ArrayPredictionContext a = (ArrayPredictionContext)o;return Arrays.Equals(returnStates, a.returnStates) &&Arrays.Equals(parents, a.parents);}
7,634
public byte[] toArray() {if (arrays.isEmpty()) {return null;} else if (arrays.size() > 1) {int totalLength = 0;for (byte[] array : arrays) {totalLength += array.length;}byte[] concatenated = new byte[totalLength];int destPos = 0;for (byte[] array : arrays) {System.arraycopy(array, 0, concatenated, destPos, array.length);destPos += array.length;}arrays.clear();arrays.add(concatenated);}return arrays.get(0);}
public byte[] ToArray(){if (arrays.Count==0){return null;}else if (arrays.Count > 1){int totalLength = 0;foreach (byte[] array in arrays){totalLength += array.Length;}byte[] concatenated = new byte[totalLength];int destPos = 0;foreach (byte[] array in arrays){Array.Copy(array, 0, concatenated, destPos, array.Length);destPos += array.Length;}arrays.Clear();arrays.Add(concatenated);}return arrays[(0)];}
7,635
public void serialize(LittleEndianOutput out) {int nItems = field_1_seriesNumbers.length;out.writeShort(nItems);for (int i = 0; i < nItems; i++) {out.writeShort(field_1_seriesNumbers[i]);}}
public override void Serialize(ILittleEndianOutput out1){int nItems = field_1_seriesNumbers.Length;out1.WriteShort(nItems);for (int i = 0; i < nItems; i++){out1.WriteShort(field_1_seriesNumbers[i]);}}
7,636
public boolean removePushURI(URIish toRemove) {return pushURIs.remove(toRemove);}
public virtual bool RemovePushURI(URIish toRemove){return pushURIs.Remove(toRemove);}
7,637
public StringBuilder append(String str) {append0(str);return this;}
public java.lang.StringBuilder append(string str){append0(str);return this;}
7,638
public synchronized void close() {flush();if (out != null) {try {out.close();out = null;} catch (IOException e) {setError();}}}
public override void close(){lock (this){flush();if (@out != null){try{@out.close();@out = null;}catch (System.IO.IOException){setError();}}}}
7,639
public final BytesRef[] getBinaryValues(String name) {final List<BytesRef> result = new ArrayList<>();for (IndexableField field : fields) {if (field.name().equals(name)) {final BytesRef bytes = field.binaryValue();if (bytes != null) {result.add(bytes);}}}return result.toArray(new BytesRef[result.size()]);}
public BytesRef[] GetBinaryValues(string name){var result = new List<BytesRef>();foreach (IIndexableField field in fields){if (field.Name.Equals(name, StringComparison.Ordinal)){BytesRef bytes = field.GetBinaryValue();if (bytes != null){result.Add(bytes);}}}return result.ToArray();}
7,640
public final void backup(int amount) {bufferPosition -= amount;}
public void BackUp(int amount){bufferPosition -= amount;}
7,641
public void addChildRecord(EscherRecord childRecord) {getChildRecords().add( childRecord );}
public void AddChildRecord(EscherRecord childRecord){ChildRecords.Add(childRecord);}
7,642
public DeleteExpressionResult deleteExpression(DeleteExpressionRequest request) {request = beforeClientExecution(request);return executeDeleteExpression(request);}
public virtual DeleteExpressionResponse DeleteExpression(DeleteExpressionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteExpressionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteExpressionResponseUnmarshaller.Instance;return Invoke<DeleteExpressionResponse>(request, options);}
7,643
public ReorderReceiptRuleSetResult reorderReceiptRuleSet(ReorderReceiptRuleSetRequest request) {request = beforeClientExecution(request);return executeReorderReceiptRuleSet(request);}
public virtual ReorderReceiptRuleSetResponse ReorderReceiptRuleSet(ReorderReceiptRuleSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = ReorderReceiptRuleSetRequestMarshaller.Instance;options.ResponseUnmarshaller = ReorderReceiptRuleSetResponseUnmarshaller.Instance;return Invoke<ReorderReceiptRuleSetResponse>(request, options);}
7,644
public FtrHeader(RecordInputStream in) {recordType = in.readShort();grbitFrt = in.readShort();associatedRange = new CellRangeAddress(in);}
public FtrHeader(RecordInputStream in1){recordType = in1.ReadShort();grbitFrt = in1.ReadShort();reserved = new byte[8];in1.Read(reserved, 0, 8);}
7,645
public PutVoiceConnectorProxyResult putVoiceConnectorProxy(PutVoiceConnectorProxyRequest request) {request = beforeClientExecution(request);return executePutVoiceConnectorProxy(request);}
public virtual PutVoiceConnectorProxyResponse PutVoiceConnectorProxy(PutVoiceConnectorProxyRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutVoiceConnectorProxyRequestMarshaller.Instance;options.ResponseUnmarshaller = PutVoiceConnectorProxyResponseUnmarshaller.Instance;return Invoke<PutVoiceConnectorProxyResponse>(request, options);}
7,646
public DescribeDataSourcePermissionsResult describeDataSourcePermissions(DescribeDataSourcePermissionsRequest request) {request = beforeClientExecution(request);return executeDescribeDataSourcePermissions(request);}
public virtual DescribeDataSourcePermissionsResponse DescribeDataSourcePermissions(DescribeDataSourcePermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDataSourcePermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDataSourcePermissionsResponseUnmarshaller.Instance;return Invoke<DescribeDataSourcePermissionsResponse>(request, options);}
7,647
public final char get(int index) {checkIndex(index);return backingArray[offset + index];}
public sealed override char get(int index){checkIndex(index);return backingArray[offset + index];}
7,648
public final void writeByte(int val) throws IOException {out.write(val);written++;}
public virtual void writeByte(int val){throw new System.NotImplementedException();}
7,649
public ListTablesResult listTables(String exclusiveStartTableName) {return listTables(new ListTablesRequest().withExclusiveStartTableName(exclusiveStartTableName));}
public virtual ListTablesResponse ListTables(string exclusiveStartTableName){var request = new ListTablesRequest();request.ExclusiveStartTableName = exclusiveStartTableName;return ListTables(request);}
7,650
public String toString() {return "Cell(readerIndex=" + readerIndex + " nodeID=" + index.getNodeID()+ " isLeaf=" + index.isLeafNode() + " distanceSquared=" + distanceSquared + ")";}
public override string ToString(){return TokenString + (IsLeaf ? ((char)LEAF_BYTE).ToString() : string.Empty);}
7,651
public Result getResult() {return status;}
public virtual RefUpdate.Result GetResult(){return result;}
7,652
public int addConditionalFormatting(CellRangeAddress[] regions,HSSFConditionalFormattingRule rule1,HSSFConditionalFormattingRule rule2) {return addConditionalFormatting(regions,new HSSFConditionalFormattingRule[] { rule1, rule2 });}
public int AddConditionalFormatting(CellRangeAddress[] regions,IConditionalFormattingRule rule1,IConditionalFormattingRule rule2){return AddConditionalFormatting(regions,new HSSFConditionalFormattingRule[]{(HSSFConditionalFormattingRule)rule1, (HSSFConditionalFormattingRule)rule2});}
7,653
public DescribeImageBuildersResult describeImageBuilders(DescribeImageBuildersRequest request) {request = beforeClientExecution(request);return executeDescribeImageBuilders(request);}
public virtual DescribeImageBuildersResponse DescribeImageBuilders(DescribeImageBuildersRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeImageBuildersRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeImageBuildersResponseUnmarshaller.Instance;return Invoke<DescribeImageBuildersResponse>(request, options);}
7,654
public DescribeMountTargetsResult describeMountTargets(DescribeMountTargetsRequest request) {request = beforeClientExecution(request);return executeDescribeMountTargets(request);}
public virtual DescribeMountTargetsResponse DescribeMountTargets(DescribeMountTargetsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeMountTargetsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeMountTargetsResponseUnmarshaller.Instance;return Invoke<DescribeMountTargetsResponse>(request, options);}
7,655
public UpdateClientCertificateResult updateClientCertificate(UpdateClientCertificateRequest request) {request = beforeClientExecution(request);return executeUpdateClientCertificate(request);}
public virtual UpdateClientCertificateResponse UpdateClientCertificate(UpdateClientCertificateRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateClientCertificateRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateClientCertificateResponseUnmarshaller.Instance;return Invoke<UpdateClientCertificateResponse>(request, options);}
7,656
public String getFormatString(CellValueRecordInterface cell) {int formatIndex = getFormatIndex(cell);if (formatIndex == -1) {return null;}return getFormatString(formatIndex);}
public String GetFormatString(CellValueRecordInterface cell){int formatIndex = GetFormatIndex(cell);if (formatIndex == -1){return null;}return GetFormatString(formatIndex);}
7,657
public void clear() {w1 = 0;w2 = 0;w3 = 0;w4 = 0;w5 = 0;}
public virtual void Clear(){w1 = 0;w2 = 0;w3 = 0;w4 = 0;w5 = 0;}
7,658
public boolean equals( Object o ) {return o instanceof TurkishStemmer;}
public override bool Equals(object o){return o is TurkishStemmer;}
7,659
public void disableRefLog() {customRefLog = true;refLogMessage = null;refLogIncludeResult = false;}
public virtual void DisableRefLog(){refLogMessage = null;refLogIncludeResult = false;}
7,660
public ListPublicKeysResult listPublicKeys(ListPublicKeysRequest request) {request = beforeClientExecution(request);return executeListPublicKeys(request);}
public virtual ListPublicKeysResponse ListPublicKeys(ListPublicKeysRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListPublicKeysRequestMarshaller.Instance;options.ResponseUnmarshaller = ListPublicKeysResponseUnmarshaller.Instance;return Invoke<ListPublicKeysResponse>(request, options);}
7,661
public CreateDhcpOptionsResult createDhcpOptions(CreateDhcpOptionsRequest request) {request = beforeClientExecution(request);return executeCreateDhcpOptions(request);}
public virtual CreateDhcpOptionsResponse CreateDhcpOptions(CreateDhcpOptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDhcpOptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDhcpOptionsResponseUnmarshaller.Instance;return Invoke<CreateDhcpOptionsResponse>(request, options);}
7,662
public TokenStream create(TokenStream input) {return new ASCIIFoldingFilter(input, preserveOriginal);}
public override TokenStream Create(TokenStream input){return new ASCIIFoldingFilter(input, preserveOriginal);}
7,663
public BlockList(int capacity) {int dirSize = toDirectoryIndex(capacity);if ((capacity & BLOCK_MASK) != 0 || dirSize == 0)dirSize++;directory = BlockList.<T> newDirectory(dirSize);directory[0] = BlockList.<T> newBlock();tailBlock = directory[0];}
public BlockList(int capacity){int dirSize = ToDirectoryIndex(capacity);if ((capacity & BLOCK_MASK) != 0 || dirSize == 0){dirSize++;}directory = NGit.Util.BlockList<T>.NewDirectory(dirSize);directory[0] = NGit.Util.BlockList<T>.NewBlock();tailBlock = directory[0];}
7,664
@Override public int size() {return Impl.this.size();}
public override int size(){return this._enclosing._size;}
7,665
public void addCellRangeAddress(int firstRow, int firstCol, int lastRow, int lastCol) {CellRangeAddress region = new CellRangeAddress(firstRow, lastRow, firstCol, lastCol);addCellRangeAddress(region);}
public void AddCellRangeAddress(int firstRow, int firstCol, int lastRow, int lastCol){CellRangeAddress region = new CellRangeAddress(firstRow, lastRow, firstCol, lastCol);AddCellRangeAddress(region);}
7,666
public DescribeCacheEngineVersionsResult describeCacheEngineVersions() {return describeCacheEngineVersions(new DescribeCacheEngineVersionsRequest());}
public virtual DescribeCacheEngineVersionsResponse DescribeCacheEngineVersions(){return DescribeCacheEngineVersions(new DescribeCacheEngineVersionsRequest());}
7,667
public DeleteEndpointConfigResult deleteEndpointConfig(DeleteEndpointConfigRequest request) {request = beforeClientExecution(request);return executeDeleteEndpointConfig(request);}
public virtual DeleteEndpointConfigResponse DeleteEndpointConfig(DeleteEndpointConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEndpointConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEndpointConfigResponseUnmarshaller.Instance;return Invoke<DeleteEndpointConfigResponse>(request, options);}
7,668
public String findSheetFirstNameFromExternSheet(int externSheetIndex){int indexToSheet = linkTable.getFirstInternalSheetIndexForExtIndex(externSheetIndex);return findSheetNameFromIndex(indexToSheet);}
public String FindSheetFirstNameFromExternSheet(int externSheetIndex){int indexToSheet = linkTable.GetFirstInternalSheetIndexForExtIndex(externSheetIndex);return FindSheetNameFromIndex(indexToSheet);}
7,669
public void copy(MutableValue source) {MutableValueBool s = (MutableValueBool) source;value = s.value;exists = s.exists;}
public override void Copy(MutableValue source){MutableValueBool s = (MutableValueBool)source;Value = s.Value;Exists = s.Exists;}
7,670
public void setChild(QueryNode child) {List<QueryNode> list = new ArrayList<>();list.add(child);this.set(list);}
public virtual void SetChild(IQueryNode child){List<IQueryNode> list = new List<IQueryNode>();list.Add(child);this.Set(list);}
7,671
public void setDateResolution(DateTools.Resolution dateResolution) {getQueryConfigHandler().set(ConfigurationKeys.DATE_RESOLUTION, dateResolution);}
public virtual void SetDateResolution(DateTools.Resolution dateResolution){QueryConfigHandler.Set(ConfigurationKeys.DATE_RESOLUTION, dateResolution);}
7,672
public static <T> boolean contains(T[] array, T value) {for (T element : array) {if (element == null) {if (value == null) return true;} else {if (value != null && element.equals(value)) return true;}}return false;}
public static bool contains(int[] array, int value){foreach (int element in array){if (element == value){return true;}}return false;}
7,673
public ListLogPatternsResult listLogPatterns(ListLogPatternsRequest request) {request = beforeClientExecution(request);return executeListLogPatterns(request);}
public virtual ListLogPatternsResponse ListLogPatterns(ListLogPatternsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListLogPatternsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListLogPatternsResponseUnmarshaller.Instance;return Invoke<ListLogPatternsResponse>(request, options);}
7,674
public BatchDeleteImageResult batchDeleteImage(BatchDeleteImageRequest request) {request = beforeClientExecution(request);return executeBatchDeleteImage(request);}
public virtual BatchDeleteImageResponse BatchDeleteImage(BatchDeleteImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchDeleteImageRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchDeleteImageResponseUnmarshaller.Instance;return Invoke<BatchDeleteImageResponse>(request, options);}
7,675
public void seekExact(long ord) {throw new UnsupportedOperationException();}
public override void SeekExact(long ord){throw new NotSupportedException();}
7,676
public RightMarginRecord( RecordInputStream in ) {field_1_margin = in.readDouble();}
public RightMarginRecord(RecordInputStream in1){field_1_margin = in1.ReadDouble();}
7,677
public boolean isAutoDetecting() {return false;}
public virtual bool isAutoDetecting(){return false;}
7,678
public RestorePhoneNumberResult restorePhoneNumber(RestorePhoneNumberRequest request) {request = beforeClientExecution(request);return executeRestorePhoneNumber(request);}
public virtual RestorePhoneNumberResponse RestorePhoneNumber(RestorePhoneNumberRequest request){var options = new InvokeOptions();options.RequestMarshaller = RestorePhoneNumberRequestMarshaller.Instance;options.ResponseUnmarshaller = RestorePhoneNumberResponseUnmarshaller.Instance;return Invoke<RestorePhoneNumberResponse>(request, options);}
7,679
public TestRenderTemplateResult testRenderTemplate(TestRenderTemplateRequest request) {request = beforeClientExecution(request);return executeTestRenderTemplate(request);}
public virtual TestRenderTemplateResponse TestRenderTemplate(TestRenderTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = TestRenderTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = TestRenderTemplateResponseUnmarshaller.Instance;return Invoke<TestRenderTemplateResponse>(request, options);}
7,680
public RevTag lookupTag(AnyObjectId id) {RevTag c = (RevTag) objects.get(id);if (c == null) {c = new RevTag(id);objects.add(c);}return c;}
public virtual RevTag LookupTag(AnyObjectId id){RevTag c = (RevTag)objects.Get(id);if (c == null){c = new RevTag(id);objects.Add(c);}return c;}
7,681
public Query getQuery(Element e) throws ParserException {String text = DOMUtils.getText(e);try {Query q = null;if (unSafeParser != null) {synchronized (unSafeParser) {q = unSafeParser.parse(text);}} else {String fieldName = DOMUtils.getAttribute(e, "fieldName", defaultField);QueryParser parser = createQueryParser(fieldName, analyzer);q = parser.parse(text);}float boost = DOMUtils.getAttribute(e, "boost", 1.0f);return new BoostQuery(q, boost);} catch (ParseException e1) {throw new ParserException(e1.getMessage());}}
public virtual Query GetQuery(XmlElement e){string text = DOMUtils.GetText(e);try{Query q = null;if (unSafeParser != null){lock (unSafeParser){q = unSafeParser.Parse(text);}}else{string fieldName = DOMUtils.GetAttribute(e, "fieldName", defaultField);QueryParser parser = CreateQueryParser(fieldName, analyzer);q = parser.Parse(text);}q.Boost = DOMUtils.GetAttribute(e, "boost", 1.0f);return q;}catch (ParseException e1){throw new ParserException(e1.Message);}}
7,682
public CreateNetworkAclResult createNetworkAcl(CreateNetworkAclRequest request) {request = beforeClientExecution(request);return executeCreateNetworkAcl(request);}
public virtual CreateNetworkAclResponse CreateNetworkAcl(CreateNetworkAclRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateNetworkAclRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateNetworkAclResponseUnmarshaller.Instance;return Invoke<CreateNetworkAclResponse>(request, options);}
7,683
public ThreeWayMerger newMerger(Repository db, boolean inCore) {return newMerger(db);}
public override Merger NewMerger(Repository db, bool inCore){return ((ThreeWayMerger)NewMerger(db));}
7,684
public BufferedWriter(Writer out, int size) {super(out);if (size <= 0) {throw new IllegalArgumentException("size <= 0");}this.out = out;this.buf = new char[size];}
public BufferedWriter(java.io.Writer @out, int size) : base(@out){if (size <= 0){throw new System.ArgumentException("size <= 0");}this.@out = @out;this.buf = new char[size];}
7,685
public ListConfigurationHistoryResult listConfigurationHistory(ListConfigurationHistoryRequest request) {request = beforeClientExecution(request);return executeListConfigurationHistory(request);}
public virtual ListConfigurationHistoryResponse ListConfigurationHistory(ListConfigurationHistoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListConfigurationHistoryRequestMarshaller.Instance;options.ResponseUnmarshaller = ListConfigurationHistoryResponseUnmarshaller.Instance;return Invoke<ListConfigurationHistoryResponse>(request, options);}
7,686
public Request<GetChangeRequest> marshall(GetChangeRequest getChangeRequest) {if (getChangeRequest == null) {throw new SdkClientException("Invalid argument passed to marshall(...)");}Request<GetChangeRequest> request = new DefaultRequest<GetChangeRequest>(getChangeRequest, "AmazonRoute53");request.setHttpMethod(HttpMethodName.GET);String uriResourcePath = "/2013-04-01/change/{Id}";uriResourcePath = com.amazonaws.transform.PathMarshallers.NON_GREEDY.marshall(uriResourcePath, "Id", getChangeRequest.getId());request.setResourcePath(uriResourcePath);return request;}
public IRequest Marshall(GetChangeRequest publicRequest){var request = new DefaultRequest(publicRequest, "Amazon.Route53");request.HttpMethod = "GET";if (!publicRequest.IsSetId())throw new AmazonRoute53Exception("Request object does not have required field Id set");request.AddPathResource("{Id}", StringUtils.FromString(publicRequest.Id));request.ResourcePath = "/2013-04-01/change/{Id}";request.MarshallerVersion = 2;return request;}
7,687
public byte[] getCachedBytes() throws LargeObjectException {throw new LargeObjectException(id);}
public override byte[] GetCachedBytes(){throw new LargeObjectException(id);}
7,688
public ModifyInstanceCreditSpecificationResult modifyInstanceCreditSpecification(ModifyInstanceCreditSpecificationRequest request) {request = beforeClientExecution(request);return executeModifyInstanceCreditSpecification(request);}
public virtual ModifyInstanceCreditSpecificationResponse ModifyInstanceCreditSpecification(ModifyInstanceCreditSpecificationRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyInstanceCreditSpecificationRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyInstanceCreditSpecificationResponseUnmarshaller.Instance;return Invoke<ModifyInstanceCreditSpecificationResponse>(request, options);}
7,689
public void add(RevCommit c) {Block b = head;if (b == null || !b.canUnpop()) {b = free.newBlock();b.resetToEnd();b.next = head;head = b;}b.unpop(c);}
public override void Add(RevCommit c){BlockRevQueue.Block b = head;if (b == null || !b.CanUnpop()){b = free.NewBlock();b.ResetToEnd();b.next = head;head = b;}b.Unpop(c);}
7,690
public SpanTermQuery newSpanTermQuery(Term term) throws TooManyBasicQueries {checkMax();return new SpanTermQuery(term);}
public virtual SpanTermQuery NewSpanTermQuery(Term term){CheckMax();return new SpanTermQuery(term);}
7,691
public StringWriter(int initialSize) {if (initialSize < 0) {throw new IllegalArgumentException();}buf = new StringBuffer(initialSize);lock = buf;}
public StringWriter(int initialSize){if (initialSize < 0){throw new System.ArgumentException();}buf = new java.lang.StringBuffer(initialSize);@lock = buf;}
7,692
public String toString() {return super.toString() + "(\"" + patternText + "\")";}
public override string ToString(){return base.ToString() + "(\"" + patternText + "\")";}
7,693
public ATNConfig precedenceTransition(ATNConfig config,PrecedencePredicateTransition pt,boolean collectPredicates,boolean inContext,boolean fullCtx){if ( debug ) {System.out.println("PRED (collectPredicates="+collectPredicates+") "+pt.precedence+">=_p"+", ctx dependent=true");if ( parser != null ) {System.out.println("context surrounding pred is "+parser.getRuleInvocationStack());}}ATNConfig c = null;if (collectPredicates && inContext) {if ( fullCtx ) {int currentPosition = _input.index();_input.seek(_startIndex);boolean predSucceeds = evalSemanticContext(pt.getPredicate(), _outerContext, config.alt, fullCtx);_input.seek(currentPosition);if ( predSucceeds ) {c = new ATNConfig(config, pt.target); }}else {SemanticContext newSemCtx =SemanticContext.and(config.semanticContext, pt.getPredicate());c = new ATNConfig(config, pt.target, newSemCtx);}}else {c = new ATNConfig(config, pt.target);}if ( debug ) System.out.println("config from pred transition="+c);return c;}
public ATNConfig PrecedenceTransition(ATNConfig config,PrecedencePredicateTransition pt,bool collectPredicates,bool inContext,bool fullCtx){if (debug){ConsoleWriteLine("PRED (collectPredicates=" + collectPredicates + ") " +pt.precedence + ">=_p" +", ctx dependent=true");if (parser != null){ConsoleWriteLine("context surrounding pred is " +parser.GetRuleInvocationStack());}}ATNConfig c = null;if (collectPredicates && inContext){if (fullCtx){int currentPosition = input.Index;input.Seek(startIndex);bool predSucceeds = EvalSemanticContext(pt.Predicate, context, config.alt, fullCtx);input.Seek(currentPosition);if (predSucceeds){c = new ATNConfig(config, pt.target); }}else {SemanticContext newSemCtx = SemanticContext.AndOp(config.semanticContext, pt.Predicate);c = new ATNConfig(config, pt.target, newSemCtx);}}else {c = new ATNConfig(config, pt.target);}if (debug) ConsoleWriteLine("config from pred transition=" + c);return c;}
7,694
public GetDomainStatisticsReportResult getDomainStatisticsReport(GetDomainStatisticsReportRequest request) {request = beforeClientExecution(request);return executeGetDomainStatisticsReport(request);}
public virtual GetDomainStatisticsReportResponse GetDomainStatisticsReport(GetDomainStatisticsReportRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDomainStatisticsReportRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDomainStatisticsReportResponseUnmarshaller.Instance;return Invoke<GetDomainStatisticsReportResponse>(request, options);}
7,695
public boolean equals(Object obj) {if (this == obj)return true;if (!super.equals(obj))return false;if (getClass() != obj.getClass())return false;TermRangeQuery other = (TermRangeQuery) obj;if (includeLower != other.includeLower)return false;if (includeUpper != other.includeUpper)return false;if (lowerTerm == null) {if (other.lowerTerm != null)return false;} else if (!lowerTerm.equals(other.lowerTerm))return false;if (upperTerm == null) {if (other.upperTerm != null)return false;} else if (!upperTerm.equals(other.upperTerm))return false;return true;}
public override bool Equals(object obj){if (this == obj){return true;}if (!base.Equals(obj)){return false;}if (this.GetType() != obj.GetType()){return false;}TermRangeQuery other = (TermRangeQuery)obj;if (includeLower != other.includeLower){return false;}if (includeUpper != other.includeUpper){return false;}if (lowerTerm == null){if (other.lowerTerm != null){return false;}}else if (!lowerTerm.Equals(other.lowerTerm)){return false;}if (upperTerm == null){if (other.upperTerm != null){return false;}}else if (!upperTerm.Equals(other.upperTerm)){return false;}return true;}
7,696
public DescribeTransitGatewayRouteTablesResult describeTransitGatewayRouteTables(DescribeTransitGatewayRouteTablesRequest request) {request = beforeClientExecution(request);return executeDescribeTransitGatewayRouteTables(request);}
public virtual DescribeTransitGatewayRouteTablesResponse DescribeTransitGatewayRouteTables(DescribeTransitGatewayRouteTablesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTransitGatewayRouteTablesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTransitGatewayRouteTablesResponseUnmarshaller.Instance;return Invoke<DescribeTransitGatewayRouteTablesResponse>(request, options);}
7,697
public BootstrapActionConfig build() {if (replace) {args.add("--replace");}return new BootstrapActionConfig().withName("Configure Daemons").withScriptBootstrapAction(new ScriptBootstrapActionConfig().withPath("s3:.withArgs(args));}
public BootstrapActionConfig Build(){if (replace){args.Add("--replace");}return new BootstrapActionConfig{Name = "Configure Daemons",ScriptBootstrapAction = new ScriptBootstrapActionConfig{Path = string.Format(CultureInfo.InvariantCulture, "s3:Args = args}};}
7,698
public boolean isLegalReplacement(byte[] replacement) {if (decoder == null) {decoder = cs.newDecoder();decoder.onMalformedInput(CodingErrorAction.REPORT);decoder.onUnmappableCharacter(CodingErrorAction.REPORT);}ByteBuffer in = ByteBuffer.wrap(replacement);CharBuffer out = CharBuffer.allocate((int) (replacement.length * decoder.maxCharsPerByte()));CoderResult result = decoder.decode(in, out, true);return !result.isError();}
public virtual bool isLegalReplacement(byte[] replacement_1){if (decoder == null){decoder = cs.newDecoder();decoder.onMalformedInput(java.nio.charset.CodingErrorAction.REPORT);decoder.onUnmappableCharacter(java.nio.charset.CodingErrorAction.REPORT);}java.nio.ByteBuffer @in = java.nio.ByteBuffer.wrap(replacement_1);java.nio.CharBuffer @out = java.nio.CharBuffer.allocate((int)(replacement_1.Length* decoder.maxCharsPerByte()));java.nio.charset.CoderResult result = decoder.decode(@in, @out, true);return !result.isError();}
7,699
public UpdatePipelineResult updatePipeline(UpdatePipelineRequest request) {request = beforeClientExecution(request);return executeUpdatePipeline(request);}
public virtual UpdatePipelineResponse UpdatePipeline(UpdatePipelineRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdatePipelineRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdatePipelineResponseUnmarshaller.Instance;return Invoke<UpdatePipelineResponse>(request, options);}