question
stringlengths
33
1.59k
target
stringlengths
33
1.58k
public BooleanQueryNode ( List < QueryNode > clauses ) { setLeaf ( false ) ; allocate ( ) ; set ( clauses ) ; }
public BooleanQueryNode ( IList < IQueryNode > clauses ) { IsLeaf = false ; Allocate ( ) ; Set ( clauses ) ; }
public DVALRecord ( ) { field_cbo_id = 0xFFFFFFFF ; field_5_dv_no = 0x00000000 ; }
public DVALRecord ( ) { field_cbo_id = unchecked ( ( int ) 0xFFFFFFFF ) ; field_5_dv_no = 0x00000000 ; }
public ListConfigurationsResult listConfigurations ( ListConfigurationsRequest request ) { request = beforeClientExecution ( request ) ; return executeListConfigurations ( request ) ; }
public virtual ListConfigurationsResponse ListConfigurations ( ListConfigurationsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListConfigurationsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListConfigurationsResponseUnmarshaller . Instance ; return Invoke < ListConfigurationsResponse > ( request , options ) ; }
public String toFormulaString ( ) { throw new RuntimeException ( "3D references need a workbook to determine formula text" ) ; }
public override String ToFormulaString ( ) { throw new Exception ( "3D references need a workbook to determine formula text" ) ; }
public int LA ( int i ) { return LT ( i ) . getType ( ) ; }
public virtual int LA ( int i ) { return LT ( i ) . Type ; }
public void setCellValue ( boolean value ) { int row = _record . getRow ( ) ; short col = _record . getColumn ( ) ; short styleIndex = _record . getXFIndex ( ) ; switch ( _cellType ) { default : setCellType ( CellType . BOOLEAN , false , row , col , styleIndex ) ; case BOOLEAN : ( ( BoolErrRecord ) _record ) . setValue ( value ) ; break ; case FORMULA : ( ( FormulaRecordAggregate ) _record ) . setCachedBooleanResult ( value ) ; break ; } }
public void SetCellValue ( bool value ) { int row = _record . Row ; int col = _record . Column ; short styleIndex = _record . XFIndex ; switch ( cellType ) { case CellType . Boolean : ( ( BoolErrRecord ) _record ) . SetValue ( value ) ; break ; case CellType . Formula : ( ( FormulaRecordAggregate ) _record ) . SetCachedBooleanResult ( value ) ; break ; default : SetCellType ( CellType . Boolean , false , row , col , styleIndex ) ; ( ( BoolErrRecord ) _record ) . SetValue ( value ) ; break ; } }
public UntagDeliveryStreamResult untagDeliveryStream ( UntagDeliveryStreamRequest request ) { request = beforeClientExecution ( request ) ; return executeUntagDeliveryStream ( request ) ; }
public virtual UntagDeliveryStreamResponse UntagDeliveryStream ( UntagDeliveryStreamRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UntagDeliveryStreamRequestMarshaller . Instance ; options . ResponseUnmarshaller = UntagDeliveryStreamResponseUnmarshaller . Instance ; return Invoke < UntagDeliveryStreamResponse > ( request , options ) ; }
public CJKBigramFilterFactory ( Map < String , String > args ) { super ( args ) ; int flags = 0 ; if ( getBoolean ( args , "han" , true ) ) { flags |= CJKBigramFilter . HAN ; } if ( getBoolean ( args , "hiragana" , true ) ) { flags |= CJKBigramFilter . HIRAGANA ; } if ( getBoolean ( args , "katakana" , true ) ) { flags |= CJKBigramFilter . KATAKANA ; } if ( getBoolean ( args , "hangul" , true ) ) { flags |= CJKBigramFilter . HANGUL ; } this . flags = flags ; this . outputUnigrams = getBoolean ( args , "outputUnigrams" , false ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public CJKBigramFilterFactory ( IDictionary < string , string > args ) : base ( args ) { CJKScript flags = 0 ; if ( GetBoolean ( args , "han" , true ) ) { flags |= CJKScript . HAN ; } if ( GetBoolean ( args , "hiragana" , true ) ) { flags |= CJKScript . HIRAGANA ; } if ( GetBoolean ( args , "katakana" , true ) ) { flags |= CJKScript . KATAKANA ; } if ( GetBoolean ( args , "hangul" , true ) ) { flags |= CJKScript . HANGUL ; } this . flags = flags ; this . outputUnigrams = GetBoolean ( args , "outputUnigrams" , false ) ; if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }
public static int toChars ( int [ ] src , int srcOff , int srcLen , char [ ] dest , int destOff ) { if ( srcLen < 0 ) { throw new IllegalArgumentException ( "srcLen must be >= 0" ) ; } int written = 0 ; for ( int i = 0 ; i < srcLen ; ++ i ) { written += Character . toChars ( src [ srcOff + i ] , dest , destOff + written ) ; } return written ; }
public int ToChars ( int [ ] src , int srcOff , int srcLen , char [ ] dest , int destOff ) { if ( srcLen < 0 ) { throw new ArgumentException ( "srcLen must be >= 0" ) ; } int written = 0 ; for ( int i = 0 ; i < srcLen ; ++ i ) { written += Character . ToChars ( src [ srcOff + i ] , dest , destOff + written ) ; } return written ; }
public StoredField ( String name , long value ) { super ( name , TYPE ) ; fieldsData = value ; }
public StoredField ( string name , float value ) : base ( name , TYPE ) { FieldsData = new Single ( value ) ; }
public static CFRuleRecord create ( HSSFSheet sheet , byte comparisonOperation , String formulaText1 , String formulaText2 ) { Ptg [ ] formula1 = parseFormula ( formulaText1 , sheet ) ; Ptg [ ] formula2 = parseFormula ( formulaText2 , sheet ) ; return new CFRuleRecord ( CONDITION_TYPE_CELL_VALUE_IS , comparisonOperation , formula1 , formula2 ) ; }
public static CFRuleRecord Create ( HSSFSheet sheet , byte comparisonOperation , String formulaText1 , String formulaText2 ) { Ptg [ ] formula1 = ParseFormula ( formulaText1 , sheet ) ; Ptg [ ] formula2 = ParseFormula ( formulaText2 , sheet ) ; return new CFRuleRecord ( CONDITION_TYPE_CELL_VALUE_IS , ( ComparisonOperator ) comparisonOperation , formula1 , formula2 ) ; }
public int newSlice ( final int size ) { if ( byteUpto > BYTE_BLOCK_SIZE - size ) nextBuffer ( ) ; final int upto = byteUpto ; byteUpto += size ; buffer [ byteUpto - 1 ] = 16 ; return upto ; }
public int NewSlice ( int size ) { if ( ByteUpto > BYTE_BLOCK_SIZE - size ) { NextBuffer ( ) ; } int upto = ByteUpto ; ByteUpto += size ; buffer [ ByteUpto - 1 ] = 16 ; return upto ; }
public DescribeWorkspaceDirectoriesResult describeWorkspaceDirectories ( ) { return describeWorkspaceDirectories ( new DescribeWorkspaceDirectoriesRequest ( ) ) ; }
public virtual DescribeWorkspaceDirectoriesResponse DescribeWorkspaceDirectories ( ) { var request = new DescribeWorkspaceDirectoriesRequest ( ) ; return DescribeWorkspaceDirectories ( request ) ; }
public String toString ( ) { return getClass ( ) . getName ( ) + " [" + _functionName + "]" ; }
public override String ToString ( ) { StringBuilder sb = new StringBuilder ( 64 ) ; sb . Append ( GetType ( ) . Name ) . Append ( " [" ) ; sb . Append ( _functionName ) ; sb . Append ( "]" ) ; return sb . ToString ( ) ; }
public void writeBytes ( int stream , byte [ ] b , int offset , int len ) { final int end = offset + len ; for ( int i = offset ; i < end ; i ++ ) writeByte ( stream , b [ i ] ) ; }
public void WriteBytes ( int stream , byte [ ] b , int offset , int len ) { int end = offset + len ; for ( int i = offset ; i < end ; i ++ ) { WriteByte ( stream , b [ i ] ) ; } }
public GetExportSnapshotRecordsResult getExportSnapshotRecords ( GetExportSnapshotRecordsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetExportSnapshotRecords ( request ) ; }
public virtual GetExportSnapshotRecordsResponse GetExportSnapshotRecords ( GetExportSnapshotRecordsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetExportSnapshotRecordsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetExportSnapshotRecordsResponseUnmarshaller . Instance ; return Invoke < GetExportSnapshotRecordsResponse > ( request , options ) ; }
public DeleteMessageResult deleteMessage ( String queueUrl , String receiptHandle ) { return deleteMessage ( new DeleteMessageRequest ( ) . withQueueUrl ( queueUrl ) . withReceiptHandle ( receiptHandle ) ) ; }
public virtual DeleteMessageResponse DeleteMessage ( string queueUrl , string receiptHandle ) { var request = new DeleteMessageRequest ( ) ; request . QueueUrl = queueUrl ; request . ReceiptHandle = receiptHandle ; return DeleteMessage ( request ) ; }
public ModifyInstanceAttributeResult modifyInstanceAttribute ( ModifyInstanceAttributeRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyInstanceAttribute ( request ) ; }
public virtual ModifyInstanceAttributeResponse ModifyInstanceAttribute ( ModifyInstanceAttributeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyInstanceAttributeRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyInstanceAttributeResponseUnmarshaller . Instance ; return Invoke < ModifyInstanceAttributeResponse > ( request , options ) ; }
public static float [ ] copyOfRange ( float [ ] original , int start , int end ) { if ( start > end ) { throw new IllegalArgumentException ( ) ; } int originalLength = original . length ; if ( start < 0 || start > originalLength ) { throw new ArrayIndexOutOfBoundsException ( ) ; } int resultLength = end - start ; int copyLength = Math . min ( resultLength , originalLength - start ) ; float [ ] result = new float [ resultLength ] ; System . arraycopy ( original , start , result , 0 , copyLength ) ; return result ; }
public static float [ ] copyOfRange ( float [ ] original , int start , int end ) { if ( start > end ) { throw new System . ArgumentException ( ) ; } int originalLength = original . Length ; if ( start < 0 || start > originalLength ) { throw new System . IndexOutOfRangeException ( ) ; } int resultLength = end - start ; int copyLength = System . Math . Min ( resultLength , originalLength - start ) ; float [ ] result = new float [ resultLength ] ; System . Array . Copy ( original , start , result , 0 , copyLength ) ; return result ; }
public TokenFilter create ( TokenStream input ) { SnowballStemmer program ; try { program = stemClass . getConstructor ( ) . newInstance ( ) ; } catch ( Exception e ) { } }
public override TokenStream Create ( TokenStream input ) { SnowballProgram program ; try { program = ( SnowballProgram ) Activator . CreateInstance ( stemClass ) ; } catch ( Exception e ) { } }
public GetPhotosByMd5sRequest ( ) { super ( "CloudPhoto" , "2017-07-11" , "GetPhotosByMd5s" , "cloudphoto" ) ; setProtocol ( ProtocolType . HTTPS ) ; }
public GetPhotosByMd5sRequest ( ) : base ( "CloudPhoto" , "2017-07-11" , "GetPhotosByMd5s" , "cloudphoto" , "openAPI" ) { Protocol = ProtocolType . HTTPS ; }
public StartOutboundVoiceContactResult startOutboundVoiceContact ( StartOutboundVoiceContactRequest request ) { request = beforeClientExecution ( request ) ; return executeStartOutboundVoiceContact ( request ) ; }
public virtual StartOutboundVoiceContactResponse StartOutboundVoiceContact ( StartOutboundVoiceContactRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartOutboundVoiceContactRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartOutboundVoiceContactResponseUnmarshaller . Instance ; return Invoke < StartOutboundVoiceContactResponse > ( request , options ) ; }
public void serialize ( LittleEndianOutput out ) { out . writeInt ( field_1_x ) ; out . writeInt ( field_2_y ) ; out . writeInt ( field_3_width ) ; out . writeInt ( field_4_height ) ; }
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteInt ( field_1_x ) ; out1 . WriteInt ( field_2_y ) ; out1 . WriteInt ( field_3_width ) ; out1 . WriteInt ( field_4_height ) ; }
public String getEmailAddress ( ) { return emailAddress ; }
public virtual string GetEmailAddress ( ) { return emailAddress ; }
public ValueEval getRelativeValue ( int sheetIndex , int relativeRowIndex , int relativeColumnIndex ) { int rowIx = ( relativeRowIndex + getFirstRow ( ) ) ; int colIx = ( relativeColumnIndex + getFirstColumn ( ) ) ; return _evaluator . getEvalForCell ( sheetIndex , rowIx , colIx ) ; }
public override ValueEval GetRelativeValue ( int sheetIndex , int relativeRowIndex , int relativeColumnIndex ) { int rowIx = ( relativeRowIndex + FirstRow ) ; int colIx = ( relativeColumnIndex + FirstColumn ) ; return _evaluator . GetEvalForCell ( sheetIndex , rowIx , colIx ) ; }
public String toString ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( '[' ) ; for ( byte [ ] b : table ) { if ( b == null ) continue ; if ( sb . length ( ) > 1 ) sb . append ( " , " ) ; sb . append ( '"' ) ; sb . append ( RawParseUtils . decode ( b ) ) ; sb . append ( '"' ) ; sb . append ( '(' ) ; sb . append ( chainlength ( b ) ) ; sb . append ( ')' ) ; } sb . append ( ']' ) ; return sb . toString ( ) ; }
public override string ToString ( ) { StringBuilder r = new StringBuilder ( ) ; r . Append ( "(" ) ; for ( int i = 0 ; i < subfilters . Length ; i ++ ) { if ( i > 0 ) { r . Append ( " AND " ) ; } r . Append ( subfilters [ i ] . ToString ( ) ) ; } r . Append ( ")" ) ; return r . ToString ( ) ; }
public void stopNow ( ) { super . stopNow ( ) ; if ( runningParallelTasks != null ) { for ( ParallelTask t : runningParallelTasks ) { if ( t != null ) { t . task . stopNow ( ) ; } } } }
public override void StopNow ( ) { base . StopNow ( ) ; if ( runningParallelTasks != null ) { foreach ( ParallelTask t in runningParallelTasks ) { if ( t != null ) { t . Task . StopNow ( ) ; } } } }
public UpdateLogPatternResult updateLogPattern ( UpdateLogPatternRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateLogPattern ( request ) ; }
public virtual UpdateLogPatternResponse UpdateLogPattern ( UpdateLogPatternRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateLogPatternRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateLogPatternResponseUnmarshaller . Instance ; return Invoke < UpdateLogPatternResponse > ( request , options ) ; }
public FileMode getMode ( ) { return mode ; }
public override FileMode GetMode ( ) { return mode ; }
public ValueEval getEvalForCell ( int sheetIndex , int rowIndex , int columnIndex ) { return getSheetEvaluator ( sheetIndex ) . getEvalForCell ( rowIndex , columnIndex ) ; }
public ValueEval GetEvalForCell ( int sheetIndex , int rowIndex , int columnIndex ) { return GetSheetEvaluator ( sheetIndex ) . GetEvalForCell ( rowIndex , columnIndex ) ; }
public String toString ( ) { final StringBuilder buffer = new StringBuilder ( ) ; for ( Class < ? > clazz = getClass ( ) ; clazz != null ; clazz = clazz . getSuperclass ( ) ) { if ( ! clazz . isAnonymousClass ( ) ) { buffer . append ( clazz . getSimpleName ( ) ) ; break ; } } buffer . append ( '(' ) ; final List < ? extends IndexReader > subReaders = getSequentialSubReaders ( ) ; assert subReaders != null ; if ( ! subReaders . isEmpty ( ) ) { buffer . append ( subReaders . get ( 0 ) ) ; for ( int i = 1 , c = subReaders . size ( ) ; i < c ; ++ i ) { buffer . append ( " " ) . append ( subReaders . get ( i ) ) ; } } buffer . append ( ')' ) ; return buffer . toString ( ) ; }
public override string ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; for ( Type clazz = this . GetType ( ) ; clazz != null ; clazz = clazz . GetTypeInfo ( ) . BaseType ) { if ( clazz . Name != null ) { buffer . Append ( clazz . Name ) ; break ; } } buffer . Append ( '(' ) ; var subReaders = GetSequentialSubReaders ( ) ; Debug . Assert ( subReaders != null ) ; if ( subReaders . Count > 0 ) { buffer . Append ( subReaders [ 0 ] ) ; for ( int i = 1 , c = subReaders . Count ; i < c ; ++ i ) { buffer . Append ( " " ) . Append ( subReaders [ i ] ) ; } } buffer . Append ( ')' ) ; return buffer . ToString ( ) ; }
public CreateTypedLinkFacetResult createTypedLinkFacet ( CreateTypedLinkFacetRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateTypedLinkFacet ( request ) ; }
public virtual CreateTypedLinkFacetResponse CreateTypedLinkFacet ( CreateTypedLinkFacetRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateTypedLinkFacetRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateTypedLinkFacetResponseUnmarshaller . Instance ; return Invoke < CreateTypedLinkFacetResponse > ( request , options ) ; }
public PutResolverRulePolicyResult putResolverRulePolicy ( PutResolverRulePolicyRequest request ) { request = beforeClientExecution ( request ) ; return executePutResolverRulePolicy ( request ) ; }
public virtual PutResolverRulePolicyResponse PutResolverRulePolicy ( PutResolverRulePolicyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutResolverRulePolicyRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutResolverRulePolicyResponseUnmarshaller . Instance ; return Invoke < PutResolverRulePolicyResponse > ( request , options ) ; }
public ConfirmPublicVirtualInterfaceResult confirmPublicVirtualInterface ( ConfirmPublicVirtualInterfaceRequest request ) { request = beforeClientExecution ( request ) ; return executeConfirmPublicVirtualInterface ( request ) ; }
public virtual ConfirmPublicVirtualInterfaceResponse ConfirmPublicVirtualInterface ( ConfirmPublicVirtualInterfaceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ConfirmPublicVirtualInterfaceRequestMarshaller . Instance ; options . ResponseUnmarshaller = ConfirmPublicVirtualInterfaceResponseUnmarshaller . Instance ; return Invoke < ConfirmPublicVirtualInterfaceResponse > ( request , options ) ; }
public FieldInfo add ( FieldInfo fi ) { return add ( fi , - 1 ) ; }
public FieldInfo Add ( FieldInfo fi ) { return AddOrUpdateInternal ( fi . Name , fi . Number , fi . IsIndexed , fi . HasVectors , fi . OmitsNorms , fi . HasPayloads , fi . IndexOptions , fi . DocValuesType , fi . NormType ) ; }
public AssociateFleetResult associateFleet ( AssociateFleetRequest request ) { request = beforeClientExecution ( request ) ; return executeAssociateFleet ( request ) ; }
public virtual AssociateFleetResponse AssociateFleet ( AssociateFleetRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AssociateFleetRequestMarshaller . Instance ; options . ResponseUnmarshaller = AssociateFleetResponseUnmarshaller . Instance ; return Invoke < AssociateFleetResponse > ( request , options ) ; }
public void close ( ) { ctx . close ( ) ; }
public override void Close ( ) { wc . Release ( ) ; }
public InclusiveRange ( long start , long end ) { assert end >= start ; this . start = start ; this . end = end ; }
public InclusiveRange ( long start , long end ) { Debug . Assert ( end >= start ) ; this . Start = start ; this . End = end ; }
public UpdateProfilingGroupResult updateProfilingGroup ( UpdateProfilingGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateProfilingGroup ( request ) ; }
public virtual UpdateProfilingGroupResponse UpdateProfilingGroup ( UpdateProfilingGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateProfilingGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateProfilingGroupResponseUnmarshaller . Instance ; return Invoke < UpdateProfilingGroupResponse > ( request , options ) ; }
public void seekExact ( long ord ) throws IOException { throw new UnsupportedOperationException ( getClass ( ) . getName ( ) + " does not support seeking" ) ; }
public override void SeekExact ( long ord ) { throw new System . NotSupportedException ( this . GetType ( ) . Name + " does not support seeking" ) ; }
public DetectStackSetDriftResult detectStackSetDrift ( DetectStackSetDriftRequest request ) { request = beforeClientExecution ( request ) ; return executeDetectStackSetDrift ( request ) ; }
public virtual DetectStackSetDriftResponse DetectStackSetDrift ( DetectStackSetDriftRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DetectStackSetDriftRequestMarshaller . Instance ; options . ResponseUnmarshaller = DetectStackSetDriftResponseUnmarshaller . Instance ; return Invoke < DetectStackSetDriftResponse > ( request , options ) ; }
public ListConfigurationProfilesResult listConfigurationProfiles ( ListConfigurationProfilesRequest request ) { request = beforeClientExecution ( request ) ; return executeListConfigurationProfiles ( request ) ; }
public virtual ListConfigurationProfilesResponse ListConfigurationProfiles ( ListConfigurationProfilesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListConfigurationProfilesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListConfigurationProfilesResponseUnmarshaller . Instance ; return Invoke < ListConfigurationProfilesResponse > ( request , options ) ; }
public int getFormat ( ) { return FORMAT_OTHER ; }
public virtual int GetFormat ( ) { return FORMAT_OTHER ; }
public K lastKey ( ) { Entry < K , V > entry = endpoint ( false ) ; if ( entry == null ) { throw new NoSuchElementException ( ) ; } return entry . getKey ( ) ; }
public K lastKey ( ) { java . util . MapClass . Entry < K , V > entry = this . endpoint ( false ) ; if ( entry == null ) { throw new java . util . NoSuchElementException ( ) ; } return entry . getKey ( ) ; }
public final void writeChars ( String str ) throws IOException { write ( str . getBytes ( "UTF-16BE" ) ) ; }
public virtual void writeChars ( string str ) { throw new System . NotImplementedException ( ) ; }
public UpdateFleetPortSettingsResult updateFleetPortSettings ( UpdateFleetPortSettingsRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateFleetPortSettings ( request ) ; }
public virtual UpdateFleetPortSettingsResponse UpdateFleetPortSettings ( UpdateFleetPortSettingsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateFleetPortSettingsRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateFleetPortSettingsResponseUnmarshaller . Instance ; return Invoke < UpdateFleetPortSettingsResponse > ( request , options ) ; }
public RuleTransition ( RuleStartState ruleStart , int ruleIndex , int precedence , ATNState followState ) { super ( ruleStart ) ; this . ruleIndex = ruleIndex ; this . precedence = precedence ; this . followState = followState ; }
public RuleTransition ( RuleStartState ruleStart , int ruleIndex , int precedence , ATNState followState ) : base ( ruleStart ) { this . ruleIndex = ruleIndex ; this . precedence = precedence ; this . followState = followState ; }
public GetConferenceProviderResult getConferenceProvider ( GetConferenceProviderRequest request ) { request = beforeClientExecution ( request ) ; return executeGetConferenceProvider ( request ) ; }
public virtual GetConferenceProviderResponse GetConferenceProvider ( GetConferenceProviderRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetConferenceProviderRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetConferenceProviderResponseUnmarshaller . Instance ; return Invoke < GetConferenceProviderResponse > ( request , options ) ; }
public void decode ( byte [ ] blocks , int blocksOffset , long [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { final long block = readLong ( blocks , blocksOffset ) ; blocksOffset += 8 ; valuesOffset = decode ( block , values , valuesOffset ) ; } }
public override void Decode ( byte [ ] blocks , int blocksOffset , long [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { long block = ReadInt64 ( blocks , blocksOffset ) ; blocksOffset += 8 ; valuesOffset = Decode ( block , values , valuesOffset ) ; } }
public void serialize ( LittleEndianOutput out ) { out . write ( _data ) ; }
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . Write ( field_1_data ) ; }
public void upgrade ( ) throws IOException { if ( ! DirectoryReader . indexExists ( dir ) ) { throw new IndexNotFoundException ( dir . toString ( ) ) ; } if ( ! deletePriorCommits ) { final Collection < IndexCommit > commits = DirectoryReader . listCommits ( dir ) ; if ( commits . size ( ) > 1 ) { throw new IllegalArgumentException ( "This tool was invoked to not delete prior commit points, but the following commits were found: " + commits ) ; } } iwc . setMergePolicy ( new UpgradeIndexMergePolicy ( iwc . getMergePolicy ( ) ) ) ; iwc . setIndexDeletionPolicy ( new KeepOnlyLastCommitDeletionPolicy ( ) ) ; try ( final IndexWriter w = new IndexWriter ( dir , iwc ) ) { InfoStream infoStream = iwc . getInfoStream ( ) ; if ( infoStream . isEnabled ( LOG_PREFIX ) ) { infoStream . message ( LOG_PREFIX , "Upgrading all pre-" + Version . LATEST + " segments of index directory '" + dir + "' to version " + Version . LATEST + "..." ) ; } w . forceMerge ( 1 ) ; if ( infoStream . isEnabled ( LOG_PREFIX ) ) { infoStream . message ( LOG_PREFIX , "All segments upgraded to version " + Version . LATEST ) ; infoStream . message ( LOG_PREFIX , "Enforcing commit to rewrite all index metadata..." ) ; } w . setLiveCommitData ( w . getLiveCommitData ( ) ) ; assert w . hasUncommittedChanges ( ) ; w . commit ( ) ; if ( infoStream . isEnabled ( LOG_PREFIX ) ) { infoStream . message ( LOG_PREFIX , "Committed upgraded metadata to index." ) ; } } }
public void Upgrade ( ) { if ( ! DirectoryReader . IndexExists ( dir ) ) { throw new IndexNotFoundException ( dir . ToString ( ) ) ; } if ( ! deletePriorCommits ) { ICollection < IndexCommit > commits = DirectoryReader . ListCommits ( dir ) ; if ( commits . Count > 1 ) { throw new System . ArgumentException ( "this tool was invoked to not delete prior commit points, but the following commits were found: " + commits ) ; } } IndexWriterConfig c = ( IndexWriterConfig ) iwc . Clone ( ) ; c . MergePolicy = new UpgradeIndexMergePolicy ( c . MergePolicy ) ; c . IndexDeletionPolicy = new KeepOnlyLastCommitDeletionPolicy ( ) ; IndexWriter w = new IndexWriter ( dir , c ) ; try { InfoStream infoStream = c . InfoStream ; if ( infoStream . IsEnabled ( "IndexUpgrader" ) ) { infoStream . Message ( "IndexUpgrader" , "Upgrading all pre-" + Constants . LUCENE_MAIN_VERSION + " segments of index directory '" + dir + "' to version " + Constants . LUCENE_MAIN_VERSION + "..." ) ; } w . ForceMerge ( 1 ) ; if ( infoStream . IsEnabled ( "IndexUpgrader" ) ) { infoStream . Message ( "IndexUpgrader" , "All segments upgraded to version " + Constants . LUCENE_MAIN_VERSION ) ; } } finally { w . Dispose ( ) ; } }
public byte [ ] getThumbnailAsWMF ( ) throws HPSFException { if ( ! ( getClipboardFormatTag ( ) == CFTAG_WINDOWS ) ) throw new HPSFException ( "Clipboard Format Tag of Thumbnail must " + "be CFTAG_WINDOWS." ) ; if ( ! ( getClipboardFormat ( ) == CF_METAFILEPICT ) ) { throw new HPSFException ( "Clipboard Format of Thumbnail must " + "be CF_METAFILEPICT." ) ; } byte [ ] thumbnail = getThumbnail ( ) ; int wmfImageLength = thumbnail . length - OFFSET_WMFDATA ; byte [ ] wmfImage = new byte [ wmfImageLength ] ; System . arraycopy ( thumbnail , OFFSET_WMFDATA , wmfImage , 0 , wmfImageLength ) ; return wmfImage ; }
public byte [ ] GetThumbnailAsWMF ( ) { if ( ! ( ClipboardFormatTag == CFTAG_WINDOWS ) ) throw new HPSFException ( "Clipboard Format Tag of Thumbnail must " + "be CFTAG_WINDOWS." ) ; if ( ! ( GetClipboardFormat ( ) == CF_METAFILEPICT ) ) throw new HPSFException ( "Clipboard Format of Thumbnail must " + "be CF_METAFILEPICT." ) ; else { byte [ ] thumbnail = this . ThumbnailData ; int wmfImageLength = thumbnail . Length - OFFSet_WMFDATA ; byte [ ] wmfImage = new byte [ wmfImageLength ] ; System . Array . Copy ( thumbnail , OFFSet_WMFDATA , wmfImage , 0 , wmfImageLength ) ; return wmfImage ; } }
public DescribeKeyPhrasesDetectionJobResult describeKeyPhrasesDetectionJob ( DescribeKeyPhrasesDetectionJobRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeKeyPhrasesDetectionJob ( request ) ; }
public virtual DescribeKeyPhrasesDetectionJobResponse DescribeKeyPhrasesDetectionJob ( DescribeKeyPhrasesDetectionJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeKeyPhrasesDetectionJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeKeyPhrasesDetectionJobResponseUnmarshaller . Instance ; return Invoke < DescribeKeyPhrasesDetectionJobResponse > ( request , options ) ; }
public LabelAndValue ( String label , Number value ) { this . label = label ; this . value = value ; }
public LabelAndValue ( string label , int value ) { this . Label = label ; this . Value = value ; this . TypeOfValue = typeof ( int ) ; }
public RebaseCommand setUpstreamName ( String upstreamName ) { if ( upstreamCommit == null ) { throw new IllegalStateException ( "setUpstreamName must be called after setUpstream." ) ; } this . upstreamCommitName = upstreamName ; return this ; }
public virtual NGit . Api . RebaseCommand SetUpstreamName ( string upstreamName ) { if ( upstreamCommit == null ) { throw new InvalidOperationException ( "setUpstreamName must be called after setUpstream." ) ; } this . upstreamCommitName = upstreamName ; return this ; }
public SearchDashboardsResult searchDashboards ( SearchDashboardsRequest request ) { request = beforeClientExecution ( request ) ; return executeSearchDashboards ( request ) ; }
public virtual SearchDashboardsResponse SearchDashboards ( SearchDashboardsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SearchDashboardsRequestMarshaller . Instance ; options . ResponseUnmarshaller = SearchDashboardsResponseUnmarshaller . Instance ; return Invoke < SearchDashboardsResponse > ( request , options ) ; }
public ClusterSubnetGroup createClusterSubnetGroup ( CreateClusterSubnetGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateClusterSubnetGroup ( request ) ; }
public virtual CreateClusterSubnetGroupResponse CreateClusterSubnetGroup ( CreateClusterSubnetGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateClusterSubnetGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateClusterSubnetGroupResponseUnmarshaller . Instance ; return Invoke < CreateClusterSubnetGroupResponse > ( request , options ) ; }
public static int endOfFooterLineKey ( byte [ ] raw , int ptr ) { try { for ( ; ; ) { final byte c = raw [ ptr ] ; if ( footerLineKeyChars [ c ] == 0 ) { if ( c == ':' ) return ptr ; return - 1 ; } ptr ++ ; } } catch ( ArrayIndexOutOfBoundsException e ) { return - 1 ; } }
public static int EndOfFooterLineKey ( byte [ ] raw , int ptr ) { try { for ( ; ; ) { byte c = raw [ ptr ] ; if ( footerLineKeyChars [ c ] == 0 ) { if ( c == ':' ) { return ptr ; } return - 1 ; } ptr ++ ; } } catch ( IndexOutOfRangeException ) { return - 1 ; } }
public final char [ ] GetSuffix ( int len ) { char [ ] value = new char [ len ] ; System . arraycopy ( buffer , bufferPosition - len , value , 0 , len ) ; return value ; }
public char [ ] GetSuffix ( int len ) { char [ ] value = new char [ len ] ; System . Array . Copy ( buffer , bufferPosition - len , value , 0 , len ) ; return value ; }
public boolean containsValue ( Object value ) { if ( value instanceof CustomProperty ) { return props . containsValue ( value ) ; } for ( CustomProperty cp : props . values ( ) ) { if ( cp . getValue ( ) == value ) { return true ; } } return false ; }
public override bool ContainsValue ( Object value ) { if ( value is CustomProperty ) { return base . ContainsValue ( value ) ; } else { foreach ( object cp in base . Values ) { if ( ( cp as CustomProperty ) . Value == value ) { return true ; } } } return false ; }
public RecordInputStream createDecryptingStream ( InputStream original ) { String userPassword = Biff8EncryptionKey . getCurrentUserPassword ( ) ; if ( userPassword == null ) { userPassword = Decryptor . DEFAULT_PASSWORD ; } EncryptionInfo info = _filePassRec . getEncryptionInfo ( ) ; try { if ( ! info . getDecryptor ( ) . verifyPassword ( userPassword ) ) { throw new EncryptedDocumentException ( ( Decryptor . DEFAULT_PASSWORD . equals ( userPassword ) ? "Default" : "Supplied" ) + " password is invalid for salt/verifier/verifierHash" ) ; } } catch ( GeneralSecurityException e ) { throw new EncryptedDocumentException ( e ) ; } return new RecordInputStream ( original , info , _initialRecordsSize ) ; }
public RecordInputStream CreateDecryptingStream ( Stream original ) { FilePassRecord fpr = _filePassRec ; String userPassword = Biff8EncryptionKey . CurrentUserPassword ; Biff8EncryptionKey key ; if ( userPassword == null ) { key = Biff8EncryptionKey . Create ( fpr . DocId ) ; } else { key = Biff8EncryptionKey . Create ( userPassword , fpr . DocId ) ; } if ( ! key . Validate ( fpr . SaltData , fpr . SaltHash ) ) { throw new EncryptedDocumentException ( ( userPassword == null ? "Default" : "Supplied" ) + " password is invalid for docId/saltData/saltHash" ) ; } return new RecordInputStream ( original , key , _InitialRecordsSize ) ; }
public UpdateComponentConfigurationResult updateComponentConfiguration ( UpdateComponentConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateComponentConfiguration ( request ) ; }
public virtual UpdateComponentConfigurationResponse UpdateComponentConfiguration ( UpdateComponentConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateComponentConfigurationRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateComponentConfigurationResponseUnmarshaller . Instance ; return Invoke < UpdateComponentConfigurationResponse > ( request , options ) ; }
public String toString ( ) { CellReference crA = new CellReference ( getFirstRow ( ) , getFirstColumn ( ) ) ; CellReference crB = new CellReference ( getLastRow ( ) , getLastColumn ( ) ) ; return getClass ( ) . getName ( ) + "[" + _evaluator . getSheetNameRange ( ) + '!' + crA . formatAsString ( ) + ':' + crB . formatAsString ( ) + "]" ; }
public override String ToString ( ) { CellReference crA = new CellReference ( FirstRow , FirstColumn ) ; CellReference crB = new CellReference ( LastRow , LastColumn ) ; StringBuilder sb = new StringBuilder ( ) ; sb . Append ( GetType ( ) . Name ) . Append ( "[" ) ; sb . Append ( _evaluator . SheetNameRange ) ; sb . Append ( '!' ) ; sb . Append ( crA . FormatAsString ( ) ) ; sb . Append ( ':' ) ; sb . Append ( crB . FormatAsString ( ) ) ; sb . Append ( "]" ) ; return sb . ToString ( ) ; }
public SetDesiredCapacityResult setDesiredCapacity ( SetDesiredCapacityRequest request ) { request = beforeClientExecution ( request ) ; return executeSetDesiredCapacity ( request ) ; }
public virtual SetDesiredCapacityResponse SetDesiredCapacity ( SetDesiredCapacityRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SetDesiredCapacityRequestMarshaller . Instance ; options . ResponseUnmarshaller = SetDesiredCapacityResponseUnmarshaller . Instance ; return Invoke < SetDesiredCapacityResponse > ( request , options ) ; }
public long getTotalLLATNLookaheadOps ( ) { DecisionInfo [ ] decisions = atnSimulator . getDecisionInfo ( ) ; long k = 0 ; for ( int i = 0 ; i < decisions . length ; i ++ ) { k += decisions [ i ] . LL_ATNTransitions ; } return k ; }
public long getTotalLLATNLookaheadOps ( ) { DecisionInfo [ ] decisions = atnSimulator . getDecisionInfo ( ) ; long k = 0 ; for ( int i = 0 ; i < decisions . Length ; i ++ ) { k += decisions [ i ] . LL_ATNTransitions ; } return k ; }
public ListQueuesResult listQueues ( ListQueuesRequest request ) { request = beforeClientExecution ( request ) ; return executeListQueues ( request ) ; }
public virtual ListQueuesResponse ListQueues ( ListQueuesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListQueuesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListQueuesResponseUnmarshaller . Instance ; return Invoke < ListQueuesResponse > ( request , options ) ; }
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 ; final long byte2 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( byte0 << 12 ) | ( byte1 << 4 ) | ( byte2 > > > 4 ) ; final long byte3 = blocks [ blocksOffset ++ ] & 0xFF ; final long byte4 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( ( byte2 & 15 ) << 16 ) | ( byte3 << 8 ) | byte4 ; } }
public override void Decode ( byte [ ] blocks , int blocksOffset , long [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { long byte0 = blocks [ blocksOffset ++ ] & 0xFF ; long byte1 = blocks [ blocksOffset ++ ] & 0xFF ; long byte2 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( byte0 << 12 ) | ( byte1 << 4 ) | ( ( long ) ( ( ulong ) byte2 > > 4 ) ) ; long byte3 = blocks [ blocksOffset ++ ] & 0xFF ; long byte4 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( ( byte2 & 15 ) << 16 ) | ( byte3 << 8 ) | byte4 ; } }
public EnableVolumeIOResult enableVolumeIO ( EnableVolumeIORequest request ) { request = beforeClientExecution ( request ) ; return executeEnableVolumeIO ( request ) ; }
public virtual EnableVolumeIOResponse EnableVolumeIO ( EnableVolumeIORequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = EnableVolumeIORequestMarshaller . Instance ; options . ResponseUnmarshaller = EnableVolumeIOResponseUnmarshaller . Instance ; return Invoke < EnableVolumeIOResponse > ( request , options ) ; }
public long seek ( BytesRef target ) throws IOException { current = fstEnum . seekFloor ( target ) ; return current . output ; }
public override long Seek ( BytesRef target ) { current = fstEnum . SeekFloor ( target ) ; if ( current . Output . HasValue ) { return current . Output . Value ; } else { throw new NullReferenceException ( "_current.Output is null" ) ; } }
public GetStreamingDistributionConfigRequest ( String id ) { setId ( id ) ; }
public GetStreamingDistributionConfigRequest ( string id ) { _id = id ; }
public WordnetSynonymParser ( boolean dedup , boolean expand , Analyzer analyzer ) { super ( dedup , analyzer ) ; this . expand = expand ; }
public WordnetSynonymParser ( bool dedup , bool expand , Analyzer analyzer ) : base ( dedup , analyzer ) { this . expand = expand ; }
public DescribeProblemResult describeProblem ( DescribeProblemRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeProblem ( request ) ; }
public virtual DescribeProblemResponse DescribeProblem ( DescribeProblemRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeProblemRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeProblemResponseUnmarshaller . Instance ; return Invoke < DescribeProblemResponse > ( request , options ) ; }
public E floor ( E e ) { return backingMap . floorKey ( e ) ; }
public virtual E floor ( E e ) { return backingMap . floorKey ( e ) ; }
public IrishLowerCaseFilterFactory ( Map < String , String > args ) { super ( args ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public IrishLowerCaseFilterFactory ( IDictionary < string , string > args ) : base ( args ) { if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }
public EnableAvailabilityZonesForLoadBalancerRequest ( String loadBalancerName , java . util . List < String > availabilityZones ) { setLoadBalancerName ( loadBalancerName ) ; setAvailabilityZones ( availabilityZones ) ; }
public EnableAvailabilityZonesForLoadBalancerRequest ( string loadBalancerName , List < string > availabilityZones ) { _loadBalancerName = loadBalancerName ; _availabilityZones = availabilityZones ; }
public DescribeLoadBalancerTargetGroupsResult describeLoadBalancerTargetGroups ( DescribeLoadBalancerTargetGroupsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeLoadBalancerTargetGroups ( request ) ; }
public virtual DescribeLoadBalancerTargetGroupsResponse DescribeLoadBalancerTargetGroups ( DescribeLoadBalancerTargetGroupsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeLoadBalancerTargetGroupsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeLoadBalancerTargetGroupsResponseUnmarshaller . Instance ; return Invoke < DescribeLoadBalancerTargetGroupsResponse > ( request , options ) ; }
public Snapshot copySnapshot ( CopySnapshotRequest request ) { request = beforeClientExecution ( request ) ; return executeCopySnapshot ( request ) ; }
public virtual CopySnapshotResponse CopySnapshot ( CopySnapshotRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CopySnapshotRequestMarshaller . Instance ; options . ResponseUnmarshaller = CopySnapshotResponseUnmarshaller . Instance ; return Invoke < CopySnapshotResponse > ( request , options ) ; }
public Map < String , String > readForHideArrayItem ( String response , String endpoint ) { return readForHideItem ( new StringCharacterIterator ( response ) , endpoint , FIRST_POSITION ) ; }
public Dictionary < string , string > ReadForHideArrayItem ( string response , string endpoint ) { return ReadForHideArrayItem ( response . GetEnumerator ( ) , endpoint ) ; }
public LbsDropData ( LittleEndianInput in ) { _wStyle = in . readUShort ( ) ; _cLine = in . readUShort ( ) ; _dxMin = in . readUShort ( ) ; _str = StringUtil . readUnicodeString ( in ) ; if ( StringUtil . getEncodedSize ( _str ) % 2 != 0 ) { _unused = in . readByte ( ) ; } }
public LbsDropData ( ILittleEndianInput in1 ) { _wStyle = in1 . ReadUShort ( ) ; _cLine = in1 . ReadUShort ( ) ; _dxMin = in1 . ReadUShort ( ) ; _str = StringUtil . ReadUnicodeString ( in1 ) ; if ( StringUtil . GetEncodedSize ( _str ) % 2 != 0 ) { _unused = ( byte ) in1 . ReadByte ( ) ; } }
public void decode ( long [ ] blocks , int blocksOffset , long [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { final long block = blocks [ blocksOffset ++ ] ; for ( int shift = 60 ; shift >= 0 ; shift -= 4 ) { values [ valuesOffset ++ ] = ( block > > > shift ) & 15 ; } } }
public override void Decode ( long [ ] blocks , int blocksOffset , long [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { long block = blocks [ blocksOffset ++ ] ; for ( int shift = 60 ; shift >= 0 ; shift -= 4 ) { values [ valuesOffset ++ ] = ( ( long ) ( ( ulong ) block > > shift ) ) & 15 ; } } }
public int doLogic ( ) throws Exception { final String docID = doc . get ( DocMaker . ID_FIELD ) ; if ( docID == null ) { throw new IllegalStateException ( "document must define the docid field" ) ; } final IndexWriter iw = getRunData ( ) . getIndexWriter ( ) ; iw . updateDocument ( new Term ( DocMaker . ID_FIELD , docID ) , doc ) ; return 1 ; }
public override int DoLogic ( ) { string docID = doc . Get ( DocMaker . ID_FIELD ) ; if ( docID == null ) { throw new InvalidOperationException ( "document must define the docid field" ) ; } IndexWriter iw = RunData . IndexWriter ; iw . UpdateDocument ( new Term ( DocMaker . ID_FIELD , docID ) , doc ) ; return 1 ; }
public ListInstanceFleetsResult listInstanceFleets ( ListInstanceFleetsRequest request ) { request = beforeClientExecution ( request ) ; return executeListInstanceFleets ( request ) ; }
public virtual ListInstanceFleetsResponse ListInstanceFleets ( ListInstanceFleetsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListInstanceFleetsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListInstanceFleetsResponseUnmarshaller . Instance ; return Invoke < ListInstanceFleetsResponse > ( request , options ) ; }
public ValueEval evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval arg0 , ValueEval arg1 ) { return func . evaluate ( srcRowIndex , srcColumnIndex , arg0 , arg1 ) ; }
public override ValueEval Evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval arg0 , ValueEval arg1 ) { return func . Evaluate ( srcRowIndex , srcColumnIndex , arg0 , arg1 ) ; }
public DescribeDBParametersResult describeDBParameters ( DescribeDBParametersRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeDBParameters ( request ) ; }
public virtual DescribeDBParametersResponse DescribeDBParameters ( DescribeDBParametersRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeDBParametersRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeDBParametersResponseUnmarshaller . Instance ; return Invoke < DescribeDBParametersResponse > ( request , options ) ; }
public CreateFargateProfileResult createFargateProfile ( CreateFargateProfileRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateFargateProfile ( request ) ; }
public virtual CreateFargateProfileResponse CreateFargateProfile ( CreateFargateProfileRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateFargateProfileRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateFargateProfileResponseUnmarshaller . Instance ; return Invoke < CreateFargateProfileResponse > ( request , options ) ; }
public char previous ( ) { if ( offset == start ) { return DONE ; } return string . charAt ( -- offset ) ; }
public char previous ( ) { if ( offset == start ) { return java . text . CharacterIteratorClass . DONE ; } return @ string [ -- offset ] ; }
public List < String > call ( ) throws GitAPIException { checkCallable ( ) ; List < String > result = new ArrayList < > ( ) ; if ( tags . isEmpty ( ) ) return result ; try { setCallable ( false ) ; for ( String tagName : tags ) { if ( tagName == null ) continue ; Ref currentRef = repo . findRef ( tagName ) ; if ( currentRef == null ) continue ; String fullName = currentRef . getName ( ) ; RefUpdate update = repo . updateRef ( fullName ) ; update . setForceUpdate ( true ) ; Result deleteResult = update . delete ( ) ; boolean ok = true ; switch ( deleteResult ) { case IO_FAILURE : case LOCK_FAILURE : case REJECTED : ok = false ; break ; default : break ; } if ( ok ) { result . add ( fullName ) ; } else throw new JGitInternalException ( MessageFormat . format ( JGitText . get ( ) . deleteTagUnexpectedResult , deleteResult . name ( ) ) ) ; } return result ; } catch ( IOException ioe ) { throw new JGitInternalException ( ioe . getMessage ( ) , ioe ) ; } }
public override IList < string > Call ( ) { CheckCallable ( ) ; IList < string > result = new AList < string > ( ) ; if ( tags . IsEmpty ( ) ) { return result ; } try { SetCallable ( false ) ; foreach ( string tagName in tags ) { if ( tagName == null ) { continue ; } Ref currentRef = repo . GetRef ( tagName ) ; if ( currentRef == null ) { continue ; } string fullName = currentRef . GetName ( ) ; RefUpdate update = repo . UpdateRef ( fullName ) ; update . SetForceUpdate ( true ) ; RefUpdate . Result deleteResult = update . Delete ( ) ; bool ok = true ; switch ( deleteResult ) { case RefUpdate . Result . IO_FAILURE : case RefUpdate . Result . LOCK_FAILURE : case RefUpdate . Result . REJECTED : { ok = false ; break ; } default : { break ; break ; } } if ( ok ) { result . AddItem ( fullName ) ; } else { throw new JGitInternalException ( MessageFormat . Format ( JGitText . Get ( ) . deleteTagUnexpectedResult , deleteResult . ToString ( ) ) ) ; } } return result ; } catch ( IOException ioe ) { throw new JGitInternalException ( ioe . Message , ioe ) ; } }
public static void fill ( byte [ ] array , byte value ) { for ( int i = 0 ; i < array . length ; i ++ ) { array [ i ] = value ; } }
public static void fill ( byte [ ] array , byte value ) { { for ( int i = 0 ; i < array . Length ; i ++ ) { array [ i ] = value ; } } }
public CreateSampleFindingsResult createSampleFindings ( CreateSampleFindingsRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateSampleFindings ( request ) ; }
public virtual CreateSampleFindingsResponse CreateSampleFindings ( CreateSampleFindingsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateSampleFindingsRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateSampleFindingsResponseUnmarshaller . Instance ; return Invoke < CreateSampleFindingsResponse > ( request , options ) ; }
public Builder ( ) { slop = 0 ; terms = new ArrayList < > ( ) ; positions = new ArrayList < > ( ) ; }
public Builder ( ) : base ( ) { lastDocID = - 1 ; wordNum = - 1 ; word = 0 ; }
public boolean run ( char [ ] s , int offset , int length ) { int p = 0 ; int l = offset + length ; for ( int i = offset , cp = 0 ; i < l ; i += Character . charCount ( cp ) ) { p = step ( p , cp = Character . codePointAt ( s , i , l ) ) ; if ( p == - 1 ) return false ; } return accept . get ( p ) ; }
public virtual bool Run ( char [ ] s , int offset , int length ) { int p = m_initial ; int l = offset + length ; for ( int i = offset , cp = 0 ; i < l ; i += Character . CharCount ( cp ) ) { p = Step ( p , cp = Character . CodePointAt ( s , i , l ) ) ; if ( p == - 1 ) return false ; } return m_accept [ p ] ; }
public String toFormulaString ( ) { return "ERR#" ; }
public override String ToFormulaString ( ) { return "ERR#" ; }
public void close ( ) { synchronized ( lock ) { if ( out != null ) { try { out . close ( ) ; } catch ( IOException e ) { setError ( ) ; } out = null ; } } }
public override void close ( ) { lock ( @ lock ) { if ( @ out != null ) { try { @ out . close ( ) ; } catch ( System . IO . IOException ) { setError ( ) ; } @ out = null ; } } }
public int fillFields ( byte [ ] data , int offset , EscherRecordFactory recordFactory ) { int bytesRemaining = readHeader ( data , offset ) ; short propertiesCount = readInstance ( data , offset ) ; int pos = offset + 8 ; EscherPropertyFactory f = new EscherPropertyFactory ( ) ; properties . clear ( ) ; properties . addAll ( f . createProperties ( data , pos , propertiesCount ) ) ; return bytesRemaining + 8 ; }
public override int FillFields ( byte [ ] data , int offset , IEscherRecordFactory recordFactory ) { int bytesRemaining = ReadHeader ( data , offset ) ; short propertiesCount = ReadInstance ( data , offset ) ; int pos = offset + 8 ; EscherPropertyFactory f = new EscherPropertyFactory ( ) ; properties = f . CreateProperties ( data , pos , propertiesCount ) ; return bytesRemaining + 8 ; }
public EveryNOrDocFreqTermSelector ( int docFreqThresh , int interval ) { this . interval = interval ; this . docFreqThresh = docFreqThresh ; count = interval ; }
public EveryNOrDocFreqTermSelector ( int docFreqThresh , int interval ) { this . interval = interval ; this . docFreqThresh = docFreqThresh ; count = interval ; }
public UpdateAvailabilityOptionsResult updateAvailabilityOptions ( UpdateAvailabilityOptionsRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateAvailabilityOptions ( request ) ; }
public virtual UpdateAvailabilityOptionsResponse UpdateAvailabilityOptions ( UpdateAvailabilityOptionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateAvailabilityOptionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateAvailabilityOptionsResponseUnmarshaller . Instance ; return Invoke < UpdateAvailabilityOptionsResponse > ( request , options ) ; }
public AddInstanceFleetResult addInstanceFleet ( AddInstanceFleetRequest request ) { request = beforeClientExecution ( request ) ; return executeAddInstanceFleet ( request ) ; }
public virtual AddInstanceFleetResponse AddInstanceFleet ( AddInstanceFleetRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AddInstanceFleetRequestMarshaller . Instance ; options . ResponseUnmarshaller = AddInstanceFleetResponseUnmarshaller . Instance ; return Invoke < AddInstanceFleetResponse > ( request , options ) ; }
public synchronized void setMax ( int max ) { super . setMax ( max ) ; if ( ( mKeyProgressIncrement == 0 ) || ( getMax ( ) / mKeyProgressIncrement > 20 ) ) { setKeyProgressIncrement ( Math . max ( 1 , Math . round ( ( float ) getMax ( ) / 20 ) ) ) ; } }
public override void setMax ( int max ) { lock ( this ) { base . setMax ( max ) ; if ( ( mKeyProgressIncrement == 0 ) || ( getMax ( ) / mKeyProgressIncrement > 20 ) ) { setKeyProgressIncrement ( System . Math . Max ( 1 , Sharpen . Util . Round ( ( float ) getMax ( ) / 20 ) ) ) ; } } }
public LazyAreaEval getRow ( int rowIndex ) { if ( rowIndex >= getHeight ( ) ) { throw new IllegalArgumentException ( "Invalid rowIndex " + rowIndex + ". Allowable range is (0.." + getHeight ( ) + ")." ) ; } int absRowIx = getFirstRow ( ) + rowIndex ; return new LazyAreaEval ( absRowIx , getFirstColumn ( ) , absRowIx , getLastColumn ( ) , _evaluator ) ; }
public override TwoDEval GetRow ( int rowIndex ) { if ( rowIndex >= Height ) { throw new ArgumentException ( "Invalid rowIndex " + rowIndex + ". Allowable range is (0.." + Height + ")." ) ; } int absRowIx = FirstRow + rowIndex ; return new LazyAreaEval ( absRowIx , FirstColumn , absRowIx , LastColumn , _evaluator ) ; }
public IntervalSet getExpectedTokens ( int stateNumber , RuleContext context ) { if ( stateNumber < 0 || stateNumber >= states . size ( ) ) { throw new IllegalArgumentException ( "Invalid state number." ) ; } RuleContext ctx = context ; ATNState s = states . get ( stateNumber ) ; IntervalSet following = nextTokens ( s ) ; if ( ! following . contains ( Token . EPSILON ) ) { return following ; } IntervalSet expected = new IntervalSet ( ) ; expected . addAll ( following ) ; expected . remove ( Token . EPSILON ) ; while ( ctx != null && ctx . invokingState >= 0 && following . contains ( Token . EPSILON ) ) { ATNState invokingState = states . get ( ctx . invokingState ) ; RuleTransition rt = ( RuleTransition ) invokingState . transition ( 0 ) ; following = nextTokens ( rt . followState ) ; expected . addAll ( following ) ; expected . remove ( Token . EPSILON ) ; ctx = ctx . parent ; } if ( following . contains ( Token . EPSILON ) ) { expected . add ( Token . EOF ) ; } return expected ; }
public virtual IntervalSet GetExpectedTokens ( int stateNumber , RuleContext context ) { if ( stateNumber < 0 || stateNumber >= states . Count ) { throw new ArgumentException ( "Invalid state number." ) ; } RuleContext ctx = context ; ATNState s = states [ stateNumber ] ; IntervalSet following = NextTokens ( s ) ; if ( ! following . Contains ( TokenConstants . EPSILON ) ) { return following ; } IntervalSet expected = new IntervalSet ( ) ; expected . AddAll ( following ) ; expected . Remove ( TokenConstants . EPSILON ) ; while ( ctx != null && ctx . invokingState >= 0 && following . Contains ( TokenConstants . EPSILON ) ) { ATNState invokingState = states [ ctx . invokingState ] ; RuleTransition rt = ( RuleTransition ) invokingState . Transition ( 0 ) ; following = NextTokens ( rt . followState ) ; expected . AddAll ( following ) ; expected . Remove ( TokenConstants . EPSILON ) ; ctx = ctx . Parent ; } if ( following . Contains ( TokenConstants . EPSILON ) ) { expected . Add ( TokenConstants . EOF ) ; } return expected ; }