java
stringlengths 28
1.4k
| C#
stringlengths 27
1.38k
|
---|---|
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);} |
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;} |
public synchronized void trimToSize() {super.trimToSize();} | public override void trimToSize(){lock (this){base.trimToSize();}} |
public void serialize(LittleEndianOutput out) {out.writeShort(getWindowing());} | public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(Windowing);} |
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;} |
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);} |
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();} |
public LsRemoteCommand lsRemote() {return new LsRemoteCommand(repo);} | public virtual LsRemoteCommand LsRemote(){return new LsRemoteCommand(repo);} |
public boolean isMerged() {return getStage() == STAGE_0;} | public virtual bool IsMerged(){return Stage == STAGE_0;} |
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);} |
public final int arrayOffset() {return protectedArrayOffset();} | public sealed override int arrayOffset(){return protectedArrayOffset();} |
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;} |
public int addConditionalFormatting( ConditionalFormatting cf ) {return addConditionalFormatting((HSSFConditionalFormatting)cf);} | public int AddConditionalFormatting(IConditionalFormatting cf){CFRecordsAggregate cfraClone = ((HSSFConditionalFormatting)cf).CFRecordsAggregate.CloneCFAggregate();return _conditionalFormattingTable.Add(cfraClone);} |
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();} |
public DescribeScalingActivitiesResult describeScalingActivities() {return describeScalingActivities(new DescribeScalingActivitiesRequest());} | public virtual DescribeScalingActivitiesResponse DescribeScalingActivities(){return DescribeScalingActivities(new DescribeScalingActivitiesRequest());} |
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);} |
public void seekExact(long ord) throws IOException {throw new UnsupportedOperationException();} | public override void SeekExact(long ord){throw new NotSupportedException();} |
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);} |
public ErrorEval getErrorEval() {return _errorEval;} | public ErrorEval GetErrorEval(){return _errorEval;} |
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);} |
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;} |
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);}} |
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);} |
public Reader create(Reader input) {return new PatternReplaceCharFilter(pattern, replacement, input);} | public override TextReader Create(TextReader input){return new PatternReplaceCharFilter(pattern, replacement, maxBlockChars, blockDelimiters, input);} |
@Override public Iterator<K> iterator() {final Iterator<Entry<K, V>> iterator = delegate.entrySet().iterator();return new Iterator<K>();} | public override java.util.Iterator<K> iterator(){return new java.util.Hashtable<K, V>.KeyIterator(this._enclosing);} |
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);} |
public void removeEditTime() {remove1stProperty(PropertyIDMap.PID_EDITTIME);} | public void RemoveEditTime(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_EDITTIME);} |
public ListReusableDelegationSetsResult listReusableDelegationSets() {return listReusableDelegationSets(new ListReusableDelegationSetsRequest());} | public virtual ListReusableDelegationSetsResponse ListReusableDelegationSets(){return ListReusableDelegationSets(new ListReusableDelegationSetsRequest());} |
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();}} else return 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;}} |
public static String toText(double value) {return rawDoubleBitsToText(Double.doubleToLongBits(value));} | public static String ToText(double value){return RawDoubleBitsToText(BitConverter.DoubleToInt64Bits(value));} |
public void notifySetFormula(Cell cell) {_bookEvaluator.notifyUpdateCell(new HSSFEvaluationCell((HSSFCell)cell));} | public void NotifySetFormula(ICell cell){_bookEvaluator.NotifyUpdateCell(new HSSFEvaluationCell(cell));} |
public Ref getRef() {return ref;} | public virtual Ref GetRef(){return @ref;} |
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();} |
public QueryNodeError(Message message) {super(message.getKey());this.message = message;} | public QueryNodeError(IMessage message): base(message.Key){this.message = message;} |
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);} |
public LuceneDictionary(IndexReader reader, String field) {this.reader = reader;this.field = field;} | public LuceneDictionary(IndexReader reader, string field){this.reader = reader;this.field = field;} |
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);} |
public void serialize(LittleEndianOutput out) {out.writeInt(errorCheck);} | public void Serialize(ILittleEndianOutput out1){out1.WriteInt(errorCheck);} |
public DescribeAlarmHistoryResult describeAlarmHistory() {return describeAlarmHistory(new DescribeAlarmHistoryRequest());} | public virtual DescribeAlarmHistoryResponse DescribeAlarmHistory(){return DescribeAlarmHistory(new DescribeAlarmHistoryRequest());} |
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);} |
public static char toLowerCase(char c) {return c <= 'Z' ? LC[c] : c;} | public static char ToLowerCase(char c){return c <= 'Z' ? LC[c] : c;} |
public String[] split(CharSequence input) {return split(input, 0);} | public string[] split(java.lang.CharSequence input){return split(input, 0);} |
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();}} |
public final V get() {return value;} | public V get() {return value;} |
public VCenterRecord clone() {return copy();} | public override Object Clone(){VCenterRecord rec = new VCenterRecord();rec.field_1_vcenter = field_1_vcenter;return rec;} |
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");} |
public boolean shouldBeRecursive() {return a.shouldBeRecursive() || b.shouldBeRecursive();} | public override bool ShouldBeRecursive(){return a.ShouldBeRecursive() || b.ShouldBeRecursive();} |
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;} |
public TokenStream create(TokenStream input) {return new LowerCaseFilter(input);} | public override TokenStream Create(TokenStream input){return new LowerCaseFilter(m_luceneMatchVersion, input);} |
public String toString() {return "IndexRevision version=" + version + " files=" + sourceFiles;} | public override string ToString(){return "IndexRevision version=" + Version + " files=" + SourceFiles;} |
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 + ")");} |
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);} |
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();} |
public boolean contains(Object o) {return ConcurrentHashMap.this.containsKey(o);} | public override bool contains(object o){return this._enclosing.containsKey(o);} |
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);} |
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);} |
@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());} |
public DeleteCustomerGatewayRequest(String customerGatewayId) {setCustomerGatewayId(customerGatewayId);} | public DeleteCustomerGatewayRequest(string customerGatewayId){_customerGatewayId = customerGatewayId;} |
public String toString() {return getFileMode() + " " + getLength() + " "+ getLastModifiedInstant()+ " " + getObjectId() + " " + getStage() + " "+ getPathString() + "\n";} | public override string ToString(){return FileMode + " " + Length + " " + LastModified + " " + GetObjectId() + " " +Stage + " " + PathString + "\n";} |
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);} |
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);} |
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);} |
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;} |
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);} |
public TermsEnumIndex(TermsEnum termsEnum, int subIndex) {this.termsEnum = termsEnum;this.subIndex = subIndex;} | public TermsEnumIndex(TermsEnum termsEnum, int subIndex){this.TermsEnum = termsEnum;this.SubIndex = subIndex;} |
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);} |
public void setSort(SortField field) {this.fields = new SortField[] { field };} | public virtual void SetSort(SortField field){this.fields = new SortField[] { field };} |
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);} |
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);} |
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;} |
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);} |
public long getDeltaCacheSize() {return deltaCacheSize;} | public virtual long GetDeltaCacheSize(){return deltaCacheSize;} |
public final int remaining() {return limit - position;} | public int remaining(){return _limit - _position;} |
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);} |
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;} |
public ScandinavianFoldingFilter(TokenStream input) {super(input);} | public ScandinavianFoldingFilter(TokenStream input): base(input){charTermAttribute = AddAttribute<ICharTermAttribute>();} |
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);} |
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);} |
public void addCellRangeAddress(CellRangeAddress cra) {_list.add(cra);} | public void AddCellRangeAddress(CellRangeAddress cra){_list.Add(cra);} |
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;} |
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);} |
public void setStorageId(int storageId) {field_5_stream_id = storageId;} | public void SetStorageId(int storageId){field_5_stream_id = storageId;} |
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);} |
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);} |
public void clearData() {points.clear();} | public virtual void ClearData(){points.Clear();} |
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]);}} |
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);} |
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);} |
public int size() {return a.length;} | public override int size(){return a.Length;} |
public HSSFCell getCell(int cellnum) {return getCell(cellnum, book.getMissingCellPolicy());} | public ICell GetCell(int cellnum){return GetCell(cellnum, book.MissingCellPolicy);} |
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));} |
public int getBucket(CharSequence key) {return getExactMatchStartingFromRootArc(0, new BytesRef(key));} | public virtual int GetBucket(string key){return GetExactMatchStartingFromRootArc(0, new BytesRef(key));} |
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);} |
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;}} |
public void serialize(LittleEndianOutput out) {out.writeShort(field_1_hcenter);} | public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_hcenter);} |
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);} |
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);} |
public DetachVolumeResult detachVolume(DetachVolumeRequest request) {request = beforeClientExecution(request);return executeDetachVolume(request);} | public virtual DetachVolumeResponse DetachVolume(DetachVolumeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetachVolumeRequestMarshaller.Instance;options.ResponseUnmarshaller = DetachVolumeResponseUnmarshaller.Instance;return Invoke<DetachVolumeResponse>(request, options);} |
public void serialize(LittleEndianOutput out) {out.writeShort(field_15_pattern_style);out.writeShort(field_16_pattern_color_indexes);} | public void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_15_pattern_style);out1.WriteShort(field_16_pattern_color_indexes);} |
public void setShowSeriesKey(boolean value){field_1_options = showSeriesKey.setShortBoolean(field_1_options, value);} | public void SetShowSeriesKey(bool value){field_1_options = showSeriesKey.SetShortBoolean(field_1_options, value);} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.