id
int32 0
10.3k
| java
stringlengths 29
1.4k
| cs
stringlengths 28
1.38k
|
---|---|---|
6,900 | 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);}
|
6,901 | 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);}
|
6,902 | 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);}
|
6,903 | public GermanNormalizationFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
| public GermanNormalizationFilterFactory(IDictionary<string, string> args) : base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
|
6,904 | public static boolean allSubsetsEqual(Collection<BitSet> altsets) {Iterator<BitSet> it = altsets.iterator();BitSet first = it.next();while ( it.hasNext() ) {BitSet next = it.next();if ( !next.equals(first) ) return false;}return true;}
| public static bool AllSubsetsEqual(IEnumerable<BitSet> altsets){IEnumerator<BitSet> it = altsets.GetEnumerator();it.MoveNext();BitSet first = it.Current;while (it.MoveNext()){BitSet next = it.Current;if (!next.Equals(first)){return false;}}return true;}
|
6,905 | public CellRangeAddressList(RecordInputStream in) {this();int nItems = in.readUShort();for (int k = 0; k < nItems; k++) {_list.add(new CellRangeAddress(in));}}
| public CellRangeAddressList(RecordInputStream in1){int nItems = in1.ReadUShort();_list = new ArrayList(nItems);for (int k = 0; k < nItems; k++){_list.Add(new CellRangeAddress(in1));}}
|
6,906 | public boolean markSupported() {return in.markSupported();}
| public override bool MarkSupported(){return @in.MarkSupported();}
|
6,907 | public DBInstance restoreDBInstanceFromS3(RestoreDBInstanceFromS3Request request) {request = beforeClientExecution(request);return executeRestoreDBInstanceFromS3(request);}
| public virtual RestoreDBInstanceFromS3Response RestoreDBInstanceFromS3(RestoreDBInstanceFromS3Request request){var options = new InvokeOptions();options.RequestMarshaller = RestoreDBInstanceFromS3RequestMarshaller.Instance;options.ResponseUnmarshaller = RestoreDBInstanceFromS3ResponseUnmarshaller.Instance;return Invoke<RestoreDBInstanceFromS3Response>(request, options);}
|
6,908 | public boolean equals(Object other) {if (!(other instanceof FloatBuffer)) {return false;}FloatBuffer otherBuffer = (FloatBuffer) other;if (remaining() != otherBuffer.remaining()) {return false;}int myPosition = position;int otherPosition = otherBuffer.position;boolean equalSoFar = true;while (equalSoFar && (myPosition < limit)) {float a = get(myPosition++);float b = otherBuffer.get(otherPosition++);equalSoFar = a == b || (a != a && b != b);}return equalSoFar;}
| public override bool Equals(object other){if (!(other is java.nio.FloatBuffer)){return false;}java.nio.FloatBuffer otherBuffer = (java.nio.FloatBuffer)other;if (remaining() != otherBuffer.remaining()){return false;}int myPosition = _position;int otherPosition = otherBuffer._position;bool equalSoFar = true;while (equalSoFar && (myPosition < _limit)){float a = get(myPosition++);float b = otherBuffer.get(otherPosition++);equalSoFar = a == b || (a != a && b != b);}return equalSoFar;}
|
6,909 | public static void fill(float[] array, int start, int end, float value) {Arrays.checkStartAndEnd(array.length, start, end);for (int i = start; i < end; i++) {array[i] = value;}}
| public static void fill(float[] array, int start, int end, float value){java.util.Arrays.checkStartAndEnd(array.Length, start, end);{for (int i = start; i < end; i++){array[i] = value;}}}
|
6,910 | public DescribeReceiptRuleResult describeReceiptRule(DescribeReceiptRuleRequest request) {request = beforeClientExecution(request);return executeDescribeReceiptRule(request);}
| public virtual DescribeReceiptRuleResponse DescribeReceiptRule(DescribeReceiptRuleRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeReceiptRuleRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeReceiptRuleResponseUnmarshaller.Instance;return Invoke<DescribeReceiptRuleResponse>(request, options);}
|
6,911 | public String toString() {return super.toString()+" "+prefix;}
| public override string ToString(){return base.ToString() + " " + m_prefix;}
|
6,912 | public float tf(int freq, int passageLen) {float norm = k1 * ((1 - b) + b * (passageLen / pivot));return freq / (freq + norm);}
| public virtual float Tf(int freq, int passageLen){float norm = k1 * ((1 - b) + b * (passageLen / pivot));return freq / (freq + norm);}
|
6,913 | public DescribeModelResult describeModel(DescribeModelRequest request) {request = beforeClientExecution(request);return executeDescribeModel(request);}
| public virtual DescribeModelResponse DescribeModel(DescribeModelRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeModelRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeModelResponseUnmarshaller.Instance;return Invoke<DescribeModelResponse>(request, options);}
|
6,914 | public boolean markSupported() {return true;}
| public override bool markSupported(){return true;}
|
6,915 | public ListEndpointConfigsResult listEndpointConfigs(ListEndpointConfigsRequest request) {request = beforeClientExecution(request);return executeListEndpointConfigs(request);}
| public virtual ListEndpointConfigsResponse ListEndpointConfigs(ListEndpointConfigsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListEndpointConfigsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListEndpointConfigsResponseUnmarshaller.Instance;return Invoke<ListEndpointConfigsResponse>(request, options);}
|
6,916 | public DescribeDBProxyTargetGroupsResult describeDBProxyTargetGroups(DescribeDBProxyTargetGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeDBProxyTargetGroups(request);}
| public virtual DescribeDBProxyTargetGroupsResponse DescribeDBProxyTargetGroups(DescribeDBProxyTargetGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDBProxyTargetGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDBProxyTargetGroupsResponseUnmarshaller.Instance;return Invoke<DescribeDBProxyTargetGroupsResponse>(request, options);}
|
6,917 | public long size(DiffEntry.Side side, DiffEntry ent) throws IOException {switch (side) {case OLD:return oldSource.size(ent.oldPath, ent.oldId.toObjectId());case NEW:return newSource.size(ent.newPath, ent.newId.toObjectId());default:throw new IllegalArgumentException();}}
| public long Size(DiffEntry.Side side, DiffEntry ent){switch (side){case DiffEntry.Side.OLD:{return oldSource.Size(ent.oldPath, ent.oldId.ToObjectId());}case DiffEntry.Side.NEW:{return newSource.Size(ent.newPath, ent.newId.ToObjectId());}default:{throw new ArgumentException();}}}
|
6,918 | public GlobalReplicationGroup disassociateGlobalReplicationGroup(DisassociateGlobalReplicationGroupRequest request) {request = beforeClientExecution(request);return executeDisassociateGlobalReplicationGroup(request);}
| public virtual DisassociateGlobalReplicationGroupResponse DisassociateGlobalReplicationGroup(DisassociateGlobalReplicationGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateGlobalReplicationGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateGlobalReplicationGroupResponseUnmarshaller.Instance;return Invoke<DisassociateGlobalReplicationGroupResponse>(request, options);}
|
6,919 | public static void writeHeader(DataOutput out, String codec, int version) throws IOException {BytesRef bytes = new BytesRef(codec);if (bytes.length != codec.length() || bytes.length >= 128) {throw new IllegalArgumentException("codec must be simple ASCII, less than 128 characters in length [got " + codec + "]");}out.writeInt(CODEC_MAGIC);out.writeString(codec);out.writeInt(version);}
| public static void WriteHeader(DataOutput @out, string codec, int version){BytesRef bytes = new BytesRef(codec);if (bytes.Length != codec.Length || bytes.Length >= 128){throw new System.ArgumentException("codec must be simple ASCII, less than 128 characters in length [got " + codec + "]");}@out.WriteInt32(CODEC_MAGIC);@out.WriteString(codec);@out.WriteInt32(version);}
|
6,920 | public PagedList<DedicatedCapacityInner> listByResourceGroup(String resourceGroupName) {PageImpl<DedicatedCapacityInner> page = new PageImpl<>();page.setItems(listByResourceGroupWithServiceResponseAsync(resourceGroupName).toBlocking().single().body());page.setNextPageLink(null);return new PagedList<DedicatedCapacityInner>(page) {@Overridepublic Page<DedicatedCapacityInner> nextPage(String nextPageLink) {return null;}};}
| public async Task<AzureOperationResponse<IEnumerable<DedicatedCapacity>>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)){return await innerCapacityOperations.ListByResourceGroupWithHttpMessagesAsync(resourceGroupName, customHeaders, cancellationToken).ConfigureAwait(false);}
|
6,921 | public DescribeIpGroupsResult describeIpGroups(DescribeIpGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeIpGroups(request);}
| public virtual DescribeIpGroupsResponse DescribeIpGroups(DescribeIpGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIpGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIpGroupsResponseUnmarshaller.Instance;return Invoke<DescribeIpGroupsResponse>(request, options);}
|
6,922 | public final CoderResult flush(ByteBuffer out) {if (status != END && status != READY) {throw new IllegalStateException();}CoderResult result = implFlush(out);if (result == CoderResult.UNDERFLOW) {status = FLUSH;}return result;}
| public java.nio.charset.CoderResult flush(java.nio.ByteBuffer @out){if (status != END && status != READY){throw new System.InvalidOperationException();}java.nio.charset.CoderResult result = implFlush(@out);if (result == java.nio.charset.CoderResult.UNDERFLOW){status = FLUSH;}return result;}
|
6,923 | public final Type getType() {if (beginA < endA) {if (beginB < endB) {return Type.REPLACE;}return Type.DELETE;}if (beginB < endB) {return Type.INSERT;}return Type.EMPTY;}
| public Edit.Type GetType(){if (beginA < endA){if (beginB < endB){return Edit.Type.REPLACE;}else{return Edit.Type.DELETE;}}else{if (beginB < endB){return Edit.Type.INSERT;}else{return Edit.Type.EMPTY;}}}
|
6,924 | public Builder() {this(false);}
| public Builder(): base(){lastDocID = -1;wordNum = -1;word = 0;}
|
6,925 | public DescribeHsmConfigurationsResult describeHsmConfigurations(DescribeHsmConfigurationsRequest request) {request = beforeClientExecution(request);return executeDescribeHsmConfigurations(request);}
| public virtual DescribeHsmConfigurationsResponse DescribeHsmConfigurations(DescribeHsmConfigurationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeHsmConfigurationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeHsmConfigurationsResponseUnmarshaller.Instance;return Invoke<DescribeHsmConfigurationsResponse>(request, options);}
|
6,926 | public boolean equals(Object other) {if (!(other instanceof DoubleBuffer)) {return false;}DoubleBuffer otherBuffer = (DoubleBuffer) other;if (remaining() != otherBuffer.remaining()) {return false;}int myPosition = position;int otherPosition = otherBuffer.position;boolean equalSoFar = true;while (equalSoFar && (myPosition < limit)) {double a = get(myPosition++);double b = otherBuffer.get(otherPosition++);equalSoFar = a == b || (a != a && b != b);}return equalSoFar;}
| public override bool Equals(object other){if (!(other is java.nio.DoubleBuffer)){return false;}java.nio.DoubleBuffer otherBuffer = (java.nio.DoubleBuffer)other;if (remaining() != otherBuffer.remaining()){return false;}int myPosition = _position;int otherPosition = otherBuffer._position;bool equalSoFar = true;while (equalSoFar && (myPosition < _limit)){double a = get(myPosition++);double b = otherBuffer.get(otherPosition++);equalSoFar = a == b || (a != a && b != b);}return equalSoFar;}
|
6,927 | public int getSize() {return length;}
| public virtual int GetSize(){return length;}
|
6,928 | public FeatProtection() {securityDescriptor = new byte[0];}
| public FeatProtection(){securityDescriptor = new byte[0];}
|
6,929 | public DeleteNotificationConfigurationResult deleteNotificationConfiguration(DeleteNotificationConfigurationRequest request) {request = beforeClientExecution(request);return executeDeleteNotificationConfiguration(request);}
| public virtual DeleteNotificationConfigurationResponse DeleteNotificationConfiguration(DeleteNotificationConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteNotificationConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteNotificationConfigurationResponseUnmarshaller.Instance;return Invoke<DeleteNotificationConfigurationResponse>(request, options);}
|
6,930 | public int get(int key) {return get(key, 0);}
| public virtual int get(int key){return get(key, 0);}
|
6,931 | public HSSFAnchor(int dx1, int dy1, int dx2, int dy2) {createEscherAnchor();setDx1(dx1);setDy1(dy1);setDx2(dx2);setDy2(dy2);}
| public HSSFAnchor(int dx1, int dy1, int dx2, int dy2){CreateEscherAnchor();this.Dx1 = dx1;this.Dy1 = dy1;this.Dx2 = dx2;this.Dy2 = dy2;}
|
6,932 | public ValueEval evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex) {switch (args.length) {case 3:return evaluate(srcRowIndex, srcColumnIndex, args[0], args[1], args[2], DEFAULT_ARG3, DEFAULT_ARG4);case 4: {ValueEval arg3 = args[3];if(arg3 == MissingArgEval.instance) {arg3 = DEFAULT_ARG3;}return evaluate(srcRowIndex, srcColumnIndex, args[0], args[1], args[2], arg3, DEFAULT_ARG4);}case 5: {ValueEval arg3 = args[3];if(arg3 == MissingArgEval.instance) {arg3 = DEFAULT_ARG3;}ValueEval arg4 = args[4];if(arg4 == MissingArgEval.instance) {arg4 = DEFAULT_ARG4;}return evaluate(srcRowIndex, srcColumnIndex, args[0], args[1], args[2], arg3, arg4);}default:return ErrorEval.VALUE_INVALID;}}
| public ValueEval Evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex){switch (args.Length){case 3:return Evaluate(srcRowIndex, srcColumnIndex, args[0], args[1], args[2], DEFAULT_ARG3, DEFAULT_ARG4);case 4:return Evaluate(srcRowIndex, srcColumnIndex, args[0], args[1], args[2], args[3], DEFAULT_ARG4);case 5:return Evaluate(srcRowIndex, srcColumnIndex, args[0], args[1], args[2], args[3], args[4]);}return ErrorEval.VALUE_INVALID;}
|
6,933 | public Toffs( int startOffset, int endOffset ){this.startOffset = startOffset;this.endOffset = endOffset;}
| public Toffs(int startOffset, int endOffset){this.startOffset = startOffset;this.endOffset = endOffset;}
|
6,934 | public GetDocumentationVersionResult getDocumentationVersion(GetDocumentationVersionRequest request) {request = beforeClientExecution(request);return executeGetDocumentationVersion(request);}
| public virtual GetDocumentationVersionResponse GetDocumentationVersion(GetDocumentationVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDocumentationVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDocumentationVersionResponseUnmarshaller.Instance;return Invoke<GetDocumentationVersionResponse>(request, options);}
|
6,935 | public static <T> T[] grow(T[] array, int minSize) {assert minSize >= 0 : "size must be positive (got " + minSize + "): likely integer overflow?";if (array.length < minSize) {final int newLength = oversize(minSize, RamUsageEstimator.NUM_BYTES_OBJECT_REF);return growExact(array, newLength);} elsereturn array;}
| public static short[] Grow(short[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){short[] newArray = new short[Oversize(minSize, RamUsageEstimator.NUM_BYTES_INT16)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}
|
6,936 | public PurchaseProvisionedCapacityResult purchaseProvisionedCapacity(PurchaseProvisionedCapacityRequest request) {request = beforeClientExecution(request);return executePurchaseProvisionedCapacity(request);}
| public virtual PurchaseProvisionedCapacityResponse PurchaseProvisionedCapacity(PurchaseProvisionedCapacityRequest request){var options = new InvokeOptions();options.RequestMarshaller = PurchaseProvisionedCapacityRequestMarshaller.Instance;options.ResponseUnmarshaller = PurchaseProvisionedCapacityResponseUnmarshaller.Instance;return Invoke<PurchaseProvisionedCapacityResponse>(request, options);}
|
6,937 | public ListenerHandle addRefsChangedListener(RefsChangedListener listener) {return addListener(RefsChangedListener.class, listener);}
| public virtual ListenerHandle AddRefsChangedListener(RefsChangedListener listener){return AddListener<RefsChangedListener>(listener);}
|
6,938 | public void drawRect(int x, int y, int width, int height){if (logger.check( POILogger.WARN ))logger.log(POILogger.WARN,"drawRect not supported");}
| public void DrawRect(int x, int y, int width, int height){if (Logger.Check(POILogger.WARN))Logger.Log(POILogger.WARN, "DrawRect not supported");}
|
6,939 | public DeleteGcmChannelResult deleteGcmChannel(DeleteGcmChannelRequest request) {request = beforeClientExecution(request);return executeDeleteGcmChannel(request);}
| public virtual DeleteGcmChannelResponse DeleteGcmChannel(DeleteGcmChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteGcmChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteGcmChannelResponseUnmarshaller.Instance;return Invoke<DeleteGcmChannelResponse>(request, options);}
|
6,940 | public String toString() {return "del=" + item;}
| public override string ToString(){return "del=" + item;}
|
6,941 | public int read(byte[] b, int off, int len) {if (ptr == data.length)return -1;int n = Math.min(available(), len);System.arraycopy(data, ptr, b, off, n);ptr += n;return n;}
| public override int Read(byte[] b, int off, int len){if (ptr == data.Length){return -1;}int n = Math.Min(Available(), len);System.Array.Copy(data, ptr, b, off, n);ptr += n;return n;}
|
6,942 | public static String toHex(int value) {StringBuilder sb = new StringBuilder(8);writeHex(sb, value & 0xFFFFFFFFL, 8, "");return sb.toString();}
| public static string ToHex(byte value){return ToHex((long)value, 2);}
|
6,943 | public DeleteFieldLevelEncryptionConfigResult deleteFieldLevelEncryptionConfig(DeleteFieldLevelEncryptionConfigRequest request) {request = beforeClientExecution(request);return executeDeleteFieldLevelEncryptionConfig(request);}
| public virtual DeleteFieldLevelEncryptionConfigResponse DeleteFieldLevelEncryptionConfig(DeleteFieldLevelEncryptionConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteFieldLevelEncryptionConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteFieldLevelEncryptionConfigResponseUnmarshaller.Instance;return Invoke<DeleteFieldLevelEncryptionConfigResponse>(request, options);}
|
6,944 | public AmazonS3EncryptionClient(AWSCredentials credentials,EncryptionMaterials encryptionMaterials) {this(credentials, new StaticEncryptionMaterialsProvider(encryptionMaterials));}
| public AmazonS3EncryptionClient(AWSCredentials credentials, EncryptionMaterials materials): base(credentials){this.EncryptionMaterials = materials;S3CryptoConfig = new AmazonS3CryptoConfiguration();}
|
6,945 | public FontDetails( String fontName, int height ){_fontName = fontName;_height = height;}
| public FontDetails(String fontName, int height){this.fontName = fontName;this.height = height;}
|
6,946 | public String toFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.append(operands[ 0 ]);buffer.append(LESSTHAN);buffer.append(operands[ 1 ]);return buffer.toString();}
| public override String ToFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.Append(operands[0]);buffer.Append(LESSTHAN);buffer.Append(operands[1]);return buffer.ToString();}
|
6,947 | public String toString() {return new String(this.buffer, 0, this.len);}
| public sealed override string ToString(){return Sharpen.StringHelper.CopyValueOf(backingArray, offset + _position, remaining());}
|
6,948 | public WriteRequest(PutRequest putRequest) {setPutRequest(putRequest);}
| public WriteRequest(PutRequest putRequest){_putRequest = putRequest;}
|
6,949 | public static String toHex(byte value) {StringBuilder sb = new StringBuilder(2);writeHex(sb, value & 0xFF, 2, "");return sb.toString();}
| public static string ToHex(byte value){return ToHex((long)value, 2);}
|
6,950 | public int stem(char s[], int len) {return pluralStep.apply(s, len);}
| public virtual int Stem(char[] s, int len){return pluralStep.Apply(s, len);}
|
6,951 | public void write(byte[] b, int off, int len) {try {super.write(b, off, len);} catch (IOException e) {throw new RuntimeException(e);}}
| public void Write(byte[] b, int off, int len){try{out1.Write(b, off, len);}catch (IOException e){throw new RuntimeException(e);}}
|
6,952 | public Set<Long> idSet() {return Collections.unmodifiableSet(dictionary.keySet());}
| public ICollection IdSet(){return dictionaryNameToID.Keys;}
|
6,953 | public BatchGetDeploymentsResult batchGetDeployments(BatchGetDeploymentsRequest request) {request = beforeClientExecution(request);return executeBatchGetDeployments(request);}
| public virtual BatchGetDeploymentsResponse BatchGetDeployments(BatchGetDeploymentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchGetDeploymentsRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchGetDeploymentsResponseUnmarshaller.Instance;return Invoke<BatchGetDeploymentsResponse>(request, options);}
|
6,954 | public QueryScorer(Query query, String field, String defaultField) {this.defaultField = defaultField;init(query, field, null, true);}
| public QueryScorer(Query query, string field, string defaultField){this.defaultField = defaultField.Intern();Init(query, field, null, true);}
|
6,955 | public long next() throws IOException {current = fstEnum.next();if (current == null) {return -1;} else {return current.output;}}
| public override long Next(){current = fstEnum.Next();if (current == null){return -1;}else{if (current.Output.HasValue){return current.Output.Value;}else{throw new NullReferenceException("_current.Output is null"); }}}
|
6,956 | public GetApplicationDateRangeKpiResult getApplicationDateRangeKpi(GetApplicationDateRangeKpiRequest request) {request = beforeClientExecution(request);return executeGetApplicationDateRangeKpi(request);}
| public virtual GetApplicationDateRangeKpiResponse GetApplicationDateRangeKpi(GetApplicationDateRangeKpiRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetApplicationDateRangeKpiRequestMarshaller.Instance;options.ResponseUnmarshaller = GetApplicationDateRangeKpiResponseUnmarshaller.Instance;return Invoke<GetApplicationDateRangeKpiResponse>(request, options);}
|
6,957 | public TokenStream create(TokenStream input) {return new GalicianStemFilter(input);}
| public override TokenStream Create(TokenStream input){return new GalicianStemFilter(input);}
|
6,958 | public ListHostedZonesResult listHostedZones(ListHostedZonesRequest request) {request = beforeClientExecution(request);return executeListHostedZones(request);}
| public virtual ListHostedZonesResponse ListHostedZones(ListHostedZonesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListHostedZonesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListHostedZonesResponseUnmarshaller.Instance;return Invoke<ListHostedZonesResponse>(request, options);}
|
6,959 | public int getDepth() {return depth;}
| public int GetDepth(){return depth;}
|
6,960 | public WindowTwoRecord(RecordInputStream in) {int size = in.remaining();field_1_options = in.readShort();field_2_top_row = in.readShort();field_3_left_col = in.readShort();field_4_header_color = in.readInt();if (size > 10){field_5_page_break_zoom = in.readShort();field_6_normal_zoom = in.readShort();}if (size > 14){ field_7_reserved = in.readInt();}}
| public WindowTwoRecord(RecordInputStream in1){int size = in1.Remaining;field_1_options = in1.ReadShort();field_2_top_row = in1.ReadShort();field_3_left_col = in1.ReadShort();field_4_header_color = in1.ReadInt();if (size > 10){field_5_page_break_zoom = in1.ReadShort();field_6_normal_zoom = in1.ReadShort();}if (size > 14){ field_7_reserved = in1.ReadInt();}}
|
6,961 | public GetUsageResult getUsage(GetUsageRequest request) {request = beforeClientExecution(request);return executeGetUsage(request);}
| public virtual GetUsageResponse GetUsage(GetUsageRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetUsageRequestMarshaller.Instance;options.ResponseUnmarshaller = GetUsageResponseUnmarshaller.Instance;return Invoke<GetUsageResponse>(request, options);}
|
6,962 | public void setConfig(Config config) {super.setConfig(config);keepImages = config.get("keep.image.only.docs", true);String fileName = config.get("docs.file", null);if (fileName != null) {file = Paths.get(fileName).toAbsolutePath();}}
| public override void SetConfig(Config config){base.SetConfig(config);keepImages = config.Get("keep.image.only.docs", true);string fileName = config.Get("docs.file", null);if (fileName != null){file = new FileInfo(fileName);}}
|
6,963 | public ListSubscriptionsByTopicRequest(String topicArn) {setTopicArn(topicArn);}
| public ListSubscriptionsByTopicRequest(string topicArn){_topicArn = topicArn;}
|
6,964 | public ListTablesRequest(String exclusiveStartTableName, Integer limit) {setExclusiveStartTableName(exclusiveStartTableName);setLimit(limit);}
| public ListTablesRequest(string exclusiveStartTableName, int limit){_exclusiveStartTableName = exclusiveStartTableName;_limit = limit;}
|
6,965 | public String toString() {return start + " to " + end;}
| public override string ToString(){return Start + " to " + End;}
|
6,966 | public final float get(int index) {checkIndex(index);return backingArray[offset + index];}
| public sealed override float get(int index){checkIndex(index);return backingArray[offset + index];}
|
6,967 | public LongBuffer duplicate() {return copy(this, mark);}
| public override java.nio.LongBuffer duplicate(){return copy(this, _mark);}
|
6,968 | public ListManagedSchemaArnsResult listManagedSchemaArns(ListManagedSchemaArnsRequest request) {request = beforeClientExecution(request);return executeListManagedSchemaArns(request);}
| public virtual ListManagedSchemaArnsResponse ListManagedSchemaArns(ListManagedSchemaArnsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListManagedSchemaArnsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListManagedSchemaArnsResponseUnmarshaller.Instance;return Invoke<ListManagedSchemaArnsResponse>(request, options);}
|
6,969 | public DescribeSpotPriceHistoryResult describeSpotPriceHistory(DescribeSpotPriceHistoryRequest request) {request = beforeClientExecution(request);return executeDescribeSpotPriceHistory(request);}
| public virtual DescribeSpotPriceHistoryResponse DescribeSpotPriceHistory(DescribeSpotPriceHistoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSpotPriceHistoryRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSpotPriceHistoryResponseUnmarshaller.Instance;return Invoke<DescribeSpotPriceHistoryResponse>(request, options);}
|
6,970 | public ListDevelopmentSchemaArnsResult listDevelopmentSchemaArns(ListDevelopmentSchemaArnsRequest request) {request = beforeClientExecution(request);return executeListDevelopmentSchemaArns(request);}
| public virtual ListDevelopmentSchemaArnsResponse ListDevelopmentSchemaArns(ListDevelopmentSchemaArnsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDevelopmentSchemaArnsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDevelopmentSchemaArnsResponseUnmarshaller.Instance;return Invoke<ListDevelopmentSchemaArnsResponse>(request, options);}
|
6,971 | public boolean equals(Object o) {if (!(o instanceof ATNConfig)) {return false;}return this.equals((ATNConfig)o);}
| public override bool Equals(Object o){if (!(o is ATNConfig)) {return false;}return this.Equals((ATNConfig)o);}
|
6,972 | public DeleteEventsConfigurationResult deleteEventsConfiguration(DeleteEventsConfigurationRequest request) {request = beforeClientExecution(request);return executeDeleteEventsConfiguration(request);}
| public virtual DeleteEventsConfigurationResponse DeleteEventsConfiguration(DeleteEventsConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEventsConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEventsConfigurationResponseUnmarshaller.Instance;return Invoke<DeleteEventsConfigurationResponse>(request, options);}
|
6,973 | public static short sign(double d) {return (short) ((d == 0)? 0: (d < 0)? -1: 1);}
| public static short Sign(double d){return (short)((d == 0)? 0: (d < 0)? -1: 1);}
|
6,974 | public void setFillerToken(String fillerToken) {this.fillerToken = null == fillerToken ? new char[0] : fillerToken.toCharArray();}
| public void SetFillerToken(string fillerToken){this.fillerToken = null == fillerToken ? new char[0] : fillerToken.ToCharArray();}
|
6,975 | public UpdateDestinationResult updateDestination(UpdateDestinationRequest request) {request = beforeClientExecution(request);return executeUpdateDestination(request);}
| public virtual UpdateDestinationResponse UpdateDestination(UpdateDestinationRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDestinationRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDestinationResponseUnmarshaller.Instance;return Invoke<UpdateDestinationResponse>(request, options);}
|
6,976 | public CreateEmailIdentityResult createEmailIdentity(CreateEmailIdentityRequest request) {request = beforeClientExecution(request);return executeCreateEmailIdentity(request);}
| public virtual CreateEmailIdentityResponse CreateEmailIdentity(CreateEmailIdentityRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateEmailIdentityRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateEmailIdentityResponseUnmarshaller.Instance;return Invoke<CreateEmailIdentityResponse>(request, options);}
|
6,977 | public PersonIdent getSourceAuthor() {return outCandidate.getAuthor();}
| public virtual PersonIdent GetSourceAuthor(){return currentSource.GetAuthor();}
|
6,978 | public StartMonitoringMembersResult startMonitoringMembers(StartMonitoringMembersRequest request) {request = beforeClientExecution(request);return executeStartMonitoringMembers(request);}
| public virtual StartMonitoringMembersResponse StartMonitoringMembers(StartMonitoringMembersRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartMonitoringMembersRequestMarshaller.Instance;options.ResponseUnmarshaller = StartMonitoringMembersResponseUnmarshaller.Instance;return Invoke<StartMonitoringMembersResponse>(request, options);}
|
6,979 | public void setLocalPatternChars(String data) {if (data == null) {throw new NullPointerException();}localPatternChars = data;}
| public virtual void setLocalPatternChars(string data){throw new System.NotImplementedException();}
|
6,980 | public PersianNormalizationFilter(TokenStream input) {super(input);}
| public PersianNormalizationFilter(TokenStream input): base(input){termAtt = AddAttribute<ICharTermAttribute>();}
|
6,981 | public void liftUp(Row in, List<Row> nodes) {Iterator<Cell> i = in.cells.values().iterator();for (; i.hasNext();) {Cell c = i.next();if (c.ref >= 0) {Row to = nodes.get(c.ref);int sum = to.uniformCmd(changeSkip);if (sum >= 0) {if (sum == c.cmd) {if (changeSkip) {if (c.skip != to.uniformSkip + 1) {continue;}c.skip = to.uniformSkip + 1;} else {c.skip = 0;}c.cnt += to.uniformCnt;c.ref = -1;} else if (c.cmd < 0) {c.cnt = to.uniformCnt;c.cmd = sum;c.ref = -1;if (changeSkip) {c.skip = to.uniformSkip + 1;} else {c.skip = 0;}}}}}}
| public void LiftUp(Row @in, IList<Row> nodes){foreach (Cell c in @in.cells.Values){if (c.@ref >= 0){Row to = nodes[c.@ref];int sum = to.UniformCmd(changeSkip);if (sum >= 0){if (sum == c.cmd){if (changeSkip){if (c.skip != to.uniformSkip + 1){continue;}c.skip = to.uniformSkip + 1;}else{c.skip = 0;}c.cnt += to.uniformCnt;c.@ref = -1;}else if (c.cmd < 0){c.cnt = to.uniformCnt;c.cmd = sum;c.@ref = -1;if (changeSkip){c.skip = to.uniformSkip + 1;}else{c.skip = 0;}}}}}}
|
6,982 | public String toString() {StringBuilder r = new StringBuilder();r.append("SymbolicRef[");Ref cur = this;while (cur.isSymbolic()) {r.append(cur.getName());r.append(" -> ");cur = cur.getTarget();}r.append(cur.getName());r.append('=');r.append(ObjectId.toString(cur.getObjectId()));r.append("(");r.append(updateIndex); r.append(")]");return r.toString();}
| public override string ToString(){StringBuilder r = new StringBuilder();r.Append("SymbolicRef[");Ref cur = this;while (cur.IsSymbolic()){r.Append(cur.GetName());r.Append(" -> ");cur = cur.GetTarget();}r.Append(cur.GetName());r.Append('=');r.Append(ObjectId.ToString(cur.GetObjectId()));r.Append("]");return r.ToString();}
|
6,983 | public RemoveAllResourcePermissionsResult removeAllResourcePermissions(RemoveAllResourcePermissionsRequest request) {request = beforeClientExecution(request);return executeRemoveAllResourcePermissions(request);}
| public virtual RemoveAllResourcePermissionsResponse RemoveAllResourcePermissions(RemoveAllResourcePermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = RemoveAllResourcePermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = RemoveAllResourcePermissionsResponseUnmarshaller.Instance;return Invoke<RemoveAllResourcePermissionsResponse>(request, options);}
|
6,984 | public DescribeResourceGroupsResult describeResourceGroups(DescribeResourceGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeResourceGroups(request);}
| public virtual DescribeResourceGroupsResponse DescribeResourceGroups(DescribeResourceGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeResourceGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeResourceGroupsResponseUnmarshaller.Instance;return Invoke<DescribeResourceGroupsResponse>(request, options);}
|
6,985 | public SpatialArgs parse(String v, SpatialContext ctx) throws ParseException, InvalidShapeException {int idx = v.indexOf('(');int edx = v.lastIndexOf(')');if (idx < 0 || idx > edx) {throw new ParseException("missing parens: " + v, -1);}SpatialOperation op = SpatialOperation.get(v.substring(0, idx).trim());String body = v.substring(idx + 1, edx).trim();if (body.length() < 1) {throw new ParseException("missing body : " + v, idx + 1);}Shape shape = parseShape(body, ctx);SpatialArgs args = newSpatialArgs(op, shape);if (v.length() > (edx + 1)) {body = v.substring(edx + 1).trim();if (body.length() > 0) {Map<String, String> aa = parseMap(body);readNameValuePairs(args, aa);if (!aa.isEmpty()) {throw new IllegalArgumentException("unused parameters: " + aa);}}}args.validate();return args;}
| public virtual SpatialArgs Parse(string v, SpatialContext ctx){int idx = v.IndexOf('(');int edx = v.LastIndexOf(')');if (idx < 0 || idx > edx){throw new ParseException("missing parens: " + v, -1);}SpatialOperation op = SpatialOperation.Get(v.Substring(0, idx - 0).Trim());string body = v.Substring(idx + 1, edx - (idx + 1)).Trim();if (body.Length < 1){throw new ParseException("missing body : " + v, idx + 1);}var shape = ParseShape(body, ctx);var args = NewSpatialArgs(op, shape);if (v.Length > (edx + 1)){body = v.Substring(edx + 1).Trim();if (body.Length > 0){IDictionary<string, string> aa = ParseMap(body);ReadNameValuePairs(args, aa);if (!aa.Any()){throw new ArgumentException("unused parameters: " + aa);}}}args.Validate();return args;}
|
6,986 | public boolean wasDeltaAttempted() {int fmt = getFormat();return fmt == PACK_DELTA || fmt == PACK_WHOLE;}
| public virtual bool WasDeltaAttempted(){int fmt = GetFormat();return fmt == PACK_DELTA || fmt == PACK_WHOLE;}
|
6,987 | public PutModelResult putModel(PutModelRequest request) {request = beforeClientExecution(request);return executePutModel(request);}
| public virtual PutModelResponse PutModel(PutModelRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutModelRequestMarshaller.Instance;options.ResponseUnmarshaller = PutModelResponseUnmarshaller.Instance;return Invoke<PutModelResponse>(request, options);}
|
6,988 | public String toString() {return String.valueOf(stateNumber);}
| public override string ToString(){return stateNumber.ToString();}
|
6,989 | public CreatePlayerSessionResult createPlayerSession(CreatePlayerSessionRequest request) {request = beforeClientExecution(request);return executeCreatePlayerSession(request);}
| public virtual CreatePlayerSessionResponse CreatePlayerSession(CreatePlayerSessionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreatePlayerSessionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreatePlayerSessionResponseUnmarshaller.Instance;return Invoke<CreatePlayerSessionResponse>(request, options);}
|
6,990 | public void serialize(LittleEndianOutput out) {out.writeByte(field_1_majorTickType);out.writeByte(field_2_minorTickType);out.writeByte(field_3_labelPosition);out.writeByte(field_4_background);out.writeInt(field_5_labelColorRgb);out.writeInt(field_6_zero1);out.writeInt(field_7_zero2);out.writeInt(field_8_zero3);out.writeInt(field_9_zero4);out.writeShort(field_10_options);out.writeShort(field_11_tickColor);out.writeShort(field_12_zero5);}
| public override void Serialize(ILittleEndianOutput out1){out1.WriteByte(field_1_majorTickType);out1.WriteByte(field_2_minorTickType);out1.WriteByte(field_3_labelPosition);out1.WriteByte(field_4_background);out1.WriteInt(field_5_labelColorRgb);out1.WriteInt(field_6_zero1);out1.WriteInt(field_7_zero2);out1.WriteInt(field_8_zero3);out1.WriteInt(field_9_zero4);out1.WriteShort(field_10_options);out1.WriteShort(field_11_tickColor);out1.WriteShort(field_12_zero5);}
|
6,991 | public ModifyVpcTenancyResult modifyVpcTenancy(ModifyVpcTenancyRequest request) {request = beforeClientExecution(request);return executeModifyVpcTenancy(request);}
| public virtual ModifyVpcTenancyResponse ModifyVpcTenancy(ModifyVpcTenancyRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyVpcTenancyRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyVpcTenancyResponseUnmarshaller.Instance;return Invoke<ModifyVpcTenancyResponse>(request, options);}
|
6,992 | public GetBasePathMappingsResult getBasePathMappings(GetBasePathMappingsRequest request) {request = beforeClientExecution(request);return executeGetBasePathMappings(request);}
| public virtual GetBasePathMappingsResponse GetBasePathMappings(GetBasePathMappingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetBasePathMappingsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetBasePathMappingsResponseUnmarshaller.Instance;return Invoke<GetBasePathMappingsResponse>(request, options);}
|
6,993 | public void add(BytesRef utf8) {if (closed) throw new IllegalStateException();buffer.append(utf8);}
| public void Add(BytesRef utf8){if (closed){throw new InvalidOperationException();}buffer.Append(utf8);}
|
6,994 | public void notifyUpdateCell(HSSFCell cell) {_bookEvaluator.notifyUpdateCell(new HSSFEvaluationCell(cell));}
| public void NotifyUpdateCell(ICell cell){_bookEvaluator.NotifyUpdateCell(new HSSFEvaluationCell(cell));}
|
6,995 | public AddApplicationReferenceDataSourceResult addApplicationReferenceDataSource(AddApplicationReferenceDataSourceRequest request) {request = beforeClientExecution(request);return executeAddApplicationReferenceDataSource(request);}
| public virtual AddApplicationReferenceDataSourceResponse AddApplicationReferenceDataSource(AddApplicationReferenceDataSourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = AddApplicationReferenceDataSourceRequestMarshaller.Instance;options.ResponseUnmarshaller = AddApplicationReferenceDataSourceResponseUnmarshaller.Instance;return Invoke<AddApplicationReferenceDataSourceResponse>(request, options);}
|
6,996 | public NIOFSIndexInput(String resourceDesc, FileChannel fc, long off, long length, int bufferSize) {super(resourceDesc, bufferSize);this.channel = fc;this.off = off;this.end = off + length;this.isClone = true;}
| public NIOFSIndexInput(string resourceDesc, FileStream fc, long off, long length, int bufferSize): base(resourceDesc, bufferSize){this.m_channel = fc;this.m_off = off;this.m_end = off + length;this.isClone = true;}
|
6,997 | @Override public Iterator<K> iterator() {final Iterator<Entry<K, V>> iterator = filteredEntrySet.iterator();return new UnmodifiableIterator<K>() {
| public override java.util.Iterator<K> iterator(){return new java.util.Hashtable<K, V>.KeyIterator(this._enclosing);}
|
6,998 | public TokenStream create(TokenStream input) {return new IndonesianStemFilter(input, stemDerivational);}
| public override TokenStream Create(TokenStream input){return new IndonesianStemFilter(input, stemDerivational);}
|
6,999 | public SubmoduleStatusCommand addPath(String path) {paths.add(path);return this;}
| public virtual NGit.Api.SubmoduleStatusCommand AddPath(string path){paths.AddItem(path);return this;}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.