question stringlengths 33 1.59k | target stringlengths 33 1.58k |
|---|---|
public ModifyInstancePlacementResult modifyInstancePlacement ( ModifyInstancePlacementRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyInstancePlacement ( request ) ; } | public virtual ModifyInstancePlacementResponse ModifyInstancePlacement ( ModifyInstancePlacementRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyInstancePlacementRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyInstancePlacementResponseUnmarshaller . Instance ; return Invoke < ModifyInstancePlacementResponse > ( request , options ) ; } |
public static String replaceOccupiedParameters ( String url , Map < String , String > paths ) { String result = url ; for ( Map . Entry < String , String > entry : paths . entrySet ( ) ) { String key = entry . getKey ( ) ; String value = entry . getValue ( ) ; String target = "[" + key + "]" ; result = result . replace ( target , value ) ; } return result ; } | public static string ReplaceOccupiedParameters ( string url , Dictionary < string , string > paths ) { var result = url ; foreach ( var entry in paths ) { var key = entry . Key ; var value = entry . Value ; var target = "[" + key + "]" ; result = result . Replace ( target , value ) ; } return result ; } |
public String toString ( ) { return "<matchAllDocs field='*' term='*'/>" ; } | public override string ToString ( ) { return "<matchAllDocs field='*' term='*'/>" ; } |
public DeleteMetricFilterRequest ( String logGroupName , String filterName ) { setLogGroupName ( logGroupName ) ; setFilterName ( filterName ) ; } | public DeleteMetricFilterRequest ( string logGroupName , string filterName ) { _logGroupName = logGroupName ; _filterName = filterName ; } |
public char readChar ( ) throws IOException { return primitiveTypes . readChar ( ) ; } | public virtual char readChar ( ) { throw new System . NotImplementedException ( ) ; } |
public DescribeInstanceStatusResult describeInstanceStatus ( DescribeInstanceStatusRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeInstanceStatus ( request ) ; } | public virtual DescribeInstanceStatusResponse DescribeInstanceStatus ( DescribeInstanceStatusRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeInstanceStatusRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeInstanceStatusResponseUnmarshaller . Instance ; return Invoke < DescribeInstanceStatusResponse > ( request , options ) ; } |
public BatchDeleteAttributesResult batchDeleteAttributes ( BatchDeleteAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executeBatchDeleteAttributes ( request ) ; } | public virtual BatchDeleteAttributesResponse BatchDeleteAttributes ( BatchDeleteAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = BatchDeleteAttributesRequestMarshaller . Instance ; options . ResponseUnmarshaller = BatchDeleteAttributesResponseUnmarshaller . Instance ; return Invoke < BatchDeleteAttributesResponse > ( request , options ) ; } |
public String toString ( ) { return "<fieldconfig name=\"" + this . fieldName + "\" configurations=\"" + super . toString ( ) + "\"/>" ; } | public override string ToString ( ) { return "<fieldconfig name=\"" + this . fieldName + "\" configurations=\"" + base . ToString ( ) + "\"/>" ; } |
public ListDeploymentGroupsResult listDeploymentGroups ( ListDeploymentGroupsRequest request ) { request = beforeClientExecution ( request ) ; return executeListDeploymentGroups ( request ) ; } | public virtual ListDeploymentGroupsResponse ListDeploymentGroups ( ListDeploymentGroupsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListDeploymentGroupsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListDeploymentGroupsResponseUnmarshaller . Instance ; return Invoke < ListDeploymentGroupsResponse > ( request , options ) ; } |
public CellGeneralFormatter ( ) { this ( LocaleUtil . getUserLocale ( ) ) ; } | public CellGeneralFormatter ( ) : base ( "General" ) { ; } |
public BloomFilteredTerms ( Terms terms , FuzzySet filter ) { this . delegateTerms = terms ; this . filter = filter ; } | public BloomFilteredTerms ( Terms terms , FuzzySet filter ) { _delegateTerms = terms ; _filter = filter ; } |
public int numBits ( int idx ) { return bytes [ idx ] . bits ; } | public virtual int NumBits ( int idx ) { return bytes [ idx ] . Bits ; } |
public boolean equals ( Object obj ) { if ( obj == this ) { return true ; } else if ( ! ( obj instanceof LexerChannelAction ) ) { return false ; } return channel == ( ( LexerChannelAction ) obj ) . channel ; } | public override bool Equals ( object obj ) { if ( obj == this ) { return true ; } else { if ( ! ( obj is Antlr4 . Runtime . Atn . LexerChannelAction ) ) { return false ; } } return channel == ( ( Antlr4 . Runtime . Atn . LexerChannelAction ) obj ) . channel ; } |
public void write ( LittleEndianOutput out ) { out . writeByte ( sid + getPtgClass ( ) ) ; out . writeShort ( getValue ( ) ) ; } | public override void Write ( ILittleEndianOutput out1 ) { out1 . WriteByte ( sid + PtgClass ) ; out1 . WriteShort ( Value ) ; } |
public ExecuteChangeSetResult executeChangeSet ( ExecuteChangeSetRequest request ) { request = beforeClientExecution ( request ) ; return executeExecuteChangeSet ( request ) ; } | public virtual ExecuteChangeSetResponse ExecuteChangeSet ( ExecuteChangeSetRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ExecuteChangeSetRequestMarshaller . Instance ; options . ResponseUnmarshaller = ExecuteChangeSetResponseUnmarshaller . Instance ; return Invoke < ExecuteChangeSetResponse > ( request , options ) ; } |
public StartInstanceResult startInstance ( StartInstanceRequest request ) { request = beforeClientExecution ( request ) ; return executeStartInstance ( request ) ; } | public virtual StartInstanceResponse StartInstance ( StartInstanceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartInstanceRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartInstanceResponseUnmarshaller . Instance ; return Invoke < StartInstanceResponse > ( request , options ) ; } |
public CapitalizationFilterFactory ( Map < String , String > args ) { super ( args ) ; boolean ignoreCase = getBoolean ( args , KEEP_IGNORE_CASE , false ) ; Set < String > k = getSet ( args , KEEP ) ; if ( k != null ) { keep = new CharArraySet ( 10 , ignoreCase ) ; keep . addAll ( k ) ; } k = getSet ( args , OK_PREFIX ) ; if ( k != null ) { okPrefix = new ArrayList < > ( ) ; for ( String item : k ) { okPrefix . add ( item . toCharArray ( ) ) ; } } minWordLength = getInt ( args , MIN_WORD_LENGTH , 0 ) ; maxWordCount = getInt ( args , MAX_WORD_COUNT , CapitalizationFilter . DEFAULT_MAX_WORD_COUNT ) ; maxTokenLength = getInt ( args , MAX_TOKEN_LENGTH , CapitalizationFilter . DEFAULT_MAX_TOKEN_LENGTH ) ; onlyFirstWord = getBoolean ( args , ONLY_FIRST_WORD , true ) ; forceFirstLetter = getBoolean ( args , FORCE_FIRST_LETTER , true ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } } | public CapitalizationFilterFactory ( IDictionary < string , string > args ) : base ( args ) { AssureMatchVersion ( ) ; bool ignoreCase = GetBoolean ( args , KEEP_IGNORE_CASE , false ) ; ICollection < string > k = GetSet ( args , KEEP ) ; if ( k != null ) { keep = new CharArraySet ( m_luceneMatchVersion , 10 , ignoreCase ) ; keep . UnionWith ( k ) ; } k = GetSet ( args , OK_PREFIX ) ; if ( k != null ) { okPrefix = new List < char [ ] > ( ) ; foreach ( string item in k ) { okPrefix . Add ( item . ToCharArray ( ) ) ; } } minWordLength = GetInt32 ( args , MIN_WORD_LENGTH , 0 ) ; maxWordCount = GetInt32 ( args , MAX_WORD_COUNT , CapitalizationFilter . DEFAULT_MAX_WORD_COUNT ) ; maxTokenLength = GetInt32 ( args , MAX_TOKEN_LENGTH , CapitalizationFilter . DEFAULT_MAX_TOKEN_LENGTH ) ; onlyFirstWord = GetBoolean ( args , ONLY_FIRST_WORD , true ) ; forceFirstLetter = GetBoolean ( args , FORCE_FIRST_LETTER , true ) ; culture = GetCulture ( args , CULTURE , null ) ; if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } } |
public static long [ ] copyOf ( long [ ] original , int newLength ) { if ( newLength < 0 ) { throw new NegativeArraySizeException ( ) ; } return copyOfRange ( original , 0 , newLength ) ; } | public static long [ ] copyOf ( long [ ] original , int newLength ) { if ( newLength < 0 ) { throw new java . lang . NegativeArraySizeException ( ) ; } return copyOfRange ( original , 0 , newLength ) ; } |
public String toString ( ) { return ref . toString ( ) ; } | public override string ToString ( ) { return this . @ ref . ToString ( ) ; } |
public ListNetworksResult listNetworks ( ListNetworksRequest request ) { request = beforeClientExecution ( request ) ; return executeListNetworks ( request ) ; } | public virtual ListNetworksResponse ListNetworks ( ListNetworksRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListNetworksRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListNetworksResponseUnmarshaller . Instance ; return Invoke < ListNetworksResponse > ( request , options ) ; } |
public ValueEval evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval arg0 ) { ValueEval arg = arg0 ; if ( arg instanceof RefEval ) { RefEval re = ( RefEval ) arg ; arg = re . getInnerValueEval ( re . getFirstSheetIndex ( ) ) ; } else if ( arg instanceof AreaEval ) { arg = ( ( AreaEval ) arg ) . getRelativeValue ( 0 , 0 ) ; } if ( arg instanceof StringEval ) { return arg ; } if ( arg instanceof ErrorEval ) { return arg ; } return StringEval . EMPTY_INSTANCE ; } | public override ValueEval Evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval arg0 ) { ValueEval arg = arg0 ; if ( arg is RefEval ) { RefEval re = ( RefEval ) arg ; arg = re . GetInnerValueEval ( re . FirstSheetIndex ) ; } else if ( arg is AreaEval ) { arg = ( ( AreaEval ) arg ) . GetRelativeValue ( 0 , 0 ) ; } if ( arg is StringEval ) { return arg ; } if ( arg is ErrorEval ) { return arg ; } return StringEval . EMPTY_INSTANCE ; } |
public StopNotebookInstanceResult stopNotebookInstance ( StopNotebookInstanceRequest request ) { request = beforeClientExecution ( request ) ; return executeStopNotebookInstance ( request ) ; } | public virtual StopNotebookInstanceResponse StopNotebookInstance ( StopNotebookInstanceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StopNotebookInstanceRequestMarshaller . Instance ; options . ResponseUnmarshaller = StopNotebookInstanceResponseUnmarshaller . Instance ; return Invoke < StopNotebookInstanceResponse > ( request , options ) ; } |
public void applyFont ( int startIndex , int endIndex , short fontIndex ) { if ( startIndex > endIndex ) throw new IllegalArgumentException ( "Start index must be less than end index." ) ; if ( startIndex < 0 || endIndex > length ( ) ) throw new IllegalArgumentException ( "Start and end index not in range." ) ; if ( startIndex == endIndex ) return ; short currentFont = NO_FONT ; if ( endIndex != length ( ) ) { currentFont = this . getFontAtIndex ( endIndex ) ; } _string = cloneStringIfRequired ( ) ; Iterator < FormatRun > formatting = _string . formatIterator ( ) ; if ( formatting != null ) { while ( formatting . hasNext ( ) ) { FormatRun r = formatting . next ( ) ; if ( ( r . getCharacterPos ( ) >= startIndex ) && ( r . getCharacterPos ( ) < endIndex ) ) formatting . remove ( ) ; } } _string . addFormatRun ( new FormatRun ( ( short ) startIndex , fontIndex ) ) ; if ( endIndex != length ( ) ) _string . addFormatRun ( new FormatRun ( ( short ) endIndex , currentFont ) ) ; addToSSTIfRequired ( ) ; } | public void ApplyFont ( int startIndex , int endIndex , short fontIndex ) { if ( startIndex > endIndex ) throw new ArgumentException ( "Start index must be less than end index." ) ; if ( startIndex < 0 || endIndex > Length ) throw new ArgumentException ( "Start and end index not in range." ) ; if ( startIndex == endIndex ) return ; short currentFont = NO_FONT ; if ( endIndex != Length ) { currentFont = this . GetFontAtIndex ( endIndex ) ; } _string = CloneStringIfRequired ( ) ; System . Collections . Generic . List < UnicodeString . FormatRun > formatting = _string . FormatIterator ( ) ; ArrayList deletedFR = new ArrayList ( ) ; if ( formatting != null ) { IEnumerator < UnicodeString . FormatRun > formats = formatting . GetEnumerator ( ) ; while ( formats . MoveNext ( ) ) { UnicodeString . FormatRun r = formats . Current ; if ( ( r . CharacterPos >= startIndex ) && ( r . CharacterPos < endIndex ) ) { deletedFR . Add ( r ) ; } } } foreach ( UnicodeString . FormatRun fr in deletedFR ) { _string . RemoveFormatRun ( fr ) ; } _string . AddFormatRun ( new UnicodeString . FormatRun ( ( short ) startIndex , fontIndex ) ) ; if ( endIndex != Length ) _string . AddFormatRun ( new UnicodeString . FormatRun ( ( short ) endIndex , currentFont ) ) ; AddToSSTIfRequired ( ) ; } |
public int readInt ( ) throws IOException { return primitiveTypes . readInt ( ) ; } | public virtual int readInt ( ) { throw new System . NotImplementedException ( ) ; } |
public Iterable < RevCommit > call ( ) throws GitAPIException , NoHeadException { checkCallable ( ) ; List < TreeFilter > filters = new ArrayList < > ( ) ; if ( ! pathFilters . isEmpty ( ) ) { filters . add ( AndTreeFilter . create ( PathFilterGroup . create ( pathFilters ) , TreeFilter . ANY_DIFF ) ) ; } if ( ! excludeTreeFilters . isEmpty ( ) ) { for ( TreeFilter f : excludeTreeFilters ) { filters . add ( AndTreeFilter . create ( f , TreeFilter . ANY_DIFF ) ) ; } } if ( ! filters . isEmpty ( ) ) { if ( filters . size ( ) == 1 ) { filters . add ( TreeFilter . ANY_DIFF ) ; } walk . setTreeFilter ( AndTreeFilter . create ( filters ) ) ; } if ( skip > - 1 && maxCount > - 1 ) walk . setRevFilter ( AndRevFilter . create ( SkipRevFilter . create ( skip ) , MaxCountRevFilter . create ( maxCount ) ) ) ; else if ( skip > - 1 ) walk . setRevFilter ( SkipRevFilter . create ( skip ) ) ; else if ( maxCount > - 1 ) walk . setRevFilter ( MaxCountRevFilter . create ( maxCount ) ) ; if ( ! startSpecified ) { try { ObjectId headId = repo . resolve ( Constants . HEAD ) ; if ( headId == null ) throw new NoHeadException ( JGitText . get ( ) . noHEADExistsAndNoExplicitStartingRevisionWasSpecified ) ; add ( headId ) ; } catch ( IOException e ) { throw new JGitInternalException ( JGitText . get ( ) . anExceptionOccurredWhileTryingToAddTheIdOfHEAD , e ) ; } } if ( this . revFilter != null ) { walk . setRevFilter ( this . revFilter ) ; } setCallable ( false ) ; return walk ; } | public override Iterable < RevCommit > Call ( ) { CheckCallable ( ) ; if ( pathFilters . Count > 0 ) { walk . SetTreeFilter ( AndTreeFilter . Create ( PathFilterGroup . Create ( pathFilters ) , TreeFilter . ANY_DIFF ) ) ; } if ( skip > - 1 && maxCount > - 1 ) { walk . SetRevFilter ( AndRevFilter . Create ( SkipRevFilter . Create ( skip ) , MaxCountRevFilter . Create ( maxCount ) ) ) ; } else { if ( skip > - 1 ) { walk . SetRevFilter ( SkipRevFilter . Create ( skip ) ) ; } else { if ( maxCount > - 1 ) { walk . SetRevFilter ( MaxCountRevFilter . Create ( maxCount ) ) ; } } } if ( ! startSpecified ) { try { ObjectId headId = repo . Resolve ( Constants . HEAD ) ; if ( headId == null ) { throw new NoHeadException ( JGitText . Get ( ) . noHEADExistsAndNoExplicitStartingRevisionWasSpecified ) ; } Add ( headId ) ; } catch ( IOException e ) { throw new JGitInternalException ( JGitText . Get ( ) . anExceptionOccurredWhileTryingToAddTheIdOfHEAD , e ) ; } } SetCallable ( false ) ; return walk ; } |
public HyphenationCompoundWordTokenFilterFactory ( Map < String , String > args ) { super ( args ) ; dictFile = get ( args , "dictionary" ) ; encoding = get ( args , "encoding" ) ; hypFile = require ( args , "hyphenator" ) ; minWordSize = getInt ( args , "minWordSize" , CompoundWordTokenFilterBase . DEFAULT_MIN_WORD_SIZE ) ; minSubwordSize = getInt ( args , "minSubwordSize" , CompoundWordTokenFilterBase . DEFAULT_MIN_SUBWORD_SIZE ) ; maxSubwordSize = getInt ( args , "maxSubwordSize" , CompoundWordTokenFilterBase . DEFAULT_MAX_SUBWORD_SIZE ) ; onlyLongestMatch = getBoolean ( args , "onlyLongestMatch" , false ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } } | public HyphenationCompoundWordTokenFilterFactory ( IDictionary < string , string > args ) : base ( args ) { AssureMatchVersion ( ) ; dictFile = Get ( args , "dictionary" ) ; encoding = Get ( args , "encoding" ) ; hypFile = Require ( args , "hyphenator" ) ; minWordSize = GetInt32 ( args , "minWordSize" , CompoundWordTokenFilterBase . DEFAULT_MIN_WORD_SIZE ) ; minSubwordSize = GetInt32 ( args , "minSubwordSize" , CompoundWordTokenFilterBase . DEFAULT_MIN_SUBWORD_SIZE ) ; maxSubwordSize = GetInt32 ( args , "maxSubwordSize" , CompoundWordTokenFilterBase . DEFAULT_MAX_SUBWORD_SIZE ) ; onlyLongestMatch = GetBoolean ( args , "onlyLongestMatch" , false ) ; if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } } |
public DeleteTerminologyResult deleteTerminology ( DeleteTerminologyRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteTerminology ( request ) ; } | public virtual DeleteTerminologyResponse DeleteTerminology ( DeleteTerminologyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteTerminologyRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteTerminologyResponseUnmarshaller . Instance ; return Invoke < DeleteTerminologyResponse > ( request , options ) ; } |
public boolean remove ( Object o ) { if ( ! ( o instanceof Entry ) ) return false ; Entry < ? , ? > e = ( Entry < ? , ? > ) o ; return removeMapping ( e . getKey ( ) , e . getValue ( ) ) ; } | public override bool remove ( 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 this . _enclosing . removeMapping ( e . getKey ( ) , e . getValue ( ) ) ; } |
public GetObjectAttributesResult getObjectAttributes ( GetObjectAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executeGetObjectAttributes ( request ) ; } | public virtual GetObjectAttributesResponse GetObjectAttributes ( GetObjectAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetObjectAttributesRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetObjectAttributesResponseUnmarshaller . Instance ; return Invoke < GetObjectAttributesResponse > ( request , options ) ; } |
public RevWalk getRevWalk ( ) { throw new UnsupportedOperationException ( MessageFormat . format ( JGitText . get ( ) . isAStaticFlagAndHasNorevWalkInstance , toString ( ) ) ) ; } | public override RevWalk GetRevWalk ( ) { throw new NotSupportedException ( MessageFormat . Format ( JGitText . Get ( ) . isAStaticFlagAndHasNorevWalkInstance , ToString ( ) ) ) ; } |
public DescribeKeyPairsResult describeKeyPairs ( DescribeKeyPairsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeKeyPairs ( request ) ; } | public virtual DescribeKeyPairsResponse DescribeKeyPairs ( DescribeKeyPairsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeKeyPairsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeKeyPairsResponseUnmarshaller . Instance ; return Invoke < DescribeKeyPairsResponse > ( request , options ) ; } |
public byte [ ] toByteArray ( ) { return build ( ) ; } | public virtual byte [ ] ToByteArray ( ) { return Build ( ) ; } |
public void setIndexVersion ( int version ) { indexVersion = version ; } | public virtual void SetIndexVersion ( int version ) { indexVersion = version ; } |
public IgnoreNode ( ) { rules = new ArrayList < > ( ) ; } | public IgnoreNode ( ) { rules = new AList < IgnoreRule > ( ) ; } |
public TreeFilter negate ( ) { return NotTreeFilter . create ( this ) ; } | public virtual TreeFilter Negate ( ) { return NotTreeFilter . Create ( this ) ; } |
public long ramBytesUsed ( ) { return docs . ramBytesUsed ( ) + RamUsageEstimator . NUM_BYTES_OBJECT_HEADER + 2 * Integer . BYTES + 2 + Long . BYTES + RamUsageEstimator . NUM_BYTES_OBJECT_REF ; } | public long RamBytesUsed ( ) { return RamUsageEstimator . AlignObjectSize ( 3 * RamUsageEstimator . NUM_BYTES_OBJECT_REF + 2 * RamUsageEstimator . NUM_BYTES_INT32 ) + RamUsageEstimator . SizeOf ( data ) + positions . RamBytesUsed ( ) + wordNums . RamBytesUsed ( ) ; } |
public String toString ( ) { return exists ( ) ? toObject ( ) . toString ( ) : "(null)" ; } | public override string ToString ( ) { return Exists ? ToObject ( ) . ToString ( ) : "(null)" ; } |
public int available ( ) throws IOException { checkReadPrimitiveTypes ( ) ; return primitiveData . available ( ) ; } | public override int available ( ) { throw new System . NotImplementedException ( ) ; } |
public UnicodeMapping ( String pEntityName , String pResolvedValue ) { entityName = "&" + pEntityName + ";" ; resolvedValue = pResolvedValue ; } | public UnicodeMapping ( String pEntityName , String pResolvedValue ) { entityName = "&" + pEntityName + ";" ; resolvedValue = pResolvedValue ; } |
public final void removeBreak ( int main ) { Integer rowKey = Integer . valueOf ( main ) ; Break region = _breakMap . get ( rowKey ) ; _breaks . remove ( region ) ; _breakMap . remove ( rowKey ) ; } | public void RemoveBreak ( int main ) { int rowKey = main ; Break region = ( Break ) _breakMap [ rowKey ] ; _breaks . Remove ( region ) ; _breakMap . Remove ( rowKey ) ; } |
public void sort ( int from , int to ) { checkRange ( from , to ) ; if ( to - from <= 1 ) { return ; } reset ( from , to ) ; do { ensureInvariants ( ) ; pushRunLen ( nextRun ( ) ) ; } while ( runEnd ( 0 ) < to ) ; exhaustStack ( ) ; assert runEnd ( 0 ) == to ; } | public override void Sort ( int from , int to ) { CheckRange ( from , to ) ; if ( to - from <= 1 ) { return ; } Reset ( from , to ) ; do { EnsureInvariants ( ) ; PushRunLen ( NextRun ( ) ) ; } while ( RunEnd ( 0 ) < to ) ; ExhaustStack ( ) ; Debug . Assert ( RunEnd ( 0 ) == to ) ; } |
public File getDirectory ( ) { return directory ; } | public virtual FilePath GetDirectory ( ) { return directory ; } |
public PositionTrackingVisitor ( RecordVisitor rv , int initialPosition ) { _rv = rv ; _position = initialPosition ; } | public PositionTrackingVisitor ( RecordVisitor rv , int initialPosition ) { _rv = rv ; _position = initialPosition ; } |
public T top ( ) { return top ; } | public T Top ( ) { return top ; } |
public String toString ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( getClass ( ) . getName ( ) ) ; sb . append ( " [" ) ; if ( externalWorkbookNumber >= 0 ) { sb . append ( " [" ) ; sb . append ( "workbook=" ) . append ( getExternalWorkbookNumber ( ) ) ; sb . append ( "] " ) ; } sb . append ( "sheet=" ) . append ( getSheetName ( ) ) ; if ( lastSheetName != null ) { sb . append ( " : " ) ; sb . append ( "sheet=" ) . append ( lastSheetName ) ; } sb . append ( " ! " ) ; sb . append ( formatReferenceAsString ( ) ) ; sb . append ( "]" ) ; return sb . toString ( ) ; } | public override String ToString ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . Append ( this . GetType ( ) . Name ) ; sb . Append ( " [" ) ; if ( externalWorkbookNumber >= 0 ) { sb . Append ( " [" ) ; sb . Append ( "workbook=" ) . Append ( ExternalWorkbookNumber ) ; sb . Append ( "] " ) ; } sb . Append ( "sheet=" ) . Append ( SheetName ) ; if ( lastSheetName != null ) { sb . Append ( " : " ) ; sb . Append ( "sheet=" ) . Append ( lastSheetName ) ; } sb . Append ( " ! " ) ; sb . Append ( FormatReferenceAsString ( ) ) ; sb . Append ( "]" ) ; return sb . ToString ( ) ; } |
public SubmoduleSyncCommand addPath ( String path ) { paths . add ( path ) ; return this ; } | public virtual NGit . Api . SubmoduleSyncCommand AddPath ( string path ) { paths . AddItem ( path ) ; return this ; } |
@ Override public int size ( ) { return map . size ( ) ; } | public override int size ( ) { return this . _enclosing . _size ; } |
public DeleteNamespaceRequest ( ) { super ( "cr" , "2016-06-07" , "DeleteNamespace" , "cr" ) ; setUriPattern ( "/namespace/[Namespace]" ) ; setMethod ( MethodType . DELETE ) ; } | public DeleteNamespaceRequest ( ) : base ( "cr" , "2016-06-07" , "DeleteNamespace" , "cr" , "openAPI" ) { UriPattern = "/namespace/[Namespace]" ; Method = MethodType . DELETE ; } |
public GeoRestriction ( GeoRestrictionType restrictionType ) { setRestrictionType ( restrictionType . toString ( ) ) ; } | public GeoRestriction ( GeoRestrictionType restrictionType ) { _restrictionType = restrictionType ; } |
public RecognizeEntityRequest ( ) { super ( "visionai-poc" , "2020-04-08" , "RecognizeEntity" ) ; setMethod ( MethodType . POST ) ; } | public RecognizeEntityRequest ( ) : base ( "visionai-poc" , "2020-04-08" , "RecognizeEntity" ) { Method = MethodType . POST ; } |
public final int compareTo ( byte [ ] bs , int p ) { int cmp ; cmp = NB . compareUInt32 ( w1 , NB . decodeInt32 ( bs , p ) ) ; if ( cmp != 0 ) return cmp ; cmp = NB . compareUInt32 ( w2 , NB . decodeInt32 ( bs , p + 4 ) ) ; if ( cmp != 0 ) return cmp ; cmp = NB . compareUInt32 ( w3 , NB . decodeInt32 ( bs , p + 8 ) ) ; if ( cmp != 0 ) return cmp ; cmp = NB . compareUInt32 ( w4 , NB . decodeInt32 ( bs , p + 12 ) ) ; if ( cmp != 0 ) return cmp ; return NB . compareUInt32 ( w5 , NB . decodeInt32 ( bs , p + 16 ) ) ; } | public int CompareTo ( byte [ ] bs , int p ) { int cmp ; cmp = NB . CompareUInt32 ( w1 , NB . DecodeInt32 ( bs , p ) ) ; if ( cmp != 0 ) { return cmp ; } cmp = NB . CompareUInt32 ( w2 , NB . DecodeInt32 ( bs , p + 4 ) ) ; if ( cmp != 0 ) { return cmp ; } cmp = NB . CompareUInt32 ( w3 , NB . DecodeInt32 ( bs , p + 8 ) ) ; if ( cmp != 0 ) { return cmp ; } cmp = NB . CompareUInt32 ( w4 , NB . DecodeInt32 ( bs , p + 12 ) ) ; if ( cmp != 0 ) { return cmp ; } return NB . CompareUInt32 ( w5 , NB . DecodeInt32 ( bs , p + 16 ) ) ; } |
public SendMessageRequest ( ) { super ( "OnsMqtt" , "2019-12-11" , "SendMessage" , "onsmqtt" ) ; setMethod ( MethodType . POST ) ; } | public SendMessageRequest ( ) : base ( "OnsMqtt" , "2019-12-11" , "SendMessage" , "onsmqtt" , "openAPI" ) { Method = MethodType . POST ; } |
public SelectRequest ( String selectExpression ) { setSelectExpression ( selectExpression ) ; } | public SelectRequest ( string selectExpression ) { _selectExpression = selectExpression ; } |
public TopMarginRecord clone ( ) { return copy ( ) ; } | public override Object Clone ( ) { TopMarginRecord rec = new TopMarginRecord ( ) ; rec . field_1_margin = this . field_1_margin ; return rec ; } |
public GetStaticIpsResult getStaticIps ( GetStaticIpsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetStaticIps ( request ) ; } | public virtual GetStaticIpsResponse GetStaticIps ( GetStaticIpsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetStaticIpsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetStaticIpsResponseUnmarshaller . Instance ; return Invoke < GetStaticIpsResponse > ( request , options ) ; } |
public String toString ( ) { final StringBuilder b = new StringBuilder ( ) ; final int sectionCount = getSectionCount ( ) ; b . append ( getClass ( ) . getName ( ) ) ; b . append ( '[' ) ; b . append ( "byteOrder: " ) ; b . append ( getByteOrder ( ) ) ; b . append ( ", classID: " ) ; b . append ( getClassID ( ) ) ; b . append ( ", format: " ) ; b . append ( getFormat ( ) ) ; b . append ( ", OSVersion: " ) ; b . append ( getOSVersion ( ) ) ; b . append ( ", sectionCount: " ) ; b . append ( sectionCount ) ; b . append ( ", sections: [\n" ) ; for ( Section section : getSections ( ) ) { b . append ( section . toString ( getPropertySetIDMap ( ) ) ) ; } b . append ( ']' ) ; b . append ( ']' ) ; return b . toString ( ) ; } | public override String ToString ( ) { StringBuilder b = new StringBuilder ( ) ; int sectionCount = SectionCount ; b . Append ( GetType ( ) . Name ) ; b . Append ( '[' ) ; b . Append ( "byteOrder: " ) ; b . Append ( ByteOrder ) ; b . Append ( ", classID: " ) ; b . Append ( ClassID ) ; b . Append ( ", format: " ) ; b . Append ( Format ) ; b . Append ( ", OSVersion: " ) ; b . Append ( OSVersion ) ; b . Append ( ", sectionCount: " ) ; b . Append ( sectionCount ) ; b . Append ( ", sections: [\n" ) ; foreach ( Section section in Sections ) { b . Append ( section . ToString ( ) ) ; } b . Append ( ']' ) ; b . Append ( ']' ) ; return b . ToString ( ) ; } |
public int stem ( char s [ ] , int len ) { if ( len < 4 ) return len ; final int origLen = len ; len = rule0 ( s , len ) ; len = rule1 ( s , len ) ; len = rule2 ( s , len ) ; len = rule3 ( s , len ) ; len = rule4 ( s , len ) ; len = rule5 ( s , len ) ; len = rule6 ( s , len ) ; len = rule7 ( s , len ) ; len = rule8 ( s , len ) ; len = rule9 ( s , len ) ; len = rule10 ( s , len ) ; len = rule11 ( s , len ) ; len = rule12 ( s , len ) ; len = rule13 ( s , len ) ; len = rule14 ( s , len ) ; len = rule15 ( s , len ) ; len = rule16 ( s , len ) ; len = rule17 ( s , len ) ; len = rule18 ( s , len ) ; len = rule19 ( s , len ) ; len = rule20 ( s , len ) ; if ( len == origLen ) len = rule21 ( s , len ) ; return rule22 ( s , len ) ; } | public virtual int Stem ( char [ ] s , int len ) { if ( len < 4 ) { return len ; } int origLen = len ; len = Rule0 ( s , len ) ; len = Rule1 ( s , len ) ; len = Rule2 ( s , len ) ; len = Rule3 ( s , len ) ; len = Rule4 ( s , len ) ; len = Rule5 ( s , len ) ; len = Rule6 ( s , len ) ; len = Rule7 ( s , len ) ; len = Rule8 ( s , len ) ; len = Rule9 ( s , len ) ; len = Rule10 ( s , len ) ; len = Rule11 ( s , len ) ; len = Rule12 ( s , len ) ; len = Rule13 ( s , len ) ; len = Rule14 ( s , len ) ; len = Rule15 ( s , len ) ; len = Rule16 ( s , len ) ; len = Rule17 ( s , len ) ; len = Rule18 ( s , len ) ; len = Rule19 ( s , len ) ; len = Rule20 ( s , len ) ; if ( len == origLen ) { len = Rule21 ( s , len ) ; } return Rule22 ( s , len ) ; } |
public CreateStreamingURLResult createStreamingURL ( CreateStreamingURLRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateStreamingURL ( request ) ; } | public virtual CreateStreamingURLResponse CreateStreamingURL ( CreateStreamingURLRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateStreamingURLRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateStreamingURLResponseUnmarshaller . Instance ; return Invoke < CreateStreamingURLResponse > ( request , options ) ; } |
public IBSimilarity ( Distribution distribution , Lambda lambda , Normalization normalization ) { this . distribution = distribution ; this . lambda = lambda ; this . normalization = normalization ; } | public IBSimilarity ( Distribution distribution , Lambda lambda , Normalization normalization ) { this . m_distribution = distribution ; this . m_lambda = lambda ; this . m_normalization = normalization ; } |
public GetBatchPredictionResult getBatchPrediction ( GetBatchPredictionRequest request ) { request = beforeClientExecution ( request ) ; return executeGetBatchPrediction ( request ) ; } | public virtual GetBatchPredictionResponse GetBatchPrediction ( GetBatchPredictionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetBatchPredictionRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetBatchPredictionResponseUnmarshaller . Instance ; return Invoke < GetBatchPredictionResponse > ( request , options ) ; } |
public StartInstancesResult startInstances ( StartInstancesRequest request ) { request = beforeClientExecution ( request ) ; return executeStartInstances ( request ) ; } | public virtual StartInstancesResponse StartInstances ( StartInstancesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartInstancesRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartInstancesResponseUnmarshaller . Instance ; return Invoke < StartInstancesResponse > ( request , options ) ; } |
public DescribeLoadBalancerAttributesResult describeLoadBalancerAttributes ( DescribeLoadBalancerAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeLoadBalancerAttributes ( request ) ; } | public virtual DescribeLoadBalancerAttributesResponse DescribeLoadBalancerAttributes ( DescribeLoadBalancerAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeLoadBalancerAttributesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeLoadBalancerAttributesResponseUnmarshaller . Instance ; return Invoke < DescribeLoadBalancerAttributesResponse > ( request , options ) ; } |
public Filter ( int type , long size , InputStream in ) { this . type = type ; this . size = size ; this . in = in ; } | public Filter ( int type , long size , InputStream @ in ) { this . type = type ; this . size = size ; this . @ in = @ in ; } |
public String getBaseForm ( ) { return dictionary . getBaseForm ( wordId , surfaceForm , offset , length ) ; } | public virtual string GetBaseForm ( ) { return dictionary . GetBaseForm ( wordId , surfaceForm , offset , length ) ; } |
public Query makeLuceneQueryNoBoost ( BasicQueryFactory qf ) { if ( fieldNames . size ( ) == 1 ) { return q . makeLuceneQueryFieldNoBoost ( fieldNames . get ( 0 ) , qf ) ; } else { List < SrndQuery > queries = new ArrayList < > ( ) ; Iterator < String > fni = getFieldNames ( ) . listIterator ( ) ; SrndQuery qc ; while ( fni . hasNext ( ) ) { qc = q . clone ( ) ; queries . add ( new FieldsQuery ( qc , fni . next ( ) , fieldOp ) ) ; } OrQuery oq = new OrQuery ( queries , true , OR_OPERATOR_NAME ) ; return oq . makeLuceneQueryField ( null , qf ) ; } } | public virtual Search . Query MakeLuceneQueryNoBoost ( BasicQueryFactory qf ) { if ( fieldNames . Count == 1 ) { return q . MakeLuceneQueryFieldNoBoost ( fieldNames . FirstOrDefault ( ) , qf ) ; } else { List < SrndQuery > queries = new List < SrndQuery > ( ) ; foreach ( var fieldName in fieldNames ) { var qc = ( SrndQuery ) q . Clone ( ) ; queries . Add ( new FieldsQuery ( qc , fieldName , fieldOp ) ) ; } OrQuery oq = new OrQuery ( queries , true , orOperatorName ) ; return oq . MakeLuceneQueryField ( null , qf ) ; } } |
public SetVisibleToAllUsersResult setVisibleToAllUsers ( SetVisibleToAllUsersRequest request ) { request = beforeClientExecution ( request ) ; return executeSetVisibleToAllUsers ( request ) ; } | public virtual SetVisibleToAllUsersResponse SetVisibleToAllUsers ( SetVisibleToAllUsersRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SetVisibleToAllUsersRequestMarshaller . Instance ; options . ResponseUnmarshaller = SetVisibleToAllUsersResponseUnmarshaller . Instance ; return Invoke < SetVisibleToAllUsersResponse > ( request , options ) ; } |
public GetBotResult getBot ( GetBotRequest request ) { request = beforeClientExecution ( request ) ; return executeGetBot ( request ) ; } | public virtual GetBotResponse GetBot ( GetBotRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetBotRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetBotResponseUnmarshaller . Instance ; return Invoke < GetBotResponse > ( request , options ) ; } |
public UpdateApnsSandboxChannelResult updateApnsSandboxChannel ( UpdateApnsSandboxChannelRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateApnsSandboxChannel ( request ) ; } | public virtual UpdateApnsSandboxChannelResponse UpdateApnsSandboxChannel ( UpdateApnsSandboxChannelRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateApnsSandboxChannelRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateApnsSandboxChannelResponseUnmarshaller . Instance ; return Invoke < UpdateApnsSandboxChannelResponse > ( request , options ) ; } |
public CreateRouteResult createRoute ( CreateRouteRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateRoute ( request ) ; } | public virtual CreateRouteResponse CreateRoute ( CreateRouteRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateRouteRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateRouteResponseUnmarshaller . Instance ; return Invoke < CreateRouteResponse > ( request , options ) ; } |
public FreeRefFunction findFunction ( String name ) { FreeRefFunction func = super . findFunction ( name ) ; if ( func != null ) { int idx = getFunctionIndex ( name ) ; _funcMap . put ( idx , name ) ; } return func ; } | public override FreeRefFunction FindFunction ( String name ) { FreeRefFunction func = base . FindFunction ( name ) ; if ( func != null ) { int idx = GetFunctionIndex ( name ) ; _funcMap [ idx ] = name ; } return func ; } |
public boolean atMinValue ( ) { return value == minValue ; } | public virtual bool AtMinValue ( ) { return value == minValue ; } |
public TerminateInstanceInAutoScalingGroupResult terminateInstanceInAutoScalingGroup ( TerminateInstanceInAutoScalingGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeTerminateInstanceInAutoScalingGroup ( request ) ; } | public virtual TerminateInstanceInAutoScalingGroupResponse TerminateInstanceInAutoScalingGroup ( TerminateInstanceInAutoScalingGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = TerminateInstanceInAutoScalingGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = TerminateInstanceInAutoScalingGroupResponseUnmarshaller . Instance ; return Invoke < TerminateInstanceInAutoScalingGroupResponse > ( request , options ) ; } |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[DVAL]\n" ) ; buffer . append ( " .options = " ) . append ( getOptions ( ) ) . append ( '\n' ) ; buffer . append ( " .horizPos = " ) . append ( getHorizontalPos ( ) ) . append ( '\n' ) ; buffer . append ( " .vertPos = " ) . append ( getVerticalPos ( ) ) . append ( '\n' ) ; buffer . append ( " .comboObjectID = " ) . append ( Integer . toHexString ( getObjectID ( ) ) ) . append ( "\n" ) ; buffer . append ( " .DVRecordsNumber = " ) . append ( Integer . toHexString ( getDVRecNo ( ) ) ) . append ( "\n" ) ; buffer . append ( "[/DVAL]\n" ) ; return buffer . toString ( ) ; } | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[DVAL]\n" ) ; buffer . Append ( " .options = " ) . Append ( this . Options ) . Append ( '\n' ) ; buffer . Append ( " .horizPos = " ) . Append ( this . HorizontalPos ) . Append ( '\n' ) ; buffer . Append ( " .vertPos = " ) . Append ( this . VerticalPos ) . Append ( '\n' ) ; buffer . Append ( " .comboObjectID = " ) . Append ( StringUtil . ToHexString ( this . ObjectID ) ) . Append ( "\n" ) ; buffer . Append ( " .DVRecordsNumber = " ) . Append ( StringUtil . ToHexString ( this . DVRecNo ) ) . Append ( "\n" ) ; buffer . Append ( "[/DVAL]\n" ) ; return buffer . ToString ( ) ; } |
public static Token newToken ( int ofKind , String image ) { switch ( ofKind ) { default : return new Token ( ofKind , image ) ; } } | public static Token NewToken ( int ofKind , string image ) { switch ( ofKind ) { default : return new Token ( ofKind , image ) ; } } |
public ATNConfig ( ATNState state , int alt , PredictionContext context , SemanticContext semanticContext ) { this . state = state ; this . alt = alt ; this . context = context ; this . semanticContext = semanticContext ; } | public ATNConfig ( ATNState state , int alt , PredictionContext context , SemanticContext semanticContext ) { this . state = state ; this . alt = alt ; this . context = context ; this . semanticContext = semanticContext ; } |
public DataValidationConstraint createFormulaListConstraint ( String listFormula ) { return DVConstraint . createFormulaListConstraint ( listFormula ) ; } | public IDataValidationConstraint CreateFormulaListConstraint ( String listFormula ) { return DVConstraint . CreateFormulaListConstraint ( listFormula ) ; } |
public GlobalReplicationGroup failoverGlobalReplicationGroup ( FailoverGlobalReplicationGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeFailoverGlobalReplicationGroup ( request ) ; } | public virtual FailoverGlobalReplicationGroupResponse FailoverGlobalReplicationGroup ( FailoverGlobalReplicationGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = FailoverGlobalReplicationGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = FailoverGlobalReplicationGroupResponseUnmarshaller . Instance ; return Invoke < FailoverGlobalReplicationGroupResponse > ( request , options ) ; } |
public BatchPutAttributesResult batchPutAttributes ( BatchPutAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executeBatchPutAttributes ( request ) ; } | public virtual BatchPutAttributesResponse BatchPutAttributes ( BatchPutAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = BatchPutAttributesRequestMarshaller . Instance ; options . ResponseUnmarshaller = BatchPutAttributesResponseUnmarshaller . Instance ; return Invoke < BatchPutAttributesResponse > ( request , options ) ; } |
public long get ( int index ) { final int o = index > > > 1 ; final int b = index & 1 ; final int shift = b << 5 ; return ( blocks [ o ] > > > shift ) & 4294967295L ; } | public override long Get ( int index ) { int o = ( int ) ( ( uint ) index > > 1 ) ; int b = index & 1 ; int shift = b << 5 ; return ( ( long ) ( ( ulong ) blocks [ o ] > > shift ) ) & 4294967295L ; } |
public int execute ( StringBuilder buf ) { return index ; } | public virtual int Execute ( StringBuilder buf ) { return index ; } |
public int remove ( Object key ) { boolean hashedOk ; int index , next , hash ; int result ; Object object ; index = next = findIndex ( key , keys ) ; if ( keys [ index ] != key ) { return - 1 ; } result = values [ index ] ; int length = keys . length ; while ( true ) { next = ( next + 2 ) % length ; object = keys [ next ] ; if ( object == null ) { break ; } hash = getModuloHash ( object , length ) ; hashedOk = hash > index ; if ( next < index ) { hashedOk = hashedOk || ( hash <= next ) ; } else { hashedOk = hashedOk && ( hash <= next ) ; } if ( ! hashedOk ) { keys [ index ] = object ; values [ index ] = values [ next ] ; index = next ; } } size -- ; keys [ index ] = null ; values [ index ] = - 1 ; return result ; } | public int remove ( object key ) { bool hashedOk ; int index ; int next ; int hash ; int result ; object @ object ; index = next = findIndex ( key , keys ) ; if ( keys [ index ] != key ) { return - 1 ; } result = values [ index ] ; int length = keys . Length ; while ( true ) { next = ( next + 2 ) % length ; @ object = keys [ next ] ; if ( @ object == null ) { break ; } hash = getModuloHash ( @ object , length ) ; hashedOk = hash > index ; if ( next < index ) { hashedOk = hashedOk || ( hash <= next ) ; } else { hashedOk = hashedOk && ( hash <= next ) ; } if ( ! hashedOk ) { keys [ index ] = @ object ; values [ index ] = values [ next ] ; index = next ; } } size -- ; keys [ index ] = null ; values [ index ] = - 1 ; return result ; } |
public synchronized void setMaxMergesAndThreads ( int maxMergeCount , int maxThreadCount ) { if ( maxMergeCount == AUTO_DETECT_MERGES_AND_THREADS && maxThreadCount == AUTO_DETECT_MERGES_AND_THREADS ) { this . maxMergeCount = AUTO_DETECT_MERGES_AND_THREADS ; this . maxThreadCount = AUTO_DETECT_MERGES_AND_THREADS ; } else if ( maxMergeCount == AUTO_DETECT_MERGES_AND_THREADS ) { throw new IllegalArgumentException ( "both maxMergeCount and maxThreadCount must be AUTO_DETECT_MERGES_AND_THREADS" ) ; } else if ( maxThreadCount == AUTO_DETECT_MERGES_AND_THREADS ) { throw new IllegalArgumentException ( "both maxMergeCount and maxThreadCount must be AUTO_DETECT_MERGES_AND_THREADS" ) ; } else { if ( maxThreadCount < 1 ) { throw new IllegalArgumentException ( "maxThreadCount should be at least 1" ) ; } if ( maxMergeCount < 1 ) { throw new IllegalArgumentException ( "maxMergeCount should be at least 1" ) ; } if ( maxThreadCount > maxMergeCount ) { throw new IllegalArgumentException ( "maxThreadCount should be <= maxMergeCount (= " + maxMergeCount + ")" ) ; } this . maxThreadCount = maxThreadCount ; this . maxMergeCount = maxMergeCount ; } } | public virtual void SetMaxMergesAndThreads ( int maxMergeCount , int maxThreadCount ) { if ( maxThreadCount < 1 ) { throw new System . ArgumentException ( "maxThreadCount should be at least 1" ) ; } if ( maxMergeCount < 1 ) { throw new System . ArgumentException ( "maxMergeCount should be at least 1" ) ; } if ( maxThreadCount > maxMergeCount ) { throw new System . ArgumentException ( "maxThreadCount should be <= maxMergeCount (= " + maxMergeCount + ")" ) ; } this . maxThreadCount = maxThreadCount ; this . maxMergeCount = maxMergeCount ; } |
public final DoubleBuffer put ( double [ ] src ) { return put ( src , 0 , src . length ) ; } | public java . nio . DoubleBuffer put ( double [ ] src ) { return put ( src , 0 , src . Length ) ; } |
public final Collection < Ref > getRefs ( ) { return advertisedRefs . values ( ) ; } | public ICollection < Ref > GetRefs ( ) { return advertisedRefs . Values ; } |
public DocFreqValueSource ( String field , String val , String indexedField , BytesRef indexedBytes ) { this . field = field ; this . val = val ; this . indexedField = indexedField ; this . indexedBytes = indexedBytes ; } | public DocFreqValueSource ( string field , string val , string indexedField , BytesRef indexedBytes ) { this . m_field = field ; this . m_val = val ; this . m_indexedField = indexedField ; this . m_indexedBytes = indexedBytes ; } |
public String getSegmentsFileName ( ) { return IndexFileNames . fileNameFromGeneration ( IndexFileNames . SEGMENTS , "" , lastGeneration ) ; } | public string GetSegmentsFileName ( ) { return IndexFileNames . FileNameFromGeneration ( IndexFileNames . SEGMENTS , "" , lastGeneration ) ; } |
public Listener ( String protocol , Integer loadBalancerPort , Integer instancePort ) { setProtocol ( protocol ) ; setLoadBalancerPort ( loadBalancerPort ) ; setInstancePort ( instancePort ) ; } | public Listener ( string protocol , int loadBalancerPort , int instancePort ) { _protocol = protocol ; _loadBalancerPort = loadBalancerPort ; _instancePort = instancePort ; } |
public GetCurrentUserResult getCurrentUser ( GetCurrentUserRequest request ) { request = beforeClientExecution ( request ) ; return executeGetCurrentUser ( request ) ; } | public virtual GetCurrentUserResponse GetCurrentUser ( GetCurrentUserRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetCurrentUserRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetCurrentUserResponseUnmarshaller . Instance ; return Invoke < GetCurrentUserResponse > ( request , options ) ; } |
public String toString ( ) { return "ObjectDirectory[" + getDirectory ( ) + "]" ; } | public override string ToString ( ) { return "ObjectDirectory[" + GetDirectory ( ) + "]" ; } |
public IllegalFormatWidthException ( int w ) { this . w = w ; } | public IllegalFormatWidthException ( int w ) { this . w = w ; } |
public String toToken ( ) { return this . token ; } | public virtual string ToToken ( ) { return this . token ; } |
public UpdatePhoneNumberResult updatePhoneNumber ( UpdatePhoneNumberRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdatePhoneNumber ( request ) ; } | public virtual UpdatePhoneNumberResponse UpdatePhoneNumber ( UpdatePhoneNumberRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdatePhoneNumberRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdatePhoneNumberResponseUnmarshaller . Instance ; return Invoke < UpdatePhoneNumberResponse > ( request , options ) ; } |
public final IndexableField getField ( String name ) { for ( IndexableField field : fields ) { if ( field . name ( ) . equals ( name ) ) { return field ; } } return null ; } | public IIndexableField GetField ( string name ) { foreach ( IIndexableField field in fields ) { if ( field . Name . Equals ( name , StringComparison . Ordinal ) ) { return field ; } } return null ; } |
public DisableDomainTransferLockResult disableDomainTransferLock ( DisableDomainTransferLockRequest request ) { request = beforeClientExecution ( request ) ; return executeDisableDomainTransferLock ( request ) ; } | public virtual DisableDomainTransferLockResponse DisableDomainTransferLock ( DisableDomainTransferLockRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DisableDomainTransferLockRequestMarshaller . Instance ; options . ResponseUnmarshaller = DisableDomainTransferLockResponseUnmarshaller . Instance ; return Invoke < DisableDomainTransferLockResponse > ( request , options ) ; } |
public PrintHeadersRecord clone ( ) { return copy ( ) ; } | public override Object Clone ( ) { PrintHeadersRecord rec = new PrintHeadersRecord ( ) ; rec . field_1_print_headers = field_1_print_headers ; return rec ; } |
public UpdateDataSourceResult updateDataSource ( UpdateDataSourceRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateDataSource ( request ) ; } | public virtual UpdateDataSourceResponse UpdateDataSource ( UpdateDataSourceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateDataSourceRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateDataSourceResponseUnmarshaller . Instance ; return Invoke < UpdateDataSourceResponse > ( request , options ) ; } |
public int popMode ( ) { if ( _modeStack . isEmpty ( ) ) throw new EmptyStackException ( ) ; if ( LexerATNSimulator . debug ) System . out . println ( "popMode back to " + _modeStack . peek ( ) ) ; mode ( _modeStack . pop ( ) ) ; return _mode ; } | public virtual int PopMode ( ) { if ( _modeStack . Count == 0 ) { throw new InvalidOperationException ( ) ; } int mode = _modeStack . Pop ( ) ; Mode ( mode ) ; return _mode ; } |
public ExternalSheet getExternalSheet ( int externSheetIndex ) { ExternalSheet sheet = _iBook . getExternalSheet ( externSheetIndex ) ; if ( sheet == null ) { int localSheetIndex = convertFromExternSheetIndex ( externSheetIndex ) ; if ( localSheetIndex == - 1 ) { return null ; } if ( localSheetIndex == - 2 ) { return null ; } String sheetName = getSheetName ( localSheetIndex ) ; int lastLocalSheetIndex = _iBook . getLastSheetIndexFromExternSheetIndex ( externSheetIndex ) ; if ( lastLocalSheetIndex == localSheetIndex ) { sheet = new ExternalSheet ( null , sheetName ) ; } else { String lastSheetName = getSheetName ( lastLocalSheetIndex ) ; sheet = new ExternalSheetRange ( null , sheetName , lastSheetName ) ; } } return sheet ; } | public ExternalSheet GetExternalSheet ( int externSheetIndex ) { ExternalSheet sheet = _iBook . GetExternalSheet ( externSheetIndex ) ; if ( sheet == null ) { int localSheetIndex = ConvertFromExternSheetIndex ( externSheetIndex ) ; if ( localSheetIndex == - 1 ) { return null ; } if ( localSheetIndex == - 2 ) { return null ; } String sheetName = GetSheetName ( localSheetIndex ) ; int lastLocalSheetIndex = _iBook . GetLastSheetIndexFromExternSheetIndex ( externSheetIndex ) ; if ( lastLocalSheetIndex == localSheetIndex ) { sheet = new ExternalSheet ( null , sheetName ) ; } else { String lastSheetName = GetSheetName ( lastLocalSheetIndex ) ; sheet = new ExternalSheetRange ( null , sheetName , lastSheetName ) ; } } return sheet ; } |
public static NoteMap newEmptyMap ( ) { NoteMap r = new NoteMap ( null ) ; r . root = new LeafBucket ( 0 ) ; return r ; } | public static NGit . Notes . NoteMap NewEmptyMap ( ) { NGit . Notes . NoteMap r = new NGit . Notes . NoteMap ( null ) ; r . root = new LeafBucket ( 0 ) ; return r ; } |
@ Override public java . lang . Object [ ] toArray ( ) { synchronized ( mutex ) { return c . toArray ( ) ; } } | public virtual object [ ] toArray ( ) { lock ( mutex ) { return c . toArray ( ) ; } } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.