question
stringlengths
33
1.59k
target
stringlengths
33
1.58k
public int find ( String key ) { int len = key . length ( ) ; char strkey [ ] = new char [ len + 1 ] ; key . getChars ( 0 , len , strkey , 0 ) ; strkey [ len ] = 0 ; return find ( strkey , 0 ) ; }
public virtual int Find ( string key ) { int len = key . Length ; char [ ] strkey = new char [ len + 1 ] ; key . CopyTo ( 0 , strkey , 0 , len - 0 ) ; strkey [ len ] = ( char ) 0 ; return Find ( strkey , 0 ) ; }
public final CharBuffer put ( char [ ] src , int srcOffset , int charCount ) { throw new ReadOnlyBufferException ( ) ; }
public sealed override java . nio . CharBuffer put ( char [ ] src , int srcOffset , int charCount ) { throw new java . nio . ReadOnlyBufferException ( ) ; }
public ListNodesResult listNodes ( ListNodesRequest request ) { request = beforeClientExecution ( request ) ; return executeListNodes ( request ) ; }
public virtual ListNodesResponse ListNodes ( ListNodesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListNodesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListNodesResponseUnmarshaller . Instance ; return Invoke < ListNodesResponse > ( request , options ) ; }
public DeleteVoiceConnectorStreamingConfigurationResult deleteVoiceConnectorStreamingConfiguration ( DeleteVoiceConnectorStreamingConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteVoiceConnectorStreamingConfiguration ( request ) ; }
public virtual DeleteVoiceConnectorStreamingConfigurationResponse DeleteVoiceConnectorStreamingConfiguration ( DeleteVoiceConnectorStreamingConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteVoiceConnectorStreamingConfigurationRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteVoiceConnectorStreamingConfigurationResponseUnmarshaller . Instance ; return Invoke < DeleteVoiceConnectorStreamingConfigurationResponse > ( request , options ) ; }
public TokenStream create ( TokenStream input ) { return new SoraniNormalizationFilter ( input ) ; }
public override TokenStream Create ( TokenStream input ) { return new SoraniNormalizationFilter ( input ) ; }
public int following ( int pos ) { if ( pos < start || pos > end ) { throw new IllegalArgumentException ( "offset out of bounds" ) ; } else if ( pos == end ) { current = end ; return DONE ; } else { return last ( ) ; } }
public override int Following ( int pos ) { if ( pos < start || pos > end ) { throw new ArgumentException ( "offset out of bounds" ) ; } else if ( pos == end ) { current = end ; return Done ; } else { return Last ( ) ; } }
public SshSessionFactory getSshSessionFactory ( ) { return sch ; }
public virtual SshSessionFactory GetSshSessionFactory ( ) { return sch ; }
@ Override public boolean contains ( Object o ) { if ( ! ( o instanceof Multiset . Entry ) ) { return false ; } Multiset . Entry < ? > entry = ( Multiset . Entry < ? > ) o ; Collection < V > collection = map . get ( entry . getElement ( ) ) ; return ( collection != null ) && ( collection . size ( ) == entry . getCount ( ) ) ; }
public override bool contains ( object o ) { if ( ! ( o is java . util . MapClass . Entry < K , V > ) ) { return false ; } java . util . MapClass . Entry < object , object > e = ( java . util . MapClass . Entry < object , object > ) o ; return this . _enclosing . containsMapping ( e . getKey ( ) , e . getValue ( ) ) ; }
public TokenFilter create ( TokenStream input ) { CommonGramsFilter commonGrams = new CommonGramsFilter ( input , commonWords ) ; return commonGrams ; }
public override TokenStream Create ( TokenStream input ) { var commonGrams = new CommonGramsFilter ( m_luceneMatchVersion , input , commonWords ) ; return commonGrams ; }
public DescribeWorkspaceImagesResult describeWorkspaceImages ( DescribeWorkspaceImagesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeWorkspaceImages ( request ) ; }
public virtual DescribeWorkspaceImagesResponse DescribeWorkspaceImages ( DescribeWorkspaceImagesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeWorkspaceImagesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeWorkspaceImagesResponseUnmarshaller . Instance ; return Invoke < DescribeWorkspaceImagesResponse > ( request , options ) ; }
public ValueEval getItem ( int index ) { if ( index < 0 || index > _size ) { throw new IllegalArgumentException ( "Specified index " + index + " is outside range (0.." + ( _size - 1 ) + ")" ) ; } return getItemInternal ( index ) ; }
public ValueEval GetItem ( int index ) { if ( index < 0 || index > _size ) { throw new ArgumentException ( "Specified index " + index + " is outside range (0.." + ( _size - 1 ) + ")" ) ; } return GetItemInternal ( index ) ; }
public ListEventBusesResult listEventBuses ( ListEventBusesRequest request ) { request = beforeClientExecution ( request ) ; return executeListEventBuses ( request ) ; }
public virtual ListEventBusesResponse ListEventBuses ( ListEventBusesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListEventBusesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListEventBusesResponseUnmarshaller . Instance ; return Invoke < ListEventBusesResponse > ( request , options ) ; }
public QualityStats ( double maxGoodPoints , long searchTime ) { this . maxGoodPoints = maxGoodPoints ; this . searchTime = searchTime ; this . recallPoints = new ArrayList < > ( ) ; pAt = new double [ MAX_POINTS + 1 ] ; }
public QualityStats ( double maxGoodPoints , long searchTime ) { this . maxGoodPoints = maxGoodPoints ; this . searchTime = searchTime ; this . recallPoints = new List < RecallPoint > ( ) ; pAt = new double [ MAX_POINTS + 1 ] ; }
public GetInvalidationRequest ( String distributionId , String id ) { setDistributionId ( distributionId ) ; setId ( id ) ; }
public GetInvalidationRequest ( string distributionId , string id ) { _distributionId = distributionId ; _id = id ; }
public int compareTo ( ScoreTerm other ) { if ( this . boost == other . boost ) return other . bytes . get ( ) . compareTo ( this . bytes . get ( ) ) ; else return Float . compare ( this . boost , other . boost ) ; }
public int CompareTo ( ScoreTerm other ) { if ( this . Boost == other . Boost ) { return TermComp . Compare ( other . Bytes , this . Bytes ) ; } else { return this . Boost . CompareTo ( other . Boost ) ; } }
public RegenerateSecurityTokenResult regenerateSecurityToken ( RegenerateSecurityTokenRequest request ) { request = beforeClientExecution ( request ) ; return executeRegenerateSecurityToken ( request ) ; }
public virtual RegenerateSecurityTokenResponse RegenerateSecurityToken ( RegenerateSecurityTokenRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RegenerateSecurityTokenRequestMarshaller . Instance ; options . ResponseUnmarshaller = RegenerateSecurityTokenResponseUnmarshaller . Instance ; return Invoke < RegenerateSecurityTokenResponse > ( request , options ) ; }
public DescribeRootFoldersResult describeRootFolders ( DescribeRootFoldersRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeRootFolders ( request ) ; }
public virtual DescribeRootFoldersResponse DescribeRootFolders ( DescribeRootFoldersRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeRootFoldersRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeRootFoldersResponseUnmarshaller . Instance ; return Invoke < DescribeRootFoldersResponse > ( request , options ) ; }
public DeactivateUserResult deactivateUser ( DeactivateUserRequest request ) { request = beforeClientExecution ( request ) ; return executeDeactivateUser ( request ) ; }
public virtual DeactivateUserResponse DeactivateUser ( DeactivateUserRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeactivateUserRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeactivateUserResponseUnmarshaller . Instance ; return Invoke < DeactivateUserResponse > ( request , options ) ; }
public boolean contains ( int el ) { int n = intervals . size ( ) ; int l = 0 ; int r = n - 1 ; while ( l <= r ) { int m = ( l + r ) / 2 ; Interval I = intervals . get ( m ) ; int a = I . a ; int b = I . b ; if ( b < el ) { l = m + 1 ; } else if ( a > el ) { r = m - 1 ; } else { return true ; } } return false ; }
public virtual bool Contains ( int el ) { int n = intervals . Count ; for ( int i = 0 ; i < n ; i ++ ) { Interval I = intervals [ i ] ; int a = I . a ; int b = I . b ; if ( el < a ) { break ; } if ( el >= a && el <= b ) { return true ; } } return false ; }
public ListJobsResult listJobs ( ListJobsRequest request ) { request = beforeClientExecution ( request ) ; return executeListJobs ( request ) ; }
public virtual ListJobsResponse ListJobs ( ListJobsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListJobsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListJobsResponseUnmarshaller . Instance ; return Invoke < ListJobsResponse > ( request , options ) ; }
public RussianLightStemFilterFactory ( Map < String , String > args ) { super ( args ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public RussianLightStemFilterFactory ( IDictionary < string , string > args ) : base ( args ) { if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }
public SearchSkillGroupsResult searchSkillGroups ( SearchSkillGroupsRequest request ) { request = beforeClientExecution ( request ) ; return executeSearchSkillGroups ( request ) ; }
public virtual SearchSkillGroupsResponse SearchSkillGroups ( SearchSkillGroupsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SearchSkillGroupsRequestMarshaller . Instance ; options . ResponseUnmarshaller = SearchSkillGroupsResponseUnmarshaller . Instance ; return Invoke < SearchSkillGroupsResponse > ( request , options ) ; }
public SortField getSortField ( Bindings bindings , boolean reverse ) { return getDoubleValuesSource ( bindings ) . getSortField ( reverse ) ; }
public virtual SortField GetSortField ( Bindings bindings , bool reverse ) { return GetValueSource ( bindings ) . GetSortField ( reverse ) ; }
public ModifyHostsResult modifyHosts ( ModifyHostsRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyHosts ( request ) ; }
public virtual ModifyHostsResponse ModifyHosts ( ModifyHostsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyHostsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyHostsResponseUnmarshaller . Instance ; return Invoke < ModifyHostsResponse > ( request , options ) ; }
public void setDate ( String date ) { this . date = date ; }
public virtual void SetDate ( string date ) { this . date = date ; }
public ValueEval getAreaEval ( int firstRowIndex , int firstColumnIndex , int lastRowIndex , int lastColumnIndex ) { SheetRangeEvaluator sre = getRefEvaluatorForCurrentSheet ( ) ; return new LazyAreaEval ( firstRowIndex , firstColumnIndex , lastRowIndex , lastColumnIndex , sre ) ; }
public ValueEval GetAreaEval ( int firstRowIndex , int firstColumnIndex , int lastRowIndex , int lastColumnIndex ) { SheetRangeEvaluator sre = GetRefEvaluatorForCurrentSheet ( ) ; return new LazyAreaEval ( firstRowIndex , firstColumnIndex , lastRowIndex , lastColumnIndex , sre ) ; }
public CreateContactMethodResult createContactMethod ( CreateContactMethodRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateContactMethod ( request ) ; }
public virtual CreateContactMethodResponse CreateContactMethod ( CreateContactMethodRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateContactMethodRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateContactMethodResponseUnmarshaller . Instance ; return Invoke < CreateContactMethodResponse > ( request , options ) ; }
public static final RevFilter before ( Date ts ) { return before ( ts . getTime ( ) ) ; }
public static RevFilter Before ( DateTime ts ) { return Before ( ts . GetTime ( ) ) ; }
public String toString ( ) { return toString ( VocabularyImpl . EMPTY_VOCABULARY ) ; }
public override String ToString ( ) { return ToString ( Vocabulary . EmptyVocabulary ) ; }
public void updateFormulasAfterCellShift ( FormulaShifter shifter , int externSheetIndex ) { for ( int i = 0 ; i < _cfHeaders . size ( ) ; i ++ ) { CFRecordsAggregate subAgg = _cfHeaders . get ( i ) ; boolean shouldKeep = subAgg . updateFormulasAfterCellShift ( shifter , externSheetIndex ) ; if ( ! shouldKeep ) { _cfHeaders . remove ( i ) ; i -- ; } } }
public void UpdateFormulasAfterCellShift ( FormulaShifter shifter , int externSheetIndex ) { for ( int i = 0 ; i < _cfHeaders . Count ; i ++ ) { CFRecordsAggregate subAgg = ( CFRecordsAggregate ) _cfHeaders [ i ] ; bool shouldKeep = subAgg . UpdateFormulasAfterCellShift ( shifter , externSheetIndex ) ; if ( ! shouldKeep ) { _cfHeaders . RemoveAt ( i ) ; i -- ; } } }
public void insertCell ( CellValueRecordInterface cvRec ) { _valuesAgg . insertCell ( cvRec ) ; }
public void InsertCell ( CellValueRecordInterface cvRec ) { _valuesAgg . InsertCell ( cvRec ) ; }
public ShingleFilter create ( TokenStream input ) { ShingleFilter r = new ShingleFilter ( input , minShingleSize , maxShingleSize ) ; r . setOutputUnigrams ( outputUnigrams ) ; r . setOutputUnigramsIfNoShingles ( outputUnigramsIfNoShingles ) ; r . setTokenSeparator ( tokenSeparator ) ; r . setFillerToken ( fillerToken ) ; return r ; }
public override TokenStream Create ( TokenStream input ) { ShingleFilter r = new ShingleFilter ( input , minShingleSize , maxShingleSize ) ; r . SetOutputUnigrams ( outputUnigrams ) ; r . SetOutputUnigramsIfNoShingles ( outputUnigramsIfNoShingles ) ; r . SetTokenSeparator ( tokenSeparator ) ; r . SetFillerToken ( fillerToken ) ; return r ; }
public SlopQueryNode ( QueryNode query , int value ) { if ( query == null ) { throw new QueryNodeError ( new MessageImpl ( QueryParserMessages . NODE_ACTION_NOT_SUPPORTED , "query" , "null" ) ) ; } this . value = value ; setLeaf ( false ) ; allocate ( ) ; add ( query ) ; }
public SlopQueryNode ( IQueryNode query , int value ) { if ( query == null ) { throw new QueryNodeError ( new Message ( QueryParserMessages . NODE_ACTION_NOT_SUPPORTED , "query" , "null" ) ) ; } this . value = value ; IsLeaf = false ; Allocate ( ) ; Add ( query ) ; }
public ReplaceRouteTableAssociationResult replaceRouteTableAssociation ( ReplaceRouteTableAssociationRequest request ) { request = beforeClientExecution ( request ) ; return executeReplaceRouteTableAssociation ( request ) ; }
public virtual ReplaceRouteTableAssociationResponse ReplaceRouteTableAssociation ( ReplaceRouteTableAssociationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ReplaceRouteTableAssociationRequestMarshaller . Instance ; options . ResponseUnmarshaller = ReplaceRouteTableAssociationResponseUnmarshaller . Instance ; return Invoke < ReplaceRouteTableAssociationResponse > ( request , options ) ; }
public void setObjectIdFromRaw ( byte [ ] bs , int p ) { final int n = Constants . OBJECT_ID_LENGTH ; System . arraycopy ( bs , p , idBuffer ( ) , idOffset ( ) , n ) ; }
public virtual void SetObjectIdFromRaw ( byte [ ] bs , int p ) { int n = Constants . OBJECT_ID_LENGTH ; System . Array . Copy ( bs , p , IdBuffer , IdOffset , n ) ; }
public ListTablesResult listTables ( Integer limit ) { return listTables ( new ListTablesRequest ( ) . withLimit ( limit ) ) ; }
public virtual ListTablesResponse ListTables ( int limit ) { var request = new ListTablesRequest ( ) ; request . Limit = limit ; return ListTables ( request ) ; }
public DeleteDeviceGroupRequest ( ) { super ( "LinkFace" , "2018-07-20" , "DeleteDeviceGroup" ) ; setProtocol ( ProtocolType . HTTPS ) ; setMethod ( MethodType . POST ) ; }
public DeleteDeviceGroupRequest ( ) : base ( "LinkFace" , "2018-07-20" , "DeleteDeviceGroup" ) { Protocol = ProtocolType . HTTPS ; Method = MethodType . POST ; }
public void addRecords ( RecordStream rs ) { while ( true ) { if ( ! readARecord ( rs ) ) { break ; } } }
public void AddRecords ( RecordStream rs ) { while ( true ) { if ( ! ReadARecord ( rs ) ) { break ; } } }
public static Collection < String > getSupportedFunctionNames ( ) { Collection < String > lst = new TreeSet < > ( ) ; for ( int i = 0 ; i < functions . length ; i ++ ) { Function func = functions [ i ] ; FunctionMetadata metaData = FunctionMetadataRegistry . getFunctionByIndex ( i ) ; if ( func != null && ! ( func instanceof NotImplementedFunction ) ) { lst . add ( metaData . getName ( ) ) ; } } lst . add ( "INDIRECT" ) ; return Collections . unmodifiableCollection ( lst ) ; }
public static ReadOnlyCollection < String > GetSupportedFunctionNames ( ) { List < String > lst = new List < String > ( ) ; for ( int i = 0 ; i < functions . Length ; i ++ ) { Function func = functions [ i ] ; FunctionMetadata metaData = FunctionMetadataRegistry . GetFunctionByIndex ( i ) ; if ( func != null && ! ( func is NotImplementedFunction ) ) { lst . Add ( metaData . Name ) ; } } lst . Add ( "INDIRECT" ) ; return lst . AsReadOnly ( ) ; }
public PendingTaskCount countPendingActivityTasks ( CountPendingActivityTasksRequest request ) { request = beforeClientExecution ( request ) ; return executeCountPendingActivityTasks ( request ) ; }
public virtual CountPendingActivityTasksResponse CountPendingActivityTasks ( CountPendingActivityTasksRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CountPendingActivityTasksRequestMarshaller . Instance ; options . ResponseUnmarshaller = CountPendingActivityTasksResponseUnmarshaller . Instance ; return Invoke < CountPendingActivityTasksResponse > ( request , options ) ; }
public List < SegToken > process ( String sentence ) { SegGraph segGraph = createSegGraph ( sentence ) ; BiSegGraph biSegGraph = new BiSegGraph ( segGraph ) ; List < SegToken > shortPath = biSegGraph . getShortPath ( ) ; return shortPath ; }
public virtual IList < SegToken > Process ( string sentence ) { SegGraph segGraph = CreateSegGraph ( sentence ) ; BiSegGraph biSegGraph = new BiSegGraph ( segGraph ) ; IList < SegToken > shortPath = biSegGraph . GetShortPath ( ) ; return shortPath ; }
public Area3DPtg ( AreaReference arearef , int externIdx ) { super ( arearef ) ; setExternSheetIndex ( externIdx ) ; }
public Area3DPtg ( AreaReference arearef , int externIdx ) : base ( arearef ) { ExternSheetIndex = ( externIdx ) ; }
public EnableRuleResult enableRule ( EnableRuleRequest request ) { request = beforeClientExecution ( request ) ; return executeEnableRule ( request ) ; }
public virtual EnableRuleResponse EnableRule ( EnableRuleRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = EnableRuleRequestMarshaller . Instance ; options . ResponseUnmarshaller = EnableRuleResponseUnmarshaller . Instance ; return Invoke < EnableRuleResponse > ( request , options ) ; }
public static boolean equals ( byte [ ] array1 , byte [ ] array2 ) { if ( array1 == array2 ) { return true ; } if ( array1 == null || array2 == null || array1 . length != array2 . length ) { return false ; } for ( int i = 0 ; i < array1 . length ; i ++ ) { if ( array1 [ i ] != array2 [ i ] ) { return false ; } } return true ; }
public static bool equals ( byte [ ] array1 , byte [ ] array2 ) { if ( array1 == array2 ) { return true ; } if ( array1 == null || array2 == null || array1 . Length != array2 . Length ) { return false ; } { for ( int i = 0 ; i < array1 . Length ; i ++ ) { if ( array1 [ i ] != array2 [ i ] ) { return false ; } } } return true ; }
public boolean isExpectDataAfterPackFooter ( ) { return expectDataAfterPackFooter ; }
public virtual bool IsExpectDataAfterPackFooter ( ) { return expectDataAfterPackFooter ; }
public ListIncomingTypedLinksResult listIncomingTypedLinks ( ListIncomingTypedLinksRequest request ) { request = beforeClientExecution ( request ) ; return executeListIncomingTypedLinks ( request ) ; }
public virtual ListIncomingTypedLinksResponse ListIncomingTypedLinks ( ListIncomingTypedLinksRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListIncomingTypedLinksRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListIncomingTypedLinksResponseUnmarshaller . Instance ; return Invoke < ListIncomingTypedLinksResponse > ( request , options ) ; }
public void removeRevNumber ( ) { remove1stProperty ( PropertyIDMap . PID_REVNUMBER ) ; }
public void RemoveRevNumber ( ) { MutableSection s = ( MutableSection ) FirstSection ; s . RemoveProperty ( PropertyIDMap . PID_REVNUMBER ) ; }
public DeleteMonitoringScheduleResult deleteMonitoringSchedule ( DeleteMonitoringScheduleRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteMonitoringSchedule ( request ) ; }
public virtual DeleteMonitoringScheduleResponse DeleteMonitoringSchedule ( DeleteMonitoringScheduleRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteMonitoringScheduleRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteMonitoringScheduleResponseUnmarshaller . Instance ; return Invoke < DeleteMonitoringScheduleResponse > ( request , options ) ; }
public synchronized boolean put ( FacetLabel categoryPath , int ordinal ) { boolean ret = cache . put ( categoryPath , ordinal ) ; if ( ret ) { cache . makeRoomLRU ( ) ; } return ret ; }
public virtual bool Put ( FacetLabel categoryPath , int ordinal ) { lock ( this ) { bool ret = cache . Put ( categoryPath , ordinal ) ; if ( ret ) { cache . MakeRoomLRU ( ) ; } return ret ; } }
public void pushNewRecursionContext ( ParserRuleContext localctx , int state , int ruleIndex ) { ParserRuleContext previous = _ctx ; previous . parent = localctx ; previous . invokingState = state ; previous . stop = _input . LT ( - 1 ) ; _ctx = localctx ; _ctx . start = previous . start ; if ( _buildParseTrees ) { _ctx . addChild ( previous ) ; } if ( _parseListeners != null ) { triggerEnterRuleEvent ( ) ; } }
public virtual void PushNewRecursionContext ( ParserRuleContext localctx , int state , int ruleIndex ) { ParserRuleContext previous = _ctx ; previous . Parent = localctx ; previous . invokingState = state ; previous . Stop = _input . LT ( - 1 ) ; _ctx = localctx ; _ctx . Start = previous . Start ; if ( _buildParseTrees ) { _ctx . AddChild ( previous ) ; } if ( _parseListeners != null ) { TriggerEnterRuleEvent ( ) ; } }
public Writer ( ) { output = new ByteArrayOutputStream ( ) ; }
protected internal Writer ( ) { @ lock = this ; }
public String getSignerType ( ) { return null ; }
public override string GetSignerType ( ) { return null ; }
public void add ( Ptg token ) { if ( token == null ) { throw new IllegalArgumentException ( "token must not be null" ) ; } _ptgs [ _offset ] = token ; _offset ++ ; }
public void Add ( Ptg token ) { if ( token == null ) { throw new ArgumentException ( "token must not be null" ) ; } _ptgs [ _offset ] = token ; _offset ++ ; }
public Repository build ( ) throws IOException { FileRepository repo = new FileRepository ( setup ( ) ) ; if ( isMustExist ( ) && ! repo . getObjectDatabase ( ) . exists ( ) ) throw new RepositoryNotFoundException ( getGitDir ( ) ) ; return repo ; }
public override FileRepository Build ( ) { FileRepository repo = new FileRepository ( Setup ( ) ) ; if ( IsMustExist ( ) && ! ( ( ObjectDirectory ) repo . ObjectDatabase ) . Exists ( ) ) { throw new RepositoryNotFoundException ( GetGitDir ( ) ) ; } return repo ; }
public List < WeightedFragInfo > getWeightedFragInfoList ( List < WeightedFragInfo > src ) { Collections . sort ( src , new ScoreComparator ( ) ) ; return src ; }
public override IList < WeightedFragInfo > GetWeightedFragInfoList ( IList < WeightedFragInfo > src ) { CollectionUtil . TimSort ( src , new ScoreComparer ( ) ) ; return src ; }
public String toString ( ) { return "epsilon" ; }
public override string ToString ( ) { return "epsilon" ; }
public DescribeDBLogFilesResult describeDBLogFiles ( DescribeDBLogFilesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeDBLogFiles ( request ) ; }
public virtual DescribeDBLogFilesResponse DescribeDBLogFiles ( DescribeDBLogFilesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeDBLogFilesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeDBLogFilesResponseUnmarshaller . Instance ; return Invoke < DescribeDBLogFilesResponse > ( request , options ) ; }
public NoteRecord ( RecordInputStream in ) { field_1_row = in . readUShort ( ) ; field_2_col = in . readShort ( ) ; field_3_flags = in . readShort ( ) ; field_4_shapeid = in . readUShort ( ) ; int length = in . readShort ( ) ; field_5_hasMultibyte = in . readByte ( ) != 0x00 ; if ( field_5_hasMultibyte ) { field_6_author = StringUtil . readUnicodeLE ( in , length ) ; } else { field_6_author = StringUtil . readCompressedUnicode ( in , length ) ; } if ( in . available ( ) == 1 ) { field_7_padding = Byte . valueOf ( in . readByte ( ) ) ; } else if ( in . available ( ) == 2 && length == 0 ) { field_7_padding = Byte . valueOf ( in . readByte ( ) ) ; in . readByte ( ) ; } }
public NoteRecord ( RecordInputStream in1 ) { field_1_row = in1 . ReadShort ( ) ; field_2_col = in1 . ReadUShort ( ) ; field_3_flags = in1 . ReadShort ( ) ; field_4_shapeid = in1 . ReadUShort ( ) ; int length = in1 . ReadShort ( ) ; field_5_hasMultibyte = in1 . ReadByte ( ) != 0x00 ; if ( field_5_hasMultibyte ) { field_6_author = StringUtil . ReadUnicodeLE ( in1 , length ) ; } else { field_6_author = StringUtil . ReadCompressedUnicode ( in1 , length ) ; } if ( in1 . Available ( ) == 1 ) { field_7_padding = ( byte ) in1 . ReadByte ( ) ; } else if ( in1 . Available ( ) == 2 && length == 0 ) { field_7_padding = ( byte ) in1 . ReadByte ( ) ; in1 . ReadByte ( ) ; } }
public CherryPickCommand setOurCommitName ( String ourCommitName ) { this . ourCommitName = ourCommitName ; return this ; }
public virtual NGit . Api . CherryPickCommand SetOurCommitName ( string ourCommitName ) { this . ourCommitName = ourCommitName ; return this ; }
public GetCloudFormationStackRecordsResult getCloudFormationStackRecords ( GetCloudFormationStackRecordsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetCloudFormationStackRecords ( request ) ; }
public virtual GetCloudFormationStackRecordsResponse GetCloudFormationStackRecords ( GetCloudFormationStackRecordsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetCloudFormationStackRecordsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetCloudFormationStackRecordsResponseUnmarshaller . Instance ; return Invoke < GetCloudFormationStackRecordsResponse > ( request , options ) ; }
public XPathTokenAnywhereElement ( String tokenName , int tokenType ) { super ( tokenName ) ; this . tokenType = tokenType ; }
public XPathTokenAnywhereElement ( string tokenName , int tokenType ) : base ( tokenName ) { this . tokenType = tokenType ; }
public boolean isExpired ( ) { long now = System . currentTimeMillis ( ) ; return now >= expiration - refreshIntervalInMillSeconds ; }
public bool IsExpired ( ) { return refreshIntervalInMillSeconds * 1000 * 10 >= RemainTicks ( ) ; }
public ListDetectorsResult listDetectors ( ListDetectorsRequest request ) { request = beforeClientExecution ( request ) ; return executeListDetectors ( request ) ; }
public virtual ListDetectorsResponse ListDetectors ( ListDetectorsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListDetectorsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListDetectorsResponseUnmarshaller . Instance ; return Invoke < ListDetectorsResponse > ( request , options ) ; }
public void add ( int index , T element ) { if ( index == size ) { add ( element ) ; } else if ( index < 0 || size < index ) { throw new IndexOutOfBoundsException ( String . valueOf ( index ) ) ; } else { add ( null ) ; for ( int oldIdx = size - 2 ; index <= oldIdx ; oldIdx -- ) set ( oldIdx + 1 , get ( oldIdx ) ) ; set ( index , element ) ; } }
public override void Add ( int index , T element ) { if ( index == size ) { AddItem ( element ) ; } else { if ( index < 0 || size < index ) { throw new IndexOutOfRangeException ( index . ToString ( ) ) ; } else { AddItem ( default ( T ) ) ; for ( int oldIdx = size - 2 ; index <= oldIdx ; oldIdx -- ) { Set ( oldIdx + 1 , this [ oldIdx ] ) ; } Set ( index , element ) ; } } }
public static int intersect ( CellRangeAddress crA , CellRangeAddress crB ) { int firstRow = crB . getFirstRow ( ) ; int lastRow = crB . getLastRow ( ) ; int firstCol = crB . getFirstColumn ( ) ; int lastCol = crB . getLastColumn ( ) ; if ( gt ( crA . getFirstRow ( ) , lastRow ) || lt ( crA . getLastRow ( ) , firstRow ) || gt ( crA . getFirstColumn ( ) , lastCol ) || lt ( crA . getLastColumn ( ) , firstCol ) ) { return NO_INTERSECTION ; } else if ( contains ( crA , crB ) ) { return INSIDE ; } else if ( contains ( crB , crA ) ) { return ENCLOSES ; } else { return OVERLAP ; } }
public static int Intersect ( CellRangeAddress crA , CellRangeAddress crB ) { int firstRow = crB . FirstRow ; int lastRow = crB . LastRow ; int firstCol = crB . FirstColumn ; int lastCol = crB . LastColumn ; if ( gt ( crA . FirstRow , lastRow ) || lt ( crA . LastRow , firstRow ) || gt ( crA . FirstColumn , lastCol ) || lt ( crA . LastColumn , firstCol ) ) { return NO_INTERSECTION ; } else if ( Contains ( crA , crB ) ) { return INSIDE ; } else if ( Contains ( crB , crA ) ) { return ENCLOSES ; } else { return OVERLAP ; } }
public short getXFAt ( int coffset ) { return _xfs [ coffset ] ; }
public short GetXFAt ( int coffset ) { return _xfs [ coffset ] ; }
public static final boolean isId ( @ Nullable String id ) { if ( id == null ) { return false ; } if ( id . length ( ) != Constants . OBJECT_ID_STRING_LENGTH ) return false ; try { for ( int i = 0 ; i < Constants . OBJECT_ID_STRING_LENGTH ; i ++ ) { RawParseUtils . parseHexInt4 ( ( byte ) id . charAt ( i ) ) ; } return true ; } catch ( ArrayIndexOutOfBoundsException e ) { return false ; } }
public static bool IsId ( string id ) { if ( id . Length != Constants . OBJECT_ID_STRING_LENGTH ) { return false ; } try { for ( int i = 0 ; i < Constants . OBJECT_ID_STRING_LENGTH ; i ++ ) { RawParseUtils . ParseHexInt4 ( unchecked ( ( byte ) id [ i ] ) ) ; } return true ; } catch ( IndexOutOfRangeException ) { return false ; } }
@ Override public boolean isEmpty ( ) { return countMap . isEmpty ( ) ; }
public override bool isEmpty ( ) { return this . _enclosing . _size == 0 ; }
public ByteVector ( byte [ ] a , int capacity ) { if ( capacity > 0 ) { blockSize = capacity ; } else { blockSize = DEFAULT_BLOCK_SIZE ; } array = a ; n = 0 ; }
public ByteVector ( byte [ ] a , int capacity ) { if ( capacity > 0 ) { blockSize = capacity ; } else { blockSize = DEFAULT_BLOCK_SIZE ; } array = a ; n = 0 ; }
public void write ( int oneByte ) throws IOException { write ( new byte [ ] { ( byte ) oneByte } , 0 , 1 ) ; }
public override void write ( int oneByte ) { throw new System . NotImplementedException ( ) ; }
public SegmentCommitInfo info ( int i ) { return segments . get ( i ) ; }
public SegmentCommitInfo Info ( int i ) { return segments [ i ] ; }
public ListDistributionsByWebACLIdResult listDistributionsByWebACLId ( ListDistributionsByWebACLIdRequest request ) { request = beforeClientExecution ( request ) ; return executeListDistributionsByWebACLId ( request ) ; }
public virtual ListDistributionsByWebACLIdResponse ListDistributionsByWebACLId ( ListDistributionsByWebACLIdRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListDistributionsByWebACLIdRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListDistributionsByWebACLIdResponseUnmarshaller . Instance ; return Invoke < ListDistributionsByWebACLIdResponse > ( request , options ) ; }
public void serialize ( LittleEndianOutput out ) { out . writeShort ( rt ) ; out . writeShort ( grbitFrt ) ; out . writeShort ( iObjectKind ) ; out . writeShort ( iObjectContext ) ; out . writeShort ( iObjectInstance1 ) ; out . writeShort ( iObjectInstance2 ) ; }
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( rt ) ; out1 . WriteShort ( grbitFrt ) ; out1 . WriteShort ( iObjectKind ) ; out1 . WriteShort ( iObjectContext ) ; out1 . WriteShort ( iObjectInstance1 ) ; out1 . WriteShort ( iObjectInstance2 ) ; }
public CreateDeliveryStreamResult createDeliveryStream ( CreateDeliveryStreamRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateDeliveryStream ( request ) ; }
public virtual CreateDeliveryStreamResponse CreateDeliveryStream ( CreateDeliveryStreamRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateDeliveryStreamRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateDeliveryStreamResponseUnmarshaller . Instance ; return Invoke < CreateDeliveryStreamResponse > ( request , options ) ; }
public ResetDBParameterGroupResult resetDBParameterGroup ( ResetDBParameterGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeResetDBParameterGroup ( request ) ; }
public virtual ResetDBParameterGroupResponse ResetDBParameterGroup ( ResetDBParameterGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ResetDBParameterGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = ResetDBParameterGroupResponseUnmarshaller . Instance ; return Invoke < ResetDBParameterGroupResponse > ( request , options ) ; }
public DescribeDocumentClassificationJobResult describeDocumentClassificationJob ( DescribeDocumentClassificationJobRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeDocumentClassificationJob ( request ) ; }
public virtual DescribeDocumentClassificationJobResponse DescribeDocumentClassificationJob ( DescribeDocumentClassificationJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeDocumentClassificationJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeDocumentClassificationJobResponseUnmarshaller . Instance ; return Invoke < DescribeDocumentClassificationJobResponse > ( request , options ) ; }
public DescribeSecurityGroupsResult describeSecurityGroups ( DescribeSecurityGroupsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeSecurityGroups ( request ) ; }
public virtual DescribeSecurityGroupsResponse DescribeSecurityGroups ( DescribeSecurityGroupsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeSecurityGroupsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeSecurityGroupsResponseUnmarshaller . Instance ; return Invoke < DescribeSecurityGroupsResponse > ( request , options ) ; }
public UpdateTrafficPolicyInstanceResult updateTrafficPolicyInstance ( UpdateTrafficPolicyInstanceRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateTrafficPolicyInstance ( request ) ; }
public virtual UpdateTrafficPolicyInstanceResponse UpdateTrafficPolicyInstance ( UpdateTrafficPolicyInstanceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateTrafficPolicyInstanceRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateTrafficPolicyInstanceResponseUnmarshaller . Instance ; return Invoke < UpdateTrafficPolicyInstanceResponse > ( request , options ) ; }
public BinaryHunk getForwardBinaryHunk ( ) { return forwardBinaryHunk ; }
public virtual BinaryHunk GetForwardBinaryHunk ( ) { return forwardBinaryHunk ; }
public static ByteBuffer allocateDirect ( int capacity ) { if ( capacity < 0 ) { throw new IllegalArgumentException ( ) ; } return new ReadWriteDirectByteBuffer ( capacity ) ; }
public static java . nio . ByteBuffer allocateDirect ( int capacity_1 ) { if ( capacity_1 < 0 ) { throw new System . ArgumentException ( ) ; } return new java . nio . ReadWriteHeapByteBuffer ( capacity_1 ) ; }
public void drawString ( String str , int x , int y ) { if ( str == null || str . isEmpty ( ) ) return ; Font excelFont = font ; if ( font . getName ( ) . equals ( "SansSerif" ) ) { excelFont = new Font ( "Arial" , font . getStyle ( ) , ( int ) ( font . getSize ( ) / verticalPixelsPerPoint ) ) ; } else { excelFont = new Font ( font . getName ( ) , font . getStyle ( ) , ( int ) ( font . getSize ( ) / verticalPixelsPerPoint ) ) ; } FontDetails d = StaticFontMetrics . getFontDetails ( excelFont ) ; int width = d . getStringWidth ( str ) * 8 + 12 ; int height = ( int ) ( ( font . getSize ( ) / verticalPixelsPerPoint ) + 6 ) * 2 ; y -= ( font . getSize ( ) / verticalPixelsPerPoint ) + 2 * verticalPixelsPerPoint ; HSSFTextbox textbox = escherGroup . createTextbox ( new HSSFChildAnchor ( x , y , x + width , y + height ) ) ; textbox . setNoFill ( true ) ; textbox . setLineStyle ( HSSFShape . LINESTYLE_NONE ) ; HSSFRichTextString s = new HSSFRichTextString ( str ) ; HSSFFont hssfFont = matchFont ( excelFont ) ; s . applyFont ( hssfFont ) ; textbox . setString ( s ) ; }
public void DrawString ( String str , int x , int y ) { if ( string . IsNullOrEmpty ( str ) ) return ; using ( Font excelFont = new Font ( font . Name . Equals ( "SansSerif" ) ? "Arial" : font . Name , ( int ) ( font . Size / verticalPixelsPerPoint ) , font . Style ) ) { FontDetails d = StaticFontMetrics . GetFontDetails ( excelFont ) ; int width = ( int ) ( ( d . GetStringWidth ( str ) * 8 ) + 12 ) ; int height = ( int ) ( ( font . Size / verticalPixelsPerPoint ) + 6 ) * 2 ; y -= Convert . ToInt32 ( ( font . Size / verticalPixelsPerPoint ) + 2 * verticalPixelsPerPoint ) ; HSSFTextbox textbox = escherGroup . CreateTextbox ( new HSSFChildAnchor ( x , y , x + width , y + height ) ) ; textbox . IsNoFill = ( true ) ; textbox . LineStyle = LineStyle . None ; HSSFRichTextString s = new HSSFRichTextString ( str ) ; HSSFFont hssfFont = MatchFont ( excelFont ) ; s . ApplyFont ( hssfFont ) ; textbox . String = ( s ) ; } }
public Query makeLuceneQueryFieldNoBoost ( String fieldName , BasicQueryFactory qf ) { List < Query > luceneSubQueries = makeLuceneSubQueriesField ( fieldName , qf ) ; BooleanQuery . Builder bq = new BooleanQuery . Builder ( ) ; bq . add ( luceneSubQueries . get ( 0 ) , BooleanClause . Occur . MUST ) ; SrndBooleanQuery . addQueriesToBoolean ( bq , luceneSubQueries . subList ( 1 , luceneSubQueries . size ( ) ) , BooleanClause . Occur . MUST_NOT ) ; return bq . build ( ) ; }
public override Search . Query MakeLuceneQueryFieldNoBoost ( string fieldName , BasicQueryFactory qf ) { var luceneSubQueries = MakeLuceneSubQueriesField ( fieldName , qf ) ; BooleanQuery bq = new BooleanQuery ( ) ; bq . Add ( luceneSubQueries . FirstOrDefault ( ) , Occur . MUST ) ; SrndBooleanQuery . AddQueriesToBoolean ( bq , luceneSubQueries . Skip ( 1 ) . ToList ( ) , Occur . MUST_NOT ) ; return bq ; }
public void reset ( byte [ ] treeData ) { attributesNode = null ; raw = treeData ; prevPtr = - 1 ; currPtr = 0 ; if ( eof ( ) ) nextPtr = 0 ; elseparseEntry ( ) ; }
public virtual void Reset ( byte [ ] treeData ) { raw = treeData ; prevPtr = - 1 ; currPtr = 0 ; if ( Eof ) { nextPtr = 0 ; } else { ParseEntry ( ) ; } }
public void serialize ( LittleEndianOutput out ) { out . writeShort ( field_1_save_link_values ) ; }
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( field_1_save_link_values ) ; }
public static Boolean toBooleanOrNull ( String stringValue ) { if ( stringValue == null ) return null ; if ( equalsIgnoreCase ( "yes" , stringValue ) || equalsIgnoreCase ( "true" , stringValue ) || equalsIgnoreCase ( "1" , stringValue ) || equalsIgnoreCase ( "on" , stringValue ) ) return Boolean . TRUE ; else if ( equalsIgnoreCase ( "no" , stringValue ) || equalsIgnoreCase ( "false" , stringValue ) || equalsIgnoreCase ( "0" , stringValue ) || equalsIgnoreCase ( "off" , stringValue ) ) return Boolean . FALSE ; else return null ; }
public static bool ? ToBooleanOrNull ( string stringValue ) { if ( stringValue == null ) { return null ; } if ( EqualsIgnoreCase ( "yes" , stringValue ) || EqualsIgnoreCase ( "true" , stringValue ) || EqualsIgnoreCase ( "1" , stringValue ) || EqualsIgnoreCase ( "on" , stringValue ) ) { return true ; } else { if ( EqualsIgnoreCase ( "no" , stringValue ) || EqualsIgnoreCase ( "false" , stringValue ) || EqualsIgnoreCase ( "0" , stringValue ) || EqualsIgnoreCase ( "off" , stringValue ) ) { return false ; } else { return null ; } } }
public RevObject lookupOrNull ( AnyObjectId id ) { return objects . get ( id ) ; }
public virtual RevObject LookupOrNull ( AnyObjectId id ) { return objects . Get ( id ) ; }
public void cloneStyleFrom ( FontRecord source ) { field_1_font_height = source . field_1_font_height ; field_2_attributes = source . field_2_attributes ; field_3_color_palette_index = source . field_3_color_palette_index ; field_4_bold_weight = source . field_4_bold_weight ; field_5_super_sub_script = source . field_5_super_sub_script ; field_6_underline = source . field_6_underline ; field_7_family = source . field_7_family ; field_8_charset = source . field_8_charset ; field_9_zero = source . field_9_zero ; field_11_font_name = source . field_11_font_name ; }
public void CloneStyleFrom ( FontRecord source ) { field_1_font_height = source . field_1_font_height ; field_2_attributes = source . field_2_attributes ; field_3_color_palette_index = source . field_3_color_palette_index ; field_4_bold_weight = source . field_4_bold_weight ; field_5_base_sub_script = source . field_5_base_sub_script ; field_6_underline = source . field_6_underline ; field_7_family = source . field_7_family ; field_8_charset = source . field_8_charset ; field_9_zero = source . field_9_zero ; field_11_font_name = source . field_11_font_name ; }
public BrazilianStemFilterFactory ( Map < String , String > args ) { super ( args ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public BrazilianStemFilterFactory ( IDictionary < string , string > args ) : base ( args ) { if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }
public static byte lookupCharacterClass ( String characterClassName ) { return ( byte ) CharacterClass . valueOf ( characterClassName ) . ordinal ( ) ; }
public static byte LookupCharacterClass ( string characterClassName ) { return ( byte ) Enum . Parse ( typeof ( CharacterClass ) , characterClassName , true ) ; }
public ArrayList ( int capacity ) { if ( capacity < 0 ) { throw new IllegalArgumentException ( ) ; } array = ( capacity == 0 ? EmptyArray . OBJECT : new Object [ capacity ] ) ; }
public ArrayList ( int capacity ) { if ( capacity < 0 ) { throw new System . ArgumentException ( ) ; } array = ( capacity == 0 ? libcore . util . EmptyArray . OBJECT : new object [ capacity ] ) ; }
public CreateHumanTaskUiResult createHumanTaskUi ( CreateHumanTaskUiRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateHumanTaskUi ( request ) ; }
public virtual CreateHumanTaskUiResponse CreateHumanTaskUi ( CreateHumanTaskUiRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateHumanTaskUiRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateHumanTaskUiResponseUnmarshaller . Instance ; return Invoke < CreateHumanTaskUiResponse > ( request , options ) ; }
public GetSoftwareUpdatesResult getSoftwareUpdates ( GetSoftwareUpdatesRequest request ) { request = beforeClientExecution ( request ) ; return executeGetSoftwareUpdates ( request ) ; }
public virtual GetSoftwareUpdatesResponse GetSoftwareUpdates ( GetSoftwareUpdatesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetSoftwareUpdatesRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetSoftwareUpdatesResponseUnmarshaller . Instance ; return Invoke < GetSoftwareUpdatesResponse > ( request , options ) ; }
public NamePtg createPtg ( ) { return new NamePtg ( _index ) ; }
public NamePtg CreatePtg ( ) { return new NamePtg ( _index ) ; }
public ListFlowDefinitionsResult listFlowDefinitions ( ListFlowDefinitionsRequest request ) { request = beforeClientExecution ( request ) ; return executeListFlowDefinitions ( request ) ; }
public virtual ListFlowDefinitionsResponse ListFlowDefinitions ( ListFlowDefinitionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListFlowDefinitionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListFlowDefinitionsResponseUnmarshaller . Instance ; return Invoke < ListFlowDefinitionsResponse > ( request , options ) ; }
public LittleEndianOutput createDelayedOutput ( int size ) { checkPosition ( size ) ; LittleEndianOutput result = new LittleEndianByteArrayOutputStream ( _buf , _writeIndex , size ) ; _writeIndex += size ; return result ; }
public ILittleEndianOutput CreateDelayedOutput ( int size ) { CheckPosition ( size ) ; ILittleEndianOutput result = new LittleEndianByteArrayOutputStream ( _buf , _writeIndex , size ) ; _writeIndex += size ; return result ; }
public long get ( int index ) { return current . get ( index ) ; }
public override long Get ( int index ) { return current . Get ( index ) ; }
public StemmerOverrideFilterFactory ( Map < String , String > args ) { super ( args ) ; dictionaryFiles = get ( args , "dictionary" ) ; ignoreCase = getBoolean ( args , "ignoreCase" , false ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public StemmerOverrideFilterFactory ( IDictionary < string , string > args ) : base ( args ) { dictionaryFiles = Get ( args , "dictionary" ) ; ignoreCase = GetBoolean ( args , "ignoreCase" , false ) ; if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }
public long get ( int index ) { final int o = index / 12 ; final int b = index % 12 ; final int shift = b * 5 ; return ( blocks [ o ] > > > shift ) & 31L ; }
public override long Get ( int index ) { int o = index / 12 ; int b = index % 12 ; int shift = b * 5 ; return ( ( long ) ( ( ulong ) blocks [ o ] > > shift ) ) & 31L ; }
public DeleteDeploymentGroupResult deleteDeploymentGroup ( DeleteDeploymentGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDeploymentGroup ( request ) ; }
public virtual DeleteDeploymentGroupResponse DeleteDeploymentGroup ( DeleteDeploymentGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDeploymentGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDeploymentGroupResponseUnmarshaller . Instance ; return Invoke < DeleteDeploymentGroupResponse > ( request , options ) ; }
public void setNamespaceAware ( boolean awareness ) { features . put ( XmlPullParser . FEATURE_PROCESS_NAMESPACES , awareness ) ; }
public virtual void setNamespaceAware ( bool awareness ) { features . put ( org . xmlpull . v1 . XmlPullParserClass . FEATURE_PROCESS_NAMESPACES , awareness ) ; }