question stringlengths 33 1.59k | target stringlengths 33 1.58k |
|---|---|
public CreateKeyPairResult createKeyPair ( CreateKeyPairRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateKeyPair ( request ) ; } | public virtual CreateKeyPairResponse CreateKeyPair ( CreateKeyPairRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateKeyPairRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateKeyPairResponseUnmarshaller . Instance ; return Invoke < CreateKeyPairResponse > ( request , options ) ; } |
public DiffCommand setOldTree ( AbstractTreeIterator oldTree ) { this . oldTree = oldTree ; return this ; } | public virtual NGit . Api . DiffCommand SetOldTree ( AbstractTreeIterator oldTree ) { this . oldTree = oldTree ; return this ; } |
public GetDeploymentConfigResult getDeploymentConfig ( GetDeploymentConfigRequest request ) { request = beforeClientExecution ( request ) ; return executeGetDeploymentConfig ( request ) ; } | public virtual GetDeploymentConfigResponse GetDeploymentConfig ( GetDeploymentConfigRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetDeploymentConfigRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetDeploymentConfigResponseUnmarshaller . Instance ; return Invoke < GetDeploymentConfigResponse > ( request , options ) ; } |
public static void addNewSheetRecord ( List < RecordBase > sheetRecords , RecordBase newRecord ) { int index = findSheetInsertPos ( sheetRecords , newRecord . getClass ( ) ) ; sheetRecords . add ( index , newRecord ) ; } | public static void AddNewSheetRecord ( List < RecordBase > sheetRecords , RecordBase newRecord ) { int index = FindSheetInsertPos ( sheetRecords , newRecord . GetType ( ) ) ; sheetRecords . Insert ( index , newRecord ) ; } |
public final void restoreState ( State state ) { if ( state == null ) return ; do { AttributeImpl targetImpl = attributeImpls . get ( state . attribute . getClass ( ) ) ; if ( targetImpl == null ) { throw new IllegalArgumentException ( "State contains AttributeImpl of type " + state . attribute . getClass ( ) . getName ( ) + " that is not in in this AttributeSource" ) ; } state . attribute . copyTo ( targetImpl ) ; state = state . next ; } while ( state != null ) ; } | public void RestoreState ( State state ) { if ( state == null ) { return ; } do { if ( ! attributeImpls . ContainsKey ( state . attribute . GetType ( ) ) ) { throw new ArgumentException ( "State contains Attribute of type " + state . attribute . GetType ( ) . Name + " that is not in in this AttributeSource" ) ; } state . attribute . CopyTo ( attributeImpls [ state . attribute . GetType ( ) ] ) ; state = state . next ; } while ( state != null ) ; } |
public SendVoiceMessageResult sendVoiceMessage ( SendVoiceMessageRequest request ) { request = beforeClientExecution ( request ) ; return executeSendVoiceMessage ( request ) ; } | public virtual SendVoiceMessageResponse SendVoiceMessage ( SendVoiceMessageRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SendVoiceMessageRequestMarshaller . Instance ; options . ResponseUnmarshaller = SendVoiceMessageResponseUnmarshaller . Instance ; return Invoke < SendVoiceMessageResponse > ( request , options ) ; } |
public DescribeLoadBalancersResult describeLoadBalancers ( ) { return describeLoadBalancers ( new DescribeLoadBalancersRequest ( ) ) ; } | public virtual DescribeLoadBalancersResponse DescribeLoadBalancers ( ) { return DescribeLoadBalancers ( new DescribeLoadBalancersRequest ( ) ) ; } |
public DisassociateTransitGatewayRouteTableResult disassociateTransitGatewayRouteTable ( DisassociateTransitGatewayRouteTableRequest request ) { request = beforeClientExecution ( request ) ; return executeDisassociateTransitGatewayRouteTable ( request ) ; } | public virtual DisassociateTransitGatewayRouteTableResponse DisassociateTransitGatewayRouteTable ( DisassociateTransitGatewayRouteTableRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DisassociateTransitGatewayRouteTableRequestMarshaller . Instance ; options . ResponseUnmarshaller = DisassociateTransitGatewayRouteTableResponseUnmarshaller . Instance ; return Invoke < DisassociateTransitGatewayRouteTableResponse > ( request , options ) ; } |
public String segString ( Directory dir ) { StringBuilder b = new StringBuilder ( ) ; b . append ( "MergeSpec:\n" ) ; final int count = merges . size ( ) ; for ( int i = 0 ; i < count ; i ++ ) { b . append ( " " ) . append ( 1 + i ) . append ( ": " ) . append ( merges . get ( i ) . segString ( ) ) ; } return b . toString ( ) ; } | public virtual string SegString ( Directory dir ) { StringBuilder b = new StringBuilder ( ) ; b . Append ( "MergeSpec:\n" ) ; int count = Merges . Count ; for ( int i = 0 ; i < count ; i ++ ) { b . Append ( " " ) . Append ( 1 + i ) . Append ( ": " ) . Append ( Merges [ i ] . SegString ( dir ) ) ; } return b . ToString ( ) ; } |
public DetachNetworkInterfaceResult detachNetworkInterface ( DetachNetworkInterfaceRequest request ) { request = beforeClientExecution ( request ) ; return executeDetachNetworkInterface ( request ) ; } | public virtual DetachNetworkInterfaceResponse DetachNetworkInterface ( DetachNetworkInterfaceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DetachNetworkInterfaceRequestMarshaller . Instance ; options . ResponseUnmarshaller = DetachNetworkInterfaceResponseUnmarshaller . Instance ; return Invoke < DetachNetworkInterfaceResponse > ( request , options ) ; } |
public ObjectInserter newObjectInserter ( ) { return getObjectDatabase ( ) . newInserter ( ) ; } | public virtual ObjectInserter NewObjectInserter ( ) { return ObjectDatabase . NewInserter ( ) ; } |
public Class < ? extends Record > getRecordClass ( ) { return _c . getDeclaringClass ( ) ; } | public Type GetRecordClass ( ) { return _c . DeclaringType ; } |
public StringBufferInputStream ( String str ) { if ( str == null ) { throw new NullPointerException ( ) ; } buffer = str ; count = str . length ( ) ; } | public StringBufferInputStream ( string str ) { if ( str == null ) { throw new System . ArgumentNullException ( ) ; } buffer = str ; count = str . Length ; } |
public DeletedRef3DPtg ( LittleEndianInput in ) { field_1_index_extern_sheet = in . readUShort ( ) ; unused1 = in . readInt ( ) ; } | public DeletedRef3DPtg ( ILittleEndianInput in1 ) { field_1_index_extern_sheet = in1 . ReadUShort ( ) ; unused1 = in1 . ReadInt ( ) ; } |
public CellRangeAddress get ( int index ) { checkIndex ( index ) ; return _mergedRegions . get ( index ) ; } | public CellRangeAddress Get ( int index ) { CheckIndex ( index ) ; return ( CellRangeAddress ) _mergedRegions [ index ] ; } |
public boolean removePushRefSpec ( RefSpec s ) { return push . remove ( s ) ; } | public virtual bool RemovePushRefSpec ( RefSpec s ) { return push . Remove ( s ) ; } |
public CreateJobResult createJob ( CreateJobRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateJob ( request ) ; } | public virtual CreateJobResponse CreateJob ( CreateJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateJobResponseUnmarshaller . Instance ; return Invoke < CreateJobResponse > ( request , options ) ; } |
public CreateResourceResult createResource ( CreateResourceRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateResource ( request ) ; } | public virtual CreateResourceResponse CreateResource ( CreateResourceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateResourceRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateResourceResponseUnmarshaller . Instance ; return Invoke < CreateResourceResponse > ( request , options ) ; } |
public String log ( ) { return " (TERM = " + TERM + ")" + " (CT = " + CT + ")" + " (RV = " + RV + ")" + " (R1 = " + R1 + ")" + " (R2 = " + R2 + ")" ; } | public virtual string Log ( ) { return " (TERM = " + TERM + ")" + " (CT = " + CT + ")" + " (RV = " + RV + ")" + " (R1 = " + R1 + ")" + " (R2 = " + R2 + ")" ; } |
public VerifyDomainIdentityResult verifyDomainIdentity ( VerifyDomainIdentityRequest request ) { request = beforeClientExecution ( request ) ; return executeVerifyDomainIdentity ( request ) ; } | public virtual VerifyDomainIdentityResponse VerifyDomainIdentity ( VerifyDomainIdentityRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = VerifyDomainIdentityRequestMarshaller . Instance ; options . ResponseUnmarshaller = VerifyDomainIdentityResponseUnmarshaller . Instance ; return Invoke < VerifyDomainIdentityResponse > ( request , options ) ; } |
public void remove ( int index ) { checkIndex ( index ) ; _mergedRegions . remove ( index ) ; } | public void Remove ( int index ) { CheckIndex ( index ) ; _mergedRegions . RemoveAt ( index ) ; } |
public static org . apache . poi . hssf . record . Record [ ] createRecord ( RecordInputStream in ) { Record record = createSingleRecord ( in ) ; if ( record instanceof DBCellRecord ) { return new Record [ ] { null , } ; } if ( record instanceof RKRecord ) { return new Record [ ] { convertToNumberRecord ( ( RKRecord ) record ) , } ; } if ( record instanceof MulRKRecord ) { return convertRKRecords ( ( MulRKRecord ) record ) ; } return new Record [ ] { record , } ; } | public static Record [ ] CreateRecord ( RecordInputStream in1 ) { Record record = CreateSingleRecord ( in1 ) ; if ( record is DBCellRecord ) { return new Record [ ] { null , } ; } if ( record is RKRecord ) { return new Record [ ] { ConvertToNumberRecord ( ( RKRecord ) record ) , } ; } if ( record is MulRKRecord ) { return ConvertRKRecords ( ( MulRKRecord ) record ) ; } return new Record [ ] { record , } ; } |
public DeleteIpGroupResult deleteIpGroup ( DeleteIpGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteIpGroup ( request ) ; } | public virtual DeleteIpGroupResponse DeleteIpGroup ( DeleteIpGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteIpGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteIpGroupResponseUnmarshaller . Instance ; return Invoke < DeleteIpGroupResponse > ( request , options ) ; } |
public ValueEval evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval arg0 ) { double d ; try { ValueEval ve = OperandResolver . getSingleValue ( arg0 , srcRowIndex , srcColumnIndex ) ; d = OperandResolver . coerceValueToDouble ( ve ) ; } catch ( EvaluationException e ) { return e . getErrorEval ( ) ; } if ( d == 0.0 ) { return NumberEval . ZERO ; } return new NumberEval ( - d ) ; } | public override ValueEval Evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval arg0 ) { double d ; try { ValueEval ve = OperandResolver . GetSingleValue ( arg0 , srcRowIndex , srcColumnIndex ) ; d = OperandResolver . CoerceValueToDouble ( ve ) ; } catch ( EvaluationException e ) { return e . GetErrorEval ( ) ; } if ( d == 0.0 ) { return NumberEval . ZERO ; } return new NumberEval ( - d ) ; } |
public String toString ( ) { return "action_" + ruleIndex + ":" + actionIndex ; } | public override string ToString ( ) { return "action_" + ruleIndex + ":" + actionIndex ; } |
public StopFleetResult stopFleet ( StopFleetRequest request ) { request = beforeClientExecution ( request ) ; return executeStopFleet ( request ) ; } | public virtual StopFleetResponse StopFleet ( StopFleetRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StopFleetRequestMarshaller . Instance ; options . ResponseUnmarshaller = StopFleetResponseUnmarshaller . Instance ; return Invoke < StopFleetResponse > ( request , options ) ; } |
public String toString ( ) { return ( "TermStats: term=" + termtext . utf8ToString ( ) + " docFreq=" + docFreq + " totalTermFreq=" + totalTermFreq ) ; } | public override string ToString ( ) { return ( "TermStats: Term=" + termtext . Utf8ToString ( ) + " DocFreq=" + DocFreq + " TotalTermFreq=" + TotalTermFreq ) ; } |
final public Token getNextToken ( ) { if ( token . next != null ) token = token . next ; else token = token . next = token_source . getNextToken ( ) ; jj_ntk = - 1 ; jj_gen ++ ; return token ; } | public Token GetNextToken ( ) { if ( Token . Next != null ) Token = Token . Next ; else Token = Token . Next = TokenSource . GetNextToken ( ) ; jj_ntk = - 1 ; jj_gen ++ ; return Token ; } |
public GetLabelDetectionResult getLabelDetection ( GetLabelDetectionRequest request ) { request = beforeClientExecution ( request ) ; return executeGetLabelDetection ( request ) ; } | public virtual GetLabelDetectionResponse GetLabelDetection ( GetLabelDetectionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetLabelDetectionRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetLabelDetectionResponseUnmarshaller . Instance ; return Invoke < GetLabelDetectionResponse > ( request , options ) ; } |
public synchronized IndexCommit getIndexCommit ( long gen ) { return indexCommits . get ( gen ) ; } | public virtual IndexCommit GetIndexCommit ( long gen ) { lock ( this ) { return m_indexCommits [ gen ] ; } } |
public ListMetricsResult listMetrics ( ListMetricsRequest request ) { request = beforeClientExecution ( request ) ; return executeListMetrics ( request ) ; } | public virtual ListMetricsResponse ListMetrics ( ListMetricsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListMetricsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListMetricsResponseUnmarshaller . Instance ; return Invoke < ListMetricsResponse > ( request , options ) ; } |
public void delete ( ) { throw new UnsupportedOperationException ( "This IndexCommit does not support deletions" ) ; } | public override void Delete ( ) { throw new NotSupportedException ( "this IndexCommit does not support deletions" ) ; } |
public ByteBuffer putChar ( int index , char value ) { checkIndex ( index , SizeOf . CHAR ) ; Memory . pokeShort ( backingArray , offset + index , ( short ) value , order ) ; return this ; } | public override java . nio . ByteBuffer putChar ( int index , char value ) { checkIndex ( index , libcore . io . SizeOf . CHAR ) ; libcore . io . Memory . pokeShort ( backingArray , offset + index , ( short ) value , _order ) ; return this ; } |
public CreateBasePathMappingResult createBasePathMapping ( CreateBasePathMappingRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateBasePathMapping ( request ) ; } | public virtual CreateBasePathMappingResponse CreateBasePathMapping ( CreateBasePathMappingRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateBasePathMappingRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateBasePathMappingResponseUnmarshaller . Instance ; return Invoke < CreateBasePathMappingResponse > ( request , options ) ; } |
public synchronized StringBuffer insert ( int index , CharSequence s ) { insert0 ( index , s == null ? "null" : s . toString ( ) ) ; return this ; } | public java . lang . StringBuffer insert ( int index , char [ ] chars ) { lock ( this ) { insert0 ( index , chars ) ; return this ; } } |
public DescribeDBInstancesResult describeDBInstances ( DescribeDBInstancesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeDBInstances ( request ) ; } | public virtual DescribeDBInstancesResponse DescribeDBInstances ( DescribeDBInstancesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeDBInstancesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeDBInstancesResponseUnmarshaller . Instance ; return Invoke < DescribeDBInstancesResponse > ( request , options ) ; } |
public ValueEval evaluate ( ValueEval [ ] args , int srcRowIndex , int srcColumnIndex ) { switch ( args . length ) { case 2 : return evaluate ( srcRowIndex , srcColumnIndex , args [ 0 ] , args [ 1 ] ) ; case 3 : return evaluate ( srcRowIndex , srcColumnIndex , args [ 0 ] , args [ 1 ] , args [ 2 ] ) ; case 4 : return evaluate ( srcRowIndex , srcColumnIndex , args [ 0 ] , args [ 1 ] , args [ 2 ] , args [ 3 ] ) ; } return ErrorEval . VALUE_INVALID ; } | public ValueEval Evaluate ( ValueEval [ ] args , int srcRowIndex , int srcColumnIndex ) { switch ( args . Length ) { case 2 : return Evaluate ( srcRowIndex , srcColumnIndex , args [ 0 ] , args [ 1 ] ) ; case 3 : return Evaluate ( srcRowIndex , srcColumnIndex , args [ 0 ] , args [ 1 ] , args [ 2 ] ) ; case 4 : return Evaluate ( srcRowIndex , srcColumnIndex , args [ 0 ] , args [ 1 ] , args [ 2 ] , args [ 3 ] ) ; } return ErrorEval . VALUE_INVALID ; } |
@ Override public boolean add ( E object ) { throw new UnsupportedOperationException ( ) ; } | public virtual bool add ( E @ object ) { throw new System . NotSupportedException ( ) ; } |
public Collection < TrackingRefUpdate > getTrackingRefUpdates ( ) { return Collections . unmodifiableCollection ( updates . values ( ) ) ; } | public virtual ICollection < TrackingRefUpdate > GetTrackingRefUpdates ( ) { return Sharpen . Collections . UnmodifiableCollection ( updates . Values ) ; } |
public ConfirmProductInstanceRequest ( String productCode , String instanceId ) { setProductCode ( productCode ) ; setInstanceId ( instanceId ) ; } | public ConfirmProductInstanceRequest ( string productCode , string instanceId ) { _productCode = productCode ; _instanceId = instanceId ; } |
public AnalyzerFactory ( List < CharFilterFactory > charFilterFactories , TokenizerFactory tokenizerFactory , List < TokenFilterFactory > tokenFilterFactories ) { this . charFilterFactories = charFilterFactories ; assert null != tokenizerFactory ; this . tokenizerFactory = tokenizerFactory ; this . tokenFilterFactories = tokenFilterFactories ; } | public AnalyzerFactory ( IList < CharFilterFactory > charFilterFactories , TokenizerFactory tokenizerFactory , IList < TokenFilterFactory > tokenFilterFactories ) { this . charFilterFactories = charFilterFactories ; Debug . Assert ( null != tokenizerFactory ) ; this . tokenizerFactory = tokenizerFactory ; this . tokenFilterFactories = tokenFilterFactories ; } |
public DeleteRestApiResult deleteRestApi ( DeleteRestApiRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteRestApi ( request ) ; } | public virtual DeleteRestApiResponse DeleteRestApi ( DeleteRestApiRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteRestApiRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteRestApiResponseUnmarshaller . Instance ; return Invoke < DeleteRestApiResponse > ( request , options ) ; } |
public final ByteBuffer put ( byte [ ] src ) { return put ( src , 0 , src . length ) ; } | public java . nio . ByteBuffer put ( byte [ ] src ) { return put ( src , 0 , src . Length ) ; } |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[PROT4REV]\n" ) ; buffer . append ( " .options = " ) . append ( HexDump . shortToHex ( _options ) ) . append ( "\n" ) ; buffer . append ( "[/PROT4REV]\n" ) ; return buffer . toString ( ) ; } | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[PROT4REV]\n" ) ; buffer . Append ( " .protect = " ) . Append ( Protect ) . Append ( "\n" ) ; buffer . Append ( "[/PROT4REV]\n" ) ; return buffer . ToString ( ) ; } |
public void setTokenSeparator ( String tokenSeparator ) { this . tokenSeparator = null == tokenSeparator ? "" : tokenSeparator ; } | public void SetTokenSeparator ( string tokenSeparator ) { this . tokenSeparator = null == tokenSeparator ? "" : tokenSeparator ; } |
@ Override public ListIterator < E > listIterator ( ) { synchronized ( mutex ) { return list . listIterator ( ) ; } } | public virtual java . util . ListIterator < E > listIterator ( ) { lock ( mutex ) { return list . listIterator ( ) ; } } |
public FileOutputStream ( File file ) throws FileNotFoundException { this ( file , false ) ; } | public FileOutputStream ( java . io . File file ) : this ( file , false ) { throw new System . NotImplementedException ( ) ; } |
public SetInstanceHealthResult setInstanceHealth ( SetInstanceHealthRequest request ) { request = beforeClientExecution ( request ) ; return executeSetInstanceHealth ( request ) ; } | public virtual SetInstanceHealthResponse SetInstanceHealth ( SetInstanceHealthRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SetInstanceHealthRequestMarshaller . Instance ; options . ResponseUnmarshaller = SetInstanceHealthResponseUnmarshaller . Instance ; return Invoke < SetInstanceHealthResponse > ( request , options ) ; } |
public boolean isUnderflow ( ) { return this . type == TYPE_UNDERFLOW ; } | public virtual bool isUnderflow ( ) { return this . type == TYPE_UNDERFLOW ; } |
public PutRecordsResult putRecords ( PutRecordsRequest request ) { request = beforeClientExecution ( request ) ; return executePutRecords ( request ) ; } | public virtual PutRecordsResponse PutRecords ( PutRecordsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutRecordsRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutRecordsResponseUnmarshaller . Instance ; return Invoke < PutRecordsResponse > ( request , options ) ; } |
public synchronized boolean isIndeterminate ( ) { return mIndeterminate ; } | public virtual bool isIndeterminate ( ) { lock ( this ) { return mIndeterminate ; } } |
public NavigableMap < K , V > headMap ( K toExclusive ) { return subMap ( null , NO_BOUND , toExclusive , EXCLUSIVE ) ; } | public java . util . NavigableMap < K , V > headMap ( K toExclusive ) { return this . subMap ( default ( K ) , java . util . TreeMap . Bound . NO_BOUND , toExclusive , java . util . TreeMap . Bound . EXCLUSIVE ) ; } |
public final boolean updateValue ( ValueEval value ) { if ( value == null ) { throw new IllegalArgumentException ( "Did not expect to update to null" ) ; } boolean result = ! areValuesEqual ( _value , value ) ; _value = value ; return result ; } | public bool UpdateValue ( ValueEval value ) { if ( value == null ) { throw new ArgumentException ( "Did not expect To Update To null" ) ; } bool result = ! AreValuesEqual ( _value , value ) ; _value = value ; return result ; } |
public ListTablesResult listTables ( ) { return listTables ( new ListTablesRequest ( ) ) ; } | public virtual ListTablesResponse ListTables ( ) { return ListTables ( new ListTablesRequest ( ) ) ; } |
public ValueEval evaluate ( ValueEval [ ] args , OperationEvaluationContext ec ) { if ( args . length != 1 ) { return ErrorEval . VALUE_INVALID ; } int val ; try { val = evaluateArgParity ( args [ 0 ] , ec . getRowIndex ( ) , ec . getColumnIndex ( ) ) ; } catch ( EvaluationException e ) { return e . getErrorEval ( ) ; } return BoolEval . valueOf ( val == _desiredParity ) ; } | public ValueEval Evaluate ( ValueEval [ ] args , OperationEvaluationContext ec ) { if ( args . Length != 1 ) { return ErrorEval . VALUE_INVALID ; } int val ; try { val = EvaluateArgParity ( args [ 0 ] , ec . RowIndex , ec . ColumnIndex ) ; } catch ( EvaluationException e ) { return e . GetErrorEval ( ) ; } return BoolEval . ValueOf ( val == _desiredParity ) ; } |
public char charAt ( int index ) { return ( char ) ( buffer [ startPtr + index ] & 0xff ) ; } | public char CharAt ( int index ) { return ( char ) ( buffer [ startPtr + index ] & unchecked ( ( int ) ( 0xff ) ) ) ; } |
public CFHeaderRecord ( CellRangeAddress [ ] regions , int nRules ) { super ( regions , nRules ) ; } | public CFHeaderRecord ( CellRangeAddress [ ] regions , int nRules ) { CellRangeAddress [ ] unmergedRanges = regions ; CellRangeAddress [ ] mergeCellRanges = CellRangeUtil . MergeCellRanges ( unmergedRanges ) ; CellRanges = mergeCellRanges ; field_1_numcf = nRules ; } |
public LayoutParams ( int width , int height ) { super ( width , height ) ; } | public LayoutParams ( int width , int height ) : base ( width , height ) { weight = 0 ; } |
public String toString ( ) { return "FormatAndBits(format=" + format + " bitsPerValue=" + bitsPerValue + ")" ; } | public override string ToString ( ) { return "FormatAndBits(format=" + Format + " bitsPerValue=" + BitsPerValue + ")" ; } |
final public SrndQuery TopSrndQuery ( ) throws ParseException { SrndQuery q ; q = FieldsQuery ( ) ; jj_consume_token ( 0 ) ; { if ( true ) return q ; } throw new Error ( "Missing return statement in function" ) ; } | public SrndQuery TopSrndQuery ( ) { SrndQuery q ; q = FieldsQuery ( ) ; Jj_consume_token ( 0 ) ; { if ( true ) return q ; } throw new Exception ( "Missing return statement in function" ) ; } |
public final ObjectId copy ( ) { if ( getClass ( ) == ObjectId . class ) return ( ObjectId ) this ; return new ObjectId ( this ) ; } | public ObjectId Copy ( ) { if ( GetType ( ) == typeof ( ObjectId ) ) { return ( ObjectId ) this ; } return new ObjectId ( this ) ; } |
public DescribeReservedCacheNodesResult describeReservedCacheNodes ( ) { return describeReservedCacheNodes ( new DescribeReservedCacheNodesRequest ( ) ) ; } | public virtual DescribeReservedCacheNodesResponse DescribeReservedCacheNodes ( ) { return DescribeReservedCacheNodes ( new DescribeReservedCacheNodesRequest ( ) ) ; } |
public StringBuilder append ( char [ ] chars ) { append0 ( chars ) ; return this ; } | public java . lang . StringBuilder append ( char [ ] chars ) { append0 ( chars ) ; return this ; } |
public final boolean matches ( char c ) { return start <= c && c <= end ; } | public bool Matches ( char c ) { return start <= c && c <= end ; } |
public DetachVolumeRequest ( String volumeId ) { setVolumeId ( volumeId ) ; } | public DetachVolumeRequest ( string volumeId ) { _volumeId = volumeId ; } |
public final PersonIdent getCommitterIdent ( ) { final byte [ ] raw = buffer ; final int nameB = RawParseUtils . committer ( raw , 0 ) ; if ( nameB < 0 ) return null ; return RawParseUtils . parsePersonIdent ( raw , nameB ) ; } | public PersonIdent GetCommitterIdent ( ) { byte [ ] raw = buffer ; int nameB = RawParseUtils . Committer ( raw , 0 ) ; if ( nameB < 0 ) { return null ; } return RawParseUtils . ParsePersonIdent ( raw , nameB ) ; } |
public SnowballPorterFilterFactory ( Map < String , String > args ) { super ( args ) ; language = get ( args , "language" , "English" ) ; wordFiles = get ( args , PROTECTED_TOKENS ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } } | public SnowballPorterFilterFactory ( IDictionary < string , string > args ) : base ( args ) { language = Get ( args , "language" , "English" ) ; wordFiles = Get ( args , PROTECTED_TOKENS ) ; if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } } |
public String toFormulaString ( String [ ] operands ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( operands [ 0 ] ) ; buffer . append ( "=" ) ; buffer . append ( operands [ 1 ] ) ; return buffer . toString ( ) ; } | public override String ToFormulaString ( String [ ] operands ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( operands [ 0 ] ) ; buffer . Append ( "=" ) ; buffer . Append ( operands [ 1 ] ) ; return buffer . ToString ( ) ; } |
public String getType ( int script , int ruleStatus ) { switch ( ruleStatus ) { case RuleBasedBreakIterator . WORD_IDEO : return WORD_IDEO ; case RuleBasedBreakIterator . WORD_KANA : return script == UScript . HIRAGANA ? WORD_HIRAGANA : WORD_KATAKANA ; case RuleBasedBreakIterator . WORD_LETTER : return script == UScript . HANGUL ? WORD_HANGUL : WORD_LETTER ; case RuleBasedBreakIterator . WORD_NUMBER : return WORD_NUMBER ; case EMOJI_SEQUENCE_STATUS : return WORD_EMOJI ; default : return "<OTHER>" ; } } | public override string GetType ( int script , int ruleStatus ) { switch ( ruleStatus ) { case BreakIterator . WordIdeo : return WORD_IDEO ; case BreakIterator . WordKana : return script == UScript . Hiragana ? WORD_HIRAGANA : WORD_KATAKANA ; case BreakIterator . WordLetter : return script == UScript . Hangul ? WORD_HANGUL : WORD_LETTER ; case BreakIterator . WordNumber : return WORD_NUMBER ; default : return "<OTHER>" ; } } |
public static TopDocs merge ( int start , int topN , TopDocs [ ] shardHits ) { return mergeAux ( null , start , topN , shardHits , DEFAULT_TIE_BREAKER ) ; } | public static TopDocs Merge ( Sort sort , int topN , TopDocs [ ] shardHits ) { return Merge ( sort , 0 , topN , shardHits ) ; } |
public EnableDomainTransferLockResult enableDomainTransferLock ( EnableDomainTransferLockRequest request ) { request = beforeClientExecution ( request ) ; return executeEnableDomainTransferLock ( request ) ; } | public virtual EnableDomainTransferLockResponse EnableDomainTransferLock ( EnableDomainTransferLockRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = EnableDomainTransferLockRequestMarshaller . Instance ; options . ResponseUnmarshaller = EnableDomainTransferLockResponseUnmarshaller . Instance ; return Invoke < EnableDomainTransferLockResponse > ( request , options ) ; } |
public DeleteConfigurationProfileResult deleteConfigurationProfile ( DeleteConfigurationProfileRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteConfigurationProfile ( request ) ; } | public virtual DeleteConfigurationProfileResponse DeleteConfigurationProfile ( DeleteConfigurationProfileRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteConfigurationProfileRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteConfigurationProfileResponseUnmarshaller . Instance ; return Invoke < DeleteConfigurationProfileResponse > ( request , options ) ; } |
public DescribeExpressionsResult describeExpressions ( DescribeExpressionsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeExpressions ( request ) ; } | public virtual DescribeExpressionsResponse DescribeExpressions ( DescribeExpressionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeExpressionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeExpressionsResponseUnmarshaller . Instance ; return Invoke < DescribeExpressionsResponse > ( request , options ) ; } |
public Ptg [ ] getResult ( ) { return _ptgs ; } | public Ptg [ ] GetResult ( ) { return _ptgs ; } |
public GetDistributionConfigResult getDistributionConfig ( GetDistributionConfigRequest request ) { request = beforeClientExecution ( request ) ; return executeGetDistributionConfig ( request ) ; } | public virtual GetDistributionConfigResponse GetDistributionConfig ( GetDistributionConfigRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetDistributionConfigRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetDistributionConfigResponseUnmarshaller . Instance ; return Invoke < GetDistributionConfigResponse > ( request , options ) ; } |
public ShortBuffer get ( short [ ] dst ) { return get ( dst , 0 , dst . length ) ; } | public virtual java . nio . ShortBuffer get ( short [ ] dst ) { return get ( dst , 0 , dst . Length ) ; } |
public GetMetricWidgetImageResult getMetricWidgetImage ( GetMetricWidgetImageRequest request ) { request = beforeClientExecution ( request ) ; return executeGetMetricWidgetImage ( request ) ; } | public virtual GetMetricWidgetImageResponse GetMetricWidgetImage ( GetMetricWidgetImageRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetMetricWidgetImageRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetMetricWidgetImageResponseUnmarshaller . Instance ; return Invoke < GetMetricWidgetImageResponse > ( request , options ) ; } |
public UpdateVoiceConnectorGroupResult updateVoiceConnectorGroup ( UpdateVoiceConnectorGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateVoiceConnectorGroup ( request ) ; } | public virtual UpdateVoiceConnectorGroupResponse UpdateVoiceConnectorGroup ( UpdateVoiceConnectorGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateVoiceConnectorGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateVoiceConnectorGroupResponseUnmarshaller . Instance ; return Invoke < UpdateVoiceConnectorGroupResponse > ( request , options ) ; } |
public void add ( SortField sortField ) { map . put ( sortField . getField ( ) , sortField ) ; } | public void Add ( SortField sortField ) { map [ sortField . Field ] = sortField ; } |
public Daemon getDaemon ( ) { return daemon ; } | public virtual Daemon GetDaemon ( ) { return daemon ; } |
public CreateVpcPeeringConnectionResult createVpcPeeringConnection ( CreateVpcPeeringConnectionRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateVpcPeeringConnection ( request ) ; } | public virtual CreateVpcPeeringConnectionResponse CreateVpcPeeringConnection ( CreateVpcPeeringConnectionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateVpcPeeringConnectionRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateVpcPeeringConnectionResponseUnmarshaller . Instance ; return Invoke < CreateVpcPeeringConnectionResponse > ( request , options ) ; } |
public String toFormulaString ( String [ ] operands ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( operands [ 0 ] ) ; buffer . append ( "*" ) ; buffer . append ( operands [ 1 ] ) ; return buffer . toString ( ) ; } | public override String ToFormulaString ( String [ ] operands ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( operands [ 0 ] ) ; buffer . Append ( "*" ) ; buffer . Append ( operands [ 1 ] ) ; return buffer . ToString ( ) ; } |
public DescribeExclusionsResult describeExclusions ( DescribeExclusionsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeExclusions ( request ) ; } | public virtual DescribeExclusionsResponse DescribeExclusions ( DescribeExclusionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeExclusionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeExclusionsResponseUnmarshaller . Instance ; return Invoke < DescribeExclusionsResponse > ( request , options ) ; } |
public SearchNetworkProfilesResult searchNetworkProfiles ( SearchNetworkProfilesRequest request ) { request = beforeClientExecution ( request ) ; return executeSearchNetworkProfiles ( request ) ; } | public virtual SearchNetworkProfilesResponse SearchNetworkProfiles ( SearchNetworkProfilesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SearchNetworkProfilesRequestMarshaller . Instance ; options . ResponseUnmarshaller = SearchNetworkProfilesResponseUnmarshaller . Instance ; return Invoke < SearchNetworkProfilesResponse > ( request , options ) ; } |
public LooseRef peel ( ObjectIdRef newLeaf ) { throw new UnsupportedOperationException ( ) ; } | public RefDirectory . LooseRef Peel ( ObjectIdRef newLeaf ) { throw new NGit . Errors . NotSupportedException ( ) ; } |
public void println ( float f ) { println ( String . valueOf ( f ) ) ; } | public virtual void println ( float f ) { println ( f . ToString ( ) ) ; } |
public PurchaseReservedInstancesOfferingRequest ( String reservedInstancesOfferingId , Integer instanceCount ) { setReservedInstancesOfferingId ( reservedInstancesOfferingId ) ; setInstanceCount ( instanceCount ) ; } | public PurchaseReservedInstancesOfferingRequest ( string reservedInstancesOfferingId , int instanceCount ) { _reservedInstancesOfferingId = reservedInstancesOfferingId ; _instanceCount = instanceCount ; } |
public Set < String > getUntracked ( ) { return Collections . unmodifiableSet ( diff . getUntracked ( ) ) ; } | public virtual ICollection < string > GetUntracked ( ) { return Sharpen . Collections . UnmodifiableSet ( diff . GetUntracked ( ) ) ; } |
public String getTag ( ) { return tag ; } | public virtual string GetTag ( ) { return tag ; } |
public void buildFieldConfig ( FieldConfig fieldConfig ) { DateTools . Resolution dateRes = null ; Map < CharSequence , DateTools . Resolution > dateResMap = this . config . get ( ConfigurationKeys . FIELD_DATE_RESOLUTION_MAP ) ; if ( dateResMap != null ) { dateRes = dateResMap . get ( fieldConfig . getField ( ) ) ; } if ( dateRes == null ) { dateRes = this . config . get ( ConfigurationKeys . DATE_RESOLUTION ) ; } if ( dateRes != null ) { fieldConfig . set ( ConfigurationKeys . DATE_RESOLUTION , dateRes ) ; } } | public virtual void BuildFieldConfig ( FieldConfig fieldConfig ) { DateTools . Resolution ? dateRes = null ; IDictionary < string , DateTools . Resolution ? > dateResMap = this . config . Get ( ConfigurationKeys . FIELD_DATE_RESOLUTION_MAP ) ; if ( dateResMap != null ) { dateResMap . TryGetValue ( fieldConfig . Field , out dateRes ) ; } if ( dateRes == null ) { dateRes = this . config . Get ( ConfigurationKeys . DATE_RESOLUTION ) ; } if ( dateRes != null ) { fieldConfig . Set ( ConfigurationKeys . DATE_RESOLUTION , dateRes . Value ) ; } } |
public String toFormulaString ( ) { return String . valueOf ( getValue ( ) ) ; } | public override String ToFormulaString ( ) { return Value . ToString ( CultureInfo . InvariantCulture ) ; } |
public Bits getAllGroupHeads ( ) { return matchingGroupHeads ; } | public virtual IBits GetAllGroupHeads ( ) { return matchingGroupHeads ; } |
public int serialize ( int offset , byte [ ] data , EscherSerializationListener listener ) { listener . beforeRecordSerialize ( offset , getRecordId ( ) , this ) ; int pos = offset ; LittleEndian . putShort ( data , pos , getOptions ( ) ) ; pos += 2 ; LittleEndian . putShort ( data , pos , getRecordId ( ) ) ; pos += 2 ; int remainingBytes = getRecordSize ( ) - 8 ; LittleEndian . putInt ( data , pos , remainingBytes ) ; pos += 4 ; LittleEndian . putInt ( data , pos , field_1_color1 ) ; pos += 4 ; LittleEndian . putInt ( data , pos , field_2_color2 ) ; pos += 4 ; LittleEndian . putInt ( data , pos , field_3_color3 ) ; pos += 4 ; LittleEndian . putInt ( data , pos , field_4_color4 ) ; pos += 4 ; listener . afterRecordSerialize ( pos , getRecordId ( ) , pos - offset , this ) ; return getRecordSize ( ) ; } | public override int Serialize ( int offset , byte [ ] data , EscherSerializationListener listener ) { listener . BeforeRecordSerialize ( offset , RecordId , this ) ; int pos = offset ; LittleEndian . PutShort ( data , pos , Options ) ; pos += 2 ; LittleEndian . PutShort ( data , pos , RecordId ) ; pos += 2 ; int remainingBytes = RecordSize - 8 ; LittleEndian . PutInt ( data , pos , remainingBytes ) ; pos += 4 ; LittleEndian . PutInt ( data , pos , field_1_color1 ) ; pos += 4 ; LittleEndian . PutInt ( data , pos , field_2_color2 ) ; pos += 4 ; LittleEndian . PutInt ( data , pos , field_3_color3 ) ; pos += 4 ; LittleEndian . PutInt ( data , pos , field_4_color4 ) ; pos += 4 ; listener . AfterRecordSerialize ( pos , RecordId , pos - offset , this ) ; return RecordSize ; } |
public boolean add ( E object ) { return backingMap . put ( object , Boolean . TRUE ) == null ; } | public override bool add ( E @ object ) { return backingMap . put ( @ object , true ) == null ; } |
public void setBinaryFileThreshold ( int threshold ) { this . binaryFileThreshold = threshold ; } | public virtual void SetBinaryFileThreshold ( int threshold ) { this . binaryFileThreshold = threshold ; } |
public void setParams ( String params ) { super . setParams ( params ) ; pauseMSec = ( long ) ( 1000.0 * Float . parseFloat ( params ) ) ; } | public override void SetParams ( string @ params ) { base . SetParams ( @ params ) ; pauseMSec = ( long ) ( 1000.0 * float . Parse ( @ params , CultureInfo . InvariantCulture ) ) ; } |
public PerfTask ( PerfRunData runData ) { this ( ) ; this . runData = runData ; Config config = runData . getConfig ( ) ; this . maxDepthLogStart = config . get ( "task.max.depth.log" , 0 ) ; String logStepAtt = "log.step" ; String taskLogStepAtt = "log.step." + name ; if ( config . get ( taskLogStepAtt , null ) != null ) { logStepAtt = taskLogStepAtt ; } logStep = config . get ( logStepAtt , DEFAULT_LOG_STEP ) ; if ( logStep <= 0 ) { logStep = Integer . MAX_VALUE ; } } | public PerfTask ( PerfRunData runData ) : this ( ) { this . runData = runData ; Config config = runData . Config ; this . maxDepthLogStart = config . Get ( "task.max.depth.log" , 0 ) ; string logStepAtt = "log.step" ; string taskLogStepAtt = "log.step." + name ; if ( config . Get ( taskLogStepAtt , null ) != null ) { logStepAtt = taskLogStepAtt ; } m_logStep = config . Get ( logStepAtt , DEFAULT_LOG_STEP ) ; if ( m_logStep <= 0 ) { m_logStep = int . MaxValue ; } } |
public void setMBPerSec ( double mbPerSec ) { this . mbPerSec = mbPerSec ; minPauseCheckBytes = ( long ) ( ( MIN_PAUSE_CHECK_MSEC / 1000.0 ) * mbPerSec * 1024 * 1024 ) ; } | public override void SetMbPerSec ( double mbPerSec ) { this . mbPerSec = mbPerSec ; if ( mbPerSec == 0 ) nsPerByte = 0 ; elsensPerByte = 1000000000.0 / ( 1024 * 1024 * mbPerSec ) ; } |
public ConfirmSubscriptionRequest ( String topicArn , String token , String authenticateOnUnsubscribe ) { setTopicArn ( topicArn ) ; setToken ( token ) ; setAuthenticateOnUnsubscribe ( authenticateOnUnsubscribe ) ; } | public ConfirmSubscriptionRequest ( string topicArn , string token , string authenticateOnUnsubscribe ) { _topicArn = topicArn ; _token = token ; _authenticateOnUnsubscribe = authenticateOnUnsubscribe ; } |
public String getHostName ( ) { return hostName ; } | public virtual string GetHostName ( ) { return hostName ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.