java stringlengths 28 1.4k | C# stringlengths 27 1.38k |
|---|---|
public PredictCategoryRequest() {super("visionai-poc", "2020-04-08", "PredictCategory");setMethod(MethodType.POST);} | public PredictCategoryRequest(): base("visionai-poc", "2020-04-08", "PredictCategory"){Method = MethodType.POST;} |
public DeleteLagResult deleteLag(DeleteLagRequest request) {request = beforeClientExecution(request);return executeDeleteLag(request);} | public virtual DeleteLagResponse DeleteLag(DeleteLagRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteLagRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteLagResponseUnmarshaller.Instance;return Invoke<DeleteLagResponse>(request, options);} |
public boolean equals(Object other) {if (!(other instanceof LongBuffer)) {return false;}LongBuffer otherBuffer = (LongBuffer) other;if (remaining() != otherBuffer.remaining()) {return false;}int myPosition = position;int otherPosition = otherBuffer.position;boolean equalSoFar = true;while (equalSoFar && (myPosition < l... | public override bool Equals(object other){if (!(other is java.nio.LongBuffer)){return false;}java.nio.LongBuffer otherBuffer = (java.nio.LongBuffer)other;if (remaining() != otherBuffer.remaining()){return false;}int myPosition = _position;int otherPosition = otherBuffer._position;bool equalSoFar = true;while (equalSoFa... |
public void end() {state.end();} | public void End(){state.End();} |
public BooleanMatcher(boolean value, CmpOp operator) {super(operator);_value = boolToInt(value);} | public BooleanMatcher(bool value, CmpOp optr): base(optr){_value = BoolToInt(value);} |
public SheetVector(RefEval re) {_size = re.getNumberOfSheets();_re = re;} | public SheetVector(RefEval re){_size = re.NumberOfSheets;_re = re;} |
public UpdateGameSessionResult updateGameSession(UpdateGameSessionRequest request) {request = beforeClientExecution(request);return executeUpdateGameSession(request);} | public virtual UpdateGameSessionResponse UpdateGameSession(UpdateGameSessionRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateGameSessionRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateGameSessionResponseUnmarshaller.Instance;return Invoke<UpdateGameSessionResponse>(re... |
public String getName() {return String.format(Locale.ROOT, "Dirichlet(%f)", getMu());} | public override string GetName(){return "Dirichlet(" + Number.ToString(Mu) + ")";} |
public void decompress(DataInput in, int originalLength, int offset, int length, BytesRef bytes) throws IOException {assert offset + length <= originalLength;if (length == 0) {bytes.length = 0;return;}final int compressedLength = in.readVInt();final int paddedLength = compressedLength + 1;compressed = ArrayUtil.grow(co... | public override void Decompress(DataInput input, int originalLength, int offset, int length, BytesRef bytes){Debug.Assert(offset + length <= originalLength);if (length == 0){bytes.Length = 0;return;}byte[] compressedBytes = new byte[input.ReadVInt32()];input.ReadBytes(compressedBytes, 0, compressedBytes.Length);byte[] ... |
public Pair<String,String> splitExtensionField(String defaultField,String field) {int indexOf = field.indexOf(this.extensionFieldDelimiter);if (indexOf < 0)return new Pair<>(field, null);final String indexField = indexOf == 0 ? defaultField : field.substring(0,indexOf);final String extensionKey = field.substring(indexO... | public virtual Tuple<string, string> SplitExtensionField(string defaultField, string field){int indexOf = field.IndexOf(this.extensionFieldDelimiter);if (indexOf < 0)return new Tuple<string, string>(field, null);string indexField = indexOf == 0 ? defaultField : field.Substring(0, indexOf);string extensionKey = field.Su... |
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[FRAME]\n");buffer.append(" .borderType = ").append("0x").append(HexDump.toHex( getBorderType ())).append(" (").append( getBorderType() ).append(" )");buffer.append(System.getProperty("line.separator"));buffer.append(" .... | public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[FRAME]\n");buffer.Append(" .borderType = ").Append("0x").Append(HexDump.ToHex(BorderType)).Append(" (").Append(BorderType).Append(" )");buffer.Append(Environment.NewLine);buffer.Append(" .options = ... |
public Cluster pauseCluster(PauseClusterRequest request) {request = beforeClientExecution(request);return executePauseCluster(request);} | public virtual PauseClusterResponse PauseCluster(PauseClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = PauseClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = PauseClusterResponseUnmarshaller.Instance;return Invoke<PauseClusterResponse>(request, options);} |
public void setValue(String newValue) {value = newValue;} | public virtual void SetValue(string newValue){value = newValue;} |
public AllocateAddressResult allocateAddress(AllocateAddressRequest request) {request = beforeClientExecution(request);return executeAllocateAddress(request);} | public virtual AllocateAddressResponse AllocateAddress(AllocateAddressRequest request){var options = new InvokeOptions();options.RequestMarshaller = AllocateAddressRequestMarshaller.Instance;options.ResponseUnmarshaller = AllocateAddressResponseUnmarshaller.Instance;return Invoke<AllocateAddressResponse>(request, optio... |
public GetNetworkProfileResult getNetworkProfile(GetNetworkProfileRequest request) {request = beforeClientExecution(request);return executeGetNetworkProfile(request);} | public virtual GetNetworkProfileResponse GetNetworkProfile(GetNetworkProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetNetworkProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = GetNetworkProfileResponseUnmarshaller.Instance;return Invoke<GetNetworkProfileResponse>(re... |
public static void reThrow(Throwable th) throws IOException {if (th != null) {throw rethrowAlways(th);}} | public static void ReThrow(Exception th){if (th != null){if (th is System.IO.IOException){throw th;}ReThrowUnchecked(th);}} |
public void removeCell(CellValueRecordInterface cvRec) {if (cvRec instanceof FormulaRecordAggregate) {((FormulaRecordAggregate)cvRec).notifyFormulaChanging();}_valuesAgg.removeCell(cvRec);} | public void RemoveCell(CellValueRecordInterface cvRec){if (cvRec is FormulaRecordAggregate){((FormulaRecordAggregate)cvRec).NotifyFormulaChanging();}_valuesAgg.RemoveCell(cvRec);} |
public Snapshot createSnapshot(CreateSnapshotRequest request) {request = beforeClientExecution(request);return executeCreateSnapshot(request);} | public virtual CreateSnapshotResponse CreateSnapshot(CreateSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateSnapshotResponseUnmarshaller.Instance;return Invoke<CreateSnapshotResponse>(request, options);} |
public Token get(int i) {if ( i < 0 || i >= tokens.size() ) {throw new IndexOutOfBoundsException("token index "+i+" out of range 0.."+(tokens.size()-1));}return tokens.get(i);} | public virtual IToken Get(int i){if (i < 0 || i >= tokens.Count){throw new ArgumentOutOfRangeException("token index " + i + " out of range 0.." + (tokens.Count - 1));}return tokens[i];} |
public DescribeAlarmsResult describeAlarms(DescribeAlarmsRequest request) {request = beforeClientExecution(request);return executeDescribeAlarms(request);} | public virtual DescribeAlarmsResponse DescribeAlarms(DescribeAlarmsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAlarmsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAlarmsResponseUnmarshaller.Instance;return Invoke<DescribeAlarmsResponse>(request, options);} |
public static long[] grow(long[] array, int minSize) {assert minSize >= 0: "size must be positive (got " + minSize + "): likely integer overflow?";if (array.length < minSize) {return growExact(array, oversize(minSize, Long.BYTES));} else return array;} | public static long[] Grow(long[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){long[] newArray = new long[Oversize(minSize, RamUsageEstimator.NUM_BYTES_INT64)];Array.Copy(array, 0, newArray, 0, array.Length);return new... |
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() );int remainingBytes = 8;LittleEndian.putInt( data, offset + 4, r... | 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);int remainingBytes = 8;LittleEndian.PutInt(data, offset + 4, remainingBytes);... |
public LsRemoteCommand setTags(boolean tags) {this.tags = tags;return this;} | public virtual NGit.Api.LsRemoteCommand SetTags(bool tags){this.tags = tags;return this;} |
public ASCIIFoldingFilterFactory(Map<String,String> args) {super(args);preserveOriginal = getBoolean(args, PRESERVE_ORIGINAL, false);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}} | public ASCIIFoldingFilterFactory(IDictionary<string, string> args): base(args){preserveOriginal = GetBoolean(args, "preserveOriginal", false);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}} |
public String toString() {return "input=" + input.get() + " output=" + output + " context=" + context + " boost=" + boost + " payload=" + payload;} | public override string ToString(){return "input=" + Input + " cost=" + Cost;} |
public ListNotesCommand setNotesRef(String notesRef) {checkCallable();this.notesRef = notesRef;return this;} | public virtual NGit.Api.ListNotesCommand SetNotesRef(string notesRef){CheckCallable();this.notesRef = notesRef;return this;} |
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[SXVD]\n");buffer.append(" .sxaxis = ").append(HexDump.shortToHex(_sxaxis)).append('\n');buffer.append(" .cSub = ").append(HexDump.shortToHex(_cSub)).append('\n');buffer.append(" .grbitSub = ").append(HexDump.shortToHe... | public override string ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[SXVD]\n");buffer.Append(" .sxaxis = ").Append(HexDump.ShortToHex(sxaxis)).Append('\n');buffer.Append(" .cSub = ").Append(HexDump.ShortToHex(cSub)).Append('\n');buffer.Append(" .grbitSub = ").Append(HexDump.Sho... |
public V get(Object o) {if(o == null)throw new NullPointerException();return null;} | public override V Get(object o){if (o == null){throw new ArgumentNullException("o");}return default(V);} |
public String toString() {final StringBuilder sb = new StringBuilder();sb.append("[NAMECMT]\n");sb.append(" .record type = ").append(HexDump.shortToHex(field_1_record_type)).append("\n");sb.append(" .frt cell ref flag = ").append(HexDump.byteToHex(field_2_frt_cell_ref_flag)).append("\n");sb.append... | public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append("[NAMECMT]\n");sb.Append(" .record type = ").Append(HexDump.ShortToHex(field_1_record_type)).Append("\n");sb.Append(" .frt cell ref flag = ").Append(HexDump.ByteToHex(field_2_frt_cell_ref_flag)).Append("\n");sb.Appe... |
public CodepointCountFilterFactory(Map<String, String> args) {super(args);min = requireInt(args, MIN_KEY);max = requireInt(args, MAX_KEY);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}} | public CodepointCountFilterFactory(IDictionary<string, string> args): base(args){min = RequireInt32(args, MIN_KEY);max = RequireInt32(args, MAX_KEY);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}} |
public Entry<K, V> ceilingEntry(K key) {return immutableCopy(findBounded(key, CEILING));} | public java.util.MapClass.Entry<K, V> ceilingEntry(K key){return this._enclosing.immutableCopy(this.findBounded(key, java.util.TreeMap.Relation.CEILING));} |
public long setStartTimeMillis() {startTimeMillis = System.currentTimeMillis();return startTimeMillis;} | public virtual long SetStartTimeMillis(){startTimeMillis = J2N.Time.CurrentTimeMilliseconds();return startTimeMillis;} |
public ListProfilingGroupsResult listProfilingGroups(ListProfilingGroupsRequest request) {request = beforeClientExecution(request);return executeListProfilingGroups(request);} | public virtual ListProfilingGroupsResponse ListProfilingGroups(ListProfilingGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListProfilingGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListProfilingGroupsResponseUnmarshaller.Instance;return Invoke<ListProfilingGroups... |
public static PersonIdent parsePersonIdent(String in) {return parsePersonIdent(Constants.encode(in), 0);} | public static PersonIdent ParsePersonIdent(string @in){return ParsePersonIdent(Constants.Encode(@in), 0);} |
public void serialize(LittleEndianOutput out) {out.writeShort(field_1_numerator);out.writeShort(field_2_denominator);} | public override void Serialize(ILittleEndianOutput out1) {out1.WriteShort(field_1_numerator);out1.WriteShort(field_2_denominator);} |
public AddCommand setUpdate(boolean update) {this.update = update;return this;} | public virtual NGit.Api.AddCommand SetUpdate(bool update){this.update = update;return this;} |
public static <T> T[] copyOf(T[] original, int newLength) {if (original == null) {throw new NullPointerException();}if (newLength < 0) {throw new NegativeArraySizeException();}return copyOfRange(original, 0, newLength);} | public static int[] copyOf(int[] original, int newLength){if (newLength < 0){throw new java.lang.NegativeArraySizeException();}return copyOfRange(original, 0, newLength);} |
public void writeByte(int v) {writeContinueIfRequired(1);_ulrOutput.writeByte(v);} | public void WriteByte(int v){WriteContinueIfRequired(1);_ulrOutput.WriteByte(v);} |
public DeleteDBInstanceRequest(String dBInstanceIdentifier) {setDBInstanceIdentifier(dBInstanceIdentifier);} | public DeleteDBInstanceRequest(string dbInstanceIdentifier){_dbInstanceIdentifier = dbInstanceIdentifier;} |
public void reset() {previousValue = value = minValue;} | public virtual void Reset(){previousValue = value = minValue;} |
public void setLength(long sz) {setLength((int) sz);} | public virtual void SetLength(long sz){SetLength((int)sz);} |
public static String revisionVersion(IndexCommit indexCommit, IndexCommit taxoCommit) {return Long.toString(indexCommit.getGeneration(), RADIX) + ":" + Long.toString(taxoCommit.getGeneration(), RADIX);} | public static string RevisionVersion(IndexCommit indexCommit, IndexCommit taxonomyCommit){return string.Format("{0:X}:{1:X}", indexCommit.Generation, taxonomyCommit.Generation);} |
public String pattern() {return needleString;} | public virtual string Pattern(){return needleString;} |
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append( "[SST]\n" );buffer.append( " .numstrings = " ).append( Integer.toHexString( getNumStrings() ) ).append( "\n" );buffer.append( " .uniquestrings = " ).append( Integer.toHexString( getNumUniqueStrings() ) ).append( "\n" );for ( ... | public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[SST]\n");buffer.Append(" .numstrings = ").Append(StringUtil.ToHexString(NumStrings)).Append("\n");buffer.Append(" .uniquestrings = ").Append(StringUtil.ToHexString(NumUniqueStrings)).Append("\n");for (int k = 0; k < ... |
public CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser) {if (getChildren() == null || getChildren().size() == 0)return "";StringBuilder sb = new StringBuilder();String filler = "";for (Iterator<QueryNode> it = getChildren().iterator(); it.hasNext();) {sb.append(filler).append(it.next().toQueryString(esc... | public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser){var children = GetChildren();if (children == null || children.Count == 0)return "";StringBuilder sb = new StringBuilder();string filler = "";foreach (var child in children){sb.Append(filler).Append(child.ToQueryString(escapeSyntaxParser));fille... |
public PushCommand setReceivePack(String receivePack) {checkCallable();this.receivePack = receivePack;return this;} | public virtual NGit.Api.PushCommand SetReceivePack(string receivePack){CheckCallable();this.receivePack = receivePack;return this;} |
public DeleteImagePermissionsResult deleteImagePermissions(DeleteImagePermissionsRequest request) {request = beforeClientExecution(request);return executeDeleteImagePermissions(request);} | public virtual DeleteImagePermissionsResponse DeleteImagePermissions(DeleteImagePermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteImagePermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteImagePermissionsResponseUnmarshaller.Instance;return Invoke<Dele... |
public static Ptg[] getTokens(Formula formula) {if (formula == null) {return null;}return formula.getTokens();} | public static Ptg[] GetTokens(Formula formula){if (formula == null){return null;}return formula.Tokens;} |
public void skipToNextByte() {remainingBits = 0;} | public void SkipToNextByte(){remainingBits = 0;} |
public GetJourneyExecutionActivityMetricsResult getJourneyExecutionActivityMetrics(GetJourneyExecutionActivityMetricsRequest request) {request = beforeClientExecution(request);return executeGetJourneyExecutionActivityMetrics(request);} | public virtual GetJourneyExecutionActivityMetricsResponse GetJourneyExecutionActivityMetrics(GetJourneyExecutionActivityMetricsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetJourneyExecutionActivityMetricsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetJourneyExecutionAct... |
public DeregisterContainerInstanceResult deregisterContainerInstance(DeregisterContainerInstanceRequest request) {request = beforeClientExecution(request);return executeDeregisterContainerInstance(request);} | public virtual DeregisterContainerInstanceResponse DeregisterContainerInstance(DeregisterContainerInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeregisterContainerInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = DeregisterContainerInstanceResponseUnmarshaller.In... |
public DeleteEntityRecognizerResult deleteEntityRecognizer(DeleteEntityRecognizerRequest request) {request = beforeClientExecution(request);return executeDeleteEntityRecognizer(request);} | public virtual DeleteEntityRecognizerResponse DeleteEntityRecognizer(DeleteEntityRecognizerRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEntityRecognizerRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEntityRecognizerResponseUnmarshaller.Instance;return Invoke<Dele... |
public DescribeGameSessionsResult describeGameSessions(DescribeGameSessionsRequest request) {request = beforeClientExecution(request);return executeDescribeGameSessions(request);} | public virtual DescribeGameSessionsResponse DescribeGameSessions(DescribeGameSessionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeGameSessionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeGameSessionsResponseUnmarshaller.Instance;return Invoke<DescribeGameSe... |
public SegToken(char[] idArray, int start, int end, int wordType, int weight) {this.charArray = idArray;this.startOffset = start;this.endOffset = end;this.wordType = wordType;this.weight = weight;} | public SegToken(char[] idArray, int start, int end, WordType wordType, int weight){this.CharArray = idArray;this.StartOffset = start;this.EndOffset = end;this.WordType = wordType;this.Weight = weight;} |
public int compareTo( TermInfo o ){return ( this.position - o.position );} | public virtual int CompareTo(TermInfo o){return (this.position - o.position);} |
public TagMeetingResult tagMeeting(TagMeetingRequest request) {request = beforeClientExecution(request);return executeTagMeeting(request);} | public virtual TagMeetingResponse TagMeeting(TagMeetingRequest request){var options = new InvokeOptions();options.RequestMarshaller = TagMeetingRequestMarshaller.Instance;options.ResponseUnmarshaller = TagMeetingResponseUnmarshaller.Instance;return Invoke<TagMeetingResponse>(request, options);} |
public final Buffer limit(int newLimit) {limitImpl(newLimit);return this;} | public java.nio.Buffer limit(int newLimit){limitImpl(newLimit);return this;} |
public final DoubleValuesSource makeRecipDistanceValueSource(Shape queryShape) {Rectangle bbox = queryShape.getBoundingBox();double diagonalDist = ctx.getDistCalc().distance(ctx.makePoint(bbox.getMinX(), bbox.getMinY()), bbox.getMaxX(), bbox.getMaxY());double distToEdge = diagonalDist * 0.5;float c = (float)distToEdge ... | public ValueSource MakeRecipDistanceValueSource(IShape queryShape){IRectangle bbox = queryShape.BoundingBox;double diagonalDist = m_ctx.DistCalc.Distance(m_ctx.MakePoint(bbox.MinX, bbox.MinY), bbox.MaxX, bbox.MaxY);double distToEdge = diagonalDist * 0.5;float c = (float)distToEdge * 0.1f; return new ReciprocalSingleFun... |
public GetLoginProfileRequest(String userName) {setUserName(userName);} | public GetLoginProfileRequest(string userName){_userName = userName;} |
public int serializeComplexPart( byte[] data, int pos ){return 0;} | public override int SerializeComplexPart(byte[] data, int pos){return 0;} |
public DBCellRecord(int rowOffset, short[] cellOffsets) {field_1_row_offset = rowOffset;field_2_cell_offsets = cellOffsets;} | public DBCellRecord(int rowOffset, short[]cellOffsets) {field_1_row_offset = rowOffset;field_2_cell_offsets = cellOffsets;} |
public StoredField(String name, long value) {super(name, TYPE);fieldsData = value;} | public StoredField(string name, int value): base(name, TYPE){FieldsData = new Int32(value);} |
public final Locale getLocale() {return locale;} | public CultureInfo GetLocale(){return locale;} |
public SpanNotBuilder(SpanQueryBuilder factory) {this.factory = factory;} | public SpanNotBuilder(ISpanQueryBuilder factory){this.factory = factory;} |
public String toString() {return toString(0);} | public override string ToString(){return ToString(Info.Dir, 0);} |
public int compareTo(ExtRst o) {int result;result = reserved - o.reserved;if (result != 0) {return result;}result = formattingFontIndex - o.formattingFontIndex;if (result != 0) {return result;}result = formattingOptions - o.formattingOptions;if (result != 0) {return result;}result = numberOfRuns - o.numberOfRuns;if (re... | public int CompareTo(ExtRst o){int result;result = reserved - o.reserved;if (result != 0) return result;result = formattingFontIndex - o.formattingFontIndex;if (result != 0) return result;result = formattingOptions - o.formattingOptions;if (result != 0) return result;result = numberOfRuns - o.numberOfRuns;if (result !=... |
public GetInstanceSnapshotsResult getInstanceSnapshots(GetInstanceSnapshotsRequest request) {request = beforeClientExecution(request);return executeGetInstanceSnapshots(request);} | public virtual GetInstanceSnapshotsResponse GetInstanceSnapshots(GetInstanceSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetInstanceSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetInstanceSnapshotsResponseUnmarshaller.Instance;return Invoke<GetInstanceSna... |
public static long[] grow(long[] array) {return grow(array, 1 + array.length);} | public static short[] Grow(short[] array){return Grow(array, 1 + array.Length);} |
public TranslateTextResult translateText(TranslateTextRequest request) {request = beforeClientExecution(request);return executeTranslateText(request);} | public virtual TranslateTextResponse TranslateText(TranslateTextRequest request){var options = new InvokeOptions();options.RequestMarshaller = TranslateTextRequestMarshaller.Instance;options.ResponseUnmarshaller = TranslateTextResponseUnmarshaller.Instance;return Invoke<TranslateTextResponse>(request, options);} |
public DimensionsRecord(RecordInputStream in) {field_1_first_row = in.readInt();field_2_last_row = in.readInt();field_3_first_col = in.readShort();field_4_last_col = in.readShort();field_5_zero = in.readShort();if (in.available() == 2) {logger.log(POILogger.INFO, "DimensionsRecord has extra 2 bytes.");in.readSho... | public DimensionsRecord(RecordInputStream in1){field_1_first_row = in1.ReadInt();field_2_last_row = in1.ReadInt();field_3_first_col = in1.ReadShort();field_4_last_col = in1.ReadShort();field_5_zero = in1.ReadShort();} |
public int flags() {return flags;} | public int flags(){return _flags;} |
public Vector(int capacity, int capacityIncrement) {if (capacity < 0) {throw new IllegalArgumentException();}elementData = newElementArray(capacity);elementCount = 0;this.capacityIncrement = capacityIncrement;} | public Vector(int capacity_1, int capacityIncrement){if (capacity_1 < 0){throw new System.ArgumentException();}elementData = new object[capacity_1];elementCount = 0;this.capacityIncrement = capacityIncrement;} |
public DeleteLogGroupRequest(String logGroupName) {setLogGroupName(logGroupName);} | public DeleteLogGroupRequest(string logGroupName){_logGroupName = logGroupName;} |
public RemoveManagedScalingPolicyResult removeManagedScalingPolicy(RemoveManagedScalingPolicyRequest request) {request = beforeClientExecution(request);return executeRemoveManagedScalingPolicy(request);} | public virtual RemoveManagedScalingPolicyResponse RemoveManagedScalingPolicy(RemoveManagedScalingPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = RemoveManagedScalingPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = RemoveManagedScalingPolicyResponseUnmarshaller.Instanc... |
public GetDataRetrievalPolicyResult getDataRetrievalPolicy(GetDataRetrievalPolicyRequest request) {request = beforeClientExecution(request);return executeGetDataRetrievalPolicy(request);} | public virtual GetDataRetrievalPolicyResponse GetDataRetrievalPolicy(GetDataRetrievalPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDataRetrievalPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDataRetrievalPolicyResponseUnmarshaller.Instance;return Invoke<GetD... |
public DescribeExportImageTasksResult describeExportImageTasks(DescribeExportImageTasksRequest request) {request = beforeClientExecution(request);return executeDescribeExportImageTasks(request);} | public virtual DescribeExportImageTasksResponse DescribeExportImageTasks(DescribeExportImageTasksRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeExportImageTasksRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeExportImageTasksResponseUnmarshaller.Instance;return I... |
public DefaultICUTokenizerConfig(boolean cjkAsWords, boolean myanmarAsWords) {this.cjkAsWords = cjkAsWords;this.myanmarAsWords = myanmarAsWords;} | public DefaultICUTokenizerConfig(bool cjkAsWords, bool myanmarAsWords){this.cjkAsWords = cjkAsWords;this.myanmarAsWords = myanmarAsWords;} |
public DisableAvailabilityZonesForLoadBalancerResult disableAvailabilityZonesForLoadBalancer(DisableAvailabilityZonesForLoadBalancerRequest request) {request = beforeClientExecution(request);return executeDisableAvailabilityZonesForLoadBalancer(request);} | public virtual DisableAvailabilityZonesForLoadBalancerResponse DisableAvailabilityZonesForLoadBalancer(DisableAvailabilityZonesForLoadBalancerRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisableAvailabilityZonesForLoadBalancerRequestMarshaller.Instance;options.ResponseUnmarshaller = Di... |
public synchronized void setIndexFieldName(String dimName, String indexFieldName) {DimConfig ft = fieldTypes.get(dimName);if (ft == null) {ft = new DimConfig();fieldTypes.put(dimName, ft);}ft.indexFieldName = indexFieldName;} | public virtual void SetIndexFieldName(string dimName, string indexFieldName){lock (this){if (!fieldTypes.TryGetValue(dimName, out DimConfig fieldType)){fieldTypes[dimName] = new DimConfig { IndexFieldName = indexFieldName };}else{fieldType.IndexFieldName = indexFieldName;}}} |
public BytesRef encode(char[] buffer, int offset, int length) {int payload = ArrayUtil.parseInt(buffer, offset, length);byte[] bytes = PayloadHelper.encodeInt(payload);BytesRef result = new BytesRef(bytes);return result;} | public override BytesRef Encode(char[] buffer, int offset, int length){int payload = ArrayUtil.ParseInt32(buffer, offset, length); byte[] bytes = PayloadHelper.EncodeInt32(payload);BytesRef result = new BytesRef(bytes);return result;} |
public HideObjRecord(RecordInputStream in) {field_1_hide_obj = in.readShort();} | public HideObjRecord(RecordInputStream in1){field_1_hide_obj = in1.ReadShort();} |
public String toString() {if ( isEmpty() ) return "[]";StringBuilder buf = new StringBuilder();buf.append("[");for (int i=0; i<returnStates.length; i++) {if ( i>0 ) buf.append(", ");if ( returnStates[i]==EMPTY_RETURN_STATE ) {buf.append("$");continue;}buf.append(returnStates[i]);if ( parents[i]!=null ) {buf.append(' ')... | public override String ToString(){if (IsEmpty)return "[]";StringBuilder buf = new StringBuilder();buf.Append("[");for (int i = 0; i < returnStates.Length; i++){if (i > 0) buf.Append(", ");if (returnStates[i] == EMPTY_RETURN_STATE){buf.Append("$");continue;}buf.Append(returnStates[i]);if (parents[i] != null){buf.Append(... |
public synchronized int getSecondaryProgress() {return mIndeterminate ? 0 : mSecondaryProgress;} | public virtual int getSecondaryProgress(){lock (this){return mIndeterminate ? 0 : mSecondaryProgress;}} |
public DeleteContactMethodResult deleteContactMethod(DeleteContactMethodRequest request) {request = beforeClientExecution(request);return executeDeleteContactMethod(request);} | public virtual DeleteContactMethodResponse DeleteContactMethod(DeleteContactMethodRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteContactMethodRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteContactMethodResponseUnmarshaller.Instance;return Invoke<DeleteContactMethod... |
@Override public List<E> subList(int start, int end) {synchronized (mutex) {return new SynchronizedList<E>(list.subList(start, end), mutex);}} | public virtual java.util.List<E> subList(int start, int end){lock (mutex){return new java.util.Collections.SynchronizedList<E>(list.subList(start, end), mutex);}} |
@Override public boolean equals(Object object) {return m.equals(object);} | public override bool Equals(object @object){return mapEntry.Equals(@object);} |
public static String getSchemePrefix(String spec) {int colon = spec.indexOf(':');if (colon < 1) {return null;}for (int i = 0; i < colon; i++) {char c = spec.charAt(i);if (!isValidSchemeChar(i, c)) {return null;}}return spec.substring(0, colon).toLowerCase(Locale.US);} | public static string getSchemePrefix(string spec){int colon = spec.IndexOf(':');if (colon < 1){return null;}{for (int i = 0; i < colon; i++){char c = spec[i];if (!isValidSchemeChar(i, c)){return null;}}}return Sharpen.StringHelper.Substring(spec, 0, colon).ToLower(System.Globalization.CultureInfo.InvariantCulture);} |
public ByteBuffer put(byte[] src, int srcOffset, int byteCount) {throw new ReadOnlyBufferException();} | public override java.nio.ByteBuffer put(byte[] src, int srcOffset, int byteCount){throw new System.NotImplementedException();} |
public CreateServiceResult createService(CreateServiceRequest request) {request = beforeClientExecution(request);return executeCreateService(request);} | public virtual CreateServiceResponse CreateService(CreateServiceRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateServiceRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateServiceResponseUnmarshaller.Instance;return Invoke<CreateServiceResponse>(request, options);} |
public void serialize(LittleEndianOutput out) {out.writeShort(_numberOfRegions);for (int i = 0; i < _numberOfRegions; i++) {_regions[_startIndex + i].serialize(out);}} | public override void Serialize(ILittleEndianOutput out1){int nItems = _numberOfRegions;out1.WriteShort(nItems);for (int i = 0; i < _numberOfRegions; i++){_regions[_startIndex + i].Serialize(out1);}} |
public StringBuilder insert(int offset, char c) {insert0(offset, c);return this;} | public java.lang.StringBuilder insert(int offset, char c){insert0(offset, c);return this;} |
public LabelSSTRecord(RecordInputStream in) {super(in);field_4_sst_index = in.readInt();} | public LabelSSTRecord(RecordInputStream in1): base(in1){field_4_sst_index = in1.ReadInt();} |
public void setObjectId(AnyObjectId id) {if (objectId == null)objectId = id.copy();} | public virtual void SetObjectId(AnyObjectId id){if (objectId == null){objectId = id.Copy();}} |
public int add(CFRecordsAggregate cfAggregate) {cfAggregate.getHeader().setID(_cfHeaders.size());_cfHeaders.add(cfAggregate);return _cfHeaders.size() - 1;} | public int Add(CFRecordsAggregate cfAggregate){_cfHeaders.Add(cfAggregate);return _cfHeaders.Count - 1;} |
public TermVectorsPostingsArray(int size) {super(size);freqs = new int[size];lastOffsets = new int[size];lastPositions = new int[size];} | public TermVectorsPostingsArray(int size): base(size){freqs = new int[size];lastOffsets = new int[size];lastPositions = new int[size];} |
public FieldsQuery(SrndQuery q, List<String> fieldNames, char fieldOp) {this.q = q;this.fieldNames = fieldNames;this.fieldOp = fieldOp;} | public FieldsQuery(SrndQuery q, IList<string> fieldNames, char fieldOp){this.q = q;this.fieldNames = fieldNames;this.fieldOp = fieldOp;} |
public TokenStream create(TokenStream in) {return new GreekLowerCaseFilter(in);} | public override TokenStream Create(TokenStream @in){return new GreekLowerCaseFilter(m_luceneMatchVersion, @in);} |
public ECSMetadataServiceCredentialsFetcher() {this.connectionTimeoutInMilliseconds = DEFAULT_TIMEOUT_IN_MILLISECONDS;} | public ECSMetadataServiceCredentialsFetcher(){connectionTimeoutInMilliseconds = DEFAULT_TIMEOUT_IN_MILLISECONDS;} |
public static Decoder getDecoder(Format format, int version, int bitsPerValue) {checkVersion(version);return BulkOperation.of(format, bitsPerValue);} | public static IDecoder GetDecoder(Format format, int version, int bitsPerValue){CheckVersion(version);return BulkOperation.Of(format, bitsPerValue);} |
public synchronized void reset() {nameFinder.clearAdaptiveData();} | public virtual void Reset(){lock (this){nameFinder.clearAdaptiveData();}} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.