id
int32 0
10.3k
| java
stringlengths 29
1.4k
| cs
stringlengths 28
1.38k
|
---|---|---|
8,000 | public Matcher reset() {return reset(input, 0, input.length());}
| public java.util.regex.Matcher reset(){return reset(java.lang.CharSequenceProxy.Wrap(input), 0, input.Length);}
|
8,001 | public UpdateApnsVoipSandboxChannelResult updateApnsVoipSandboxChannel(UpdateApnsVoipSandboxChannelRequest request) {request = beforeClientExecution(request);return executeUpdateApnsVoipSandboxChannel(request);}
| public virtual UpdateApnsVoipSandboxChannelResponse UpdateApnsVoipSandboxChannel(UpdateApnsVoipSandboxChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateApnsVoipSandboxChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateApnsVoipSandboxChannelResponseUnmarshaller.Instance;return Invoke<UpdateApnsVoipSandboxChannelResponse>(request, options);}
|
8,002 | public IntervalSet nextTokens(ATNState s, RuleContext ctx) {LL1Analyzer anal = new LL1Analyzer(this);IntervalSet next = anal.LOOK(s, ctx);return next;}
| public virtual IntervalSet NextTokens(ATNState s, RuleContext ctx){LL1Analyzer anal = new LL1Analyzer(this);IntervalSet next = anal.Look(s, ctx);return next;}
|
8,003 | public ListTablesResult listTables(String exclusiveStartTableName, Integer limit) {return listTables(new ListTablesRequest().withExclusiveStartTableName(exclusiveStartTableName).withLimit(limit));}
| public virtual ListTablesResponse ListTables(string exclusiveStartTableName, int limit){var request = new ListTablesRequest();request.ExclusiveStartTableName = exclusiveStartTableName;request.Limit = limit;return ListTables(request);}
|
8,004 | public DescribeIdentityResult describeIdentity(DescribeIdentityRequest request) {request = beforeClientExecution(request);return executeDescribeIdentity(request);}
| public virtual DescribeIdentityResponse DescribeIdentity(DescribeIdentityRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIdentityRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIdentityResponseUnmarshaller.Instance;return Invoke<DescribeIdentityResponse>(request, options);}
|
8,005 | final public ArrayList<String> OptionalFields() throws ParseException {Token fieldName;ArrayList<String> fieldNames = null;label_1:while (true) {if (jj_2_1(2)) {;} else {break label_1;}fieldName = jj_consume_token(TERM);jj_consume_token(COLON);if (fieldNames == null) {fieldNames = new ArrayList<String>();}fieldNames.add(fieldName.image);}{if (true) return fieldNames;}throw new Error("Missing return statement in function");}
| public IList<string> OptionalFields(){Token fieldName;IList<string> fieldNames = null;while (true){if (Jj_2_1(2)){;}else{goto label_1;}fieldName = Jj_consume_token(RegexpToken.TERM);Jj_consume_token(RegexpToken.COLON);if (fieldNames == null){fieldNames = new List<string>();}fieldNames.Add(fieldName.Image);}label_1:{ if (true) return fieldNames; }throw new Exception("Missing return statement in function");}
|
8,006 | public SubmoduleAddCommand submoduleAdd() {return new SubmoduleAddCommand(repo);}
| public virtual SubmoduleAddCommand SubmoduleAdd(){return new SubmoduleAddCommand(repo);}
|
8,007 | public DescribeTypeResult describeType(DescribeTypeRequest request) {request = beforeClientExecution(request);return executeDescribeType(request);}
| public virtual DescribeTypeResponse DescribeType(DescribeTypeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTypeRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTypeResponseUnmarshaller.Instance;return Invoke<DescribeTypeResponse>(request, options);}
|
8,008 | public UpdateCompanyNetworkConfigurationResult updateCompanyNetworkConfiguration(UpdateCompanyNetworkConfigurationRequest request) {request = beforeClientExecution(request);return executeUpdateCompanyNetworkConfiguration(request);}
| public virtual UpdateCompanyNetworkConfigurationResponse UpdateCompanyNetworkConfiguration(UpdateCompanyNetworkConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateCompanyNetworkConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateCompanyNetworkConfigurationResponseUnmarshaller.Instance;return Invoke<UpdateCompanyNetworkConfigurationResponse>(request, options);}
|
8,009 | public final String get(String name) {for (IndexableField field : fields) {if (field.name().equals(name) && field.stringValue() != null) {return field.stringValue();}}return null;}
| public string Get(string name){foreach (IIndexableField field in fields){if (field.Name.Equals(name, StringComparison.Ordinal) && field.GetStringValue() != null){return field.GetStringValue();}}return null;}
|
8,010 | public boolean equalsSameType(Object other) {assert exists || 0 == value.length();MutableValueStr b = (MutableValueStr)other;return value.get().equals(b.value.get()) && exists == b.exists;}
| public override bool EqualsSameType(object other){MutableValueStr b = (MutableValueStr)other;return Value.Equals(b.Value) && Exists == b.Exists;}
|
8,011 | public void read(RecordStream rs) {while (rs.peekNextClass() == MergeCellsRecord.class) {MergeCellsRecord mcr = (MergeCellsRecord) rs.getNext();int nRegions = mcr.getNumAreas();for (int i = 0; i < nRegions; i++) {CellRangeAddress cra = mcr.getAreaAt(i);_mergedRegions.add(cra);}}}
| public void Read(RecordStream rs){while (rs.PeekNextClass() == typeof(MergeCellsRecord)){MergeCellsRecord mcr = (MergeCellsRecord)rs.GetNext();int nRegions = mcr.NumAreas;for (int i = 0; i < nRegions; i++){_mergedRegions.Add(mcr.GetAreaAt(i));}}}
|
8,012 | public int available() throws IOException {return in.available() / 2 + (lastChar == -1 ? 0 : 1);}
| public override int available(){throw new System.NotImplementedException();}
|
8,013 | public Status getStatus() {return status;}
| public virtual RemoteRefUpdate.Status GetStatus(){return status;}
|
8,014 | public CharSequence[] decompose(CharSequence cmd) {int parts = 0;for (int i = 0; 0 <= i && i < cmd.length();) {int next = dashEven(cmd, i);if (i == next) {parts++;i = next + 2;} else {parts++;i = next;}}CharSequence part[] = new CharSequence[parts];int x = 0;for (int i = 0; 0 <= i && i < cmd.length();) {int next = dashEven(cmd, i);if (i == next) {part[x++] = cmd.subSequence(i, i + 2);i = next + 2;} else {part[x++] = (next < 0) ? cmd.subSequence(i, cmd.length()) : cmd.subSequence(i, next);i = next;}}return part;}
| public virtual string[] Decompose(string cmd){int parts = 0;for (int i = 0; 0 <= i && i < cmd.Length;){int next = DashEven(cmd, i);if (i == next){parts++;i = next + 2;}else{parts++;i = next;}}string[] part = new string[parts];int x = 0;for (int i = 0; 0 <= i && i < cmd.Length;){int next = DashEven(cmd, i);if (i == next){part[x++] = cmd.Substring(i, 2);i = next + 2;}else{part[x++] = (next < 0) ? cmd.Substring(i, cmd.Length - i) : cmd.Substring(i, next - i);i = next;}}return part;}
|
8,015 | public RevokeSecurityGroupIngressRequest(String groupName, java.util.List<IpPermission> ipPermissions) {setGroupName(groupName);setIpPermissions(ipPermissions);}
| public RevokeSecurityGroupIngressRequest(string groupName, List<IpPermission> ipPermissions){_groupName = groupName;_ipPermissions = ipPermissions;}
|
8,016 | public Ref remove(Object key) {String name = toRefName((String) key);Ref res = null;int idx;if (0 <= (idx = packed.find(name))) {res = packed.get(name);packed = packed.remove(idx);sizeIsValid = false;}if (0 <= (idx = loose.find(name))) {res = loose.get(name);loose = loose.remove(idx);sizeIsValid = false;}if (0 <= (idx = resolved.find(name))) {res = resolved.get(name);resolved = resolved.remove(idx);sizeIsValid = false;}return res;}
| public override Ref Remove(object key){string name = ToRefName((string)key);Ref res = null;int idx;if (0 <= (idx = packed.Find(name))){res = packed.Get(name);packed = packed.Remove(idx);sizeIsValid = false;}if (0 <= (idx = loose.Find(name))){res = loose.Get(name);loose = loose.Remove(idx);sizeIsValid = false;}if (0 <= (idx = resolved.Find(name))){res = resolved.Get(name);resolved = resolved.Remove(idx);sizeIsValid = false;}return res;}
|
8,017 | public DescribeMLModelsResult describeMLModels(DescribeMLModelsRequest request) {request = beforeClientExecution(request);return executeDescribeMLModels(request);}
| public virtual DescribeMLModelsResponse DescribeMLModels(DescribeMLModelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeMLModelsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeMLModelsResponseUnmarshaller.Instance;return Invoke<DescribeMLModelsResponse>(request, options);}
|
8,018 | public String getInflectionType(int wordId) {return null; }
| public string GetInflectionType(int wordId){return null; }
|
8,019 | public CreateVolumeRequest(String snapshotId, String availabilityZone) {setSnapshotId(snapshotId);setAvailabilityZone(availabilityZone);}
| public CreateVolumeRequest(string availabilityZone, string snapshotId){_availabilityZone = availabilityZone;_snapshotId = snapshotId;}
|
8,020 | public DataValidationConstraint createDateConstraint(int operatorType, String formula1, String formula2, String dateFormat) {return DVConstraint.createDateConstraint(operatorType, formula1, formula2, dateFormat);}
| public IDataValidationConstraint CreateDateConstraint(int operatorType, String formula1, String formula2, String dateFormat){return DVConstraint.CreateDateConstraint(operatorType, formula1, formula2, dateFormat);}
|
8,021 | public CloneReceiptRuleSetResult cloneReceiptRuleSet(CloneReceiptRuleSetRequest request) {request = beforeClientExecution(request);return executeCloneReceiptRuleSet(request);}
| public virtual CloneReceiptRuleSetResponse CloneReceiptRuleSet(CloneReceiptRuleSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = CloneReceiptRuleSetRequestMarshaller.Instance;options.ResponseUnmarshaller = CloneReceiptRuleSetResponseUnmarshaller.Instance;return Invoke<CloneReceiptRuleSetResponse>(request, options);}
|
8,022 | public int getOffsetGap(String fieldName) {return 1;}
| public virtual int GetOffsetGap(string fieldName){return 1;}
|
8,023 | public long hash1(char c) {final long p = 1099511628211L;long hash = 0xcbf29ce484222325L;hash = (hash ^ (c & 0x00FF)) * p;hash = (hash ^ (c >> 8)) * p;hash += hash << 13;hash ^= hash >> 7;hash += hash << 3;hash ^= hash >> 17;hash += hash << 5;return hash;}
| public virtual long Hash1(char c){long p = 1099511628211L;long hash = unchecked((long)0xcbf29ce484222325L);hash = (hash ^ (c & 0x00FF)) * p;hash = (hash ^ (c >> 8)) * p;hash += hash << 13;hash ^= hash >> 7;hash += hash << 3;hash ^= hash >> 17;hash += hash << 5;return hash;}
|
8,024 | public final ByteBuffer order(ByteOrder byteOrder) {orderImpl(byteOrder);return this;}
| public java.nio.ByteBuffer order(java.nio.ByteOrder byteOrder){orderImpl(byteOrder);return this;}
|
8,025 | public DescribeAlarmsForMetricResult describeAlarmsForMetric(DescribeAlarmsForMetricRequest request) {request = beforeClientExecution(request);return executeDescribeAlarmsForMetric(request);}
| public virtual DescribeAlarmsForMetricResponse DescribeAlarmsForMetric(DescribeAlarmsForMetricRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAlarmsForMetricRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAlarmsForMetricResponseUnmarshaller.Instance;return Invoke<DescribeAlarmsForMetricResponse>(request, options);}
|
8,026 | public void terminateWorkflowExecution(TerminateWorkflowExecutionRequest request) {request = beforeClientExecution(request);executeTerminateWorkflowExecution(request);}
| public virtual TerminateWorkflowExecutionResponse TerminateWorkflowExecution(TerminateWorkflowExecutionRequest request){var options = new InvokeOptions();options.RequestMarshaller = TerminateWorkflowExecutionRequestMarshaller.Instance;options.ResponseUnmarshaller = TerminateWorkflowExecutionResponseUnmarshaller.Instance;return Invoke<TerminateWorkflowExecutionResponse>(request, options);}
|
8,027 | public DistanceValueSource(PointVectorStrategy strategy, Point from, double multiplier) {this.strategy = strategy;this.from = from;this.multiplier = multiplier;this.nullValue = 180 * multiplier;}
| public DistanceValueSource(PointVectorStrategy strategy, IPoint from, double multiplier){this.strategy = strategy;this.from = from;this.multiplier = multiplier;}
|
8,028 | public RenameBranchCommand branchRename() {return new RenameBranchCommand(repo);}
| public virtual RenameBranchCommand BranchRename(){return new RenameBranchCommand(repo);}
|
8,029 | public IntBuffer get(int[] dst, int dstOffset, int intCount) {byteBuffer.limit(limit * SizeOf.INT);byteBuffer.position(position * SizeOf.INT);if (byteBuffer instanceof DirectByteBuffer) {((DirectByteBuffer) byteBuffer).get(dst, dstOffset, intCount);} else {((HeapByteBuffer) byteBuffer).get(dst, dstOffset, intCount);}this.position += intCount;return this;}
| public override java.nio.IntBuffer get(int[] dst, int dstOffset, int intCount){byteBuffer.limit(_limit * libcore.io.SizeOf.INT);byteBuffer.position(_position * libcore.io.SizeOf.INT);if (byteBuffer is java.nio.DirectByteBuffer){((java.nio.DirectByteBuffer)byteBuffer).get(dst, dstOffset, intCount);}else{((java.nio.HeapByteBuffer)byteBuffer).get(dst, dstOffset, intCount);}this._position += intCount;return this;}
|
8,030 | public DescribeInstanceEventNotificationAttributesResult describeInstanceEventNotificationAttributes(DescribeInstanceEventNotificationAttributesRequest request) {request = beforeClientExecution(request);return executeDescribeInstanceEventNotificationAttributes(request);}
| public virtual DescribeInstanceEventNotificationAttributesResponse DescribeInstanceEventNotificationAttributes(DescribeInstanceEventNotificationAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeInstanceEventNotificationAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeInstanceEventNotificationAttributesResponseUnmarshaller.Instance;return Invoke<DescribeInstanceEventNotificationAttributesResponse>(request, options);}
|
8,031 | public void appendUserAgent(String key, String value) {this.userAgentConfig.append(key, value);}
| public void AppendUserAgent(string key, string value){userAgentConfig.AppendUserAgent(key, value);}
|
8,032 | public String getErrorDisplay(int c) {String s = String.valueOf((char)c);switch ( c ) {case Token.EOF :s = "<EOF>";break;case '\n' :s = "\\n";break;case '\t' :s = "\\t";break;case '\r' :s = "\\r";break;}return s;}
| public virtual string GetErrorDisplay(string s){StringBuilder buf = new StringBuilder();for (var i = 0; i < s.Length; ) {var codePoint = Char.ConvertToUtf32(s, i);buf.Append(GetErrorDisplay(codePoint));i += (codePoint > 0xFFFF) ? 2 : 1;}return buf.ToString();}
|
8,033 | public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[CHARTFORMAT]\n");buffer.append(" .xPosition = ").append(getXPosition()).append("\n");buffer.append(" .yPosition = ").append(getYPosition()).append("\n");buffer.append(" .width = ").append(getWidth()).append("\n");buffer.append(" .height = ").append(getHeight()).append("\n");buffer.append(" .grBit = ").append(HexDump.intToHex(field5_grbit)).append("\n");buffer.append("[/CHARTFORMAT]\n");return buffer.toString();}
| public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[CHARTFORMAT]\n");buffer.Append(" .xPosition = ").Append(XPosition).Append("\n");buffer.Append(" .yPosition = ").Append(YPosition).Append("\n");buffer.Append(" .width = ").Append(Width).Append("\n");buffer.Append(" .height = ").Append(Height).Append("\n");buffer.Append(" .grBit = ").Append(StringUtil.ToHexString(field5_grbit)).Append("\n");buffer.Append("[/CHARTFORMAT]\n");return buffer.ToString();}
|
8,034 | public GetQuotaRequest() {super("CloudPhoto", "2017-07-11", "GetQuota", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
| public GetQuotaRequest(): base("CloudPhoto", "2017-07-11", "GetQuota", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
|
8,035 | public DeleteEventStreamResult deleteEventStream(DeleteEventStreamRequest request) {request = beforeClientExecution(request);return executeDeleteEventStream(request);}
| public virtual DeleteEventStreamResponse DeleteEventStream(DeleteEventStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEventStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEventStreamResponseUnmarshaller.Instance;return Invoke<DeleteEventStreamResponse>(request, options);}
|
8,036 | public GetPhotosRequest() {super("CloudPhoto", "2017-07-11", "GetPhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
| public GetPhotosRequest(): base("CloudPhoto", "2017-07-11", "GetPhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
|
8,037 | public int getBegin() {return begin;}
| public virtual int GetBegin(){return begin;}
|
8,038 | public void decRef() throws IOException {if (refCount.get() <= 0) {throw new IllegalStateException("this revision is already released");}final int rc = refCount.decrementAndGet();if (rc == 0) {boolean success = false;try {revision.release();success = true;} finally {if (!success) {refCount.incrementAndGet();}}} else if (rc < 0) {throw new IllegalStateException("too many decRef calls: refCount is " + rc + " after decrement");}}
| public virtual void DecRef(){if (refCount <= 0){throw new InvalidOperationException("this revision is already released");}var rc = refCount.DecrementAndGet();if (rc == 0){bool success = false;try{Revision.Release();success = true;}finally{if (!success){refCount.IncrementAndGet();}}}else if (rc < 0){throw new InvalidOperationException(string.Format("too many decRef calls: refCount is {0} after decrement", rc));}}
|
8,039 | public DescribeDataSetPermissionsResult describeDataSetPermissions(DescribeDataSetPermissionsRequest request) {request = beforeClientExecution(request);return executeDescribeDataSetPermissions(request);}
| public virtual DescribeDataSetPermissionsResponse DescribeDataSetPermissions(DescribeDataSetPermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDataSetPermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDataSetPermissionsResponseUnmarshaller.Instance;return Invoke<DescribeDataSetPermissionsResponse>(request, options);}
|
8,040 | public SaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest() {super("Domain", "2018-01-29", "SaveTaskForUpdatingRegistrantInfoByIdentityCredential");setMethod(MethodType.POST);}
| public SaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest(): base("Domain-intl", "2017-12-18", "SaveTaskForUpdatingRegistrantInfoByIdentityCredential", "domain", "openAPI"){Method = MethodType.POST;}
|
8,041 | public TokenStreamToAutomaton() {this.preservePositionIncrements = true;}
| public TokenStreamToAutomaton(){this.preservePositionIncrements = true;}
|
8,042 | public NameXPtg addNameXPtg(String name) {int extBlockIndex = -1;ExternalBookBlock extBlock = null;for (int i = 0; i < _externalBookBlocks.length; i++) {SupBookRecord ebr = _externalBookBlocks[i].getExternalBookRecord();if (ebr.isAddInFunctions()) {extBlock = _externalBookBlocks[i];extBlockIndex = i;break;}}if (extBlock == null) {extBlock = new ExternalBookBlock();extBlockIndex = extendExternalBookBlocks(extBlock);int idx = findFirstRecordLocBySid(ExternSheetRecord.sid);_workbookRecordList.add(idx, extBlock.getExternalBookRecord());_externSheetRecord.addRef(_externalBookBlocks.length - 1, -2, -2);}ExternalNameRecord extNameRecord = new ExternalNameRecord();extNameRecord.setText(name);extNameRecord.setParsedExpression(new Ptg[]{ErrPtg.REF_INVALID});int nameIndex = extBlock.addExternalName(extNameRecord);int supLinkIndex = 0;for (org.apache.poi.hssf.record.Record record : _workbookRecordList.getRecords()) {if (record instanceof SupBookRecord && ((SupBookRecord) record).isAddInFunctions()) {break;}supLinkIndex++;}int numberOfNames = extBlock.getNumberOfNames();_workbookRecordList.add(supLinkIndex + numberOfNames, extNameRecord);int fakeSheetIdx = -2; int ix = _externSheetRecord.getRefIxForSheet(extBlockIndex, fakeSheetIdx, fakeSheetIdx);return new NameXPtg(ix, nameIndex);}
| public NameXPtg AddNameXPtg(String name){int extBlockIndex = -1;ExternalBookBlock extBlock = null;for (int i = 0; i < _externalBookBlocks.Length; i++){SupBookRecord ebr = _externalBookBlocks[i].GetExternalBookRecord();if (ebr.IsAddInFunctions){extBlock = _externalBookBlocks[i];extBlockIndex = i;break;}}if (extBlock == null){extBlock = new ExternalBookBlock();extBlockIndex = ExtendExternalBookBlocks(extBlock);int idx = FindFirstRecordLocBySid(ExternSheetRecord.sid);_workbookRecordList.Add(idx, extBlock.GetExternalBookRecord());_externSheetRecord.AddRef(_externalBookBlocks.Length - 1, -2, -2);}ExternalNameRecord extNameRecord = new ExternalNameRecord();extNameRecord.Text = (name);extNameRecord.SetParsedExpression(new Ptg[] { ErrPtg.REF_INVALID });int nameIndex = extBlock.AddExternalName(extNameRecord);int supLinkIndex = 0;for (IEnumerator iterator = _workbookRecordList.GetEnumerator(); iterator.MoveNext(); supLinkIndex++){Record record = (Record)iterator.Current;if (record is SupBookRecord){if (((SupBookRecord)record).IsAddInFunctions) break;}}int numberOfNames = extBlock.NumberOfNames;_workbookRecordList.Add(supLinkIndex + numberOfNames, extNameRecord);int fakeSheetIdx = -2; int ix = _externSheetRecord.GetRefIxForSheet(extBlockIndex, fakeSheetIdx, fakeSheetIdx);return new NameXPtg(ix, nameIndex);}
|
8,043 | public static IndexReaderContext getTopLevelContext(IndexReaderContext context) {while (context.parent != null) {context = context.parent;}return context;}
| public static IndexReaderContext GetTopLevelContext(IndexReaderContext context){while (context.Parent != null){context = context.Parent;}return context;}
|
8,044 | public final CharBuffer put(CharBuffer src) {throw new ReadOnlyBufferException();}
| public override java.nio.CharBuffer put(char c){throw new java.nio.ReadOnlyBufferException();}
|
8,045 | public DeleteLabelsResult deleteLabels(DeleteLabelsRequest request) {request = beforeClientExecution(request);return executeDeleteLabels(request);}
| public virtual DeleteLabelsResponse DeleteLabels(DeleteLabelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteLabelsRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteLabelsResponseUnmarshaller.Instance;return Invoke<DeleteLabelsResponse>(request, options);}
|
8,046 | public ListAlgorithmsResult listAlgorithms(ListAlgorithmsRequest request) {request = beforeClientExecution(request);return executeListAlgorithms(request);}
| public virtual ListAlgorithmsResponse ListAlgorithms(ListAlgorithmsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListAlgorithmsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListAlgorithmsResponseUnmarshaller.Instance;return Invoke<ListAlgorithmsResponse>(request, options);}
|
8,047 | public DiffCommand setShowNameAndStatusOnly(boolean showNameAndStatusOnly) {this.showNameAndStatusOnly = showNameAndStatusOnly;return this;}
| public virtual NGit.Api.DiffCommand SetShowNameAndStatusOnly(bool showNameAndStatusOnly){this.showNameAndStatusOnly = showNameAndStatusOnly;return this;}
|
8,048 | public boolean isForceUpdate() {return force;}
| public virtual bool IsForceUpdate(){return force;}
|
8,049 | public DeleteVpcEndpointServiceConfigurationsResult deleteVpcEndpointServiceConfigurations(DeleteVpcEndpointServiceConfigurationsRequest request) {request = beforeClientExecution(request);return executeDeleteVpcEndpointServiceConfigurations(request);}
| public virtual DeleteVpcEndpointServiceConfigurationsResponse DeleteVpcEndpointServiceConfigurations(DeleteVpcEndpointServiceConfigurationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVpcEndpointServiceConfigurationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVpcEndpointServiceConfigurationsResponseUnmarshaller.Instance;return Invoke<DeleteVpcEndpointServiceConfigurationsResponse>(request, options);}
|
8,050 | public Field(String name, TokenStream tokenStream, IndexableFieldType type) {if (name == null) {throw new IllegalArgumentException("name must not be null");}if (tokenStream == null) {throw new NullPointerException("tokenStream must not be null");}if (type.indexOptions() == IndexOptions.NONE || !type.tokenized()) {throw new IllegalArgumentException("TokenStream fields must be indexed and tokenized");}if (type.stored()) {throw new IllegalArgumentException("TokenStream fields cannot be stored");}this.name = name;this.fieldsData = null;this.tokenStream = tokenStream;this.type = type;}
| public Field(string name, TokenStream tokenStream, FieldType type){if (name == null){throw new System.ArgumentNullException("name", "name cannot be null");}if (tokenStream == null){throw new System.ArgumentNullException("tokenStream", "tokenStream cannot be null");}if (type == null){throw new System.ArgumentNullException("type", "type cannot be null");}if (!type.IsIndexed || !type.IsTokenized){throw new System.ArgumentException("TokenStream fields must be indexed and tokenized");}if (type.IsStored){throw new System.ArgumentException("TokenStream fields cannot be stored");}this.m_name = name;this.FieldsData = null;this.m_tokenStream = tokenStream;this.m_type = type;}
|
8,051 | public ListDeadLetterSourceQueuesResult listDeadLetterSourceQueues(ListDeadLetterSourceQueuesRequest request) {request = beforeClientExecution(request);return executeListDeadLetterSourceQueues(request);}
| public virtual ListDeadLetterSourceQueuesResponse ListDeadLetterSourceQueues(ListDeadLetterSourceQueuesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDeadLetterSourceQueuesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDeadLetterSourceQueuesResponseUnmarshaller.Instance;return Invoke<ListDeadLetterSourceQueuesResponse>(request, options);}
|
8,052 | public BinaryDocValuesField(String name, BytesRef value) {super(name, TYPE);fieldsData = value;}
| public BinaryDocValuesField(string name, BytesRef value): base(name, fType){FieldsData = value;}
|
8,053 | public CreateVpnConnectionRequest(String type, String customerGatewayId, String vpnGatewayId) {setType(type);setCustomerGatewayId(customerGatewayId);setVpnGatewayId(vpnGatewayId);}
| public CreateVpnConnectionRequest(string type, string customerGatewayId, string vpnGatewayId){_type = type;_customerGatewayId = customerGatewayId;_vpnGatewayId = vpnGatewayId;}
|
8,054 | public OpenInstancePublicPortsResult openInstancePublicPorts(OpenInstancePublicPortsRequest request) {request = beforeClientExecution(request);return executeOpenInstancePublicPorts(request);}
| public virtual OpenInstancePublicPortsResponse OpenInstancePublicPorts(OpenInstancePublicPortsRequest request){var options = new InvokeOptions();options.RequestMarshaller = OpenInstancePublicPortsRequestMarshaller.Instance;options.ResponseUnmarshaller = OpenInstancePublicPortsResponseUnmarshaller.Instance;return Invoke<OpenInstancePublicPortsResponse>(request, options);}
|
8,055 | public Builder() {this.similarity = new BM25Similarity();}
| public Builder(): base(){lastDocID = -1;wordNum = -1;word = 0;}
|
8,056 | public InputIteratorWrapper(BytesRefIterator wrapped) {this.wrapped = wrapped;}
| public InputIteratorWrapper(IBytesRefIterator wrapped){this.wrapped = wrapped;}
|
8,057 | public CreateUserProfileResult createUserProfile(CreateUserProfileRequest request) {request = beforeClientExecution(request);return executeCreateUserProfile(request);}
| public virtual CreateUserProfileResponse CreateUserProfile(CreateUserProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateUserProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateUserProfileResponseUnmarshaller.Instance;return Invoke<CreateUserProfileResponse>(request, options);}
|
8,058 | public ImportWorkspaceImageResult importWorkspaceImage(ImportWorkspaceImageRequest request) {request = beforeClientExecution(request);return executeImportWorkspaceImage(request);}
| public virtual ImportWorkspaceImageResponse ImportWorkspaceImage(ImportWorkspaceImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = ImportWorkspaceImageRequestMarshaller.Instance;options.ResponseUnmarshaller = ImportWorkspaceImageResponseUnmarshaller.Instance;return Invoke<ImportWorkspaceImageResponse>(request, options);}
|
8,059 | public void finish() {mState = STATE_IDLE;}
| public virtual void finish(){mState = STATE_IDLE;}
|
8,060 | public DescribeFleetHistoryResult describeFleetHistory(DescribeFleetHistoryRequest request) {request = beforeClientExecution(request);return executeDescribeFleetHistory(request);}
| public virtual DescribeFleetHistoryResponse DescribeFleetHistory(DescribeFleetHistoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeFleetHistoryRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeFleetHistoryResponseUnmarshaller.Instance;return Invoke<DescribeFleetHistoryResponse>(request, options);}
|
8,061 | public ListGatewaysResult listGateways(ListGatewaysRequest request) {request = beforeClientExecution(request);return executeListGateways(request);}
| public virtual ListGatewaysResponse ListGateways(ListGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = ListGatewaysResponseUnmarshaller.Instance;return Invoke<ListGatewaysResponse>(request, options);}
|
8,062 | public CreateTrafficMirrorFilterResult createTrafficMirrorFilter(CreateTrafficMirrorFilterRequest request) {request = beforeClientExecution(request);return executeCreateTrafficMirrorFilter(request);}
| public virtual CreateTrafficMirrorFilterResponse CreateTrafficMirrorFilter(CreateTrafficMirrorFilterRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateTrafficMirrorFilterRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateTrafficMirrorFilterResponseUnmarshaller.Instance;return Invoke<CreateTrafficMirrorFilterResponse>(request, options);}
|
8,063 | public BytesRef(byte[] bytes, int offset, int length) {this.bytes = bytes;this.offset = offset;this.length = length;assert isValid();}
| public BytesRef(byte[] bytes, int offset, int length){this.bytes = bytes;this.Offset = offset;this.Length = length;Debug.Assert(IsValid());}
|
8,064 | public void write(LittleEndianOutput out) {out.writeByte(getSid());}
| public override void Write(ILittleEndianOutput out1){out1.WriteByte(Sid + PtgClass);}
|
8,065 | public BufferedChecksum(Checksum in, int bufferSize) {this.in = in;this.buffer = new byte[bufferSize];}
| public BufferedChecksum(IChecksum @in, int bufferSize){this.@in = @in;this.buffer = new byte[bufferSize];}
|
8,066 | public String toFormulaString(String[] operands) {StringBuilder buffer = new StringBuilder();buffer.append(operands[ 0 ]);buffer.append(ADD);buffer.append(operands[ 1 ]);return buffer.toString();}
| public override String ToFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.Append(operands[0]);buffer.Append(Add);buffer.Append(operands[1]);return buffer.ToString();}
|
8,067 | public TagCommand tag() {return new TagCommand(repo);}
| public virtual TagCommand Tag(){return new TagCommand(repo);}
|
8,068 | public DescribeClusterDbRevisionsResult describeClusterDbRevisions(DescribeClusterDbRevisionsRequest request) {request = beforeClientExecution(request);return executeDescribeClusterDbRevisions(request);}
| public virtual DescribeClusterDbRevisionsResponse DescribeClusterDbRevisions(DescribeClusterDbRevisionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClusterDbRevisionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClusterDbRevisionsResponseUnmarshaller.Instance;return Invoke<DescribeClusterDbRevisionsResponse>(request, options);}
|
8,069 | public StartImageScanResult startImageScan(StartImageScanRequest request) {request = beforeClientExecution(request);return executeStartImageScan(request);}
| public virtual StartImageScanResponse StartImageScan(StartImageScanRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartImageScanRequestMarshaller.Instance;options.ResponseUnmarshaller = StartImageScanResponseUnmarshaller.Instance;return Invoke<StartImageScanResponse>(request, options);}
|
8,070 | public final String toFormulaString() {throw new RuntimeException("toFormulaString(String[] operands) should be used for subclasses of OperationPtgs");}
| public override String ToFormulaString(){throw new NotImplementedException("ToFormulaString(String[] operands) should be used for subclasses of OperationPtgs");}
|
8,071 | public DBInstance restoreDBInstanceToPointInTime(RestoreDBInstanceToPointInTimeRequest request) {request = beforeClientExecution(request);return executeRestoreDBInstanceToPointInTime(request);}
| public virtual RestoreDBInstanceToPointInTimeResponse RestoreDBInstanceToPointInTime(RestoreDBInstanceToPointInTimeRequest request){var options = new InvokeOptions();options.RequestMarshaller = RestoreDBInstanceToPointInTimeRequestMarshaller.Instance;options.ResponseUnmarshaller = RestoreDBInstanceToPointInTimeResponseUnmarshaller.Instance;return Invoke<RestoreDBInstanceToPointInTimeResponse>(request, options);}
|
8,072 | public boolean removeShape(HSSFShape shape) {boolean isRemoved = _mainSpgrContainer.removeChildRecord(shape.getEscherContainer());if (isRemoved){shape.afterRemove(this);_shapes.remove(shape);}return isRemoved;}
| public bool RemoveShape(HSSFShape shape){bool isRemoved = _mainSpgrContainer.RemoveChildRecord(shape.GetEscherContainer());if (isRemoved){shape.AfterRemove(this);_shapes.Remove(shape);}return isRemoved;}
|
8,073 | public static void fill(boolean[] array, boolean value) {for (int i = 0; i < array.length; i++) {array[i] = value;}}
| public static void fill(bool[] array, bool value){{for (int i = 0; i < array.Length; i++){array[i] = value;}}}
|
8,074 | public DeleteAssessmentTemplateResult deleteAssessmentTemplate(DeleteAssessmentTemplateRequest request) {request = beforeClientExecution(request);return executeDeleteAssessmentTemplate(request);}
| public virtual DeleteAssessmentTemplateResponse DeleteAssessmentTemplate(DeleteAssessmentTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteAssessmentTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteAssessmentTemplateResponseUnmarshaller.Instance;return Invoke<DeleteAssessmentTemplateResponse>(request, options);}
|
8,075 | public StartMonitoringScheduleResult startMonitoringSchedule(StartMonitoringScheduleRequest request) {request = beforeClientExecution(request);return executeStartMonitoringSchedule(request);}
| public virtual StartMonitoringScheduleResponse StartMonitoringSchedule(StartMonitoringScheduleRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartMonitoringScheduleRequestMarshaller.Instance;options.ResponseUnmarshaller = StartMonitoringScheduleResponseUnmarshaller.Instance;return Invoke<StartMonitoringScheduleResponse>(request, options);}
|
8,076 | public void println(int i) {println(String.valueOf(i));}
| public virtual void println(int i){println(i.ToString());}
|
8,077 | public PutRoomSkillParameterResult putRoomSkillParameter(PutRoomSkillParameterRequest request) {request = beforeClientExecution(request);return executePutRoomSkillParameter(request);}
| public virtual PutRoomSkillParameterResponse PutRoomSkillParameter(PutRoomSkillParameterRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutRoomSkillParameterRequestMarshaller.Instance;options.ResponseUnmarshaller = PutRoomSkillParameterResponseUnmarshaller.Instance;return Invoke<PutRoomSkillParameterResponse>(request, options);}
|
8,078 | public DeleteDomainResult deleteDomain(DeleteDomainRequest request) {request = beforeClientExecution(request);return executeDeleteDomain(request);}
| public virtual DeleteDomainResponse DeleteDomain(DeleteDomainRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDomainRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDomainResponseUnmarshaller.Instance;return Invoke<DeleteDomainResponse>(request, options);}
|
8,079 | public ModifyLaunchTemplateResult modifyLaunchTemplate(ModifyLaunchTemplateRequest request) {request = beforeClientExecution(request);return executeModifyLaunchTemplate(request);}
| public virtual ModifyLaunchTemplateResponse ModifyLaunchTemplate(ModifyLaunchTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyLaunchTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyLaunchTemplateResponseUnmarshaller.Instance;return Invoke<ModifyLaunchTemplateResponse>(request, options);}
|
8,080 | public final float overheadRatio(int bitsPerValue) {assert isSupported(bitsPerValue);return overheadPerValue(bitsPerValue) / bitsPerValue;}
| public virtual float OverheadRatio(int bitsPerValue){Debug.Assert(IsSupported(bitsPerValue));return OverheadPerValue(bitsPerValue) / bitsPerValue;}
|
8,081 | public ObjectId getIndexId() {return indexId;}
| public virtual ObjectId GetIndexId(){return indexId;}
|
8,082 | public String toString(String field) {return "like:" + likeText;}
| public override string ToString(string field){return "like:" + LikeText;}
|
8,083 | public long ramBytesUsed() {long sizeInBytes = BASE_RAM_BYTES_USED;sizeInBytes += (docIDs!=null)? RamUsageEstimator.sizeOf(docIDs) : 0;sizeInBytes += (freqs!=null)? RamUsageEstimator.sizeOf(freqs) : 0;if(positions != null) {sizeInBytes += RamUsageEstimator.shallowSizeOf(positions);for(int[] position : positions) {sizeInBytes += (position!=null) ? RamUsageEstimator.sizeOf(position) : 0;}}if (payloads != null) {sizeInBytes += RamUsageEstimator.shallowSizeOf(payloads);for(byte[][] payload : payloads) {if(payload != null) {sizeInBytes += RamUsageEstimator.shallowSizeOf(payload);for(byte[] pload : payload) {sizeInBytes += (pload!=null) ? RamUsageEstimator.sizeOf(pload) : 0;}}}}return sizeInBytes;}
| public override long RamBytesUsed(){long sizeInBytes = 0;sizeInBytes += (docIDs != null) ? RamUsageEstimator.SizeOf(docIDs) : 0;sizeInBytes += (freqs != null) ? RamUsageEstimator.SizeOf(freqs) : 0;if (positions != null){foreach (int[] position in positions){sizeInBytes += (position != null) ? RamUsageEstimator.SizeOf(position) : 0;}}if (payloads != null){foreach (var payload in payloads){if (payload != null){foreach (var pload in payload){sizeInBytes += (pload != null) ? RamUsageEstimator.SizeOf(pload) : 0;}}}}return sizeInBytes;}
|
8,084 | public void setNeedBaseObjectIds(boolean b) {this.needBaseObjectIds = b;}
| public virtual void SetNeedBaseObjectIds(bool b){this.needBaseObjectIds = b;}
|
8,085 | public int getNextOrdinal() {return this.counter++;}
| public virtual int GetNextOrdinal(){return this.m_counter++;}
|
8,086 | public FloatBuffer compact() {throw new ReadOnlyBufferException();}
| public override java.nio.FloatBuffer compact(){throw new java.nio.ReadOnlyBufferException();}
|
8,087 | public final int getLengthA() {return endA - beginA;}
| public int GetLengthA(){return endA - beginA;}
|
8,088 | public SearchDevicesResult searchDevices(SearchDevicesRequest request) {request = beforeClientExecution(request);return executeSearchDevices(request);}
| public virtual SearchDevicesResponse SearchDevices(SearchDevicesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchDevicesRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchDevicesResponseUnmarshaller.Instance;return Invoke<SearchDevicesResponse>(request, options);}
|
8,089 | public String getInflectionForm() {return dictionary.getInflectionForm(wordId);}
| public virtual string GetInflectionForm(){return dictionary.GetInflectionForm(wordId);}
|
8,090 | public RevFilter clone() {return this;}
| public override TreeFilter Clone(){return this;}
|
8,091 | public ReservedDBInstance purchaseReservedDBInstancesOffering(PurchaseReservedDBInstancesOfferingRequest request) {request = beforeClientExecution(request);return executePurchaseReservedDBInstancesOffering(request);}
| public virtual PurchaseReservedDBInstancesOfferingResponse PurchaseReservedDBInstancesOffering(PurchaseReservedDBInstancesOfferingRequest request){var options = new InvokeOptions();options.RequestMarshaller = PurchaseReservedDBInstancesOfferingRequestMarshaller.Instance;options.ResponseUnmarshaller = PurchaseReservedDBInstancesOfferingResponseUnmarshaller.Instance;return Invoke<PurchaseReservedDBInstancesOfferingResponse>(request, options);}
|
8,092 | public String getReason() {return super.getMessage();}
| public virtual string getReason(){return base.Message;}
|
8,093 | public ParseException generateParseException() {jj_expentries.clear();boolean[] la1tokens = new boolean[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.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[34];if (jj_kind >= 0){la1tokens[jj_kind] = true;jj_kind = -1;}for (int i = 0; i < 28; i++){if (jj_la1[i] == jj_gen){for (int j = 0; j < 32; j++){if ((jj_la1_0[i] & (1 << j)) != 0){la1tokens[j] = true;}if ((jj_la1_1[i] & (1 << j)) != 0){la1tokens[32 + j] = true;}}}}for (int i = 0; i < 34; i++){if (la1tokens[i]){jj_expentry = new int[1];jj_expentry[0] = i;jj_expentries.Add(jj_expentry);}}jj_endpos = 0;Jj_rescan_token();Jj_add_error_token(0, 0);int[][] exptokseq = new int[jj_expentries.Count][];for (int i = 0; i < jj_expentries.Count; i++){exptokseq[i] = jj_expentries[i];}return new ParseException(Token, exptokseq, StandardSyntaxParserConstants.TokenImage);}
|
8,094 | public int [] toArray(){int[] rval = new int[ _limit ];System.arraycopy(_array, 0, rval, 0, _limit);return rval;}
| public int[] ToArray(){int[] rval = new int[_limit];Array.Copy(_array, 0, rval, 0, _limit);return rval;}
|
8,095 | public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) {if (args.length == 1) {return evaluate(ec.getRowIndex(), ec.getColumnIndex(), args[0]);}if (args.length == 2) {return evaluate(ec.getRowIndex(), ec.getColumnIndex(), args[0], args[1]);}return ErrorEval.VALUE_INVALID;}
| public ValueEval Evaluate(ValueEval[] args, OperationEvaluationContext ec){if (args.Length == 1){return Evaluate(ec.RowIndex, ec.ColumnIndex, args[0]);}if (args.Length == 2){return Evaluate(ec.RowIndex, ec.ColumnIndex, args[0], args[1]);}return ErrorEval.VALUE_INVALID;}
|
8,096 | public DescribeCustomerGatewaysResult describeCustomerGateways(DescribeCustomerGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeCustomerGateways(request);}
| public virtual DescribeCustomerGatewaysResponse DescribeCustomerGateways(DescribeCustomerGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeCustomerGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeCustomerGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeCustomerGatewaysResponse>(request, options);}
|
8,097 | public String toString() {return utf8.utf8ToString() + "/" + bucket;}
| public override string ToString(){return Utf8.Utf8ToString() + "/" + Bucket.ToString("0.0", CultureInfo.InvariantCulture);}
|
8,098 | public void clipRect(int x, int y, int width, int height){if (logger.check( POILogger.WARN ))logger.log(POILogger.WARN,"clipRect not supported");}
| public void ClipRect(int x, int y, int width, int height){if (Logger.Check(POILogger.WARN))Logger.Log(POILogger.WARN, "clipRect not supported");}
|
8,099 | public void startFragment(TextFragment newFragment) {uniqueTermsInFragment = new HashSet<>();currentTextFragment = newFragment;totalScore = 0;}
| public virtual void StartFragment(TextFragment newFragment){uniqueTermsInFragment = new JCG.HashSet<string>();currentTextFragment = newFragment;totalScore = 0;}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.