question stringlengths 33 1.59k | target stringlengths 33 1.58k |
|---|---|
public String nextKeyString ( ) { return new String ( nextKey ( ) ) ; } | public virtual string NextKeyString ( ) { return new string ( NextKey ( ) ) ; } |
public DescribeEventsResult describeEvents ( ) { return describeEvents ( new DescribeEventsRequest ( ) ) ; } | public virtual DescribeEventsResponse DescribeEvents ( ) { return DescribeEvents ( new DescribeEventsRequest ( ) ) ; } |
public UpdateNodeResult updateNode ( UpdateNodeRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateNode ( request ) ; } | public virtual UpdateNodeResponse UpdateNode ( UpdateNodeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateNodeRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateNodeResponseUnmarshaller . Instance ; return Invoke < UpdateNodeResponse > ( request , options ... |
public GetJobOutputRequest ( String vaultName , String jobId , String range ) { setVaultName ( vaultName ) ; setJobId ( jobId ) ; setRange ( range ) ; } | public GetJobOutputRequest ( string vaultName , string jobId , string range ) { _vaultName = vaultName ; _jobId = jobId ; _range = range ; } |
public static String stripTags ( String buf , int start ) { if ( start > 0 ) { buf = buf . substring ( start ) ; } return buf . replaceAll ( "<[^>]*>" , " " ) ; } | public static string StripTags ( string buf , int start ) { if ( start > 0 ) { buf = buf . Substring ( 0 ) ; } return Regex . Replace ( buf , "<[^>]*>" , " " ) ; } |
public DescribeLaunchTemplatesResult describeLaunchTemplates ( DescribeLaunchTemplatesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeLaunchTemplates ( request ) ; } | public virtual DescribeLaunchTemplatesResponse DescribeLaunchTemplates ( DescribeLaunchTemplatesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeLaunchTemplatesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeLaunchTemplatesResponseUnmarshaller . Ins... |
public SynonymFilterFactory ( Map < String , String > args ) { super ( args ) ; ignoreCase = getBoolean ( args , "ignoreCase" , false ) ; synonyms = require ( args , "synonyms" ) ; format = get ( args , "format" ) ; expand = getBoolean ( args , "expand" , true ) ; analyzerName = get ( args , "analyzer" ) ; tokenizerFac... | public SynonymFilterFactory ( IDictionary < string , string > args ) : base ( args ) { AssureMatchVersion ( ) ; if ( m_luceneMatchVersion . OnOrAfter ( Lucene . Net . Util . LuceneVersion . LUCENE_34 ) ) { delegator = new FSTSynonymFilterFactory ( new Dictionary < string , string > ( OriginalArgs ) ) ; } else { if ( ar... |
public void removePrintArea ( int sheetIndex ) { getWorkbook ( ) . removeBuiltinRecord ( NameRecord . BUILTIN_PRINT_AREA , sheetIndex + 1 ) ; } | public void RemovePrintArea ( int sheetIndex ) { Workbook . RemoveBuiltinRecord ( NameRecord . BUILTIN_PRINT_AREA , sheetIndex + 1 ) ; } |
public ModifyTrafficMirrorFilterNetworkServicesResult modifyTrafficMirrorFilterNetworkServices ( ModifyTrafficMirrorFilterNetworkServicesRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyTrafficMirrorFilterNetworkServices ( request ) ; } | public virtual ModifyTrafficMirrorFilterNetworkServicesResponse ModifyTrafficMirrorFilterNetworkServices ( ModifyTrafficMirrorFilterNetworkServicesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyTrafficMirrorFilterNetworkServicesRequestMarshaller . Instance ; options . Resp... |
public ValueEval evaluate ( ValueEval [ ] args , OperationEvaluationContext ec ) { if ( args . length == 2 ) { return evaluate ( ec . getRowIndex ( ) , ec . getColumnIndex ( ) , args [ 0 ] , args [ 1 ] ) ; } return ErrorEval . VALUE_INVALID ; } | public ValueEval Evaluate ( ValueEval [ ] args , OperationEvaluationContext ec ) { if ( args . Length == 2 ) { return Evaluate ( ec . RowIndex , ec . ColumnIndex , args [ 0 ] , args [ 1 ] ) ; } return ErrorEval . VALUE_INVALID ; } |
public DeltaRecord ( double maxChange ) { field_1_max_change = maxChange ; } | public DeltaRecord ( double maxChange ) { field_1_max_change = maxChange ; } |
public UpdateDomainEntryResult updateDomainEntry ( UpdateDomainEntryRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateDomainEntry ( request ) ; } | public virtual UpdateDomainEntryResponse UpdateDomainEntry ( UpdateDomainEntryRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateDomainEntryRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateDomainEntryResponseUnmarshaller . Instance ; return Invoke < Update... |
public SegmentCommitInfo clone ( ) { SegmentCommitInfo other = new SegmentCommitInfo ( info , delCount , softDelCount , delGen , fieldInfosGen , docValuesGen ) ; other . nextWriteDelGen = nextWriteDelGen ; other . nextWriteFieldInfosGen = nextWriteFieldInfosGen ; other . nextWriteDocValuesGen = nextWriteDocValuesGen ; ... | public virtual object Clone ( ) { SegmentCommitInfo other = new SegmentCommitInfo ( Info , delCount , delGen , fieldInfosGen ) ; other . nextWriteDelGen = nextWriteDelGen ; other . nextWriteFieldInfosGen = nextWriteFieldInfosGen ; foreach ( KeyValuePair < long , ISet < string > > e in genUpdatesFiles ) { other . genUpd... |
public String putAttribute ( String key , String value ) { HashMap < String , String > newMap = new HashMap < > ( attributes ) ; String oldValue = newMap . put ( key , value ) ; attributes = Collections . unmodifiableMap ( newMap ) ; return oldValue ; } | public string PutAttribute ( string key , string value ) { if ( attributes == null ) { attributes = new Dictionary < string , string > ( ) ; } return attributes [ key ] = value ; } |
public void write ( int oneChar ) { buf . append ( ( char ) oneChar ) ; } | public override void write ( int oneChar ) { buf . append ( ( char ) oneChar ) ; } |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[WRITEPROTECT]\n" ) ; buffer . append ( "[/WRITEPROTECT]\n" ) ; return buffer . toString ( ) ; } | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[WritePROTECT]\n" ) ; buffer . Append ( "[/WritePROTECT]\n" ) ; return buffer . ToString ( ) ; } |
public EvaluationSheet getSheet ( int sheetIndex ) { return new HSSFEvaluationSheet ( _uBook . getSheetAt ( sheetIndex ) ) ; } | public IEvaluationSheet GetSheet ( int sheetIndex ) { return new HSSFEvaluationSheet ( ( HSSFSheet ) _uBook . GetSheetAt ( sheetIndex ) ) ; } |
public void removeSlideCount ( ) { remove1stProperty ( PropertyIDMap . PID_SLIDECOUNT ) ; } | public void RemoveSlideCount ( ) { MutableSection s = ( MutableSection ) FirstSection ; s . RemoveProperty ( PropertyIDMap . PID_SLIDECOUNT ) ; } |
public DescribeFlowDefinitionResult describeFlowDefinition ( DescribeFlowDefinitionRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeFlowDefinition ( request ) ; } | public virtual DescribeFlowDefinitionResponse DescribeFlowDefinition ( DescribeFlowDefinitionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeFlowDefinitionRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeFlowDefinitionResponseUnmarshaller . Instance... |
public void set ( int index ) { intSet . put ( index ) ; if ( index > maxInt ) maxInt = index ; } | public virtual void Set ( int index ) { intSet . Put ( index ) ; if ( index > maxInt ) { maxInt = index ; } } |
public boolean equals ( Object other ) { if ( other == null ) { return false ; } if ( other instanceof CharsRef ) { return this . charsEquals ( ( CharsRef ) other ) ; } return false ; } | public override bool Equals ( object other ) { if ( other == null ) { return false ; } if ( other is CharsRef ) { return this . CharsEquals ( ( ( CharsRef ) other ) ) ; } return false ; } |
public StopFilterFactory ( Map < String , String > args ) { super ( args ) ; stopWordFiles = get ( args , "words" ) ; format = get ( args , "format" , ( null == stopWordFiles ? null : FORMAT_WORDSET ) ) ; ignoreCase = getBoolean ( args , "ignoreCase" , false ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentEx... | public StopFilterFactory ( IDictionary < string , string > args ) : base ( args ) { AssureMatchVersion ( ) ; stopWordFiles = Get ( args , "words" ) ; format = Get ( args , "format" , ( null == stopWordFiles ? null : FORMAT_WORDSET ) ) ; ignoreCase = GetBoolean ( args , "ignoreCase" , false ) ; enablePositionIncrements ... |
public void addState ( ATNState state ) { if ( state != null ) { state . atn = this ; state . stateNumber = states . size ( ) ; } states . add ( state ) ; } | public virtual void AddState ( ATNState state ) { if ( state != null ) { state . atn = this ; state . stateNumber = states . Count ; } states . Add ( state ) ; } |
public String batchUrl ( ) { return this . batchUrl ; } | public string BatchUrl { get ; set ; } |
public ParseException generateParseException ( ) { jj_expentries . clear ( ) ; boolean [ ] la1tokens = new boolean [ 33 ] ; 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 ]... | public virtual ParseException GenerateParseException ( ) { jj_expentries . Clear ( ) ; bool [ ] la1tokens = new bool [ 33 ] ; if ( jj_kind >= 0 ) { la1tokens [ jj_kind ] = true ; jj_kind = - 1 ; } for ( int i = 0 ; i < 21 ; i ++ ) { if ( jj_la1 [ i ] == jj_gen ) { for ( int j = 0 ; j < 32 ; j ++ ) { if ( ( jj_la1_0 [ i... |
@ Override public Iterator < K > iterator ( ) { return new KeyIterator ( ) ; } | public override java . util . Iterator < K > iterator ( ) { return new java . util . Hashtable < K , V > . KeyIterator ( this . _enclosing ) ; } |
public DoubleList ( ) { _array = new double [ 8 ] ; _count = 0 ; } | public DoubleList ( ) { _array = new double [ 8 ] ; _Count = 0 ; } |
public AddNoteCommand setMessage ( String message ) { checkCallable ( ) ; this . message = message ; return this ; } | public virtual NGit . Api . AddNoteCommand SetMessage ( string message ) { CheckCallable ( ) ; this . message = message ; return this ; } |
public SerializationHandleMap ( ) { this . size = 0 ; this . threshold = 21 ; int arraySize = ( int ) ( ( ( long ) threshold * 10000 ) / LOAD_FACTOR ) ; resizeArrays ( arraySize ) ; } | public SerializationHandleMap ( ) { this . size = 0 ; this . threshold = 21 ; int arraySize = ( int ) ( ( ( long ) threshold * 10000 ) / LOAD_FACTOR ) ; resizeArrays ( arraySize ) ; } |
public PagedBytes ( int blockBits ) { assert blockBits > 0 && blockBits <= 31 : blockBits ; this . blockSize = 1 << blockBits ; this . blockBits = blockBits ; blockMask = blockSize - 1 ; upto = blockSize ; bytesUsedPerBlock = RamUsageEstimator . alignObjectSize ( blockSize + RamUsageEstimator . NUM_BYTES_ARRAY_HEADER )... | public PagedBytes ( int blockBits ) { Debug . Assert ( blockBits > 0 && blockBits <= 31 , blockBits . ToString ( ) ) ; this . blockSize = 1 << blockBits ; this . blockBits = blockBits ; blockMask = blockSize - 1 ; upto = blockSize ; bytesUsedPerBlock = blockSize + RamUsageEstimator . NUM_BYTES_ARRAY_HEADER + RamUsageEs... |
public IncreaseReplicationFactorResult increaseReplicationFactor ( IncreaseReplicationFactorRequest request ) { request = beforeClientExecution ( request ) ; return executeIncreaseReplicationFactor ( request ) ; } | public virtual IncreaseReplicationFactorResponse IncreaseReplicationFactor ( IncreaseReplicationFactorRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = IncreaseReplicationFactorRequestMarshaller . Instance ; options . ResponseUnmarshaller = IncreaseReplicationFactorResponseUnmarsha... |
public UpdateRuntimeConfigurationResult updateRuntimeConfiguration ( UpdateRuntimeConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateRuntimeConfiguration ( request ) ; } | public virtual UpdateRuntimeConfigurationResponse UpdateRuntimeConfiguration ( UpdateRuntimeConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateRuntimeConfigurationRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateRuntimeConfigurationResponseUnm... |
public char getChar ( Map < String , String > args , String name , char defaultValue ) { String s = args . remove ( name ) ; if ( s == null ) { return defaultValue ; } else { if ( s . length ( ) != 1 ) { throw new IllegalArgumentException ( name + " should be a char. \"" + s + "\" is invalid" ) ; } else { return s . ch... | public virtual char GetChar ( IDictionary < string , string > args , string name , char defaultVal ) { string s ; if ( args . TryGetValue ( name , out s ) ) { args . Remove ( name ) ; if ( s . Length != 1 ) { throw new System . ArgumentException ( name + " should be a char. \"" + s + "\" is invalid" ) ; } else { return... |
public void notifyListeners ( LexerNoViableAltException e ) { String text = _input . getText ( Interval . of ( _tokenStartCharIndex , _input . index ( ) ) ) ; String msg = "token recognition error at: '" + getErrorDisplay ( text ) + "'" ; ANTLRErrorListener listener = getErrorListenerDispatch ( ) ; listener . syntaxErr... | public virtual void NotifyListeners ( LexerNoViableAltException e ) { string text = _input . GetText ( Interval . Of ( _tokenStartCharIndex , _input . Index ) ) ; string msg = "token recognition error at: '" + GetErrorDisplay ( text ) + "'" ; IAntlrErrorListener < int > listener = ErrorListenerDispatch ; listener . Syn... |
public void writeLong ( long v ) { writeContinueIfRequired ( 8 ) ; _ulrOutput . writeLong ( v ) ; } | public void WriteLong ( long v ) { _out . WriteLong ( v ) ; _size += 8 ; } |
public ChangeMessageVisibilityBatchRequest ( String queueUrl , java . util . List < ChangeMessageVisibilityBatchRequestEntry > entries ) { setQueueUrl ( queueUrl ) ; setEntries ( entries ) ; } | public ChangeMessageVisibilityBatchRequest ( string queueUrl , List < ChangeMessageVisibilityBatchRequestEntry > entries ) { _queueUrl = queueUrl ; _entries = entries ; } |
public GetExportJobResult getExportJob ( GetExportJobRequest request ) { request = beforeClientExecution ( request ) ; return executeGetExportJob ( request ) ; } | public virtual GetExportJobResponse GetExportJob ( GetExportJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetExportJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetExportJobResponseUnmarshaller . Instance ; return Invoke < GetExportJobResponse > ( reques... |
public AddRoleToDBInstanceResult addRoleToDBInstance ( AddRoleToDBInstanceRequest request ) { request = beforeClientExecution ( request ) ; return executeAddRoleToDBInstance ( request ) ; } | public virtual AddRoleToDBInstanceResponse AddRoleToDBInstance ( AddRoleToDBInstanceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AddRoleToDBInstanceRequestMarshaller . Instance ; options . ResponseUnmarshaller = AddRoleToDBInstanceResponseUnmarshaller . Instance ; return Invok... |
public DeregisterInstancesFromLoadBalancerResult deregisterInstancesFromLoadBalancer ( DeregisterInstancesFromLoadBalancerRequest request ) { request = beforeClientExecution ( request ) ; return executeDeregisterInstancesFromLoadBalancer ( request ) ; } | public virtual DeregisterInstancesFromLoadBalancerResponse DeregisterInstancesFromLoadBalancer ( DeregisterInstancesFromLoadBalancerRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeregisterInstancesFromLoadBalancerRequestMarshaller . Instance ; options . ResponseUnmarshaller = D... |
public synchronized StringBuffer insert ( int index , char ch ) { insert0 ( index , ch ) ; return this ; } | public java . lang . StringBuffer insert ( int index , char ch ) { lock ( this ) { insert0 ( index , ch ) ; return this ; } } |
public DownloadDBLogFilePortionResult downloadDBLogFilePortion ( DownloadDBLogFilePortionRequest request ) { request = beforeClientExecution ( request ) ; return executeDownloadDBLogFilePortion ( request ) ; } | public virtual DownloadDBLogFilePortionResponse DownloadDBLogFilePortion ( DownloadDBLogFilePortionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DownloadDBLogFilePortionRequestMarshaller . Instance ; options . ResponseUnmarshaller = DownloadDBLogFilePortionResponseUnmarshaller ... |
public GetStaticIpResult getStaticIp ( GetStaticIpRequest request ) { request = beforeClientExecution ( request ) ; return executeGetStaticIp ( request ) ; } | public virtual GetStaticIpResponse GetStaticIp ( GetStaticIpRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetStaticIpRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetStaticIpResponseUnmarshaller . Instance ; return Invoke < GetStaticIpResponse > ( request , op... |
public CreateUsagePlanResult createUsagePlan ( CreateUsagePlanRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateUsagePlan ( request ) ; } | public virtual CreateUsagePlanResponse CreateUsagePlan ( CreateUsagePlanRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateUsagePlanRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateUsagePlanResponseUnmarshaller . Instance ; return Invoke < CreateUsagePlanR... |
public BlameResult call ( ) throws GitAPIException { checkCallable ( ) ; try ( BlameGenerator gen = new BlameGenerator ( repo , path ) ) { if ( diffAlgorithm != null ) gen . setDiffAlgorithm ( diffAlgorithm ) ; if ( textComparator != null ) gen . setTextComparator ( textComparator ) ; if ( followFileRenames != null ) g... | public override BlameResult Call ( ) { CheckCallable ( ) ; BlameGenerator gen = new BlameGenerator ( repo , path ) ; try { if ( diffAlgorithm != null ) { gen . SetDiffAlgorithm ( diffAlgorithm ) ; } if ( textComparator != null ) { gen . SetTextComparator ( textComparator ) ; } if ( followFileRenames != null ) { gen . S... |
public SearchTransitGatewayMulticastGroupsResult searchTransitGatewayMulticastGroups ( SearchTransitGatewayMulticastGroupsRequest request ) { request = beforeClientExecution ( request ) ; return executeSearchTransitGatewayMulticastGroups ( request ) ; } | public virtual SearchTransitGatewayMulticastGroupsResponse SearchTransitGatewayMulticastGroups ( SearchTransitGatewayMulticastGroupsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SearchTransitGatewayMulticastGroupsRequestMarshaller . Instance ; options . ResponseUnmarshaller = S... |
public LinearOffsetRange normaliseAndTranslate ( int translationAmount ) { if ( _length > 0 ) { if ( translationAmount == 0 ) { return this ; } return new LinearOffsetRange ( translationAmount + _offset , _length ) ; } return new LinearOffsetRange ( translationAmount + _offset + _length + 1 , - _length ) ; } | public LinearOffsetRange NormaliseAndTranslate ( int translationAmount ) { if ( _Length > 0 ) { if ( translationAmount == 0 ) { return this ; } return new LinearOffsetRange ( translationAmount + _offset , _Length ) ; } return new LinearOffsetRange ( translationAmount + _offset + _Length + 1 , - _Length ) ; } |
public boolean isInvoke ( char c ) { return invokeMap [ characterCategoryMap [ c ] ] ; } | public bool IsInvoke ( char c ) { return invokeMap [ characterCategoryMap [ c ] ] ; } |
public int getSize ( ) { return size ; } | public virtual int GetSize ( ) { return size ; } |
public int read ( ) throws IOException { if ( buf == null ) { throw new IOException ( ) ; } if ( pos < buf . length ) { return ( buf [ pos ++ ] & 0xFF ) ; } return in . read ( ) ; } | public override int read ( ) { if ( buf == null ) { throw new System . IO . IOException ( ) ; } if ( pos < buf . Length ) { return ( buf [ pos ++ ] & unchecked ( ( int ) ( 0xFF ) ) ) ; } return @ in . read ( ) ; } |
public int mark ( ) { return 0 ; } | public virtual int Mark ( ) { return 0 ; } |
public SearchPhotosRequest ( ) { super ( "CloudPhoto" , "2017-07-11" , "SearchPhotos" , "cloudphoto" ) ; setProtocol ( ProtocolType . HTTPS ) ; } | public SearchPhotosRequest ( ) : base ( "CloudPhoto" , "2017-07-11" , "SearchPhotos" , "cloudphoto" , "openAPI" ) { Protocol = ProtocolType . HTTPS ; } |
public void copyFrom ( TermState other ) { assert other instanceof OrdTermState : "can not copy from " + other . getClass ( ) . getName ( ) ; this . ord = ( ( OrdTermState ) other ) . ord ; } | public override void CopyFrom ( TermState other ) { Debug . Assert ( other is OrdTermState , "can not copy from " + other . GetType ( ) . Name ) ; this . Ord = ( ( OrdTermState ) other ) . Ord ; } |
public AnalyzeDocumentResult analyzeDocument ( AnalyzeDocumentRequest request ) { request = beforeClientExecution ( request ) ; return executeAnalyzeDocument ( request ) ; } | public virtual AnalyzeDocumentResponse AnalyzeDocument ( AnalyzeDocumentRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AnalyzeDocumentRequestMarshaller . Instance ; options . ResponseUnmarshaller = AnalyzeDocumentResponseUnmarshaller . Instance ; return Invoke < AnalyzeDocumentR... |
public int calcExtSSTRecordSize ( ) { return ExtSSTRecord . getRecordSizeForStrings ( field_3_strings . size ( ) ) ; } | public int CalcExtSSTRecordSize ( ) { return ExtSSTRecord . GetRecordSizeForStrings ( field_3_strings . Size ) ; } |
public static FormulaShifter createForSheetShift ( int srcSheetIndex , int dstSheetIndex ) { return new FormulaShifter ( srcSheetIndex , dstSheetIndex ) ; } | public static FormulaShifter CreateForSheetShift ( int srcSheetIndex , int dstSheetIndex ) { return new FormulaShifter ( srcSheetIndex , dstSheetIndex ) ; } |
public void setRule ( int idx , ConditionalFormattingRule cfRule ) { setRule ( idx , ( HSSFConditionalFormattingRule ) cfRule ) ; } | public void SetRule ( int idx , HSSFConditionalFormattingRule cfRule ) { cfAggregate . SetRule ( idx , cfRule . CfRuleRecord ) ; } |
public SelectionRecord ( RecordInputStream in ) { field_1_pane = in . readByte ( ) ; field_2_row_active_cell = in . readUShort ( ) ; field_3_col_active_cell = in . readShort ( ) ; field_4_active_cell_ref_index = in . readShort ( ) ; int field_5_num_refs = in . readUShort ( ) ; field_6_refs = new CellRangeAddress8Bit [ ... | public SelectionRecord ( RecordInputStream in1 ) { field_1_pane = ( byte ) in1 . ReadByte ( ) ; field_2_row_active_cell = in1 . ReadUShort ( ) ; field_3_col_active_cell = in1 . ReadShort ( ) ; field_4_ref_active_cell = in1 . ReadShort ( ) ; int field_5_num_refs = in1 . ReadUShort ( ) ; field_6_refs = new CellRangeAddre... |
public void setNeedNewObjectIds ( boolean b ) { if ( b ) newObjectIds = new ObjectIdSubclassMap < > ( ) ; elsenewObjectIds = null ; } | public virtual void SetNeedNewObjectIds ( bool b ) { if ( b ) { newObjectIds = new ObjectIdSubclassMap < ObjectId > ( ) ; } else { newObjectIds = null ; } } |
public GetResolverRulePolicyResult getResolverRulePolicy ( GetResolverRulePolicyRequest request ) { request = beforeClientExecution ( request ) ; return executeGetResolverRulePolicy ( request ) ; } | public virtual GetResolverRulePolicyResponse GetResolverRulePolicy ( GetResolverRulePolicyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetResolverRulePolicyRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetResolverRulePolicyResponseUnmarshaller . Instance ; re... |
public static DoubleBuffer wrap ( double [ ] array ) { return wrap ( array , 0 , array . length ) ; } | public static java . nio . DoubleBuffer wrap ( double [ ] array_1 ) { return wrap ( array_1 , 0 , array_1 . Length ) ; } |
public UnitsRecord clone ( ) { return copy ( ) ; } | public override Object Clone ( ) { UnitsRecord rec = new UnitsRecord ( ) ; rec . field_1_units = field_1_units ; return rec ; } |
public void readFully ( byte [ ] buf , int off , int len ) { try { checkEOF ( _read ( buf , off , len ) , len ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } } | public void ReadFully ( byte [ ] buf , int off , int len ) { int max = off + len ; for ( int i = off ; i < max ; i ++ ) { byte ch ; try { ch = ( byte ) in1 . ReadByte ( ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } CheckEOF ( ch ) ; buf [ i ] = ch ; } } |
public DescribeInterconnectLoaResult describeInterconnectLoa ( DescribeInterconnectLoaRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeInterconnectLoa ( request ) ; } | public virtual DescribeInterconnectLoaResponse DescribeInterconnectLoa ( DescribeInterconnectLoaRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeInterconnectLoaRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeInterconnectLoaResponseUnmarshaller . Ins... |
public static ByteOrder nativeOrder ( ) { return NATIVE_ORDER ; } | public static java . nio . ByteOrder nativeOrder ( ) { return NATIVE_ORDER ; } |
public CalcModeRecord ( RecordInputStream in ) { field_1_calcmode = in . readShort ( ) ; } | public CalcModeRecord ( RecordInputStream in1 ) { field_1_calcmode = in1 . ReadShort ( ) ; } |
public void addParentId ( AnyObjectId additionalParent ) { if ( parentIds . length == 0 ) { setParentId ( additionalParent ) ; } else { ObjectId [ ] newParents = new ObjectId [ parentIds . length + 1 ] ; System . arraycopy ( parentIds , 0 , newParents , 0 , parentIds . length ) ; newParents [ parentIds . length ] = add... | public virtual void AddParentId ( AnyObjectId additionalParent ) { if ( parentIds . Length == 0 ) { SetParentId ( additionalParent ) ; } else { ObjectId [ ] newParents = new ObjectId [ parentIds . Length + 1 ] ; System . Array . Copy ( parentIds , 0 , newParents , 0 , parentIds . Length ) ; newParents [ parentIds . Len... |
public CreateAccessPointResult createAccessPoint ( CreateAccessPointRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateAccessPoint ( request ) ; } | public virtual CreateAccessPointResponse CreateAccessPoint ( CreateAccessPointRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateAccessPointRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateAccessPointResponseUnmarshaller . Instance ; return Invoke < Create... |
public DeleteLoadBalancerListenersResult deleteLoadBalancerListeners ( DeleteLoadBalancerListenersRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteLoadBalancerListeners ( request ) ; } | public virtual DeleteLoadBalancerListenersResponse DeleteLoadBalancerListeners ( DeleteLoadBalancerListenersRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteLoadBalancerListenersRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteLoadBalancerListenersRespon... |
public DescribeOrderableClusterOptionsResult describeOrderableClusterOptions ( ) { return describeOrderableClusterOptions ( new DescribeOrderableClusterOptionsRequest ( ) ) ; } | public virtual DescribeOrderableClusterOptionsResponse DescribeOrderableClusterOptions ( ) { return DescribeOrderableClusterOptions ( new DescribeOrderableClusterOptionsRequest ( ) ) ; } |
public void setDerefTags ( boolean deref ) { derefTags = deref ; } | public virtual void SetDerefTags ( bool deref ) { derefTags = deref ; } |
public DeactivateMFADeviceRequest ( String userName , String serialNumber ) { setUserName ( userName ) ; setSerialNumber ( serialNumber ) ; } | public DeactivateMFADeviceRequest ( string userName , string serialNumber ) { _userName = userName ; _serialNumber = serialNumber ; } |
public boolean markSupported ( ) { synchronized ( lock ) { return in . markSupported ( ) ; } } | public override bool markSupported ( ) { lock ( @ lock ) { return @ in . markSupported ( ) ; } } |
public static void createNewFile ( File f ) throws IOException { if ( ! f . createNewFile ( ) ) throw new IOException ( MessageFormat . format ( JGitText . get ( ) . createNewFileFailed , f ) ) ; } | public static void CreateNewFile ( FilePath f ) { if ( ! f . CreateNewFile ( ) ) { throw new IOException ( MessageFormat . Format ( JGitText . Get ( ) . createNewFileFailed , f ) ) ; } } |
public String getFieldAsString ( ) { if ( this . field == null ) return null ; else return this . field . toString ( ) ; } | public virtual string GetFieldAsString ( ) { if ( this . field == null ) return null ; else return this . field . ToString ( ) ; } |
public void inform ( ResourceLoader loader ) throws IOException { String dicts [ ] = dictionaryFiles . split ( "," ) ; InputStream affix = null ; List < InputStream > dictionaries = new ArrayList < > ( ) ; try { dictionaries = new ArrayList < > ( ) ; for ( String file : dicts ) { dictionaries . add ( loader . openResou... | public virtual void Inform ( IResourceLoader loader ) { string [ ] dicts = dictionaryFiles . Split ( ',' ) . TrimEnd ( ) ; Stream affix = null ; IList < Stream > dictionaries = new List < Stream > ( ) ; try { dictionaries = new List < Stream > ( ) ; foreach ( string file in dicts ) { dictionaries . Add ( loader . OpenR... |
public DetectDocumentTextResult detectDocumentText ( DetectDocumentTextRequest request ) { request = beforeClientExecution ( request ) ; return executeDetectDocumentText ( request ) ; } | public virtual DetectDocumentTextResponse DetectDocumentText ( DetectDocumentTextRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DetectDocumentTextRequestMarshaller . Instance ; options . ResponseUnmarshaller = DetectDocumentTextResponseUnmarshaller . Instance ; return Invoke < D... |
public DescribeCertificatesResult describeCertificates ( DescribeCertificatesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeCertificates ( request ) ; } | public virtual DescribeCertificatesResponse DescribeCertificates ( DescribeCertificatesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeCertificatesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeCertificatesResponseUnmarshaller . Instance ; return ... |
public int getFormatCount ( ) { return _formats . length ; } | public int GetFormatCount ( ) { return m_formats . Count ; } |
public GetOutcomesResult getOutcomes ( GetOutcomesRequest request ) { request = beforeClientExecution ( request ) ; return executeGetOutcomes ( request ) ; } | public virtual GetOutcomesResponse GetOutcomes ( GetOutcomesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetOutcomesRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetOutcomesResponseUnmarshaller . Instance ; return Invoke < GetOutcomesResponse > ( request , op... |
public Set < URIishField > getOptionalFields ( ) { return Collections . emptySet ( ) ; } | public virtual ICollection < TransportProtocol . URIishField > GetOptionalFields ( ) { return Sharpen . Collections . EmptySet < TransportProtocol . URIishField > ( ) ; } |
public BasicStats ( String field , double boost ) { this . field = field ; this . boost = boost ; } | public BasicStats ( string field , float queryBoost ) { this . field = field ; this . m_queryBoost = queryBoost ; this . m_totalBoost = queryBoost ; } |
public UpdateSecurityGroupRuleDescriptionsIngressResult updateSecurityGroupRuleDescriptionsIngress ( UpdateSecurityGroupRuleDescriptionsIngressRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateSecurityGroupRuleDescriptionsIngress ( request ) ; } | public virtual UpdateSecurityGroupRuleDescriptionsIngressResponse UpdateSecurityGroupRuleDescriptionsIngress ( UpdateSecurityGroupRuleDescriptionsIngressRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateSecurityGroupRuleDescriptionsIngressRequestMarshaller . Instance ; option... |
public long getOffset ( ) { return position ; } | public virtual long GetOffset ( ) { return position ; } |
public Collection < Ref > getAdvertisedRefs ( ) { return Collections . unmodifiableCollection ( advertisedRefs . values ( ) ) ; } | public virtual ICollection < Ref > GetAdvertisedRefs ( ) { return Sharpen . Collections . UnmodifiableCollection ( advertisedRefs . Values ) ; } |
public QueryParser ( 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 QueryParser ( QueryParserTokenManager tm ) { TokenSource = 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 void setText ( CharacterIterator newText ) { start = newText . getBeginIndex ( ) ; end = newText . getEndIndex ( ) ; text = newText ; current = start ; } | public override void SetText ( CharacterIterator newText ) { start = newText . BeginIndex ; end = newText . EndIndex ; text = newText ; current = start ; } |
public PutOutcomeResult putOutcome ( PutOutcomeRequest request ) { request = beforeClientExecution ( request ) ; return executePutOutcome ( request ) ; } | public virtual PutOutcomeResponse PutOutcome ( PutOutcomeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutOutcomeRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutOutcomeResponseUnmarshaller . Instance ; return Invoke < PutOutcomeResponse > ( request , options ... |
public UnescapedCharSequence ( CharSequence text ) { this . chars = new char [ text . length ( ) ] ; this . wasEscaped = new boolean [ text . length ( ) ] ; for ( int i = 0 ; i < text . length ( ) ; i ++ ) { this . chars [ i ] = text . charAt ( i ) ; this . wasEscaped [ i ] = false ; } } | public UnescapedCharSequence ( ICharSequence text ) { this . chars = new char [ text . Length ] ; this . wasEscaped = new bool [ text . Length ] ; for ( int i = 0 ; i < text . Length ; i ++ ) { this . chars [ i ] = text [ i ] ; this . wasEscaped [ i ] = false ; } } |
public DoubleBuffer put ( double [ ] src , int srcOffset , int doubleCount ) { byteBuffer . limit ( limit * SizeOf . DOUBLE ) ; byteBuffer . position ( position * SizeOf . DOUBLE ) ; if ( byteBuffer instanceof ReadWriteDirectByteBuffer ) { ( ( ReadWriteDirectByteBuffer ) byteBuffer ) . put ( src , srcOffset , doubleCou... | public override java . nio . DoubleBuffer put ( double [ ] src , int srcOffset , int doubleCount ) { byteBuffer . limit ( _limit * libcore . io . SizeOf . DOUBLE ) ; byteBuffer . position ( _position * libcore . io . SizeOf . DOUBLE ) ; if ( byteBuffer is java . nio . ReadWriteDirectByteBuffer ) { ( ( java . nio . Read... |
public void remove ( ) { throw new UnsupportedOperationException ( ) ; } | public virtual void remove ( ) { throw new System . NotSupportedException ( ) ; } |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[CHARTTITLEFORMAT]\n" ) ; buffer . append ( " .format_runs = " ) . append ( _formats . length ) . append ( "\n" ) ; for ( int i = 0 ; i < _formats . length ; i ++ ) { CTFormat ctf = _formats [ i ] ; buffer . append (... | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[ALRUNS]\n" ) ; buffer . Append ( " .format_runs = " ) . Append ( m_recs ) . Append ( "\n" ) ; int idx ; CTFormat ctf ; for ( idx = 0 ; idx < m_formats . Count ; idx ++ ) { ctf = ( CTFormat ) m_formats [ idx... |
public StartDominantLanguageDetectionJobResult startDominantLanguageDetectionJob ( StartDominantLanguageDetectionJobRequest request ) { request = beforeClientExecution ( request ) ; return executeStartDominantLanguageDetectionJob ( request ) ; } | public virtual StartDominantLanguageDetectionJobResponse StartDominantLanguageDetectionJob ( StartDominantLanguageDetectionJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartDominantLanguageDetectionJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartDomi... |
public static boolean hasNonConflictingAltSet ( Collection < BitSet > altsets ) { for ( BitSet alts : altsets ) { if ( alts . cardinality ( ) == 1 ) { return true ; } } return false ; } | public static bool HasNonConflictingAltSet ( IEnumerable < BitSet > altsets ) { foreach ( BitSet alts in altsets ) { if ( alts . Cardinality ( ) == 1 ) { return true ; } } return false ; } |
public ByteBuffer putChar ( int index , char value ) { return putShort ( index , ( short ) value ) ; } | public override java . nio . ByteBuffer putChar ( int index , char value ) { return putShort ( index , ( short ) value ) ; } |
public DataValidationConstraint createTextLengthConstraint ( int operatorType , String formula1 , String formula2 ) { return DVConstraint . createNumericConstraint ( ValidationType . TEXT_LENGTH , operatorType , formula1 , formula2 ) ; } | public IDataValidationConstraint CreateTextLengthConstraint ( int operatorType , String formula1 , String formula2 ) { return DVConstraint . CreateNumericConstraint ( ValidationType . TEXT_LENGTH , operatorType , formula1 , formula2 ) ; } |
public void writeShort ( int v ) { writeContinueIfRequired ( 2 ) ; _ulrOutput . writeShort ( v ) ; } | public void WriteShort ( int v ) { _out . WriteShort ( v ) ; _size += 2 ; } |
public final short getShort ( int index ) { checkIndex ( index , SizeOf . SHORT ) ; return Memory . peekShort ( backingArray , offset + index , order ) ; } | public sealed override short getShort ( int index ) { checkIndex ( index , libcore . io . SizeOf . SHORT ) ; return libcore . io . Memory . peekShort ( backingArray , offset + index , _order ) ; } |
public static FuncPtg create ( int functionIndex ) { FunctionMetadata fm = FunctionMetadataRegistry . getFunctionByIndex ( functionIndex ) ; if ( fm == null ) { throw new RuntimeException ( "Invalid built-in function index (" + functionIndex + ")" ) ; } return new FuncPtg ( functionIndex , fm ) ; } | public static FuncPtg Create ( int functionIndex ) { FunctionMetadata fm = FunctionMetadataRegistry . GetFunctionByIndex ( functionIndex ) ; if ( fm == null ) { throw new Exception ( "Invalid built-in function index (" + functionIndex + ")" ) ; } return new FuncPtg ( functionIndex , fm ) ; } |
public String toString ( ) { return "{" + ruleIndex + ":" + predIndex + "}?" ; } | public override string ToString ( ) { return "{" + ruleIndex + ":" + predIndex + "}?" ; } |
public ListDashboardsResult listDashboards ( ListDashboardsRequest request ) { request = beforeClientExecution ( request ) ; return executeListDashboards ( request ) ; } | public virtual ListDashboardsResponse ListDashboards ( ListDashboardsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListDashboardsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListDashboardsResponseUnmarshaller . Instance ; return Invoke < ListDashboardsRespons... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.