java
stringlengths 28
1.4k
| C#
stringlengths 27
1.38k
|
---|---|
public DeleteSkillGroupResult deleteSkillGroup(DeleteSkillGroupRequest request) {request = beforeClientExecution(request);return executeDeleteSkillGroup(request);} | public virtual DeleteSkillGroupResponse DeleteSkillGroup(DeleteSkillGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSkillGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSkillGroupResponseUnmarshaller.Instance;return Invoke<DeleteSkillGroupResponse>(request, options);} |
public SortedDocValuesField(String name, BytesRef bytes) {super(name, TYPE);fieldsData = bytes;} | public SortedDocValuesField(string name, BytesRef bytes): base(name, TYPE){FieldsData = bytes;} |
public CreateNetworkResult createNetwork(CreateNetworkRequest request) {request = beforeClientExecution(request);return executeCreateNetwork(request);} | public virtual CreateNetworkResponse CreateNetwork(CreateNetworkRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateNetworkRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateNetworkResponseUnmarshaller.Instance;return Invoke<CreateNetworkResponse>(request, options);} |
public DeleteGroupRequest(String groupName) {setGroupName(groupName);} | public DeleteGroupRequest(string groupName){_groupName = groupName;} |
public DescribeCacheEngineVersionsResult describeCacheEngineVersions(DescribeCacheEngineVersionsRequest request) {request = beforeClientExecution(request);return executeDescribeCacheEngineVersions(request);} | public virtual DescribeCacheEngineVersionsResponse DescribeCacheEngineVersions(DescribeCacheEngineVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeCacheEngineVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeCacheEngineVersionsResponseUnmarshaller.Instance;return Invoke<DescribeCacheEngineVersionsResponse>(request, options);} |
public int compareSameType(Object other) {assert exists || (false == value);MutableValueBool b = (MutableValueBool)other;if (value != b.value) return value ? 1 : -1;if (exists == b.exists) return 0;return exists ? 1 : -1;} | public override int CompareSameType(object other){MutableValueBool b = (MutableValueBool)other;if (Value != b.Value){return Value ? 1 : 0;}if (Exists == b.Exists){return 0;}return Exists ? 1 : -1;} |
public LineParser(String[] header) {this.header = header;} | public LineParser(string[] header){this.m_header = header;} |
public DBInstance restoreDBInstanceFromDBSnapshot(RestoreDBInstanceFromDBSnapshotRequest request) {request = beforeClientExecution(request);return executeRestoreDBInstanceFromDBSnapshot(request);} | public virtual RestoreDBInstanceFromDBSnapshotResponse RestoreDBInstanceFromDBSnapshot(RestoreDBInstanceFromDBSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = RestoreDBInstanceFromDBSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = RestoreDBInstanceFromDBSnapshotResponseUnmarshaller.Instance;return Invoke<RestoreDBInstanceFromDBSnapshotResponse>(request, options);} |
public void push(E e) {addFirstImpl(e);} | public virtual void push(E e){addFirstImpl(e);} |
public synchronized void reset() throws IOException {if (buf == null) {throw new IOException("Stream is closed");}if (-1 == markpos) {throw new IOException("Mark has been invalidated.");}pos = markpos;} | public override void reset(){lock (this){if (buf == null){throw new System.IO.IOException("Stream is closed");}if (-1 == markpos){throw new System.IO.IOException("Mark has been invalidated.");}pos = markpos;}} |
public UpdateUsagePlanResult updateUsagePlan(UpdateUsagePlanRequest request) {request = beforeClientExecution(request);return executeUpdateUsagePlan(request);} | public virtual UpdateUsagePlanResponse UpdateUsagePlan(UpdateUsagePlanRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateUsagePlanRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateUsagePlanResponseUnmarshaller.Instance;return Invoke<UpdateUsagePlanResponse>(request, options);} |
public boolean equals(Object obj) {if (this == obj) {return true;}if (obj == null) {return false;}if (getClass() != obj.getClass()) {return false;}TermInfo other = (TermInfo) obj;return position == other.position;} | public override bool Equals(object obj){if (this == obj){return true;}if (obj == null){return false;}if (GetType() != obj.GetType()){return false;}TermInfo other = (TermInfo)obj;if (position != other.position){return false;}return true;} |
public StringPtg(String value) {if (value.length() > 255) {throw new IllegalArgumentException("String literals in formulas can't be bigger than 255 characters ASCII");}_is16bitUnicode = StringUtil.hasMultibyte(value);field_3_string = value;} | public StringPtg(String value){if (value.Length > 255){throw new ArgumentException("String literals in formulas can't be bigger than 255 Chars ASCII");}_is16bitUnicode = StringUtil.HasMultibyte(value);field_3_string = value;field_1_Length = value.Length; } |
public ChangeType getChangeType() {return changeType;} | public virtual DiffEntry.ChangeType GetChangeType(){return changeType;} |
public String asFormulaString() {StringBuilder sb = new StringBuilder(32);asFormulaString(sb);return sb.toString();} | public String AsFormulaString(){StringBuilder sb = new StringBuilder(32);AsFormulaString(sb);return sb.ToString();} |
public void serialize(LittleEndianOutput out) {out.writeShort(sid);out.writeShort(getDataSize());out.writeShort(field_1_objectType);out.writeShort(field_2_objectId);out.writeShort(field_3_option);out.writeInt(field_4_reserved1);out.writeInt(field_5_reserved2);out.writeInt(field_6_reserved3);} | public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(sid);out1.WriteShort(DataSize);out1.WriteShort(field_1_objectType);out1.WriteShort(field_2_objectId);out1.WriteShort(field_3_option);out1.WriteInt(field_4_reserved1);out1.WriteInt(field_5_reserved2);out1.WriteInt(field_6_reserved3);} |
public DescribeAppResult describeApp(DescribeAppRequest request) {request = beforeClientExecution(request);return executeDescribeApp(request);} | public virtual DescribeAppResponse DescribeApp(DescribeAppRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAppRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAppResponseUnmarshaller.Instance;return Invoke<DescribeAppResponse>(request, options);} |
public Map<String, DirCacheEntry> getToBeCheckedOut() {return toBeCheckedOut;} | public virtual IDictionary<string, DirCacheEntry> GetToBeCheckedOut(){return toBeCheckedOut;} |
public CreatePublicVirtualInterfaceResult createPublicVirtualInterface(CreatePublicVirtualInterfaceRequest request) {request = beforeClientExecution(request);return executeCreatePublicVirtualInterface(request);} | public virtual CreatePublicVirtualInterfaceResponse CreatePublicVirtualInterface(CreatePublicVirtualInterfaceRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreatePublicVirtualInterfaceRequestMarshaller.Instance;options.ResponseUnmarshaller = CreatePublicVirtualInterfaceResponseUnmarshaller.Instance;return Invoke<CreatePublicVirtualInterfaceResponse>(request, options);} |
public CreateQueueResult createQueue(String queueName) {return createQueue(new CreateQueueRequest().withQueueName(queueName));} | public virtual CreateQueueResponse CreateQueue(string queueName){var request = new CreateQueueRequest();request.QueueName = queueName;return CreateQueue(request);} |
public ParseException generateParseException() {jj_expentries.clear();boolean[] la1tokens = new boolean[33];if (jj_kind >= 0) {la1tokens[jj_kind] = true;jj_kind = -1;}for (int i = 0; i < 25; i++) {if (jj_la1[i] == jj_gen) {for (int j = 0; j < 32; j++) {if ((jj_la1_0[i] & (1<<j)) != 0) {la1tokens[j] = true;}if ((jj_la1_1[i] & (1<<j)) != 0) {la1tokens[32+j] = true;}}}}for (int i = 0; i < 33; i++) {if (la1tokens[i]) {jj_expentry = new int[1];jj_expentry[0] = i;jj_expentries.add(jj_expentry);}}jj_endpos = 0;jj_rescan_token();jj_add_error_token(0, 0);int[][] exptokseq = new int[jj_expentries.size()][];for (int i = 0; i < jj_expentries.size(); i++) {exptokseq[i] = jj_expentries.get(i);}return new ParseException(token, exptokseq, tokenImage);} | public virtual ParseException GenerateParseException(){jj_expentries.Clear();bool[] la1tokens = new bool[24];if (jj_kind >= 0){la1tokens[jj_kind] = true;jj_kind = -1;}for (int i = 0; i < 10; i++){if (jj_la1[i] == jj_gen){for (int j = 0; j < 32; j++){if ((jj_la1_0[i] & (1 << j)) != 0){la1tokens[j] = true;}}}}for (int i = 0; i < 24; i++){if (la1tokens[i]){jj_expentry = new int[1];jj_expentry[0] = i;jj_expentries.Add(jj_expentry);}}jj_endpos = 0;Jj_rescan_token();Jj_add_error_token(0, 0);int[][] exptokseq = new int[jj_expentries.Count][];for (int i = 0; i < jj_expentries.Count; i++){exptokseq[i] = jj_expentries[i];}return new ParseException(Token, exptokseq, QueryParserConstants.TokenImage);} |
public CreateFieldLevelEncryptionProfileResult createFieldLevelEncryptionProfile(CreateFieldLevelEncryptionProfileRequest request) {request = beforeClientExecution(request);return executeCreateFieldLevelEncryptionProfile(request);} | public virtual CreateFieldLevelEncryptionProfileResponse CreateFieldLevelEncryptionProfile(CreateFieldLevelEncryptionProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateFieldLevelEncryptionProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateFieldLevelEncryptionProfileResponseUnmarshaller.Instance;return Invoke<CreateFieldLevelEncryptionProfileResponse>(request, options);} |
public static int getSmileyResource(int which) {return sIconIds[which];} | public static int getSmileyResource(int which){return sIconIds[which];} |
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[SCL]\n");buffer.append(" .numerator = ").append("0x").append(HexDump.toHex( getNumerator ())).append(" (").append( getNumerator() ).append(" )");buffer.append(System.getProperty("line.separator"));buffer.append(" .denominator = ").append("0x").append(HexDump.toHex( getDenominator ())).append(" (").append( getDenominator() ).append(" )");buffer.append(System.getProperty("line.separator"));buffer.append("[/SCL]\n");return buffer.toString();} | public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[SCL]\n");buffer.Append(" .numerator = ").Append("0x").Append(HexDump.ToHex(Numerator)).Append(" (").Append(Numerator).Append(" )");buffer.Append(Environment.NewLine);buffer.Append(" .denominator = ").Append("0x").Append(HexDump.ToHex(Denominator)).Append(" (").Append(Denominator).Append(" )");buffer.Append(Environment.NewLine);buffer.Append("[/SCL]\n");return buffer.ToString();} |
public final void setBufferSize(int newSize) {assert buffer == null || bufferSize == buffer.length: "buffer=" + buffer + " bufferSize=" + bufferSize + " buffer.length=" + (buffer != null ? buffer.length : 0);if (newSize != bufferSize) {checkBufferSize(newSize);bufferSize = newSize;if (buffer != null) {byte[] newBuffer = new byte[newSize];final int leftInBuffer = bufferLength-bufferPosition;final int numToCopy;if (leftInBuffer > newSize)numToCopy = newSize;elsenumToCopy = leftInBuffer;System.arraycopy(buffer, bufferPosition, newBuffer, 0, numToCopy);bufferStart += bufferPosition;bufferPosition = 0;bufferLength = numToCopy;newBuffer(newBuffer);}}} | public void SetBufferSize(int newSize){Debug.Assert(m_buffer == null || bufferSize == m_buffer.Length, "buffer=" + m_buffer + " bufferSize=" + bufferSize + " buffer.length=" + (m_buffer != null ? m_buffer.Length : 0));if (newSize != bufferSize){CheckBufferSize(newSize);bufferSize = newSize;if (m_buffer != null){byte[] newBuffer = new byte[newSize];int leftInBuffer = bufferLength - bufferPosition;int numToCopy;if (leftInBuffer > newSize){numToCopy = newSize;}else{numToCopy = leftInBuffer;}Array.Copy(m_buffer, bufferPosition, newBuffer, 0, numToCopy);bufferStart += bufferPosition;bufferPosition = 0;bufferLength = numToCopy;NewBuffer(newBuffer);}}} |
public DisassociateSigninDelegateGroupsFromAccountResult disassociateSigninDelegateGroupsFromAccount(DisassociateSigninDelegateGroupsFromAccountRequest request) {request = beforeClientExecution(request);return executeDisassociateSigninDelegateGroupsFromAccount(request);} | public virtual DisassociateSigninDelegateGroupsFromAccountResponse DisassociateSigninDelegateGroupsFromAccount(DisassociateSigninDelegateGroupsFromAccountRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateSigninDelegateGroupsFromAccountRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateSigninDelegateGroupsFromAccountResponseUnmarshaller.Instance;return Invoke<DisassociateSigninDelegateGroupsFromAccountResponse>(request, options);} |
public TokenStream create(TokenStream input) {return new IndicNormalizationFilter(input);} | public override TokenStream Create(TokenStream input){return new IndicNormalizationFilter(input);} |
public TickRecord(RecordInputStream in) {field_1_majorTickType = in.readByte();field_2_minorTickType = in.readByte();field_3_labelPosition = in.readByte();field_4_background = in.readByte();field_5_labelColorRgb = in.readInt();field_6_zero1 = in.readInt();field_7_zero2 = in.readInt();field_8_zero3 = in.readInt();field_9_zero4 = in.readInt();field_10_options = in.readShort();field_11_tickColor = in.readShort();field_12_zero5 = in.readShort();} | public TickRecord(RecordInputStream in1){field_1_majorTickType = (byte)in1.ReadByte();field_2_minorTickType = (byte)in1.ReadByte();field_3_labelPosition = (byte)in1.ReadByte();field_4_background = (byte)in1.ReadByte();field_5_labelColorRgb = (byte)in1.ReadInt();field_6_zero1 = in1.ReadInt();field_7_zero2 = in1.ReadInt();field_8_zero3 = in1.ReadInt();field_9_zero4 = in1.ReadInt();field_10_options = in1.ReadShort();field_11_tickColor = in1.ReadShort();field_12_zero5 = in1.ReadShort();} |
public long getPackedGitLimit() {return packedGitLimit;} | public virtual long GetPackedGitLimit(){return packedGitLimit;} |
public DisassociateContactFromAddressBookResult disassociateContactFromAddressBook(DisassociateContactFromAddressBookRequest request) {request = beforeClientExecution(request);return executeDisassociateContactFromAddressBook(request);} | public virtual DisassociateContactFromAddressBookResponse DisassociateContactFromAddressBook(DisassociateContactFromAddressBookRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateContactFromAddressBookRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateContactFromAddressBookResponseUnmarshaller.Instance;return Invoke<DisassociateContactFromAddressBookResponse>(request, options);} |
public void writeShort(int v) {checkPosition(2);int i = _writeIndex;_buf[i++] = (byte)((v >>> 0) & 0xFF);_buf[i++] = (byte)((v >>> 8) & 0xFF);_writeIndex = i;} | public void WriteShort(int v){CheckPosition(2);int i = _writeIndex;_buf[i++] = (byte)((v >> 0) & 0xFF);_buf[i++] = (byte)((v >> 8) & 0xFF);_writeIndex = i;} |
public int read(char[] c, int off, int len) {if (pos < size) {len = Math.min(len, size-pos);s.getChars(pos, pos+len, c, off);pos += len;return len;} else {s = null;return -1;}} | public override int Read(char[] c, int off, int len){if (pos < size){len = Math.Min(len, size - pos);s.CopyTo(pos, c, off, pos + len - pos);pos += len;return len;}else{s = null;return -1;}} |
public AssociateSkillWithUsersResult associateSkillWithUsers(AssociateSkillWithUsersRequest request) {request = beforeClientExecution(request);return executeAssociateSkillWithUsers(request);} | public virtual AssociateSkillWithUsersResponse AssociateSkillWithUsers(AssociateSkillWithUsersRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateSkillWithUsersRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateSkillWithUsersResponseUnmarshaller.Instance;return Invoke<AssociateSkillWithUsersResponse>(request, options);} |
public boolean doPrune(double ageSec, IndexSearcher searcher) {return ageSec > maxAgeSec;} | public bool DoPrune(double ageSec, IndexSearcher searcher){return ageSec > maxAgeSec;} |
public DescribeObservationResult describeObservation(DescribeObservationRequest request) {request = beforeClientExecution(request);return executeDescribeObservation(request);} | public virtual DescribeObservationResponse DescribeObservation(DescribeObservationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeObservationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeObservationResponseUnmarshaller.Instance;return Invoke<DescribeObservationResponse>(request, options);} |
public DeletePresetResult deletePreset(DeletePresetRequest request) {request = beforeClientExecution(request);return executeDeletePreset(request);} | public virtual DeletePresetResponse DeletePreset(DeletePresetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeletePresetRequestMarshaller.Instance;options.ResponseUnmarshaller = DeletePresetResponseUnmarshaller.Instance;return Invoke<DeletePresetResponse>(request, options);} |
public long ramBytesUsed() {long size = 0;for (Map.Entry<String,DocValuesProducer> entry : formats.entrySet()) {size += (entry.getKey().length() * Character.BYTES) + entry.getValue().ramBytesUsed();}return size;} | public override long RamBytesUsed(){long size = 0;foreach (KeyValuePair<string, DocValuesProducer> entry in formats){size += (entry.Key.Length * RamUsageEstimator.NUM_BYTES_CHAR)+ entry.Value.RamBytesUsed();}return size;} |
public UserSViewBegin clone() {return copy();} | public override Object Clone(){return CloneViaReserialise();} |
public char[] toCharArray() {synchronized (lock) {char[] result = new char[count];System.arraycopy(buf, 0, result, 0, count);return result;}} | public virtual char[] toCharArray(){lock (@lock){char[] result = new char[count];System.Array.Copy(buf, 0, result, 0, count);return result;}} |
public RebuildWorkspacesResult rebuildWorkspaces(RebuildWorkspacesRequest request) {request = beforeClientExecution(request);return executeRebuildWorkspaces(request);} | public virtual RebuildWorkspacesResponse RebuildWorkspaces(RebuildWorkspacesRequest request){var options = new InvokeOptions();options.RequestMarshaller = RebuildWorkspacesRequestMarshaller.Instance;options.ResponseUnmarshaller = RebuildWorkspacesResponseUnmarshaller.Instance;return Invoke<RebuildWorkspacesResponse>(request, options);} |
public GetLexiconResult getLexicon(GetLexiconRequest request) {request = beforeClientExecution(request);return executeGetLexicon(request);} | public virtual GetLexiconResponse GetLexicon(GetLexiconRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetLexiconRequestMarshaller.Instance;options.ResponseUnmarshaller = GetLexiconResponseUnmarshaller.Instance;return Invoke<GetLexiconResponse>(request, options);} |
public UpdateDeploymentStrategyResult updateDeploymentStrategy(UpdateDeploymentStrategyRequest request) {request = beforeClientExecution(request);return executeUpdateDeploymentStrategy(request);} | public virtual UpdateDeploymentStrategyResponse UpdateDeploymentStrategy(UpdateDeploymentStrategyRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDeploymentStrategyRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDeploymentStrategyResponseUnmarshaller.Instance;return Invoke<UpdateDeploymentStrategyResponse>(request, options);} |
public GetAlgorithmListRequest() {super("industry-brain", "2018-07-12", "GetAlgorithmList");setProtocol(ProtocolType.HTTPS);} | public GetAlgorithmListRequest(): base("industry-brain", "2018-07-12", "GetAlgorithmList"){Protocol = ProtocolType.HTTPS;} |
public boolean isForceUpdate() {return forceUpdate;} | public virtual bool IsForceUpdate(){return forceUpdate;} |
public ListGameServersResult listGameServers(ListGameServersRequest request) {request = beforeClientExecution(request);return executeListGameServers(request);} | public virtual ListGameServersResponse ListGameServers(ListGameServersRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListGameServersRequestMarshaller.Instance;options.ResponseUnmarshaller = ListGameServersResponseUnmarshaller.Instance;return Invoke<ListGameServersResponse>(request, options);} |
public boolean delete(){boolean rval = false;if ((!isRoot()) && isDeleteOK()){rval = _parent.deleteEntry(this);}return rval;} | public bool Delete(){bool rval = false;if ((!IsRoot) && IsDeleteOK){rval = _parent.DeleteEntry(this);}return rval;} |
public TableRecord(RecordInputStream in) {super(in);field_5_flags = in.readByte();field_6_res = in.readByte();field_7_rowInputRow = in.readShort();field_8_colInputRow = in.readShort();field_9_rowInputCol = in.readShort();field_10_colInputCol = in.readShort();} | public TableRecord(RecordInputStream in1): base(in1){field_5_flags = in1.ReadByte();field_6_res = in1.ReadByte();field_7_rowInputRow = in1.ReadShort();field_8_colInputRow = in1.ReadShort();field_9_rowInputCol = in1.ReadShort();field_10_colInputCol = in1.ReadShort();} |
public AllocateHostsResult allocateHosts(AllocateHostsRequest request) {request = beforeClientExecution(request);return executeAllocateHosts(request);} | public virtual AllocateHostsResponse AllocateHosts(AllocateHostsRequest request){var options = new InvokeOptions();options.RequestMarshaller = AllocateHostsRequestMarshaller.Instance;options.ResponseUnmarshaller = AllocateHostsResponseUnmarshaller.Instance;return Invoke<AllocateHostsResponse>(request, options);} |
public void writeContinue() {_ulrOutput.terminate();_totalPreviousRecordsSize += _ulrOutput.getTotalSize();_ulrOutput = new UnknownLengthRecordOutput(_out, ContinueRecord.sid);} | public void WriteContinue(){_ulrOutput.Terminate();_totalPreviousRecordsSize += _ulrOutput.TotalSize;_ulrOutput = new UnknownLengthRecordOutput(_out, ContinueRecord.sid);} |
public void unread(byte[] buffer, int offset, int length) throws IOException {if (length > pos) {throw new IOException("Pushback buffer full");}Arrays.checkOffsetAndCount(buffer.length, offset, length);if (buf == null) {throw streamClosed();}System.arraycopy(buffer, offset, buf, pos - length, length);pos = pos - length;} | public virtual void unread(byte[] buffer, int offset, int length){if (length > pos){throw new System.IO.IOException("Pushback buffer full");}java.util.Arrays.checkOffsetAndCount(buffer.Length, offset, length);if (buf == null){throw streamClosed();}System.Array.Copy(buffer, offset, buf, pos - length, length);pos = pos - length;} |
public boolean containsCell(BookSheetKey key, int rowIndex, int columnIndex) {BlankCellSheetGroup bcsg = _sheetGroupsByBookSheet.get(key);if (bcsg == null) {return false;}return bcsg.containsCell(rowIndex, columnIndex);} | public bool ContainsCell(BookSheetKey key, int rowIndex, int columnIndex){BlankCellSheetGroup bcsg = (BlankCellSheetGroup)_sheetGroupsByBookSheet[key];if (bcsg == null){return false;}return bcsg.ContainsCell(rowIndex, columnIndex);} |
public DescribeTextTranslationJobResult describeTextTranslationJob(DescribeTextTranslationJobRequest request) {request = beforeClientExecution(request);return executeDescribeTextTranslationJob(request);} | public virtual DescribeTextTranslationJobResponse DescribeTextTranslationJob(DescribeTextTranslationJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTextTranslationJobRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTextTranslationJobResponseUnmarshaller.Instance;return Invoke<DescribeTextTranslationJobResponse>(request, options);} |
public int serialize( int offset, byte[] data, EscherSerializationListener listener ){listener.beforeRecordSerialize( offset, getRecordId(), this );if (remainingData == null) {remainingData = new byte[0];}LittleEndian.putShort( data, offset, getOptions() );LittleEndian.putShort( data, offset + 2, getRecordId() );int remainingBytes = remainingData.length + (shortRecord ? 8 : 18);LittleEndian.putInt( data, offset + 4, remainingBytes );LittleEndian.putShort( data, offset + 8, field_1_flag );LittleEndian.putShort( data, offset + 10, field_2_col1 );LittleEndian.putShort( data, offset + 12, field_3_dx1 );LittleEndian.putShort( data, offset + 14, field_4_row1 );if(!shortRecord) {LittleEndian.putShort( data, offset + 16, field_5_dy1 );LittleEndian.putShort( data, offset + 18, field_6_col2 );LittleEndian.putShort( data, offset + 20, field_7_dx2 );LittleEndian.putShort( data, offset + 22, field_8_row2 );LittleEndian.putShort( data, offset + 24, field_9_dy2 );}System.arraycopy( remainingData, 0, data, offset + (shortRecord ? 16 : 26), remainingData.length );int pos = offset + 8 + (shortRecord ? 8 : 18) + remainingData.length;listener.afterRecordSerialize( pos, getRecordId(), pos - offset, this );return pos - offset;} | public override int Serialize(int offset, byte[] data, EscherSerializationListener listener){listener.BeforeRecordSerialize(offset, RecordId, this);if (remainingData == null) remainingData = new byte[0];LittleEndian.PutShort(data, offset, Options);LittleEndian.PutShort(data, offset + 2, RecordId);int remainingBytes = remainingData.Length + (shortRecord ? 8 : 18);LittleEndian.PutInt(data, offset + 4, remainingBytes);LittleEndian.PutShort(data, offset + 8, field_1_flag);LittleEndian.PutShort(data, offset + 10, field_2_col1);LittleEndian.PutShort(data, offset + 12, field_3_dx1);LittleEndian.PutShort(data, offset + 14, field_4_row1);if (!shortRecord){LittleEndian.PutShort(data, offset + 16, field_5_dy1);LittleEndian.PutShort(data, offset + 18, field_6_col2);LittleEndian.PutShort(data, offset + 20, field_7_dx2);LittleEndian.PutShort(data, offset + 22, field_8_row2);LittleEndian.PutShort(data, offset + 24, field_9_dy2);}Array.Copy(remainingData, 0, data, offset + (shortRecord ? 16 : 26), remainingData.Length);int pos = offset + 8 + (shortRecord ? 8 : 18) + remainingData.Length;listener.AfterRecordSerialize(pos, RecordId, pos - offset, this);return pos - offset;} |
public final void serialize(LittleEndianOutput out) {int nBreaks = _breaks.size();out.writeShort(nBreaks);for (Break aBreak : _breaks) {aBreak.serialize(out);}} | public override void Serialize(ILittleEndianOutput out1){int nBreaks = _breaks.Count;out1.WriteShort(nBreaks);for (int i = 0; i < nBreaks; i++){_breaks[i].Serialize(out1);}} |
public float baselineTf(float freq) {if (0.0f == freq) return 0.0f;return (freq <= tf_min)? tf_base: (float)Math.sqrt(freq + (tf_base * tf_base) - tf_min);} | public virtual float BaselineTf(float freq){if (0.0f == freq){return 0.0f;}return (freq <= tf_min) ? tf_base : (float)Math.Sqrt(freq + (tf_base * tf_base) - tf_min);} |
public StringBuilder delete(int start, int end) {delete0(start, end);return this;} | public java.lang.StringBuilder delete(int start, int end){delete0(start, end);return this;} |
public boolean isError() {return this.type == TYPE_MALFORMED_INPUT|| this.type == TYPE_UNMAPPABLE_CHAR;} | public virtual bool isError(){return this.type == TYPE_MALFORMED_INPUT || this.type == TYPE_UNMAPPABLE_CHAR;} |
public int getLastSheetIndexFromExternSheetIndex(int externSheetNumber){return linkTable.getLastInternalSheetIndexForExtIndex(externSheetNumber);} | public int GetLastSheetIndexFromExternSheetIndex(int externSheetNumber){return linkTable.GetLastInternalSheetIndexForExtIndex(externSheetNumber);} |
public PlainTextDictionary(InputStream dictFile) {in = new BufferedReader(IOUtils.getDecodingReader(dictFile, StandardCharsets.UTF_8));} | public PlainTextDictionary(Stream dictFile){@in = IOUtils.GetDecodingReader(dictFile, Encoding.UTF8);} |
public LittleEndianByteArrayOutputStream(byte[] buf, int startOffset, int maxWriteLen) { if (startOffset < 0 || startOffset > buf.length) {throw new IllegalArgumentException("Specified startOffset (" + startOffset+ ") is out of allowable range (0.." + buf.length + ")");}_buf = buf;_writeIndex = startOffset;_endIndex = startOffset + maxWriteLen;if (_endIndex < startOffset || _endIndex > buf.length) {throw new IllegalArgumentException("calculated end index (" + _endIndex+ ") is out of allowable range (" + _writeIndex + ".." + buf.length + ")");}} | public LittleEndianByteArrayOutputStream(byte[] buf, int startOffset, int maxWriteLen){if (startOffset < 0 || startOffset > buf.Length){throw new ArgumentException("Specified startOffset (" + startOffset+ ") is out of allowable range (0.." + buf.Length + ")");}_buf = buf;_writeIndex = startOffset;_endIndex = startOffset + maxWriteLen;if (_endIndex < startOffset || _endIndex > buf.Length){throw new ArgumentException("calculated end index (" + _endIndex+ ") is out of allowable range (" + _writeIndex + ".." + buf.Length + ")");}} |
public void addRecords(MergeCellsRecord[] mcrs) {for (int i = 0; i < mcrs.length; i++) {addMergeCellsRecord(mcrs[i]);}} | public void AddRecords(MergeCellsRecord[] mcrs){for (int i = 0; i < mcrs.Length; i++){AddMergeCellsRecord(mcrs[i]);}} |
public DescribeInternetGatewaysResult describeInternetGateways(DescribeInternetGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeInternetGateways(request);} | public virtual DescribeInternetGatewaysResponse DescribeInternetGateways(DescribeInternetGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeInternetGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeInternetGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeInternetGatewaysResponse>(request, options);} |
public void removeLastSaveDateTime() {remove1stProperty(PropertyIDMap.PID_LASTSAVE_DTM);} | public void RemoveLastSaveDateTime(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_LASTSAVE_DTM);} |
public boolean hitEnd() {return hitEndImpl(address);} | public bool hitEnd(){return hitEndImpl(address);} |
public ListSkillsResult listSkills(ListSkillsRequest request) {request = beforeClientExecution(request);return executeListSkills(request);} | public virtual ListSkillsResponse ListSkills(ListSkillsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSkillsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSkillsResponseUnmarshaller.Instance;return Invoke<ListSkillsResponse>(request, options);} |
public String toString() {return "popMode";} | public override string ToString(){return "popMode";} |
public void decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations) {for (int i = 0; i < iterations; ++i) {final long byte0 = blocks[blocksOffset++] & 0xFF;final long byte1 = blocks[blocksOffset++] & 0xFF;final long byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 16) | (byte1 << 8) | byte2;}} | public override void Decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){long byte0 = blocks[blocksOffset++] & 0xFF;long byte1 = blocks[blocksOffset++] & 0xFF;long byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 16) | (byte1 << 8) | byte2;}} |
public GetCloudFrontOriginAccessIdentityResult getCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityRequest request) {request = beforeClientExecution(request);return executeGetCloudFrontOriginAccessIdentity(request);} | public virtual GetCloudFrontOriginAccessIdentityResponse GetCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetCloudFrontOriginAccessIdentityRequestMarshaller.Instance;options.ResponseUnmarshaller = GetCloudFrontOriginAccessIdentityResponseUnmarshaller.Instance;return Invoke<GetCloudFrontOriginAccessIdentityResponse>(request, options);} |
public boolean include(RevWalk walker, RevCommit c) {return false;} | public override bool Include(RevWalk walker, RevCommit c){return false;} |
public DocumentStoredFieldVisitor() {this.fieldsToAdd = null;} | public DocumentStoredFieldVisitor(){this.fieldsToAdd = null;} |
public int addConditionalFormatting(CellRangeAddress[] regions, HSSFConditionalFormattingRule[] cfRules) {if (regions == null) {throw new IllegalArgumentException("regions must not be null");}for(CellRangeAddress range : regions) range.validate(SpreadsheetVersion.EXCEL97);if (cfRules == null) {throw new IllegalArgumentException("cfRules must not be null");}if (cfRules.length == 0) {throw new IllegalArgumentException("cfRules must not be empty");}if (cfRules.length > 3) {throw new IllegalArgumentException("Number of rules must not exceed 3");}CFRuleBase[] rules = new CFRuleBase[cfRules.length];for (int i = 0; i != cfRules.length; i++) {rules[i] = cfRules[i].getCfRuleRecord();}CFRecordsAggregate cfra = new CFRecordsAggregate(regions, rules);return _conditionalFormattingTable.add(cfra);} | public int AddConditionalFormatting(CellRangeAddress[] regions, IConditionalFormattingRule[] cfRules){if (regions == null){throw new ArgumentException("regions must not be null");}if (cfRules == null){throw new ArgumentException("cfRules must not be null");}if (cfRules.Length == 0){throw new ArgumentException("cfRules must not be empty");}if (cfRules.Length > 3){throw new ArgumentException("Number of rules must not exceed 3");}CFRuleRecord[] rules = new CFRuleRecord[cfRules.Length];for (int i = 0; i != cfRules.Length; i++){rules[i] = ((HSSFConditionalFormattingRule)cfRules[i]).CfRuleRecord;}CFRecordsAggregate cfra = new CFRecordsAggregate(regions, rules);return _conditionalFormattingTable.Add(cfra);} |
public FloatBuffer get(float[] dst, int dstOffset, int floatCount) {Arrays.checkOffsetAndCount(dst.length, dstOffset, floatCount);if (floatCount > remaining()) {throw new BufferUnderflowException();}for (int i = dstOffset; i < dstOffset + floatCount; ++i) {dst[i] = get();}return this;} | public virtual java.nio.FloatBuffer get(float[] dst, int dstOffset, int floatCount){java.util.Arrays.checkOffsetAndCount(dst.Length, dstOffset, floatCount);if (floatCount > remaining()){throw new java.nio.BufferUnderflowException();}{for (int i = dstOffset; i < dstOffset + floatCount; ++i){dst[i] = get();}}return this;} |
public void rewind() {pos = 0;} | public void Rewind(){pos = 0;} |
public boolean include(TreeWalk walker) {final int cmp = walker.isPathPrefix(raw, raw.length);if (cmp > 0)throw StopWalkException.INSTANCE;return cmp == 0;} | public override bool Include(TreeWalk walker){int cmp = walker.IsPathPrefix(raw, raw.Length);if (cmp > 0){throw StopWalkException.INSTANCE;}return cmp == 0;} |
public TagDeliveryStreamResult tagDeliveryStream(TagDeliveryStreamRequest request) {request = beforeClientExecution(request);return executeTagDeliveryStream(request);} | public virtual TagDeliveryStreamResponse TagDeliveryStream(TagDeliveryStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = TagDeliveryStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = TagDeliveryStreamResponseUnmarshaller.Instance;return Invoke<TagDeliveryStreamResponse>(request, options);} |
public NormalisedDecimal normaliseBaseTen() {return NormalisedDecimal.create(_significand, _binaryExponent);} | public NormalisedDecimal NormaliseBaseTen(){return NormalisedDecimal.Create(_significand, _binaryExponent);} |
public NavigableSet<K> descendingKeySet() {return new BoundedMap(!ascending, from, fromBound, to, toBound).navigableKeySet();} | public java.util.NavigableSet<K> descendingKeySet(){return new java.util.TreeMap<K, V>.BoundedMap(this._enclosing, !this.ascending, this.from, this.fromBound, this.to, this.toBound).navigableKeySet();} |
public void serialize(LittleEndianOutput out) {out.writeShort(_row);out.writeShort(_firstCol);int nItems = _xfs.length;for (short xf : _xfs) {out.writeShort(xf);}out.writeShort(_lastCol);} | public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(_row);out1.WriteShort(_first_col);int nItems = _xfs.Length;for (int i = 0; i < nItems; i++){out1.WriteShort(_xfs[i]);}out1.WriteShort(_last_col);} |
public byte[] toByteArray() {byte[] result = new byte[LONG_SIZE];LittleEndian.putLong( result, 0, fileTime);return result;} | public byte[] ToByteArray(){byte[] result = new byte[SIZE];LittleEndian.PutInt(result, 0 * LittleEndian.INT_SIZE, _dwLowDateTime);LittleEndian.PutInt(result, 1 * LittleEndian.INT_SIZE, _dwHighDateTime);return result;} |
public DiffCommand diff() {return new DiffCommand(repo);} | public virtual DiffCommand Diff(){return new DiffCommand(repo);} |
public ModifySnapshotAttributeResult modifySnapshotAttribute(ModifySnapshotAttributeRequest request) {request = beforeClientExecution(request);return executeModifySnapshotAttribute(request);} | public virtual ModifySnapshotAttributeResponse ModifySnapshotAttribute(ModifySnapshotAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifySnapshotAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifySnapshotAttributeResponseUnmarshaller.Instance;return Invoke<ModifySnapshotAttributeResponse>(request, options);} |
public CreateSubnetResult createSubnet(CreateSubnetRequest request) {request = beforeClientExecution(request);return executeCreateSubnet(request);} | public virtual CreateSubnetResponse CreateSubnet(CreateSubnetRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateSubnetRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateSubnetResponseUnmarshaller.Instance;return Invoke<CreateSubnetResponse>(request, options);} |
@Override public List<E> subList(int start, int end) {return new UnmodifiableRandomAccessList<E>(list.subList(start, end));} | public override java.util.List<E> subList(int start, int end){return new java.util.Collections.UnmodifiableRandomAccessList<E>(list.subList(start, end));} |
public long getClipboardFormat() throws HPSFException{if (!(getClipboardFormatTag() == CFTAG_WINDOWS))throw new HPSFException("Clipboard Format Tag of Thumbnail must " +"be CFTAG_WINDOWS.");return LittleEndian.getInt(getThumbnail(), OFFSET_CF);} | public long GetClipboardFormat(){if (!(ClipboardFormatTag == CFTAG_WINDOWS))throw new HPSFException("Clipboard Format Tag of Thumbnail must " +"be CFTAG_WINDOWS.");return LittleEndian.GetInt(this.ThumbnailData, OFFSet_CF);} |
public HSSFDataValidation(CellRangeAddressList regions, DataValidationConstraint constraint) {_regions = regions;_constraint = (DVConstraint)constraint;} | public HSSFDataValidation(CellRangeAddressList regions, IDataValidationConstraint constraint){_regions = regions;_constraint = (DVConstraint)constraint;} |
public DiffCommand setProgressMonitor(ProgressMonitor monitor) {if (monitor == null) {monitor = NullProgressMonitor.INSTANCE;}this.monitor = monitor;return this;} | public virtual NGit.Api.DiffCommand SetProgressMonitor(ProgressMonitor monitor){this.monitor = monitor;return this;} |
public DeleteSegmentResult deleteSegment(DeleteSegmentRequest request) {request = beforeClientExecution(request);return executeDeleteSegment(request);} | public virtual DeleteSegmentResponse DeleteSegment(DeleteSegmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSegmentRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSegmentResponseUnmarshaller.Instance;return Invoke<DeleteSegmentResponse>(request, options);} |
public AcceptVpcPeeringConnectionResult acceptVpcPeeringConnection(AcceptVpcPeeringConnectionRequest request) {request = beforeClientExecution(request);return executeAcceptVpcPeeringConnection(request);} | public virtual AcceptVpcPeeringConnectionResponse AcceptVpcPeeringConnection(AcceptVpcPeeringConnectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = AcceptVpcPeeringConnectionRequestMarshaller.Instance;options.ResponseUnmarshaller = AcceptVpcPeeringConnectionResponseUnmarshaller.Instance;return Invoke<AcceptVpcPeeringConnectionResponse>(request, options);} |
public final FloatBuffer put(float[] src) {return put(src, 0, src.length);} | public java.nio.FloatBuffer put(float[] src){return put(src, 0, src.Length);} |
public PortugueseLightStemFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}} | public PortugueseLightStemFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}} |
public RefPtg(int row, int column, boolean isRowRelative, boolean isColumnRelative) {super(row, column, isRowRelative, isColumnRelative);} | public RefPtg(int row, int column, bool isRowRelative, bool isColumnRelative):base(row, column, isRowRelative, isColumnRelative){Row = row;Column = column;IsRowRelative = isRowRelative;IsColRelative = isColumnRelative;} |
public ExportJournalToS3Result exportJournalToS3(ExportJournalToS3Request request) {request = beforeClientExecution(request);return executeExportJournalToS3(request);} | public virtual ExportJournalToS3Response ExportJournalToS3(ExportJournalToS3Request request){var options = new InvokeOptions();options.RequestMarshaller = ExportJournalToS3RequestMarshaller.Instance;options.ResponseUnmarshaller = ExportJournalToS3ResponseUnmarshaller.Instance;return Invoke<ExportJournalToS3Response>(request, options);} |
public AssociatePhoneNumbersWithVoiceConnectorGroupResult associatePhoneNumbersWithVoiceConnectorGroup(AssociatePhoneNumbersWithVoiceConnectorGroupRequest request) {request = beforeClientExecution(request);return executeAssociatePhoneNumbersWithVoiceConnectorGroup(request);} | public virtual AssociatePhoneNumbersWithVoiceConnectorGroupResponse AssociatePhoneNumbersWithVoiceConnectorGroup(AssociatePhoneNumbersWithVoiceConnectorGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociatePhoneNumbersWithVoiceConnectorGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociatePhoneNumbersWithVoiceConnectorGroupResponseUnmarshaller.Instance;return Invoke<AssociatePhoneNumbersWithVoiceConnectorGroupResponse>(request, options);} |
public RecursivePrefixTreeStrategy(SpatialPrefixTree grid, String fieldName) {super(grid, fieldName);prefixGridScanLevel = grid.getMaxLevels() - 4;} | public RecursivePrefixTreeStrategy(SpatialPrefixTree grid, string fieldName): base(grid, fieldName, true) {prefixGridScanLevel = grid.MaxLevels - 4;} |
public void decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations) {for (int j = 0; j < iterations; ++j) {values[valuesOffset++] = ((blocks[blocksOffset++] & 0xFFL) << 8) | (blocks[blocksOffset++] & 0xFFL);}} | public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int j = 0; j < iterations; ++j){values[valuesOffset++] = ((blocks[blocksOffset++] & 0xFF) << 8) | (blocks[blocksOffset++] & 0xFF);}} |
public GetAlbumsByNamesRequest() {super("CloudPhoto", "2017-07-11", "GetAlbumsByNames", "cloudphoto");setProtocol(ProtocolType.HTTPS);} | public GetAlbumsByNamesRequest(): base("CloudPhoto", "2017-07-11", "GetAlbumsByNames", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;} |
public SendRawEmailRequest(RawMessage rawMessage) {setRawMessage(rawMessage);} | public SendRawEmailRequest(RawMessage rawMessage){_rawMessage = rawMessage;} |
public boolean equals(Object other) {return sameClassAs(other) &&equalsTo(getClass().cast(other));} | public override bool Equals(object o){if (!(o is NGramPhraseQuery)){return false;}NGramPhraseQuery other = (NGramPhraseQuery)o;if (this.n != other.n){return false;}return base.Equals(other);} |
public Rule(String suffix, int min, String replacement) {this.suffix = suffix.toCharArray();this.replacement = replacement.toCharArray();this.min = min;} | public Rule(string suffix, int min, string replacement){this.m_suffix = suffix.ToCharArray();this.m_replacement = replacement.ToCharArray();this.m_min = min;} |
public ListDataSetsResult listDataSets(ListDataSetsRequest request) {request = beforeClientExecution(request);return executeListDataSets(request);} | public virtual ListDataSetsResponse ListDataSets(ListDataSetsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDataSetsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDataSetsResponseUnmarshaller.Instance;return Invoke<ListDataSetsResponse>(request, options);} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.