java
stringlengths 28
1.4k
| C#
stringlengths 27
1.38k
|
---|---|
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);}} |
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;} |
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));}} |
public boolean markSupported() {return in.markSupported();} | public override bool MarkSupported(){return @in.MarkSupported();} |
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);} |
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;} |
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;}}} |
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);} |
public String toString() {return super.toString()+" "+prefix;} | public override string ToString(){return base.ToString() + " " + m_prefix;} |
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);} |
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);} |
public boolean markSupported() {return true;} | public override bool markSupported(){return true;} |
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);} |
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);} |
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();}}} |
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);} |
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);} |
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);} |
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);} |
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;} |
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;}}} |
public Builder() {this(false);} | public Builder(): base(){lastDocID = -1;wordNum = -1;word = 0;} |
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);} |
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;} |
public int getSize() {return length;} | public virtual int GetSize(){return length;} |
public FeatProtection() {securityDescriptor = new byte[0];} | public FeatProtection(){securityDescriptor = new byte[0];} |
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);} |
public int get(int key) {return get(key, 0);} | public virtual int get(int key){return get(key, 0);} |
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;} |
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;} |
public Toffs( int startOffset, int endOffset ){this.startOffset = startOffset;this.endOffset = endOffset;} | public Toffs(int startOffset, int endOffset){this.startOffset = startOffset;this.endOffset = endOffset;} |
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);} |
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);} else return 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;}} |
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);} |
public ListenerHandle addRefsChangedListener(RefsChangedListener listener) {return addListener(RefsChangedListener.class, listener);} | public virtual ListenerHandle AddRefsChangedListener(RefsChangedListener listener){return AddListener<RefsChangedListener>(listener);} |
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");} |
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);} |
public String toString() {return "del=" + item;} | public override string ToString(){return "del=" + item;} |
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;} |
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);} |
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);} |
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();} |
public FontDetails( String fontName, int height ){_fontName = fontName;_height = height;} | public FontDetails(String fontName, int height){this.fontName = fontName;this.height = height;} |
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();} |
public String toString() {return new String(this.buffer, 0, this.len);} | public sealed override string ToString(){return Sharpen.StringHelper.CopyValueOf(backingArray, offset + _position, remaining());} |
public WriteRequest(PutRequest putRequest) {setPutRequest(putRequest);} | public WriteRequest(PutRequest putRequest){_putRequest = putRequest;} |
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);} |
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);} |
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);}} |
public Set<Long> idSet() {return Collections.unmodifiableSet(dictionary.keySet());} | public ICollection IdSet(){return dictionaryNameToID.Keys;} |
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);} |
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);} |
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"); }}} |
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);} |
public TokenStream create(TokenStream input) {return new GalicianStemFilter(input);} | public override TokenStream Create(TokenStream input){return new GalicianStemFilter(input);} |
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);} |
public int getDepth() {return depth;} | public int GetDepth(){return depth;} |
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();}} |
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);} |
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);}} |
public ListSubscriptionsByTopicRequest(String topicArn) {setTopicArn(topicArn);} | public ListSubscriptionsByTopicRequest(string topicArn){_topicArn = topicArn;} |
public ListTablesRequest(String exclusiveStartTableName, Integer limit) {setExclusiveStartTableName(exclusiveStartTableName);setLimit(limit);} | public ListTablesRequest(string exclusiveStartTableName, int limit){_exclusiveStartTableName = exclusiveStartTableName;_limit = limit;} |
public String toString() {return start + " to " + end;} | public override string ToString(){return Start + " to " + End;} |
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];} |
public LongBuffer duplicate() {return copy(this, mark);} | public override java.nio.LongBuffer duplicate(){return copy(this, _mark);} |
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);} |
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);} |
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);} |
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);} |
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);} |
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);} |
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();} |
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);} |
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);} |
public PersonIdent getSourceAuthor() {return outCandidate.getAuthor();} | public virtual PersonIdent GetSourceAuthor(){return currentSource.GetAuthor();} |
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);} |
public void setLocalPatternChars(String data) {if (data == null) {throw new NullPointerException();}localPatternChars = data;} | public virtual void setLocalPatternChars(string data){throw new System.NotImplementedException();} |
public PersianNormalizationFilter(TokenStream input) {super(input);} | public PersianNormalizationFilter(TokenStream input): base(input){termAtt = AddAttribute<ICharTermAttribute>();} |
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;}}}}}} |
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();} |
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);} |
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);} |
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;} |
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;} |
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);} |
public String toString() {return String.valueOf(stateNumber);} | public override string ToString(){return stateNumber.ToString();} |
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);} |
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);} |
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);} |
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);} |
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);} |
public void notifyUpdateCell(HSSFCell cell) {_bookEvaluator.notifyUpdateCell(new HSSFEvaluationCell(cell));} | public void NotifyUpdateCell(ICell cell){_bookEvaluator.NotifyUpdateCell(new HSSFEvaluationCell(cell));} |
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);} |
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;} |
@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);} |
public TokenStream create(TokenStream input) {return new IndonesianStemFilter(input, stemDerivational);} | public override TokenStream Create(TokenStream input){return new IndonesianStemFilter(input, stemDerivational);} |
public SubmoduleStatusCommand addPath(String path) {paths.add(path);return this;} | public virtual NGit.Api.SubmoduleStatusCommand AddPath(string path){paths.AddItem(path);return this;} |
public PutInsightRuleResult putInsightRule(PutInsightRuleRequest request) {request = beforeClientExecution(request);return executePutInsightRule(request);} | public virtual PutInsightRuleResponse PutInsightRule(PutInsightRuleRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutInsightRuleRequestMarshaller.Instance;options.ResponseUnmarshaller = PutInsightRuleResponseUnmarshaller.Instance;return Invoke<PutInsightRuleResponse>(request, options);} |
public JapaneseReadingFormFilterFactory(Map<String,String> args) {super(args);useRomaji = getBoolean(args, ROMAJI_PARAM, false);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}} | public JapaneseReadingFormFilterFactory(IDictionary<string, string> args): base(args){useRomaji = GetBoolean(args, ROMAJI_PARAM, false);if (args.Count > 0){throw new ArgumentException("Unknown parameters: " + args);}} |
public GetVpcLinkResult getVpcLink(GetVpcLinkRequest request) {request = beforeClientExecution(request);return executeGetVpcLink(request);} | public virtual GetVpcLinkResponse GetVpcLink(GetVpcLinkRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVpcLinkRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVpcLinkResponseUnmarshaller.Instance;return Invoke<GetVpcLinkResponse>(request, options);} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.