id
int32 0
10.3k
| java
stringlengths 29
1.4k
| cs
stringlengths 28
1.38k
|
---|---|---|
6,800 | public ListUserGroupsResult listUserGroups(ListUserGroupsRequest request) {request = beforeClientExecution(request);return executeListUserGroups(request);}
| public virtual ListUserGroupsResponse ListUserGroups(ListUserGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListUserGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListUserGroupsResponseUnmarshaller.Instance;return Invoke<ListUserGroupsResponse>(request, options);}
|
6,801 | public RevertCommand include(String name, AnyObjectId commit) {return include(new ObjectIdRef.Unpeeled(Storage.LOOSE, name,commit.copy()));}
| public virtual NGit.Api.RevertCommand Include(string name, AnyObjectId commit){return Include(new ObjectIdRef.Unpeeled(RefStorage.LOOSE, name, commit.Copy()));}
|
6,802 | public BeiderMorseFilter(TokenStream input, PhoneticEngine engine, LanguageSet languages) {super(input);this.engine = engine;this.languages = languages;}
| public BeiderMorseFilter(TokenStream input, PhoneticEngine engine, LanguageSet languages): base(input){this.engine = engine;this.languages = languages;this.termAtt = AddAttribute<ICharTermAttribute>();this.posIncAtt = AddAttribute<IPositionIncrementAttribute>();}
|
6,803 | public ListUsersResult listUsers(ListUsersRequest request) {request = beforeClientExecution(request);return executeListUsers(request);}
| public virtual ListUsersResponse ListUsers(ListUsersRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListUsersRequestMarshaller.Instance;options.ResponseUnmarshaller = ListUsersResponseUnmarshaller.Instance;return Invoke<ListUsersResponse>(request, options);}
|
6,804 | public PutUserPolicyRequest(String userName, String policyName, String policyDocument) {setUserName(userName);setPolicyName(policyName);setPolicyDocument(policyDocument);}
| public PutUserPolicyRequest(string userName, string policyName, string policyDocument){_userName = userName;_policyName = policyName;_policyDocument = policyDocument;}
|
6,805 | public synchronized void trimToSize() {super.trimToSize();}
| public override void trimToSize(){lock (this){base.trimToSize();}}
|
6,806 | public void serialize(LittleEndianOutput out) {out.writeShort(getWindowing());}
| public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(Windowing);}
|
6,807 | public AreaValueArray(TwoDEval ae) {super(ae.getWidth() * ae.getHeight());_ae = ae;_width = ae.getWidth();}
| public AreaValueArray(TwoDEval ae): base(ae.Width * ae.Height){_ae = ae;_width = ae.Width;}
|
6,808 | public RegisterOnPremisesInstanceResult registerOnPremisesInstance(RegisterOnPremisesInstanceRequest request) {request = beforeClientExecution(request);return executeRegisterOnPremisesInstance(request);}
| public virtual RegisterOnPremisesInstanceResponse RegisterOnPremisesInstance(RegisterOnPremisesInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterOnPremisesInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterOnPremisesInstanceResponseUnmarshaller.Instance;return Invoke<RegisterOnPremisesInstanceResponse>(request, options);}
|
6,809 | public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[DATALABEXT]\n");buffer.append(" .rt =").append(HexDump.shortToHex(rt)).append('\n');buffer.append(" .grbitFrt=").append(HexDump.shortToHex(grbitFrt)).append('\n');buffer.append(" .unused =").append(HexDump.toHex(unused)).append('\n');buffer.append("[/DATALABEXT]\n");return buffer.toString();}
| public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[DATALABEXT]\n");buffer.Append(" .rt =").Append(HexDump.ShortToHex(rt)).Append('\n');buffer.Append(" .grbitFrt=").Append(HexDump.ShortToHex(grbitFrt)).Append('\n');buffer.Append(" .unused =").Append(HexDump.ToHex(unused)).Append('\n');buffer.Append("[/DATALABEXT]\n");return buffer.ToString();}
|
6,810 | public LsRemoteCommand lsRemote() {return new LsRemoteCommand(repo);}
| public virtual LsRemoteCommand LsRemote(){return new LsRemoteCommand(repo);}
|
6,811 | public boolean isMerged() {return getStage() == STAGE_0;}
| public virtual bool IsMerged(){return Stage == STAGE_0;}
|
6,812 | public StopEntitiesDetectionJobResult stopEntitiesDetectionJob(StopEntitiesDetectionJobRequest request) {request = beforeClientExecution(request);return executeStopEntitiesDetectionJob(request);}
| public virtual StopEntitiesDetectionJobResponse StopEntitiesDetectionJob(StopEntitiesDetectionJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopEntitiesDetectionJobRequestMarshaller.Instance;options.ResponseUnmarshaller = StopEntitiesDetectionJobResponseUnmarshaller.Instance;return Invoke<StopEntitiesDetectionJobResponse>(request, options);}
|
6,813 | public final int arrayOffset() {return protectedArrayOffset();}
| public sealed override int arrayOffset(){return protectedArrayOffset();}
|
6,814 | public SetVaultNotificationsRequest(String accountId, String vaultName, VaultNotificationConfig vaultNotificationConfig) {setAccountId(accountId);setVaultName(vaultName);setVaultNotificationConfig(vaultNotificationConfig);}
| public SetVaultNotificationsRequest(string accountId, string vaultName, VaultNotificationConfig vaultNotificationConfig){_accountId = accountId;_vaultName = vaultName;_vaultNotificationConfig = vaultNotificationConfig;}
|
6,815 | public int addConditionalFormatting( ConditionalFormatting cf ) {return addConditionalFormatting((HSSFConditionalFormatting)cf);}
| public int AddConditionalFormatting(IConditionalFormatting cf){CFRecordsAggregate cfraClone = ((HSSFConditionalFormatting)cf).CFRecordsAggregate.CloneCFAggregate();return _conditionalFormattingTable.Add(cfraClone);}
|
6,816 | public MemAreaPtg(LittleEndianInput in) {field_1_reserved = in.readInt();field_2_subex_len = in.readShort();}
| public MemAreaPtg(ILittleEndianInput in1){field_1_reserved = in1.ReadInt();field_2_subex_len = in1.ReadShort();}
|
6,817 | public DescribeScalingActivitiesResult describeScalingActivities() {return describeScalingActivities(new DescribeScalingActivitiesRequest());}
| public virtual DescribeScalingActivitiesResponse DescribeScalingActivities(){return DescribeScalingActivities(new DescribeScalingActivitiesRequest());}
|
6,818 | public StopApplicationResult stopApplication(StopApplicationRequest request) {request = beforeClientExecution(request);return executeStopApplication(request);}
| public virtual StopApplicationResponse StopApplication(StopApplicationRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopApplicationRequestMarshaller.Instance;options.ResponseUnmarshaller = StopApplicationResponseUnmarshaller.Instance;return Invoke<StopApplicationResponse>(request, options);}
|
6,819 | public void seekExact(long ord) throws IOException {throw new UnsupportedOperationException();}
| public override void SeekExact(long ord){throw new NotSupportedException();}
|
6,820 | public DescribeLocalGatewayRouteTableVpcAssociationsResult describeLocalGatewayRouteTableVpcAssociations(DescribeLocalGatewayRouteTableVpcAssociationsRequest request) {request = beforeClientExecution(request);return executeDescribeLocalGatewayRouteTableVpcAssociations(request);}
| public virtual DescribeLocalGatewayRouteTableVpcAssociationsResponse DescribeLocalGatewayRouteTableVpcAssociations(DescribeLocalGatewayRouteTableVpcAssociationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLocalGatewayRouteTableVpcAssociationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLocalGatewayRouteTableVpcAssociationsResponseUnmarshaller.Instance;return Invoke<DescribeLocalGatewayRouteTableVpcAssociationsResponse>(request, options);}
|
6,821 | public ErrorEval getErrorEval() {return _errorEval;}
| public ErrorEval GetErrorEval(){return _errorEval;}
|
6,822 | public DeleteNetworkInterfaceResult deleteNetworkInterface(DeleteNetworkInterfaceRequest request) {request = beforeClientExecution(request);return executeDeleteNetworkInterface(request);}
| public virtual DeleteNetworkInterfaceResponse DeleteNetworkInterface(DeleteNetworkInterfaceRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteNetworkInterfaceRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteNetworkInterfaceResponseUnmarshaller.Instance;return Invoke<DeleteNetworkInterfaceResponse>(request, options);}
|
6,823 | public Group(String path, String groupName, String groupId, String arn, java.util.Date createDate) {setPath(path);setGroupName(groupName);setGroupId(groupId);setArn(arn);setCreateDate(createDate);}
| public Group(string path, string groupName, string groupId, string arn, DateTime createDate){_path = path;_groupName = groupName;_groupId = groupId;_arn = arn;_createDate = createDate;}
|
6,824 | public void removeName(int nameIndex){if (linkTable.getNumNames() > nameIndex) {int idx = findFirstRecordLocBySid(NameRecord.sid);records.remove(idx + nameIndex);linkTable.removeName(nameIndex);}}
| public void RemoveName(int namenum){if (linkTable.NumNames > namenum){int idx = FindFirstRecordLocBySid(NameRecord.sid);records.Remove(idx + namenum);linkTable.RemoveName(namenum);}}
|
6,825 | public BaseFragListBuilder( int margin ){if( margin < 0 )throw new IllegalArgumentException( "margin(" + margin + ") is too small. It must be 0 or higher." );this.margin = margin;this.minFragCharSize = Math.max( 1, margin * MIN_FRAG_CHAR_SIZE_FACTOR );}
| public BaseFragListBuilder(int margin){if (margin < 0)throw new ArgumentException("margin(" + margin + ") is too small. It must be 0 or higher.");this.margin = margin;this.minFragCharSize = Math.Max(1, margin * MIN_FRAG_CHAR_SIZE_FACTOR);}
|
6,826 | public Reader create(Reader input) {return new PatternReplaceCharFilter(pattern, replacement, input);}
| public override TextReader Create(TextReader input){#pragma warning disable 612, 618return new PatternReplaceCharFilter(pattern, replacement, maxBlockChars, blockDelimiters, input);#pragma warning restore 612, 618}
|
6,827 | @Override public Iterator<K> iterator() {final Iterator<Entry<K, V>> iterator = delegate.entrySet().iterator();return new Iterator<K>() {Entry<K, V> entry;
| public override java.util.Iterator<K> iterator(){return new java.util.Hashtable<K, V>.KeyIterator(this._enclosing);}
|
6,828 | public CreatePushTemplateResult createPushTemplate(CreatePushTemplateRequest request) {request = beforeClientExecution(request);return executeCreatePushTemplate(request);}
| public virtual CreatePushTemplateResponse CreatePushTemplate(CreatePushTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreatePushTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = CreatePushTemplateResponseUnmarshaller.Instance;return Invoke<CreatePushTemplateResponse>(request, options);}
|
6,829 | public void removeEditTime() {remove1stProperty(PropertyIDMap.PID_EDITTIME);}
| public void RemoveEditTime(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_EDITTIME);}
|
6,830 | public ListReusableDelegationSetsResult listReusableDelegationSets() {return listReusableDelegationSets(new ListReusableDelegationSetsRequest());}
| public virtual ListReusableDelegationSetsResponse ListReusableDelegationSets(){return ListReusableDelegationSets(new ListReusableDelegationSetsRequest());}
|
6,831 | public boolean equals(Object obj) {if (obj == this) {return true;}if (obj instanceof AttributeSource) {AttributeSource other = (AttributeSource) obj;if (hasAttributes()) {if (!other.hasAttributes()) {return false;}if (this.attributeImpls.size() != other.attributeImpls.size()) {return false;}State thisState = this.getCurrentState();State otherState = other.getCurrentState();while (thisState != null && otherState != null) {if (otherState.attribute.getClass() != thisState.attribute.getClass() || !otherState.attribute.equals(thisState.attribute)) {return false;}thisState = thisState.next;otherState = otherState.next;}return true;} else {return !other.hasAttributes();}} elsereturn false;}
| public override bool Equals(object obj){if (obj == this){return true;}if (obj is AttributeSource other){if (HasAttributes){if (!other.HasAttributes){return false;}if (this.attributeImpls.Count != other.attributeImpls.Count){return false;}State thisState = this.GetCurrentState();State otherState = other.GetCurrentState();while (thisState != null && otherState != null){if (otherState.attribute.GetType() != thisState.attribute.GetType() || !otherState.attribute.Equals(thisState.attribute)){return false;}thisState = thisState.next;otherState = otherState.next;}return true;}else{return !other.HasAttributes;}}else{return false;}}
|
6,832 | public static String toText(double value) {return rawDoubleBitsToText(Double.doubleToLongBits(value));}
| public static String ToText(double value){return RawDoubleBitsToText(BitConverter.DoubleToInt64Bits(value));}
|
6,833 | public void notifySetFormula(Cell cell) {_bookEvaluator.notifyUpdateCell(new HSSFEvaluationCell((HSSFCell)cell));}
| public void NotifySetFormula(ICell cell){_bookEvaluator.NotifyUpdateCell(new HSSFEvaluationCell(cell));}
|
6,834 | public Ref getRef() {return ref;}
| public virtual Ref GetRef(){return @ref;}
|
6,835 | public String toString() {StringBuilder sb = new StringBuilder();for (Block b : blocks) {sb.append(b.chars, 0, b.length);}return sb.toString();}
| public override string ToString(){StringBuilder sb = new StringBuilder();foreach (Block b in blocks){sb.Append(b.chars, 0, b.length);}return sb.ToString();}
|
6,836 | public QueryNodeError(Message message) {super(message.getKey());this.message = message;}
| public QueryNodeError(IMessage message): base(message.Key){this.message = message;}
|
6,837 | public GetRelationalDatabaseMasterUserPasswordResult getRelationalDatabaseMasterUserPassword(GetRelationalDatabaseMasterUserPasswordRequest request) {request = beforeClientExecution(request);return executeGetRelationalDatabaseMasterUserPassword(request);}
| public virtual GetRelationalDatabaseMasterUserPasswordResponse GetRelationalDatabaseMasterUserPassword(GetRelationalDatabaseMasterUserPasswordRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRelationalDatabaseMasterUserPasswordRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRelationalDatabaseMasterUserPasswordResponseUnmarshaller.Instance;return Invoke<GetRelationalDatabaseMasterUserPasswordResponse>(request, options);}
|
6,838 | public LuceneDictionary(IndexReader reader, String field) {this.reader = reader;this.field = field;}
| public LuceneDictionary(IndexReader reader, string field){this.reader = reader;this.field = field;}
|
6,839 | public CreateRuleResult createRule(CreateRuleRequest request) {request = beforeClientExecution(request);return executeCreateRule(request);}
| public virtual CreateRuleResponse CreateRule(CreateRuleRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateRuleRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateRuleResponseUnmarshaller.Instance;return Invoke<CreateRuleResponse>(request, options);}
|
6,840 | public void serialize(LittleEndianOutput out) {out.writeInt(errorCheck);}
| public void Serialize(ILittleEndianOutput out1){out1.WriteInt(errorCheck);}
|
6,841 | public DescribeAlarmHistoryResult describeAlarmHistory() {return describeAlarmHistory(new DescribeAlarmHistoryRequest());}
| public virtual DescribeAlarmHistoryResponse DescribeAlarmHistory(){return DescribeAlarmHistory(new DescribeAlarmHistoryRequest());}
|
6,842 | public DescribeVpcClassicLinkDnsSupportResult describeVpcClassicLinkDnsSupport(DescribeVpcClassicLinkDnsSupportRequest request) {request = beforeClientExecution(request);return executeDescribeVpcClassicLinkDnsSupport(request);}
| public virtual DescribeVpcClassicLinkDnsSupportResponse DescribeVpcClassicLinkDnsSupport(DescribeVpcClassicLinkDnsSupportRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVpcClassicLinkDnsSupportRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVpcClassicLinkDnsSupportResponseUnmarshaller.Instance;return Invoke<DescribeVpcClassicLinkDnsSupportResponse>(request, options);}
|
6,843 | public static char toLowerCase(char c) {return c <= 'Z' ? LC[c] : c;}
| public static char ToLowerCase(char c){return c <= 'Z' ? LC[c] : c;}
|
6,844 | public String[] split(CharSequence input) {return split(input, 0);}
| public string[] split(java.lang.CharSequence input){return split(input, 0);}
|
6,845 | public synchronized void execute() throws Exception {if (executed) {throw new IllegalStateException("Benchmark was already executed");}executed = true;runData.setStartTimeMillis();algorithm.execute();}
| public virtual void Execute(){lock (this){if (executed){throw new InvalidOperationException("Benchmark was already executed");}executed = true;runData.SetStartTimeMillis();algorithm.Execute();}}
|
6,846 | public final V get() {return value;}
| public V get() {return value;}
|
6,847 | public VCenterRecord clone() {return copy();}
| public override Object Clone(){VCenterRecord rec = new VCenterRecord();rec.field_1_vcenter = field_1_vcenter;return rec;}
|
6,848 | public void publish(Revision revision) throws IOException {throw new UnsupportedOperationException("this replicator implementation does not support remote publishing of revisions");}
| public virtual void Publish(IRevision revision){throw new NotSupportedException("this replicator implementation does not support remote publishing of revisions");}
|
6,849 | public boolean shouldBeRecursive() {return a.shouldBeRecursive() || b.shouldBeRecursive();}
| public override bool ShouldBeRecursive(){return a.ShouldBeRecursive() || b.ShouldBeRecursive();}
|
6,850 | public boolean equals(Object obj) {if (!(obj instanceof URIish))return false;final URIish b = (URIish) obj;if (!eq(getScheme(), b.getScheme()))return false;if (!eq(getUser(), b.getUser()))return false;if (!eq(getPass(), b.getPass()))return false;if (!eq(getHost(), b.getHost()))return false;if (getPort() != b.getPort())return false;if (!eq(getPath(), b.getPath()))return false;return true;}
| public override bool Equals(object obj){if (!(obj is NGit.Transport.URIish)){return false;}NGit.Transport.URIish b = (NGit.Transport.URIish)obj;if (!Eq(GetScheme(), b.GetScheme())){return false;}if (!Eq(GetUser(), b.GetUser())){return false;}if (!Eq(GetPass(), b.GetPass())){return false;}if (!Eq(GetHost(), b.GetHost())){return false;}if (GetPort() != b.GetPort()){return false;}if (!Eq(GetPath(), b.GetPath())){return false;}return true;}
|
6,851 | public TokenStream create(TokenStream input) {return new LowerCaseFilter(input);}
| public override TokenStream Create(TokenStream input){return new LowerCaseFilter(m_luceneMatchVersion, input);}
|
6,852 | public String toString() {return "IndexRevision version=" + version + " files=" + sourceFiles;}
| public override string ToString(){return "IndexRevision version=" + Version + " files=" + SourceFiles;}
|
6,853 | public static double coerceValueToDouble(ValueEval ev) throws EvaluationException {if (ev == BlankEval.instance) {return 0.0;}if (ev instanceof NumericValueEval) {return ((NumericValueEval)ev).getNumberValue();}if (ev instanceof StringEval) {String sval = ((StringEval) ev).getStringValue();Double dd = parseDouble(sval);if(dd == null) dd = parseDateTime(sval);if (dd == null) {throw EvaluationException.invalidValue();}return dd.doubleValue();}throw new RuntimeException("Unexpected arg eval type (" + ev.getClass().getName() + ")");}
| public static double CoerceValueToDouble(ValueEval ev){if (ev == BlankEval.instance){return 0.0;}if (ev is NumericValueEval){return ((NumericValueEval)ev).NumberValue;}if (ev is StringEval){double dd = ParseDouble(((StringEval)ev).StringValue);if (double.IsNaN(dd)){throw EvaluationException.InvalidValue();}return dd;}throw new Exception("Unexpected arg eval type (" + ev.GetType().Name + ")");}
|
6,854 | public SetQueueAttributesResult setQueueAttributes(SetQueueAttributesRequest request) {request = beforeClientExecution(request);return executeSetQueueAttributes(request);}
| public virtual SetQueueAttributesResponse SetQueueAttributes(SetQueueAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SetQueueAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = SetQueueAttributesResponseUnmarshaller.Instance;return Invoke<SetQueueAttributesResponse>(request, options);}
|
6,855 | public E getLast() {Link<E> last = voidLink.previous;if (last != voidLink) {return last.data;}throw new NoSuchElementException();}
| public virtual E getLast(){java.util.LinkedList.Link<E> last = voidLink.previous;if (last != voidLink){return last.data;}throw new java.util.NoSuchElementException();}
|
6,856 | public boolean contains(Object o) {return ConcurrentHashMap.this.containsKey(o);}
| public override bool contains(object o){return this._enclosing.containsKey(o);}
|
6,857 | public CreateLoadBalancerListenersResult createLoadBalancerListeners(CreateLoadBalancerListenersRequest request) {request = beforeClientExecution(request);return executeCreateLoadBalancerListeners(request);}
| public virtual CreateLoadBalancerListenersResponse CreateLoadBalancerListeners(CreateLoadBalancerListenersRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateLoadBalancerListenersRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateLoadBalancerListenersResponseUnmarshaller.Instance;return Invoke<CreateLoadBalancerListenersResponse>(request, options);}
|
6,858 | public RebootWorkspacesResult rebootWorkspaces(RebootWorkspacesRequest request) {request = beforeClientExecution(request);return executeRebootWorkspaces(request);}
| public virtual RebootWorkspacesResponse RebootWorkspaces(RebootWorkspacesRequest request){var options = new InvokeOptions();options.RequestMarshaller = RebootWorkspacesRequestMarshaller.Instance;options.ResponseUnmarshaller = RebootWorkspacesResponseUnmarshaller.Instance;return Invoke<RebootWorkspacesResponse>(request, options);}
|
6,859 | @Override public final boolean equals(Object o) {if (!(o instanceof Entry)) {return false;}Entry<?, ?> e = (Entry<?, ?>) o;return key.equals(e.getKey()) && value.equals(e.getValue());}
| public sealed override bool Equals(object o){if (!(o is java.util.MapClass.Entry<K, V>)){return false;}java.util.MapClass.Entry<object, object> e = (java.util.MapClass.Entry<object, object>)o;return key.Equals(e.getKey()) && value.Equals(e.getValue());}
|
6,860 | public DeleteCustomerGatewayRequest(String customerGatewayId) {setCustomerGatewayId(customerGatewayId);}
| public DeleteCustomerGatewayRequest(string customerGatewayId){_customerGatewayId = customerGatewayId;}
|
6,861 | public String toString() {return getFileMode() + " " + getLength() + " "+ getLastModifiedInstant()+ " " + getObjectId() + " " + getStage() + " "+ getPathString() + "\n";}
| public override string ToString(){return FileMode + " " + Length + " " + LastModified + " " + GetObjectId() + " " +Stage + " " + PathString + "\n";}
|
6,862 | public StartDocumentAnalysisResult startDocumentAnalysis(StartDocumentAnalysisRequest request) {request = beforeClientExecution(request);return executeStartDocumentAnalysis(request);}
| public virtual StartDocumentAnalysisResponse StartDocumentAnalysis(StartDocumentAnalysisRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartDocumentAnalysisRequestMarshaller.Instance;options.ResponseUnmarshaller = StartDocumentAnalysisResponseUnmarshaller.Instance;return Invoke<StartDocumentAnalysisResponse>(request, options);}
|
6,863 | public UpdatePhoneNumberSettingsResult updatePhoneNumberSettings(UpdatePhoneNumberSettingsRequest request) {request = beforeClientExecution(request);return executeUpdatePhoneNumberSettings(request);}
| public virtual UpdatePhoneNumberSettingsResponse UpdatePhoneNumberSettings(UpdatePhoneNumberSettingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdatePhoneNumberSettingsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdatePhoneNumberSettingsResponseUnmarshaller.Instance;return Invoke<UpdatePhoneNumberSettingsResponse>(request, options);}
|
6,864 | public BatchStopUpdateActionResult batchStopUpdateAction(BatchStopUpdateActionRequest request) {request = beforeClientExecution(request);return executeBatchStopUpdateAction(request);}
| public virtual BatchStopUpdateActionResponse BatchStopUpdateAction(BatchStopUpdateActionRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchStopUpdateActionRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchStopUpdateActionResponseUnmarshaller.Instance;return Invoke<BatchStopUpdateActionResponse>(request, options);}
|
6,865 | public void setText(final char array[], int start, int length) {this.array = array;this.start = start;this.index = start;this.length = length;this.limit = start + length;}
| public void SetText(char[] array, int start, int length){this.array = array;this.start = start;this.index = start;this.length = length;this.limit = start + length;}
|
6,866 | public CreateHyperParameterTuningJobResult createHyperParameterTuningJob(CreateHyperParameterTuningJobRequest request) {request = beforeClientExecution(request);return executeCreateHyperParameterTuningJob(request);}
| public virtual CreateHyperParameterTuningJobResponse CreateHyperParameterTuningJob(CreateHyperParameterTuningJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateHyperParameterTuningJobRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateHyperParameterTuningJobResponseUnmarshaller.Instance;return Invoke<CreateHyperParameterTuningJobResponse>(request, options);}
|
6,867 | public TermsEnumIndex(TermsEnum termsEnum, int subIndex) {this.termsEnum = termsEnum;this.subIndex = subIndex;}
| public TermsEnumIndex(TermsEnum termsEnum, int subIndex){this.TermsEnum = termsEnum;this.SubIndex = subIndex;}
|
6,868 | public UnarchiveFindingsResult unarchiveFindings(UnarchiveFindingsRequest request) {request = beforeClientExecution(request);return executeUnarchiveFindings(request);}
| public virtual UnarchiveFindingsResponse UnarchiveFindings(UnarchiveFindingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UnarchiveFindingsRequestMarshaller.Instance;options.ResponseUnmarshaller = UnarchiveFindingsResponseUnmarshaller.Instance;return Invoke<UnarchiveFindingsResponse>(request, options);}
|
6,869 | public void setSort(SortField field) {this.fields = new SortField[] { field };}
| public virtual void SetSort(SortField field){this.fields = new SortField[] { field };}
|
6,870 | public CreateBusinessReportScheduleResult createBusinessReportSchedule(CreateBusinessReportScheduleRequest request) {request = beforeClientExecution(request);return executeCreateBusinessReportSchedule(request);}
| public virtual CreateBusinessReportScheduleResponse CreateBusinessReportSchedule(CreateBusinessReportScheduleRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateBusinessReportScheduleRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateBusinessReportScheduleResponseUnmarshaller.Instance;return Invoke<CreateBusinessReportScheduleResponse>(request, options);}
|
6,871 | public GetIPSetResult getIPSet(GetIPSetRequest request) {request = beforeClientExecution(request);return executeGetIPSet(request);}
| public virtual GetIPSetResponse GetIPSet(GetIPSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetIPSetRequestMarshaller.Instance;options.ResponseUnmarshaller = GetIPSetResponseUnmarshaller.Instance;return Invoke<GetIPSetResponse>(request, options);}
|
6,872 | public int serialize( int offset, byte[] data,EscherSerializationListener listener ){listener.beforeRecordSerialize( offset, getRecordId(), this );LittleEndian.putShort( data, offset, getOptions() );LittleEndian.putShort( data, offset + 2, getRecordId() );LittleEndian.putInt( data, offset + 4, getPropertiesSize() );int pos = offset + 8;for ( EscherProperty property : properties ){pos += property.serializeSimplePart( data, pos );}for ( EscherProperty property : properties ){pos += property.serializeComplexPart( data, pos );}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);LittleEndian.PutShort(data, offset, Options);LittleEndian.PutShort(data, offset + 2, RecordId);LittleEndian.PutInt(data, offset + 4, PropertiesSize);int pos = offset + 8;foreach (EscherProperty property in properties){pos += property.SerializeSimplePart(data, pos);}foreach (EscherProperty property in properties){pos += property.SerializeComplexPart(data, pos);}listener.AfterRecordSerialize(pos, RecordId, pos - offset, this);return pos - offset;}
|
6,873 | public ListTagsForVaultResult listTagsForVault(ListTagsForVaultRequest request) {request = beforeClientExecution(request);return executeListTagsForVault(request);}
| public virtual ListTagsForVaultResponse ListTagsForVault(ListTagsForVaultRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTagsForVaultRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTagsForVaultResponseUnmarshaller.Instance;return Invoke<ListTagsForVaultResponse>(request, options);}
|
6,874 | public long getDeltaCacheSize() {return deltaCacheSize;}
| public virtual long GetDeltaCacheSize(){return deltaCacheSize;}
|
6,875 | public final int remaining() {return limit - position;}
| public int remaining(){return _limit - _position;}
|
6,876 | public DescribeReservedInstancesResult describeReservedInstances(DescribeReservedInstancesRequest request) {request = beforeClientExecution(request);return executeDescribeReservedInstances(request);}
| public virtual DescribeReservedInstancesResponse DescribeReservedInstances(DescribeReservedInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeReservedInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeReservedInstancesResponseUnmarshaller.Instance;return Invoke<DescribeReservedInstancesResponse>(request, options);}
|
6,877 | public PostRealTimeDeviceDataRequest() {super("industry-brain", "2018-07-12", "PostRealTimeDeviceData");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}
| public PostRealTimeDeviceDataRequest(): base("industry-brain", "2018-07-12", "PostRealTimeDeviceData"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}
|
6,878 | public ScandinavianFoldingFilter(TokenStream input) {super(input);}
| public ScandinavianFoldingFilter(TokenStream input): base(input){charTermAttribute = AddAttribute<ICharTermAttribute>();}
|
6,879 | public SetLoadBalancerPoliciesForBackendServerResult setLoadBalancerPoliciesForBackendServer(SetLoadBalancerPoliciesForBackendServerRequest request) {request = beforeClientExecution(request);return executeSetLoadBalancerPoliciesForBackendServer(request);}
| public virtual SetLoadBalancerPoliciesForBackendServerResponse SetLoadBalancerPoliciesForBackendServer(SetLoadBalancerPoliciesForBackendServerRequest request){var options = new InvokeOptions();options.RequestMarshaller = SetLoadBalancerPoliciesForBackendServerRequestMarshaller.Instance;options.ResponseUnmarshaller = SetLoadBalancerPoliciesForBackendServerResponseUnmarshaller.Instance;return Invoke<SetLoadBalancerPoliciesForBackendServerResponse>(request, options);}
|
6,880 | public ImportSnapshotResult importSnapshot(ImportSnapshotRequest request) {request = beforeClientExecution(request);return executeImportSnapshot(request);}
| public virtual ImportSnapshotResponse ImportSnapshot(ImportSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = ImportSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = ImportSnapshotResponseUnmarshaller.Instance;return Invoke<ImportSnapshotResponse>(request, options);}
|
6,881 | public void addCellRangeAddress(CellRangeAddress cra) {_list.add(cra);}
| public void AddCellRangeAddress(CellRangeAddress cra){_list.Add(cra);}
|
6,882 | public IntBuffer put(int[] src, int srcOffset, int intCount) {byteBuffer.limit(limit * SizeOf.INT);byteBuffer.position(position * SizeOf.INT);if (byteBuffer instanceof ReadWriteDirectByteBuffer) {((ReadWriteDirectByteBuffer) byteBuffer).put(src, srcOffset, intCount);} else {((ReadWriteHeapByteBuffer) byteBuffer).put(src, srcOffset, intCount);}this.position += intCount;return this;}
| public override java.nio.IntBuffer put(int[] src, int srcOffset, int intCount){byteBuffer.limit(_limit * libcore.io.SizeOf.INT);byteBuffer.position(_position * libcore.io.SizeOf.INT);if (byteBuffer is java.nio.ReadWriteDirectByteBuffer){((java.nio.ReadWriteDirectByteBuffer)byteBuffer).put(src, srcOffset, intCount);}else{((java.nio.ReadWriteHeapByteBuffer)byteBuffer).put(src, srcOffset, intCount);}this._position += intCount;return this;}
|
6,883 | public DeleteInsightRulesResult deleteInsightRules(DeleteInsightRulesRequest request) {request = beforeClientExecution(request);return executeDeleteInsightRules(request);}
| public virtual DeleteInsightRulesResponse DeleteInsightRules(DeleteInsightRulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteInsightRulesRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteInsightRulesResponseUnmarshaller.Instance;return Invoke<DeleteInsightRulesResponse>(request, options);}
|
6,884 | public void setStorageId(int storageId) {field_5_stream_id = storageId;}
| public void SetStorageId(int storageId){field_5_stream_id = storageId;}
|
6,885 | public StartVpcEndpointServicePrivateDnsVerificationResult startVpcEndpointServicePrivateDnsVerification(StartVpcEndpointServicePrivateDnsVerificationRequest request) {request = beforeClientExecution(request);return executeStartVpcEndpointServicePrivateDnsVerification(request);}
| public virtual StartVpcEndpointServicePrivateDnsVerificationResponse StartVpcEndpointServicePrivateDnsVerification(StartVpcEndpointServicePrivateDnsVerificationRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartVpcEndpointServicePrivateDnsVerificationRequestMarshaller.Instance;options.ResponseUnmarshaller = StartVpcEndpointServicePrivateDnsVerificationResponseUnmarshaller.Instance;return Invoke<StartVpcEndpointServicePrivateDnsVerificationResponse>(request, options);}
|
6,886 | public SSTRecord() {field_1_num_strings = 0;field_2_num_unique_strings = 0;field_3_strings = new IntMapper<>();deserializer = new SSTDeserializer(field_3_strings);}
| public SSTRecord(){field_1_num_strings = 0;field_2_num_unique_strings = 0;field_3_strings = new IntMapper<UnicodeString>();deserializer = new SSTDeserializer(field_3_strings);}
|
6,887 | public void clearData() {points.clear();}
| public virtual void ClearData(){points.Clear();}
|
6,888 | public void visitContainedRecords(RecordVisitor rv) {PositionTrackingVisitor stv = new PositionTrackingVisitor(rv, 0);final int blockCount = getRowBlockCount();for (int blockIndex = 0; blockIndex < blockCount; blockIndex++) {int pos=0;final int rowBlockSize = visitRowRecordsForBlock(blockIndex, rv);pos += rowBlockSize;final int startRowNumber = getStartRowNumberForBlock(blockIndex);final int endRowNumber = getEndRowNumberForBlock(blockIndex);final List<Short> cellOffsets = new ArrayList<>();int cellRefOffset = (rowBlockSize - RowRecord.ENCODED_SIZE);for (int row = startRowNumber; row <= endRowNumber; row++) {if (_valuesAgg.rowHasCells(row)) {stv.setPosition(0);_valuesAgg.visitCellsForRow(row, stv);int rowCellSize = stv.getPosition();pos += rowCellSize;cellOffsets.add((short)cellRefOffset);cellRefOffset = rowCellSize;}}rv.visitRecord(new DBCellRecord(pos, shortListToArray(cellOffsets)));}_unknownRecords.forEach(rv::visitRecord);}
| public override void VisitContainedRecords(RecordVisitor rv){PositionTrackingVisitor stv = new PositionTrackingVisitor(rv, 0);int blockCount = this.RowBlockCount;for (int blockIndex = 0; blockIndex < blockCount; blockIndex++){int pos = 0;int rowBlockSize = VisitRowRecordsForBlock(blockIndex, rv);pos += rowBlockSize;int startRowNumber = GetStartRowNumberForBlock(blockIndex);int endRowNumber = GetEndRowNumberForBlock(blockIndex);DBCellRecord cellRecord = new DBCellRecord();int cellRefOffset = (rowBlockSize - RowRecord.ENCODED_SIZE);for (int row = startRowNumber; row <= endRowNumber; row++){if (_valuesAgg.RowHasCells(row)){stv.Position = 0;_valuesAgg.VisitCellsForRow(row, stv);int rowCellSize = stv.Position;pos += rowCellSize;cellRecord.AddCellOffset((short)cellRefOffset);cellRefOffset = rowCellSize;}}cellRecord.RowOffset = (pos);rv.VisitRecord(cellRecord);}for (int i = 0; i < _unknownRecords.Count; i++){rv.VisitRecord((Record)_unknownRecords[i]);}}
|
6,889 | 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);}
|
6,890 | public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1,ValueEval arg2) {return evaluate(srcRowIndex, srcColumnIndex, arg0, arg1, arg2, DEFAULT_ARG3);}
| public ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1,ValueEval arg2){return Evaluate(srcRowIndex, srcColumnIndex, arg0, arg1, arg2, DEFAULT_ARG3);}
|
6,891 | public int size() {return a.length;}
| public override int size(){return a.Length;}
|
6,892 | public HSSFCell getCell(int cellnum) {return getCell(cellnum, book.getMissingCellPolicy());}
| public ICell GetCell(int cellnum){return GetCell(cellnum, book.MissingCellPolicy);}
|
6,893 | public String toFormulaString(FormulaRenderingWorkbook book) {return ExternSheetNameResolver.prependSheetName(book, field_1_index_extern_sheet, FormulaError.REF.getString());}
| public String ToFormulaString(IFormulaRenderingWorkbook book){return ExternSheetNameResolver.PrependSheetName(book, field_1_index_extern_sheet,HSSFErrorConstants.GetText(HSSFErrorConstants.ERROR_REF));}
|
6,894 | public int getBucket(CharSequence key) {return getExactMatchStartingFromRootArc(0, new BytesRef(key));}
| public virtual int GetBucket(string key){return GetExactMatchStartingFromRootArc(0, new BytesRef(key));}
|
6,895 | public DeleteAuthorizerResult deleteAuthorizer(DeleteAuthorizerRequest request) {request = beforeClientExecution(request);return executeDeleteAuthorizer(request);}
| public virtual DeleteAuthorizerResponse DeleteAuthorizer(DeleteAuthorizerRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteAuthorizerRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteAuthorizerResponseUnmarshaller.Instance;return Invoke<DeleteAuthorizerResponse>(request, options);}
|
6,896 | public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE) {String octal = OperandResolver.coerceValueToString(numberVE);try {return new NumberEval(BaseNumberUtils.convertToDecimal(octal, OCTAL_BASE, MAX_NUMBER_OF_PLACES));} catch (IllegalArgumentException e) {return ErrorEval.NUM_ERROR;}}
| public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE){String octal = OperandResolver.CoerceValueToString(numberVE);try{return new NumberEval(BaseNumberUtils.ConvertToDecimal(octal, OCTAL_BASE, MAX_NUMBER_OF_PLACES));}catch (ArgumentException){return ErrorEval.NUM_ERROR;}}
|
6,897 | public void serialize(LittleEndianOutput out) {out.writeShort(field_1_hcenter);}
| public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_hcenter);}
|
6,898 | public EnableEnhancedMonitoringResult enableEnhancedMonitoring(EnableEnhancedMonitoringRequest request) {request = beforeClientExecution(request);return executeEnableEnhancedMonitoring(request);}
| public virtual EnableEnhancedMonitoringResponse EnableEnhancedMonitoring(EnableEnhancedMonitoringRequest request){var options = new InvokeOptions();options.RequestMarshaller = EnableEnhancedMonitoringRequestMarshaller.Instance;options.ResponseUnmarshaller = EnableEnhancedMonitoringResponseUnmarshaller.Instance;return Invoke<EnableEnhancedMonitoringResponse>(request, options);}
|
6,899 | public ListDeliveryStreamsResult listDeliveryStreams(ListDeliveryStreamsRequest request) {request = beforeClientExecution(request);return executeListDeliveryStreams(request);}
| public virtual ListDeliveryStreamsResponse ListDeliveryStreams(ListDeliveryStreamsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDeliveryStreamsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDeliveryStreamsResponseUnmarshaller.Instance;return Invoke<ListDeliveryStreamsResponse>(request, options);}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.