id
int32
0
10.3k
java
stringlengths
29
1.4k
cs
stringlengths
28
1.38k
6,600
public GetServerCertificateRequest(String serverCertificateName) {setServerCertificateName(serverCertificateName);}
public GetServerCertificateRequest(string serverCertificateName){_serverCertificateName = serverCertificateName;}
6,601
public CreateStreamingDistributionWithTagsResult createStreamingDistributionWithTags(CreateStreamingDistributionWithTagsRequest request) {request = beforeClientExecution(request);return executeCreateStreamingDistributionWithTags(request);}
public virtual CreateStreamingDistributionWithTagsResponse CreateStreamingDistributionWithTags(CreateStreamingDistributionWithTagsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateStreamingDistributionWithTagsRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateStreamingDistributionWithTagsResponseUnmarshaller.Instance;return Invoke<CreateStreamingDistributionWithTagsResponse>(request, options);}
6,602
public DescribeNotificationSubscriptionsResult describeNotificationSubscriptions(DescribeNotificationSubscriptionsRequest request) {request = beforeClientExecution(request);return executeDescribeNotificationSubscriptions(request);}
public virtual DescribeNotificationSubscriptionsResponse DescribeNotificationSubscriptions(DescribeNotificationSubscriptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeNotificationSubscriptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeNotificationSubscriptionsResponseUnmarshaller.Instance;return Invoke<DescribeNotificationSubscriptionsResponse>(request, options);}
6,603
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[CHARTFRTINFO]\n");buffer.append(" .rt =").append(HexDump.shortToHex(rt)).append('\n');buffer.append(" .grbitFrt =").append(HexDump.shortToHex(grbitFrt)).append('\n');buffer.append(" .verOriginator=").append(HexDump.byteToHex(verOriginator)).append('\n');buffer.append(" .verWriter =").append(HexDump.byteToHex(verOriginator)).append('\n');buffer.append(" .nCFRTIDs =").append(HexDump.shortToHex(rgCFRTID.length)).append('\n');buffer.append("[/CHARTFRTINFO]\n");return buffer.toString();}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[CHARTFRTINFO]\n");buffer.Append(" .rt =").Append(HexDump.ShortToHex(rt)).Append('\n');buffer.Append(" .grbitFrt =").Append(HexDump.ShortToHex(grbitFrt)).Append('\n');buffer.Append(" .verOriginator=").Append(HexDump.ByteToHex(verOriginator)).Append('\n');buffer.Append(" .verWriter =").Append(HexDump.ByteToHex(verOriginator)).Append('\n');buffer.Append(" .nCFRTIDs =").Append(HexDump.ShortToHex(rgCFRTID.Length)).Append('\n');buffer.Append("[/CHARTFRTINFO]\n");return buffer.ToString();}
6,604
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0) {double result;if (arg0 instanceof RefEval) {result = CountUtils.countMatchingCellsInRef((RefEval) arg0, predicate);} else if (arg0 instanceof ThreeDEval) {result = CountUtils.countMatchingCellsInArea((ThreeDEval) arg0, predicate);} else {throw new IllegalArgumentException("Bad range arg type (" + arg0.getClass().getName() + ")");}return new NumberEval(result);}
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0){double result;if (arg0 is RefEval){result = CountUtils.CountMatchingCellsInRef((RefEval)arg0, predicate);}else if (arg0 is ThreeDEval){result = CountUtils.CountMatchingCellsInArea((ThreeDEval)arg0, predicate);}else{throw new ArgumentException("Bad range arg type (" + arg0.GetType().Name + ")");}return new NumberEval(result);}
6,605
public UpdateRestApiResult updateRestApi(UpdateRestApiRequest request) {request = beforeClientExecution(request);return executeUpdateRestApi(request);}
public virtual UpdateRestApiResponse UpdateRestApi(UpdateRestApiRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateRestApiRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateRestApiResponseUnmarshaller.Instance;return Invoke<UpdateRestApiResponse>(request, options);}
6,606
public int size() {return ConcurrentHashMap.this.size();}
public override int size(){return this._enclosing._size;}
6,607
public EscherSimpleProperty( short propertyNumber, boolean isComplex, boolean isBlipId, int propertyValue ) {super( propertyNumber, isComplex, isBlipId );this.propertyValue = propertyValue;}
public EscherSimpleProperty(short propertyNumber, bool isComplex, bool isBlipId, int propertyValue):base(propertyNumber, isComplex, isBlipId){this.propertyValue = propertyValue;}
6,608
public static boolean isEndOfRowBlock(int sid) {switch(sid) {case ViewDefinitionRecord.sid:case DrawingRecord.sid:case DrawingSelectionRecord.sid:case ObjRecord.sid:case TextObjectRecord.sid:case ColumnInfoRecord.sid: case GutsRecord.sid: case WindowOneRecord.sid:case WindowTwoRecord.sid:return true;case DVALRecord.sid:return true;case EOFRecord.sid:throw new RuntimeException("Found EOFRecord before WindowTwoRecord was encountered");}return PageSettingsBlock.isComponentRecord(sid);}
public static bool IsEndOfRowBlock(int sid){switch (sid){case ViewDefinitionRecord.sid: case DrawingRecord.sid:case DrawingSelectionRecord.sid:case ObjRecord.sid:case TextObjectRecord.sid:case ColumnInfoRecord.sid: case GutsRecord.sid: case WindowOneRecord.sid:case WindowTwoRecord.sid:return true;case DVALRecord.sid:return true;case EOFRecord.sid:throw new InvalidOperationException("Found EOFRecord before WindowTwoRecord was encountered");}return PageSettingsBlock.IsComponentRecord(sid);}
6,609
public RegistrantProfileRealNameVerificationRequest() {super("Domain-intl", "2017-12-18", "RegistrantProfileRealNameVerification", "domain");setMethod(MethodType.POST);}
public RegistrantProfileRealNameVerificationRequest(): base("Domain-intl", "2017-12-18", "RegistrantProfileRealNameVerification", "domain", "openAPI"){Method = MethodType.POST;}
6,610
public CreateProfileResult createProfile(CreateProfileRequest request) {request = beforeClientExecution(request);return executeCreateProfile(request);}
public virtual CreateProfileResponse CreateProfile(CreateProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateProfileResponseUnmarshaller.Instance;return Invoke<CreateProfileResponse>(request, options);}
6,611
public ObjectId idFor(int type, byte[] data, int off, int len) {SHA1 md = SHA1.newInstance();md.update(Constants.encodedTypeString(type));md.update((byte) ' ');md.update(Constants.encodeASCII(len));md.update((byte) 0);md.update(data, off, len);return md.toObjectId();}
public virtual ObjectId IdFor(int type, byte[] data, int off, int len){MessageDigest md = Digest();md.Update(Constants.EncodedTypeString(type));md.Update(unchecked((byte)' '));md.Update(Constants.EncodeASCII(len));md.Update(unchecked((byte)0));md.Update(data, off, len);return ObjectId.FromRaw(md.Digest());}
6,612
public EndSubRecord clone() {return copy();}
public override Object Clone(){EndSubRecord rec = new EndSubRecord();return rec;}
6,613
public SearchRepoRequest() {super("cr", "2016-06-07", "SearchRepo", "cr");setUriPattern("/search");setMethod(MethodType.GET);}
public SearchRepoRequest(): base("cr", "2016-06-07", "SearchRepo", "cr", "openAPI"){UriPattern = "/search";Method = MethodType.GET;}
6,614
public InputIterator getEntryIterator() {try {return new FileIterator();} catch (IOException e) {throw new RuntimeException(e);}}
public virtual IInputIterator GetEntryIterator(){try{return new FileIterator(this);}catch (IOException e){throw new Exception(e.ToString(), e);}}
6,615
public final long get() {if (position == limit) {throw new BufferUnderflowException();}return backingArray[offset + position++];}
public sealed override long get(){if (_position == _limit){throw new java.nio.BufferUnderflowException();}return backingArray[offset + _position++];}
6,616
public void setThumbOffset(int thumbOffset) {mThumbOffset = thumbOffset;invalidate();}
public virtual void setThumbOffset(int thumbOffset){mThumbOffset = thumbOffset;invalidate();}
6,617
public void seekExact(BytesRef target, TermState otherState) {if (!target.equals(term)) {state.copyFrom(otherState);term = BytesRef.deepCopyOf(target);seekPending = true;}}
public override void SeekExact(BytesRef target, TermState otherState){if (!target.Equals(term_Renamed)){state.CopyFrom(otherState);term_Renamed = BytesRef.DeepCopyOf(target);seekPending = true;}}
6,618
public GetFilterResult getFilter(GetFilterRequest request) {request = beforeClientExecution(request);return executeGetFilter(request);}
public virtual GetFilterResponse GetFilter(GetFilterRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetFilterRequestMarshaller.Instance;options.ResponseUnmarshaller = GetFilterResponseUnmarshaller.Instance;return Invoke<GetFilterResponse>(request, options);}
6,619
public static FontDetails create( String fontName, Properties fontMetricsProps ){String heightStr = fontMetricsProps.getProperty( buildFontHeightProperty(fontName) );String widthsStr = fontMetricsProps.getProperty( buildFontWidthsProperty(fontName) );String charactersStr = fontMetricsProps.getProperty( buildFontCharactersProperty(fontName) );if(heightStr == null || widthsStr == null || charactersStr == null) {throw new IllegalArgumentException("The supplied FontMetrics doesn't know about the font '" + fontName + "', so we can't use it. Please add it to your font metrics file (see StaticFontMetrics.getFontDetails");}int height = Integer.parseInt(heightStr);FontDetails d = new FontDetails(fontName, height);String[] charactersStrArray = split(charactersStr, ",", -1);String[] widthsStrArray = split(widthsStr, ",", -1);if (charactersStrArray.length != widthsStrArray.length)throw new RuntimeException("Number of characters does not number of widths for font " + fontName);for ( int i = 0; i < widthsStrArray.length; i++ ){if (charactersStrArray[i].length() != 0)d.addChar(charactersStrArray[i].charAt(0), Integer.parseInt(widthsStrArray[i]));}return d;}
public static FontDetails Create(String fontName, Properties fontMetricsProps){String heightStr = fontMetricsProps[BuildFontHeightProperty(fontName)];String widthsStr = fontMetricsProps[BuildFontWidthsProperty(fontName)];String CharsStr = fontMetricsProps[BuildFontCharsProperty(fontName)];if (heightStr == null || widthsStr == null || CharsStr == null){throw new ArgumentException("The supplied FontMetrics doesn't know about the font '" + fontName + "', so we can't use it. Please Add it to your font metrics file (see StaticFontMetrics.GetFontDetails");}int height = int.Parse(heightStr, CultureInfo.InvariantCulture);FontDetails d = new FontDetails(fontName, height);String[] CharsStrArray = Split(CharsStr, ",", -1);String[] widthsStrArray = Split(widthsStr, ",", -1);if (CharsStrArray.Length != widthsStrArray.Length)throw new Exception("Number of Chars does not number of widths for font " + fontName);for (int i = 0; i < widthsStrArray.Length; i++){if (CharsStrArray[i].Trim().Length != 0)d.AddChar(CharsStrArray[i].Trim()[0], int.Parse(widthsStrArray[i], CultureInfo.InvariantCulture));}return d;}
6,620
public static void registerFunction(String name, Function func){FunctionMetadata metaData = FunctionMetadataRegistry.getFunctionByName(name);if(metaData == null) {if(AnalysisToolPak.isATPFunction(name)) {throw new IllegalArgumentException(name + " is a function from the Excel Analysis Toolpack. " +"Use AnalysisToolpack.registerFunction(String name, FreeRefFunction func) instead.");}throw new IllegalArgumentException("Unknown function: " + name);}int idx = metaData.getIndex();if(functions[idx] instanceof NotImplementedFunction) {functions[idx] = func;} else {throw new IllegalArgumentException("POI already implememts " + name +". You cannot override POI's implementations of Excel functions");}}
public static void RegisterFunction(String name, Function func){FunctionMetadata metaData = FunctionMetadataRegistry.GetFunctionByName(name);if (metaData == null){if (AnalysisToolPak.IsATPFunction(name)){throw new ArgumentException(name + " is a function from the Excel Analysis Toolpack. " +"Use AnalysisToolpack.RegisterFunction(String name, FreeRefFunction func) instead.");}else{throw new ArgumentException("Unknown function: " + name);}}int idx = metaData.Index;if (functions[idx] is NotImplementedFunction){functions[idx] = func;}else{throw new ArgumentException("POI already implememts " + name +". You cannot override POI's implementations of Excel functions");}}
6,621
public SortedSetDocValuesField(String name, BytesRef bytes) {super(name, TYPE);fieldsData = bytes;}
public SortedSetDocValuesField(string name, BytesRef bytes): base(name, TYPE){FieldsData = bytes;}
6,622
public static TreeFilter create(TreeFilter[] list) {if (list.length == 2)return create(list[0], list[1]);if (list.length < 2)throw new IllegalArgumentException(JGitText.get().atLeastTwoFiltersNeeded);final TreeFilter[] subfilters = new TreeFilter[list.length];System.arraycopy(list, 0, subfilters, 0, list.length);return new List(subfilters);}
public static TreeFilter Create(TreeFilter[] list){if (list.Length == 2){return Create(list[0], list[1]);}if (list.Length < 2){throw new ArgumentException(JGitText.Get().atLeastTwoFiltersNeeded);}TreeFilter[] subfilters = new TreeFilter[list.Length];System.Array.Copy(list, 0, subfilters, 0, list.Length);return new OrTreeFilter.List(subfilters);}
6,623
public V get(Object key) {if (key == null) {HashMapEntry<K, V> e = entryForNullKey;return e == null ? null : e.value;}int hash = key.hashCode();hash ^= (hash >>> 20) ^ (hash >>> 12);hash ^= (hash >>> 7) ^ (hash >>> 4);HashMapEntry<K, V>[] tab = table;for (HashMapEntry<K, V> e = tab[hash & (tab.length - 1)];e != null; e = e.next) {K eKey = e.key;if (eKey == key || (e.hash == hash && key.equals(eKey))) {return e.value;}}return null;}
public override V get(object key){if (key == null){java.util.HashMap.HashMapEntry<K, V> e = entryForNullKey;return e == null ? default(V) : e.value;}int hash = key.GetHashCode();hash ^= ((int)(((uint)hash) >> 20)) ^ ((int)(((uint)hash) >> 12));hash ^= ((int)(((uint)hash) >> 7)) ^ ((int)(((uint)hash) >> 4));java.util.HashMap.HashMapEntry<K, V>[] tab = table;{for (java.util.HashMap.HashMapEntry<K, V> e_1 = tab[hash & (tab.Length - 1)]; e_1!= null; e_1 = e_1.next){K eKey = e_1.key;if (Sharpen.Util.Equals(eKey, key) || (e_1.hash == hash && key.Equals(eKey))){return e_1.value;}}}return default(V);}
6,624
public boolean hasSourceData(int idx) {return sourceLines[idx] != 0;}
public virtual bool HasSourceData(int idx){return sourceLines[idx] != 0;}
6,625
public CreateBotResult createBot(CreateBotRequest request) {request = beforeClientExecution(request);return executeCreateBot(request);}
public virtual CreateBotResponse CreateBot(CreateBotRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateBotRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateBotResponseUnmarshaller.Instance;return Invoke<CreateBotResponse>(request, options);}
6,626
public UpdateMethodResponseResult updateMethodResponse(UpdateMethodResponseRequest request) {request = beforeClientExecution(request);return executeUpdateMethodResponse(request);}
public virtual UpdateMethodResponseResponse UpdateMethodResponse(UpdateMethodResponseRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateMethodResponseRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateMethodResponseResponseUnmarshaller.Instance;return Invoke<UpdateMethodResponseResponse>(request, options);}
6,627
public boolean add(char[] text) {return map.put(text, PLACEHOLDER) == null;}
public virtual bool Add(string text){return map.Put(text);}
6,628
public String toString(Vocabulary vocabulary) {if (s0 == null) {return "";}DFASerializer serializer = new DFASerializer(this, vocabulary);return serializer.toString();}
public String ToString(IVocabulary vocabulary){if (s0 == null){return "";}DFASerializer serializer = new DFASerializer(this, vocabulary);return serializer.ToString();}
6,629
public CreateApiKeyResult createApiKey(CreateApiKeyRequest request) {request = beforeClientExecution(request);return executeCreateApiKey(request);}
public virtual CreateApiKeyResponse CreateApiKey(CreateApiKeyRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateApiKeyRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateApiKeyResponseUnmarshaller.Instance;return Invoke<CreateApiKeyResponse>(request, options);}
6,630
public DetachTypedLinkResult detachTypedLink(DetachTypedLinkRequest request) {request = beforeClientExecution(request);return executeDetachTypedLink(request);}
public virtual DetachTypedLinkResponse DetachTypedLink(DetachTypedLinkRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetachTypedLinkRequestMarshaller.Instance;options.ResponseUnmarshaller = DetachTypedLinkResponseUnmarshaller.Instance;return Invoke<DetachTypedLinkResponse>(request, options);}
6,631
public ExternSheetRecord[] getExternSheetRecords() {return externSheetRecords.toArray(new ExternSheetRecord[0]);}
public ExternSheetRecord[] GetExternSheetRecords(){return (ExternSheetRecord[])externSheetRecords.ToArray(typeof(ExternSheetRecord));}
6,632
public DescribeNetworkInterfaceAttributeResult describeNetworkInterfaceAttribute(DescribeNetworkInterfaceAttributeRequest request) {request = beforeClientExecution(request);return executeDescribeNetworkInterfaceAttribute(request);}
public virtual DescribeNetworkInterfaceAttributeResponse DescribeNetworkInterfaceAttribute(DescribeNetworkInterfaceAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeNetworkInterfaceAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeNetworkInterfaceAttributeResponseUnmarshaller.Instance;return Invoke<DescribeNetworkInterfaceAttributeResponse>(request, options);}
6,633
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[TABID]\n");buffer.append(" .elements = ").append(_tabids.length).append("\n");for (int i = 0; i < _tabids.length; i++) {buffer.append(" .element_").append(i).append(" = ").append(_tabids[i]).append("\n");}buffer.append("[/TABID]\n");return buffer.toString();}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[TABID]\n");buffer.Append(" .elements = ").Append(_tabids.Length).Append("\n");for (int k = 0; k < _tabids.Length; k++){buffer.Append(" .element_" + k + " = ").Append(_tabids[k]).Append("\n");}buffer.Append("[/TABID]\n");return buffer.ToString();}
6,634
public long ramBytesUsed() {long ramBytesUsed = BASE_RAM_BYTES_USED;ramBytesUsed += (postingsReader!=null) ? postingsReader.ramBytesUsed() : 0;ramBytesUsed += (indexReader!=null) ? indexReader.ramBytesUsed() : 0;ramBytesUsed += fields.size() * 2L * RamUsageEstimator.NUM_BYTES_OBJECT_REF;for (FieldReader reader : fields.values()) {ramBytesUsed += reader.ramBytesUsed();}return ramBytesUsed;}
public override long RamBytesUsed(){long sizeInBytes = (postingsReader != null) ? postingsReader.RamBytesUsed() : 0;sizeInBytes += (indexReader != null) ? indexReader.RamBytesUsed() : 0;return sizeInBytes;}
6,635
public ByteBuffer put(ByteBuffer buf) {throw new ReadOnlyBufferException();}
public override java.nio.ByteBuffer put(byte b){throw new java.nio.ReadOnlyBufferException();}
6,636
public RecognizePetRequest() {super("visionai-poc", "2020-04-08", "RecognizePet");setMethod(MethodType.POST);}
public RecognizePetRequest(): base("visionai-poc", "2020-04-08", "RecognizePet"){Method = MethodType.POST;}
6,637
public ImportRestApiResult importRestApi(ImportRestApiRequest request) {request = beforeClientExecution(request);return executeImportRestApi(request);}
public virtual ImportRestApiResponse ImportRestApi(ImportRestApiRequest request){var options = new InvokeOptions();options.RequestMarshaller = ImportRestApiRequestMarshaller.Instance;options.ResponseUnmarshaller = ImportRestApiResponseUnmarshaller.Instance;return Invoke<ImportRestApiResponse>(request, options);}
6,638
public void serialize(LittleEndianOutput out) {out.writeShort(field_1_anchorId);out.writeShort(field_2_link1);out.writeShort(field_3_link2);}
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_anchorId);out1.WriteShort(field_2_link1);out1.WriteShort(field_3_link2);}
6,639
public DescribeSnapshotAttributeRequest(String snapshotId, SnapshotAttributeName attribute) {setSnapshotId(snapshotId);setAttribute(attribute.toString());}
public DescribeSnapshotAttributeRequest(string snapshotId, SnapshotAttributeName attribute){_snapshotId = snapshotId;_attribute = attribute;}
6,640
public Token recoverInline(Parser recognizer)throws RecognitionException{Token matchedSymbol = singleTokenDeletion(recognizer);if ( matchedSymbol!=null ) {recognizer.consume();return matchedSymbol;}if ( singleTokenInsertion(recognizer) ) {return getMissingSymbol(recognizer);}InputMismatchException e;if (nextTokensContext == null) {e = new InputMismatchException(recognizer);} else {e = new InputMismatchException(recognizer, nextTokensState, nextTokensContext);}throw e;}
public virtual IToken RecoverInline(Parser recognizer){IToken matchedSymbol = SingleTokenDeletion(recognizer);if (matchedSymbol != null){recognizer.Consume();return matchedSymbol;}if (SingleTokenInsertion(recognizer)){return GetMissingSymbol(recognizer);}throw new InputMismatchException(recognizer);}
6,641
public MultiCategoryListsFacetsExample() {config.setIndexFieldName("Author", "author");config.setIndexFieldName("Publish Date", "pubdate");config.setHierarchical("Publish Date", true);}
public MultiCategoryListsFacetsExample(){config.SetIndexFieldName("Author", "author");config.SetIndexFieldName("Publish Date", "pubdate");config.SetHierarchical("Publish Date", true);}
6,642
public GetAddressBookResult getAddressBook(GetAddressBookRequest request) {request = beforeClientExecution(request);return executeGetAddressBook(request);}
public virtual GetAddressBookResponse GetAddressBook(GetAddressBookRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAddressBookRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAddressBookResponseUnmarshaller.Instance;return Invoke<GetAddressBookResponse>(request, options);}
6,643
public PatternFormatting() {field_15_pattern_style = 0;field_16_pattern_color_indexes = 0;}
public PatternFormatting(){field_15_pattern_style = (short)0;field_16_pattern_color_indexes = (short)0;}
6,644
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg1, ValueEval arg2) {try {Double number1 = evaluateValue(arg1, srcRowIndex, srcColumnIndex);if (number1 == null) {return ErrorEval.VALUE_INVALID;}Double number2 = evaluateValue(arg2, srcRowIndex, srcColumnIndex);if (number2 == null) {return ErrorEval.VALUE_INVALID;}return (number1.compareTo(number2) == 0) ? ONE : ZERO;} catch (EvaluationException e) {return e.getErrorEval();}}
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg1, ValueEval arg2){ValueEval veText1;try{veText1 = OperandResolver.GetSingleValue(arg1, srcRowIndex, srcColumnIndex);}catch (EvaluationException e){return e.GetErrorEval();}String strText1 = OperandResolver.CoerceValueToString(veText1);Double number1 = OperandResolver.ParseDouble(strText1);if (double.IsNaN(number1)){return ErrorEval.VALUE_INVALID;}ValueEval veText2;try{veText2 = OperandResolver.GetSingleValue(arg2, srcRowIndex, srcColumnIndex);}catch (EvaluationException e){return e.GetErrorEval();}String strText2 = OperandResolver.CoerceValueToString(veText2);Double number2 = OperandResolver.ParseDouble(strText2);if (double.IsNaN(number2)){return ErrorEval.VALUE_INVALID;}int result = NumberComparer.Compare(number1, number2);return result == 0 ? ONE : ZERO;}
6,645
public final double getDouble() {return Double.longBitsToDouble(getLong());}
public sealed override double getDouble(){return Sharpen.Util.LongBitsToDouble(getLong());}
6,646
public Principal(String provider, String id, boolean stripHyphen) {this.provider = provider;this.id = stripHyphen ?id.replace("-", "") : id;}
public Principal(string provider, string id, bool stripHyphen){this.provider = provider;if (stripHyphen){id = id.Replace("-", "");}this.id = id;}
6,647
public ListJobsResult listJobs() {return listJobs(new ListJobsRequest());}
public virtual ListJobsResponse ListJobs(){return ListJobs(new ListJobsRequest());}
6,648
public CharBuffer slice() {byteBuffer.limit(limit * SizeOf.CHAR);byteBuffer.position(position * SizeOf.CHAR);ByteBuffer bb = byteBuffer.slice().order(byteBuffer.order());CharBuffer result = new CharToByteBufferAdapter(bb);byteBuffer.clear();return result;}
public override java.nio.CharBuffer slice(){byteBuffer.limit(_limit * libcore.io.SizeOf.CHAR);byteBuffer.position(_position * libcore.io.SizeOf.CHAR);java.nio.ByteBuffer bb = byteBuffer.slice().order(byteBuffer.order());java.nio.CharBuffer result = new java.nio.CharToByteBufferAdapter(bb);byteBuffer.clear();return result;}
6,649
public static final int tagMessage(byte[] b, int ptr) {final int sz = b.length;if (ptr == 0)ptr += 48; while (ptr < sz && b[ptr] != '\n')ptr = nextLF(b, ptr);if (ptr < sz && b[ptr] == '\n')return ptr + 1;return -1;}
public static int TagMessage(byte[] b, int ptr){int sz = b.Length;if (ptr == 0){ptr += 48;}while (ptr < sz && b[ptr] != '\n'){ptr = NextLF(b, ptr);}if (ptr < sz && b[ptr] == '\n'){return ptr + 1;}return -1;}
6,650
public RebootBrokerResult rebootBroker(RebootBrokerRequest request) {request = beforeClientExecution(request);return executeRebootBroker(request);}
public virtual RebootBrokerResponse RebootBroker(RebootBrokerRequest request){var options = new InvokeOptions();options.RequestMarshaller = RebootBrokerRequestMarshaller.Instance;options.ResponseUnmarshaller = RebootBrokerResponseUnmarshaller.Instance;return Invoke<RebootBrokerResponse>(request, options);}
6,651
public int getLastInternalSheetIndexForExtIndex(int extRefIndex) {if (extRefIndex >= _externSheetRecord.getNumOfRefs() || extRefIndex < 0) {return -1;}return _externSheetRecord.getLastSheetIndexFromRefIndex(extRefIndex);}
public int GetLastInternalSheetIndexForExtIndex(int extRefIndex){if (extRefIndex >= _externSheetRecord.NumOfRefs || extRefIndex < 0){return -1;}return _externSheetRecord.GetLastSheetIndexFromRefIndex(extRefIndex);}
6,652
public RemoveTagsFromOnPremisesInstancesResult removeTagsFromOnPremisesInstances(RemoveTagsFromOnPremisesInstancesRequest request) {request = beforeClientExecution(request);return executeRemoveTagsFromOnPremisesInstances(request);}
public virtual RemoveTagsFromOnPremisesInstancesResponse RemoveTagsFromOnPremisesInstances(RemoveTagsFromOnPremisesInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = RemoveTagsFromOnPremisesInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = RemoveTagsFromOnPremisesInstancesResponseUnmarshaller.Instance;return Invoke<RemoveTagsFromOnPremisesInstancesResponse>(request, options);}
6,653
public static final int nextLF(byte[] b, int ptr) {return next(b, ptr, '\n');}
public static int NextLF(byte[] b, int ptr){return Next(b, ptr, '\n');}
6,654
public boolean equals(Object other) {return sameClassAs(other) &&equalsTo(getClass().cast(other));}
public override bool Equals(object obj){if (!(obj is DrillDownQuery)){return false;}DrillDownQuery other = (DrillDownQuery)obj;return query.Equals(other.query) && base.Equals(other);}
6,655
public void setResult(ReceiveCommand.Result status) {result = decode(status);super.setResult(status);}
public override void SetResult(ReceiveCommand.Result status){this._enclosing.result = this.Decode(status);base.SetResult(status);}
6,656
public UpdateIAMPolicyAssignmentResult updateIAMPolicyAssignment(UpdateIAMPolicyAssignmentRequest request) {request = beforeClientExecution(request);return executeUpdateIAMPolicyAssignment(request);}
public virtual UpdateIAMPolicyAssignmentResponse UpdateIAMPolicyAssignment(UpdateIAMPolicyAssignmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateIAMPolicyAssignmentRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateIAMPolicyAssignmentResponseUnmarshaller.Instance;return Invoke<UpdateIAMPolicyAssignmentResponse>(request, options);}
6,657
public ExportImageResult exportImage(ExportImageRequest request) {request = beforeClientExecution(request);return executeExportImage(request);}
public virtual ExportImageResponse ExportImage(ExportImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = ExportImageRequestMarshaller.Instance;options.ResponseUnmarshaller = ExportImageResponseUnmarshaller.Instance;return Invoke<ExportImageResponse>(request, options);}
6,658
public ListTopicsDetectionJobsResult listTopicsDetectionJobs(ListTopicsDetectionJobsRequest request) {request = beforeClientExecution(request);return executeListTopicsDetectionJobs(request);}
public virtual ListTopicsDetectionJobsResponse ListTopicsDetectionJobs(ListTopicsDetectionJobsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTopicsDetectionJobsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTopicsDetectionJobsResponseUnmarshaller.Instance;return Invoke<ListTopicsDetectionJobsResponse>(request, options);}
6,659
public static IntBuffer wrap(int[] array, int start, int intCount) {Arrays.checkOffsetAndCount(array.length, start, intCount);IntBuffer buf = new ReadWriteIntArrayBuffer(array);buf.position = start;buf.limit = start + intCount;return buf;}
public static java.nio.IntBuffer wrap(int[] array_1, int start, int intCount){java.util.Arrays.checkOffsetAndCount(array_1.Length, start, intCount);java.nio.IntBuffer buf = new java.nio.ReadWriteIntArrayBuffer(array_1);buf._position = start;buf._limit = start + intCount;return buf;}
6,660
public ListDeploymentTargetsResult listDeploymentTargets(ListDeploymentTargetsRequest request) {request = beforeClientExecution(request);return executeListDeploymentTargets(request);}
public virtual ListDeploymentTargetsResponse ListDeploymentTargets(ListDeploymentTargetsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDeploymentTargetsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDeploymentTargetsResponseUnmarshaller.Instance;return Invoke<ListDeploymentTargetsResponse>(request, options);}
6,661
public HSSFTextbox createTextbox(HSSFChildAnchor anchor) {HSSFTextbox shape = new HSSFTextbox(this, anchor);shape.setParent(this);shape.setAnchor(anchor);shapes.add(shape);onCreate(shape);return shape;}
public HSSFTextbox CreateTextbox(HSSFChildAnchor anchor){HSSFTextbox shape = new HSSFTextbox(this, anchor);shape.Parent = this;shape.Anchor = anchor;shapes.Add(shape);OnCreate(shape);return shape;}
6,662
public CreateStreamProcessorResult createStreamProcessor(CreateStreamProcessorRequest request) {request = beforeClientExecution(request);return executeCreateStreamProcessor(request);}
public virtual CreateStreamProcessorResponse CreateStreamProcessor(CreateStreamProcessorRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateStreamProcessorRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateStreamProcessorResponseUnmarshaller.Instance;return Invoke<CreateStreamProcessorResponse>(request, options);}
6,663
public boolean matches(char s[], int len) {return (len - suffix.length >= min && endsWith(s, len, suffix));}
public virtual bool Matches(char[] s, int len){return (len - m_suffix.Length >= m_min && StemmerUtil.EndsWith(s, len, m_suffix));}
6,664
public void setFontStyle(boolean italic, boolean bold){boolean modified = italic || bold;fontFormatting.setItalic(italic);fontFormatting.setBold(bold);fontFormatting.setFontStyleModified(modified);fontFormatting.setFontWieghtModified(modified);}
public void SetFontStyle(bool italic, bool bold){bool modified = italic || bold;fontFormatting.IsItalic=italic;fontFormatting.IsBold=bold;fontFormatting.IsFontStyleModified=modified;fontFormatting.IsFontWeightModified=modified;}
6,665
public void writeShort(int value) throws IOException {checkWritePrimitiveTypes();primitiveTypes.writeShort(value);}
public virtual void writeShort(int value){throw new System.NotImplementedException();}
6,666
public CreateEntityRecognizerResult createEntityRecognizer(CreateEntityRecognizerRequest request) {request = beforeClientExecution(request);return executeCreateEntityRecognizer(request);}
public virtual CreateEntityRecognizerResponse CreateEntityRecognizer(CreateEntityRecognizerRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateEntityRecognizerRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateEntityRecognizerResponseUnmarshaller.Instance;return Invoke<CreateEntityRecognizerResponse>(request, options);}
6,667
public DescribeContributorInsightsResult describeContributorInsights(DescribeContributorInsightsRequest request) {request = beforeClientExecution(request);return executeDescribeContributorInsights(request);}
public virtual DescribeContributorInsightsResponse DescribeContributorInsights(DescribeContributorInsightsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeContributorInsightsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeContributorInsightsResponseUnmarshaller.Instance;return Invoke<DescribeContributorInsightsResponse>(request, options);}
6,668
public CreateLaunchConfigurationResult createLaunchConfiguration(CreateLaunchConfigurationRequest request) {request = beforeClientExecution(request);return executeCreateLaunchConfiguration(request);}
public virtual CreateLaunchConfigurationResponse CreateLaunchConfiguration(CreateLaunchConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateLaunchConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateLaunchConfigurationResponseUnmarshaller.Instance;return Invoke<CreateLaunchConfigurationResponse>(request, options);}
6,669
public int read() throws IOException {checkReadPrimitiveTypes();return primitiveData.read();}
public override int read(){throw new System.NotImplementedException();}
6,670
public TokenStream create(TokenStream input) {return new LimitTokenCountFilter(input, maxTokenCount, consumeAllTokens);}
public override TokenStream Create(TokenStream input){return new LimitTokenCountFilter(input, maxTokenCount, consumeAllTokens);}
6,671
public CharBuffer asReadOnlyBuffer() {return duplicate();}
public override java.nio.CharBuffer asReadOnlyBuffer(){return duplicate();}
6,672
public GetConsoleScreenshotResult getConsoleScreenshot(GetConsoleScreenshotRequest request) {request = beforeClientExecution(request);return executeGetConsoleScreenshot(request);}
public virtual GetConsoleScreenshotResponse GetConsoleScreenshot(GetConsoleScreenshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetConsoleScreenshotRequestMarshaller.Instance;options.ResponseUnmarshaller = GetConsoleScreenshotResponseUnmarshaller.Instance;return Invoke<GetConsoleScreenshotResponse>(request, options);}
6,673
public DrawingRecordForBiffViewer(DrawingRecord r){super(convertToInputStream(r));convertRawBytesToEscherRecords();}
public DrawingRecordForBiffViewer(DrawingRecord r): base(ConvertToInputStream(r)){ConvertRawBytesToEscherRecords();}
6,674
public boolean hasPrevious() {return pos >= 0;}
public bool hasPrevious(){return this.pos >= 0;}
6,675
public NotImplemented(String functionName) {_functionName = functionName;}
public NotImplemented(String functionName){_functionName = functionName;}
6,676
public UpdateDirectoryConfigResult updateDirectoryConfig(UpdateDirectoryConfigRequest request) {request = beforeClientExecution(request);return executeUpdateDirectoryConfig(request);}
public virtual UpdateDirectoryConfigResponse UpdateDirectoryConfig(UpdateDirectoryConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDirectoryConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDirectoryConfigResponseUnmarshaller.Instance;return Invoke<UpdateDirectoryConfigResponse>(request, options);}
6,677
public DeleteQualificationTypeResult deleteQualificationType(DeleteQualificationTypeRequest request) {request = beforeClientExecution(request);return executeDeleteQualificationType(request);}
public virtual DeleteQualificationTypeResponse DeleteQualificationType(DeleteQualificationTypeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteQualificationTypeRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteQualificationTypeResponseUnmarshaller.Instance;return Invoke<DeleteQualificationTypeResponse>(request, options);}
6,678
@Override public void clear() {throw new UnsupportedOperationException();}
public virtual void clear(){throw new System.NotSupportedException();}
6,679
public int startNewSlice() {return offset = pool.newSlice(FIRST_LEVEL_SIZE) + pool.intOffset;}
public virtual int StartNewSlice(){return offset = pool.NewSlice(FIRST_LEVEL_SIZE) + pool.Int32Offset;}
6,680
public void postInvalidate() {if (!mNoInvalidate) {super.postInvalidate();}}
public override void postInvalidate(){if (!mNoInvalidate){base.postInvalidate();}}
6,681
public List<FacetEntry> getFacetEntries(int offset, int limit) {List<FacetEntry> entries = new LinkedList<>();int skipped = 0;int included = 0;for (FacetEntry facetEntry : facetEntries) {if (skipped < offset) {skipped++;continue;}if (included++ >= limit) {break;}entries.add(facetEntry);}return entries;}
public virtual IList<FacetEntry> GetFacetEntries(int offset, int limit){List<FacetEntry> entries = new List<FacetEntry>();int skipped = 0;int included = 0;foreach (FacetEntry facetEntry in facetEntries){if (skipped < offset){skipped++;continue;}if (included++ >= limit){break;}entries.Add(facetEntry);}return entries;}
6,682
public static synchronized CoderResult unmappableForLength(int length)throws IllegalArgumentException {if (length > 0) {Integer key = Integer.valueOf(length);synchronized (_unmappableErrors) {CoderResult r = _unmappableErrors.get(key);if (r == null) {r = new CoderResult(TYPE_UNMAPPABLE_CHAR, length);_unmappableErrors.put(key, r);}return r;}}throw new IllegalArgumentException("Length must be greater than 0; was " + length);}
public static java.nio.charset.CoderResult unmappableForLength(int length_1){lock (typeof(CoderResult)){if (length_1 > 0){int key = Sharpen.Util.IntValueOf(length_1);lock (_unmappableErrors){java.nio.charset.CoderResult r = _unmappableErrors.get(key);if (r == null){r = new java.nio.charset.CoderResult(TYPE_UNMAPPABLE_CHAR, length_1);_unmappableErrors.put(key, r);}return r;}}throw new System.ArgumentException("Length must be greater than 0; was " + length_1);}}
6,683
public UpdateDetectorVersionStatusResult updateDetectorVersionStatus(UpdateDetectorVersionStatusRequest request) {request = beforeClientExecution(request);return executeUpdateDetectorVersionStatus(request);}
public virtual UpdateDetectorVersionStatusResponse UpdateDetectorVersionStatus(UpdateDetectorVersionStatusRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDetectorVersionStatusRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDetectorVersionStatusResponseUnmarshaller.Instance;return Invoke<UpdateDetectorVersionStatusResponse>(request, options);}
6,684
public void remove() {iterator.remove();subList.sizeChanged(false);end--;}
public void remove(){iterator.remove();subList.sizeChanged(false);end--;}
6,685
public void setRef(Character way, int ref) {Cell c = at(way);if (c == null) {c = new Cell();c.ref = ref;cells.put(way, c);} else {c.ref = ref;}}
public void SetRef(char way, int @ref){Cell c = At(way);if (c == null){c = new Cell();c.@ref = @ref;cells[way] = c;}else{c.@ref = @ref;}}
6,686
public QueryNodeProcessorPipeline(QueryConfigHandler queryConfigHandler) {this.queryConfig = queryConfigHandler;}
public QueryNodeProcessorPipeline(QueryConfigHandler queryConfigHandler){this.queryConfig = queryConfigHandler;}
6,687
public IllegalFormatPrecisionException(int p) {this.p = p;}
public IllegalFormatPrecisionException(int p){this.p = p;}
6,688
@Override public final boolean equals(Object o) {if (!(o instanceof Entry)) {return false;}Entry<?, ?> e = (Entry<?, ?>) o;return Objects.equal(e.getKey(), key)&& Objects.equal(e.getValue(), value);}
public sealed override bool Equals(object o){if (!(o is java.util.MapClass.Entry<K, V>)){return false;}java.util.MapClass.Entry<object, object> e = (java.util.MapClass.Entry<object, object>)o;return libcore.util.Objects.equal(e.getKey(), key) && libcore.util.Objects.equal(e.getValue(), value);}
6,689
public ObjectId getOldObjectId() {return oldValue;}
public virtual ObjectId GetOldObjectId(){return oldValue;}
6,690
public AuthorizeIpRulesResult authorizeIpRules(AuthorizeIpRulesRequest request) {request = beforeClientExecution(request);return executeAuthorizeIpRules(request);}
public virtual AuthorizeIpRulesResponse AuthorizeIpRules(AuthorizeIpRulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = AuthorizeIpRulesRequestMarshaller.Instance;options.ResponseUnmarshaller = AuthorizeIpRulesResponseUnmarshaller.Instance;return Invoke<AuthorizeIpRulesResponse>(request, options);}
6,691
public GetPrivateAccessUrlsRequest() {super("CloudPhoto", "2017-07-11", "GetPrivateAccessUrls", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
public GetPrivateAccessUrlsRequest(): base("CloudPhoto", "2017-07-11", "GetPrivateAccessUrls", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
6,692
public boolean remove(Object o) {int oldSize = size;HashMap.this.remove(o);return size != oldSize;}
public override bool remove(object o){lock (this._enclosing){int oldSize = this._enclosing._size;this._enclosing.remove(o);return this._enclosing._size != oldSize;}}
6,693
@Override public int size() {return filteredEntrySet.size();}
public override int size(){return this._enclosing._size;}
6,694
public PutConfigurationSetTrackingOptionsResult putConfigurationSetTrackingOptions(PutConfigurationSetTrackingOptionsRequest request) {request = beforeClientExecution(request);return executePutConfigurationSetTrackingOptions(request);}
public virtual PutConfigurationSetTrackingOptionsResponse PutConfigurationSetTrackingOptions(PutConfigurationSetTrackingOptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutConfigurationSetTrackingOptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = PutConfigurationSetTrackingOptionsResponseUnmarshaller.Instance;return Invoke<PutConfigurationSetTrackingOptionsResponse>(request, options);}
6,695
public static final ObjectId fromString(byte[] buf, int offset) {return fromHexString(buf, offset);}
public static NGit.ObjectId FromString(byte[] buf, int offset){return FromHexString(buf, offset);}
6,696
public GetRelationalDatabaseResult getRelationalDatabase(GetRelationalDatabaseRequest request) {request = beforeClientExecution(request);return executeGetRelationalDatabase(request);}
public virtual GetRelationalDatabaseResponse GetRelationalDatabase(GetRelationalDatabaseRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRelationalDatabaseRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRelationalDatabaseResponseUnmarshaller.Instance;return Invoke<GetRelationalDatabaseResponse>(request, options);}
6,697
public JschSession(Session session, URIish uri) {sock = session;this.uri = uri;}
public JschSession(Session session, URIish uri){sock = session;this.uri = uri;}
6,698
public SetCognitoEventsResult setCognitoEvents(SetCognitoEventsRequest request) {request = beforeClientExecution(request);return executeSetCognitoEvents(request);}
public virtual SetCognitoEventsResponse SetCognitoEvents(SetCognitoEventsRequest request){var options = new InvokeOptions();options.RequestMarshaller = SetCognitoEventsRequestMarshaller.Instance;options.ResponseUnmarshaller = SetCognitoEventsResponseUnmarshaller.Instance;return Invoke<SetCognitoEventsResponse>(request, options);}
6,699
public BatchDetectEntitiesResult batchDetectEntities(BatchDetectEntitiesRequest request) {request = beforeClientExecution(request);return executeBatchDetectEntities(request);}
public virtual BatchDetectEntitiesResponse BatchDetectEntities(BatchDetectEntitiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchDetectEntitiesRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchDetectEntitiesResponseUnmarshaller.Instance;return Invoke<BatchDetectEntitiesResponse>(request, options);}