question
stringlengths
33
1.59k
target
stringlengths
33
1.58k
public ClassifyDocumentResult classifyDocument ( ClassifyDocumentRequest request ) { request = beforeClientExecution ( request ) ; return executeClassifyDocument ( request ) ; }
public virtual ClassifyDocumentResponse ClassifyDocument ( ClassifyDocumentRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ClassifyDocumentRequestMarshaller . Instance ; options . ResponseUnmarshaller = ClassifyDocumentResponseUnmarshaller . Instance ; return Invoke < ClassifyDocumentResponse > ( request , options ) ; }
public GetIdentityPoolRolesResult getIdentityPoolRoles ( GetIdentityPoolRolesRequest request ) { request = beforeClientExecution ( request ) ; return executeGetIdentityPoolRoles ( request ) ; }
public virtual GetIdentityPoolRolesResponse GetIdentityPoolRoles ( GetIdentityPoolRolesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetIdentityPoolRolesRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetIdentityPoolRolesResponseUnmarshaller . Instance ; return Invoke < GetIdentityPoolRolesResponse > ( request , options ) ; }
public CharSequence subSequence ( int start , int end ) { int newLength = end - start ; return new UnescapedCharSequence ( this . chars , this . wasEscaped , start , newLength ) ; }
public ICharSequence Subsequence ( int startIndex , int length ) { return new UnescapedCharSequence ( this . chars , this . wasEscaped , startIndex , length ) ; }
public CreateDeploymentGroupResult createDeploymentGroup ( CreateDeploymentGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateDeploymentGroup ( request ) ; }
public virtual CreateDeploymentGroupResponse CreateDeploymentGroup ( CreateDeploymentGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateDeploymentGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateDeploymentGroupResponseUnmarshaller . Instance ; return Invoke < CreateDeploymentGroupResponse > ( request , options ) ; }
public String toString ( ) { StringBuilder r = new StringBuilder ( ) ; r . append ( "Tag" ) ; r . append ( "={\n" ) ; r . append ( "object " ) ; r . append ( object != null ? object . name ( ) : "NOT_SET" ) ; r . append ( "\n" ) ; r . append ( "type " ) ; r . append ( object != null ? Constants . typeString ( type ) : "NOT_SET" ) ; r . append ( "\n" ) ; r . append ( "tag " ) ; r . append ( tag != null ? tag : "NOT_SET" ) ; r . append ( "\n" ) ; if ( tagger != null ) { r . append ( "tagger " ) ; r . append ( tagger ) ; r . append ( "\n" ) ; } r . append ( "\n" ) ; r . append ( message != null ? message : "" ) ; r . append ( "}" ) ; return r . toString ( ) ; }
public override string ToString ( ) { StringBuilder r = new StringBuilder ( ) ; r . Append ( "Tag" ) ; r . Append ( "={\n" ) ; r . Append ( "object " ) ; r . Append ( @ object != null ? @ object . Name : "NOT_SET" ) ; r . Append ( "\n" ) ; r . Append ( "type " ) ; r . Append ( @ object != null ? Constants . TypeString ( type ) : "NOT_SET" ) ; r . Append ( "\n" ) ; r . Append ( "tag " ) ; r . Append ( tag != null ? tag : "NOT_SET" ) ; r . Append ( "\n" ) ; if ( tagger != null ) { r . Append ( "tagger " ) ; r . Append ( tagger ) ; r . Append ( "\n" ) ; } r . Append ( "\n" ) ; r . Append ( message != null ? message : string . Empty ) ; r . Append ( "}" ) ; return r . ToString ( ) ; }
public ET next ( ) { if ( expectedModCount == list . modCount ) { if ( hasNext ( ) ) { link = link . previous ; canRemove = true ; return link . data ; } throw new NoSuchElementException ( ) ; } throw new ConcurrentModificationException ( ) ; }
public virtual ET next ( ) { if ( this . expectedModCount == this . list . modCount ) { if ( this . hasNext ( ) ) { this . link = this . link . previous ; this . canRemove = true ; return this . link . data ; } throw new java . util . NoSuchElementException ( ) ; } throw new java . util . ConcurrentModificationException ( ) ; }
public boolean contains ( Object needle ) { if ( needle instanceof String ) { String n = ( String ) needle ; return names . containsKey ( n ) || names . containsKey ( StringUtils . toLowerCase ( n ) ) ; } return false ; }
public override bool Contains ( object needle ) { if ( needle is string ) { string n = ( string ) needle ; return names . ContainsKey ( n ) || names . ContainsKey ( StringUtils . ToLowerCase ( n ) ) ; } return false ; }
public int set ( final int holder ) { return holder | _mask ; }
public int Set ( int holder ) { return ( holder | this . _mask ) ; }
public void setContext ( int lineCount ) { if ( lineCount < 0 ) throw new IllegalArgumentException ( JGitText . get ( ) . contextMustBeNonNegative ) ; context = lineCount ; }
public virtual void SetContext ( int lineCount ) { if ( lineCount < 0 ) { throw new ArgumentException ( JGitText . Get ( ) . contextMustBeNonNegative ) ; } context = lineCount ; }
public String getPath ( Side side ) { return side == Side . OLD ? getOldPath ( ) : getNewPath ( ) ; }
public virtual string GetPath ( DiffEntry . Side side ) { return side == DiffEntry . Side . OLD ? GetOldPath ( ) : GetNewPath ( ) ; }
public DescribeAccessPointsResult describeAccessPoints ( DescribeAccessPointsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeAccessPoints ( request ) ; }
public virtual DescribeAccessPointsResponse DescribeAccessPoints ( DescribeAccessPointsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeAccessPointsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeAccessPointsResponseUnmarshaller . Instance ; return Invoke < DescribeAccessPointsResponse > ( request , options ) ; }
public StringBuilder deleteCharAt ( int index ) { deleteCharAt0 ( index ) ; return this ; }
public java . lang . StringBuilder deleteCharAt ( int index ) { deleteCharAt0 ( index ) ; return this ; }
public int addSSTString ( UnicodeString string ) { LOG . log ( DEBUG , "insert to sst string='" , string ) ; if ( sst == null ) { insertSST ( ) ; } return sst . addString ( string ) ; }
public int AddSSTString ( UnicodeString str ) { if ( sst == null ) { InsertSST ( ) ; } return sst . AddString ( str ) ; }
public String outputToString ( TermData data ) { return data . toString ( ) ; }
public override string OutputToString ( TermData data ) { return data . ToString ( ) ; }
public List < HSSFObjectData > getAllEmbeddedObjects ( ) { List < HSSFObjectData > objects = new ArrayList < > ( ) ; for ( HSSFSheet sheet : _sheets ) { getAllEmbeddedObjects ( sheet , objects ) ; } return Collections . unmodifiableList ( objects ) ; }
public IList < HSSFObjectData > GetAllEmbeddedObjects ( ) { List < HSSFObjectData > objects = new List < HSSFObjectData > ( ) ; for ( int i = 0 ; i < NumberOfSheets ; i ++ ) { GetAllEmbeddedObjects ( ( HSSFSheet ) GetSheetAt ( i ) , objects ) ; } return objects ; }
public DisableDirectoryResult disableDirectory ( DisableDirectoryRequest request ) { request = beforeClientExecution ( request ) ; return executeDisableDirectory ( request ) ; }
public virtual DisableDirectoryResponse DisableDirectory ( DisableDirectoryRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DisableDirectoryRequestMarshaller . Instance ; options . ResponseUnmarshaller = DisableDirectoryResponseUnmarshaller . Instance ; return Invoke < DisableDirectoryResponse > ( request , options ) ; }
public UpdateApiMappingResult updateApiMapping ( UpdateApiMappingRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateApiMapping ( request ) ; }
public virtual UpdateApiMappingResponse UpdateApiMapping ( UpdateApiMappingRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateApiMappingRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateApiMappingResponseUnmarshaller . Instance ; return Invoke < UpdateApiMappingResponse > ( request , options ) ; }
public StringBuffer insert ( int index , boolean b ) { return insert ( index , b ? "true" : "false" ) ; }
public java . lang . StringBuffer insert ( int index , bool b ) { return insert ( index , b ? "true" : "false" ) ; }
public UpdateConfigurationResult updateConfiguration ( UpdateConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateConfiguration ( request ) ; }
public virtual UpdateConfigurationResponse UpdateConfiguration ( UpdateConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateConfigurationRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateConfigurationResponseUnmarshaller . Instance ; return Invoke < UpdateConfigurationResponse > ( request , options ) ; }
public synchronized StringBuffer replace ( int start , int end , String string ) { replace0 ( start , end , string ) ; return this ; }
public java . lang . StringBuffer replace ( int start , int end , string @ string ) { lock ( this ) { replace0 ( start , end , @ string ) ; return this ; } }
public void decode ( long [ ] blocks , int blocksOffset , int [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { final long block = blocks [ blocksOffset ++ ] ; for ( int shift = 60 ; shift >= 0 ; shift -= 4 ) { values [ valuesOffset ++ ] = ( int ) ( ( block > > > shift ) & 15 ) ; } } }
public override void Decode ( long [ ] blocks , int blocksOffset , int [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { long block = blocks [ blocksOffset ++ ] ; for ( int shift = 60 ; shift >= 0 ; shift -= 4 ) { values [ valuesOffset ++ ] = ( int ) ( ( ( long ) ( ( ulong ) block > > shift ) ) & 15 ) ; } } }
public synchronized void print ( String str ) { if ( out == null ) { setError ( ) ; return ; } if ( str == null ) { print ( "null" ) ; return ; } try { if ( encoding == null ) { write ( str . getBytes ( ) ) ; } else { write ( str . getBytes ( encoding ) ) ; } } catch ( IOException e ) { setError ( ) ; } }
public virtual void print ( string str ) { lock ( this ) { if ( @ out == null ) { setError ( ) ; return ; } if ( str == null ) { print ( "null" ) ; return ; } try { if ( encoding == null ) { write ( Sharpen . StringHelper . GetBytesForString ( str ) ) ; } else { write ( Sharpen . StringHelper . GetBytesForString ( str , encoding ) ) ; } } catch ( System . IO . IOException ) { setError ( ) ; } } }
@ Override public E set ( int index , E object ) { synchronized ( CopyOnWriteArrayList . this ) { slice . checkElementIndex ( index ) ; slice . checkConcurrentModification ( elements ) ; E result = CopyOnWriteArrayList . this . set ( index + slice . from , object ) ; slice = new Slice ( elements , slice . from , slice . to ) ; return result ; } }
public virtual E set ( int index , E e ) { lock ( this ) { object [ ] newElements = ( object [ ] ) elements . Clone ( ) ; E result = ( E ) newElements [ index ] ; newElements [ index ] = e ; elements = newElements ; return result ; } }
public static void fill ( Object [ ] array , int start , int end , Object value ) { Arrays . checkStartAndEnd ( array . length , start , end ) ; for ( int i = start ; i < end ; i ++ ) { array [ i ] = value ; } }
public static void fill ( object [ ] array , int start , int end , object value ) { java . util . Arrays . checkStartAndEnd ( array . Length , start , end ) ; { for ( int i = start ; i < end ; i ++ ) { array [ i ] = value ; } } }
public short checkExternSheet ( int firstSheetNumber , int lastSheetNumber ) { return ( short ) getOrCreateLinkTable ( ) . checkExternSheet ( firstSheetNumber , lastSheetNumber ) ; }
public short checkExternSheet ( int firstSheetNumber , int lastSheetNumber ) { return ( short ) OrCreateLinkTable . CheckExternSheet ( firstSheetNumber , lastSheetNumber ) ; }
public DeleteClusterParameterGroupResult deleteClusterParameterGroup ( DeleteClusterParameterGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteClusterParameterGroup ( request ) ; }
public virtual DeleteClusterParameterGroupResponse DeleteClusterParameterGroup ( DeleteClusterParameterGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteClusterParameterGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteClusterParameterGroupResponseUnmarshaller . Instance ; return Invoke < DeleteClusterParameterGroupResponse > ( request , options ) ; }
public GetTemplateResult getTemplate ( GetTemplateRequest request ) { request = beforeClientExecution ( request ) ; return executeGetTemplate ( request ) ; }
public virtual GetTemplateResponse GetTemplate ( GetTemplateRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetTemplateRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetTemplateResponseUnmarshaller . Instance ; return Invoke < GetTemplateResponse > ( request , options ) ; }
public ByteBuffer put ( byte [ ] src , int srcOffset , int byteCount ) { throw new ReadOnlyBufferException ( ) ; }
public override java . nio . ByteBuffer put ( byte [ ] src , int srcOffset , int byteCount ) { throw new java . nio . ReadOnlyBufferException ( ) ; }
public Note call ( ) throws GitAPIException { checkCallable ( ) ; NoteMap map = NoteMap . newEmptyMap ( ) ; RevCommit notesCommit = null ; try ( RevWalk walk = new RevWalk ( repo ) ; ObjectInserter inserter = repo . newObjectInserter ( ) ) { Ref ref = repo . findRef ( notesRef ) ; if ( ref != null ) { notesCommit = walk . parseCommit ( ref . getObjectId ( ) ) ; map = NoteMap . read ( walk . getObjectReader ( ) , notesCommit ) ; } map . set ( id , message , inserter ) ; commitNoteMap ( repo , notesRef , walk , map , notesCommit , inserter , "Notes added by 'git notes add'" ) ; return map . getNote ( id ) ; } catch ( IOException e ) { throw new JGitInternalException ( e . getMessage ( ) , e ) ; } }
public override Note Call ( ) { CheckCallable ( ) ; RevWalk walk = new RevWalk ( repo ) ; ObjectInserter inserter = repo . NewObjectInserter ( ) ; NoteMap map = NoteMap . NewEmptyMap ( ) ; RevCommit notesCommit = null ; try { Ref @ ref = repo . GetRef ( notesRef ) ; if ( @ ref != null ) { notesCommit = walk . ParseCommit ( @ ref . GetObjectId ( ) ) ; map = NoteMap . Read ( walk . GetObjectReader ( ) , notesCommit ) ; } map . Set ( id , message , inserter ) ; CommitNoteMap ( walk , map , notesCommit , inserter , "Notes added by 'git notes add'" ) ; return map . GetNote ( id ) ; } catch ( IOException e ) { throw new JGitInternalException ( e . Message , e ) ; } finally { inserter . Release ( ) ; walk . Release ( ) ; } }
public DeleteNodegroupResult deleteNodegroup ( DeleteNodegroupRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteNodegroup ( request ) ; }
public virtual DeleteNodegroupResponse DeleteNodegroup ( DeleteNodegroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteNodegroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteNodegroupResponseUnmarshaller . Instance ; return Invoke < DeleteNodegroupResponse > ( request , options ) ; }
public final boolean hasRemaining ( ) { return position < limit ; }
public bool hasRemaining ( ) { return _position < _limit ; }
public final int compareTo ( AnyObjectId other ) { if ( this == other ) return 0 ; int cmp ; cmp = NB . compareUInt32 ( w1 , other . w1 ) ; if ( cmp != 0 ) return cmp ; cmp = NB . compareUInt32 ( w2 , other . w2 ) ; if ( cmp != 0 ) return cmp ; cmp = NB . compareUInt32 ( w3 , other . w3 ) ; if ( cmp != 0 ) return cmp ; cmp = NB . compareUInt32 ( w4 , other . w4 ) ; if ( cmp != 0 ) return cmp ; return NB . compareUInt32 ( w5 , other . w5 ) ; }
public int CompareTo ( AnyObjectId other ) { if ( this == other ) { return 0 ; } int cmp ; cmp = NB . CompareUInt32 ( w1 , other . w1 ) ; if ( cmp != 0 ) { return cmp ; } cmp = NB . CompareUInt32 ( w2 , other . w2 ) ; if ( cmp != 0 ) { return cmp ; } cmp = NB . CompareUInt32 ( w3 , other . w3 ) ; if ( cmp != 0 ) { return cmp ; } cmp = NB . CompareUInt32 ( w4 , other . w4 ) ; if ( cmp != 0 ) { return cmp ; } return NB . CompareUInt32 ( w5 , other . w5 ) ; }
public static IntBuffer wrap ( int [ ] array ) { return wrap ( array , 0 , array . length ) ; }
public static java . nio . IntBuffer wrap ( int [ ] array_1 ) { return wrap ( array_1 , 0 , array_1 . Length ) ; }
public ObjectId getNewId ( ) { return newId ; }
public virtual ObjectId GetNewId ( ) { return newId ; }
public DescribeBrokerInstanceOptionsResult describeBrokerInstanceOptions ( DescribeBrokerInstanceOptionsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeBrokerInstanceOptions ( request ) ; }
public virtual DescribeBrokerInstanceOptionsResponse DescribeBrokerInstanceOptions ( DescribeBrokerInstanceOptionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeBrokerInstanceOptionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeBrokerInstanceOptionsResponseUnmarshaller . Instance ; return Invoke < DescribeBrokerInstanceOptionsResponse > ( request , options ) ; }
public GetDASHStreamingSessionURLResult getDASHStreamingSessionURL ( GetDASHStreamingSessionURLRequest request ) { request = beforeClientExecution ( request ) ; return executeGetDASHStreamingSessionURL ( request ) ; }
public virtual GetDASHStreamingSessionURLResponse GetDASHStreamingSessionURL ( GetDASHStreamingSessionURLRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetDASHStreamingSessionURLRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetDASHStreamingSessionURLResponseUnmarshaller . Instance ; return Invoke < GetDASHStreamingSessionURLResponse > ( request , options ) ; }
public CancelJobResult cancelJob ( CancelJobRequest request ) { request = beforeClientExecution ( request ) ; return executeCancelJob ( request ) ; }
public virtual CancelJobResponse CancelJob ( CancelJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CancelJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = CancelJobResponseUnmarshaller . Instance ; return Invoke < CancelJobResponse > ( request , options ) ; }
public ListExperimentsResult listExperiments ( ListExperimentsRequest request ) { request = beforeClientExecution ( request ) ; return executeListExperiments ( request ) ; }
public virtual ListExperimentsResponse ListExperiments ( ListExperimentsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListExperimentsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListExperimentsResponseUnmarshaller . Instance ; return Invoke < ListExperimentsResponse > ( request , options ) ; }
public CreateSubnetGroupResult createSubnetGroup ( CreateSubnetGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateSubnetGroup ( request ) ; }
public virtual CreateSubnetGroupResponse CreateSubnetGroup ( CreateSubnetGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateSubnetGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateSubnetGroupResponseUnmarshaller . Instance ; return Invoke < CreateSubnetGroupResponse > ( request , options ) ; }
public String toString ( ) { return "scorer(" + weight + ")[" + super . toString ( ) + "]" ; }
public override string ToString ( ) { return "scorer(" + m_weight + ")" ; }
public Executor getExecutor ( ) { return executor ; }
public virtual Executor GetExecutor ( ) { return executor ; }
public void write ( LittleEndianOutput out ) { throw invalid ( ) ; }
public override void Write ( ILittleEndianOutput out1 ) { throw Invalid ( ) ; }
public StandardQueryParser ( Analyzer analyzer ) { this ( ) ; this . setAnalyzer ( analyzer ) ; }
public StandardQueryParser ( Analyzer analyzer ) : this ( ) { this . Analyzer = analyzer ; }
public IndexedUDFFinder ( UDFFinder ... usedToolPacks ) { super ( usedToolPacks ) ; _funcMap = new HashMap < > ( ) ; }
public IndexedUDFFinder ( params UDFFinder [ ] usedToolPacks ) : base ( usedToolPacks ) { _funcMap = new Dictionary < int , String > ( ) ; }
public static int countMatchingCellsInRef ( RefEval refEval , I_MatchPredicate criteriaPredicate ) { int result = 0 ; final int firstSheetIndex = refEval . getFirstSheetIndex ( ) ; final int lastSheetIndex = refEval . getLastSheetIndex ( ) ; for ( int sIx = firstSheetIndex ; sIx <= lastSheetIndex ; sIx ++ ) { ValueEval ve = refEval . getInnerValueEval ( sIx ) ; if ( criteriaPredicate . matches ( ve ) ) { result ++ ; } } return result ; }
public static int CountMatchingCellsInRef ( RefEval refEval , IMatchPredicate criteriaPredicate ) { int result = 0 ; for ( int sIx = refEval . FirstSheetIndex ; sIx <= refEval . LastSheetIndex ; sIx ++ ) { ValueEval ve = refEval . GetInnerValueEval ( sIx ) ; if ( criteriaPredicate . Matches ( ve ) ) { result ++ ; } } return result ; }
public NameXPxg ( int externalWorkbookNumber , String sheetName , String nameName ) { this . externalWorkbookNumber = externalWorkbookNumber ; this . sheetName = sheetName ; this . nameName = nameName ; }
public NameXPxg ( int externalWorkbookNumber , String sheetName , String nameName ) { this . externalWorkbookNumber = externalWorkbookNumber ; this . sheetName = sheetName ; this . nameName = nameName ; }
public MergeInfo ( int totalMaxDoc , long estimatedMergeBytes , boolean isExternal , int mergeMaxNumSegments ) { this . totalMaxDoc = totalMaxDoc ; this . estimatedMergeBytes = estimatedMergeBytes ; this . isExternal = isExternal ; this . mergeMaxNumSegments = mergeMaxNumSegments ; }
public MergeInfo ( int totalDocCount , long estimatedMergeBytes , bool isExternal , int mergeMaxNumSegments ) { this . TotalDocCount = totalDocCount ; this . EstimatedMergeBytes = estimatedMergeBytes ; this . IsExternal = isExternal ; this . MergeMaxNumSegments = mergeMaxNumSegments ; }
public HsmClientCertificate createHsmClientCertificate ( CreateHsmClientCertificateRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateHsmClientCertificate ( request ) ; }
public virtual CreateHsmClientCertificateResponse CreateHsmClientCertificate ( CreateHsmClientCertificateRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateHsmClientCertificateRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateHsmClientCertificateResponseUnmarshaller . Instance ; return Invoke < CreateHsmClientCertificateResponse > ( request , options ) ; }
public Token consume ( ) { Token o = getCurrentToken ( ) ; if ( o . getType ( ) != EOF ) { getInputStream ( ) . consume ( ) ; } boolean hasListener = _parseListeners != null && ! _parseListeners . isEmpty ( ) ; if ( _buildParseTrees || hasListener ) { if ( _errHandler . inErrorRecoveryMode ( this ) ) { ErrorNode node = _ctx . addErrorNode ( createErrorNode ( _ctx , o ) ) ; if ( _parseListeners != null ) { for ( ParseTreeListener listener : _parseListeners ) { listener . visitErrorNode ( node ) ; } } } else { TerminalNode node = _ctx . addChild ( createTerminalNode ( _ctx , o ) ) ; if ( _parseListeners != null ) { for ( ParseTreeListener listener : _parseListeners ) { listener . visitTerminal ( node ) ; } } } } return o ; }
public virtual IToken Consume ( ) { IToken o = CurrentToken ; if ( o . Type != Eof ) { ( ( ITokenStream ) InputStream ) . Consume ( ) ; } bool hasListener = _parseListeners != null && _parseListeners . Count != 0 ; if ( _buildParseTrees || hasListener ) { if ( _errHandler . InErrorRecoveryMode ( this ) ) { IErrorNode node = _ctx . AddErrorNode ( o ) ; if ( _parseListeners != null ) { foreach ( IParseTreeListener listener in _parseListeners ) { listener . VisitErrorNode ( node ) ; } } } else { ITerminalNode node = _ctx . AddChild ( o ) ; if ( _parseListeners != null ) { foreach ( IParseTreeListener listener in _parseListeners ) { listener . VisitTerminal ( node ) ; } } } } return o ; }
public boolean seekExact ( BytesRef term ) { final int ord = findTerm ( term ) ; if ( ord >= 0 ) { termOrd = ord ; setTerm ( ) ; return true ; } else { return false ; } }
public override bool SeekExact ( BytesRef term ) { int ord = FindTerm ( term ) ; if ( ord >= 0 ) { termOrd = ord ; SetTerm ( ) ; return true ; } else { return false ; } }
public DescribeEgressOnlyInternetGatewaysResult describeEgressOnlyInternetGateways ( DescribeEgressOnlyInternetGatewaysRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeEgressOnlyInternetGateways ( request ) ; }
public virtual DescribeEgressOnlyInternetGatewaysResponse DescribeEgressOnlyInternetGateways ( DescribeEgressOnlyInternetGatewaysRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeEgressOnlyInternetGatewaysRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeEgressOnlyInternetGatewaysResponseUnmarshaller . Instance ; return Invoke < DescribeEgressOnlyInternetGatewaysResponse > ( request , options ) ; }
public Ref getLeaf ( ) { Ref dst = getTarget ( ) ; while ( dst . isSymbolic ( ) ) dst = dst . getTarget ( ) ; return dst ; }
public virtual Ref GetLeaf ( ) { Ref dst = GetTarget ( ) ; while ( dst . IsSymbolic ( ) ) { dst = dst . GetTarget ( ) ; } return dst ; }
public void ReInit ( QueryParserTokenManager tm ) { token_source = tm ; token = new Token ( ) ; jj_ntk = - 1 ; jj_gen = 0 ; for ( int i = 0 ; i < 10 ; i ++ ) jj_la1 [ i ] = - 1 ; for ( int i = 0 ; i < jj_2_rtns . length ; i ++ ) jj_2_rtns [ i ] = new JJCalls ( ) ; }
public virtual void ReInit ( QueryParserTokenManager tm ) { TokenSource = tm ; Token = new Token ( ) ; jj_ntk = - 1 ; jj_gen = 0 ; for ( int i = 0 ; i < 21 ; i ++ ) jj_la1 [ i ] = - 1 ; for ( int i = 0 ; i < jj_2_rtns . Length ; i ++ ) jj_2_rtns [ i ] = new JJCalls ( ) ; }
public ListStacksResult listStacks ( ) { return listStacks ( new ListStacksRequest ( ) ) ; }
public virtual ListStacksResponse ListStacks ( ) { return ListStacks ( new ListStacksRequest ( ) ) ; }
public PutInstancePublicPortsResult putInstancePublicPorts ( PutInstancePublicPortsRequest request ) { request = beforeClientExecution ( request ) ; return executePutInstancePublicPorts ( request ) ; }
public virtual PutInstancePublicPortsResponse PutInstancePublicPorts ( PutInstancePublicPortsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutInstancePublicPortsRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutInstancePublicPortsResponseUnmarshaller . Instance ; return Invoke < PutInstancePublicPortsResponse > ( request , options ) ; }
public GetConfigurationSetResult getConfigurationSet ( GetConfigurationSetRequest request ) { request = beforeClientExecution ( request ) ; return executeGetConfigurationSet ( request ) ; }
public virtual GetConfigurationSetResponse GetConfigurationSet ( GetConfigurationSetRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetConfigurationSetRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetConfigurationSetResponseUnmarshaller . Instance ; return Invoke < GetConfigurationSetResponse > ( request , options ) ; }
public static Element getFirstChildOrFail ( Element e ) throws ParserException { Element kid = getFirstChildElement ( e ) ; if ( null == kid ) { throw new ParserException ( e . getTagName ( ) + " does not contain a child element" ) ; } return kid ; }
public static XmlElement GetFirstChildOrFail ( XmlElement e ) { XmlElement kid = GetFirstChildElement ( e ) ; if ( null == kid ) { throw new ParserException ( e . ToString ( ) + " does not contain a child element" ) ; } return kid ; }
public String toString ( ) { return "Cell(readerIndex=" + readerIndex + " nodeID=" + index . getNodeID ( ) + " isLeaf=" + index . isLeafNode ( ) + " distanceSquared=" + distanceSquared + ")" ; }
public override string ToString ( ) { return "ref(" + @ ref + ")cmd(" + cmd + ")cnt(" + cnt + ")skp(" + skip + ")" ; }
public static long getBaseSize ( byte [ ] delta ) { int p = 0 ; long baseLen = 0 ; int c , shift = 0 ; do { c = delta [ p ++ ] & 0xff ; baseLen |= ( ( long ) ( c & 0x7f ) ) << shift ; shift += 7 ; } while ( ( c & 0x80 ) != 0 ) ; return baseLen ; }
public static long GetBaseSize ( byte [ ] delta ) { int p = 0 ; long baseLen = 0 ; int c ; int shift = 0 ; do { c = delta [ p ++ ] & unchecked ( ( int ) ( 0xff ) ) ; baseLen |= ( ( long ) ( c & unchecked ( ( int ) ( 0x7f ) ) ) ) << shift ; shift += 7 ; } while ( ( c & unchecked ( ( int ) ( 0x80 ) ) ) != 0 ) ; return baseLen ; }
public VerifyEmailIdentityResult verifyEmailIdentity ( VerifyEmailIdentityRequest request ) { request = beforeClientExecution ( request ) ; return executeVerifyEmailIdentity ( request ) ; }
public virtual VerifyEmailIdentityResponse VerifyEmailIdentity ( VerifyEmailIdentityRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = VerifyEmailIdentityRequestMarshaller . Instance ; options . ResponseUnmarshaller = VerifyEmailIdentityResponseUnmarshaller . Instance ; return Invoke < VerifyEmailIdentityResponse > ( request , options ) ; }
public CreateInvalidationResult createInvalidation ( CreateInvalidationRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateInvalidation ( request ) ; }
public virtual CreateInvalidationResponse CreateInvalidation ( CreateInvalidationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateInvalidationRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateInvalidationResponseUnmarshaller . Instance ; return Invoke < CreateInvalidationResponse > ( request , options ) ; }
public ListGroupsForUserRequest ( String userName ) { setUserName ( userName ) ; }
public ListGroupsForUserRequest ( string userName ) { _userName = userName ; }
public void serialize ( LittleEndianOutput out ) { out . writeInt ( field_1_stream_pos ) ; out . writeShort ( field_2_bucket_sst_offset ) ; out . writeShort ( field_3_zero ) ; }
public void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteInt ( field_1_stream_pos ) ; out1 . WriteShort ( field_2_bucket_sst_offset ) ; out1 . WriteShort ( field_3_zero ) ; }
public boolean equals ( Object o ) { if ( QueryValueSource . class != o . getClass ( ) ) return false ; QueryValueSource other = ( QueryValueSource ) o ; return this . q . equals ( other . q ) && this . defVal == other . defVal ; }
public override bool Equals ( object o ) { if ( typeof ( QueryValueSource ) != o . GetType ( ) ) { return false ; } var other = o as QueryValueSource ; if ( other == null ) return false ; return this . q . Equals ( other . q ) && this . defVal == other . defVal ; }
public boolean add ( E object ) { add ( size ( ) , object ) ; return true ; }
public void add ( E @ object ) { iterator . add ( @ object ) ; subList . sizeChanged ( true ) ; end ++ ; }
public synchronized SessionToken checkForUpdate ( String currentVersion ) { ensureOpen ( ) ; if ( currentRevision == null ) { return null ; } if ( currentVersion != null && currentRevision . revision . compareTo ( currentVersion ) <= 0 ) { return null ; } currentRevision . incRef ( ) ; final String sessionID = Integer . toString ( sessionToken . incrementAndGet ( ) ) ; final SessionToken sessionToken = new SessionToken ( sessionID , currentRevision . revision ) ; final ReplicationSession timedSessionToken = new ReplicationSession ( sessionToken , currentRevision ) ; sessions . put ( sessionID , timedSessionToken ) ; return sessionToken ; }
public virtual SessionToken CheckForUpdate ( string currentVersion ) { lock ( padlock ) { EnsureOpen ( ) ; if ( currentRevision == null ) return null ; if ( currentVersion != null && currentRevision . Revision . CompareTo ( currentVersion ) <= 0 ) return null ; currentRevision . IncRef ( ) ; string sessionID = sessionToken . IncrementAndGet ( ) . ToString ( ) ; SessionToken token = new SessionToken ( sessionID , currentRevision . Revision ) ; sessions [ sessionID ] = new ReplicationSession ( token , currentRevision ) ; return token ; } }
public void setCommitNames ( String [ ] commitNames ) { this . commitNames = commitNames ; }
public virtual void SetCommitNames ( string [ ] commitNames ) { this . commitNames = commitNames ; }
public FormulaRecordAggregate createFormula ( int row , int col ) { FormulaRecord fr = new FormulaRecord ( ) ; fr . setRow ( row ) ; fr . setColumn ( ( short ) col ) ; return new FormulaRecordAggregate ( fr , null , _sharedValueManager ) ; }
public FormulaRecordAggregate CreateFormula ( int row , int col ) { FormulaRecord fr = new FormulaRecord ( ) ; fr . Row = ( row ) ; fr . Column = ( ( short ) col ) ; return new FormulaRecordAggregate ( fr , null , _sharedValueManager ) ; }
public DetectSyntaxResult detectSyntax ( DetectSyntaxRequest request ) { request = beforeClientExecution ( request ) ; return executeDetectSyntax ( request ) ; }
public virtual DetectSyntaxResponse DetectSyntax ( DetectSyntaxRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DetectSyntaxRequestMarshaller . Instance ; options . ResponseUnmarshaller = DetectSyntaxResponseUnmarshaller . Instance ; return Invoke < DetectSyntaxResponse > ( request , options ) ; }
public ValueEval evaluate ( ValueEval [ ] args , OperationEvaluationContext ec ) { if ( args . length < 2 || args . length > 3 ) { return ErrorEval . VALUE_INVALID ; } int srcCellRow = ec . getRowIndex ( ) ; int srcCellCol = ec . getColumnIndex ( ) ; double start , end ; double [ ] holidays ; try { start = this . evaluator . evaluateDateArg ( args [ 0 ] , srcCellRow , srcCellCol ) ; end = this . evaluator . evaluateDateArg ( args [ 1 ] , srcCellRow , srcCellCol ) ; if ( start > end ) { return ErrorEval . NAME_INVALID ; } ValueEval holidaysCell = args . length == 3 ? args [ 2 ] : null ; holidays = this . evaluator . evaluateDatesArg ( holidaysCell , srcCellRow , srcCellCol ) ; return new NumberEval ( WorkdayCalculator . instance . calculateWorkdays ( start , end , holidays ) ) ; } catch ( EvaluationException e ) { return ErrorEval . VALUE_INVALID ; } }
public ValueEval Evaluate ( ValueEval [ ] args , OperationEvaluationContext ec ) { if ( args . Length < 2 || args . Length > 3 ) { return ErrorEval . VALUE_INVALID ; } int srcCellRow = ec . RowIndex ; int srcCellCol = ec . ColumnIndex ; double start , end ; double [ ] holidays ; try { start = this . evaluator . EvaluateDateArg ( args [ 0 ] , srcCellRow , srcCellCol ) ; end = this . evaluator . EvaluateDateArg ( args [ 1 ] , srcCellRow , srcCellCol ) ; if ( start > end ) { return ErrorEval . NAME_INVALID ; } ValueEval holidaysCell = args . Length == 3 ? args [ 2 ] : null ; holidays = this . evaluator . EvaluateDatesArg ( holidaysCell , srcCellRow , srcCellCol ) ; return new NumberEval ( WorkdayCalculator . instance . CalculateWorkdays ( start , end , holidays ) ) ; } catch ( EvaluationException ) { return ErrorEval . VALUE_INVALID ; } }
public HSSFDataValidationHelper ( HSSFSheet sheet ) { super ( ) ; }
public HSSFDataValidationHelper ( HSSFSheet sheet ) : base ( ) { this . sheet = sheet ; }
public SyncFacePicturesRequest ( ) { super ( "LinkFace" , "2018-07-20" , "SyncFacePictures" ) ; setProtocol ( ProtocolType . HTTPS ) ; setMethod ( MethodType . POST ) ; }
public SyncFacePicturesRequest ( ) : base ( "LinkFace" , "2018-07-20" , "SyncFacePictures" ) { Protocol = ProtocolType . HTTPS ; Method = MethodType . POST ; }
public static String shortToHex ( int value ) { StringBuilder sb = new StringBuilder ( 6 ) ; writeHex ( sb , value & 0xFFFFL , 4 , "0x" ) ; return sb . toString ( ) ; }
public static char [ ] ShortToHex ( int value ) { return ToHexChars ( value , 2 ) ; }
public String toString ( ) { switch ( state ) { case SET : return key ; case UNSET : return "-" + key ; case UNSPECIFIED : return "!" + key ; case CUSTOM : default : return key + "=" + value ; } }
public override string ToString ( ) { return "PackWriter.State[" + this . phase + ", memory=" + this . bytesUsed + "]" ; }
public void seek ( int index ) { lazyInit ( ) ; p = adjustSeekIndex ( index ) ; }
public virtual void Seek ( int index ) { LazyInit ( ) ; p = AdjustSeekIndex ( index ) ; }
public CreateTransitGatewayPeeringAttachmentResult createTransitGatewayPeeringAttachment ( CreateTransitGatewayPeeringAttachmentRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateTransitGatewayPeeringAttachment ( request ) ; }
public virtual CreateTransitGatewayPeeringAttachmentResponse CreateTransitGatewayPeeringAttachment ( CreateTransitGatewayPeeringAttachmentRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateTransitGatewayPeeringAttachmentRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateTransitGatewayPeeringAttachmentResponseUnmarshaller . Instance ; return Invoke < CreateTransitGatewayPeeringAttachmentResponse > ( request , options ) ; }
public static BytesRef deepCopyOf ( BytesRef other ) { return new BytesRef ( ArrayUtil . copyOfSubArray ( other . bytes , other . offset , other . offset + other . length ) , 0 , other . length ) ; }
public static BytesRef DeepCopyOf ( BytesRef other ) { BytesRef copy = new BytesRef ( ) ; copy . CopyBytes ( other ) ; return copy ; }
public TokenCollector ( int tokenCount ) { _ptgs = new Ptg [ tokenCount ] ; _offset = 0 ; }
public TokenCollector ( int tokenCount ) { _ptgs = new Ptg [ tokenCount ] ; _offset = 0 ; }
public static String [ ] tokenize ( String format ) { List < String > result = new ArrayList < > ( ) ; DateFormatTokenizer tokenizer = new DateFormatTokenizer ( format ) ; String token ; while ( ( token = tokenizer . getNextToken ( ) ) != null ) { result . add ( token ) ; } return result . toArray ( new String [ 0 ] ) ; }
public static string [ ] Tokenize ( string format ) { List < string > result = new List < string > ( ) ; DateFormatTokenizer tokenizer = new DateFormatTokenizer ( format ) ; string token ; while ( ( token = tokenizer . GetNextToken ( ) ) != null ) { result . Add ( token ) ; } return result . ToArray ( ) ; }
public DescribeNatGatewaysResult describeNatGateways ( DescribeNatGatewaysRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeNatGateways ( request ) ; }
public virtual DescribeNatGatewaysResponse DescribeNatGateways ( DescribeNatGatewaysRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeNatGatewaysRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeNatGatewaysResponseUnmarshaller . Instance ; return Invoke < DescribeNatGatewaysResponse > ( request , options ) ; }
public ResetImageAttributeResult resetImageAttribute ( ResetImageAttributeRequest request ) { request = beforeClientExecution ( request ) ; return executeResetImageAttribute ( request ) ; }
public virtual ResetImageAttributeResponse ResetImageAttribute ( ResetImageAttributeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ResetImageAttributeRequestMarshaller . Instance ; options . ResponseUnmarshaller = ResetImageAttributeResponseUnmarshaller . Instance ; return Invoke < ResetImageAttributeResponse > ( request , options ) ; }
public void setHorizontalBorder ( boolean value ) { field_1_options = horizontalBorder . setShortBoolean ( field_1_options , value ) ; }
public void SetHorizontalBorder ( bool value ) { field_1_options = horizontalBorder . SetShortBoolean ( field_1_options , value ) ; }
public ReplicationGroup modifyReplicationGroup ( ModifyReplicationGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyReplicationGroup ( request ) ; }
public virtual ModifyReplicationGroupResponse ModifyReplicationGroup ( ModifyReplicationGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyReplicationGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyReplicationGroupResponseUnmarshaller . Instance ; return Invoke < ModifyReplicationGroupResponse > ( request , options ) ; }
public boolean containsKey ( CharSequence cs ) { if ( cs == null ) throw new NullPointerException ( ) ; return false ; }
public override bool ContainsKey ( char [ ] text ) { if ( text == null ) { throw new ArgumentNullException ( "text" ) ; } return false ; }
public GetIntegrationsResult getIntegrations ( GetIntegrationsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetIntegrations ( request ) ; }
public virtual GetIntegrationsResponse GetIntegrations ( GetIntegrationsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetIntegrationsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetIntegrationsResponseUnmarshaller . Instance ; return Invoke < GetIntegrationsResponse > ( request , options ) ; }
public LabelRecord ( RecordInputStream in ) { field_1_row = in . readUShort ( ) ; field_2_column = in . readShort ( ) ; field_3_xf_index = in . readShort ( ) ; field_4_string_len = in . readShort ( ) ; field_5_unicode_flag = in . readByte ( ) ; if ( field_4_string_len > 0 ) { if ( isUnCompressedUnicode ( ) ) { field_6_value = in . readUnicodeLEString ( field_4_string_len ) ; } else { field_6_value = in . readCompressedUnicode ( field_4_string_len ) ; } } else { field_6_value = "" ; } if ( in . remaining ( ) > 0 ) { logger . log ( POILogger . INFO , "LabelRecord data remains: " + in . remaining ( ) + " : " + HexDump . toHex ( in . readRemainder ( ) ) ) ; } }
public LabelRecord ( RecordInputStream in1 ) { field_1_row = in1 . ReadUShort ( ) ; field_2_column = in1 . ReadUShort ( ) ; field_3_xf_index = in1 . ReadShort ( ) ; field_4_string_len = in1 . ReadShort ( ) ; field_5_unicode_flag = ( byte ) in1 . ReadByte ( ) ; if ( field_4_string_len > 0 ) { if ( IsUncompressedUnicode ) { field_6_value = in1 . ReadUnicodeLEString ( field_4_string_len ) ; } else { field_6_value = in1 . ReadCompressedUnicode ( field_4_string_len ) ; } } else { field_6_value = "" ; } if ( in1 . Remaining > 0 ) { logger . Log ( POILogger . INFO , "LabelRecord data remains: " + in1 . Remaining + " : " + HexDump . ToHex ( in1 . ReadRemainder ( ) ) ) ; } }
public SubmoduleAddCommand setProgressMonitor ( ProgressMonitor monitor ) { this . monitor = monitor ; return this ; }
public virtual NGit . Api . SubmoduleAddCommand SetProgressMonitor ( ProgressMonitor monitor ) { this . monitor = monitor ; return this ; }
public byte readByte ( ) { if ( currentBlockUpto == blockSize ) { nextBlock ( ) ; } return currentBlock [ currentBlockUpto ++ ] ; }
public override byte ReadByte ( ) { if ( currentBlockUpto == outerInstance . blockSize ) { NextBlock ( ) ; } return ( byte ) currentBlock [ currentBlockUpto ++ ] ; }
public TestAlarmResult testAlarm ( TestAlarmRequest request ) { request = beforeClientExecution ( request ) ; return executeTestAlarm ( request ) ; }
public virtual TestAlarmResponse TestAlarm ( TestAlarmRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = TestAlarmRequestMarshaller . Instance ; options . ResponseUnmarshaller = TestAlarmResponseUnmarshaller . Instance ; return Invoke < TestAlarmResponse > ( request , options ) ; }
public void clear ( ) { HashMap . this . clear ( ) ; }
public override void clear ( ) { this . _enclosing . clear ( ) ; }
public void visitContainedRecords ( RecordVisitor rv ) { int nRegions = _mergedRegions . size ( ) ; if ( nRegions < 1 ) { return ; } int nFullMergedCellsRecords = nRegions / MAX_MERGED_REGIONS ; int nLeftoverMergedRegions = nRegions % MAX_MERGED_REGIONS ; CellRangeAddress [ ] cras = new CellRangeAddress [ nRegions ] ; _mergedRegions . toArray ( cras ) ; for ( int i = 0 ; i < nFullMergedCellsRecords ; i ++ ) { int startIx = i * MAX_MERGED_REGIONS ; rv . visitRecord ( new MergeCellsRecord ( cras , startIx , MAX_MERGED_REGIONS ) ) ; } if ( nLeftoverMergedRegions > 0 ) { int startIx = nFullMergedCellsRecords * MAX_MERGED_REGIONS ; rv . visitRecord ( new MergeCellsRecord ( cras , startIx , nLeftoverMergedRegions ) ) ; } }
public override void VisitContainedRecords ( RecordVisitor rv ) { int nRegions = _mergedRegions . Count ; if ( nRegions < 1 ) { return ; } int nFullMergedCellsRecords = nRegions / MAX_MERGED_REGIONS ; int nLeftoverMergedRegions = nRegions % MAX_MERGED_REGIONS ; CellRangeAddress [ ] cras = ( CellRangeAddress [ ] ) _mergedRegions . ToArray ( ) ; for ( int i = 0 ; i < nFullMergedCellsRecords ; i ++ ) { int startIx = i * MAX_MERGED_REGIONS ; rv . VisitRecord ( new MergeCellsRecord ( cras , startIx , MAX_MERGED_REGIONS ) ) ; } if ( nLeftoverMergedRegions > 0 ) { int startIx = nFullMergedCellsRecords * MAX_MERGED_REGIONS ; rv . VisitRecord ( new MergeCellsRecord ( cras , startIx , nLeftoverMergedRegions ) ) ; } }
public CharArrayWriter ( ) { buf = new char [ 32 ] ; lock = buf ; }
public CharArrayWriter ( ) { buf = new char [ 32 ] ; @ lock = buf ; }
public SendEmailRequest ( String source , Destination destination , Message message ) { setSource ( source ) ; setDestination ( destination ) ; setMessage ( message ) ; }
public SendEmailRequest ( string source , Destination destination , Message message ) { _source = source ; _destination = destination ; _message = message ; }
public DescribeReservedNodesResult describeReservedNodes ( ) { return describeReservedNodes ( new DescribeReservedNodesRequest ( ) ) ; }
public virtual DescribeReservedNodesResponse DescribeReservedNodes ( ) { return DescribeReservedNodes ( new DescribeReservedNodesRequest ( ) ) ; }
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[PROTECT]\n" ) ; buffer . append ( " .options = " ) . append ( HexDump . shortToHex ( _options ) ) . append ( "\n" ) ; buffer . append ( "[/PROTECT]\n" ) ; return buffer . toString ( ) ; }
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[PROTECT]\n" ) ; buffer . Append ( " .options = " ) . Append ( HexDump . ShortToHex ( _options ) ) . Append ( "\n" ) ; buffer . Append ( "[/PROTECT]\n" ) ; return buffer . ToString ( ) ; }
public String getSignerType ( ) { return "PRIVATEKEY" ; }
public override string GetSignerType ( ) { return "PRIVATEKEY" ; }
public StopProjectVersionResult stopProjectVersion ( StopProjectVersionRequest request ) { request = beforeClientExecution ( request ) ; return executeStopProjectVersion ( request ) ; }
public virtual StopProjectVersionResponse StopProjectVersion ( StopProjectVersionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StopProjectVersionRequestMarshaller . Instance ; options . ResponseUnmarshaller = StopProjectVersionResponseUnmarshaller . Instance ; return Invoke < StopProjectVersionResponse > ( request , options ) ; }
public CacheCluster createCacheCluster ( CreateCacheClusterRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateCacheCluster ( request ) ; }
public virtual CreateCacheClusterResponse CreateCacheCluster ( CreateCacheClusterRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateCacheClusterRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateCacheClusterResponseUnmarshaller . Instance ; return Invoke < CreateCacheClusterResponse > ( request , options ) ; }
public boolean equals ( Object _other ) { if ( ( _other instanceof LabelAndValue ) == false ) { return false ; } LabelAndValue other = ( LabelAndValue ) _other ; return label . equals ( other . label ) && value . equals ( other . value ) ; }
public override bool Equals ( object other ) { if ( ( other is LabelAndValue ) == false ) { return false ; } LabelAndValue _other = ( LabelAndValue ) other ; return Label . Equals ( _other . Label , StringComparison . Ordinal ) && Value . Equals ( _other . Value ) ; }
public JobFlowInstancesDetail ( String masterInstanceType , String slaveInstanceType , Integer instanceCount ) { setMasterInstanceType ( masterInstanceType ) ; setSlaveInstanceType ( slaveInstanceType ) ; setInstanceCount ( instanceCount ) ; }
public JobFlowInstancesDetail ( string masterInstanceType , string slaveInstanceType , int instanceCount ) { _masterInstanceType = masterInstanceType ; _slaveInstanceType = slaveInstanceType ; _instanceCount = instanceCount ; }