question
stringlengths 33
1.59k
| target
stringlengths 33
1.58k
|
|---|---|
public static int headerLength ( String codec ) { return 9 + codec . length ( ) ; }
|
public static int HeaderLength ( string codec ) { return 9 + codec . Length ; }
|
public StartCelebrityRecognitionResult startCelebrityRecognition ( StartCelebrityRecognitionRequest request ) { request = beforeClientExecution ( request ) ; return executeStartCelebrityRecognition ( request ) ; }
|
public virtual StartCelebrityRecognitionResponse StartCelebrityRecognition ( StartCelebrityRecognitionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartCelebrityRecognitionRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartCelebrityRecognitionResponseUnmarshaller . Instance ; return Invoke < StartCelebrityRecognitionResponse > ( request , options ) ; }
|
public synchronized void write ( byte [ ] buffer , int offset , int length ) throws IOException { checkNotClosed ( ) ; if ( buffer == null ) { throw new NullPointerException ( "buffer == null" ) ; } byte [ ] internalBuffer = buf ; if ( length >= internalBuffer . length ) { flushInternal ( ) ; out . write ( buffer , offset , length ) ; return ; } Arrays . checkOffsetAndCount ( buffer . length , offset , length ) ; if ( length > ( internalBuffer . length - count ) ) { flushInternal ( ) ; } System . arraycopy ( buffer , offset , internalBuffer , count , length ) ; count += length ; }
|
public override void write ( byte [ ] buffer , int offset , int length ) { lock ( this ) { checkNotClosed ( ) ; if ( buffer == null ) { throw new System . ArgumentNullException ( "buffer == null" ) ; } byte [ ] internalBuffer = buf ; if ( length >= internalBuffer . Length ) { flushInternal ( ) ; @ out . write ( buffer , offset , length ) ; return ; } java . util . Arrays . checkOffsetAndCount ( buffer . Length , offset , length ) ; if ( length > ( internalBuffer . Length - count ) ) { flushInternal ( ) ; } System . Array . Copy ( buffer , offset , internalBuffer , count , length ) ; count += length ; } }
|
public int readRecordSID ( ) { return _lei . readUShort ( ) ; }
|
public int ReadRecordSID ( ) { return _lei . ReadUShort ( ) ; }
|
public ListProfileTimesResult listProfileTimes ( ListProfileTimesRequest request ) { request = beforeClientExecution ( request ) ; return executeListProfileTimes ( request ) ; }
|
public virtual ListProfileTimesResponse ListProfileTimes ( ListProfileTimesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListProfileTimesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListProfileTimesResponseUnmarshaller . Instance ; return Invoke < ListProfileTimesResponse > ( request , options ) ; }
|
public RevFilter clone ( ) { final RevFilter [ ] s = new RevFilter [ subfilters . length ] ; for ( int i = 0 ; i < s . length ; i ++ ) s [ i ] = subfilters [ i ] . clone ( ) ; return new List ( s ) ; }
|
public override TreeFilter Clone ( ) { TreeFilter [ ] s = new TreeFilter [ subfilters . Length ] ; for ( int i = 0 ; i < s . Length ; i ++ ) { s [ i ] = subfilters [ i ] . Clone ( ) ; } return new OrTreeFilter . List ( s ) ; }
|
public Cluster modifyCluster ( ModifyClusterRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyCluster ( request ) ; }
|
public virtual ModifyClusterResponse ModifyCluster ( ModifyClusterRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyClusterRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyClusterResponseUnmarshaller . Instance ; return Invoke < ModifyClusterResponse > ( request , options ) ; }
|
public GetRouteResponsesResult getRouteResponses ( GetRouteResponsesRequest request ) { request = beforeClientExecution ( request ) ; return executeGetRouteResponses ( request ) ; }
|
public virtual GetRouteResponsesResponse GetRouteResponses ( GetRouteResponsesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetRouteResponsesRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetRouteResponsesResponseUnmarshaller . Instance ; return Invoke < GetRouteResponsesResponse > ( request , options ) ; }
|
synchronized public QueryMaker getQueryMaker ( ReadTask readTask ) { Class < ? extends ReadTask > readTaskClass = readTask . getClass ( ) ; QueryMaker qm = readTaskQueryMaker . get ( readTaskClass ) ; if ( qm == null ) { try { qm = qmkrClass . getConstructor ( ) . newInstance ( ) ; qm . setConfig ( config ) ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } readTaskQueryMaker . put ( readTaskClass , qm ) ; } return qm ; }
|
public virtual IQueryMaker GetQueryMaker ( ReadTask readTask ) { lock ( this ) { Type readTaskClass = readTask . GetType ( ) ; IQueryMaker qm ; if ( ! readTaskQueryMaker . TryGetValue ( readTaskClass , out qm ) || qm == null ) { try { qm = ( IQueryMaker ) Activator . CreateInstance ( qmkrClass ) ; qm . SetConfig ( config ) ; } catch ( Exception e ) { throw new Exception ( e . ToString ( ) , e ) ; } readTaskQueryMaker [ readTaskClass ] = qm ; } return qm ; } }
|
public boolean promptYesNo ( String msg ) { CredentialItem . YesNoType v = new CredentialItem . YesNoType ( msg ) ; return provider . get ( uri , v ) && v . getValue ( ) ; }
|
public virtual bool PromptYesNo ( string msg ) { CredentialItem . YesNoType v = new CredentialItem . YesNoType ( msg ) ; return provider . Get ( uri , v ) && v . GetValue ( ) ; }
|
public String utf8ToString ( ) { final char [ ] ref = new char [ length ] ; final int len = UnicodeUtil . UTF8toUTF16 ( bytes , offset , length , ref ) ; return new String ( ref , 0 , len ) ; }
|
public string Utf8ToString ( ) { CharsRef @ ref = new CharsRef ( Length ) ; UnicodeUtil . UTF8toUTF16 ( bytes , Offset , Length , @ ref ) ; return @ ref . ToString ( ) ; }
|
public ListCandidatesForAutoMLJobResult listCandidatesForAutoMLJob ( ListCandidatesForAutoMLJobRequest request ) { request = beforeClientExecution ( request ) ; return executeListCandidatesForAutoMLJob ( request ) ; }
|
public virtual ListCandidatesForAutoMLJobResponse ListCandidatesForAutoMLJob ( ListCandidatesForAutoMLJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListCandidatesForAutoMLJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListCandidatesForAutoMLJobResponseUnmarshaller . Instance ; return Invoke < ListCandidatesForAutoMLJobResponse > ( request , options ) ; }
|
public String toFormulaString ( FormulaRenderingWorkbook book ) { return book . resolveNameXText ( this ) ; }
|
public String ToFormulaString ( IFormulaRenderingWorkbook book ) { return book . ResolveNameXText ( this ) ; }
|
public UpdateSkillGroupResult updateSkillGroup ( UpdateSkillGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateSkillGroup ( request ) ; }
|
public virtual UpdateSkillGroupResponse UpdateSkillGroup ( UpdateSkillGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateSkillGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateSkillGroupResponseUnmarshaller . Instance ; return Invoke < UpdateSkillGroupResponse > ( request , options ) ; }
|
public String getValue ( ) { return RawParseUtils . decode ( enc , buffer , valStart , valEnd ) ; }
|
public string GetValue ( ) { return RawParseUtils . Decode ( enc , buffer , valStart , valEnd ) ; }
|
public ListAssociatedFleetsResult listAssociatedFleets ( ListAssociatedFleetsRequest request ) { request = beforeClientExecution ( request ) ; return executeListAssociatedFleets ( request ) ; }
|
public virtual ListAssociatedFleetsResponse ListAssociatedFleets ( ListAssociatedFleetsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListAssociatedFleetsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListAssociatedFleetsResponseUnmarshaller . Instance ; return Invoke < ListAssociatedFleetsResponse > ( request , options ) ; }
|
public void removeLastChild ( ) { if ( children != null ) { children . remove ( children . size ( ) - 1 ) ; } }
|
public virtual void RemoveLastChild ( ) { if ( children != null ) { children . RemoveAt ( children . Count - 1 ) ; } }
|
public void decode ( byte [ ] blocks , int blocksOffset , long [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { final long byte0 = blocks [ blocksOffset ++ ] & 0xFF ; final long byte1 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( byte0 << 6 ) | ( byte1 > > > 2 ) ; final long byte2 = blocks [ blocksOffset ++ ] & 0xFF ; final long byte3 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( ( byte1 & 3 ) << 12 ) | ( byte2 << 4 ) | ( byte3 > > > 4 ) ; final long byte4 = blocks [ blocksOffset ++ ] & 0xFF ; final long byte5 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( ( byte3 & 15 ) << 10 ) | ( byte4 << 2 ) | ( byte5 > > > 6 ) ; final long byte6 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( ( byte5 & 63 ) << 8 ) | byte6 ; } }
|
public override void Decode ( byte [ ] blocks , int blocksOffset , int [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { int byte0 = blocks [ blocksOffset ++ ] & 0xFF ; int byte1 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( byte0 << 6 ) | ( ( int ) ( ( uint ) byte1 > > 2 ) ) ; int byte2 = blocks [ blocksOffset ++ ] & 0xFF ; int byte3 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( ( byte1 & 3 ) << 12 ) | ( byte2 << 4 ) | ( ( int ) ( ( uint ) byte3 > > 4 ) ) ; int byte4 = blocks [ blocksOffset ++ ] & 0xFF ; int byte5 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( ( byte3 & 15 ) << 10 ) | ( byte4 << 2 ) | ( ( int ) ( ( uint ) byte5 > > 6 ) ) ; int byte6 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( ( byte5 & 63 ) << 8 ) | byte6 ; } }
|
public String describeParams ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( "\t" ) . append ( "maxQueryTerms : " ) . append ( maxQueryTerms ) . append ( "\n" ) ; sb . append ( "\t" ) . append ( "minWordLen : " ) . append ( minWordLen ) . append ( "\n" ) ; sb . append ( "\t" ) . append ( "maxWordLen : " ) . append ( maxWordLen ) . append ( "\n" ) ; sb . append ( "\t" ) . append ( "fieldNames : " ) ; String delim = "" ; for ( String fieldName : fieldNames ) { sb . append ( delim ) . append ( fieldName ) ; delim = ", " ; } sb . append ( "\n" ) ; sb . append ( "\t" ) . append ( "boost : " ) . append ( boost ) . append ( "\n" ) ; sb . append ( "\t" ) . append ( "minTermFreq : " ) . append ( minTermFreq ) . append ( "\n" ) ; sb . append ( "\t" ) . append ( "minDocFreq : " ) . append ( minDocFreq ) . append ( "\n" ) ; return sb . toString ( ) ; }
|
public string DescribeParams ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . Append ( "\t" ) . Append ( "maxQueryTerms : " ) . Append ( MaxQueryTerms ) . Append ( "\n" ) ; sb . Append ( "\t" ) . Append ( "minWordLen : " ) . Append ( MinWordLen ) . Append ( "\n" ) ; sb . Append ( "\t" ) . Append ( "maxWordLen : " ) . Append ( MaxWordLen ) . Append ( "\n" ) ; sb . Append ( "\t" ) . Append ( "fieldNames : " ) ; string delim = "" ; foreach ( string fieldName in FieldNames ) { sb . Append ( delim ) . Append ( fieldName ) ; delim = ", " ; } sb . Append ( "\n" ) ; sb . Append ( "\t" ) . Append ( "boost : " ) . Append ( ApplyBoost ) . Append ( "\n" ) ; sb . Append ( "\t" ) . Append ( "minTermFreq : " ) . Append ( MinTermFreq ) . Append ( "\n" ) ; sb . Append ( "\t" ) . Append ( "minDocFreq : " ) . Append ( MinDocFreq ) . Append ( "\n" ) ; return sb . ToString ( ) ; }
|
public RunScheduledInstancesResult runScheduledInstances ( RunScheduledInstancesRequest request ) { request = beforeClientExecution ( request ) ; return executeRunScheduledInstances ( request ) ; }
|
public virtual RunScheduledInstancesResponse RunScheduledInstances ( RunScheduledInstancesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RunScheduledInstancesRequestMarshaller . Instance ; options . ResponseUnmarshaller = RunScheduledInstancesResponseUnmarshaller . Instance ; return Invoke < RunScheduledInstancesResponse > ( request , options ) ; }
|
public static boolean isValidExcelDate ( double value ) { return ( value > - Double . MIN_VALUE ) ; }
|
public static bool IsValidExcelDate ( double value ) { return value > - Double . Epsilon ; }
|
public CreateBranchCommand setForce ( boolean force ) { checkCallable ( ) ; this . force = force ; return this ; }
|
public virtual NGit . Api . CreateBranchCommand SetForce ( bool force ) { CheckCallable ( ) ; this . force = force ; return this ; }
|
public AbstractEscherHolderRecord ( RecordInputStream in ) { if ( ! DESERIALISE ) { rawDataContainer . concatenate ( in . readRemainder ( ) ) ; } else { byte [ ] data = in . readAllContinuedRemainder ( ) ; convertToEscherRecords ( 0 , data . length , data ) ; } }
|
public AbstractEscherHolderRecord ( RecordInputStream in1 ) { escherRecords = new List < EscherRecord > ( ) ; if ( ! DESERIALISE ) { rawDataContainer . Concatenate ( in1 . ReadRemainder ( ) ) ; } else { byte [ ] data = in1 . ReadAllContinuedRemainder ( ) ; ConvertToEscherRecords ( 0 , data . Length , data ) ; } }
|
public int next ( int n ) { currentSentence += n ; if ( n < 0 ) { if ( text . getIndex ( ) == text . getEndIndex ( ) ) { ++ currentSentence ; } if ( currentSentence < 0 ) { currentSentence = 0 ; text . setIndex ( text . getBeginIndex ( ) ) ; return DONE ; } else { text . setIndex ( sentenceStarts [ currentSentence ] ) ; } } else if ( n > 0 ) { if ( currentSentence >= sentenceStarts . length ) { currentSentence = sentenceStarts . length - 1 ; text . setIndex ( text . getEndIndex ( ) ) ; return DONE ; } else { text . setIndex ( sentenceStarts [ currentSentence ] ) ; } } return current ( ) ; }
|
public override int Next ( int n ) { currentSentence += n ; if ( n < 0 ) { if ( text . Index == text . EndIndex ) { ++ currentSentence ; } if ( currentSentence < 0 ) { currentSentence = 0 ; text . SetIndex ( text . BeginIndex ) ; return Done ; } else { text . SetIndex ( sentenceStarts [ currentSentence ] ) ; } } else if ( n > 0 ) { if ( currentSentence >= sentenceStarts . Length ) { currentSentence = sentenceStarts . Length - 1 ; text . SetIndex ( text . EndIndex ) ; return Done ; } else { text . SetIndex ( sentenceStarts [ currentSentence ] ) ; } } return Current ; }
|
public boolean equals ( Object obj ) { if ( this == obj ) return true ; if ( obj == null ) return false ; if ( getClass ( ) != obj . getClass ( ) ) return false ; RunAutomaton other = ( RunAutomaton ) obj ; if ( alphabetSize != other . alphabetSize ) return false ; if ( size != other . size ) return false ; if ( ! Arrays . equals ( points , other . points ) ) return false ; if ( ! accept . equals ( other . accept ) ) return false ; if ( ! Arrays . equals ( transitions , other . transitions ) ) return false ; return true ; }
|
public override bool Equals ( object obj ) { if ( this == obj ) { return true ; } if ( obj == null ) { return false ; } if ( this . GetType ( ) != obj . GetType ( ) ) { return false ; } RunAutomaton other = ( RunAutomaton ) obj ; if ( m_initial != other . m_initial ) { return false ; } if ( _maxInterval != other . _maxInterval ) { return false ; } if ( _size != other . _size ) { return false ; } if ( ! Arrays . Equals ( _points , other . _points ) ) { return false ; } if ( ! Arrays . Equals ( m_accept , other . m_accept ) ) { return false ; } if ( ! Arrays . Equals ( m_transitions , other . m_transitions ) ) { return false ; } return true ; }
|
public void setOffset ( long offset ) { this . offset = offset ; }
|
public virtual void SetOffset ( long offset ) { this . offset = offset ; }
|
public DescribeKeyPairsResult describeKeyPairs ( ) { return describeKeyPairs ( new DescribeKeyPairsRequest ( ) ) ; }
|
public virtual DescribeKeyPairsResponse DescribeKeyPairs ( ) { return DescribeKeyPairs ( new DescribeKeyPairsRequest ( ) ) ; }
|
public ParseTree get ( String label ) { List < ParseTree > parseTrees = labels . get ( label ) ; if ( parseTrees == null || parseTrees . size ( ) == 0 ) { return null ; } return parseTrees . get ( parseTrees . size ( ) - 1 ) ; }
|
public virtual IParseTree Get ( string label ) { IList < IParseTree > parseTrees = labels . Get ( label ) ; if ( parseTrees == null || parseTrees . Count == 0 ) { return null ; } return parseTrees [ parseTrees . Count - 1 ] ; }
|
public ListRecordsResult listRecords ( ListRecordsRequest request ) { request = beforeClientExecution ( request ) ; return executeListRecords ( request ) ; }
|
public virtual ListRecordsResponse ListRecords ( ListRecordsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListRecordsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListRecordsResponseUnmarshaller . Instance ; return Invoke < ListRecordsResponse > ( request , options ) ; }
|
public DetectStackResourceDriftResult detectStackResourceDrift ( DetectStackResourceDriftRequest request ) { request = beforeClientExecution ( request ) ; return executeDetectStackResourceDrift ( request ) ; }
|
public virtual DetectStackResourceDriftResponse DetectStackResourceDrift ( DetectStackResourceDriftRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DetectStackResourceDriftRequestMarshaller . Instance ; options . ResponseUnmarshaller = DetectStackResourceDriftResponseUnmarshaller . Instance ; return Invoke < DetectStackResourceDriftResponse > ( request , options ) ; }
|
public String encodeText ( String originalText ) { return htmlEncode ( originalText ) ; }
|
public string EncodeText ( string originalText ) { return HtmlEncode ( originalText ) ; }
|
public Collection < ParseTree > evaluate ( ParseTree t ) { if ( invert ) return new ArrayList < ParseTree > ( ) ; return Trees . getDescendants ( t ) ; }
|
public override ICollection < IParseTree > Evaluate ( IParseTree t ) { if ( invert ) { return new List < IParseTree > ( ) ; } return Trees . Descendants ( t ) ; }
|
public DeleteUsagePlanKeyResult deleteUsagePlanKey ( DeleteUsagePlanKeyRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteUsagePlanKey ( request ) ; }
|
public virtual DeleteUsagePlanKeyResponse DeleteUsagePlanKey ( DeleteUsagePlanKeyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteUsagePlanKeyRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteUsagePlanKeyResponseUnmarshaller . Instance ; return Invoke < DeleteUsagePlanKeyResponse > ( request , options ) ; }
|
public String getLocalName ( ) { return localName ; }
|
public virtual string GetLocalName ( ) { return localName ; }
|
public DeleteDocumentResult deleteDocument ( DeleteDocumentRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDocument ( request ) ; }
|
public virtual DeleteDocumentResponse DeleteDocument ( DeleteDocumentRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDocumentRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDocumentResponseUnmarshaller . Instance ; return Invoke < DeleteDocumentResponse > ( request , options ) ; }
|
public int getExternalSheetIndex ( String sheetName ) { int sheetIndex = _uBook . getSheetIndex ( sheetName ) ; return _iBook . checkExternSheet ( sheetIndex ) ; }
|
public int GetExternalSheetIndex ( String sheetName ) { int sheetIndex = _uBook . GetSheetIndex ( sheetName ) ; return _iBook . CheckExternSheet ( sheetIndex ) ; }
|
public IdentityEncoder ( Charset charset ) { this . charset = charset ; }
|
public IdentityEncoder ( Encoding charset ) { this . m_charset = charset ; }
|
public static SupBookRecord createInternalReferences ( short numberOfSheets ) { return new SupBookRecord ( false , numberOfSheets ) ; }
|
public static SupBookRecord CreateInternalReferences ( short numberOfSheets ) { return new SupBookRecord ( false , numberOfSheets ) ; }
|
public DBInstance createDBInstanceReadReplica ( CreateDBInstanceReadReplicaRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateDBInstanceReadReplica ( request ) ; }
|
public virtual CreateDBInstanceReadReplicaResponse CreateDBInstanceReadReplica ( CreateDBInstanceReadReplicaRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateDBInstanceReadReplicaRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateDBInstanceReadReplicaResponseUnmarshaller . Instance ; return Invoke < CreateDBInstanceReadReplicaResponse > ( request , options ) ; }
|
public DescribePartnerEventSourceResult describePartnerEventSource ( DescribePartnerEventSourceRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribePartnerEventSource ( request ) ; }
|
public virtual DescribePartnerEventSourceResponse DescribePartnerEventSource ( DescribePartnerEventSourceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribePartnerEventSourceRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribePartnerEventSourceResponseUnmarshaller . Instance ; return Invoke < DescribePartnerEventSourceResponse > ( request , options ) ; }
|
public EnterStandbyResult enterStandby ( EnterStandbyRequest request ) { request = beforeClientExecution ( request ) ; return executeEnterStandby ( request ) ; }
|
public virtual EnterStandbyResponse EnterStandby ( EnterStandbyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = EnterStandbyRequestMarshaller . Instance ; options . ResponseUnmarshaller = EnterStandbyResponseUnmarshaller . Instance ; return Invoke < EnterStandbyResponse > ( request , options ) ; }
|
public ParseException generateParseException ( ) { jj_expentries . clear ( ) ; boolean [ ] la1tokens = new boolean [ 24 ] ; if ( jj_kind >= 0 ) { la1tokens [ jj_kind ] = true ; jj_kind = - 1 ; } for ( int i = 0 ; i < 10 ; i ++ ) { if ( jj_la1 [ i ] == jj_gen ) { for ( int j = 0 ; j < 32 ; j ++ ) { if ( ( jj_la1_0 [ i ] & ( 1 << j ) ) != 0 ) { la1tokens [ j ] = true ; } } } } for ( int i = 0 ; i < 24 ; i ++ ) { if ( la1tokens [ i ] ) { jj_expentry = new int [ 1 ] ; jj_expentry [ 0 ] = i ; jj_expentries . add ( jj_expentry ) ; } } jj_endpos = 0 ; jj_rescan_token ( ) ; jj_add_error_token ( 0 , 0 ) ; int [ ] [ ] exptokseq = new int [ jj_expentries . size ( ) ] [ ] ; for ( int i = 0 ; i < jj_expentries . size ( ) ; i ++ ) { exptokseq [ i ] = jj_expentries . get ( i ) ; } return new ParseException ( token , exptokseq , tokenImage ) ; }
|
public virtual ParseException GenerateParseException ( ) { jj_expentries . Clear ( ) ; bool [ ] la1tokens = new bool [ 33 ] ; if ( jj_kind >= 0 ) { la1tokens [ jj_kind ] = true ; jj_kind = - 1 ; } for ( int i = 0 ; i < 21 ; i ++ ) { if ( jj_la1 [ i ] == jj_gen ) { for ( int j = 0 ; j < 32 ; j ++ ) { if ( ( jj_la1_0 [ i ] & ( 1 << j ) ) != 0 ) { la1tokens [ j ] = true ; } if ( ( jj_la1_1 [ i ] & ( 1 << j ) ) != 0 ) { la1tokens [ 32 + j ] = true ; } } } } for ( int i = 0 ; i < 33 ; i ++ ) { if ( la1tokens [ i ] ) { jj_expentry = new int [ 1 ] ; jj_expentry [ 0 ] = i ; jj_expentries . Add ( jj_expentry ) ; } } jj_endpos = 0 ; Jj_rescan_token ( ) ; Jj_add_error_token ( 0 , 0 ) ; int [ ] [ ] exptokseq = new int [ jj_expentries . Count ] [ ] ; for ( int i = 0 ; i < jj_expentries . Count ; i ++ ) { exptokseq [ i ] = jj_expentries [ i ] ; } return new ParseException ( Token , exptokseq , QueryParserConstants . TokenImage ) ; }
|
public CreateCloudFrontOriginAccessIdentityRequest ( CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig ) { setCloudFrontOriginAccessIdentityConfig ( cloudFrontOriginAccessIdentityConfig ) ; }
|
public CreateCloudFrontOriginAccessIdentityRequest ( CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig ) { _cloudFrontOriginAccessIdentityConfig = cloudFrontOriginAccessIdentityConfig ; }
|
public ResetFpgaImageAttributeResult resetFpgaImageAttribute ( ResetFpgaImageAttributeRequest request ) { request = beforeClientExecution ( request ) ; return executeResetFpgaImageAttribute ( request ) ; }
|
public virtual ResetFpgaImageAttributeResponse ResetFpgaImageAttribute ( ResetFpgaImageAttributeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ResetFpgaImageAttributeRequestMarshaller . Instance ; options . ResponseUnmarshaller = ResetFpgaImageAttributeResponseUnmarshaller . Instance ; return Invoke < ResetFpgaImageAttributeResponse > ( request , options ) ; }
|
public void serialize ( ContinuableRecordOutput out ) { out . writeInt ( _numStrings ) ; out . writeInt ( _numUniqueStrings ) ; for ( int k = 0 ; k < strings . size ( ) ; k ++ ) { if ( k % ExtSSTRecord . DEFAULT_BUCKET_SIZE == 0 ) { int rOff = out . getTotalSize ( ) ; int index = k / ExtSSTRecord . DEFAULT_BUCKET_SIZE ; if ( index < ExtSSTRecord . MAX_BUCKETS ) { bucketAbsoluteOffsets [ index ] = rOff ; bucketRelativeOffsets [ index ] = rOff ; } } UnicodeString s = getUnicodeString ( k ) ; s . serialize ( out ) ; } }
|
public void Serialize ( ContinuableRecordOutput out1 ) { out1 . WriteInt ( _numStrings ) ; out1 . WriteInt ( _numUniqueStrings ) ; for ( int k = 0 ; k < strings . Size ; k ++ ) { if ( k % ExtSSTRecord . DEFAULT_BUCKET_SIZE == 0 ) { int rOff = out1 . TotalSize ; int index = k / ExtSSTRecord . DEFAULT_BUCKET_SIZE ; if ( index < ExtSSTRecord . MAX_BUCKETS ) { bucketAbsoluteOffsets [ index ] = rOff ; bucketRelativeOffsets [ index ] = rOff ; } } UnicodeString s = GetUnicodeString ( k ) ; s . Serialize ( out1 ) ; } }
|
public DeleteGroupMembershipResult deleteGroupMembership ( DeleteGroupMembershipRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteGroupMembership ( request ) ; }
|
public virtual DeleteGroupMembershipResponse DeleteGroupMembership ( DeleteGroupMembershipRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteGroupMembershipRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteGroupMembershipResponseUnmarshaller . Instance ; return Invoke < DeleteGroupMembershipResponse > ( request , options ) ; }
|
public GetHostedZoneCountResult getHostedZoneCount ( ) { return getHostedZoneCount ( new GetHostedZoneCountRequest ( ) ) ; }
|
public virtual GetHostedZoneCountResponse GetHostedZoneCount ( ) { return GetHostedZoneCount ( new GetHostedZoneCountRequest ( ) ) ; }
|
public NameXPtg getNameXPtg ( String name , int sheetRefIndex ) { for ( int i = 0 ; i < _externalBookBlocks . length ; i ++ ) { int definedNameIndex = _externalBookBlocks [ i ] . getIndexOfName ( name ) ; if ( definedNameIndex < 0 ) { continue ; } int thisSheetRefIndex = findRefIndexFromExtBookIndex ( i ) ; if ( thisSheetRefIndex >= 0 ) { if ( sheetRefIndex == - 1 || thisSheetRefIndex == sheetRefIndex ) { return new NameXPtg ( thisSheetRefIndex , definedNameIndex ) ; } } } return null ; }
|
public NameXPtg GetNameXPtg ( String name , int sheetRefIndex ) { for ( int i = 0 ; i < _externalBookBlocks . Length ; i ++ ) { int definedNameIndex = _externalBookBlocks [ i ] . GetIndexOfName ( name ) ; if ( definedNameIndex < 0 ) { continue ; } int thisSheetRefIndex = FindRefIndexFromExtBookIndex ( i ) ; if ( thisSheetRefIndex >= 0 ) { if ( sheetRefIndex == - 1 || thisSheetRefIndex == sheetRefIndex ) { return new NameXPtg ( thisSheetRefIndex , definedNameIndex ) ; } } } return null ; }
|
public E pop ( ) { return removeFirstImpl ( ) ; }
|
public virtual E pop ( ) { return removeFirstImpl ( ) ; }
|
public void set ( ET object ) { if ( expectedModCount == list . modCount ) { if ( lastLink != null ) { lastLink . data = object ; } else { throw new IllegalStateException ( ) ; } } else { throw new ConcurrentModificationException ( ) ; } }
|
public void set ( ET @ object ) { if ( expectedModCount == list . modCount ) { if ( lastLink != null ) { lastLink . data = @ object ; } else { throw new System . InvalidOperationException ( ) ; } } else { throw new java . util . ConcurrentModificationException ( ) ; } }
|
public ElisionFilterFactory ( Map < String , String > args ) { super ( args ) ; articlesFile = get ( args , "articles" ) ; ignoreCase = getBoolean ( args , "ignoreCase" , false ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
|
public ElisionFilterFactory ( IDictionary < string , string > args ) : base ( args ) { articlesFile = Get ( args , "articles" ) ; ignoreCase = GetBoolean ( args , "ignoreCase" , false ) ; if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }
|
public int [ ] grow ( ) { final int [ ] ord = super . grow ( ) ; if ( start . length < ord . length ) { start = ArrayUtil . grow ( start , ord . length ) ; end = ArrayUtil . grow ( end , ord . length ) ; freq = ArrayUtil . grow ( freq , ord . length ) ; } assert start . length >= ord . length ; assert end . length >= ord . length ; assert freq . length >= ord . length ; return ord ; }
|
public override int [ ] Grow ( ) { int [ ] ord = base . Grow ( ) ; if ( start . Length < ord . Length ) { start = ArrayUtil . Grow ( start , ord . Length ) ; end = ArrayUtil . Grow ( end , ord . Length ) ; freq = ArrayUtil . Grow ( freq , ord . Length ) ; } Debug . Assert ( start . Length >= ord . Length ) ; Debug . Assert ( end . Length >= ord . Length ) ; Debug . Assert ( freq . Length >= ord . Length ) ; return ord ; }
|
public GetPersonalizedRankingResult getPersonalizedRanking ( GetPersonalizedRankingRequest request ) { request = beforeClientExecution ( request ) ; return executeGetPersonalizedRanking ( request ) ; }
|
public virtual GetPersonalizedRankingResponse GetPersonalizedRanking ( GetPersonalizedRankingRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetPersonalizedRankingRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetPersonalizedRankingResponseUnmarshaller . Instance ; return Invoke < GetPersonalizedRankingResponse > ( request , options ) ; }
|
public ObjectId getObjectId ( ) { return ObjectId . fromRaw ( idBuffer ( ) , idOffset ( ) ) ; }
|
public virtual ObjectId GetObjectId ( ) { return ObjectId . FromRaw ( IdBuffer , IdOffset ) ; }
|
public void serialize ( LittleEndianOutput out ) { out . writeInt ( getFirstRow ( ) ) ; out . writeInt ( getLastRow ( ) ) ; out . writeShort ( getFirstCol ( ) ) ; out . writeShort ( getLastCol ( ) ) ; out . writeShort ( ( short ) 0 ) ; }
|
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteInt ( FirstRow ) ; out1 . WriteInt ( LastRow ) ; out1 . WriteShort ( FirstCol ) ; out1 . WriteShort ( LastCol ) ; out1 . WriteShort ( ( short ) 0 ) ; }
|
public RmCommand ( Repository repo ) { super ( repo ) ; filepatterns = new LinkedList < > ( ) ; }
|
protected internal RmCommand ( Repository repo ) : base ( repo ) { filepatterns = new List < string > ( ) ; }
|
public void recover ( Parser recognizer , RecognitionException e ) { for ( ParserRuleContext context = recognizer . getContext ( ) ; context != null ; context = context . getParent ( ) ) { context . exception = e ; } throw new ParseCancellationException ( e ) ; }
|
public override void Recover ( Parser recognizer , RecognitionException e ) { for ( ParserRuleContext context = recognizer . Context ; context != null ; context = ( ( ParserRuleContext ) context . Parent ) ) { context . exception = e ; } throw new ParseCanceledException ( e ) ; }
|
public static BATBlock createBATBlock ( final POIFSBigBlockSize bigBlockSize , ByteBuffer data ) { BATBlock block = new BATBlock ( bigBlockSize ) ; byte [ ] buffer = new byte [ LittleEndian . INT_SIZE ] ; for ( int i = 0 ; i < block . _values . length ; i ++ ) { data . get ( buffer ) ; block . _values [ i ] = LittleEndian . getInt ( buffer ) ; } block . recomputeFree ( ) ; return block ; }
|
public static BATBlock CreateBATBlock ( POIFSBigBlockSize bigBlockSize , ByteBuffer data ) { BATBlock block = new BATBlock ( bigBlockSize ) ; byte [ ] buffer = new byte [ LittleEndianConsts . INT_SIZE ] ; for ( int i = 0 ; i < block . _values . Length ; i ++ ) { data . Read ( buffer ) ; block . _values [ i ] = LittleEndian . GetInt ( buffer ) ; } block . RecomputeFree ( ) ; return block ; }
|
public byte [ ] toByteArray ( ) throws IOException { final long len = length ( ) ; if ( Integer . MAX_VALUE < len ) throw new OutOfMemoryError ( JGitText . get ( ) . lengthExceedsMaximumArraySize ) ; final byte [ ] out = new byte [ ( int ) len ] ; int outPtr = 0 ; for ( Block b : blocks ) { System . arraycopy ( b . buffer , 0 , out , outPtr , b . count ) ; outPtr += b . count ; } return out ; }
|
public virtual byte [ ] ToByteArray ( ) { long len = Length ( ) ; if ( int . MaxValue < len ) { throw new OutOfMemoryException ( JGitText . Get ( ) . lengthExceedsMaximumArraySize ) ; } byte [ ] @ out = new byte [ ( int ) len ] ; int outPtr = 0 ; foreach ( TemporaryBuffer . Block b in blocks ) { System . Array . Copy ( b . buffer , 0 , @ out , outPtr , b . count ) ; outPtr += b . count ; } return @ out ; }
|
public short clearShort ( final short holder ) { return ( short ) clear ( holder ) ; }
|
public short ClearShort ( short holder ) { return ( short ) this . Clear ( holder ) ; }
|
public final String toString ( ) { StringBuilder sb = new StringBuilder ( ) ; String recordName = getRecordName ( ) ; sb . append ( "[" ) . append ( recordName ) . append ( "]\n" ) ; sb . append ( " .row = " ) . append ( HexDump . shortToHex ( getRow ( ) ) ) . append ( "\n" ) ; sb . append ( " .col = " ) . append ( HexDump . shortToHex ( getColumn ( ) ) ) . append ( "\n" ) ; sb . append ( " .xfindex= " ) . append ( HexDump . shortToHex ( getXFIndex ( ) ) ) . append ( "\n" ) ; appendValueText ( sb ) ; sb . append ( "\n" ) ; sb . append ( "[/" ) . append ( recordName ) . append ( "]\n" ) ; return sb . toString ( ) ; }
|
public override String ToString ( ) { StringBuilder sb = new StringBuilder ( ) ; String recordName = RecordName ; sb . Append ( "[" ) . Append ( recordName ) . Append ( "]\n" ) ; sb . Append ( " .row = " ) . Append ( HexDump . ShortToHex ( Row ) ) . Append ( "\n" ) ; sb . Append ( " .col = " ) . Append ( HexDump . ShortToHex ( Column ) ) . Append ( "\n" ) ; sb . Append ( " .xfindex= " ) . Append ( HexDump . ShortToHex ( XFIndex ) ) . Append ( "\n" ) ; AppendValueText ( sb ) ; sb . Append ( "\n" ) ; sb . Append ( "[/" ) . Append ( recordName ) . Append ( "]\n" ) ; return sb . ToString ( ) ; }
|
public IllegalFormatCodePointException ( int c ) { this . c = c ; }
|
public IllegalFormatCodePointException ( int c ) { this . c = c ; }
|
public CharSequence toQueryString ( EscapeQuerySyntax escapeSyntaxParser ) { return "@" + this . schema + ":'" + this . value + "'" ; }
|
public override string ToQueryString ( IEscapeQuerySyntax escapeSyntaxParser ) { return "@" + this . schema + ":'" + this . value + "'" ; }
|
public ValueEval evaluate ( ValueEval [ ] args , OperationEvaluationContext ec ) { if ( args . length != 2 ) { return ErrorEval . VALUE_INVALID ; } try { double startDateAsNumber = NumericFunction . singleOperandEvaluate ( args [ 0 ] , ec . getRowIndex ( ) , ec . getColumnIndex ( ) ) ; int months = ( int ) NumericFunction . singleOperandEvaluate ( args [ 1 ] , ec . getRowIndex ( ) , ec . getColumnIndex ( ) ) ; if ( startDateAsNumber >= 0.0 && startDateAsNumber < 1.0 ) { startDateAsNumber = 1.0 ; } Date startDate = DateUtil . getJavaDate ( startDateAsNumber , false ) ; Calendar cal = LocaleUtil . getLocaleCalendar ( ) ; cal . setTime ( startDate ) ; cal . clear ( Calendar . HOUR ) ; cal . set ( Calendar . HOUR_OF_DAY , 0 ) ; cal . clear ( Calendar . MINUTE ) ; cal . clear ( Calendar . SECOND ) ; cal . clear ( Calendar . MILLISECOND ) ; cal . add ( Calendar . MONTH , months + 1 ) ; cal . set ( Calendar . DAY_OF_MONTH , 1 ) ; cal . add ( Calendar . DAY_OF_MONTH , - 1 ) ; return new NumberEval ( DateUtil . getExcelDate ( cal . getTime ( ) ) ) ; } catch ( EvaluationException e ) { return e . getErrorEval ( ) ; } }
|
public ValueEval Evaluate ( ValueEval [ ] args , OperationEvaluationContext ec ) { if ( args . Length != 2 ) { return ErrorEval . VALUE_INVALID ; } try { double startDateAsNumber = NumericFunction . SingleOperandEvaluate ( args [ 0 ] , ec . RowIndex , ec . ColumnIndex ) ; int months = ( int ) NumericFunction . SingleOperandEvaluate ( args [ 1 ] , ec . RowIndex , ec . ColumnIndex ) ; if ( startDateAsNumber >= 0.0 && startDateAsNumber < 1.0 ) { startDateAsNumber = 1.0 ; } DateTime startDate = DateUtil . GetJavaDate ( startDateAsNumber , false ) ; DateTime dtEnd = startDate . AddMonths ( months ) ; dtEnd = dtEnd . AddMonths ( 1 ) ; dtEnd = new DateTime ( dtEnd . Year , dtEnd . Month , 1 ) ; dtEnd = dtEnd . AddDays ( - 1 ) ; return new NumberEval ( DateUtil . GetExcelDate ( dtEnd ) ) ; } catch ( EvaluationException e ) { return e . GetErrorEval ( ) ; } }
|
public UnicodeString getSSTString ( int str ) { if ( sst == null ) { insertSST ( ) ; } UnicodeString retval = sst . getString ( str ) ; LOG . log ( DEBUG , "Returning SST for index=" , str , " String= " , retval ) ; return retval ; }
|
public UnicodeString GetSSTString ( int str ) { if ( sst == null ) { InsertSST ( ) ; } UnicodeString retval = sst . GetString ( str ) ; return retval ; }
|
public String quote ( String in ) { final StringBuilder r = new StringBuilder ( ) ; r . append ( '\'' ) ; int start = 0 , i = 0 ; for ( ; i < in . length ( ) ; i ++ ) { switch ( in . charAt ( i ) ) { case '\'' : case '!' : r . append ( in , start , i ) ; r . append ( '\'' ) ; r . append ( '\\' ) ; r . append ( in . charAt ( i ) ) ; r . append ( '\'' ) ; start = i + 1 ; break ; } } r . append ( in , start , i ) ; r . append ( '\'' ) ; return r . toString ( ) ; }
|
public override string Quote ( string @ in ) { StringBuilder r = new StringBuilder ( ) ; r . Append ( '\'' ) ; int start = 0 ; int i = 0 ; for ( ; i < @ in . Length ; i ++ ) { switch ( @ in [ i ] ) { case '\'' : case '!' : { r . AppendRange ( @ in , start , i ) ; r . Append ( '\'' ) ; r . Append ( '\\' ) ; r . Append ( @ in [ i ] ) ; r . Append ( '\'' ) ; start = i + 1 ; break ; } } } r . AppendRange ( @ in , start , i ) ; r . Append ( '\'' ) ; return r . ToString ( ) ; }
|
public void clear ( ) { lastElement = 0 ; currentOffset = 0 ; Arrays . fill ( offsets , 0 ) ; pool . reset ( false , true ) ; }
|
public void Clear ( ) { lastElement = 0 ; currentOffset = 0 ; Array . Clear ( offsets , 0 , offsets . Length ) ; pool . Reset ( false , true ) ; }
|
public ReplaceableItem ( String name , java . util . List < ReplaceableAttribute > attributes ) { setName ( name ) ; setAttributes ( attributes ) ; }
|
public ReplaceableItem ( string name , List < ReplaceableAttribute > attributes ) { _name = name ; _attributes = attributes ; }
|
public int getScore ( ) { return score ; }
|
public virtual int GetScore ( ) { return score ; }
|
public IrishLowerCaseFilter ( TokenStream in ) { super ( in ) ; }
|
public IrishLowerCaseFilter ( TokenStream @ in ) : base ( @ in ) { termAtt = AddAttribute < ICharTermAttribute > ( ) ; }
|
public synchronized void setSecondaryProgress ( int secondaryProgress ) { if ( mIndeterminate ) { return ; } if ( secondaryProgress < 0 ) { secondaryProgress = 0 ; } if ( secondaryProgress > mMax ) { secondaryProgress = mMax ; } if ( secondaryProgress != mSecondaryProgress ) { mSecondaryProgress = secondaryProgress ; refreshProgress ( R . id . secondaryProgress , mSecondaryProgress , false ) ; } }
|
public virtual void setSecondaryProgress ( int secondaryProgress ) { lock ( this ) { if ( mIndeterminate ) { return ; } if ( secondaryProgress < 0 ) { secondaryProgress = 0 ; } if ( secondaryProgress > mMax ) { secondaryProgress = mMax ; } if ( secondaryProgress != mSecondaryProgress ) { mSecondaryProgress = secondaryProgress ; refreshProgress ( android . @ internal . R . id . secondaryProgress , mSecondaryProgress , false ) ; } } }
|
public static byte [ ] grow ( byte [ ] array ) { return grow ( array , 1 + array . length ) ; }
|
public static short [ ] Grow ( short [ ] array ) { return Grow ( array , 1 + array . Length ) ; }
|
public List < Token > getHiddenTokensToRight ( int tokenIndex ) { return getHiddenTokensToRight ( tokenIndex , - 1 ) ; }
|
public virtual IList < IToken > GetHiddenTokensToRight ( int tokenIndex ) { return GetHiddenTokensToRight ( tokenIndex , - 1 ) ; }
|
public DataValidityTable ( ) { _headerRec = new DVALRecord ( ) ; _validationList = new ArrayList < > ( ) ; }
|
public DataValidityTable ( ) { _headerRec = new DVALRecord ( ) ; _validationList = new ArrayList ( ) ; }
|
public EvaluationException ( ErrorEval errorEval ) { _errorEval = errorEval ; }
|
public EvaluationException ( ErrorEval errorEval ) { _errorEval = errorEval ; }
|
public UpdateConfigurationTemplateRequest ( String applicationName , String templateName ) { setApplicationName ( applicationName ) ; setTemplateName ( templateName ) ; }
|
public UpdateConfigurationTemplateRequest ( string applicationName , string templateName ) { _applicationName = applicationName ; _templateName = templateName ; }
|
public DescribeAvailabilityZonesResult describeAvailabilityZones ( DescribeAvailabilityZonesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeAvailabilityZones ( request ) ; }
|
public virtual DescribeAvailabilityZonesResponse DescribeAvailabilityZones ( DescribeAvailabilityZonesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeAvailabilityZonesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeAvailabilityZonesResponseUnmarshaller . Instance ; return Invoke < DescribeAvailabilityZonesResponse > ( request , options ) ; }
|
public static int idealShortArraySize ( int need ) { return idealByteArraySize ( need * 2 ) / 2 ; }
|
public static int idealShortArraySize ( int need ) { return idealByteArraySize ( need * 2 ) / 2 ; }
|
public NumericPayloadTokenFilterFactory ( Map < String , String > args ) { super ( args ) ; payload = requireFloat ( args , "payload" ) ; typeMatch = require ( args , "typeMatch" ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
|
public NumericPayloadTokenFilterFactory ( IDictionary < string , string > args ) : base ( args ) { payload = RequireSingle ( args , "payload" ) ; typeMatch = Require ( args , "typeMatch" ) ; if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }
|
public void decode ( byte [ ] blocks , int blocksOffset , long [ ] values , int valuesOffset , int iterations ) { for ( int j = 0 ; j < iterations ; ++ j ) { values [ valuesOffset ++ ] = blocks [ blocksOffset ++ ] & 0xFF ; } }
|
public override void Decode ( byte [ ] blocks , int blocksOffset , long [ ] values , int valuesOffset , int iterations ) { for ( int j = 0 ; j < iterations ; ++ j ) { values [ valuesOffset ++ ] = blocks [ blocksOffset ++ ] & 0xFF ; } }
|
public DescribeResourcePermissionsResult describeResourcePermissions ( DescribeResourcePermissionsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeResourcePermissions ( request ) ; }
|
public virtual DescribeResourcePermissionsResponse DescribeResourcePermissions ( DescribeResourcePermissionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeResourcePermissionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeResourcePermissionsResponseUnmarshaller . Instance ; return Invoke < DescribeResourcePermissionsResponse > ( request , options ) ; }
|
public TokenStream create ( TokenStream input ) { return map . fst == null ? input : new SynonymFilter ( input , map , ignoreCase ) ; }
|
public override TokenStream Create ( TokenStream input ) { return delegator . Create ( input ) ; }
|
public List < String > getRuleInvocationStack ( ) { return getRuleInvocationStack ( _ctx ) ; }
|
public virtual IList < string > GetRuleInvocationStack ( ) { return GetRuleInvocationStack ( _ctx ) ; }
|
public void write ( String s ) { reserve ( s . length ( ) ) ; s . getChars ( 0 , s . length ( ) , buf , len ) ; len += s . length ( ) ; }
|
public virtual void Write ( char b ) { if ( m_len >= m_buf . Length ) { Resize ( m_len + 1 ) ; } UnsafeWrite ( b ) ; }
|
public void clear ( ) { map . clear ( ) ; }
|
public virtual void Clear ( ) { map . Clear ( ) ; }
|
public DeleteWorkteamResult deleteWorkteam ( DeleteWorkteamRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteWorkteam ( request ) ; }
|
public virtual DeleteWorkteamResponse DeleteWorkteam ( DeleteWorkteamRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteWorkteamRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteWorkteamResponseUnmarshaller . Instance ; return Invoke < DeleteWorkteamResponse > ( request , options ) ; }
|
public String toString ( ) { return "(" + a . toString ( ) + " OR " + b . toString ( ) + ")" ; }
|
public override string ToString ( ) { return "(" + a . ToString ( ) + " AND " + b . ToString ( ) + ")" ; }
|
public TreeFilter clone ( ) { final TreeFilter [ ] s = new TreeFilter [ subfilters . length ] ; for ( int i = 0 ; i < s . length ; i ++ ) s [ i ] = subfilters [ i ] . clone ( ) ; return new List ( s ) ; }
|
public override TreeFilter Clone ( ) { TreeFilter [ ] s = new TreeFilter [ subfilters . Length ] ; for ( int i = 0 ; i < s . Length ; i ++ ) { s [ i ] = subfilters [ i ] . Clone ( ) ; } return new AndTreeFilter . List ( s ) ; }
|
public String toString ( ) { StringBuilder buf = new StringBuilder ( ) ; buf . append ( "DiffEntry[" ) ; buf . append ( changeType ) ; buf . append ( " " ) ; switch ( changeType ) { case ADD : buf . append ( newPath ) ; break ; case COPY : buf . append ( oldPath + "->" + newPath ) ; break ; case DELETE : buf . append ( oldPath ) ; break ; case MODIFY : buf . append ( oldPath ) ; break ; case RENAME : buf . append ( oldPath + "->" + newPath ) ; break ; } buf . append ( "]" ) ; return buf . toString ( ) ; }
|
public override string ToString ( ) { StringBuilder buf = new StringBuilder ( ) ; buf . Append ( "DiffEntry[" ) ; buf . Append ( changeType ) ; buf . Append ( " " ) ; switch ( changeType ) { case DiffEntry . ChangeType . ADD : { buf . Append ( newPath ) ; break ; } case DiffEntry . ChangeType . COPY : { buf . Append ( oldPath + "->" + newPath ) ; break ; } case DiffEntry . ChangeType . DELETE : { buf . Append ( oldPath ) ; break ; } case DiffEntry . ChangeType . MODIFY : { buf . Append ( oldPath ) ; break ; } case DiffEntry . ChangeType . RENAME : { buf . Append ( oldPath + "->" + newPath ) ; break ; } } buf . Append ( "]" ) ; return buf . ToString ( ) ; }
|
public CreateRepositoryResult createRepository ( CreateRepositoryRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateRepository ( request ) ; }
|
public virtual CreateRepositoryResponse CreateRepository ( CreateRepositoryRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateRepositoryRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateRepositoryResponseUnmarshaller . Instance ; return Invoke < CreateRepositoryResponse > ( request , options ) ; }
|
public static String toHex ( String value ) { return ( value == null || value . length ( ) == 0 ) ? "[]" : toHex ( value . getBytes ( LocaleUtil . CHARSET_1252 ) ) ; }
|
public static string ToHex ( int value ) { return ToHex ( ( long ) value , 8 ) ; }
|
public LineFormatRecord ( RecordInputStream in ) { field_1_lineColor = in . readInt ( ) ; field_2_linePattern = in . readShort ( ) ; field_3_weight = in . readShort ( ) ; field_4_format = in . readShort ( ) ; field_5_colourPaletteIndex = in . readShort ( ) ; }
|
public LineFormatRecord ( RecordInputStream in1 ) { field_1_lineColor = in1 . ReadInt ( ) ; field_2_linePattern = in1 . ReadShort ( ) ; field_3_weight = in1 . ReadShort ( ) ; field_4_format = in1 . ReadShort ( ) ; field_5_colourPaletteIndex = in1 . ReadShort ( ) ; }
|
public DescribeClusterResult describeCluster ( DescribeClusterRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeCluster ( request ) ; }
|
public virtual DescribeClusterResponse DescribeCluster ( DescribeClusterRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeClusterRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeClusterResponseUnmarshaller . Instance ; return Invoke < DescribeClusterResponse > ( request , options ) ; }
|
public UserAgentConfig getUserAgentConfig ( ) { return userAgentConfig ; }
|
public UserAgent GetUserAgentConfig ( ) { return userAgentConfig ; }
|
public float getTokenScore ( ) { String termText = termAtt . toString ( ) ; WeightedTerm queryTerm = termsToFind . get ( termText ) ; if ( queryTerm == null ) { return 0 ; } if ( ! uniqueTermsInFragment . contains ( termText ) ) { totalScore += queryTerm . getWeight ( ) ; uniqueTermsInFragment . add ( termText ) ; } return queryTerm . getWeight ( ) ; }
|
public virtual float GetTokenScore ( ) { string termText = termAtt . ToString ( ) ; WeightedTerm queryTerm ; if ( ! termsToFind . TryGetValue ( termText , out queryTerm ) || queryTerm == null ) { return 0 ; } if ( ! uniqueTermsInFragment . Contains ( termText ) ) { totalScore += queryTerm . Weight ; uniqueTermsInFragment . Add ( termText ) ; } return queryTerm . Weight ; }
|
public void clear ( ) { arrays . clear ( ) ; }
|
public void Clear ( ) { arrays . Clear ( ) ; }
|
public DescribeEndpointsResult describeEndpoints ( DescribeEndpointsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeEndpoints ( request ) ; }
|
public virtual DescribeEndpointsResponse DescribeEndpoints ( DescribeEndpointsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeEndpointsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeEndpointsResponseUnmarshaller . Instance ; return Invoke < DescribeEndpointsResponse > ( request , options ) ; }
|
public String toString ( ) { return "PATH(\"" + pathStr + "\")" ; }
|
public override string ToString ( ) { return "PATH(\"" + pathStr + "\")" ; }
|
public DictionaryCompoundWordTokenFilterFactory ( Map < String , String > args ) { super ( args ) ; dictFile = require ( args , "dictionary" ) ; 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" , true ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
|
public DictionaryCompoundWordTokenFilterFactory ( IDictionary < string , string > args ) : base ( args ) { AssureMatchVersion ( ) ; dictFile = Require ( args , "dictionary" ) ; 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" , true ) ; if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }
|
public final void writeFloat ( float val ) throws IOException { writeInt ( Float . floatToIntBits ( val ) ) ; }
|
public virtual void writeFloat ( float val ) { throw new System . NotImplementedException ( ) ; }
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.