question stringlengths 33 1.59k | target stringlengths 33 1.58k |
|---|---|
public DeleteAssessmentRunResult deleteAssessmentRun ( DeleteAssessmentRunRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteAssessmentRun ( request ) ; } | public virtual DeleteAssessmentRunResponse DeleteAssessmentRun ( DeleteAssessmentRunRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteAssessmentRunRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteAssessmentRunResponseUnmarshaller . Instance ; return Invoke < DeleteAssessmentRunResponse > ( request , options ) ; } |
public GetAppsResult getApps ( GetAppsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetApps ( request ) ; } | public virtual GetAppsResponse GetApps ( GetAppsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetAppsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetAppsResponseUnmarshaller . Instance ; return Invoke < GetAppsResponse > ( request , options ) ; } |
public String highlightTerm ( String originalText , TokenGroup tokenGroup ) { if ( tokenGroup . getTotalScore ( ) == 0 ) return originalText ; float score = tokenGroup . getTotalScore ( ) ; if ( score == 0 ) { return originalText ; } StringBuilder sb = new StringBuilder ( ) ; sb . append ( "<font " ) ; if ( highlightForeground ) { sb . append ( "color=\"" ) ; sb . append ( getForegroundColorString ( score ) ) ; sb . append ( "\" " ) ; } if ( highlightBackground ) { sb . append ( "bgcolor=\"" ) ; sb . append ( getBackgroundColorString ( score ) ) ; sb . append ( "\" " ) ; } sb . append ( ">" ) ; sb . append ( originalText ) ; sb . append ( "</font>" ) ; return sb . toString ( ) ; } | public virtual string HighlightTerm ( string originalText , TokenGroup tokenGroup ) { if ( tokenGroup . TotalScore == 0 ) return originalText ; float score = tokenGroup . TotalScore ; if ( score == 0 ) { return originalText ; } var sb = new StringBuilder ( ) ; sb . Append ( "<font " ) ; if ( m_highlightForeground ) { sb . Append ( "color=\"" ) ; sb . Append ( GetForegroundColorString ( score ) ) ; sb . Append ( "\" " ) ; } if ( m_highlightBackground ) { sb . Append ( "bgcolor=\"" ) ; sb . Append ( GetBackgroundColorString ( score ) ) ; sb . Append ( "\" " ) ; } sb . Append ( ">" ) ; sb . Append ( originalText ) ; sb . Append ( "</font>" ) ; return sb . ToString ( ) ; } |
public PendingTerm ( BytesRef term , BlockTermState state ) { super ( true ) ; this . termBytes = new byte [ term . length ] ; System . arraycopy ( term . bytes , term . offset , termBytes , 0 , term . length ) ; this . state = state ; } | public PendingTerm ( BytesRef term , BlockTermState state ) : base ( true ) { this . Term = term ; this . State = state ; } |
public IntBuffer asReadOnlyBuffer ( ) { IntToByteBufferAdapter buf = new IntToByteBufferAdapter ( byteBuffer . asReadOnlyBuffer ( ) ) ; buf . limit = limit ; buf . position = position ; buf . mark = mark ; buf . byteBuffer . order = byteBuffer . order ; return buf ; } | public override java . nio . IntBuffer asReadOnlyBuffer ( ) { java . nio . IntToByteBufferAdapter buf = new java . nio . IntToByteBufferAdapter ( byteBuffer . asReadOnlyBuffer ( ) ) ; buf . _limit = _limit ; buf . _position = _position ; buf . _mark = _mark ; buf . byteBuffer . _order = byteBuffer . _order ; return buf ; } |
public final void addParents ( RevCommit c , RevFlag queueControl ) { final RevCommit [ ] pList = c . parents ; if ( pList == null ) { return ; } for ( int i = 0 ; i < pList . length ; i ++ ) { if ( firstParent && i > 0 ) { break ; } add ( pList [ i ] , queueControl ) ; } } | public void AddParents ( RevCommit c , RevFlag queueControl ) { RevCommit [ ] pList = c . parents ; if ( pList == null ) { return ; } foreach ( RevCommit p in pList ) { Add ( p , queueControl ) ; } } |
public IndicNormalizationFilter ( TokenStream input ) { super ( input ) ; } | public IndicNormalizationFilter ( TokenStream input ) : base ( input ) { termAtt = AddAttribute < ICharTermAttribute > ( ) ; } |
public ListTasksResult listTasks ( ListTasksRequest request ) { request = beforeClientExecution ( request ) ; return executeListTasks ( request ) ; } | public virtual ListTasksResponse ListTasks ( ListTasksRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListTasksRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListTasksResponseUnmarshaller . Instance ; return Invoke < ListTasksResponse > ( request , options ) ; } |
public ListTemplateAliasesResult listTemplateAliases ( ListTemplateAliasesRequest request ) { request = beforeClientExecution ( request ) ; return executeListTemplateAliases ( request ) ; } | public virtual ListTemplateAliasesResponse ListTemplateAliases ( ListTemplateAliasesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListTemplateAliasesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListTemplateAliasesResponseUnmarshaller . Instance ; return Invoke < ListTemplateAliasesResponse > ( request , options ) ; } |
public DescribeEventCategoriesResult describeEventCategories ( ) { return describeEventCategories ( new DescribeEventCategoriesRequest ( ) ) ; } | public virtual DescribeEventCategoriesResponse DescribeEventCategories ( ) { return DescribeEventCategories ( new DescribeEventCategoriesRequest ( ) ) ; } |
public static File createTempFile ( String prefix , String suffix ) throws IOException { return createTempFile ( prefix , suffix , null ) ; } | public static java . io . File createTempFile ( string prefix , string suffix ) { throw new System . NotImplementedException ( ) ; } |
public LabelAndValue ( String label , Number value ) { this . label = label ; this . value = value ; } | public LabelAndValue ( string label , float value ) { this . Label = label ; this . Value = value ; this . TypeOfValue = typeof ( float ) ; } |
public String getReading ( int wordId , char surface [ ] , int off , int len ) { return getFeature ( wordId , 0 ) ; } | public string GetReading ( int wordId , char [ ] surface , int off , int len ) { return GetFeature ( wordId , 0 ) ; } |
public CodepointCountFilter create ( TokenStream input ) { return new CodepointCountFilter ( input , min , max ) ; } | public override TokenStream Create ( TokenStream input ) { return new CodepointCountFilter ( m_luceneMatchVersion , input , min , max ) ; } |
public String toString ( ) { StringBuilder res = new StringBuilder ( task . getName ( ) ) ; res . append ( " " ) ; res . append ( count ) ; res . append ( " " ) ; res . append ( elapsed ) ; return res . toString ( ) ; } | public override string ToString ( ) { StringBuilder res = new StringBuilder ( task . GetName ( ) ) ; res . Append ( " " ) ; res . Append ( count ) ; res . Append ( " " ) ; res . Append ( elapsed ) ; return res . ToString ( ) ; } |
public void build ( InputIterator iterator ) throws IOException { if ( iterator . hasPayloads ( ) ) { throw new IllegalArgumentException ( "this suggester doesn't support payloads" ) ; } if ( iterator . hasContexts ( ) ) { throw new IllegalArgumentException ( "this suggester doesn't support contexts" ) ; } root = new TernaryTreeNode ( ) ; iterator = new SortedInputIterator ( tempDir , tempFileNamePrefix , iterator , utf8SortedAsUTF16SortOrder ) ; count = 0 ; ArrayList < String > tokens = new ArrayList < > ( ) ; ArrayList < Number > vals = new ArrayList < > ( ) ; BytesRef spare ; CharsRefBuilder charsSpare = new CharsRefBuilder ( ) ; while ( ( spare = iterator . next ( ) ) != null ) { charsSpare . copyUTF8Bytes ( spare ) ; tokens . add ( charsSpare . toString ( ) ) ; vals . add ( Long . valueOf ( iterator . weight ( ) ) ) ; count ++ ; } autocomplete . balancedTree ( tokens . toArray ( ) , vals . toArray ( ) , 0 , tokens . size ( ) - 1 , root ) ; } | public override void Build ( IInputIterator tfit ) { if ( tfit . HasPayloads ) { throw new System . ArgumentException ( "this suggester doesn't support payloads" ) ; } if ( tfit . HasContexts ) { throw new System . ArgumentException ( "this suggester doesn't support contexts" ) ; } root = new TernaryTreeNode ( ) ; if ( tfit . Comparer != BytesRef . UTF8SortedAsUTF16Comparer ) { tfit = new SortedInputIterator ( tfit , BytesRef . UTF8SortedAsUTF16Comparer ) ; } List < string > tokens = new List < string > ( ) ; List < object > vals = new List < object > ( ) ; BytesRef spare ; CharsRef charsSpare = new CharsRef ( ) ; while ( ( spare = tfit . Next ( ) ) != null ) { charsSpare . Grow ( spare . Length ) ; UnicodeUtil . UTF8toUTF16 ( spare . Bytes , spare . Offset , spare . Length , charsSpare ) ; tokens . Add ( charsSpare . ToString ( ) ) ; vals . Add ( tfit . Weight ) ; } autocomplete . BalancedTree ( tokens . ToArray ( ) , vals . ToArray ( ) , 0 , tokens . Count - 1 , root ) ; } |
public void setAllowThin ( boolean allow ) { allowThin = allow ; } | public virtual void SetAllowThin ( bool allow ) { allowThin = allow ; } |
public PhRun ( int phoneticTextFirstCharacterOffset , int realTextFirstCharacterOffset , int realTextLength ) { this . phoneticTextFirstCharacterOffset = phoneticTextFirstCharacterOffset ; this . realTextFirstCharacterOffset = realTextFirstCharacterOffset ; this . realTextLength = realTextLength ; } | public PhRun ( int phoneticTextFirstCharacterOffset , int realTextFirstCharacterOffset , int realTextLength ) { this . phoneticTextFirstCharacterOffset = phoneticTextFirstCharacterOffset ; this . realTextFirstCharacterOffset = realTextFirstCharacterOffset ; this . realTextLength = realTextLength ; } |
public void append ( String name , RevBlob blob ) { append ( name , REGULAR_FILE , blob ) ; } | public virtual void Append ( string name , RevBlob blob ) { Append ( name , FileMode . REGULAR_FILE , blob ) ; } |
public CreateHostedZoneResult createHostedZone ( CreateHostedZoneRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateHostedZone ( request ) ; } | public virtual CreateHostedZoneResponse CreateHostedZone ( CreateHostedZoneRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateHostedZoneRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateHostedZoneResponseUnmarshaller . Instance ; return Invoke < CreateHostedZoneResponse > ( request , options ) ; } |
public ListFacetAttributesResult listFacetAttributes ( ListFacetAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executeListFacetAttributes ( request ) ; } | public virtual ListFacetAttributesResponse ListFacetAttributes ( ListFacetAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListFacetAttributesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListFacetAttributesResponseUnmarshaller . Instance ; return Invoke < ListFacetAttributesResponse > ( request , options ) ; } |
public GetTrafficPolicyInstanceCountResult getTrafficPolicyInstanceCount ( GetTrafficPolicyInstanceCountRequest request ) { request = beforeClientExecution ( request ) ; return executeGetTrafficPolicyInstanceCount ( request ) ; } | public virtual GetTrafficPolicyInstanceCountResponse GetTrafficPolicyInstanceCount ( GetTrafficPolicyInstanceCountRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetTrafficPolicyInstanceCountRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetTrafficPolicyInstanceCountResponseUnmarshaller . Instance ; return Invoke < GetTrafficPolicyInstanceCountResponse > ( request , options ) ; } |
public ModifyTrafficMirrorSessionResult modifyTrafficMirrorSession ( ModifyTrafficMirrorSessionRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyTrafficMirrorSession ( request ) ; } | public virtual ModifyTrafficMirrorSessionResponse ModifyTrafficMirrorSession ( ModifyTrafficMirrorSessionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyTrafficMirrorSessionRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyTrafficMirrorSessionResponseUnmarshaller . Instance ; return Invoke < ModifyTrafficMirrorSessionResponse > ( request , options ) ; } |
public DefaultClusterParameters describeDefaultClusterParameters ( DescribeDefaultClusterParametersRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeDefaultClusterParameters ( request ) ; } | public virtual DescribeDefaultClusterParametersResponse DescribeDefaultClusterParameters ( DescribeDefaultClusterParametersRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeDefaultClusterParametersRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeDefaultClusterParametersResponseUnmarshaller . Instance ; return Invoke < DescribeDefaultClusterParametersResponse > ( request , options ) ; } |
public ConsoleWriter ( OutputStream out ) { super ( out , true ) ; lock = CONSOLE_LOCK ; } | public ConsoleWriter ( java . io . OutputStream @ out ) : base ( @ out , true ) { @ lock = CONSOLE_LOCK ; } |
public MutableValue duplicate ( ) { MutableValueBool v = new MutableValueBool ( ) ; v . value = this . value ; v . exists = this . exists ; return v ; } | public override MutableValue Duplicate ( ) { MutableValueBool v = new MutableValueBool ( ) ; v . Value = this . Value ; v . Exists = this . Exists ; return v ; } |
public PatternTokenizerFactory ( Map < String , String > args ) { super ( args ) ; pattern = getPattern ( args , PATTERN ) ; group = getInt ( args , GROUP , - 1 ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } } | public PatternTokenizerFactory ( IDictionary < string , string > args ) : base ( args ) { m_pattern = GetPattern ( args , PATTERN ) ; m_group = GetInt32 ( args , GROUP , - 1 ) ; if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } } |
public int addConditionalFormatting ( CellRangeAddress [ ] regions , ConditionalFormattingRule rule1 , ConditionalFormattingRule rule2 ) { return addConditionalFormatting ( regions , ( HSSFConditionalFormattingRule ) rule1 , ( HSSFConditionalFormattingRule ) rule2 ) ; } | public int AddConditionalFormatting ( CellRangeAddress [ ] regions , IConditionalFormattingRule rule1 , IConditionalFormattingRule rule2 ) { return AddConditionalFormatting ( regions , new HSSFConditionalFormattingRule [ ] { ( HSSFConditionalFormattingRule ) rule1 , ( HSSFConditionalFormattingRule ) rule2 } ) ; } |
public Credential ( String keyId , String secret , String securityToken ) { this . accessKeyId = keyId ; this . accessSecret = secret ; this . securityToken = securityToken ; this . refreshDate = new Date ( ) ; } | public Credential ( string keyId , string secret , string securityToken ) { AccessKeyId = keyId ; AccessSecret = secret ; SecurityToken = securityToken ; RefreshDate = new DateTime ( ) ; } |
public void reset ( int point ) { this . point = point ; ends . next = 0 ; starts . next = 0 ; } | public void Reset ( int point ) { this . point = point ; ends . count = 0 ; starts . count = 0 ; } |
public BottomMarginRecord ( RecordInputStream in ) { field_1_margin = in . readDouble ( ) ; } | public BottomMarginRecord ( RecordInputStream in1 ) { field_1_margin = in1 . ReadDouble ( ) ; } |
public final void removeFields ( String name ) { Iterator < IndexableField > it = fields . iterator ( ) ; while ( it . hasNext ( ) ) { IndexableField field = it . next ( ) ; if ( field . name ( ) . equals ( name ) ) { it . remove ( ) ; } } } | public void RemoveFields ( string name ) { for ( int i = fields . Count - 1 ; i >= 0 ; i -- ) { IIndexableField field = fields [ i ] ; if ( field . Name . Equals ( name , StringComparison . Ordinal ) ) { fields . Remove ( field ) ; } } } |
public Token LT ( int k ) { lazyInit ( ) ; if ( k == 0 ) return null ; if ( k < 0 ) return LB ( - k ) ; int i = p ; int n = 1 ; while ( n < k ) { if ( sync ( i + 1 ) ) { i = nextTokenOnChannel ( i + 1 , channel ) ; } n ++ ; } return tokens . get ( i ) ; } | public override IToken LT ( int k ) { LazyInit ( ) ; if ( k == 0 ) { return null ; } if ( k < 0 ) { return Lb ( - k ) ; } int i = p ; int n = 1 ; while ( n < k ) { if ( Sync ( i + 1 ) ) { i = NextTokenOnChannel ( i + 1 , channel ) ; } n ++ ; } return tokens [ i ] ; } |
public FloatBuffer put ( float c ) { if ( position == limit ) { throw new BufferOverflowException ( ) ; } byteBuffer . putFloat ( position ++ * SizeOf . FLOAT , c ) ; return this ; } | public override java . nio . FloatBuffer put ( float c ) { if ( _position == _limit ) { throw new java . nio . BufferOverflowException ( ) ; } byteBuffer . putFloat ( _position ++ * libcore . io . SizeOf . FLOAT , c ) ; return this ; } |
public ExternalNameEval ( EvaluationName name ) { _name = name ; } | public ExternalNameEval ( IEvaluationName name ) { _name = name ; } |
public GetLoadBalancerMetricDataResult getLoadBalancerMetricData ( GetLoadBalancerMetricDataRequest request ) { request = beforeClientExecution ( request ) ; return executeGetLoadBalancerMetricData ( request ) ; } | public virtual GetLoadBalancerMetricDataResponse GetLoadBalancerMetricData ( GetLoadBalancerMetricDataRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetLoadBalancerMetricDataRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetLoadBalancerMetricDataResponseUnmarshaller . Instance ; return Invoke < GetLoadBalancerMetricDataResponse > ( request , options ) ; } |
public String getResultPath ( ) { return resultPath . getPath ( ) ; } | public virtual string GetResultPath ( ) { return resultPath . GetPath ( ) ; } |
public RefWriter ( RefList < Ref > refs ) { this . refs = refs . asList ( ) ; } | public RefWriter ( ICollection < Ref > refs ) { this . refs = RefComparator . Sort ( refs ) ; } |
public HSSFWorkbook getStubHSSFWorkbook ( ) { HSSFWorkbook wb = HSSFWorkbook . create ( getStubWorkbook ( ) ) ; for ( BoundSheetRecord bsr : boundSheetRecords ) { wb . createSheet ( bsr . getSheetname ( ) ) ; } return wb ; } | public HSSFWorkbook GetStubHSSFWorkbook ( ) { HSSFWorkbook wb = HSSFWorkbook . Create ( GetStubWorkbook ( ) ) ; foreach ( BoundSheetRecord bsr in boundSheetRecords ) { wb . CreateSheet ( bsr . Sheetname ) ; } return wb ; } |
public static SupBookRecord createExternalReferences ( String url , String [ ] sheetNames ) { return new SupBookRecord ( url , sheetNames ) ; } | public static SupBookRecord CreateExternalReferences ( String url , String [ ] sheetNames ) { return new SupBookRecord ( url , sheetNames ) ; } |
public int getLevelForDistance ( double dist ) { if ( dist == 0 ) return maxLevels ; final int level = GeohashUtils . lookupHashLenForWidthHeight ( dist , dist ) ; return Math . max ( Math . min ( level , maxLevels ) , 1 ) ; } | public override int GetLevelForDistance ( double dist ) { if ( dist == 0 ) { return m_maxLevels ; } for ( int i = 0 ; i < m_maxLevels - 1 ; i ++ ) { if ( dist > levelW [ i ] && dist > levelH [ i ] ) { return i + 1 ; } } return m_maxLevels ; } |
public MissingCellDummyRecord ( int row , int column ) { this . row = row ; this . column = column ; } | public MissingCellDummyRecord ( int row , int column ) { this . row = row ; this . column = column ; } |
public static TokenizerFactory forName ( String name , Map < String , String > args ) { return loader . newInstance ( name , args ) ; } | public static TokenizerFactory ForName ( string name , IDictionary < string , string > args ) { return loader . NewInstance ( name , args ) ; } |
public final ByteBuffer encode ( CharBuffer in ) throws CharacterCodingException { if ( in . remaining ( ) == 0 ) { return ByteBuffer . allocate ( 0 ) ; } reset ( ) ; int length = ( int ) ( in . remaining ( ) * averageBytesPerChar ) ; ByteBuffer output = ByteBuffer . allocate ( length ) ; CoderResult result = null ; while ( true ) { result = encode ( in , output , false ) ; if ( result == CoderResult . UNDERFLOW ) { break ; } else if ( result == CoderResult . OVERFLOW ) { output = allocateMore ( output ) ; continue ; } checkCoderResult ( result ) ; } result = encode ( in , output , true ) ; checkCoderResult ( result ) ; while ( true ) { result = flush ( output ) ; if ( result == CoderResult . UNDERFLOW ) { output . flip ( ) ; break ; } else if ( result == CoderResult . OVERFLOW ) { output = allocateMore ( output ) ; continue ; } checkCoderResult ( result ) ; output . flip ( ) ; if ( result . isMalformed ( ) ) { throw new MalformedInputException ( result . length ( ) ) ; } else if ( result . isUnmappable ( ) ) { throw new UnmappableCharacterException ( result . length ( ) ) ; } break ; } status = READY ; finished = true ; return output ; } | public java . nio . ByteBuffer encode ( java . nio . CharBuffer @ in ) { if ( @ in . remaining ( ) == 0 ) { return java . nio . ByteBuffer . allocate ( 0 ) ; } reset ( ) ; int length = ( int ) ( @ in . remaining ( ) * _averageBytesPerChar ) ; java . nio . ByteBuffer output = java . nio . ByteBuffer . allocate ( length ) ; java . nio . charset . CoderResult result = null ; while ( true ) { result = encode ( @ in , output , false ) ; if ( result == java . nio . charset . CoderResult . UNDERFLOW ) { break ; } else { if ( result == java . nio . charset . CoderResult . OVERFLOW ) { output = allocateMore ( output ) ; continue ; } } checkCoderResult ( result ) ; } result = encode ( @ in , output , true ) ; checkCoderResult ( result ) ; while ( true ) { result = flush ( output ) ; if ( result == java . nio . charset . CoderResult . UNDERFLOW ) { output . flip ( ) ; break ; } else { if ( result == java . nio . charset . CoderResult . OVERFLOW ) { output = allocateMore ( output ) ; continue ; } } checkCoderResult ( result ) ; output . flip ( ) ; if ( result . isMalformed ( ) ) { throw new java . nio . charset . MalformedInputException ( result . length ( ) ) ; } else { if ( result . isUnmappable ( ) ) { throw new java . nio . charset . UnmappableCharacterException ( result . length ( ) ) ; } } break ; } status = READY ; finished = true ; return output ; } |
public TextProgressMonitor ( Writer out ) { this . out = out ; this . write = true ; } | public TextProgressMonitor ( TextWriter @ out ) { this . @ out = @ out ; this . write = true ; } |
public double get ( String name , double dflt ) { double vals [ ] = ( double [ ] ) valByRound . get ( name ) ; if ( vals != null ) { return vals [ roundNumber % vals . length ] ; } String sval = props . getProperty ( name , "" + dflt ) ; if ( sval . indexOf ( ":" ) < 0 ) { return Double . parseDouble ( sval ) ; } int k = sval . indexOf ( ":" ) ; String colName = sval . substring ( 0 , k ) ; sval = sval . substring ( k + 1 ) ; colForValByRound . put ( name , colName ) ; vals = propToDoubleArray ( sval ) ; valByRound . put ( name , vals ) ; return vals [ roundNumber % vals . length ] ; } | public virtual string Get ( string name , string dflt ) { string [ ] vals ; object temp ; if ( valByRound . TryGetValue ( name , out temp ) && temp != null ) { vals = ( string [ ] ) temp ; return vals [ roundNumber % vals . Length ] ; } string sval ; if ( ! props . TryGetValue ( name , out sval ) ) { sval = dflt ; } if ( sval == null ) { return null ; } if ( sval . IndexOf ( ':' ) < 0 ) { return sval ; } else if ( sval . IndexOf ( ":\\" , StringComparison . Ordinal ) >= 0 || sval . IndexOf ( ":/" , StringComparison . Ordinal ) >= 0 ) { return sval ; } int k = sval . IndexOf ( ':' ) ; string colName = sval . Substring ( 0 , k - 0 ) ; sval = sval . Substring ( k + 1 ) ; colForValByRound [ name ] = colName ; vals = PropToStringArray ( sval ) ; valByRound [ name ] = vals ; return vals [ roundNumber % vals . Length ] ; } |
public LooseRef peel ( ObjectIdRef newLeaf ) { ObjectId peeledObjectId = newLeaf . getPeeledObjectId ( ) ; ObjectId objectId = getObjectId ( ) ; if ( peeledObjectId != null ) { return new LoosePeeledTag ( snapShot , getName ( ) , objectId , peeledObjectId ) ; } return new LooseNonTag ( snapShot , getName ( ) , objectId ) ; } | public RefDirectory . LooseRef Peel ( ObjectIdRef newLeaf ) { if ( newLeaf . GetPeeledObjectId ( ) != null ) { return new RefDirectory . LoosePeeledTag ( snapShot , GetName ( ) , GetObjectId ( ) , newLeaf . GetPeeledObjectId ( ) ) ; } else { return new RefDirectory . LooseNonTag ( snapShot , GetName ( ) , GetObjectId ( ) ) ; } } |
public List < Ref > call ( ) throws GitAPIException { checkCallable ( ) ; List < Ref > resultRefs ; try { Collection < Ref > refs = new ArrayList < > ( ) ; Ref head = repo . exactRef ( HEAD ) ; if ( head != null && head . getLeaf ( ) . getName ( ) . equals ( HEAD ) ) { refs . add ( head ) ; } if ( listMode == null ) { refs . addAll ( repo . getRefDatabase ( ) . getRefsByPrefix ( R_HEADS ) ) ; } else if ( listMode == ListMode . REMOTE ) { refs . addAll ( repo . getRefDatabase ( ) . getRefsByPrefix ( R_REMOTES ) ) ; } else { refs . addAll ( repo . getRefDatabase ( ) . getRefsByPrefix ( R_HEADS , R_REMOTES ) ) ; } resultRefs = new ArrayList < > ( filterRefs ( refs ) ) ; } catch ( IOException e ) { throw new JGitInternalException ( e . getMessage ( ) , e ) ; } Collections . sort ( resultRefs , ( Ref o1 , Ref o2 ) -> o1 . getName ( ) . compareTo ( o2 . getName ( ) ) ) ; setCallable ( false ) ; return resultRefs ; } | public override IList < Ref > Call ( ) { CheckCallable ( ) ; IDictionary < string , Ref > refList ; try { if ( listMode == ListMode . HEAD ) { refList = repo . RefDatabase . GetRefs ( Constants . R_HEADS ) ; } else { if ( listMode == ListBranchCommand . ListMode . REMOTE ) { refList = repo . RefDatabase . GetRefs ( Constants . R_REMOTES ) ; } else { refList = new Dictionary < string , Ref > ( repo . RefDatabase . GetRefs ( Constants . R_HEADS ) ) ; refList . PutAll ( repo . RefDatabase . GetRefs ( Constants . R_REMOTES ) ) ; } } } catch ( IOException e ) { throw new JGitInternalException ( e . Message , e ) ; } IList < Ref > resultRefs = new AList < Ref > ( ) ; Sharpen . Collections . AddAll ( resultRefs , refList . Values ) ; resultRefs . Sort ( new _IComparer_111 ( ) ) ; SetCallable ( false ) ; return resultRefs ; } |
public void writeLong ( long v ) { writeContinueIfRequired ( 8 ) ; _ulrOutput . writeLong ( v ) ; } | public void WriteLong ( long v ) { WriteContinueIfRequired ( 8 ) ; _ulrOutput . WriteLong ( v ) ; } |
public UpdateSmsTemplateResult updateSmsTemplate ( UpdateSmsTemplateRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateSmsTemplate ( request ) ; } | public virtual UpdateSmsTemplateResponse UpdateSmsTemplate ( UpdateSmsTemplateRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateSmsTemplateRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateSmsTemplateResponseUnmarshaller . Instance ; return Invoke < UpdateSmsTemplateResponse > ( request , options ) ; } |
public DeletePlacementGroupResult deletePlacementGroup ( DeletePlacementGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeDeletePlacementGroup ( request ) ; } | public virtual DeletePlacementGroupResponse DeletePlacementGroup ( DeletePlacementGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeletePlacementGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeletePlacementGroupResponseUnmarshaller . Instance ; return Invoke < DeletePlacementGroupResponse > ( request , options ) ; } |
public StartApplicationResult startApplication ( StartApplicationRequest request ) { request = beforeClientExecution ( request ) ; return executeStartApplication ( request ) ; } | public virtual StartApplicationResponse StartApplication ( StartApplicationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartApplicationRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartApplicationResponseUnmarshaller . Instance ; return Invoke < StartApplicationResponse > ( request , options ) ; } |
public void mark ( int readlimit ) throws IOException { synchronized ( lock ) { super . mark ( readlimit ) ; markedLineNumber = lineNumber ; markedLastWasCR = lastWasCR ; } } | public override void mark ( int readlimit ) { throw new System . NotImplementedException ( ) ; } |
public int getPort ( ) { return port ; } | public virtual int GetPort ( ) { return port ; } |
public int get ( ) { if ( position == limit ) { throw new BufferUnderflowException ( ) ; } return byteBuffer . getInt ( position ++ * SizeOf . INT ) ; } | public override int get ( ) { if ( _position == _limit ) { throw new java . nio . BufferUnderflowException ( ) ; } return byteBuffer . getInt ( _position ++ * libcore . io . SizeOf . INT ) ; } |
public Entry < K , V > pollLastEntry ( ) { Node < K , V > result = endpoint ( false ) ; if ( result != null ) { removeInternal ( result ) ; } return immutableCopy ( result ) ; } | public java . util . MapClass . Entry < K , V > pollLastEntry ( ) { java . util . TreeMap . Node < K , V > result = this . endpoint ( false ) ; if ( result != null ) { this . _enclosing . removeInternal ( result ) ; } return this . _enclosing . immutableCopy ( result ) ; } |
public RebootRelationalDatabaseResult rebootRelationalDatabase ( RebootRelationalDatabaseRequest request ) { request = beforeClientExecution ( request ) ; return executeRebootRelationalDatabase ( request ) ; } | public virtual RebootRelationalDatabaseResponse RebootRelationalDatabase ( RebootRelationalDatabaseRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RebootRelationalDatabaseRequestMarshaller . Instance ; options . ResponseUnmarshaller = RebootRelationalDatabaseResponseUnmarshaller . Instance ; return Invoke < RebootRelationalDatabaseResponse > ( request , options ) ; } |
public String toString ( ) { return getClass ( ) . getName ( ) + " [" + asFormulaString ( ) + "]" ; } | public override String ToString ( ) { StringBuilder sb = new StringBuilder ( 64 ) ; sb . Append ( this . GetType ( ) . Name ) ; sb . Append ( " [" ) ; AsFormulaString ( sb ) ; sb . Append ( "]" ) ; return sb . ToString ( ) ; } |
public BulkPublishResult bulkPublish ( BulkPublishRequest request ) { request = beforeClientExecution ( request ) ; return executeBulkPublish ( request ) ; } | public virtual BulkPublishResponse BulkPublish ( BulkPublishRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = BulkPublishRequestMarshaller . Instance ; options . ResponseUnmarshaller = BulkPublishResponseUnmarshaller . Instance ; return Invoke < BulkPublishResponse > ( request , options ) ; } |
public static String getNewRoleSessionName ( ) { return "aliyun-java-sdk-" + System . currentTimeMillis ( ) ; } | public static string GetNewRoleSessionName ( ) { return "aliyun-net-sdk-" + DateTime . UtcNow . currentTimeMillis ( ) ; } |
public CompleteLifecycleActionResult completeLifecycleAction ( CompleteLifecycleActionRequest request ) { request = beforeClientExecution ( request ) ; return executeCompleteLifecycleAction ( request ) ; } | public virtual CompleteLifecycleActionResponse CompleteLifecycleAction ( CompleteLifecycleActionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CompleteLifecycleActionRequestMarshaller . Instance ; options . ResponseUnmarshaller = CompleteLifecycleActionResponseUnmarshaller . Instance ; return Invoke < CompleteLifecycleActionResponse > ( request , options ) ; } |
public ParseException generateParseException ( ) { jj_expentries . clear ( ) ; boolean [ ] la1tokens = new boolean [ 34 ] ; if ( jj_kind >= 0 ) { la1tokens [ jj_kind ] = true ; jj_kind = - 1 ; } for ( int i = 0 ; i < 25 ; i ++ ) { if ( jj_la1 [ i ] == jj_gen ) { for ( int j = 0 ; j < 32 ; j ++ ) { if ( ( jj_la1_0 [ i ] & ( 1 << j ) ) != 0 ) { la1tokens [ j ] = true ; } if ( ( jj_la1_1 [ i ] & ( 1 << j ) ) != 0 ) { la1tokens [ 32 + j ] = true ; } } } } for ( int i = 0 ; i < 34 ; i ++ ) { if ( la1tokens [ i ] ) { jj_expentry = new int [ 1 ] ; jj_expentry [ 0 ] = i ; jj_expentries . add ( jj_expentry ) ; } } jj_endpos = 0 ; jj_rescan_token ( ) ; jj_add_error_token ( 0 , 0 ) ; int [ ] [ ] exptokseq = new int [ jj_expentries . size ( ) ] [ ] ; for ( int i = 0 ; i < jj_expentries . size ( ) ; i ++ ) { exptokseq [ i ] = jj_expentries . get ( i ) ; } return new ParseException ( token , exptokseq , tokenImage ) ; } | public virtual ParseException GenerateParseException ( ) { jj_expentries . Clear ( ) ; bool [ ] la1tokens = new bool [ 34 ] ; if ( jj_kind >= 0 ) { la1tokens [ jj_kind ] = true ; jj_kind = - 1 ; } for ( int i = 0 ; i < 28 ; i ++ ) { if ( jj_la1 [ i ] == jj_gen ) { for ( int j = 0 ; j < 32 ; j ++ ) { if ( ( jj_la1_0 [ i ] & ( 1 << j ) ) != 0 ) { la1tokens [ j ] = true ; } if ( ( jj_la1_1 [ i ] & ( 1 << j ) ) != 0 ) { la1tokens [ 32 + j ] = true ; } } } } for ( int i = 0 ; i < 34 ; i ++ ) { if ( la1tokens [ i ] ) { jj_expentry = new int [ 1 ] ; jj_expentry [ 0 ] = i ; jj_expentries . Add ( jj_expentry ) ; } } jj_endpos = 0 ; Jj_rescan_token ( ) ; Jj_add_error_token ( 0 , 0 ) ; int [ ] [ ] exptokseq = new int [ jj_expentries . Count ] [ ] ; for ( int i = 0 ; i < jj_expentries . Count ; i ++ ) { exptokseq [ i ] = jj_expentries [ i ] ; } return new ParseException ( Token , exptokseq , StandardSyntaxParserConstants . TokenImage ) ; } |
public final ObjectToPack getDeltaBase ( ) { if ( deltaBase instanceof ObjectToPack ) return ( ObjectToPack ) deltaBase ; return null ; } | public virtual NGit . Storage . Pack . ObjectToPack GetDeltaBase ( ) { if ( deltaBase is NGit . Storage . Pack . ObjectToPack ) { return ( NGit . Storage . Pack . ObjectToPack ) deltaBase ; } return null ; } |
public GetQueryExecutionResult getQueryExecution ( GetQueryExecutionRequest request ) { request = beforeClientExecution ( request ) ; return executeGetQueryExecution ( request ) ; } | public virtual GetQueryExecutionResponse GetQueryExecution ( GetQueryExecutionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetQueryExecutionRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetQueryExecutionResponseUnmarshaller . Instance ; return Invoke < GetQueryExecutionResponse > ( request , options ) ; } |
public int getFontIndex ( FontRecord font ) { for ( int i = 0 ; i <= numfonts ; i ++ ) { FontRecord thisFont = ( FontRecord ) records . get ( ( records . getFontpos ( ) - ( numfonts - 1 ) ) + i ) ; if ( thisFont == font ) { return ( i > 3 ) ? i + 1 : i ; } } throw new IllegalArgumentException ( "Could not find that font!" ) ; } | public int GetFontIndex ( FontRecord font ) { for ( int i = 0 ; i <= numfonts ; i ++ ) { FontRecord thisFont = ( FontRecord ) records [ ( records . Fontpos - ( numfonts - 1 ) ) + i ] ; if ( thisFont == font ) { if ( i > 3 ) { return ( i + 1 ) ; } return i ; } } throw new ArgumentException ( "Could not find that font!" ) ; } |
public FieldInfo add ( FieldInfo fi ) { return add ( fi , - 1 ) ; } | public void Add ( FieldInfos other ) { foreach ( FieldInfo fieldInfo in other ) { Add ( fieldInfo ) ; } } |
public DescribeDominantLanguageDetectionJobResult describeDominantLanguageDetectionJob ( DescribeDominantLanguageDetectionJobRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeDominantLanguageDetectionJob ( request ) ; } | public virtual DescribeDominantLanguageDetectionJobResponse DescribeDominantLanguageDetectionJob ( DescribeDominantLanguageDetectionJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeDominantLanguageDetectionJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeDominantLanguageDetectionJobResponseUnmarshaller . Instance ; return Invoke < DescribeDominantLanguageDetectionJobResponse > ( request , options ) ; } |
public DescribeReservedInstancesModificationsResult describeReservedInstancesModifications ( ) { return describeReservedInstancesModifications ( new DescribeReservedInstancesModificationsRequest ( ) ) ; } | public virtual DescribeReservedInstancesModificationsResponse DescribeReservedInstancesModifications ( ) { return DescribeReservedInstancesModifications ( new DescribeReservedInstancesModificationsRequest ( ) ) ; } |
public DiffCommand setOutputStream ( OutputStream out ) { this . out = out ; return this ; } | public virtual NGit . Api . DiffCommand SetOutputStream ( OutputStream @ out ) { this . @ out = @ out ; return this ; } |
public ObjectId toObjectId ( ) { return new ObjectId ( this ) ; } | public override ObjectId ToObjectId ( ) { return new ObjectId ( this ) ; } |
public static short [ ] getAllKnownRecordSIDs ( ) { if ( _allKnownRecordSIDs == null ) { short [ ] results = new short [ _recordCreatorsById . size ( ) ] ; int i = 0 ; for ( Integer sid : _recordCreatorsById . keySet ( ) ) { results [ i ++ ] = sid . shortValue ( ) ; } Arrays . sort ( results ) ; _allKnownRecordSIDs = results ; } return _allKnownRecordSIDs . clone ( ) ; } | public static short [ ] GetAllKnownRecordSIDs ( ) { if ( _allKnownRecordSIDs == null ) { short [ ] results = new short [ _recordCreatorsById . Count ] ; int i = 0 ; foreach ( KeyValuePair < short , I_RecordCreator > kv in _recordCreatorsById ) { results [ i ++ ] = kv . Key ; } Array . Sort ( results ) ; _allKnownRecordSIDs = results ; } return ( short [ ] ) _allKnownRecordSIDs . Clone ( ) ; } |
public PredictionContext getCachedContext ( PredictionContext context ) { if ( sharedContextCache == null ) return context ; synchronized ( sharedContextCache ) { IdentityHashMap < PredictionContext , PredictionContext > visited = new IdentityHashMap < PredictionContext , PredictionContext > ( ) ; return PredictionContext . getCachedContext ( context , sharedContextCache , visited ) ; } } | public PredictionContext getCachedContext ( PredictionContext context ) { if ( sharedContextCache == null ) return context ; lock ( sharedContextCache ) { PredictionContext . IdentityHashMap visited = new PredictionContext . IdentityHashMap ( ) ; return PredictionContext . GetCachedContext ( context , sharedContextCache , visited ) ; } } |
public CreateStageResult createStage ( CreateStageRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateStage ( request ) ; } | public virtual CreateStageResponse CreateStage ( CreateStageRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateStageRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateStageResponseUnmarshaller . Instance ; return Invoke < CreateStageResponse > ( request , options ) ; } |
public static EditList singleton ( Edit edit ) { EditList res = new EditList ( 1 ) ; res . add ( edit ) ; return res ; } | public static NGit . Diff . EditList Singleton ( Edit edit ) { NGit . Diff . EditList res = new NGit . Diff . EditList ( 1 ) ; res . AddItem ( edit ) ; return res ; } |
public ModifySnapshotScheduleResult modifySnapshotSchedule ( ModifySnapshotScheduleRequest request ) { request = beforeClientExecution ( request ) ; return executeModifySnapshotSchedule ( request ) ; } | public virtual ModifySnapshotScheduleResponse ModifySnapshotSchedule ( ModifySnapshotScheduleRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifySnapshotScheduleRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifySnapshotScheduleResponseUnmarshaller . Instance ; return Invoke < ModifySnapshotScheduleResponse > ( request , options ) ; } |
public boolean isEmpty ( ) { return elements . length == 0 ; } | public virtual bool isEmpty ( ) { return elements . Length == 0 ; } |
public void copy ( BytesRef bytes , BytesRef out ) { int left = blockSize - upto ; if ( bytes . length > left || currentBlock == null ) { if ( currentBlock != null ) { addBlock ( currentBlock ) ; didSkipBytes = true ; } currentBlock = new byte [ blockSize ] ; upto = 0 ; left = blockSize ; assert bytes . length <= blockSize ; } out . bytes = currentBlock ; out . offset = upto ; out . length = bytes . length ; System . arraycopy ( bytes . bytes , bytes . offset , currentBlock , upto , bytes . length ) ; upto += bytes . length ; } | public void Copy ( BytesRef bytes , BytesRef @ out ) { int left = blockSize - upto ; if ( bytes . Length > left || currentBlock == null ) { if ( currentBlock != null ) { blocks . Add ( currentBlock ) ; blockEnd . Add ( upto ) ; didSkipBytes = true ; } currentBlock = new byte [ blockSize ] ; upto = 0 ; left = blockSize ; Debug . Assert ( bytes . Length <= blockSize ) ; } @ out . Bytes = currentBlock ; @ out . Offset = upto ; @ out . Length = bytes . Length ; Array . Copy ( bytes . Bytes , bytes . Offset , currentBlock , upto , bytes . Length ) ; upto += bytes . Length ; } |
public void add ( int location , E object ) { listIterator ( location ) . add ( object ) ; } | public override void add ( int location , E @ object ) { listIterator ( location ) . add ( @ object ) ; } |
public CreateKeyPairRequest ( String keyName ) { setKeyName ( keyName ) ; } | public CreateKeyPairRequest ( string keyName ) { _keyName = keyName ; } |
public boolean removeLastOccurrence ( Object o ) { Iterator < E > iter = new ReverseLinkIterator < E > ( this ) ; return removeOneOccurrence ( o , iter ) ; } | public virtual bool removeLastOccurrence ( object o ) { java . util . Iterator < E > iter = new java . util . LinkedList < E > . ReverseLinkIterator < E > ( this , this ) ; return removeOneOccurrence ( o , iter ) ; } |
public int keyAt ( int index ) { return mKeys [ index ] ; } | public virtual int keyAt ( int index ) { return mKeys [ index ] ; } |
public synchronized void setHierarchical ( String dimName , boolean v ) { DimConfig ft = fieldTypes . get ( dimName ) ; if ( ft == null ) { ft = new DimConfig ( ) ; fieldTypes . put ( dimName , ft ) ; } ft . hierarchical = v ; } | public virtual void SetHierarchical ( string dimName , bool v ) { lock ( this ) { if ( ! fieldTypes . TryGetValue ( dimName , out DimConfig fieldType ) ) { fieldTypes [ dimName ] = new DimConfig { IsHierarchical = v } ; } else { fieldType . IsHierarchical = v ; } } } |
public ObjectId getOldObjectId ( ) { return oldObjectId ; } | public virtual ObjectId GetOldObjectId ( ) { return oldObjectId ; } |
public static String toStringTree ( final Tree t , final List < String > ruleNames ) { String s = Utils . escapeWhitespace ( getNodeText ( t , ruleNames ) , false ) ; if ( t . getChildCount ( ) == 0 ) return s ; StringBuilder buf = new StringBuilder ( ) ; buf . append ( "(" ) ; s = Utils . escapeWhitespace ( getNodeText ( t , ruleNames ) , false ) ; buf . append ( s ) ; buf . append ( ' ' ) ; for ( int i = 0 ; i < t . getChildCount ( ) ; i ++ ) { if ( i > 0 ) buf . append ( ' ' ) ; buf . append ( toStringTree ( t . getChild ( i ) , ruleNames ) ) ; } buf . append ( ")" ) ; return buf . toString ( ) ; } | public static string ToStringTree ( ITree t , IList < string > ruleNames ) { string s = Utils . EscapeWhitespace ( GetNodeText ( t , ruleNames ) , false ) ; if ( t . ChildCount == 0 ) { return s ; } StringBuilder buf = new StringBuilder ( ) ; buf . Append ( "(" ) ; s = Utils . EscapeWhitespace ( GetNodeText ( t , ruleNames ) , false ) ; buf . Append ( s ) ; buf . Append ( ' ' ) ; for ( int i = 0 ; i < t . ChildCount ; i ++ ) { if ( i > 0 ) { buf . Append ( ' ' ) ; } buf . Append ( ToStringTree ( t . GetChild ( i ) , ruleNames ) ) ; } buf . Append ( ")" ) ; return buf . ToString ( ) ; } |
public NavigableSet < E > headSet ( E end , boolean endInclusive ) { Comparator < ? super E > c = backingMap . comparator ( ) ; if ( c == null ) { ( ( Comparable < E > ) end ) . compareTo ( end ) ; } else { c . compare ( end , end ) ; } return new TreeSet < E > ( backingMap . headMap ( end , endInclusive ) ) ; } | public virtual java . util . NavigableSet < E > headSet ( E end , bool endInclusive ) { java . util . Comparator < E > c = backingMap . comparator ( ) ; if ( c == null ) { ( ( java . lang . Comparable < E > ) end ) . compareTo ( end ) ; } else { c . compare ( end , end ) ; } return new java . util . TreeSet < E > ( backingMap . headMap ( end , endInclusive ) ) ; } |
public static ContentSource create ( ObjectReader reader ) { return new ObjectReaderSource ( reader ) ; } | public static ContentSource Create ( ObjectReader reader ) { return new ContentSource . ObjectReaderSource ( reader ) ; } |
public void setReuseDeltas ( boolean reuseDeltas ) { this . reuseDeltas = reuseDeltas ; } | public virtual void SetReuseDeltas ( bool reuseDeltas ) { this . reuseDeltas = reuseDeltas ; } |
public ListSkillsStoreSkillsByCategoryResult listSkillsStoreSkillsByCategory ( ListSkillsStoreSkillsByCategoryRequest request ) { request = beforeClientExecution ( request ) ; return executeListSkillsStoreSkillsByCategory ( request ) ; } | public virtual ListSkillsStoreSkillsByCategoryResponse ListSkillsStoreSkillsByCategory ( ListSkillsStoreSkillsByCategoryRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListSkillsStoreSkillsByCategoryRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListSkillsStoreSkillsByCategoryResponseUnmarshaller . Instance ; return Invoke < ListSkillsStoreSkillsByCategoryResponse > ( request , options ) ; } |
public final Ref getRef ( String name ) { return advertisedRefs . get ( name ) ; } | public Ref GetRef ( string name ) { return advertisedRefs . Get ( name ) ; } |
public ModifyInstanceGroupsResult modifyInstanceGroups ( ModifyInstanceGroupsRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyInstanceGroups ( request ) ; } | public virtual ModifyInstanceGroupsResponse ModifyInstanceGroups ( ModifyInstanceGroupsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyInstanceGroupsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyInstanceGroupsResponseUnmarshaller . Instance ; return Invoke < ModifyInstanceGroupsResponse > ( request , options ) ; } |
public Object toObject ( ) { return exists ? new Date ( value ) : null ; } | public override object ToObject ( ) { return Exists ? new DateTime ( Value ) as object : null ; } |
public DescribeDBInstanceAutomatedBackupsResult describeDBInstanceAutomatedBackups ( DescribeDBInstanceAutomatedBackupsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeDBInstanceAutomatedBackups ( request ) ; } | public virtual DescribeDBInstanceAutomatedBackupsResponse DescribeDBInstanceAutomatedBackups ( DescribeDBInstanceAutomatedBackupsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeDBInstanceAutomatedBackupsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeDBInstanceAutomatedBackupsResponseUnmarshaller . Instance ; return Invoke < DescribeDBInstanceAutomatedBackupsResponse > ( request , options ) ; } |
public PreviewAgentsResult previewAgents ( PreviewAgentsRequest request ) { request = beforeClientExecution ( request ) ; return executePreviewAgents ( request ) ; } | public virtual PreviewAgentsResponse PreviewAgents ( PreviewAgentsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PreviewAgentsRequestMarshaller . Instance ; options . ResponseUnmarshaller = PreviewAgentsResponseUnmarshaller . Instance ; return Invoke < PreviewAgentsResponse > ( request , options ) ; } |
public QueryGroupUsersRequest ( ) { super ( "LinkFace" , "2018-07-20" , "QueryGroupUsers" ) ; setProtocol ( ProtocolType . HTTPS ) ; setMethod ( MethodType . POST ) ; } | public QueryGroupUsersRequest ( ) : base ( "LinkFace" , "2018-07-20" , "QueryGroupUsers" ) { Protocol = ProtocolType . HTTPS ; Method = MethodType . POST ; } |
public DescribeOptionGroupsResult describeOptionGroups ( DescribeOptionGroupsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeOptionGroups ( request ) ; } | public virtual DescribeOptionGroupsResponse DescribeOptionGroups ( DescribeOptionGroupsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeOptionGroupsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeOptionGroupsResponseUnmarshaller . Instance ; return Invoke < DescribeOptionGroupsResponse > ( request , options ) ; } |
public UpdateGroupResult updateGroup ( UpdateGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateGroup ( request ) ; } | public virtual UpdateGroupResponse UpdateGroup ( UpdateGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateGroupResponseUnmarshaller . Instance ; return Invoke < UpdateGroupResponse > ( request , options ) ; } |
public UpdateSigningCertificateRequest ( String certificateId , StatusType status ) { setCertificateId ( certificateId ) ; setStatus ( status . toString ( ) ) ; } | public UpdateSigningCertificateRequest ( string certificateId , StatusType status ) { _certificateId = certificateId ; _status = status ; } |
public CreateInstancesResult createInstances ( CreateInstancesRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateInstances ( request ) ; } | public virtual CreateInstancesResponse CreateInstances ( CreateInstancesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateInstancesRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateInstancesResponseUnmarshaller . Instance ; return Invoke < CreateInstancesResponse > ( request , options ) ; } |
public static int getRecordSizeForBlockCount ( int blockCount ) { return 20 + 4 * blockCount ; } | public static int GetRecordSizeForBlockCount ( int blockCount ) { return 20 + ( 4 * blockCount ) ; } |
public StopStreamEncryptionResult stopStreamEncryption ( StopStreamEncryptionRequest request ) { request = beforeClientExecution ( request ) ; return executeStopStreamEncryption ( request ) ; } | public virtual StopStreamEncryptionResponse StopStreamEncryption ( StopStreamEncryptionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StopStreamEncryptionRequestMarshaller . Instance ; options . ResponseUnmarshaller = StopStreamEncryptionResponseUnmarshaller . Instance ; return Invoke < StopStreamEncryptionResponse > ( request , options ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.