question
stringlengths 33
1.59k
| target
stringlengths 33
1.58k
|
|---|---|
public String toString ( ) { StringBuilder buffer = new StringBuilder ( 40 * ( path . length ( ) + 1 ) ) ; for ( int j = 0 ; j < path . length ( ) ; j ++ ) { buffer . append ( path . getComponent ( j ) ) . append ( "/" ) ; } buffer . append ( name ) ; return buffer . toString ( ) ; }
|
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( 40 * ( path . Length + 1 ) ) ; for ( int j = 0 ; j < path . Length ; j ++ ) { buffer . Append ( path . GetComponent ( j ) ) . Append ( "/" ) ; } buffer . Append ( name ) ; return buffer . ToString ( ) ; }
|
public void removeApplicationName ( ) { remove1stProperty ( PropertyIDMap . PID_APPNAME ) ; }
|
public void RemoveApplicationName ( ) { MutableSection s = ( MutableSection ) FirstSection ; s . RemoveProperty ( PropertyIDMap . PID_APPNAME ) ; }
|
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 ( ) ) ; sb . append ( " ! " ) ; sb . append ( "name=" ) ; sb . append ( nameName ) ; sb . append ( "]" ) ; return sb . toString ( ) ; }
|
public override String ToString ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . Append ( GetType ( ) . Name ) ; sb . Append ( " [" ) ; if ( externalWorkbookNumber >= 0 ) { sb . Append ( " [" ) ; sb . Append ( "workbook=" ) . Append ( ExternalWorkbookNumber ) ; sb . Append ( "] " ) ; } if ( SheetName != null ) { sb . Append ( "sheet=" ) . Append ( SheetName ) ; } sb . Append ( " ! " ) ; sb . Append ( "name=" ) ; sb . Append ( nameName ) ; sb . Append ( "]" ) ; return sb . ToString ( ) ; }
|
public GetRecommenderConfigurationResult getRecommenderConfiguration ( GetRecommenderConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executeGetRecommenderConfiguration ( request ) ; }
|
public virtual GetRecommenderConfigurationResponse GetRecommenderConfiguration ( GetRecommenderConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetRecommenderConfigurationRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetRecommenderConfigurationResponseUnmarshaller . Instance ; return Invoke < GetRecommenderConfigurationResponse > ( request , options ) ; }
|
public int previous ( ) { if ( text . getIndex ( ) == text . getBeginIndex ( ) ) { return DONE ; } else { if ( 0 == sentenceStarts . length ) { text . setIndex ( text . getBeginIndex ( ) ) ; return DONE ; } if ( text . getIndex ( ) == text . getEndIndex ( ) ) { text . setIndex ( sentenceStarts [ currentSentence ] ) ; } else { text . setIndex ( sentenceStarts [ -- currentSentence ] ) ; } return current ( ) ; } }
|
public override int Previous ( ) { if ( text . Index == text . BeginIndex ) { return Done ; } else { if ( 0 == sentenceStarts . Length ) { text . SetIndex ( text . BeginIndex ) ; return Done ; } if ( text . Index == text . EndIndex ) { text . SetIndex ( sentenceStarts [ currentSentence ] ) ; } else { text . SetIndex ( sentenceStarts [ -- currentSentence ] ) ; } return Current ; } }
|
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[STARTOBJECT]\n" ) ; buffer . append ( " .rt =" ) . append ( HexDump . shortToHex ( rt ) ) . append ( '\n' ) ; buffer . append ( " .grbitFrt =" ) . append ( HexDump . shortToHex ( grbitFrt ) ) . append ( '\n' ) ; buffer . append ( " .iObjectKind =" ) . append ( HexDump . shortToHex ( iObjectKind ) ) . append ( '\n' ) ; buffer . append ( " .iObjectContext =" ) . append ( HexDump . shortToHex ( iObjectContext ) ) . append ( '\n' ) ; buffer . append ( " .iObjectInstance1=" ) . append ( HexDump . shortToHex ( iObjectInstance1 ) ) . append ( '\n' ) ; buffer . append ( " .iObjectInstance2=" ) . append ( HexDump . shortToHex ( iObjectInstance2 ) ) . append ( '\n' ) ; buffer . append ( "[/STARTOBJECT]\n" ) ; return buffer . toString ( ) ; }
|
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[STARTOBJECT]\n" ) ; buffer . Append ( " .rt =" ) . Append ( HexDump . ShortToHex ( rt ) ) . Append ( '\n' ) ; buffer . Append ( " .grbitFrt =" ) . Append ( HexDump . ShortToHex ( grbitFrt ) ) . Append ( '\n' ) ; buffer . Append ( " .iObjectKind =" ) . Append ( HexDump . ShortToHex ( iObjectKind ) ) . Append ( '\n' ) ; buffer . Append ( " .iObjectContext =" ) . Append ( HexDump . ShortToHex ( iObjectContext ) ) . Append ( '\n' ) ; buffer . Append ( " .iObjectInstance1=" ) . Append ( HexDump . ShortToHex ( iObjectInstance1 ) ) . Append ( '\n' ) ; buffer . Append ( " .iObjectInstance2=" ) . Append ( HexDump . ShortToHex ( iObjectInstance2 ) ) . Append ( '\n' ) ; buffer . Append ( "[/STARTOBJECT]\n" ) ; return buffer . ToString ( ) ; }
|
public static double average ( double [ ] values ) { double ave = 0 ; double sum = 0 ; for ( double value : values ) { sum += value ; } ave = sum / values . length ; return ave ; }
|
public static double Average ( double [ ] values ) { double ave = 0 ; double sum = 0 ; for ( int i = 0 , iSize = values . Length ; i < iSize ; i ++ ) { sum += values [ i ] ; } ave = sum / values . Length ; return ave ; }
|
public GetCheckerIpRangesResult getCheckerIpRanges ( GetCheckerIpRangesRequest request ) { request = beforeClientExecution ( request ) ; return executeGetCheckerIpRanges ( request ) ; }
|
public virtual GetCheckerIpRangesResponse GetCheckerIpRanges ( GetCheckerIpRangesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetCheckerIpRangesRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetCheckerIpRangesResponseUnmarshaller . Instance ; return Invoke < GetCheckerIpRangesResponse > ( request , options ) ; }
|
public int getRegionLength ( ) { return outRegion . length ; }
|
public virtual int GetRegionLength ( ) { return currentSource . regionList . length ; }
|
@ Override public Iterator < Multiset . Entry < E > > iterator ( ) { final Iterator < Map . Entry < E , Integer > > backingIterator = countMap . entrySet ( ) . iterator ( ) ; return new Iterator < Multiset . Entry < E > > ( ) ; }
|
public override java . util . Iterator < java . util . MapClass . Entry < K , V > > iterator ( ) { return new java . util . Hashtable < K , V > . EntryIterator ( this . _enclosing ) ; }
|
public WeightedSpanTerm ( float weight , String term , boolean positionSensitive ) { super ( weight , term ) ; this . positionSensitive = positionSensitive ; }
|
public WeightedSpanTerm ( float weight , string term , bool positionSensitive ) : base ( weight , term ) { _positionSensitive = positionSensitive ; }
|
public synchronized StringBuffer append ( char [ ] chars ) { append0 ( chars ) ; return this ; }
|
public java . lang . StringBuffer append ( char [ ] chars ) { lock ( this ) { append0 ( chars ) ; return this ; } }
|
public UploadServerCertificateRequest ( String serverCertificateName , String certificateBody , String privateKey ) { setServerCertificateName ( serverCertificateName ) ; setCertificateBody ( certificateBody ) ; setPrivateKey ( privateKey ) ; }
|
public UploadServerCertificateRequest ( string serverCertificateName , string certificateBody , string privateKey ) { _serverCertificateName = serverCertificateName ; _certificateBody = certificateBody ; _privateKey = privateKey ; }
|
public List < String > getRuleInvocationStack ( RuleContext p ) { String [ ] ruleNames = getRuleNames ( ) ; List < String > stack = new ArrayList < String > ( ) ; while ( p != null ) { int ruleIndex = p . getRuleIndex ( ) ; if ( ruleIndex < 0 ) stack . add ( "n/a" ) ; else stack . add ( ruleNames [ ruleIndex ] ) ; p = p . parent ; } return stack ; }
|
public virtual IList < string > GetRuleInvocationStack ( RuleContext p ) { string [ ] ruleNames = RuleNames ; IList < string > stack = new List < string > ( ) ; while ( p != null ) { int ruleIndex = p . RuleIndex ; if ( ruleIndex < 0 ) { stack . Add ( "n/a" ) ; } else { stack . Add ( ruleNames [ ruleIndex ] ) ; } p = p . Parent ; } return stack ; }
|
static public double ipmt ( double r , int per , int nper , double pv , double fv ) { return ipmt ( r , per , nper , pv , fv , 0 ) ; }
|
static public double IPMT ( double r , int per , int nper , double pv , double fv ) { return IPMT ( r , per , nper , pv , fv , 0 ) ; }
|
public int countRanges ( ) { return _list . size ( ) ; }
|
public int CountRanges ( ) { return _list . Count ; }
|
public int compareTo ( FormatRun r ) { if ( _character == r . _character && _fontIndex == r . _fontIndex ) { return 0 ; } if ( _character == r . _character ) { return _fontIndex - r . _fontIndex ; } return _character - r . _character ; }
|
public int CompareTo ( FormatRun r ) { if ( _character == r . _character && _fontIndex == r . _fontIndex ) { return 0 ; } if ( _character == r . _character ) { return _fontIndex - r . _fontIndex ; } return _character - r . _character ; }
|
public final void readFully ( byte [ ] dst ) throws IOException { readFully ( dst , 0 , dst . length ) ; }
|
public virtual void readFully ( byte [ ] dst ) { throw new System . NotImplementedException ( ) ; }
|
public synchronized int size ( ) { return size ; }
|
public override int size ( ) { lock ( this ) { return _size ; } }
|
public String group ( ) { return group ( 0 ) ; }
|
public string group ( ) { return group ( 0 ) ; }
|
public int getExternalSheetIndex ( String workbookName , String firstSheetName , String lastSheetName ) { return getOrCreateLinkTable ( ) . getExternalSheetIndex ( workbookName , firstSheetName , lastSheetName ) ; }
|
public int GetExternalSheetIndex ( String workbookName , String firstSheetName , String lastSheetName ) { return OrCreateLinkTable . GetExternalSheetIndex ( workbookName , firstSheetName , lastSheetName ) ; }
|
public GetDeliverabilityTestReportResult getDeliverabilityTestReport ( GetDeliverabilityTestReportRequest request ) { request = beforeClientExecution ( request ) ; return executeGetDeliverabilityTestReport ( request ) ; }
|
public virtual GetDeliverabilityTestReportResponse GetDeliverabilityTestReport ( GetDeliverabilityTestReportRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetDeliverabilityTestReportRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetDeliverabilityTestReportResponseUnmarshaller . Instance ; return Invoke < GetDeliverabilityTestReportResponse > ( request , options ) ; }
|
public boolean isPeeled ( ) { return getLeaf ( ) . isPeeled ( ) ; }
|
public virtual bool IsPeeled ( ) { return GetLeaf ( ) . IsPeeled ( ) ; }
|
public RenameCallback getRenameCallback ( ) { return renameCallback ; }
|
public virtual RenameCallback GetRenameCallback ( ) { return renameCallback ; }
|
public String toString ( ) { return "EditList" + super . toString ( ) ; }
|
public override string ToString ( ) { return "EditList[]" ; }
|
public PutVoiceConnectorTerminationCredentialsResult putVoiceConnectorTerminationCredentials ( PutVoiceConnectorTerminationCredentialsRequest request ) { request = beforeClientExecution ( request ) ; return executePutVoiceConnectorTerminationCredentials ( request ) ; }
|
public virtual PutVoiceConnectorTerminationCredentialsResponse PutVoiceConnectorTerminationCredentials ( PutVoiceConnectorTerminationCredentialsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutVoiceConnectorTerminationCredentialsRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutVoiceConnectorTerminationCredentialsResponseUnmarshaller . Instance ; return Invoke < PutVoiceConnectorTerminationCredentialsResponse > ( request , options ) ; }
|
public CreateGroupResult createGroup ( CreateGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateGroup ( request ) ; }
|
public virtual CreateGroupResponse CreateGroup ( CreateGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateGroupResponseUnmarshaller . Instance ; return Invoke < CreateGroupResponse > ( request , options ) ; }
|
public void serialize ( LittleEndianOutput out ) { out . writeShort ( field_1_units ) ; }
|
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( field_1_units ) ; }
|
public ObjectLoader open ( AnyObjectId objectId , int typeHint ) throws MissingObjectException , IncorrectObjectTypeException , IOException { final ObjectLoader ldr = db . openObject ( this , objectId ) ; if ( ldr == null ) { if ( typeHint == OBJ_ANY ) throw new MissingObjectException ( objectId . copy ( ) , JGitText . get ( ) . unknownObjectType2 ) ; throw new MissingObjectException ( objectId . copy ( ) , typeHint ) ; } if ( typeHint != OBJ_ANY && ldr . getType ( ) != typeHint ) throw new IncorrectObjectTypeException ( objectId . copy ( ) , typeHint ) ; return ldr ; }
|
public override ObjectLoader Open ( AnyObjectId objectId , int typeHint ) { ObjectLoader ldr = db . OpenObject ( this , objectId ) ; if ( ldr == null ) { if ( typeHint == OBJ_ANY ) { throw new MissingObjectException ( objectId . Copy ( ) , "unknown" ) ; } throw new MissingObjectException ( objectId . Copy ( ) , typeHint ) ; } if ( typeHint != OBJ_ANY && ldr . GetType ( ) != typeHint ) { throw new IncorrectObjectTypeException ( objectId . Copy ( ) , typeHint ) ; } return ldr ; }
|
public ParameterNameValue ( String parameterName , String parameterValue ) { setParameterName ( parameterName ) ; setParameterValue ( parameterValue ) ; }
|
public ParameterNameValue ( string parameterName , string parameterValue ) { _parameterName = parameterName ; _parameterValue = parameterValue ; }
|
public AssociateIamInstanceProfileResult associateIamInstanceProfile ( AssociateIamInstanceProfileRequest request ) { request = beforeClientExecution ( request ) ; return executeAssociateIamInstanceProfile ( request ) ; }
|
public virtual AssociateIamInstanceProfileResponse AssociateIamInstanceProfile ( AssociateIamInstanceProfileRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AssociateIamInstanceProfileRequestMarshaller . Instance ; options . ResponseUnmarshaller = AssociateIamInstanceProfileResponseUnmarshaller . Instance ; return Invoke < AssociateIamInstanceProfileResponse > ( request , options ) ; }
|
public CreateHostedZoneRequest ( String name , String callerReference ) { setName ( name ) ; setCallerReference ( callerReference ) ; }
|
public CreateHostedZoneRequest ( string name , string callerReference ) { _name = name ; _callerReference = callerReference ; }
|
public String getPronunciation ( ) { return dictionary . getPronunciation ( wordId , surfaceForm , offset , length ) ; }
|
public virtual string GetPronunciation ( ) { return dictionary . GetPronunciation ( wordId , surfaceForm , offset , length ) ; }
|
public boolean knows ( String key ) { return ( find ( key ) >= 0 ) ; }
|
public virtual bool Knows ( string key ) { return ( Find ( key ) >= 0 ) ; }
|
public ServerException ( String errorCode , String errorMessage ) { super ( errorCode , errorMessage ) ; this . setErrorType ( ErrorType . Server ) ; }
|
public ServerException ( string errorCode , string errorMessage ) : base ( errorCode , errorMessage ) { ErrorType = ErrorType . Server ; }
|
public String toString ( ) { return "3(" + mu + ")" ; }
|
public override string ToString ( ) { return "3(" + mu + ")" ; }
|
public CreateDiskResult createDisk ( CreateDiskRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateDisk ( request ) ; }
|
public virtual CreateDiskResponse CreateDisk ( CreateDiskRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateDiskRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateDiskResponseUnmarshaller . Instance ; return Invoke < CreateDiskResponse > ( request , options ) ; }
|
public boolean add ( char [ ] text ) { return map . put ( text , PLACEHOLDER ) == null ; }
|
public virtual bool Add ( object o ) { return map . Put ( o ) ; }
|
public QueryLicensesRequest ( ) { super ( "LinkFace" , "2018-07-20" , "QueryLicenses" ) ; setProtocol ( ProtocolType . HTTPS ) ; setMethod ( MethodType . POST ) ; }
|
public QueryLicensesRequest ( ) : base ( "LinkFace" , "2018-07-20" , "QueryLicenses" ) { Protocol = ProtocolType . HTTPS ; Method = MethodType . POST ; }
|
public ExpectedAttributeValue ( AttributeValue value ) { setValue ( value ) ; }
|
public ExpectedAttributeValue ( AttributeValue value ) { _value = value ; }
|
public long getSize ( ) { return getCachedBytes ( ) . length ; }
|
public override long GetSize ( ) { return GetCachedBytes ( ) . Length ; }
|
public DescribeImageAttributeRequest ( String imageId , ImageAttributeName attribute ) { setImageId ( imageId ) ; setAttribute ( attribute . toString ( ) ) ; }
|
public DescribeImageAttributeRequest ( string imageId , ImageAttributeName attribute ) { _imageId = imageId ; _attribute = attribute ; }
|
public HSSFAnchor ( ) { createEscherAnchor ( ) ; }
|
public HSSFAnchor ( ) { CreateEscherAnchor ( ) ; }
|
public V setValue ( V object ) { V result = value ; value = object ; return result ; }
|
public virtual V setValue ( V @ object ) { V result = value ; value = @ object ; return result ; }
|
public void readFully ( byte [ ] buffer , int off , int len ) { checkPosition ( len ) ; read ( buffer , off , len ) ; }
|
public void ReadFully ( byte [ ] buf , int off , int len ) { CheckPosition ( len ) ; System . Array . Copy ( _buf , _ReadIndex , buf , off , len ) ; _ReadIndex += len ; }
|
public CancelDomainTransferToAnotherAwsAccountResult cancelDomainTransferToAnotherAwsAccount ( CancelDomainTransferToAnotherAwsAccountRequest request ) { request = beforeClientExecution ( request ) ; return executeCancelDomainTransferToAnotherAwsAccount ( request ) ; }
|
public virtual CancelDomainTransferToAnotherAwsAccountResponse CancelDomainTransferToAnotherAwsAccount ( CancelDomainTransferToAnotherAwsAccountRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CancelDomainTransferToAnotherAwsAccountRequestMarshaller . Instance ; options . ResponseUnmarshaller = CancelDomainTransferToAnotherAwsAccountResponseUnmarshaller . Instance ; return Invoke < CancelDomainTransferToAnotherAwsAccountResponse > ( request , options ) ; }
|
public RecognizeCelebritiesResult recognizeCelebrities ( RecognizeCelebritiesRequest request ) { request = beforeClientExecution ( request ) ; return executeRecognizeCelebrities ( request ) ; }
|
public virtual RecognizeCelebritiesResponse RecognizeCelebrities ( RecognizeCelebritiesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RecognizeCelebritiesRequestMarshaller . Instance ; options . ResponseUnmarshaller = RecognizeCelebritiesResponseUnmarshaller . Instance ; return Invoke < RecognizeCelebritiesResponse > ( request , options ) ; }
|
public SideBandOutputStream ( int chan , int sz , OutputStream os ) { if ( chan <= 0 || chan > 255 ) throw new IllegalArgumentException ( MessageFormat . format ( JGitText . get ( ) . channelMustBeInRange1_255 , Integer . valueOf ( chan ) ) ) ; if ( sz <= HDR_SIZE ) throw new IllegalArgumentException ( MessageFormat . format ( JGitText . get ( ) . packetSizeMustBeAtLeast , Integer . valueOf ( sz ) , Integer . valueOf ( HDR_SIZE ) ) ) ; else if ( MAX_BUF < sz ) throw new IllegalArgumentException ( MessageFormat . format ( JGitText . get ( ) . packetSizeMustBeAtMost , Integer . valueOf ( sz ) , Integer . valueOf ( MAX_BUF ) ) ) ; out = os ; buffer = new byte [ sz ] ; buffer [ 4 ] = ( byte ) chan ; cnt = HDR_SIZE ; }
|
public SideBandOutputStream ( int chan , int sz , OutputStream os ) { if ( chan <= 0 || chan > 255 ) { throw new ArgumentException ( MessageFormat . Format ( JGitText . Get ( ) . channelMustBeInRange0_255 , Sharpen . Extensions . ValueOf ( chan ) ) ) ; } if ( sz <= HDR_SIZE ) { throw new ArgumentException ( MessageFormat . Format ( JGitText . Get ( ) . packetSizeMustBeAtLeast , Sharpen . Extensions . ValueOf ( sz ) , Sharpen . Extensions . ValueOf ( HDR_SIZE ) ) ) ; } else { if ( MAX_BUF < sz ) { throw new ArgumentException ( MessageFormat . Format ( JGitText . Get ( ) . packetSizeMustBeAtMost , Sharpen . Extensions . ValueOf ( sz ) , Sharpen . Extensions . ValueOf ( MAX_BUF ) ) ) ; } } @ out = os ; buffer = new byte [ sz ] ; buffer [ 4 ] = unchecked ( ( byte ) chan ) ; cnt = HDR_SIZE ; }
|
public LexerATNConfig ( ATNState state , int alt , PredictionContext context , LexerActionExecutor lexerActionExecutor ) { super ( state , alt , context , SemanticContext . NONE ) ; this . lexerActionExecutor = lexerActionExecutor ; this . passedThroughNonGreedyDecision = false ; }
|
public LexerATNConfig ( ATNState state , int alt , PredictionContext context , LexerActionExecutor lexerActionExecutor ) : base ( state , alt , context , SemanticContext . NONE ) { this . lexerActionExecutor = lexerActionExecutor ; this . passedThroughNonGreedyDecision = false ; }
|
public String format ( List < RevCommit > squashedCommits , Ref target ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( "Squashed commit of the following:\n" ) ; for ( RevCommit c : squashedCommits ) { sb . append ( "\ncommit " ) ; sb . append ( c . getName ( ) ) ; sb . append ( "\n" ) ; sb . append ( toString ( c . getAuthorIdent ( ) ) ) ; sb . append ( "\n\t" ) ; sb . append ( c . getShortMessage ( ) ) ; sb . append ( "\n" ) ; } return sb . toString ( ) ; }
|
public virtual string Format ( IList < RevCommit > squashedCommits , Ref target ) { StringBuilder sb = new StringBuilder ( ) ; sb . Append ( "Squashed commit of the following:\n" ) ; foreach ( RevCommit c in squashedCommits ) { sb . Append ( "\ncommit " ) ; sb . Append ( c . GetName ( ) ) ; sb . Append ( "\n" ) ; sb . Append ( ToString ( c . GetAuthorIdent ( ) ) ) ; sb . Append ( "\n\t" ) ; sb . Append ( c . GetShortMessage ( ) ) ; sb . Append ( "\n" ) ; } return sb . ToString ( ) ; }
|
public int stem ( char s [ ] , int len ) { if ( len < 3 || s [ len - 1 ] != 's' ) return len ; switch ( s [ len - 2 ] ) { case 'u' : case 's' : return len ; case 'e' : if ( len > 3 && s [ len - 3 ] == 'i' && s [ len - 4 ] != 'a' && s [ len - 4 ] != 'e' ) { s [ len - 3 ] = 'y' ; return len - 2 ; } if ( s [ len - 3 ] == 'i' || s [ len - 3 ] == 'a' || s [ len - 3 ] == 'o' || s [ len - 3 ] == 'e' ) return len ; default : return len - 1 ; } }
|
public virtual int Stem ( char [ ] s , int len ) { if ( len < 3 || s [ len - 1 ] != 's' ) { return len ; } switch ( s [ len - 2 ] ) { case 'u' : case 's' : return len ; case 'e' : if ( len > 3 && s [ len - 3 ] == 'i' && s [ len - 4 ] != 'a' && s [ len - 4 ] != 'e' ) { s [ len - 3 ] = 'y' ; return len - 2 ; } if ( s [ len - 3 ] == 'i' || s [ len - 3 ] == 'a' || s [ len - 3 ] == 'o' || s [ len - 3 ] == 'e' ) { return len ; } break ; } return len - 1 ; }
|
public TermsQueryBuilder ( Analyzer analyzer ) { this . analyzer = analyzer ; }
|
public TermsQueryBuilder ( Analyzer analyzer ) { this . analyzer = analyzer ; }
|
public CreateDomainRequest ( String domainName ) { setDomainName ( domainName ) ; }
|
public CreateDomainRequest ( string domainName ) { _domainName = domainName ; }
|
public Trie optimize ( Trie orig ) { List < CharSequence > cmds = orig . cmds ; List < Row > rows = new ArrayList < > ( ) ; List < Row > orows = orig . rows ; int remap [ ] = new int [ orows . size ( ) ] ; for ( int j = orows . size ( ) - 1 ; j >= 0 ; j -- ) { Row now = new Remap ( orows . get ( j ) , remap ) ; boolean merged = false ; for ( int i = 0 ; i < rows . size ( ) ; i ++ ) { Row q = merge ( now , rows . get ( i ) ) ; if ( q != null ) { rows . set ( i , q ) ; merged = true ; remap [ j ] = i ; break ; } } if ( merged == false ) { remap [ j ] = rows . size ( ) ; rows . add ( now ) ; } } int root = remap [ orig . root ] ; Arrays . fill ( remap , - 1 ) ; rows = removeGaps ( root , rows , new ArrayList < Row > ( ) , remap ) ; return new Trie ( orig . forward , remap [ root ] , cmds , rows ) ; }
|
public override Trie Optimize ( Trie orig ) { IList < string > cmds = orig . cmds ; IList < Row > rows = new List < Row > ( ) ; IList < Row > orows = orig . rows ; int [ ] remap = new int [ orows . Count ] ; for ( int j = orows . Count - 1 ; j >= 0 ; j -- ) { Row now = new Remap ( orows [ j ] , remap ) ; bool merged = false ; for ( int i = 0 ; i < rows . Count ; i ++ ) { Row q = Merge ( now , rows [ i ] ) ; if ( q != null ) { rows [ i ] = q ; merged = true ; remap [ j ] = i ; break ; } } if ( merged == false ) { remap [ j ] = rows . Count ; rows . Add ( now ) ; } } int root = remap [ orig . root ] ; Arrays . Fill ( remap , - 1 ) ; rows = RemoveGaps ( root , rows , new List < Row > ( ) , remap ) ; return new Trie ( orig . forward , remap [ root ] , cmds , rows ) ; }
|
public final boolean isFirstCell ( int rowIx , int colIx ) { CellRangeAddress8Bit r = getRange ( ) ; return r . getFirstRow ( ) == rowIx && r . getFirstColumn ( ) == colIx ; }
|
public bool IsFirstCell ( int rowIx , int colIx ) { CellRangeAddress8Bit r = Range ; return r . FirstRow == rowIx && r . FirstColumn == colIx ; }
|
public CompleteLayerUploadResult completeLayerUpload ( CompleteLayerUploadRequest request ) { request = beforeClientExecution ( request ) ; return executeCompleteLayerUpload ( request ) ; }
|
public virtual CompleteLayerUploadResponse CompleteLayerUpload ( CompleteLayerUploadRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CompleteLayerUploadRequestMarshaller . Instance ; options . ResponseUnmarshaller = CompleteLayerUploadResponseUnmarshaller . Instance ; return Invoke < CompleteLayerUploadResponse > ( request , options ) ; }
|
public StopHumanLoopResult stopHumanLoop ( StopHumanLoopRequest request ) { request = beforeClientExecution ( request ) ; return executeStopHumanLoop ( request ) ; }
|
public virtual StopHumanLoopResponse StopHumanLoop ( StopHumanLoopRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StopHumanLoopRequestMarshaller . Instance ; options . ResponseUnmarshaller = StopHumanLoopResponseUnmarshaller . Instance ; return Invoke < StopHumanLoopResponse > ( request , options ) ; }
|
public RevCommit getSourceCommit ( ) { return outCandidate . sourceCommit ; }
|
public virtual RevCommit GetSourceCommit ( ) { return currentSource . sourceCommit ; }
|
public synchronized Object getPerfObject ( String key ) { return perfObjects . get ( key ) ; }
|
public virtual object GetPerfObject ( string key ) { lock ( this ) { object result ; perfObjects . TryGetValue ( key , out result ) ; return result ; } }
|
public TokenStream create ( TokenStream input ) { return new HindiStemFilter ( input ) ; }
|
public override TokenStream Create ( TokenStream input ) { return new HindiStemFilter ( input ) ; }
|
public static BreakIterator getWordInstance ( ) { return getWordInstance ( Locale . getDefault ( ) ) ; }
|
public static java . text . BreakIterator getWordInstance ( ) { return getWordInstance ( System . Globalization . CultureInfo . CurrentCulture ) ; }
|
public UpdatePublicKeyResult updatePublicKey ( UpdatePublicKeyRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdatePublicKey ( request ) ; }
|
public virtual UpdatePublicKeyResponse UpdatePublicKey ( UpdatePublicKeyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdatePublicKeyRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdatePublicKeyResponseUnmarshaller . Instance ; return Invoke < UpdatePublicKeyResponse > ( request , options ) ; }
|
public boolean include ( RevWalk walker , RevCommit c ) { return c . getParentCount ( ) < 2 ; }
|
public override bool Include ( RevWalk walker , RevCommit c ) { return c . ParentCount < 2 ; }
|
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[COUNTRY]\n" ) ; buffer . append ( " .defaultcountry = " ) . append ( Integer . toHexString ( getDefaultCountry ( ) ) ) . append ( "\n" ) ; buffer . append ( " .currentcountry = " ) . append ( Integer . toHexString ( getCurrentCountry ( ) ) ) . append ( "\n" ) ; buffer . append ( "[/COUNTRY]\n" ) ; return buffer . toString ( ) ; }
|
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[COUNTRY]\n" ) ; buffer . Append ( " .defaultcountry = " ) . Append ( StringUtil . ToHexString ( DefaultCountry ) ) . Append ( "\n" ) ; buffer . Append ( " .currentcountry = " ) . Append ( StringUtil . ToHexString ( CurrentCountry ) ) . Append ( "\n" ) ; buffer . Append ( "[/COUNTRY]\n" ) ; return buffer . ToString ( ) ; }
|
public DefaultColWidthRecord clone ( ) { return copy ( ) ; }
|
public override Object Clone ( ) { DefaultColWidthRecord rec = new DefaultColWidthRecord ( ) ; rec . field_1_col_width = field_1_col_width ; return rec ; }
|
public Matcher useAnchoringBounds ( boolean value ) { anchoringBounds = value ; useAnchoringBoundsImpl ( address , value ) ; return this ; }
|
public java . util . regex . Matcher useAnchoringBounds ( bool value ) { anchoringBounds = value ; useAnchoringBoundsImpl ( address , value ) ; return this ; }
|
public PostingsEnum reset ( int [ ] postings ) { this . postings = postings ; upto = - 2 ; return this ; }
|
public DocsEnum Reset ( int [ ] postings ) { this . postings = postings ; upto = - 2 ; return this ; }
|
public void SwitchTo ( int lexState ) { if ( lexState >= 2 || lexState < 0 ) throw new TokenMgrError ( "Error: Ignoring invalid lexical state : " + lexState + ". State unchanged." , TokenMgrError . INVALID_LEXICAL_STATE ) ; elsecurLexState = lexState ; }
|
public void SwitchTo ( int lexState ) { if ( lexState >= 2 || lexState < 0 ) throw new TokenMgrError ( "Error: Ignoring invalid lexical state : " + lexState + ". State unchanged." , TokenMgrError . INVALID_LEXICAL_STATE ) ; elsecurLexState = lexState ; }
|
public boolean add ( final int value ) { if ( _limit == _array . length ) { growArray ( _limit * 2 ) ; } _array [ _limit ++ ] = value ; return true ; }
|
public bool Add ( int value ) { if ( _limit == _array . Length ) { growArray ( _limit * 2 ) ; } _array [ _limit ++ ] = value ; return true ; }
|
public final int computeIterations ( int valueCount , int ramBudget ) { final int iterations = ramBudget / ( byteBlockCount ( ) + 8 * byteValueCount ( ) ) ; if ( iterations == 0 ) { return 1 ; } else if ( ( iterations - 1 ) * byteValueCount ( ) >= valueCount ) { return ( int ) Math . ceil ( ( double ) valueCount / byteValueCount ( ) ) ; } else { return iterations ; } }
|
public int ComputeIterations ( int valueCount , int ramBudget ) { int iterations = ramBudget / ( ByteBlockCount + 8 * ByteValueCount ) ; if ( iterations == 0 ) { return 1 ; } else if ( ( iterations - 1 ) * ByteValueCount >= valueCount ) { return ( int ) Math . Ceiling ( ( double ) valueCount / ByteValueCount ) ; } else { return iterations ; } }
|
public NameRecord getNameRecord ( int nameIndex ) { return getWorkbook ( ) . getNameRecord ( nameIndex ) ; }
|
public NameRecord GetNameRecord ( int nameIndex ) { return Workbook . GetNameRecord ( nameIndex ) ; }
|
public DescribeJobResult describeJob ( DescribeJobRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeJob ( request ) ; }
|
public virtual DescribeJobResponse DescribeJob ( DescribeJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeJobResponseUnmarshaller . Instance ; return Invoke < DescribeJobResponse > ( request , options ) ; }
|
public EscherPropertyMetaData ( String description , byte type ) { this . description = description ; this . type = type ; }
|
public EscherPropertyMetaData ( String description , byte type ) { this . description = description ; this . type = type ; }
|
public HSSFColor findSimilarColor ( int red , int green , int blue ) { HSSFColor result = null ; int minColorDistance = Integer . MAX_VALUE ; byte [ ] b = _palette . getColor ( PaletteRecord . FIRST_COLOR_INDEX ) ; for ( short i = PaletteRecord . FIRST_COLOR_INDEX ; b != null ; b = _palette . getColor ( ++ i ) ) { int colorDistance = Math . abs ( red - unsignedInt ( b [ 0 ] ) ) + Math . abs ( green - unsignedInt ( b [ 1 ] ) ) + Math . abs ( blue - unsignedInt ( b [ 2 ] ) ) ; if ( colorDistance < minColorDistance ) { minColorDistance = colorDistance ; result = getColor ( i ) ; } } return result ; }
|
public HSSFColor FindSimilarColor ( byte red , byte green , byte blue ) { HSSFColor result = null ; int minColorDistance = int . MaxValue ; byte [ ] b = palette . GetColor ( PaletteRecord . FIRST_COLOR_INDEX ) ; for ( short i = ( short ) PaletteRecord . FIRST_COLOR_INDEX ; b != null ; b = palette . GetColor ( ++ i ) ) { int colorDistance = Math . Abs ( red - b [ 0 ] ) + Math . Abs ( green - b [ 1 ] ) + Math . Abs ( blue - b [ 2 ] ) ; if ( colorDistance < minColorDistance ) { minColorDistance = colorDistance ; result = GetColor ( i ) ; } } return result ; }
|
public synchronized StringBuffer deleteCharAt ( int location ) { deleteCharAt0 ( location ) ; return this ; }
|
public java . lang . StringBuffer deleteCharAt ( int location ) { lock ( this ) { deleteCharAt0 ( location ) ; return this ; } }
|
public PathFilter clone ( ) { return this ; }
|
public override TreeFilter Clone ( ) { return this ; }
|
public String toString ( ) { if ( isEmpty ( ) ) { return "[]" ; } StringBuilder buffer = new StringBuilder ( size ( ) * 16 ) ; buffer . append ( '[' ) ; Iterator < ? > it = iterator ( ) ; while ( it . hasNext ( ) ) { Object next = it . next ( ) ; if ( next != this ) { buffer . append ( next ) ; } else { buffer . append ( "(this Collection)" ) ; } if ( it . hasNext ( ) ) { buffer . append ( ", " ) ; } } buffer . append ( ']' ) ; return buffer . toString ( ) ; }
|
public override string ToString ( ) { if ( isEmpty ( ) ) { return "[]" ; } java . lang . StringBuilder buffer = new java . lang . StringBuilder ( size ( ) * 16 ) ; buffer . append ( '[' ) ; java . util . Iterator < E > it = iterator ( ) ; while ( it . hasNext ( ) ) { object next = it . next ( ) ; if ( next != this ) { buffer . append ( next ) ; } else { buffer . append ( "(this Collection)" ) ; } if ( it . hasNext ( ) ) { buffer . append ( ", " ) ; } } buffer . append ( ']' ) ; return buffer . ToString ( ) ; }
|
public synchronized void close ( ) throws IOException { buffer = null ; notifyAll ( ) ; }
|
public override void close ( ) { throw new System . NotImplementedException ( ) ; }
|
public String toString ( ) { return "ShardIter(shard=" + shardIndex + ")" ; }
|
public override string ToString ( ) { return "ShardIter(shard=" + shardIndex + ")" ; }
|
public JobParameters ( String format , String type , String archiveId , String description ) { setFormat ( format ) ; setType ( type ) ; setArchiveId ( archiveId ) ; setDescription ( description ) ; }
|
public JobParameters ( string format , string type , string archiveId , string description ) { _format = format ; _type = type ; _archiveId = archiveId ; _description = description ; }
|
public IntBuffer get ( int [ ] dst ) { return get ( dst , 0 , dst . length ) ; }
|
public virtual java . nio . IntBuffer get ( int [ ] dst ) { return get ( dst , 0 , dst . Length ) ; }
|
public SupBookRecord ( String url , String [ ] sheetNames ) { field_1_number_of_sheets = ( short ) sheetNames . length ; field_2_encoded_url = url ; field_3_sheet_names = sheetNames ; _isAddInFunctions = false ; }
|
public SupBookRecord ( String url , String [ ] sheetNames ) { field_1_number_of_sheets = ( short ) sheetNames . Length ; field_2_encoded_url = url ; field_3_sheet_names = sheetNames ; _isAddInFunctions = false ; }
|
public SeriesLabelsRecord ( RecordInputStream in ) { field_1_formatFlags = in . readShort ( ) ; }
|
public SeriesLabelsRecord ( RecordInputStream in1 ) { field_1_formatFlags = in1 . ReadShort ( ) ; }
|
public DescribeAssessmentRunsResult describeAssessmentRuns ( DescribeAssessmentRunsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeAssessmentRuns ( request ) ; }
|
public virtual DescribeAssessmentRunsResponse DescribeAssessmentRuns ( DescribeAssessmentRunsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeAssessmentRunsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeAssessmentRunsResponseUnmarshaller . Instance ; return Invoke < DescribeAssessmentRunsResponse > ( request , options ) ; }
|
public DescribeClassicLinkInstancesResult describeClassicLinkInstances ( DescribeClassicLinkInstancesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeClassicLinkInstances ( request ) ; }
|
public virtual DescribeClassicLinkInstancesResponse DescribeClassicLinkInstances ( DescribeClassicLinkInstancesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeClassicLinkInstancesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeClassicLinkInstancesResponseUnmarshaller . Instance ; return Invoke < DescribeClassicLinkInstancesResponse > ( request , options ) ; }
|
public byte [ ] getByteBlock ( ) { return new byte [ blockSize ] ; }
|
public virtual byte [ ] GetByteBlock ( ) { return new byte [ m_blockSize ] ; }
|
public SeriesIndexRecord clone ( ) { return copy ( ) ; }
|
public override Object Clone ( ) { SeriesIndexRecord rec = new SeriesIndexRecord ( ) ; rec . field_1_index = field_1_index ; return rec ; }
|
public RegisterToWorkMailResult registerToWorkMail ( RegisterToWorkMailRequest request ) { request = beforeClientExecution ( request ) ; return executeRegisterToWorkMail ( request ) ; }
|
public virtual RegisterToWorkMailResponse RegisterToWorkMail ( RegisterToWorkMailRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RegisterToWorkMailRequestMarshaller . Instance ; options . ResponseUnmarshaller = RegisterToWorkMailResponseUnmarshaller . Instance ; return Invoke < RegisterToWorkMailResponse > ( request , options ) ; }
|
public DeleteCollectionRequest ( ) { super ( "cr" , "2016-06-07" , "DeleteCollection" , "cr" ) ; setUriPattern ( "/collections/[CollectionId]" ) ; setMethod ( MethodType . DELETE ) ; }
|
public DeleteCollectionRequest ( ) : base ( "cr" , "2016-06-07" , "DeleteCollection" , "cr" , "openAPI" ) { UriPattern = "/collections/[CollectionId]" ; Method = MethodType . DELETE ; }
|
public Cluster deleteCluster ( DeleteClusterRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteCluster ( request ) ; }
|
public virtual DeleteClusterResponse DeleteCluster ( DeleteClusterRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteClusterRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteClusterResponseUnmarshaller . Instance ; return Invoke < DeleteClusterResponse > ( request , options ) ; }
|
public static double tanh ( double d ) { double ePowX = Math . pow ( Math . E , d ) ; double ePowNegX = Math . pow ( Math . E , - d ) ; return ( ePowX - ePowNegX ) / ( ePowX + ePowNegX ) ; }
|
public static double Tanh ( double d ) { double ePowX = Math . Pow ( Math . E , d ) ; double ePowNegX = Math . Pow ( Math . E , - d ) ; d = ( ePowX - ePowNegX ) / ( ePowX + ePowNegX ) ; return d ; }
|
public CharsRef common ( CharsRef output1 , CharsRef output2 ) { assert output1 != null ; assert output2 != null ; int pos1 = output1 . offset ; int pos2 = output2 . offset ; int stopAt1 = pos1 + Math . min ( output1 . length , output2 . length ) ; while ( pos1 < stopAt1 ) { if ( output1 . chars [ pos1 ] != output2 . chars [ pos2 ] ) { break ; } pos1 ++ ; pos2 ++ ; } if ( pos1 == output1 . offset ) { return NO_OUTPUT ; } else if ( pos1 == output1 . offset + output1 . length ) { return output1 ; } else if ( pos2 == output2 . offset + output2 . length ) { return output2 ; } else { return new CharsRef ( output1 . chars , output1 . offset , pos1 - output1 . offset ) ; } }
|
public override CharsRef Common ( CharsRef output1 , CharsRef output2 ) { Debug . Assert ( output1 != null ) ; Debug . Assert ( output2 != null ) ; int pos1 = output1 . Offset ; int pos2 = output2 . Offset ; int stopAt1 = pos1 + Math . Min ( output1 . Length , output2 . Length ) ; while ( pos1 < stopAt1 ) { if ( output1 . Chars [ pos1 ] != output2 . Chars [ pos2 ] ) { break ; } pos1 ++ ; pos2 ++ ; } if ( pos1 == output1 . Offset ) { return NO_OUTPUT ; } else if ( pos1 == output1 . Offset + output1 . Length ) { return output1 ; } else if ( pos2 == output2 . Offset + output2 . Length ) { return output2 ; } else { return new CharsRef ( output1 . Chars , output1 . Offset , pos1 - output1 . Offset ) ; } }
|
public GetExclusionsPreviewResult getExclusionsPreview ( GetExclusionsPreviewRequest request ) { request = beforeClientExecution ( request ) ; return executeGetExclusionsPreview ( request ) ; }
|
public virtual GetExclusionsPreviewResponse GetExclusionsPreview ( GetExclusionsPreviewRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetExclusionsPreviewRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetExclusionsPreviewResponseUnmarshaller . Instance ; return Invoke < GetExclusionsPreviewResponse > ( request , options ) ; }
|
public KeepWordFilterFactory ( Map < String , String > args ) { super ( args ) ; wordFiles = get ( args , "words" ) ; ignoreCase = getBoolean ( args , "ignoreCase" , false ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
|
public KeepWordFilterFactory ( IDictionary < string , string > args ) : base ( args ) { AssureMatchVersion ( ) ; wordFiles = Get ( args , "words" ) ; ignoreCase = GetBoolean ( args , "ignoreCase" , false ) ; enablePositionIncrements = GetBoolean ( args , "enablePositionIncrements" , true ) ; if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }
|
public int uniformCmd ( boolean eqSkip ) { Iterator < Cell > i = cells . values ( ) . iterator ( ) ; int ret = - 1 ; uniformCnt = 1 ; uniformSkip = 0 ; for ( ; i . hasNext ( ) ; ) { Cell c = i . next ( ) ; if ( c . ref >= 0 ) { return - 1 ; } if ( c . cmd >= 0 ) { if ( ret < 0 ) { ret = c . cmd ; uniformSkip = c . skip ; } else if ( ret == c . cmd ) { if ( eqSkip ) { if ( uniformSkip == c . skip ) { uniformCnt ++ ; } else { return - 1 ; } } else { uniformCnt ++ ; } } else { return - 1 ; } } } return ret ; }
|
public int UniformCmd ( bool eqSkip ) { int ret = - 1 ; uniformCnt = 1 ; uniformSkip = 0 ; foreach ( Cell c in cells . Values ) { if ( c . @ ref >= 0 ) { return - 1 ; } if ( c . cmd >= 0 ) { if ( ret < 0 ) { ret = c . cmd ; uniformSkip = c . skip ; } else if ( ret == c . cmd ) { if ( eqSkip ) { if ( uniformSkip == c . skip ) { uniformCnt ++ ; } else { return - 1 ; } } else { uniformCnt ++ ; } } else { return - 1 ; } } } return ret ; }
|
public ListTypedLinkFacetNamesResult listTypedLinkFacetNames ( ListTypedLinkFacetNamesRequest request ) { request = beforeClientExecution ( request ) ; return executeListTypedLinkFacetNames ( request ) ; }
|
public virtual ListTypedLinkFacetNamesResponse ListTypedLinkFacetNames ( ListTypedLinkFacetNamesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListTypedLinkFacetNamesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListTypedLinkFacetNamesResponseUnmarshaller . Instance ; return Invoke < ListTypedLinkFacetNamesResponse > ( request , options ) ; }
|
public T remove ( int index ) { if ( index == size - 1 ) { T [ ] blockRef = directory [ toDirectoryIndex ( index ) ] ; int blockIdx = toBlockIndex ( index ) ; T old = blockRef [ blockIdx ] ; blockRef [ blockIdx ] = null ; size -- ; if ( 0 < tailBlkIdx ) tailBlkIdx -- ; elseresetTailBlock ( ) ; return old ; } else if ( index < 0 || size <= index ) { throw new IndexOutOfBoundsException ( String . valueOf ( index ) ) ; } else { T old = get ( index ) ; for ( ; index < size - 1 ; index ++ ) set ( index , get ( index + 1 ) ) ; set ( size - 1 , null ) ; size -- ; resetTailBlock ( ) ; return old ; } }
|
public override T Remove ( int index ) { if ( index == size - 1 ) { T [ ] blockRef = directory [ ToDirectoryIndex ( index ) ] ; int blockIdx = ToBlockIndex ( index ) ; T old = blockRef [ blockIdx ] ; blockRef [ blockIdx ] = default ( T ) ; size -- ; if ( 0 < tailBlkIdx ) { tailBlkIdx -- ; } else { ResetTailBlock ( ) ; } return old ; } else { if ( index < 0 || size <= index ) { throw new IndexOutOfRangeException ( index . ToString ( ) ) ; } else { T old = this [ index ] ; for ( ; index < size - 1 ; index ++ ) { Set ( index , this [ index + 1 ] ) ; } Set ( size - 1 , default ( T ) ) ; size -- ; ResetTailBlock ( ) ; return old ; } } }
|
public boolean willSoonExpire ( ) { long now = System . currentTimeMillis ( ) ; return this . roleSessionDurationSeconds * ( 1 - expireFact ) > ( expiration - now ) / 1000 ; }
|
public override bool WillSoonExpire ( ) { return roleSessionDurationSeconds * ( 1 - expireFact ) * 1000 * 1000 * 10 > RemainTicks ( ) ; }
|
public GroupingSearch setSortWithinGroup ( Sort sortWithinGroup ) { this . sortWithinGroup = sortWithinGroup ; return this ; }
|
public virtual GroupingSearch SetSortWithinGroup ( Sort sortWithinGroup ) { this . sortWithinGroup = sortWithinGroup ; return this ; }
|
public long ramBytesUsed ( ) { return BASE_RAM_BYTES_USED + ( ( postings != null ) ? RamUsageEstimator . sizeOf ( postings ) : 0 ) + ( ( payloads != null ) ? RamUsageEstimator . sizeOf ( payloads ) : 0 ) ; }
|
public override long RamBytesUsed ( ) { return ( ( postings != null ) ? RamUsageEstimator . SizeOf ( postings ) : 0 ) + ( ( payloads != null ) ? RamUsageEstimator . SizeOf ( payloads ) : 0 ) ; }
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.