question
stringlengths
33
1.59k
target
stringlengths
33
1.58k
public static String revisionVersion ( IndexCommit commit ) { return Long . toString ( commit . getGeneration ( ) , RADIX ) ; }
public static string RevisionVersion ( IndexCommit commit ) { return commit . Generation . ToString ( "X" ) ; }
public ListServicesResult listServices ( ListServicesRequest request ) { request = beforeClientExecution ( request ) ; return executeListServices ( request ) ; }
public virtual ListServicesResponse ListServices ( ListServicesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListServicesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListServicesResponseUnmarshaller . Instance ; return Invoke < ListServicesResponse > ( request , options ) ; }
public BatchModifyClusterSnapshotsResult batchModifyClusterSnapshots ( BatchModifyClusterSnapshotsRequest request ) { request = beforeClientExecution ( request ) ; return executeBatchModifyClusterSnapshots ( request ) ; }
public virtual BatchModifyClusterSnapshotsResponse BatchModifyClusterSnapshots ( BatchModifyClusterSnapshotsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = BatchModifyClusterSnapshotsRequestMarshaller . Instance ; options . ResponseUnmarshaller = BatchModifyClusterSnapshotsResponseUnmarshaller . Instance ; return Invoke < BatchModifyClusterSnapshotsResponse > ( request , options ) ; }
public DeleteBackupResult deleteBackup ( DeleteBackupRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteBackup ( request ) ; }
public virtual DeleteBackupResponse DeleteBackup ( DeleteBackupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteBackupRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteBackupResponseUnmarshaller . Instance ; return Invoke < DeleteBackupResponse > ( request , options ) ; }
public DescribeDBParameterGroupsResult describeDBParameterGroups ( ) { return describeDBParameterGroups ( new DescribeDBParameterGroupsRequest ( ) ) ; }
public virtual DescribeDBParameterGroupsResponse DescribeDBParameterGroups ( ) { return DescribeDBParameterGroups ( new DescribeDBParameterGroupsRequest ( ) ) ; }
public void reset ( boolean zeroFillBuffers , boolean reuseFirst ) { if ( bufferUpto != - 1 ) { if ( zeroFillBuffers ) { for ( int i = 0 ; i < bufferUpto ; i ++ ) { Arrays . fill ( buffers [ i ] , 0 ) ; } Arrays . fill ( buffers [ bufferUpto ] , 0 , intUpto , 0 ) ; } if ( bufferUpto > 0 || ! reuseFirst ) { final int offset = reuseFirst ? 1 : 0 ; allocator . recycleIntBlocks ( buffers , offset , 1 + bufferUpto ) ; Arrays . fill ( buffers , offset , bufferUpto + 1 , null ) ; } if ( reuseFirst ) { bufferUpto = 0 ; intUpto = 0 ; intOffset = 0 ; buffer = buffers [ 0 ] ; } else { bufferUpto = - 1 ; intUpto = INT_BLOCK_SIZE ; intOffset = - INT_BLOCK_SIZE ; buffer = null ; } } }
public void Reset ( bool zeroFillBuffers , bool reuseFirst ) { if ( bufferUpto != - 1 ) { if ( zeroFillBuffers ) { for ( int i = 0 ; i < bufferUpto ; i ++ ) { Arrays . Fill ( buffers [ i ] , 0 ) ; } Arrays . Fill ( buffers [ bufferUpto ] , 0 , Int32Upto , 0 ) ; } if ( bufferUpto > 0 || ! reuseFirst ) { int offset = reuseFirst ? 1 : 0 ; allocator . RecycleInt32Blocks ( buffers , offset , 1 + bufferUpto ) ; Arrays . Fill ( buffers , offset , bufferUpto + 1 , null ) ; } if ( reuseFirst ) { bufferUpto = 0 ; Int32Upto = 0 ; Int32Offset = 0 ; buffer = buffers [ 0 ] ; } else { bufferUpto = - 1 ; Int32Upto = INT32_BLOCK_SIZE ; Int32Offset = - INT32_BLOCK_SIZE ; buffer = null ; } } }
public SaveRecalcRecord clone ( ) { return copy ( ) ; }
public override Object Clone ( ) { SaveRecalcRecord rec = new SaveRecalcRecord ( ) ; rec . field_1_recalc = field_1_recalc ; return rec ; }
public static void main ( String [ ] args ) { exec ( args ) ; }
public static void Main ( string [ ] args ) { Exec ( args ) ; }
public DeregisterImageResult deregisterImage ( DeregisterImageRequest request ) { request = beforeClientExecution ( request ) ; return executeDeregisterImage ( request ) ; }
public virtual DeregisterImageResponse DeregisterImage ( DeregisterImageRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeregisterImageRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeregisterImageResponseUnmarshaller . Instance ; return Invoke < DeregisterImageResponse > ( request , options ) ; }
public DBSnapshot modifyDBSnapshot ( ModifyDBSnapshotRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyDBSnapshot ( request ) ; }
public virtual ModifyDBSnapshotResponse ModifyDBSnapshot ( ModifyDBSnapshotRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyDBSnapshotRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyDBSnapshotResponseUnmarshaller . Instance ; return Invoke < ModifyDBSnapshotResponse > ( request , options ) ; }
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[BOUNDSHEET]\n" ) ; buffer . append ( " .bof = " ) . append ( HexDump . intToHex ( getPositionOfBof ( ) ) ) . append ( "\n" ) ; buffer . append ( " .options = " ) . append ( HexDump . shortToHex ( field_2_option_flags ) ) . append ( "\n" ) ; buffer . append ( " .unicodeflag= " ) . append ( HexDump . byteToHex ( field_4_isMultibyteUnicode ) ) . append ( "\n" ) ; buffer . append ( " .sheetname = " ) . append ( field_5_sheetname ) . append ( "\n" ) ; buffer . append ( "[/BOUNDSHEET]\n" ) ; return buffer . toString ( ) ; }
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[BOUNDSHEET]\n" ) ; buffer . Append ( " .bof = " ) . Append ( HexDump . IntToHex ( PositionOfBof ) ) . Append ( "\n" ) ; buffer . Append ( " .options = " ) . Append ( HexDump . ShortToHex ( field_2_option_flags ) ) . Append ( "\n" ) ; buffer . Append ( " .unicodeflag= " ) . Append ( HexDump . ByteToHex ( field_4_isMultibyteUnicode ) ) . Append ( "\n" ) ; buffer . Append ( " .sheetname = " ) . Append ( field_5_sheetname ) . Append ( "\n" ) ; buffer . Append ( "[/BOUNDSHEET]\n" ) ; return buffer . ToString ( ) ; }
public void setParams ( String params ) { this . params = params ; fieldsToLoad = new HashSet < > ( ) ; for ( StringTokenizer tokenizer = new StringTokenizer ( params , "," ) ; tokenizer . hasMoreTokens ( ) ; ) { String s = tokenizer . nextToken ( ) ; fieldsToLoad . add ( s ) ; } }
public override void SetParams ( string @ params ) { this . m_params = @ params ; m_fieldsToLoad = new JCG . HashSet < string > ( ) ; for ( StringTokenizer tokenizer = new StringTokenizer ( @ params , "," ) ; tokenizer . MoveNext ( ) ; ) { string s = tokenizer . Current ; m_fieldsToLoad . Add ( s ) ; } }
public GetNamedQueryResult getNamedQuery ( GetNamedQueryRequest request ) { request = beforeClientExecution ( request ) ; return executeGetNamedQuery ( request ) ; }
public virtual GetNamedQueryResponse GetNamedQuery ( GetNamedQueryRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetNamedQueryRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetNamedQueryResponseUnmarshaller . Instance ; return Invoke < GetNamedQueryResponse > ( request , options ) ; }
public GermanStemFilter create ( TokenStream in ) { return new GermanStemFilter ( in ) ; }
public override TokenStream Create ( TokenStream @ in ) { return new GermanStemFilter ( @ in ) ; }
public ExtendedFormatRecord createCellXF ( ) { ExtendedFormatRecord xf = createExtendedFormat ( ) ; records . add ( records . getXfpos ( ) + 1 , xf ) ; records . setXfpos ( records . getXfpos ( ) + 1 ) ; numxfs ++ ; return xf ; }
public ExtendedFormatRecord CreateCellXF ( ) { ExtendedFormatRecord xf = CreateExtendedFormat ( ) ; records . Add ( records . Xfpos + 1 , xf ) ; records . Xfpos = records . Xfpos + 1 ; numxfs ++ ; return xf ; }
public Cluster modifyClusterMaintenance ( ModifyClusterMaintenanceRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyClusterMaintenance ( request ) ; }
public virtual ModifyClusterMaintenanceResponse ModifyClusterMaintenance ( ModifyClusterMaintenanceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyClusterMaintenanceRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyClusterMaintenanceResponseUnmarshaller . Instance ; return Invoke < ModifyClusterMaintenanceResponse > ( request , options ) ; }
public DeleteDBSecurityGroupResult deleteDBSecurityGroup ( DeleteDBSecurityGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDBSecurityGroup ( request ) ; }
public virtual DeleteDBSecurityGroupResponse DeleteDBSecurityGroup ( DeleteDBSecurityGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDBSecurityGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDBSecurityGroupResponseUnmarshaller . Instance ; return Invoke < DeleteDBSecurityGroupResponse > ( request , options ) ; }
public static FormulaError forInt ( int type ) throws IllegalArgumentException { FormulaError err = imap . get ( type ) ; if ( err == null ) err = bmap . get ( ( byte ) type ) ; if ( err == null ) throw new IllegalArgumentException ( "Unknown error type: " + type ) ; return err ; }
public static FormulaError ForInt ( byte type ) { if ( bmap . ContainsKey ( type ) ) return bmap [ type ] ; throw new ArgumentException ( "Unknown error type: " + type ) ; }
public void finish ( StringBuffer toAppendTo ) { if ( hStart >= 0 && ! showAmPm ) { for ( int i = 0 ; i < hLen ; i ++ ) { toAppendTo . setCharAt ( hStart + i , 'H' ) ; } } }
public void Finish ( StringBuilder toAppendTo ) { if ( hStart >= 0 && ! _formatter . ShowAmPm ) { for ( int i = 0 ; i < hLen ; i ++ ) { toAppendTo [ hStart + i ] = 'H' ; } } }
public SendRawEmailResult sendRawEmail ( SendRawEmailRequest request ) { request = beforeClientExecution ( request ) ; return executeSendRawEmail ( request ) ; }
public virtual SendRawEmailResponse SendRawEmail ( SendRawEmailRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SendRawEmailRequestMarshaller . Instance ; options . ResponseUnmarshaller = SendRawEmailResponseUnmarshaller . Instance ; return Invoke < SendRawEmailResponse > ( request , options ) ; }
public void clear ( ) { if ( readonly ) throw new IllegalStateException ( "can't alter readonly IntervalSet" ) ; intervals . clear ( ) ; }
public virtual void Clear ( ) { if ( @ readonly ) { throw new InvalidOperationException ( "can't alter readonly IntervalSet" ) ; } intervals . Clear ( ) ; }
public int previous ( ) { if ( current == start ) { return DONE ; } else { return first ( ) ; } }
public override int Previous ( ) { if ( current == start ) { return Done ; } else { return First ( ) ; } }
public DeleteDocumentClassifierResult deleteDocumentClassifier ( DeleteDocumentClassifierRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDocumentClassifier ( request ) ; }
public virtual DeleteDocumentClassifierResponse DeleteDocumentClassifier ( DeleteDocumentClassifierRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDocumentClassifierRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDocumentClassifierResponseUnmarshaller . Instance ; return Invoke < DeleteDocumentClassifierResponse > ( request , options ) ; }
public DeleteDeviceAllGroupRequest ( ) { super ( "LinkFace" , "2018-07-20" , "DeleteDeviceAllGroup" ) ; setProtocol ( ProtocolType . HTTPS ) ; setMethod ( MethodType . POST ) ; }
public DeleteDeviceAllGroupRequest ( ) : base ( "LinkFace" , "2018-07-20" , "DeleteDeviceAllGroup" ) { Protocol = ProtocolType . HTTPS ; Method = MethodType . POST ; }
public String toString ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( getClass ( ) . getName ( ) ) ; sb . append ( " [" ) ; sb . append ( "sheetIx=" ) . append ( getExternSheetIndex ( ) ) ; sb . append ( " ! " ) ; sb . append ( formatReferenceAsString ( ) ) ; sb . append ( "]" ) ; return sb . toString ( ) ; }
public override String ToString ( ) { CellReference cr = new CellReference ( Row , Column , ! IsRowRelative , ! IsColRelative ) ; StringBuilder sb = new StringBuilder ( ) ; sb . Append ( GetType ( ) . Name ) ; sb . Append ( " [" ) ; sb . Append ( "sheetIx=" ) . Append ( ExternSheetIndex ) ; sb . Append ( " ! " ) ; sb . Append ( cr . FormatAsString ( ) ) ; sb . Append ( "]" ) ; return sb . ToString ( ) ; }
public CreateBGPPeerResult createBGPPeer ( CreateBGPPeerRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateBGPPeer ( request ) ; }
public virtual CreateBGPPeerResponse CreateBGPPeer ( CreateBGPPeerRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateBGPPeerRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateBGPPeerResponseUnmarshaller . Instance ; return Invoke < CreateBGPPeerResponse > ( request , options ) ; }
public String toASCIIString ( ) { StringBuilder result = new StringBuilder ( ) ; ASCII_ONLY . appendEncoded ( result , toString ( ) ) ; return result . toString ( ) ; }
public string toASCIIString ( ) { java . lang . StringBuilder result = new java . lang . StringBuilder ( ) ; ASCII_ONLY . appendEncoded ( result , ToString ( ) ) ; return result . ToString ( ) ; }
public CharSequence subSequence ( int start , int end ) { int remaining = end - start ; StringBuilder sb = new StringBuilder ( remaining ) ; int blockIdx = blockIndex ( start ) ; int indexInBlock = indexInBlock ( start ) ; while ( remaining > 0 ) { Block b = blocks . get ( blockIdx ++ ) ; int numToAppend = Math . min ( remaining , b . length - indexInBlock ) ; sb . append ( b . chars , indexInBlock , numToAppend ) ; remaining -= numToAppend ; indexInBlock = 0 ; } return sb . toString ( ) ; }
public virtual ICharSequence Subsequence ( int startIndex , int length ) { int remaining = length ; StringBuilder sb = new StringBuilder ( remaining ) ; int blockIdx = BlockIndex ( startIndex ) ; int indexInBlock = IndexInBlock ( startIndex ) ; while ( remaining > 0 ) { Block b = blocks [ blockIdx ++ ] ; int numToAppend = Math . Min ( remaining , b . length - indexInBlock ) ; sb . Append ( b . chars , indexInBlock , numToAppend ) ; remaining -= numToAppend ; indexInBlock = 0 ; } return new StringBuilderCharSequence ( sb ) ; }
public long get ( int index ) { final int o = index > > > 3 ; final int b = index & 7 ; final int shift = b << 3 ; return ( blocks [ o ] > > > shift ) & 255L ; }
public override long Get ( int index ) { int o = ( int ) ( ( uint ) index > > 3 ) ; int b = index & 7 ; int shift = b << 3 ; return ( ( long ) ( ( ulong ) blocks [ o ] > > shift ) ) & 255L ; }
public static Collection < String > getNotSupportedFunctionNames ( ) { Collection < String > lst = new TreeSet < > ( ) ; for ( int i = 0 ; i < functions . length ; i ++ ) { Function func = functions [ i ] ; if ( func != null && ( func instanceof NotImplementedFunction ) ) { FunctionMetadata metaData = FunctionMetadataRegistry . getFunctionByIndex ( i ) ; lst . add ( metaData . getName ( ) ) ; } } lst . remove ( "INDIRECT" ) ; return Collections . unmodifiableCollection ( lst ) ; }
public static ReadOnlyCollection < String > GetNotSupportedFunctionNames ( ) { List < String > lst = new List < String > ( ) ; for ( int i = 0 ; i < functions . Length ; i ++ ) { Function func = functions [ i ] ; if ( func != null && ( func is NotImplementedFunction ) ) { FunctionMetadata metaData = FunctionMetadataRegistry . GetFunctionByIndex ( i ) ; lst . Add ( metaData . Name ) ; } } lst . Remove ( "INDIRECT" ) ; return lst . AsReadOnly ( ) ; }
public ItalianLightStemFilterFactory ( Map < String , String > args ) { super ( args ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public ItalianLightStemFilterFactory ( IDictionary < string , string > args ) : base ( args ) { if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }
public void write ( LittleEndianOutput out ) { out . writeByte ( sid + getPtgClass ( ) ) ; out . writeByte ( getNumberOfOperands ( ) ) ; out . writeShort ( getFunctionIndex ( ) ) ; }
public override void Write ( ILittleEndianOutput out1 ) { out1 . WriteByte ( sid + PtgClass ) ; out1 . WriteByte ( _numberOfArgs ) ; out1 . WriteShort ( _functionIndex ) ; }
public String getTokenErrorDisplay ( Token t ) { if ( t == null ) return "<no token>" ; String s = t . getText ( ) ; if ( s == null ) { if ( t . getType ( ) == Token . EOF ) { s = "<EOF>" ; } else { s = "<" + t . getType ( ) + ">" ; } } s = s . replace ( "\n" , "\\n" ) ; s = s . replace ( "\r" , "\\r" ) ; s = s . replace ( "\t" , "\\t" ) ; return "'" + s + "'" ; }
public virtual string GetTokenErrorDisplay ( IToken t ) { if ( t == null ) { return "<no token>" ; } string s = t . Text ; if ( s == null ) { if ( t . Type == TokenConstants . EOF ) { s = "<EOF>" ; } else { s = "<" + t . Type + ">" ; } } s = s . Replace ( "\n" , "\\n" ) ; s = s . Replace ( "\r" , "\\r" ) ; s = s . Replace ( "\t" , "\\t" ) ; return "'" + s + "'" ; }
public NumericPayloadTokenFilter create ( TokenStream input ) { return new NumericPayloadTokenFilter ( input , payload , typeMatch ) ; }
public override TokenStream Create ( TokenStream input ) { return new NumericPayloadTokenFilter ( input , payload , typeMatch ) ; }
public void incrementDrawingsSaved ( ) { dgg . setDrawingsSaved ( dgg . getDrawingsSaved ( ) + 1 ) ; }
public void IncrementDrawingsSaved ( ) { dgg . DrawingsSaved = dgg . DrawingsSaved + 1 ; }
public UploadSigningCertificateRequest ( String certificateBody ) { setCertificateBody ( certificateBody ) ; }
public UploadSigningCertificateRequest ( string certificateBody ) { _certificateBody = certificateBody ; }
public DeleteJourneyResult deleteJourney ( DeleteJourneyRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteJourney ( request ) ; }
public virtual DeleteJourneyResponse DeleteJourney ( DeleteJourneyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteJourneyRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteJourneyResponseUnmarshaller . Instance ; return Invoke < DeleteJourneyResponse > ( request , options ) ; }
public void reset ( ) { ptr = mark ; }
public override void Reset ( ) { ptr = mark ; }
public DescribeInstanceHealthRequest ( String loadBalancerName ) { setLoadBalancerName ( loadBalancerName ) ; }
public DescribeInstanceHealthRequest ( string loadBalancerName ) { _loadBalancerName = loadBalancerName ; }
public static Automaton toAutomaton ( Term wildcardquery ) { List < Automaton > automata = new ArrayList < > ( ) ; String wildcardText = wildcardquery . text ( ) ; for ( int i = 0 ; i < wildcardText . length ( ) ; ) { final int c = wildcardText . codePointAt ( i ) ; int length = Character . charCount ( c ) ; switch ( c ) { case WILDCARD_STRING : automata . add ( Automata . makeAnyString ( ) ) ; break ; case WILDCARD_CHAR : automata . add ( Automata . makeAnyChar ( ) ) ; break ; case WILDCARD_ESCAPE : if ( i + length < wildcardText . length ( ) ) { final int nextChar = wildcardText . codePointAt ( i + length ) ; length += Character . charCount ( nextChar ) ; automata . add ( Automata . makeChar ( nextChar ) ) ; break ; } default : automata . add ( Automata . makeChar ( c ) ) ; } i += length ; } return Operations . concatenate ( automata ) ; }
public static Automaton ToAutomaton ( Term wildcardquery ) { IList < Automaton > automata = new List < Automaton > ( ) ; string wildcardText = wildcardquery . Text ( ) ; for ( int i = 0 ; i < wildcardText . Length ; ) { int c = Character . CodePointAt ( wildcardText , i ) ; int length = Character . CharCount ( c ) ; switch ( c ) { case WILDCARD_STRING : automata . Add ( BasicAutomata . MakeAnyString ( ) ) ; break ; case WILDCARD_CHAR : automata . Add ( BasicAutomata . MakeAnyChar ( ) ) ; break ; case WILDCARD_ESCAPE : if ( i + length < wildcardText . Length ) { int nextChar = Character . CodePointAt ( wildcardText , i + length ) ; length += Character . CharCount ( nextChar ) ; automata . Add ( BasicAutomata . MakeChar ( nextChar ) ) ; break ; } goto default ; default : automata . Add ( BasicAutomata . MakeChar ( c ) ) ; break ; } i += length ; } return BasicOperations . Concatenate ( automata ) ; }
public boolean equals ( Object obj ) { if ( this == obj ) return true ; if ( obj == null ) return false ; if ( obj instanceof ExtendedFormatRecord ) { final ExtendedFormatRecord other = ( ExtendedFormatRecord ) obj ; if ( field_1_font_index != other . field_1_font_index ) return false ; if ( field_2_format_index != other . field_2_format_index ) return false ; if ( field_3_cell_options != other . field_3_cell_options ) return false ; if ( field_4_alignment_options != other . field_4_alignment_options ) return false ; if ( field_5_indention_options != other . field_5_indention_options ) return false ; if ( field_6_border_options != other . field_6_border_options ) return false ; if ( field_7_palette_options != other . field_7_palette_options ) return false ; if ( field_8_adtl_palette_options != other . field_8_adtl_palette_options ) return false ; if ( field_9_fill_palette_options != other . field_9_fill_palette_options ) return false ; return true ; } return false ; }
public override bool Equals ( Object obj ) { if ( this == obj ) return true ; if ( obj == null ) return false ; if ( obj is ExtendedFormatRecord ) { ExtendedFormatRecord other = ( ExtendedFormatRecord ) obj ; if ( field_1_font_index != other . field_1_font_index ) return false ; if ( field_2_format_index != other . field_2_format_index ) return false ; if ( field_3_cell_options != other . field_3_cell_options ) return false ; if ( field_4_alignment_options != other . field_4_alignment_options ) return false ; if ( field_5_indention_options != other . field_5_indention_options ) return false ; if ( field_6_border_options != other . field_6_border_options ) return false ; if ( field_7_palette_options != other . field_7_palette_options ) return false ; if ( field_8_adtl_palette_options != other . field_8_adtl_palette_options ) return false ; if ( field_9_fill_palette_options != other . field_9_fill_palette_options ) return false ; return true ; } return false ; }
public short [ ] getTriplet ( ) { return new short [ ] { ( short ) ( _red & 0xff ) , ( short ) ( _green & 0xff ) , ( short ) ( _blue & 0xff ) } ; }
public override byte [ ] GetTriplet ( ) { return new byte [ ] { ( byte ) ( red & 0xff ) , ( byte ) ( green & 0xff ) , ( byte ) ( blue & 0xff ) } ; }
public BlameCommand setFollowFileRenames ( boolean follow ) { followFileRenames = Boolean . valueOf ( follow ) ; return this ; }
public virtual NGit . Api . BlameCommand SetFollowFileRenames ( bool follow ) { followFileRenames = Sharpen . Extensions . ValueOf ( follow ) ; return this ; }
public StringMatcher ( String value , CmpOp operator ) { super ( operator ) ; _value = value ; switch ( operator . getCode ( ) ) { case CmpOp . NONE : case CmpOp . EQ : case CmpOp . NE : _pattern = getWildCardPattern ( value ) ; break ; default : _pattern = null ; } }
public StringMatcher ( String value , CmpOp optr ) : base ( optr ) { _value = value ; _operator = optr ; switch ( optr . Code ) { case CmpOp . NONE : case CmpOp . EQ : case CmpOp . NE : _pattern = GetWildCardPattern ( value ) ; break ; default : _pattern = null ; break ; } }
public DefaultColWidthRecord ( ) { field_1_col_width = DEFAULT_COLUMN_WIDTH ; }
public DefaultColWidthRecord ( ) { field_1_col_width = DEFAULT_COLUMN_WIDTH ; }
public GetIndustryInfoListRequest ( ) { super ( "industry-brain" , "2018-07-12" , "GetIndustryInfoList" ) ; setProtocol ( ProtocolType . HTTPS ) ; }
public GetIndustryInfoListRequest ( ) : base ( "industry-brain" , "2018-07-12" , "GetIndustryInfoList" ) { Protocol = ProtocolType . HTTPS ; }
public AssociateTrialComponentResult associateTrialComponent ( AssociateTrialComponentRequest request ) { request = beforeClientExecution ( request ) ; return executeAssociateTrialComponent ( request ) ; }
public virtual AssociateTrialComponentResponse AssociateTrialComponent ( AssociateTrialComponentRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AssociateTrialComponentRequestMarshaller . Instance ; options . ResponseUnmarshaller = AssociateTrialComponentResponseUnmarshaller . Instance ; return Invoke < AssociateTrialComponentResponse > ( request , options ) ; }
public FileIdCluster addCluster ( int dgId , int numShapedUsed ) { return addCluster ( dgId , numShapedUsed , true ) ; }
public void AddCluster ( int dgId , int numShapedUsed ) { AddCluster ( dgId , numShapedUsed , true ) ; }
public GetFieldLevelEncryptionResult getFieldLevelEncryption ( GetFieldLevelEncryptionRequest request ) { request = beforeClientExecution ( request ) ; return executeGetFieldLevelEncryption ( request ) ; }
public virtual GetFieldLevelEncryptionResponse GetFieldLevelEncryption ( GetFieldLevelEncryptionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetFieldLevelEncryptionRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetFieldLevelEncryptionResponseUnmarshaller . Instance ; return Invoke < GetFieldLevelEncryptionResponse > ( request , options ) ; }
public CharBuffer get ( char [ ] dst , int dstOffset , int charCount ) { Arrays . checkOffsetAndCount ( dst . length , dstOffset , charCount ) ; if ( charCount > remaining ( ) ) { throw new BufferUnderflowException ( ) ; } for ( int i = dstOffset ; i < dstOffset + charCount ; ++ i ) { dst [ i ] = get ( ) ; } return this ; }
public virtual java . nio . CharBuffer get ( char [ ] dst , int dstOffset , int charCount ) { java . util . Arrays . checkOffsetAndCount ( dst . Length , dstOffset , charCount ) ; if ( charCount > remaining ( ) ) { throw new java . nio . BufferUnderflowException ( ) ; } { for ( int i = dstOffset ; i < dstOffset + charCount ; ++ i ) { dst [ i ] = get ( ) ; } } return this ; }
public UpdateServiceResult updateService ( UpdateServiceRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateService ( request ) ; }
public virtual UpdateServiceResponse UpdateService ( UpdateServiceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateServiceRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateServiceResponseUnmarshaller . Instance ; return Invoke < UpdateServiceResponse > ( request , options ) ; }
public FlushStageCacheResult flushStageCache ( FlushStageCacheRequest request ) { request = beforeClientExecution ( request ) ; return executeFlushStageCache ( request ) ; }
public virtual FlushStageCacheResponse FlushStageCache ( FlushStageCacheRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = FlushStageCacheRequestMarshaller . Instance ; options . ResponseUnmarshaller = FlushStageCacheResponseUnmarshaller . Instance ; return Invoke < FlushStageCacheResponse > ( request , options ) ; }
public ModifyInstanceMetadataOptionsResult modifyInstanceMetadataOptions ( ModifyInstanceMetadataOptionsRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyInstanceMetadataOptions ( request ) ; }
public virtual ModifyInstanceMetadataOptionsResponse ModifyInstanceMetadataOptions ( ModifyInstanceMetadataOptionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyInstanceMetadataOptionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyInstanceMetadataOptionsResponseUnmarshaller . Instance ; return Invoke < ModifyInstanceMetadataOptionsResponse > ( request , options ) ; }
public DefaultRowHeightRecord ( RecordInputStream in ) { field_1_option_flags = in . readShort ( ) ; field_2_row_height = in . readShort ( ) ; }
public DefaultRowHeightRecord ( RecordInputStream in1 ) { field_1_option_flags = in1 . ReadShort ( ) ; field_2_row_height = in1 . ReadShort ( ) ; }
public ListModelPackagesResult listModelPackages ( ListModelPackagesRequest request ) { request = beforeClientExecution ( request ) ; return executeListModelPackages ( request ) ; }
public virtual ListModelPackagesResponse ListModelPackages ( ListModelPackagesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListModelPackagesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListModelPackagesResponseUnmarshaller . Instance ; return Invoke < ListModelPackagesResponse > ( request , options ) ; }
public StopFleetActionsResult stopFleetActions ( StopFleetActionsRequest request ) { request = beforeClientExecution ( request ) ; return executeStopFleetActions ( request ) ; }
public virtual StopFleetActionsResponse StopFleetActions ( StopFleetActionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StopFleetActionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = StopFleetActionsResponseUnmarshaller . Instance ; return Invoke < StopFleetActionsResponse > ( request , options ) ; }
public boolean matches ( ValueEval x ) { double testValue ; if ( x instanceof StringEval ) { switch ( getCode ( ) ) { case CmpOp . EQ : case CmpOp . NONE : break ; case CmpOp . NE : return true ; default : return false ; } StringEval se = ( StringEval ) x ; Double val = OperandResolver . parseDouble ( se . getStringValue ( ) ) ; if ( val == null ) { return false ; } return _value == val . doubleValue ( ) ; } else if ( ( x instanceof NumberEval ) ) { NumberEval ne = ( NumberEval ) x ; testValue = ne . getNumberValue ( ) ; } else if ( ( x instanceof BlankEval ) ) { switch ( getCode ( ) ) { case CmpOp . NE : return true ; default : return false ; } } else { return false ; } return evaluate ( Double . compare ( testValue , _value ) ) ; }
public override bool Matches ( ValueEval x ) { double testValue ; if ( x is StringEval ) { switch ( Code ) { case CmpOp . EQ : case CmpOp . NONE : break ; case CmpOp . NE : return true ; default : return false ; } StringEval se = ( StringEval ) x ; Double val = OperandResolver . ParseDouble ( se . StringValue ) ; if ( double . IsNaN ( val ) ) { return false ; } return _value == val ; } else if ( ( x is NumberEval ) ) { NumberEval ne = ( NumberEval ) x ; testValue = ne . NumberValue ; } else if ( ( x is BlankEval ) ) { switch ( Code ) { case CmpOp . NE : return true ; default : return false ; } } else { return false ; } return Evaluate ( testValue . CompareTo ( _value ) ) ; }
public boolean include ( RevWalk walker , RevCommit c ) { throw new UnsupportedOperationException ( JGitText . get ( ) . cannotBeCombined ) ; }
public override bool Include ( RevWalk walker , RevCommit c ) { throw new NotSupportedException ( JGitText . Get ( ) . cannotBeCombined ) ; }
public LongList ( int capacity ) { entries = new long [ capacity ] ; }
public LongList ( int capacity ) { entries = new long [ capacity ] ; }
public static String readAsciiLine ( InputStream in ) throws IOException { StringBuilder result = new StringBuilder ( 80 ) ; while ( true ) { int c = in . read ( ) ; if ( c == - 1 ) { throw new EOFException ( ) ; } else if ( c == '\n' ) { break ; } result . append ( ( char ) c ) ; } int length = result . length ( ) ; if ( length > 0 && result . charAt ( length - 1 ) == '\r' ) { result . setLength ( length - 1 ) ; } return result . toString ( ) ; }
public static string readAsciiLine ( java . io . InputStream @ in ) { java . lang . StringBuilder result = new java . lang . StringBuilder ( 80 ) ; while ( true ) { int c = @ in . read ( ) ; if ( c == - 1 ) { throw new java . io . EOFException ( ) ; } else { if ( c == '\n' ) { break ; } } result . append ( ( char ) c ) ; } int length = result . Length ; if ( length > 0 && result [ length - 1 ] == '\r' ) { result . setLength ( length - 1 ) ; } return result . ToString ( ) ; }
public DeleteRouteRequestParameterResult deleteRouteRequestParameter ( DeleteRouteRequestParameterRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteRouteRequestParameter ( request ) ; }
public virtual DeleteRouteRequestParameterResponse DeleteRouteRequestParameter ( DeleteRouteRequestParameterRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteRouteRequestParameterRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteRouteRequestParameterResponseUnmarshaller . Instance ; return Invoke < DeleteRouteRequestParameterResponse > ( request , options ) ; }
public int getRowCountForBlock ( int block ) { int startIndex = block * DBCellRecord . BLOCK_SIZE ; int endIndex = startIndex + DBCellRecord . BLOCK_SIZE - 1 ; if ( endIndex >= _rowRecords . size ( ) ) endIndex = _rowRecords . size ( ) - 1 ; return endIndex - startIndex + 1 ; }
public int GetRowCountForBlock ( int block ) { int startIndex = block * DBCellRecord . BLOCK_SIZE ; int endIndex = startIndex + DBCellRecord . BLOCK_SIZE - 1 ; if ( endIndex >= _rowRecords . Count ) endIndex = _rowRecords . Count - 1 ; return endIndex - startIndex + 1 ; }
public boolean add ( CharSequence text ) { return map . put ( text , PLACEHOLDER ) == null ; }
public virtual bool Add ( ICharSequence text ) { return map . Put ( text ) ; }
public FSTCompletion ( FST < Object > automaton , boolean higherWeightsFirst , boolean exactFirst ) { this . automaton = automaton ; if ( automaton != null ) { this . rootArcs = cacheRootArcs ( automaton ) ; } else { this . rootArcs = new Arc [ 0 ] ; } this . higherWeightsFirst = higherWeightsFirst ; this . exactFirst = exactFirst ; }
public FSTCompletion ( FST < object > automaton , bool higherWeightsFirst , bool exactFirst ) { this . automaton = automaton ; if ( automaton != null ) { this . rootArcs = CacheRootArcs ( automaton ) ; } else { this . rootArcs = new FST . Arc < object > [ 0 ] ; } this . higherWeightsFirst = higherWeightsFirst ; this . exactFirst = exactFirst ; }
public Explanation idfExplain ( CollectionStatistics collectionStats , TermStatistics termStats [ ] ) { double idf = 0d ; List < Explanation > details = new ArrayList < > ( ) ; for ( final TermStatistics stat : termStats ) { Explanation idfExplain = idfExplain ( collectionStats , stat ) ; details . add ( idfExplain ) ; idf += idfExplain . getValue ( ) . floatValue ( ) ; } return Explanation . match ( ( float ) idf , "idf, sum of:" , details ) ; }
public virtual Explanation IdfExplain ( CollectionStatistics collectionStats , TermStatistics termStats ) { long df = termStats . DocFreq ; long max = collectionStats . MaxDoc ; float idf = Idf ( df , max ) ; return new Explanation ( idf , "idf(docFreq=" + df + ", maxDocs=" + max + ")" ) ; }
public CreateEndpointResult createEndpoint ( CreateEndpointRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateEndpoint ( request ) ; }
public virtual CreateEndpointResponse CreateEndpoint ( CreateEndpointRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateEndpointRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateEndpointResponseUnmarshaller . Instance ; return Invoke < CreateEndpointResponse > ( request , options ) ; }
public int serialize ( int offset , byte [ ] data ) { LittleEndian . putShort ( data , 0 + offset , getSid ( ) ) ; LittleEndian . putShort ( data , 2 + offset , ( short ) ( getRecordSize ( ) - 4 ) ) ; byte [ ] rawData = getRawData ( ) ; if ( escherRecords . size ( ) == 0 && rawData != null ) { LittleEndian . putShort ( data , 0 + offset , getSid ( ) ) ; LittleEndian . putShort ( data , 2 + offset , ( short ) ( getRecordSize ( ) - 4 ) ) ; System . arraycopy ( rawData , 0 , data , 4 + offset , rawData . length ) ; return rawData . length + 4 ; } LittleEndian . putShort ( data , 0 + offset , getSid ( ) ) ; LittleEndian . putShort ( data , 2 + offset , ( short ) ( getRecordSize ( ) - 4 ) ) ; int pos = offset + 4 ; for ( EscherRecord r : escherRecords ) { pos += r . serialize ( pos , data , new NullEscherSerializationListener ( ) ) ; } return getRecordSize ( ) ; }
public override int Serialize ( int offset , byte [ ] data ) { LittleEndian . PutShort ( data , 0 + offset , Sid ) ; LittleEndian . PutShort ( data , 2 + offset , ( short ) ( RecordSize - 4 ) ) ; byte [ ] rawData = RawData ; if ( escherRecords . Count == 0 && rawData != null ) { LittleEndian . PutShort ( data , 0 + offset , Sid ) ; LittleEndian . PutShort ( data , 2 + offset , ( short ) ( RecordSize - 4 ) ) ; Array . Copy ( rawData , 0 , data , 4 + offset , rawData . Length ) ; return rawData . Length + 4 ; } LittleEndian . PutShort ( data , 0 + offset , Sid ) ; LittleEndian . PutShort ( data , 2 + offset , ( short ) ( RecordSize - 4 ) ) ; int pos = offset + 4 ; foreach ( EscherRecord r in escherRecords ) { pos += r . Serialize ( pos , data , new NullEscherSerializationListener ( ) ) ; } return RecordSize ; }
public boolean isBelowMaxRep ( ) { int sc = _significand . bitLength ( ) - C_64 ; return _significand . compareTo ( BI_MAX_BASE . shiftLeft ( sc ) ) < 0 ; }
public bool IsBelowMaxRep ( ) { int sc = _significand . BitLength ( ) - C_64 ; return _significand . CompareTo ( BI_MAX_BASE . ShiftLeft ( sc ) ) < 0 ; }
public FieldIndexEnum getFieldEnum ( FieldInfo fieldInfo ) { final FieldIndexData fieldData = fields . get ( fieldInfo . name ) ; if ( fieldData . fst == null ) { return null ; } else { return new IndexEnum ( fieldData . fst ) ; } }
public override FieldIndexEnum GetFieldEnum ( FieldInfo fieldInfo ) { FieldIndexData fieldData ; if ( ! fields . TryGetValue ( fieldInfo , out fieldData ) || fieldData == null || fieldData . fst == null ) { return null ; } else { return new IndexEnum ( fieldData . fst ) ; } }
public AssociationsFacetsExample ( ) { config = new FacetsConfig ( ) ; config . setMultiValued ( "tags" , true ) ; config . setIndexFieldName ( "tags" , "$tags" ) ; config . setMultiValued ( "genre" , true ) ; config . setIndexFieldName ( "genre" , "$genre" ) ; }
public AssociationsFacetsExample ( ) { config = new FacetsConfig ( ) ; config . SetMultiValued ( "tags" , true ) ; config . SetIndexFieldName ( "tags" , "$tags" ) ; config . SetMultiValued ( "genre" , true ) ; config . SetIndexFieldName ( "genre" , "$genre" ) ; }
public void fill ( int fromIndex , int toIndex , long val ) { ensureCapacity ( val ) ; current . fill ( fromIndex , toIndex , val ) ; }
public override void Fill ( int fromIndex , int toIndex , long val ) { EnsureCapacity ( val ) ; current . Fill ( fromIndex , toIndex , val ) ; }
public ListDeploymentConfigsResult listDeploymentConfigs ( ListDeploymentConfigsRequest request ) { request = beforeClientExecution ( request ) ; return executeListDeploymentConfigs ( request ) ; }
public virtual ListDeploymentConfigsResponse ListDeploymentConfigs ( ListDeploymentConfigsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListDeploymentConfigsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListDeploymentConfigsResponseUnmarshaller . Instance ; return Invoke < ListDeploymentConfigsResponse > ( request , options ) ; }
public ListUserPoliciesRequest ( String userName ) { setUserName ( userName ) ; }
public ListUserPoliciesRequest ( string userName ) { _userName = userName ; }
public TokenStream create ( TokenStream input ) { return new FinnishLightStemFilter ( input ) ; }
public override TokenStream Create ( TokenStream input ) { return new FinnishLightStemFilter ( input ) ; }
public CharSequence getLastOnPath ( CharSequence key ) { StringBuilder result = new StringBuilder ( tries . size ( ) * 2 ) ; for ( int i = 0 ; i < tries . size ( ) ; i ++ ) { CharSequence r = tries . get ( i ) . getLastOnPath ( key ) ; if ( r == null || ( r . length ( ) == 1 && r . charAt ( 0 ) == EOM ) ) { return result ; } result . append ( r ) ; } return result ; }
public override string GetLastOnPath ( string key ) { StringBuilder result = new StringBuilder ( m_tries . Count * 2 ) ; for ( int i = 0 ; i < m_tries . Count ; i ++ ) { string r = m_tries [ i ] . GetLastOnPath ( key ) ; if ( r == null || ( r . Length == 1 && r [ 0 ] == EOM ) ) { return result . ToString ( ) ; } result . Append ( r ) ; } return result . ToString ( ) ; }
public int getExternalSheetIndex ( String workbookName , String firstSheetName , String lastSheetName ) { int externalBookIndex = getExternalWorkbookIndex ( workbookName ) ; if ( externalBookIndex == - 1 ) { throw new RuntimeException ( "No external workbook with name '" + workbookName + "'" ) ; } SupBookRecord ebrTarget = _externalBookBlocks [ externalBookIndex ] . getExternalBookRecord ( ) ; int firstSheetIndex = getSheetIndex ( ebrTarget . getSheetNames ( ) , firstSheetName ) ; int lastSheetIndex = getSheetIndex ( ebrTarget . getSheetNames ( ) , lastSheetName ) ; int result = _externSheetRecord . getRefIxForSheet ( externalBookIndex , firstSheetIndex , lastSheetIndex ) ; if ( result < 0 ) { result = _externSheetRecord . addRef ( externalBookIndex , firstSheetIndex , lastSheetIndex ) ; } return result ; }
public int GetExternalSheetIndex ( String workbookName , String firstSheetName , String lastSheetName ) { int externalBookIndex = GetExternalWorkbookIndex ( workbookName ) ; if ( externalBookIndex == - 1 ) { throw new RuntimeException ( "No external workbook with name '" + workbookName + "'" ) ; } SupBookRecord ebrTarget = _externalBookBlocks [ externalBookIndex ] . GetExternalBookRecord ( ) ; int firstSheetIndex = GetSheetIndex ( ebrTarget . SheetNames , firstSheetName ) ; int lastSheetIndex = GetSheetIndex ( ebrTarget . SheetNames , lastSheetName ) ; int result = _externSheetRecord . GetRefIxForSheet ( externalBookIndex , firstSheetIndex , lastSheetIndex ) ; if ( result < 0 ) { result = _externSheetRecord . AddRef ( externalBookIndex , firstSheetIndex , lastSheetIndex ) ; } return result ; }
public String findSheetLastNameFromExternSheet ( int externSheetIndex ) { int indexToSheet = linkTable . getLastInternalSheetIndexForExtIndex ( externSheetIndex ) ; return findSheetNameFromIndex ( indexToSheet ) ; }
public String FindSheetLastNameFromExternSheet ( int externSheetIndex ) { int indexToSheet = linkTable . GetLastInternalSheetIndexForExtIndex ( externSheetIndex ) ; return FindSheetNameFromIndex ( indexToSheet ) ; }
public void serialize ( LittleEndianOutput out ) { out . writeShort ( rt ) ; out . writeShort ( grbitFrt ) ; out . writeShort ( iObjectKind ) ; out . write ( reserved ) ; }
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( rt ) ; out1 . WriteShort ( grbitFrt ) ; out1 . WriteShort ( iObjectKind ) ; out1 . Write ( reserved ) ; }
public final ValueEval getValue ( ) { return _value ; }
public ValueEval GetValue ( ) { return _value ; }
public ImportImageResult importImage ( ImportImageRequest request ) { request = beforeClientExecution ( request ) ; return executeImportImage ( request ) ; }
public virtual ImportImageResponse ImportImage ( ImportImageRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ImportImageRequestMarshaller . Instance ; options . ResponseUnmarshaller = ImportImageResponseUnmarshaller . Instance ; return Invoke < ImportImageResponse > ( request , options ) ; }
public PruneByAge ( double maxAgeSec ) { if ( maxAgeSec < 0 ) { throw new IllegalArgumentException ( "maxAgeSec must be > 0 (got " + maxAgeSec + ")" ) ; } this . maxAgeSec = maxAgeSec ; }
public PruneByAge ( double maxAgeSec ) { if ( maxAgeSec < 0 ) { throw new System . ArgumentException ( "maxAgeSec must be > 0 (got " + maxAgeSec + ")" ) ; } this . maxAgeSec = maxAgeSec ; }
public DeleteSecurityGroupRequest ( String groupName ) { setGroupName ( groupName ) ; }
public DeleteSecurityGroupRequest ( string groupName ) { _groupName = groupName ; }
public GetRoomSkillParameterResult getRoomSkillParameter ( GetRoomSkillParameterRequest request ) { request = beforeClientExecution ( request ) ; return executeGetRoomSkillParameter ( request ) ; }
public virtual GetRoomSkillParameterResponse GetRoomSkillParameter ( GetRoomSkillParameterRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetRoomSkillParameterRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetRoomSkillParameterResponseUnmarshaller . Instance ; return Invoke < GetRoomSkillParameterResponse > ( request , options ) ; }
public ParserRuleContext parse ( int startRuleIndex ) { RuleStartState startRuleStartState = atn . ruleToStartState [ startRuleIndex ] ; rootContext = createInterpreterRuleContext ( null , ATNState . INVALID_STATE_NUMBER , startRuleIndex ) ; if ( startRuleStartState . isLeftRecursiveRule ) { enterRecursionRule ( rootContext , startRuleStartState . stateNumber , startRuleIndex , 0 ) ; } else { enterRule ( rootContext , startRuleStartState . stateNumber , startRuleIndex ) ; } while ( true ) { ATNState p = getATNState ( ) ; switch ( p . getStateType ( ) ) { case ATNState . RULE_STOP : if ( _ctx . isEmpty ( ) ) { if ( startRuleStartState . isLeftRecursiveRule ) { ParserRuleContext result = _ctx ; Pair < ParserRuleContext , Integer > parentContext = _parentContextStack . pop ( ) ; unrollRecursionContexts ( parentContext . a ) ; return result ; } else { exitRule ( ) ; return rootContext ; } } visitRuleStopState ( p ) ; break ; default : try { visitState ( p ) ; } catch ( RecognitionException e ) { setState ( atn . ruleToStopState [ p . ruleIndex ] . stateNumber ) ; getContext ( ) . exception = e ; getErrorHandler ( ) . reportError ( this , e ) ; recover ( e ) ; } break ; } } }
public virtual ParserRuleContext Parse ( int startRuleIndex ) { RuleStartState startRuleStartState = _atn . ruleToStartState [ startRuleIndex ] ; InterpreterRuleContext rootContext = new InterpreterRuleContext ( null , ATNState . InvalidStateNumber , startRuleIndex ) ; if ( startRuleStartState . isPrecedenceRule ) { EnterRecursionRule ( rootContext , startRuleStartState . stateNumber , startRuleIndex , 0 ) ; } else { EnterRule ( rootContext , startRuleStartState . stateNumber , startRuleIndex ) ; } while ( true ) { ATNState p = AtnState ; switch ( p . StateType ) { case StateType . RuleStop : { if ( RuleContext . IsEmpty ) { if ( startRuleStartState . isPrecedenceRule ) { ParserRuleContext result = RuleContext ; Tuple < ParserRuleContext , int > parentContext = _parentContextStack . Pop ( ) ; UnrollRecursionContexts ( parentContext . Item1 ) ; return result ; } else { ExitRule ( ) ; return rootContext ; } } VisitRuleStopState ( p ) ; break ; } default : { try { VisitState ( p ) ; } catch ( RecognitionException e ) { State = _atn . ruleToStopState [ p . ruleIndex ] . stateNumber ; Context . exception = e ; ErrorHandler . ReportError ( this , e ) ; ErrorHandler . Recover ( this , e ) ; } break ; } } } }
public DeleteInstallationMediaResult deleteInstallationMedia ( DeleteInstallationMediaRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteInstallationMedia ( request ) ; }
public virtual DeleteInstallationMediaResponse DeleteInstallationMedia ( DeleteInstallationMediaRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteInstallationMediaRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteInstallationMediaResponseUnmarshaller . Instance ; return Invoke < DeleteInstallationMediaResponse > ( request , options ) ; }
public boolean accept ( double value ) { return value >= min && value <= max ; }
public bool Accept ( double value ) { return value >= minIncl && value <= maxIncl ; }
public GetVariablesResult getVariables ( GetVariablesRequest request ) { request = beforeClientExecution ( request ) ; return executeGetVariables ( request ) ; }
public virtual GetVariablesResponse GetVariables ( GetVariablesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetVariablesRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetVariablesResponseUnmarshaller . Instance ; return Invoke < GetVariablesResponse > ( request , options ) ; }
public void decode ( byte [ ] blocks , int blocksOffset , int [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { final int byte0 = blocks [ blocksOffset ++ ] & 0xFF ; final int byte1 = blocks [ blocksOffset ++ ] & 0xFF ; final int byte2 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( byte0 << 16 ) | ( byte1 << 8 ) | byte2 ; } }
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 ; int byte2 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( byte0 << 16 ) | ( byte1 << 8 ) | byte2 ; } }
public void serialize ( LittleEndianOutput out ) { out . writeShort ( field_1_pointNumber ) ; out . writeShort ( field_2_seriesIndex ) ; out . writeShort ( field_3_seriesNumber ) ; out . writeShort ( field_4_formatFlags ) ; }
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( field_1_pointNumber ) ; out1 . WriteShort ( field_2_seriesIndex ) ; out1 . WriteShort ( field_3_seriesNumber ) ; out1 . WriteShort ( field_4_formatFlags ) ; }
public Area3DPxg ( int externalWorkbookNumber , SheetIdentifier sheetName , String arearef ) { this ( externalWorkbookNumber , sheetName , new AreaReference ( arearef , SpreadsheetVersion . EXCEL2007 ) ) ; }
public Area3DPxg ( int externalWorkbookNumber , SheetIdentifier sheetName , String arearef ) : this ( externalWorkbookNumber , sheetName , new AreaReference ( arearef ) ) { ; }
public final CharSequence subSequence ( int start , int end ) { checkStartEndRemaining ( start , end ) ; CharBuffer result = duplicate ( ) ; result . limit ( position + end ) ; result . position ( position + start ) ; return result ; }
public sealed override java . lang . CharSequence SubSequence ( int start , int end ) { checkStartEndRemaining ( start , end ) ; java . nio . CharBuffer result = duplicate ( ) ; result . limit ( _position + end ) ; result . position ( _position + start ) ; return result ; }
public DescribeInstallationMediaResult describeInstallationMedia ( DescribeInstallationMediaRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeInstallationMedia ( request ) ; }
public virtual DescribeInstallationMediaResponse DescribeInstallationMedia ( DescribeInstallationMediaRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeInstallationMediaRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeInstallationMediaResponseUnmarshaller . Instance ; return Invoke < DescribeInstallationMediaResponse > ( request , options ) ; }
public UpdateConferenceProviderResult updateConferenceProvider ( UpdateConferenceProviderRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateConferenceProvider ( request ) ; }
public virtual UpdateConferenceProviderResponse UpdateConferenceProvider ( UpdateConferenceProviderRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateConferenceProviderRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateConferenceProviderResponseUnmarshaller . Instance ; return Invoke < UpdateConferenceProviderResponse > ( request , options ) ; }
public void release ( int marker ) { int expectedMark = - numMarkers ; if ( marker != expectedMark ) { throw new IllegalStateException ( "release() called with an invalid marker." ) ; } numMarkers -- ; if ( numMarkers == 0 && p > 0 ) { System . arraycopy ( data , p , data , 0 , n - p ) ; n = n - p ; p = 0 ; lastCharBufferStart = lastChar ; } }
public virtual void Release ( int marker ) { int expectedMark = - numMarkers ; if ( marker != expectedMark ) { throw new InvalidOperationException ( "release() called with an invalid marker." ) ; } numMarkers -- ; if ( numMarkers == 0 && p > 0 ) { System . Array . Copy ( data , p , data , 0 , n - p ) ; n = n - p ; p = 0 ; lastCharBufferStart = lastChar ; } }
public static int getDataSize ( ) { return 12 ; }
public static int GetDataSize ( ) { return 12 ; }
public TokenStream create ( TokenStream input ) { return new UpperCaseFilter ( input ) ; }
public override TokenStream Create ( TokenStream input ) { return new UpperCaseFilter ( m_luceneMatchVersion , input ) ; }
public void serialize ( LittleEndianOutput out ) { out . writeShort ( getHideObj ( ) ) ; }
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( GetHideObj ( ) ) ; }
public V setValue ( V value ) { V oldValue = this . value ; this . value = value ; return oldValue ; }
public virtual V setValue ( V value ) { V oldValue = this . value ; this . value = value ; return oldValue ; }
public String toString ( ) { return toString ( 0 ) ; }
public override string ToString ( ) { return ToString ( Dir , 0 ) ; }
public CreateHITResult createHIT ( CreateHITRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateHIT ( request ) ; }
public virtual CreateHITResponse CreateHIT ( CreateHITRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateHITRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateHITResponseUnmarshaller . Instance ; return Invoke < CreateHITResponse > ( request , options ) ; }