question
stringlengths
33
1.59k
target
stringlengths
33
1.58k
public String toString ( ) { return "pred_" + ruleIndex + ":" + predIndex ; }
public override string ToString ( ) { return "pred_" + ruleIndex + ":" + predIndex ; }
public PatternSyntaxException ( String description , String pattern , int index ) { this . desc = description ; this . pattern = pattern ; this . index = index ; }
public PatternSyntaxException ( string description , string pattern , int index ) { this . desc = description ; this . pattern = pattern ; this . index = index ; }
public AlphaAnimation ( float from , float to ) { mStartAlpha = from ; mEndAlpha = to ; mCurrentAlpha = from ; }
public AlphaAnimation ( float fromAlpha , float toAlpha ) { mFromAlpha = fromAlpha ; mToAlpha = toAlpha ; }
public int doLogic ( ) throws Exception { TaxonomyWriter taxonomyWriter = getRunData ( ) . getTaxonomyWriter ( ) ; if ( taxonomyWriter != null ) { taxonomyWriter . commit ( ) ; } else { throw new IllegalStateException ( "TaxonomyWriter is not currently open" ) ; } return 1 ; }
public override int DoLogic ( ) { ITaxonomyWriter taxonomyWriter = RunData . TaxonomyWriter ; if ( taxonomyWriter != null ) { taxonomyWriter . Commit ( ) ; } else { throw new InvalidOperationException ( "TaxonomyWriter is not currently open" ) ; } return 1 ; }
public DeltaIndex ( byte [ ] sourceBuffer ) { src = sourceBuffer ; DeltaIndexScanner scan = new DeltaIndexScanner ( src , src . length ) ; table = scan . table ; tableMask = scan . tableMask ; entries = new long [ 1 + countEntries ( scan ) ] ; copyEntries ( scan ) ; }
public DeltaIndex ( byte [ ] sourceBuffer ) { src = sourceBuffer ; DeltaIndexScanner scan = new DeltaIndexScanner ( src , src . Length ) ; table = scan . table ; tableMask = scan . tableMask ; entries = new long [ 1 + CountEntries ( scan ) ] ; CopyEntries ( scan ) ; }
public int previousIndex ( ) { return pos ; }
public int previousIndex ( ) { return pos ; }
public QueryMaker getQueryMaker ( ) { return getRunData ( ) . getQueryMaker ( this ) ; }
public override IQueryMaker GetQueryMaker ( ) { return RunData . GetQueryMaker ( this ) ; }
public JapaneseTokenizerFactory ( Map < String , String > args ) { super ( args ) ; mode = Mode . valueOf ( get ( args , MODE , JapaneseTokenizer . DEFAULT_MODE . toString ( ) ) . toUpperCase ( Locale . ROOT ) ) ; userDictionaryPath = args . remove ( USER_DICT_PATH ) ; userDictionaryEncoding = args . remove ( USER_DICT...
public JapaneseTokenizerFactory ( IDictionary < string , string > args ) : base ( args ) { Enum . TryParse ( Get ( args , MODE , JapaneseTokenizer . DEFAULT_MODE . ToString ( ) ) , true , out mode ) ; userDictionaryPath = Get ( args , USER_DICT_PATH ) ; userDictionaryEncoding = Get ( args , USER_DICT_ENCODING ) ; disca...
public Long longValue ( String key ) { String value = responseMap . get ( key ) ; if ( null == value || 0 == value . length ( ) ) { return null ; } return Long . valueOf ( responseMap . get ( key ) ) ; }
public long ? LongValue ( string key ) { if ( null != DictionaryUtil . Get ( ResponseDictionary , key ) ) { return long . Parse ( DictionaryUtil . Get ( ResponseDictionary , key ) ) ; } return null ; }
public GetLibraryRequest ( ) { super ( "CloudPhoto" , "2017-07-11" , "GetLibrary" , "cloudphoto" ) ; setProtocol ( ProtocolType . HTTPS ) ; }
public GetLibraryRequest ( ) : base ( "CloudPhoto" , "2017-07-11" , "GetLibrary" , "cloudphoto" , "openAPI" ) { Protocol = ProtocolType . HTTPS ; }
public short getFontOfFormattingRun ( int index ) { FormatRun r = _string . getFormatRun ( index ) ; return r . getFontIndex ( ) ; }
public short GetFontOfFormattingRun ( int index ) { UnicodeString . FormatRun r = _string . GetFormatRun ( index ) ; return r . FontIndex ; }
public int fillFields ( byte [ ] data , int offset , EscherRecordFactory recordFactory ) { int bytesRemaining = readHeader ( data , offset ) ; int pos = offset + 8 ; int size = 0 ; field_1_shapeIdMax = LittleEndian . getInt ( data , pos + size ) ; size += 4 ; size += 4 ; field_3_numShapesSaved = LittleEndian . getInt (...
public override int FillFields ( byte [ ] data , int offset , IEscherRecordFactory recordFactory ) { int bytesRemaining = ReadHeader ( data , offset ) ; int pos = offset + 8 ; int size = 0 ; field_1_shapeIdMax = LittleEndian . GetInt ( data , pos + size ) ; size += 4 ; int field_2_numIdClusters = LittleEndian . GetInt ...
public void encode ( int [ ] values , int valuesOffset , byte [ ] blocks , int blocksOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { final long block = encode ( values , valuesOffset ) ; valuesOffset += valueCount ; blocksOffset = writeLong ( block , blocks , blocksOffset ) ; } }
public override void Encode ( long [ ] values , int valuesOffset , byte [ ] blocks , int blocksOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { long block = Encode ( values , valuesOffset ) ; valuesOffset += valueCount ; blocksOffset = WriteInt64 ( block , blocks , blocksOffset ) ; } }
public GetTerminologyResult getTerminology ( GetTerminologyRequest request ) { request = beforeClientExecution ( request ) ; return executeGetTerminology ( request ) ; }
public virtual GetTerminologyResponse GetTerminology ( GetTerminologyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetTerminologyRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetTerminologyResponseUnmarshaller . Instance ; return Invoke < GetTerminologyRespons...
public void serialize ( LittleEndianOutput out ) { out . writeShort ( _character ) ; out . writeShort ( _fontIndex ) ; }
public void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( _character ) ; out1 . WriteShort ( _fontIndex ) ; }
public void serialize ( LittleEndianOutput out ) { out . writeShort ( field_1_options ) ; }
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( field_1_options ) ; }
public SearchFacesResult searchFaces ( SearchFacesRequest request ) { request = beforeClientExecution ( request ) ; return executeSearchFaces ( request ) ; }
public virtual SearchFacesResponse SearchFaces ( SearchFacesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SearchFacesRequestMarshaller . Instance ; options . ResponseUnmarshaller = SearchFacesResponseUnmarshaller . Instance ; return Invoke < SearchFacesResponse > ( request , op...
public int getPositionIncrementGap ( String fieldName ) { return getWrappedAnalyzer ( fieldName ) . getPositionIncrementGap ( fieldName ) ; }
public override int GetPositionIncrementGap ( string fieldName ) { return GetWrappedAnalyzer ( fieldName ) . GetPositionIncrementGap ( fieldName ) ; }
public DescribeSchemaResult describeSchema ( DescribeSchemaRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeSchema ( request ) ; }
public virtual DescribeSchemaResponse DescribeSchema ( DescribeSchemaRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeSchemaRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeSchemaResponseUnmarshaller . Instance ; return Invoke < DescribeSchemaRespons...
@ Override public int size ( ) { return BoundedMap . this . size ( ) ; }
public override int size ( ) { return this . _enclosing . size ( ) ; }
public MutableEntry cloneEntry ( ) { final MutableEntry r = new MutableEntry ( ) ; ensureId ( ) ; r . idBuffer . fromObjectId ( idBuffer ) ; r . offset = offset ; return r ; }
public virtual PackIndex . MutableEntry CloneEntry ( ) { PackIndex . MutableEntry r = new PackIndex . MutableEntry ( ) ; EnsureId ( ) ; r . idBuffer . FromObjectId ( idBuffer ) ; r . offset = offset ; return r ; }
public OperateEquipmentRequest ( ) { super ( "industry-brain" , "2018-07-12" , "OperateEquipment" ) ; setProtocol ( ProtocolType . HTTPS ) ; setMethod ( MethodType . POST ) ; }
public OperateEquipmentRequest ( ) : base ( "industry-brain" , "2018-07-12" , "OperateEquipment" ) { Protocol = ProtocolType . HTTPS ; Method = MethodType . POST ; }
public boolean add ( E e ) { synchronized ( mutex ) { return delegate ( ) . add ( e ) ; } }
public virtual bool add ( E @ object ) { lock ( mutex ) { return c . add ( @ object ) ; } }
public boolean equals ( Object o ) { if ( this == o ) { return true ; } if ( ! ( o instanceof EscherSimpleProperty ) ) { return false ; } final EscherSimpleProperty escherSimpleProperty = ( EscherSimpleProperty ) o ; if ( propertyValue != escherSimpleProperty . propertyValue ) { return false ; } if ( getId ( ) != esche...
public override bool Equals ( Object o ) { if ( this == o ) return true ; if ( ! ( o is EscherSimpleProperty ) ) return false ; EscherSimpleProperty escherSimpleProperty = ( EscherSimpleProperty ) o ; if ( propertyValue != escherSimpleProperty . propertyValue ) return false ; if ( Id != escherSimpleProperty . Id ) retu...
public final FloatBuffer asFloatBuffer ( ) { return FloatToByteBufferAdapter . asFloatBuffer ( this ) ; }
public sealed override java . nio . FloatBuffer asFloatBuffer ( ) { return java . nio . FloatToByteBufferAdapter . asFloatBuffer ( this ) ; }
public void removeThumbnail ( ) { remove1stProperty ( PropertyIDMap . PID_THUMBNAIL ) ; }
public void RemoveThumbnail ( ) { MutableSection s = ( MutableSection ) FirstSection ; s . RemoveProperty ( PropertyIDMap . PID_THUMBNAIL ) ; }
public static int compareIgnoreCase ( String a , String b ) { for ( int i = 0 ; i < a . length ( ) && i < b . length ( ) ; i ++ ) { int d = toLowerCase ( a . charAt ( i ) ) - toLowerCase ( b . charAt ( i ) ) ; if ( d != 0 ) return d ; } return a . length ( ) - b . length ( ) ; }
public static int CompareIgnoreCase ( string a , string b ) { for ( int i = 0 ; i < a . Length && i < b . Length ; i ++ ) { int d = ToLowerCase ( a [ i ] ) - ToLowerCase ( b [ i ] ) ; if ( d != 0 ) { return d ; } } return a . Length - b . Length ; }
public ViewDefinitionRecord ( RecordInputStream in ) { rwFirst = in . readUShort ( ) ; rwLast = in . readUShort ( ) ; colFirst = in . readUShort ( ) ; colLast = in . readUShort ( ) ; rwFirstHead = in . readUShort ( ) ; rwFirstData = in . readUShort ( ) ; colFirstData = in . readUShort ( ) ; iCache = in . readUShort ( )...
public ViewDefinitionRecord ( RecordInputStream in1 ) { rwFirst = in1 . ReadUShort ( ) ; rwLast = in1 . ReadUShort ( ) ; colFirst = in1 . ReadUShort ( ) ; colLast = in1 . ReadUShort ( ) ; rwFirstHead = in1 . ReadUShort ( ) ; rwFirstData = in1 . ReadUShort ( ) ; colFirstData = in1 . ReadUShort ( ) ; iCache = in1 . ReadU...
public FormatRecord ( RecordInputStream in ) { field_1_index_code = in . readShort ( ) ; int field_3_unicode_len = in . readUShort ( ) ; field_3_hasMultibyte = ( in . readByte ( ) & 0x01 ) != 0 ; if ( field_3_hasMultibyte ) { field_4_formatstring = readStringCommon ( in , field_3_unicode_len , false ) ; } else { field_...
public FormatRecord ( RecordInputStream in1 ) { field_1_index_code = in1 . ReadShort ( ) ; int field_3_unicode_len = in1 . ReadShort ( ) ; field_3_hasMultibyte = ( in1 . ReadByte ( ) & ( byte ) 0x01 ) != 0 ; if ( field_3_hasMultibyte ) { field_4_formatstring = in1 . ReadUnicodeLEString ( field_3_unicode_len ) ; } else ...
public DescribeBrokerResult describeBroker ( DescribeBrokerRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeBroker ( request ) ; }
public virtual DescribeBrokerResponse DescribeBroker ( DescribeBrokerRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeBrokerRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeBrokerResponseUnmarshaller . Instance ; return Invoke < DescribeBrokerRespons...
public void reset ( ) { if ( getInputStream ( ) != null ) getInputStream ( ) . seek ( 0 ) ; _errHandler . reset ( this ) ; _ctx = null ; _syntaxErrors = 0 ; matchedEOF = false ; setTrace ( false ) ; _precedenceStack . clear ( ) ; _precedenceStack . push ( 0 ) ; ATNSimulator interpreter = getInterpreter ( ) ; if ( inter...
public virtual void Reset ( ) { if ( ( ( ITokenStream ) InputStream ) != null ) { ( ( ITokenStream ) InputStream ) . Seek ( 0 ) ; } _errHandler . Reset ( this ) ; _ctx = null ; _syntaxErrors = 0 ; _precedenceStack . Clear ( ) ; _precedenceStack . Add ( 0 ) ; ATNSimulator interpreter = Interpreter ; if ( interpreter != ...
public boolean remove ( Object o ) { final RevFlag flag = ( RevFlag ) o ; if ( ( mask & flag . mask ) == 0 ) return false ; mask &= ~ flag . mask ; for ( int i = 0 ; i < active . size ( ) ; i ++ ) if ( active . get ( i ) . mask == flag . mask ) active . remove ( i ) ; return true ; }
public override bool Remove ( object o ) { RevFlag flag = ( RevFlag ) o ; if ( ( mask & flag . mask ) == 0 ) { return false ; } mask &= ~ flag . mask ; for ( int i = 0 ; i < active . Count ; i ++ ) { if ( active [ i ] . mask == flag . mask ) { active . Remove ( i ) ; } } return true ; }
public String format ( Passage passages [ ] , String content ) { StringBuilder sb = new StringBuilder ( ) ; int pos = 0 ; for ( Passage passage : passages ) { if ( passage . getStartOffset ( ) > pos && pos > 0 ) { sb . append ( ellipsis ) ; } pos = passage . getStartOffset ( ) ; for ( int i = 0 ; i < passage . getNumMa...
public override object Format ( Passage [ ] passages , string content ) { StringBuilder sb = new StringBuilder ( ) ; int pos = 0 ; foreach ( Passage passage in passages ) { if ( passage . startOffset > pos && pos > 0 ) { sb . Append ( m_ellipsis ) ; } pos = passage . startOffset ; for ( int i = 0 ; i < passage . numMat...
public DrillSidewaysResult ( Facets facets , TopDocs hits ) { this . facets = facets ; this . hits = hits ; }
public DrillSidewaysResult ( Facets facets , TopDocs hits ) { this . Facets = facets ; this . Hits = hits ; }
public ListTrafficPolicyInstancesByPolicyResult listTrafficPolicyInstancesByPolicy ( ListTrafficPolicyInstancesByPolicyRequest request ) { request = beforeClientExecution ( request ) ; return executeListTrafficPolicyInstancesByPolicy ( request ) ; }
public virtual ListTrafficPolicyInstancesByPolicyResponse ListTrafficPolicyInstancesByPolicy ( ListTrafficPolicyInstancesByPolicyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListTrafficPolicyInstancesByPolicyRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListT...
public ComplexPhraseQuery ( String field , String phrasedQueryStringContents , int slopFactor , boolean inOrder ) { this . field = Objects . requireNonNull ( field ) ; this . phrasedQueryStringContents = Objects . requireNonNull ( phrasedQueryStringContents ) ; this . slopFactor = slopFactor ; this . inOrder = inOrder ...
public ComplexPhraseQuery ( string field , string phrasedQueryStringContents , int slopFactor , bool inOrder ) { this . field = field ; this . phrasedQueryStringContents = phrasedQueryStringContents ; this . slopFactor = slopFactor ; this . inOrder = inOrder ; }
public String toString ( String field ) { StringBuilder buffer = new StringBuilder ( ) ; if ( ! term . field ( ) . equals ( field ) ) { buffer . append ( term . field ( ) ) ; buffer . append ( ":" ) ; } buffer . append ( getClass ( ) . getSimpleName ( ) ) ; buffer . append ( " {" ) ; buffer . append ( '\n' ) ; buffer ....
public override string ToString ( string field ) { StringBuilder buffer = new StringBuilder ( ) ; if ( ! m_term . Field . Equals ( field , StringComparison . Ordinal ) ) { buffer . Append ( m_term . Field ) ; buffer . Append ( ":" ) ; } buffer . Append ( this . GetType ( ) . Name ) ; buffer . Append ( " {" ) ; buffer ....
public final String toFormulaString ( ) { return getName ( ) ; }
public override String ToFormulaString ( ) { return Name ; }
public AreaRecord clone ( ) { return copy ( ) ; }
public override Object Clone ( ) { AreaRecord rec = new AreaRecord ( ) ; rec . field_1_formatFlags = field_1_formatFlags ; return rec ; }
public long ramBytesUsed ( ) { return TERMS_BASE_RAM_BYTES_USED + ( fst != null ? fst . ramBytesUsed ( ) : 0 ) + RamUsageEstimator . sizeOf ( scratch . bytes ( ) ) + RamUsageEstimator . sizeOf ( scratchUTF16 . chars ( ) ) ; }
public override long RamBytesUsed ( ) { return _termsCache . Values . Sum ( simpleTextTerms = > ( simpleTextTerms != null ) ? simpleTextTerms . RamBytesUsed ( ) : 0 ) ; }
public DeleteConfigurationTemplateRequest ( String applicationName , String templateName ) { setApplicationName ( applicationName ) ; setTemplateName ( templateName ) ; }
public DeleteConfigurationTemplateRequest ( string applicationName , string templateName ) { _applicationName = applicationName ; _templateName = templateName ; }
public List < Token > getTokens ( int start , int stop , int ttype ) { HashSet < Integer > s = new HashSet < Integer > ( ttype ) ; s . add ( ttype ) ; return getTokens ( start , stop , s ) ; }
public virtual IList < IToken > GetTokens ( int start , int stop , int ttype ) { BitSet s = new BitSet ( ttype ) ; s . Set ( ttype ) ; return GetTokens ( start , stop , s ) ; }
public DescribeIamInstanceProfileAssociationsResult describeIamInstanceProfileAssociations ( DescribeIamInstanceProfileAssociationsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeIamInstanceProfileAssociations ( request ) ; }
public virtual DescribeIamInstanceProfileAssociationsResponse DescribeIamInstanceProfileAssociations ( DescribeIamInstanceProfileAssociationsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeIamInstanceProfileAssociationsRequestMarshaller . Instance ; options . ResponseUnma...
public ValueEval evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval textArg ) { ValueEval veText1 ; try { veText1 = OperandResolver . getSingleValue ( textArg , srcRowIndex , srcColumnIndex ) ; } catch ( EvaluationException e ) { return e . getErrorEval ( ) ; } String text = OperandResolver . coerceValueToStri...
public override ValueEval Evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval textArg ) { ValueEval veText1 ; try { veText1 = OperandResolver . GetSingleValue ( textArg , srcRowIndex , srcColumnIndex ) ; } catch ( EvaluationException e ) { return e . GetErrorEval ( ) ; } String text = OperandResolver . CoerceVa...
public AttachVpnGatewayResult attachVpnGateway ( AttachVpnGatewayRequest request ) { request = beforeClientExecution ( request ) ; return executeAttachVpnGateway ( request ) ; }
public virtual AttachVpnGatewayResponse AttachVpnGateway ( AttachVpnGatewayRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AttachVpnGatewayRequestMarshaller . Instance ; options . ResponseUnmarshaller = AttachVpnGatewayResponseUnmarshaller . Instance ; return Invoke < AttachVpnGa...
public int compareTo ( FloatBuffer otherBuffer ) { int compareRemaining = ( remaining ( ) < otherBuffer . remaining ( ) ) ? remaining ( ) : otherBuffer . remaining ( ) ; int thisPos = position ; int otherPos = otherBuffer . position ; float thisFloat , otherFloat ; while ( compareRemaining > 0 ) { thisFloat = get ( thi...
public virtual int compareTo ( java . nio . FloatBuffer otherBuffer ) { int compareRemaining = ( remaining ( ) < otherBuffer . remaining ( ) ) ? remaining ( ) : otherBuffer . remaining ( ) ; int thisPos = _position ; int otherPos = otherBuffer . _position ; float thisFloat ; float otherFloat ; while ( compareRemaining ...
public Matcher useTransparentBounds ( boolean value ) { transparentBounds = value ; useTransparentBoundsImpl ( address , value ) ; return this ; }
public java . util . regex . Matcher useTransparentBounds ( bool value ) { transparentBounds = value ; useTransparentBoundsImpl ( address , value ) ; return this ; }
public void remove ( ) { if ( lastEntryReturned == null ) throw new IllegalStateException ( ) ; if ( modCount != expectedModCount ) throw new ConcurrentModificationException ( ) ; Hashtable . this . remove ( lastEntryReturned . key ) ; lastEntryReturned = null ; expectedModCount = modCount ; }
public virtual void remove ( ) { if ( this . lastEntryReturned == null ) { throw new System . InvalidOperationException ( ) ; } if ( this . _enclosing . modCount != this . expectedModCount ) { throw new java . util . ConcurrentModificationException ( ) ; } this . _enclosing . remove ( this . lastEntryReturned . key ) ;...
public String toFormulaString ( ) { StringBuilder sb = new StringBuilder ( 64 ) ; if ( externalWorkbookNumber >= 0 ) { sb . append ( '[' ) ; sb . append ( externalWorkbookNumber ) ; sb . append ( ']' ) ; } if ( sheetName != null ) { SheetNameFormatter . appendFormat ( sb , sheetName ) ; } sb . append ( '!' ) ; sb . app...
public override String ToFormulaString ( ) { StringBuilder sb = new StringBuilder ( ) ; if ( externalWorkbookNumber >= 0 ) { sb . Append ( '[' ) ; sb . Append ( externalWorkbookNumber ) ; sb . Append ( ']' ) ; } if ( sheetName != null ) { sb . Append ( sheetName ) ; } sb . Append ( '!' ) ; sb . Append ( ErrorConstants ...
public String toString ( ) { return slice . toString ( ) + ":" + postingsEnum ; }
public override string ToString ( ) { return "MultiDocsEnum(" + Arrays . ToString ( Subs ) + ")" ; }
public CreateVpnConnectionRouteResult createVpnConnectionRoute ( CreateVpnConnectionRouteRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateVpnConnectionRoute ( request ) ; }
public virtual CreateVpnConnectionRouteResponse CreateVpnConnectionRoute ( CreateVpnConnectionRouteRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateVpnConnectionRouteRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateVpnConnectionRouteResponseUnmarshaller ...
public boolean hasNext ( ) { return next != null ; }
public virtual bool hasNext ( ) { return this . _next != null ; }
public DeleteDBSecurityGroupRequest ( String dBSecurityGroupName ) { setDBSecurityGroupName ( dBSecurityGroupName ) ; }
public DeleteDBSecurityGroupRequest ( string dbSecurityGroupName ) { _dbSecurityGroupName = dbSecurityGroupName ; }
public int compare ( Property o1 , Property o2 ) { String VBA_PROJECT = "_VBA_PROJECT" ; String name1 = o1 . getName ( ) ; String name2 = o2 . getName ( ) ; int result = name1 . length ( ) - name2 . length ( ) ; if ( result == 0 ) { if ( name1 . compareTo ( VBA_PROJECT ) == 0 ) result = 1 ; else if ( name2 . compareTo ...
public int Compare ( Property o1 , Property o2 ) { String VBA_PROJECT = "_VBA_PROJECT" ; String name1 = ( ( Property ) o1 ) . Name ; String name2 = ( ( Property ) o2 ) . Name ; int num = name1 . Length - name2 . Length ; if ( num == 0 ) { if ( name1 . Equals ( VBA_PROJECT , StringComparison . CurrentCulture ) ) { num =...
public DoubleBuffer get ( double [ ] dst , int dstOffset , int doubleCount ) { Arrays . checkOffsetAndCount ( dst . length , dstOffset , doubleCount ) ; if ( doubleCount > remaining ( ) ) { throw new BufferUnderflowException ( ) ; } for ( int i = dstOffset ; i < dstOffset + doubleCount ; ++ i ) { dst [ i ] = get ( ) ; ...
public virtual java . nio . DoubleBuffer get ( double [ ] dst , int dstOffset , int doubleCount ) { java . util . Arrays . checkOffsetAndCount ( dst . Length , dstOffset , doubleCount ) ; if ( doubleCount > remaining ( ) ) { throw new java . nio . BufferUnderflowException ( ) ; } { for ( int i = dstOffset ; i < dstOffs...
public CharsRef add ( CharsRef prefix , CharsRef output ) { assert prefix != null ; assert output != null ; if ( prefix == NO_OUTPUT ) { return output ; } else if ( output == NO_OUTPUT ) { return prefix ; } else { assert prefix . length > 0 ; assert output . length > 0 ; CharsRef result = new CharsRef ( prefix . length...
public override CharsRef Add ( CharsRef prefix , CharsRef output ) { Debug . Assert ( prefix != null ) ; Debug . Assert ( output != null ) ; if ( prefix == NO_OUTPUT ) { return output ; } else if ( output == NO_OUTPUT ) { return prefix ; } else { Debug . Assert ( prefix . Length > 0 ) ; Debug . Assert ( output . Length...
public UpdateProfileResult updateProfile ( UpdateProfileRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateProfile ( request ) ; }
public virtual UpdateProfileResponse UpdateProfile ( UpdateProfileRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateProfileRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateProfileResponseUnmarshaller . Instance ; return Invoke < UpdateProfileResponse > ( ...
public LikeThisQueryBuilder ( Analyzer analyzer , String [ ] defaultFieldNames ) { this . analyzer = analyzer ; this . defaultFieldNames = defaultFieldNames ; }
public LikeThisQueryBuilder ( Analyzer analyzer , string [ ] defaultFieldNames ) { this . analyzer = analyzer ; this . defaultFieldNames = defaultFieldNames ; }
public StringBuffer insert ( int index , long l ) { return insert ( index , Long . toString ( l ) ) ; }
public java . lang . StringBuffer insert ( int index , long l ) { return insert ( index , System . Convert . ToString ( l ) ) ; }
public Field ( String name , BytesRef bytes , IndexableFieldType type ) { if ( name == null ) { throw new IllegalArgumentException ( "name must not be null" ) ; } if ( bytes == null ) { throw new IllegalArgumentException ( "bytes must not be null" ) ; } if ( type == null ) { throw new IllegalArgumentException ( "type m...
public Field ( string name , BytesRef bytes , FieldType type ) { if ( name == null ) { throw new System . ArgumentNullException ( "name" , "name cannot be null" ) ; } if ( type == null ) { throw new System . ArgumentNullException ( "type" , "type cannot be null" ) ; } if ( type . IsIndexed ) { throw new System . Argume...
public void clear ( ) { mSize = 0 ; }
public virtual void clear ( ) { mSize = 0 ; }
public SrndQuery parse2 ( String query ) throws ParseException { ReInit ( new FastCharStream ( new StringReader ( query ) ) ) ; try { return TopSrndQuery ( ) ; } catch ( TokenMgrError tme ) { throw new ParseException ( tme . getMessage ( ) ) ; } }
public virtual SrndQuery Parse2 ( string query ) { ReInit ( new FastCharStream ( new StringReader ( query ) ) ) ; try { return TopSrndQuery ( ) ; } catch ( TokenMgrError tme ) { throw new ParseException ( tme . Message ) ; } }
@ Override public int size ( ) { return ( int ) Math . min ( this . size , Integer . MAX_VALUE ) ; }
public override int size ( ) { return this . _enclosing . _size ; }
public DescribeConfigurationResult describeConfiguration ( DescribeConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeConfiguration ( request ) ; }
public virtual DescribeConfigurationResponse DescribeConfiguration ( DescribeConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeConfigurationRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeConfigurationResponseUnmarshaller . Instance ; re...
public String getCharErrorDisplay ( int c ) { String s = getErrorDisplay ( c ) ; return "'" + s + "'" ; }
public virtual string GetCharErrorDisplay ( int c ) { string s = GetErrorDisplay ( c ) ; return "'" + s + "'" ; }
public DescribeHumanTaskUiResult describeHumanTaskUi ( DescribeHumanTaskUiRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeHumanTaskUi ( request ) ; }
public virtual DescribeHumanTaskUiResponse DescribeHumanTaskUi ( DescribeHumanTaskUiRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeHumanTaskUiRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeHumanTaskUiResponseUnmarshaller . Instance ; return Invok...
public void run ( ) { try { int n = task . runAndMaybeStats ( letChildReport ) ; if ( anyExhaustibleTasks ) { updateExhausted ( task ) ; } count += n ; } catch ( NoMoreDataException e ) { exhausted = true ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } }
public override void Run ( ) { try { int n = task . RunAndMaybeStats ( outerInstance . letChildReport ) ; if ( outerInstance . anyExhaustibleTasks ) { outerInstance . UpdateExhausted ( task ) ; } count += n ; } catch ( NoMoreDataException ) { outerInstance . exhausted = true ; } catch ( Exception e ) { throw new Except...
public DescribeImagePermissionsResult describeImagePermissions ( DescribeImagePermissionsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeImagePermissions ( request ) ; }
public virtual DescribeImagePermissionsResponse DescribeImagePermissions ( DescribeImagePermissionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeImagePermissionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeImagePermissionsResponseUnmarshaller ...
public SrndQuery clone ( ) { try { return ( SrndQuery ) super . clone ( ) ; } catch ( CloneNotSupportedException cns ) { throw new Error ( cns ) ; } }
public virtual object Clone ( ) { object clone = null ; try { clone = base . MemberwiseClone ( ) ; } catch ( Exception e ) { throw new InvalidOperationException ( e . Message , e ) ; } return clone ; }
public void recycleByteBlocks ( byte [ ] [ ] blocks , int start , int end ) { final int numBlocks = Math . min ( maxBufferedBlocks - freeBlocks , end - start ) ; final int size = freeBlocks + numBlocks ; if ( size >= freeByteBlocks . length ) { final byte [ ] [ ] newBlocks = new byte [ ArrayUtil . oversize ( size , Ram...
public override void RecycleByteBlocks ( byte [ ] [ ] blocks , int start , int end ) { int numBlocks = Math . Min ( maxBufferedBlocks - freeBlocks , end - start ) ; int size = freeBlocks + numBlocks ; if ( size >= freeByteBlocks . Length ) { var newBlocks = new byte [ ArrayUtil . Oversize ( size , RamUsageEstimator . N...
public GeohashPrefixTree ( SpatialContext ctx , int maxLevels ) { super ( ctx , maxLevels ) ; Rectangle bounds = ctx . getWorldBounds ( ) ; if ( bounds . getMinX ( ) != - 180 ) throw new IllegalArgumentException ( "Geohash only supports lat-lon world bounds. Got " + bounds ) ; int MAXP = getMaxLevelsPossible ( ) ; if (...
public GeohashPrefixTree ( SpatialContext ctx , int maxLevels ) : base ( ctx , maxLevels ) { IRectangle bounds = ctx . WorldBounds ; if ( bounds . MinX != - 180 ) { throw new ArgumentException ( "Geohash only supports lat-lon world bounds. Got " + bounds ) ; } int Maxp = MaxLevelsPossible ; if ( maxLevels <= 0 || maxLe...
public void removeName ( int namenum ) { _definedNames . remove ( namenum ) ; }
public void RemoveName ( int namenum ) { _definedNames . RemoveAt ( namenum ) ; }
public CancelSpotFleetRequestsResult cancelSpotFleetRequests ( CancelSpotFleetRequestsRequest request ) { request = beforeClientExecution ( request ) ; return executeCancelSpotFleetRequests ( request ) ; }
public virtual CancelSpotFleetRequestsResponse CancelSpotFleetRequests ( CancelSpotFleetRequestsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CancelSpotFleetRequestsRequestMarshaller . Instance ; options . ResponseUnmarshaller = CancelSpotFleetRequestsResponseUnmarshaller . Ins...
public GetIndustryInfoLineageListRequest ( ) { super ( "industry-brain" , "2018-07-12" , "GetIndustryInfoLineageList" ) ; setProtocol ( ProtocolType . HTTPS ) ; }
public GetIndustryInfoLineageListRequest ( ) : base ( "industry-brain" , "2018-07-12" , "GetIndustryInfoLineageList" ) { Protocol = ProtocolType . HTTPS ; }
public static double [ ] grow ( double [ ] array , int minSize ) { assert minSize >= 0 : "size must be positive (got " + minSize + "): likely integer overflow?" ; if ( array . length < minSize ) { return growExact ( array , oversize ( minSize , Double . BYTES ) ) ; } else return array ; }
public static double [ ] Grow ( double [ ] array , int minSize ) { Debug . Assert ( minSize >= 0 , "size must be positive (got " + minSize + "): likely integer overflow?" ) ; if ( array . Length < minSize ) { double [ ] newArray = new double [ Oversize ( minSize , RamUsageEstimator . NUM_BYTES_DOUBLE ) ] ; Array . Copy...
public void setResult ( RefUpdate . Result status ) { result = status ; super . setResult ( status ) ; }
public override void SetResult ( RefUpdate . Result status ) { this . _enclosing . result = status ; base . SetResult ( status ) ; }
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 ; values [ valuesOffset ++ ] = ( byte0 << 2 ) | ( byte1 >...
public override void Decode ( byte [ ] blocks , int blocksOffset , int [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { int byte0 = blocks [ blocksOffset ++ ] & 0xFF ; int byte1 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( byte0 << 2 ) | ( ( int ) ( ...
public ValueEval evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval arg0 , ValueEval arg1 , ValueEval arg2 ) { try { ValueEval ve = OperandResolver . getSingleValue ( arg0 , srcRowIndex , srcColumnIndex ) ; final double result = OperandResolver . coerceValueToDouble ( ve ) ; if ( Double . isNaN ( result ) || D...
public override ValueEval Evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval arg0 , ValueEval arg1 , ValueEval arg2 ) { AreaEval aeRange ; double result ; bool order = false ; try { ValueEval ve = OperandResolver . GetSingleValue ( arg0 , srcRowIndex , srcColumnIndex ) ; result = OperandResolver . CoerceValueT...
public DeleteEventBusResult deleteEventBus ( DeleteEventBusRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteEventBus ( request ) ; }
public virtual DeleteEventBusResponse DeleteEventBus ( DeleteEventBusRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteEventBusRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteEventBusResponseUnmarshaller . Instance ; return Invoke < DeleteEventBusRespons...
public static ByteBuffer wrap ( byte [ ] array , int start , int byteCount ) { Arrays . checkOffsetAndCount ( array . length , start , byteCount ) ; ByteBuffer buf = new ReadWriteHeapByteBuffer ( array ) ; buf . position = start ; buf . limit = start + byteCount ; return buf ; }
public static java . nio . ByteBuffer wrap ( byte [ ] array_1 , int start , int byteCount ) { java . util . Arrays . checkOffsetAndCount ( array_1 . Length , start , byteCount ) ; java . nio . ByteBuffer buf = new java . nio . ReadWriteHeapByteBuffer ( array_1 ) ; buf . _position = start ; buf . _limit = start + byteCo...
public String apiVersion ( ) { return this . apiVersion ; }
public string ApiVersion { get ; private set ; }
public SearchResult search ( SearchRequest request ) { request = beforeClientExecution ( request ) ; return executeSearch ( request ) ; }
public virtual SearchResponse Search ( SearchRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SearchRequestMarshaller . Instance ; options . ResponseUnmarshaller = SearchResponseUnmarshaller . Instance ; return Invoke < SearchResponse > ( request , options ) ; }
public PushCommand setRemote ( String remote ) { checkCallable ( ) ; this . remote = remote ; return this ; }
public virtual NGit . Api . PushCommand SetRemote ( string remote ) { CheckCallable ( ) ; this . remote = remote ; return this ; }
public AcceptReservedInstancesExchangeQuoteResult acceptReservedInstancesExchangeQuote ( AcceptReservedInstancesExchangeQuoteRequest request ) { request = beforeClientExecution ( request ) ; return executeAcceptReservedInstancesExchangeQuote ( request ) ; }
public virtual AcceptReservedInstancesExchangeQuoteResponse AcceptReservedInstancesExchangeQuote ( AcceptReservedInstancesExchangeQuoteRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AcceptReservedInstancesExchangeQuoteRequestMarshaller . Instance ; options . ResponseUnmarshaller...
public GetAuthorizationTokenResult getAuthorizationToken ( GetAuthorizationTokenRequest request ) { request = beforeClientExecution ( request ) ; return executeGetAuthorizationToken ( request ) ; }
public virtual GetAuthorizationTokenResponse GetAuthorizationToken ( GetAuthorizationTokenRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetAuthorizationTokenRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetAuthorizationTokenResponseUnmarshaller . Instance ; re...
public static InitCommand init ( ) { return new InitCommand ( ) ; }
public static InitCommand Init ( ) { return new InitCommand ( ) ; }
public static RevFilter create ( Collection < RevFilter > list ) { if ( list . size ( ) < 2 ) throw new IllegalArgumentException ( JGitText . get ( ) . atLeastTwoFiltersNeeded ) ; final RevFilter [ ] subfilters = new RevFilter [ list . size ( ) ] ; list . toArray ( subfilters ) ; if ( subfilters . length == 2 ) return ...
public static RevFilter Create ( ICollection < RevFilter > list ) { if ( list . Count < 2 ) { throw new ArgumentException ( JGitText . Get ( ) . atLeastTwoFiltersNeeded ) ; } RevFilter [ ] subfilters = new RevFilter [ list . Count ] ; Sharpen . Collections . ToArray ( list , subfilters ) ; if ( subfilters . Length == 2...
public static PredictionContext mergeRoot ( SingletonPredictionContext a , SingletonPredictionContext b , boolean rootIsWildcard ) { if ( rootIsWildcard ) { if ( a == EMPTY ) return EMPTY ; if ( b == EMPTY ) return EMPTY ; } else { if ( a == EMPTY && b == EMPTY ) return EMPTY ; if ( a == EMPTY ) { int [ ] payloads = { ...
public static PredictionContext MergeRoot ( SingletonPredictionContext a , SingletonPredictionContext b , bool rootIsWildcard ) { if ( rootIsWildcard ) { if ( a == PredictionContext . EMPTY ) return PredictionContext . EMPTY ; if ( b == PredictionContext . EMPTY ) return PredictionContext . EMPTY ; } else { if ( a == E...
public ListTerminologiesResult listTerminologies ( ListTerminologiesRequest request ) { request = beforeClientExecution ( request ) ; return executeListTerminologies ( request ) ; }
public virtual ListTerminologiesResponse ListTerminologies ( ListTerminologiesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListTerminologiesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListTerminologiesResponseUnmarshaller . Instance ; return Invoke < ListTe...
public ModifyInstanceGroupsRequest ( java . util . List < InstanceGroupModifyConfig > instanceGroups ) { setInstanceGroups ( instanceGroups ) ; }
public ModifyInstanceGroupsRequest ( List < InstanceGroupModifyConfig > instanceGroups ) { _instanceGroups = instanceGroups ; }
public String toString ( ) { return "AnyObjectId[" + name ( ) + "]" ; }
public override string ToString ( ) { return "AnyObjectId[" + Name + "]" ; }
public long ramBytesUsed ( ) { long ramBytesUsed = postingsReader . ramBytesUsed ( ) ; for ( TermsReader r : fields . values ( ) ) { ramBytesUsed += r . ramBytesUsed ( ) ; } return ramBytesUsed ; }
public override long RamBytesUsed ( ) { long ramBytesUsed = 0 ; foreach ( TermsReader r in fields . Values ) { if ( r . index != null ) { ramBytesUsed += r . index . GetSizeInBytes ( ) ; ramBytesUsed += RamUsageEstimator . SizeOf ( r . metaBytesBlock ) ; ramBytesUsed += RamUsageEstimator . SizeOf ( r . metaLongsBlock )...
public static final ObjectId fromRaw ( int [ ] is , int p ) { return new ObjectId ( is [ p ] , is [ p + 1 ] , is [ p + 2 ] , is [ p + 3 ] , is [ p + 4 ] ) ; }
public static NGit . ObjectId FromRaw ( int [ ] @ is , int p ) { return new NGit . ObjectId ( @ is [ p ] , @ is [ p + 1 ] , @ is [ p + 2 ] , @ is [ p + 3 ] , @ is [ p + 4 ] ) ; }
public RemoveTagsFromStreamResult removeTagsFromStream ( RemoveTagsFromStreamRequest request ) { request = beforeClientExecution ( request ) ; return executeRemoveTagsFromStream ( request ) ; }
public virtual RemoveTagsFromStreamResponse RemoveTagsFromStream ( RemoveTagsFromStreamRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RemoveTagsFromStreamRequestMarshaller . Instance ; options . ResponseUnmarshaller = RemoveTagsFromStreamResponseUnmarshaller . Instance ; return ...
public void writeChar ( int value ) throws IOException { checkWritePrimitiveTypes ( ) ; primitiveTypes . writeChar ( value ) ; }
public virtual void writeChar ( int value ) { throw new System . NotImplementedException ( ) ; }
public void setParams ( String params ) { super . setParams ( params ) ; if ( params != null ) { commitUserData = params ; } }
public override void SetParams ( string @ params ) { base . SetParams ( @ params ) ; if ( @ params != null ) { commitUserData = @ params ; } }
public OptionGroup modifyOptionGroup ( ModifyOptionGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyOptionGroup ( request ) ; }
public virtual ModifyOptionGroupResponse ModifyOptionGroup ( ModifyOptionGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyOptionGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyOptionGroupResponseUnmarshaller . Instance ; return Invoke < Modify...
public CreateCommentResult createComment ( CreateCommentRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateComment ( request ) ; }
public virtual CreateCommentResponse CreateComment ( CreateCommentRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateCommentRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateCommentResponseUnmarshaller . Instance ; return Invoke < CreateCommentResponse > ( ...
public void setParams ( String params ) { super . setParams ( params ) ; userData = params ; }
public override void SetParams ( string @ params ) { base . SetParams ( @ params ) ; userData = @ params ; }
public SearchAvailablePhoneNumbersResult searchAvailablePhoneNumbers ( SearchAvailablePhoneNumbersRequest request ) { request = beforeClientExecution ( request ) ; return executeSearchAvailablePhoneNumbers ( request ) ; }
public virtual SearchAvailablePhoneNumbersResponse SearchAvailablePhoneNumbers ( SearchAvailablePhoneNumbersRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SearchAvailablePhoneNumbersRequestMarshaller . Instance ; options . ResponseUnmarshaller = SearchAvailablePhoneNumbersRespon...