code stringlengths 20 663 | nl stringlengths 68 7.19k |
|---|---|
String function ( final String arg0 ) { if ( ! TextUtils . isEmpty ( arg0 ) && arg0 . length ( ) > LENGTH ) return arg0 . substring ( 0 , LENGTH ) ; else return arg0 ; } | abbreviate sha to default length if longer concode_field_sep int LENGTH concode_elem_sep NumberFormat FORMAT concode_field_sep Date getAuthorDate concode_elem_sep String getName concode_elem_sep String getName concode_elem_sep String getCommentCount concode_elem_sep String getAuthor concode_elem_sep Date getCommitterDa... |
boolean function ( final String arg0 ) { return ( arg0 != null && arg0 . startsWith ( "srini_string" ) ) ; } | returns true if passed url is https : concode_field_sep PlaceHolder placeHolder concode_field_sep String appendUrlParameter concode_elem_sep String removeScheme concode_elem_sep boolean isImageUrl concode_elem_sep String urlDecode concode_elem_sep String getUrlMimeType concode_elem_sep String makeHttps concode_elem_sep... |
Object function ( ) { synchronized ( m_Head ) { Object loc0 = null ; LinkedNode loc1 = m_Head . m_NextNode ; if ( loc1 != null ) { loc0 = loc1 . m_Node ; loc1 . m_Node = null ; m_Head = loc1 ; } return loc0 ; } } | main mechanics for take/pollinterval concode_field_sep LinkedNode m_Tail concode_elem_sep Object m_PutLock concode_elem_sep int m_WaitingForTake concode_elem_sep LinkedNode m_Head concode_field_sep boolean offer concode_elem_sep Object take concode_elem_sep boolean isEmpty concode_elem_sep void insert concode_elem_sep ... |
boolean function ( ) { if ( isActive == null ) { return true ; } else { return isActive ; } } | gets the value of the isactive property . concode_field_sep String trainId concode_elem_sep String trainCat concode_elem_sep XMLGregorianCalendar ssd concode_elem_sep String toc concode_elem_sep String rid concode_elem_sep Boolean isActive concode_elem_sep String uid concode_elem_sep Boolean deleted concode_elem_sep Bo... |
boolean function ( ) { if ( peers == null ) return false ; else return peers . isRunning ( ) ; } | return true if the service is running . it doest ' t mean we are connected . we might be without internet access but the service still running . concode_field_sep ErrorManager errorManager concode_elem_sep Thread agentThread concode_elem_sep NetworkParameters networkParameters concode_elem_sep Wallet wallet concode_ele... |
void function ( ) { try { state . checkTimeRegulation ( ) ; } catch ( JEnableTimeRegulationPending loc0 ) { throw new EnableTimeRegulationPending ( loc0 . getMessage ( ) ) ; } } | check to see if there is a time regulation enable pending . if there is , throw an exception concode_field_sep FederateAmbassador federateAmbassador concode_elem_sep LRCState state concode_elem_sep LRC lrc concode_field_sep FederateAmbassador getFederateAmbassador concode_elem_sep void setFederateAmbassador concode_ele... |
void function ( Long arg0 ) { this . distR = arg0 ; } | sets the value of the distr property . concode_field_sep CTPositiveSize2D extent concode_elem_sep Object parent concode_elem_sep CTNonVisualGraphicFrameProperties cNvGraphicFramePr concode_elem_sep CTEffectExtent effectExtent concode_elem_sep Long distL concode_elem_sep Long distT concode_elem_sep Graphic graphic conco... |
int function ( String arg0 ) { try { Field loc0 = PooledByteBufAllocator . DEFAULT . getClass ( ) . getDeclaredField ( arg0 ) ; loc0 . setAccessible ( true ) ; return loc0 . getInt ( null ) ; } catch ( Exception loc0 ) { throw new RuntimeException ( loc0 ) ; } } | used to get defaults from netty 's private static fields . concode_field_sep PlaceHolder placeHolder concode_field_sep PooledByteBufAllocator createPooledByteBufAllocator concode_elem_sep ByteToMessageDecoder createFrameDecoder concode_elem_sep EventLoopGroup createEventLoop concode_elem_sep ThreadFactory createThreadF... |
String function ( ) { return m_itemName ; } | gets item name concode_field_sep HashMap<String,String> m_parameters concode_elem_sep InsteonPLMActiveBinding m_binding concode_elem_sep String m_itemName concode_elem_sep EventPublisher m_eventPublisher concode_elem_sep int TIME_DELAY_POLL_RELATED_MSEC concode_elem_sep Logger logger concode_elem_sep ArrayList<InsteonA... |
Object function ( ) { return data ; } | use this to retrieve additional information associated to this node . concode_field_sep int ABSOLUTE_END_LINE concode_elem_sep List<Node> childrenNodes concode_elem_sep int ABSOLUTE_BEGIN_LINE concode_elem_sep Object data concode_elem_sep Range range concode_elem_sep Comment comment concode_elem_sep Node parentNode con... |
void function ( int arg0 , int arg1 , int arg2 , int arg3 , ColorModel arg4 , int arg5 [ ] , int arg6 , int arg7 ) { consumer . setPixels ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 ) ; } | filters the information provided in the setpixels method of the imageconsumer interface which takes an array of integers . note : this method is intended to be called by the imageproducer of the image whose pixels are being filtered . developers using this class to filter pixels from an image should avoid calling this ... |
void function ( @ Nonnull @ WillClose final OutputStream arg0 ) { renderTo ( ( IPDDocumentCustomizer ) null , arg0 ) ; } | render this layout to an outputstream . concode_field_sep boolean m_bDebug concode_elem_sep String m_sDocumentAuthor concode_elem_sep Calendar m_aDocumentCreationDate concode_elem_sep String m_sDocumentTitle concode_elem_sep String m_sDocumentKeywords concode_elem_sep String m_sDocumentSubject concode_elem_sep List<PLP... |
T function ( @ Nonnull final HttpRequestBase arg0 , @ Nonnull final ResponseHandler < T > arg1 ) { final HttpContext loc0 = HttpClientHelper . createHttpContext ( m_aProxy , m_aProxyCredentials ) ; return m_aHttpClientMgr . execute ( arg0 , loc0 , arg1 ) ; } | the main execution routine . overwrite this method to add additional properties to the call . concode_field_sep String m_sPDIndexerURL concode_elem_sep HttpClientManager m_aHttpClientMgr concode_elem_sep Credentials m_aProxyCredentials concode_elem_sep String PATH_INDEXER_10 concode_elem_sep HttpHost m_aProxy concode_e... |
String function ( final INodesInPath arg0 ) { assert dir . hasReadLock ( ) ; EncryptionZoneInt loc0 = getEncryptionZoneForPath ( arg0 ) ; if ( loc0 == null ) { return null ; } return loc0 . getKeyName ( ) ; } | get the key name for an encryption zone . returns null if iip is not within an encryption zone . called while holding the fsdirectory lock . concode_field_sep CipherSuite suite concode_elem_sep long inodeId concode_elem_sep String keyName concode_elem_sep int maxListEncryptionZonesResponses concode_elem_sep TreeMap<Lon... |
Object function ( ) { CustomCategoryURLGenerator loc0 = ( CustomCategoryURLGenerator ) super . loc0 ( ) ; loc0 . urlSeries = new java . util . ArrayList ( this . urlSeries ) ; return loc0 ; } | returns a new generator that is a copy of , and independent from , this generator . concode_field_sep ArrayList urlSeries concode_field_sep String generateURL concode_elem_sep int getListCount concode_elem_sep int getURLCount concode_elem_sep String getURL concode_elem_sep boolean equals concode_elem_sep void addURLSer... |
List < String > function ( ) { if ( this . sessionIds == null ) { this . sessionIds = new ArrayList < String > ( ) ; } return this . sessionIds ; } | gets the value of the sessionids property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the sessionids property . for example , to add a new item ,... |
int function ( ) { return byLaneSize ; } | get number of lanes for by lane computation concode_field_sep int byLaneSize concode_elem_sep Stats acrossLanesStats concode_elem_sep Stats acrossLanesNoOutlierStats concode_elem_sep int acrossLaneSize concode_field_sep TestMargins add concode_elem_sep Stats getAcrossLanesStats concode_elem_sep void addValuesByLane2Lan... |
void function ( UserBusinessActivity arg0 ) { try { arg0 . cancel ( ) ; } catch ( Throwable loc0 ) { } } | cancels given activity if it 's active . concode_field_sep PlaceHolder placeHolder concode_field_sep void testNonTransactionalServiceWithoutFeature concode_elem_sep void testCloseWithoutFeature concode_elem_sep void testCancelWithDisabledFeature concode_elem_sep void cancelActivity concode_elem_sep void testNoActivityW... |
int function ( ) { try { return ( ( Integer ) invoke ( this , "srini_string" , null ) ) . intValue ( ) ; } catch ( final Exception loc0 ) { } return 0 ; } | returns the currently used baud rate . concode_field_sep LogService logger concode_field_sep void setBaudRate concode_elem_sep OutputStream getOutputStream concode_elem_sep Object invoke concode_elem_sep InputStream getInputStream concode_elem_sep void close |
MapLayer function ( int arg0 ) { return layers . remove ( arg0 ) ; } | removes the layer at the specified index . layers above this layer will move down to fill the gap . concode_field_sep int ORIENTATION_SHIFTED concode_elem_sep String filename concode_elem_sep int ORIENTATION_HEXAGONAL concode_elem_sep int ORIENTATION_ISOMETRIC concode_elem_sep Vector<TileSet> tileSets concode_elem_sep ... |
java . util . Iterator < AnyType > function ( ) { return new ArrayListIterator ( ) ; } | obtains an iterator object used to traverse the collection . concode_field_sep boolean okToRemove concode_elem_sep int theSize concode_elem_sep AnyType[] theItems concode_elem_sep int DEFAULT_CAPACITY concode_elem_sep int current concode_field_sep boolean add concode_elem_sep void add concode_elem_sep AnyType next conc... |
void function ( String arg0 ) { this . value = arg0 ; } | sets the value of the value property . concode_field_sep String scope concode_elem_sep String name concode_elem_sep String value concode_field_sep void setName concode_elem_sep String getValue concode_elem_sep String getName concode_elem_sep void setScope concode_elem_sep String getScope |
void function ( ) { String loc0 = "srini_string" ; Href loc1 = new DefaultHref ( loc0 ) ; Assert . assertEquals ( loc1 . getBaseUrl ( ) , "srini_string" ) ; URLAssert . assertEquals ( loc0 , loc1 . toString ( ) ) ; } | test for url without base . concode_field_sep PlaceHolder placeHolder concode_field_sep void testAddParameterMapOverridingParameters concode_elem_sep void testHrefWithParameters concode_elem_sep void testHrefWithMultipleParameters concode_elem_sep void testAddParameter concode_elem_sep void testHrefWithEmptyAnchor conc... |
TIFFField [ ] function ( ) { return extraFields ; } | returns the value set by setextrafields . concode_field_sep Iterator extraImages concode_elem_sep int compression concode_elem_sep boolean convertJPEGRGBToYCbCr concode_elem_sep JPEGEncodeParam jpegEncodeParam concode_elem_sep int tileWidth concode_elem_sep int COMPRESSION_JPEG_BROKEN concode_elem_sep int COMPRESSION_J... |
BinaryNode function ( Comparable arg0 , BinaryNode arg1 ) { if ( arg1 == null ) arg1 = new BinaryNode ( arg0 ) ; else if ( arg0 . compareTo ( arg1 . element ) < 0 ) arg1 . left = insert ( arg0 , arg1 . left ) ; else if ( arg0 . compareTo ( arg1 . element ) > 0 ) arg1 . right = insert ( arg0 , arg1 . right ) ; else thro... | internal method to insert into a subtree . concode_field_sep BinaryNode left concode_elem_sep BinaryNode root concode_elem_sep BinaryNode right concode_elem_sep Comparable element concode_field_sep void removeMin concode_elem_sep BinaryNode removeMin concode_elem_sep Comparable find concode_elem_sep BinaryNode find con... |
boolean function ( ) { return this . set ; } | determine whether the element is set or not . concode_field_sep String image concode_elem_sep String IMAGE_ALERT concode_elem_sep boolean set concode_elem_sep String IMAGE_BLANK concode_elem_sep String value concode_elem_sep String IMAGE_PROGRESS concode_field_sep String getValue concode_elem_sep void setValue concode_... |
String function ( ) { return url ; } | synonym for geturl . concode_field_sep String description concode_elem_sep String dataSourceName concode_elem_sep String password concode_elem_sep String serverName concode_elem_sep int loginTimeout concode_elem_sep String user concode_elem_sep String networkProtocol concode_elem_sep PrintWriter logWriter concode_elem_... |
void function ( java . util . Calendar arg0 ) { this . startDate = arg0 ; } | sets the startdate value for this manufacturingoperationtaskpredecessor . concode_field_sep java.lang.String lagUnits concode_elem_sep com.netsuite.webservices.platform.core_2014_2.RecordRef task concode_elem_sep java.util.Calendar endDate concode_elem_sep com.netsuite.webservices.lists.supplychain_2014_2.types.Manufac... |
void function ( String arg0 ) { this . databasePlatform = arg0 ; } | specify the name of the target database to operate on . the supported values are vendor-dependent platform identifiers . concode_field_sep boolean generateDdl concode_elem_sep boolean showSql concode_elem_sep Database database concode_elem_sep String databasePlatform concode_field_sep void setGenerateDdl concode_elem_s... |
void function ( Runnable arg0 ) { if ( ! isActive ( ) || delegateQueue . isShutdown ( ) ) { throw new InactiveSessionException ( null ) ; } delegateQueue . execute ( arg0 ) ; } | run the provided command if we 're active and our delegate queue is not shut down . concode_field_sep RepositorySessionStoreDelegate delegate concode_elem_sep SessionStatus status concode_elem_sep ExecutorService storeWorkQueue concode_elem_sep ExecutorService delegateQueue concode_elem_sep long lastSyncTimestamp conco... |
void function ( String arg0 , Gesture arg1 ) { ArrayList < Gesture > loc0 = mNamedGestures . get ( arg0 ) ; if ( loc0 == null ) { return ; } loc0 . remove ( arg1 ) ; if ( loc0 . isEmpty ( ) ) { mNamedGestures . remove ( arg0 ) ; } mClassifier . removeInstance ( arg1 . getID ( ) ) ; mChanged = true ; } | remove a gesture from the library . if there are no more gestures for the given entry , the gesture entry will be removed . concode_field_sep boolean PROFILE_LOADING_SAVING concode_elem_sep boolean mChanged concode_elem_sep int SEQUENCE_INVARIANT concode_elem_sep int ORIENTATION_SENSITIVE concode_elem_sep Learner mClas... |
int function ( ) { return index ; } | returns the zero-based index of the match in the input string . concode_field_sep String input concode_elem_sep List<String> groups concode_elem_sep int index concode_field_sep int getGroupCount concode_elem_sep String getGroup concode_elem_sep String getInput |
void function ( boolean arg0 ) { this . isReady = arg0 ; } | setter isready concode_field_sep int shipSize concode_elem_sep int[] startCoordsAndOrientation concode_elem_sep int reloadTime concode_elem_sep boolean isReady concode_elem_sep long serialVersionUID concode_elem_sep int[][] coordinates concode_elem_sep int reloadTimeLeft concode_elem_sep int shootArea concode_elem_sep ... |
void function ( DomainClient arg0 , DomainClient arg1 ) { } | tests while the master is in admin only mode concode_field_sep PlaceHolder placeHolder concode_field_sep void tearDownDomain concode_elem_sep void testAfterReconnect concode_elem_sep void testOnInitialStartup concode_elem_sep void setUpDomain |
String function ( ) { return mUri ; } | getter function for the device uri . uri can be used by org.openni.device #open string to open a specific device . concode_field_sep String mName concode_elem_sep int mUsbProductId concode_elem_sep String mUri concode_elem_sep int mUsbVendorId concode_elem_sep String mVendor concode_field_sep int getUsbVendorId concode... |
void function ( final String arg0 ) { this . m_sSystemID = arg0 ; } | setter for #m_ssystemid concode_field_sep Transformer m_aTransformer concode_elem_sep IStxEmitter m_aSTXEmitter concode_elem_sep Processor m_aProcessor concode_elem_sep String m_sSystemID concode_elem_sep Logger log concode_elem_sep Result m_aResult concode_field_sep void init concode_elem_sep String getSystemId concod... |
String function ( ) { if ( mByteOffset != null ) { return "srini_string" + WORDS . get ( mWord ) + "srini_string" + OTHERS . get ( mPos ) + "srini_string" + mByteOffset . start ( ) + "srini_string" + mByteOffset . end ( ) + "srini_string" ; } return "srini_string" + WORDS . get ( mWord ) + "srini_string" + OTHERS . get... | pretty display concode_field_sep Map<Integer,ArrayList<Integer>> PROX_CLASSES concode_elem_sep int CASE_INCAP concode_elem_sep Pattern SGML_PATTERN concode_elem_sep int CASE_ALLCAPS concode_elem_sep int PROXIMITY_CLASS_SIZE concode_elem_sep Map<String,String> FIRST_GAZ concode_elem_sep int mNerc concode_elem_sep Span m... |
boolean function ( ) { return true ; } | true if this store supports the exactly once operation mode . concode_field_sep String appId concode_elem_sep int operatorId concode_elem_sep JMSBase base concode_field_sep void setOperatorId concode_elem_sep int getOperatorId concode_elem_sep JMSBase getBase concode_elem_sep boolean isTransactable concode_elem_sep voi... |
void function ( ) { Connection loc0 = Connections . getInstance ( context ) . getConnection ( clientHandle ) ; loc0 . changeConnectionStatus ( Connection . ConnectionStatus . CONNECTED ) ; loc0 . addAction ( "srini_string" ) ; } | a connection action has been successfully completed , update the connection object associated with the client this action belongs to and then notify the user of success . concode_field_sep Context context concode_elem_sep Action action concode_elem_sep String clientHandle concode_elem_sep String[] additionalArgs concod... |
SymbolSet function ( ) { return ( new SymbolSet ( getSymbols ( peer ) ) ) ; } | retrieve the decoded results associated with this image . concode_field_sep Object data concode_elem_sep long peer concode_field_sep void setSequence concode_elem_sep void init concode_elem_sep void setData concode_elem_sep void setData concode_elem_sep void destroy concode_elem_sep void destroy concode_elem_sep Image ... |
int function ( String arg0 , String arg1 , Object ... arg2 ) { if ( BuildConfig . DEBUG || android . util . Log . isLoggable ( arg0 , android . util . Log . INFO ) ) { String loc0 = String . format ( arg1 , arg2 ) ; log ( arg0 , android . util . Log . INFO , loc0 ) ; return android . util . Log . i ( arg0 , loc0 ) ; } ... | send a android.util.log #info log message . concode_field_sep RotatingFileWriter sLogFileWriter concode_elem_sep File sLogFile concode_elem_sep String LOG_FILENAME concode_field_sep void init concode_elem_sep int d concode_elem_sep int d concode_elem_sep int d concode_elem_sep void log concode_elem_sep void log concode... |
LobCreatorBuilderImpl function ( ) { LOG . disablingContextualLOBCreationSinceConnectionNull ( ) ; return new LobCreatorBuilderImpl ( false ) ; } | for used when jdbc connection is not available . concode_field_sep boolean useContextualLobCreation concode_elem_sep Object[] NO_ARGS concode_elem_sep Class[] NO_ARG_SIG concode_elem_sep CoreMessageLogger LOG concode_field_sep boolean useContextualLobCreation concode_elem_sep LobCreator buildLobCreator |
boolean function ( ) { return getLogger ( ) . isFatalErrorEnabled ( ) ; } | checks whether the logkit logger will log messages of priority fatal_error . concode_field_sep long serialVersionUID concode_elem_sep String name concode_elem_sep Logger logger concode_field_sep void warn concode_elem_sep void warn concode_elem_sep void trace concode_elem_sep void trace concode_elem_sep void debug conc... |
long function ( long arg0 , TimeUnit arg1 ) { if ( latch . await ( arg0 , arg1 ) ) { return received - sent ; } else { return - 2 ; } } | returns the round trip time for this ping in nanoseconds , or -1 if the response was cancelled , or -2 if the timeout elapsed before the round trip completed . concode_field_sep long sent concode_elem_sep CountDownLatch latch concode_elem_sep long received concode_field_sep void cancel concode_elem_sep void receive con... |
ListTerm function ( Term ... arg0 ) { ListTerm loc0 = new ListTermImpl ( ) ; ListTerm loc1 = loc0 ; for ( Term loc2 : arg0 ) loc1 = loc1 . append ( loc2 ) ; return loc0 ; } | creates a new list with n elements , n can be 0 concode_field_sep String hardDeadLineStr concode_field_sep VarTerm createVar concode_elem_sep VarTerm createVar concode_elem_sep Term parseTerm concode_elem_sep Rule createRule concode_elem_sep StringTerm createString concode_elem_sep StringTerm createString concode_elem_... |
void function ( int arg0 ) { this . maxAttempts = arg0 ; } | maximum tries concode_field_sep boolean feedbackShowStudentScore concode_elem_sep String keywords concode_elem_sep boolean feedbackShowGraderComment concode_elem_sep boolean collectSectionMetadata concode_elem_sep boolean displayNumberingContinuous concode_elem_sep boolean feedbackShowQuestion concode_elem_sep boolean ... |
boolean function ( Class arg0 , List < Class > arg1 ) { return checkSubClasses ( arg0 , arg1 ) || checkAnnotations ( arg0 , arg1 ) ; } | checks whether the candidate class matches lookup conditions . concode_field_sep Logger LOGGER concode_field_sep boolean checkAnnotations concode_elem_sep Set<Class> findOnClassPath concode_elem_sep boolean checkSubClasses |
void function ( int arg0 , int arg1 ) { firstScrollLineIndex = ( ( arg0 == - 1 ) ? 1 : arg0 ) - 1 ; lastScrollLineIndex = ( ( arg1 == - 1 ) ? height : arg1 ) - 1 ; } | sets the first and last lines to scroll . if both are -1 , make the entire screen scroll . concode_field_sep ArrayList textLines concode_elem_sep JTextBuffer view concode_elem_sep int lastScrollLineIndex concode_elem_sep int firstScrollLineIndex concode_elem_sep int width concode_elem_sep int currentStyle concode_elem_... |
void function ( Parcel arg0 , int arg1 ) { arg0 . writeInt ( mNumItems ) ; arg0 . writeInt ( mIsLastSlice ? 1 : 0 ) ; if ( mNumItems > 0 ) { final int loc0 = mParcel . dataSize ( ) ; arg0 . writeInt ( loc0 ) ; arg0 . appendFrom ( mParcel , 0 , loc0 ) ; } mNumItems = 0 ; mParcel . recycle ( ) ; mParcel = null ; } | write this to another parcel . note that this discards the internal parcel and should not be used anymore . this is so we can pass this to a binder where we wo n't have a chance to call recycle on this . concode_field_sep Parcel mParcel concode_elem_sep int mNumItems concode_elem_sep int MAX_IPC_SIZE concode_elem_sep P... |
BatteryStatusManager function ( Context arg0 , BatteryStatusCallback arg1 , @ Nullable AndroidBatteryManagerWrapper arg2 ) { return new BatteryStatusManager ( arg0 , arg1 , false , arg2 ) ; } | creates a batterystatusmanager without the galaxy nexus workaround for consistency in testing . concode_field_sep Context mAppContext concode_elem_sep String TAG concode_elem_sep BatteryStatusCallback mCallback concode_elem_sep boolean mEnabled concode_elem_sep BroadcastReceiver mReceiver concode_elem_sep boolean mIgno... |
int function ( ) { return _foo . getField3 ( ) ; } | returns the field3 of this foo . concode_field_sep Foo _foo concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isCachedModel ... |
void function ( int [ ] arg0 , int [ ] arg1 , int arg2 ) { if ( arg1 . length > arg2 / 2 + MAX_ERRORS || arg2 < 0 || arg2 > MAX_EC_CODEWORDS ) { throw ChecksumException . getChecksumInstance ( ) ; } errorCorrection . decode ( arg0 , arg2 , arg1 ) ; } | given data and error-correction codewords received , possibly corrupted by errors , attempts to correct the errors in-place . concode_field_sep int MAX_EC_CODEWORDS concode_elem_sep ErrorCorrection errorCorrection concode_elem_sep int MAX_ERRORS concode_field_sep DecoderResult decode concode_elem_sep DecoderResult deco... |
AnnoConnection function ( ) { log . trace ( "srini_string" ) ; return ( AnnoConnection ) connectionManager . allocateConnection ( mcf , null ) ; } | get connection from factory concode_field_sep Reference reference concode_elem_sep AnnoManagedConnectionFactory mcf concode_elem_sep ConnectionManager connectionManager concode_elem_sep Logger log concode_elem_sep long serialVersionUID concode_field_sep void setReference concode_elem_sep Reference getReference |
void function ( Statement arg0 ) { this . filterStatement = arg0 ; } | sets the value of the filterstatement property . concode_field_sep Statement filterStatement concode_field_sep Statement getFilterStatement |
void function ( String arg0 , Object arg1 ) { FacesContext . getCurrentInstance ( ) . getExternalContext ( ) . getRequestMap ( ) . put ( arg0 , arg1 ) ; } | store the managed bean inside the request scope . concode_field_sep Logger log concode_elem_sep Properties buildProperties concode_field_sep String getRequestParameter concode_elem_sep UIComponent findComponent concode_elem_sep ServletContext getServletContext concode_elem_sep void redirectBrowser concode_elem_sep Obje... |
void function ( String arg0 , String arg1 , String arg2 ) { if ( arg1 == null && arg2 == null ) return ; if ( arg1 != null && arg1 . equals ( arg2 ) ) return ; throw new ComparisonFailure ( arg0 , arg1 , arg2 ) ; } | asserts that two strings are equal . concode_field_sep PlaceHolder placeHolder concode_field_sep void fail concode_elem_sep void fail concode_elem_sep void assertNull concode_elem_sep void assertNull concode_elem_sep void assertTrue concode_elem_sep void assertTrue concode_elem_sep void assertNotNull concode_elem_sep v... |
Object function ( JdbcDriver arg0 ) { return null ; } | returns the result of interpretting the object as an instance of ` driver ' . this implementation returns null ; returning a non-null result will terminate the switch . concode_field_sep JdbcPackage modelPackage concode_field_sep Object caseJdbcSourceContainer concode_elem_sep Object caseJdbcSourceProperty concode_elem... |
double function ( final int arg0 , double [ ] arg1 ) { double loc0 = .5 * arg0 * arg0 ; int loc1 ; for ( loc1 = arg1 . length ; loc1 -- != 0 && arg1 [ loc1 ] > loc0 ; ) ; return loc1 == arg1 . length - 1 ? Double . POSITIVE_INFINITY : loc1 + 1 ; } | returns the median of distances between all pairs of nodes . note that if you have an actual neighbourhood function , you can safely pass its first value as first argument ; however , having the number of nodes as a separate input makes it possible passing this method a distance cumulative distribution function , too .... |
BigDecimal function ( ) { return rowspan ; } | gets the value of the rowspan property . concode_field_sep BigDecimal colspan concode_elem_sep BigDecimal colspanS concode_elem_sep BigDecimal rowspan concode_elem_sep String x concode_elem_sep String width concode_elem_sep String y concode_elem_sep String z concode_elem_sep BigDecimal colspanM concode_field_sep void s... |
PosterRecordList function ( String arg0 , InputStream arg1 ) { Unmarshaller loc0 = jaxbContext . createUnmarshaller ( ) ; PosterRecordList loc1 = ( PosterRecordList ) loc0 . unmarshal ( arg1 ) ; return loc1 ; } | takes the input stream of the xml and instantiates an instance of the posterrecordlist class concode_field_sep JAXBContext jaxbContext concode_elem_sep PosterRecord[] posters concode_field_sep void encode |
LogNode function ( ) { return mNext ; } | returns the next lognode in the chain . concode_field_sep LogNode mNext concode_field_sep void println concode_elem_sep void setNext |
void function ( @ Nonnull final IWebPageExecutionContext arg0 , @ Nonnull final IMenuObject arg1 , @ Nullable final IHCElement < ? > arg2 ) { if ( arg1 . getMenuObjectType ( ) == EMenuObjectType . SEPARATOR && arg2 != null ) arg2 . addStyle ( CCSSProperties . MARGIN_BOTTOM . newValue ( "srini_string" ) ) ; } | called before a menu item is rendered . concode_field_sep PlaceHolder placeHolder concode_field_sep IHCNode renderMenuItemPage concode_elem_sep IHCNode renderMenuItemExternal concode_elem_sep IHCNode renderMenuSeparator concode_elem_sep void afterAddRenderedMenuItem |
boolean function ( ) { if ( DisplayType . ID == m_displayType ) return false ; return DisplayType . isID ( m_displayType ) ; } | is value an id concode_field_sep long serialVersionUID concode_elem_sep String XML_ATTRIBUTE_NAME concode_elem_sep String XML_ATTRIBUTE_KEY concode_elem_sep String m_columnName concode_elem_sep boolean m_isPKey concode_elem_sep boolean m_isPageBreak concode_elem_sep String m_formatPattern concode_elem_sep String m_fore... |
void function ( ) { rows = NUMBER_OF_ITEMS / columns ; if ( ( NUMBER_OF_ITEMS % columns ) != 0 ) { rows += 1 ; } } | utility method that calculates the number of rows required for a specified number of columns . concode_field_sep int columns concode_elem_sep int intValue concode_elem_sep int NUMBER_OF_ITEMS concode_elem_sep DataModel rowDataModel concode_elem_sep SelectItem[] columnsItems concode_elem_sep Object column concode_elem_s... |
void function ( ) { if ( datasetObservers != null ) { for ( DataSetObserver loc0 : datasetObservers ) { loc0 . onChanged ( ) ; } } } | notifies observers about data changing concode_field_sep List<DataSetObserver> datasetObservers concode_field_sep void unregisterDataSetObserver concode_elem_sep void registerDataSetObserver concode_elem_sep View getEmptyItem concode_elem_sep void notifyDataInvalidatedEvent |
java . lang . String function ( ) { return status ; } | gets the status value for this conceptvalue . concode_field_sep java.lang.String NCID concode_elem_sep java.lang.String domain concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String context concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc c... |
java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , int arg1 , int arg2 , com . liferay . portal . kernel . util . OrderByComparator < T > arg3 ) { return getService ( ) . arg0 ( arg0 , arg1 , arg2 , arg3 ) ; } | performs a dynamic query on the database and returns an ordered range of the matching rows . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end... |
org . apache . axis . encoding . Serializer function ( java . lang . String arg0 , java . lang . Class arg1 , javax . xml . namespace . QName arg2 ) { return new org . apache . axis . encoding . ser . BeanSerializer ( arg1 , arg2 , typeDesc ) ; } | get custom serializer concode_field_sep java.lang.String internalId concode_elem_sep java.lang.Boolean defaultBilling concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String label concode_elem... |
NoClientBindSSLProtocolSocketFactory function ( ) { return factory ; } | gets an singleton instance of the sslprotocolsocketfactory . concode_field_sep NoClientBindSSLProtocolSocketFactory factory concode_field_sep Socket createSocket concode_elem_sep Socket createSocket concode_elem_sep Socket createSocket concode_elem_sep Socket createSocket concode_elem_sep int hashCode concode_elem_sep ... |
boolean function ( State arg0 ) { switch ( arg0 ) { case main_region_A : return stateVector [ 0 ] == State . main_region_A ; default : return false ; } } | returns true if the given state is currently active otherwise false . concode_field_sep boolean e concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep long i concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep void init concode_elem_sep SCInterface getSCInterface concode_... |
FsPermission function ( ) { return permission ; } | get fspermission associated with the file . concode_field_sep long blocksize concode_elem_sep String owner concode_elem_sep Path path concode_elem_sep long length concode_elem_sep Path symlink concode_elem_sep FsPermission permission concode_elem_sep long modification_time concode_elem_sep boolean isdir concode_elem_se... |
void function ( TextBlockSearchEditor arg0 ) { removeResultHighlights ( ) ; if ( arg0 . hasMatches ( ) ) { currentHighlights . addAll ( arg0 . getMatchedResults ( ) ) ; highlightResults ( arg0 , true ) ; } } | notification that the search was complete and we have results to show to the user . concode_field_sep AttributeSet defaultStyle concode_elem_sep List<TextBlockSearchEditor.SearchResult> currentHighlights concode_elem_sep JTextPane textComponentToSearch concode_elem_sep AttributeSet emphasizedHighlightStyle concode_elem... |
void function ( ) { } | this method resets the outgoing events . concode_field_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep void reactMain_region_A concode_elem_sep void init concode_elem_sep void exit concode_elem_sep void reactMain_region_B concode_elem_sep void exitAction concode_elem_sep boolean isStateAct... |
void function ( ) { VectorRenderer loc0 = new VectorRenderer ( ) ; VectorRenderer loc1 = ( VectorRenderer ) loc0 . clone ( ) ; assertTrue ( loc0 != loc1 ) ; assertTrue ( loc0 . getClass ( ) == loc1 . getClass ( ) ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; } | confirm that cloning works . concode_field_sep PlaceHolder placeHolder concode_field_sep void testPublicCloneable concode_elem_sep void testSerialization concode_elem_sep void testHashcode concode_elem_sep void testEquals |
long function ( ) { return _userGroupRole . getRoleId ( ) ; } | returns the role id of this user group role . concode_field_sep UserGroupRole _userGroupRole concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId ... |
void function ( OnVisibilityChangeListener arg0 ) { if ( arg0 == null ) { arg0 = sDummyListener ; } mOnVisibilityChangeListener = arg0 ; } | registers a callback , to be triggered when the system ui visibility changes . concode_field_sep OnVisibilityChangeListener mOnVisibilityChangeListener concode_elem_sep int FLAG_LAYOUT_IN_SCREEN_OLDER_DEVICES concode_elem_sep View mAnchorView concode_elem_sep Activity mActivity concode_elem_sep int FLAG_FULLSCREEN conc... |
boolean function ( double arg0 , double arg1 , T arg2 ) { if ( this . root . put ( arg0 , arg1 , arg2 ) ) { increaseSize ( ) ; return true ; } return false ; } | associates the specified value with the specified coords in this quadtree . concode_field_sep QuadNode<T> root concode_elem_sep int size concode_elem_sep AbstractCollection<T> values concode_field_sep QuadLeaf<T> firstLeaf concode_elem_sep AbstractCollection<T> values concode_elem_sep void clear concode_elem_sep double... |
Segment function ( int arg0 ) { Segment loc0 = new Segment ( this . context ) ; segments . set ( arg0 , loc0 ) ; return loc0 ; } | creates an empty instance of segment and replaces the segment at specified position in the x12 transaction . the returned instance can be used to add elements to the segment . concode_field_sep Loop parent concode_elem_sep int depth concode_elem_sep List<Loop> loops concode_elem_sep Context context concode_elem_sep Str... |
void function ( java . lang . String arg0 ) { this . userName = arg0 ; } | sets the username value for this wsmdmconfig . concode_field_sep java.lang.String password concode_elem_sep java.lang.String xdbDriver concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String xdbID concode_elem_sep java.lang.String serverName concode_elem_sep boolean __hashCodeCalc concode_elem_... |
void function ( ) { } | setup before testing . concode_field_sep String webUrl concode_elem_sep WebClient webClient concode_field_sep void testFacesFlowScopeJava concode_elem_sep void performCustomerUpgradeTest concode_elem_sep void quickEnterExit concode_elem_sep void setUp concode_elem_sep void tearDownClass concode_elem_sep void testFacesF... |
void function ( ToDoItem arg0 ) { todos . remove ( arg0 ) ; taskStateChanged ( ) ; } | deletes the given task and updates statistics . concode_field_sep ListDataProvider<ToDoItem> filteredTodos concode_elem_sep ViewEventHandler viewHandler concode_elem_sep View view concode_elem_sep EventBus eventBus concode_elem_sep ToDoRouting routing concode_elem_sep List<ToDoItem> todos concode_elem_sep String STORAG... |
void function ( ) { stash . clear ( ) ; } | clears the previously stashed values concode_field_sep ESLogger logger concode_elem_sep Stash EMPTY concode_elem_sep Map<String,Object> stash concode_field_sep Object unstashValue concode_elem_sep void unstashObject concode_elem_sep XContentBuilder toXContent concode_elem_sep boolean isStashedValue concode_elem_sep voi... |
void function ( IdentityObjectTypeType . Relationships arg0 ) { this . relationships = arg0 ; } | sets the value of the relationships property . concode_field_sep List<String> credentialType concode_elem_sep IdentityObjectTypeType.Relationships relationships concode_elem_sep IdentityObjectTypeType.Credentials credentials concode_elem_sep String name concode_elem_sep IdentityObjectTypeType.Options options concode_el... |
ToStringHelper function ( float arg0 ) { return addHolder ( String . valueOf ( arg0 ) ) ; } | adds an unnamed value to the formatted output . it is strongly encouraged to use #add string , float instead and give value areadable name . concode_field_sep ValueHolder next concode_elem_sep ValueHolder holderTail concode_elem_sep String name concode_elem_sep String className concode_elem_sep boolean omitNullValues c... |
void function ( boolean arg0 ) { this . processed = arg0 ; } | marks this dataobject as processed concode_field_sep boolean processed concode_elem_sep double r_dist concode_elem_sep Database database concode_elem_sep Instance instance concode_elem_sep int clusterID concode_elem_sep double c_dist concode_elem_sep String key concode_elem_sep long serialVersionUID concode_field_sep d... |
void function ( Integer arg0 , String arg1 ) { if ( arg1 != null && arg1 . length ( ) > 0 ) { CWin . arg1 ( Clarion . newString ( arg1 ) , Clarion . newString ( "srini_string" ) , Icon . HAND ) ; } System . exit ( 0 ) ; } | halt program concode_field_sep String[] args concode_elem_sep List<Runnable> initThreadHooks concode_elem_sep boolean testMode concode_elem_sep boolean hard concode_elem_sep Logger log concode_elem_sep List<Runnable> shutdownHooks concode_field_sep void setHardAssert concode_elem_sep void initThread concode_elem_sep vo... |
boolean function ( CordovaWebView arg0 , ICordovaHttpAuthHandler arg1 , String arg2 , String arg3 ) { return false ; } | called when the system received an http authentication request . plugin can use the supplied httpauthhandler to process this auth challenge . concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String id concode_field_sep bo... |
int function ( ) { return start_zoom ; } | this method will return the user 's default zoom level concode_field_sep String pass concode_elem_sep String user_id concode_elem_sep String last_name concode_elem_sep boolean reset_pass concode_elem_sep String phone[] concode_elem_sep String start_coords[] concode_elem_sep String first_name concode_elem_sep int start_... |
void function ( String arg0 ) { this . tableName = arg0 ; } | set the hbase table name . concode_field_sep String principal concode_elem_sep String zookeeperQuorum concode_elem_sep Thread loginRenewer concode_elem_sep int zookeeperClientPort concode_elem_sep Logger logger concode_elem_sep Configuration configuration concode_elem_sep String USER_NAME_SPECIFIER concode_elem_sep lon... |
void function ( int arg0 ) { this . itemCount = arg0 ; } | sets the item count . concode_field_sep boolean includeUpperBound concode_elem_sep double upperBound concode_elem_sep double lowerBound concode_elem_sep boolean includeLowerBound concode_elem_sep long serialVersionUID concode_elem_sep int itemCount concode_field_sep boolean accepts concode_elem_sep int getItemCount con... |
int function ( ) { if ( isPointOnSegment ) return Location . BOUNDARY ; if ( ( crossingCount % 2 ) == 1 ) { return Location . INTERIOR ; } return Location . EXTERIOR ; } | gets the location of the point relative to the ring , polygon or multipolygon from which the processed segments were provided . this method only determines the correct location if all relevant segments must have been processed . concode_field_sep Coordinate p concode_elem_sep boolean isPointOnSegment concode_elem_sep i... |
void function ( Object arg0 ) { assertThat ( arg0 ) . isEqualTo ( arg0 ) ; } | verifies that the equals implementation of the given object is reflexive : the object must be equal toitself , which it would be at any given instance ; unless you intentionally override the equals method to behave otherwise . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertEqualsIsSymmetric conc... |
void function ( ) { if ( done ) return ; while ( myElements . hasNext ( ) ) { Object loc0 = myElements . next ( ) ; if ( ! isVisited ( loc0 ) ) { visit ( loc0 , 1 ) ; } } } | performs the depth first traversion of all elements concode_field_sep int linkCount concode_elem_sep Map myVisitedElements concode_elem_sep Iterator myElements concode_elem_sep boolean done concode_field_sep boolean isVisited concode_elem_sep void beginVisit concode_elem_sep Iterator getElementLinks concode_elem_sep vo... |
boolean function ( ItemStack arg0 ) { if ( arg0 == null || arg0 . stackSize <= 0 ) return false ; for ( IBrewingRecipe loc0 : recipes ) { if ( loc0 . isIngredient ( arg0 ) ) { return true ; } } return false ; } | returns true if the passed itemstack is a valid ingredient for any of the recipes in the registry . concode_field_sep List<IBrewingRecipe> recipes concode_field_sep boolean addRecipe concode_elem_sep boolean addRecipe concode_elem_sep boolean addRecipe concode_elem_sep void brewPotions concode_elem_sep boolean isValidI... |
Collection function ( ) { return targetNames ; } | gets the target names . the collection consists of generalname objects . the returned collection is immutable . concode_field_sep Date attributeCertificateValid concode_elem_sep Collection targetNames concode_elem_sep BigInteger serialNumber concode_elem_sep Collection targetGroups concode_elem_sep X509AttributeCertifi... |
void function ( ProgressMonitor arg0 ) { if ( arg0 == null ) { this . monitor = NullProgressMonitor . INSTANCE ; } else { this . monitor = arg0 ; } } | set a progress monitor . concode_field_sep RevTree[] sourceTrees concode_elem_sep ObjectReader reader concode_elem_sep RevCommit[] sourceCommits concode_elem_sep ProgressMonitor monitor concode_elem_sep ObjectInserter inserter concode_elem_sep Repository db concode_elem_sep RevWalk walk concode_elem_sep RevObject[] sou... |
ControlGroup < ? > function ( ) { return ( ControlGroup < ? > ) _myController ; } | returns the group that evoked the controlevent concode_field_sep int myAction concode_elem_sep boolean isTab concode_elem_sep int TAB concode_elem_sep int UNDEFINDED concode_elem_sep int GROUP concode_elem_sep ControllerInterface<?> _myController concode_elem_sep boolean isGroup concode_elem_sep int CONTROLLER concode_... |
int function ( ) { Query loc0 = model . dialect ( ) . delete ( model ) ; loc0 . use ( db ( ) ) ; return loc0 . execute ( ) ; } | delete by primary key concode_field_sep T model concode_elem_sep DBConfig db concode_elem_sep Example example concode_field_sep DeleteForExample deleteForExample concode_elem_sep T getModel concode_elem_sep Delete set concode_elem_sep DeleteForExample set concode_elem_sep int truncate concode_elem_sep Delete use concod... |
TextMessage function ( Object arg0 , Session arg1 , Marshaller arg2 ) { StringWriter loc0 = new StringWriter ( ) ; Result loc1 = new StreamResult ( loc0 ) ; arg2 . marshal ( arg0 , loc1 ) ; return arg1 . createTextMessage ( loc0 . toString ( ) ) ; } | marshal the given object to a textmessage . concode_field_sep Unmarshaller unmarshaller concode_elem_sep MessageType targetType concode_elem_sep Marshaller marshaller concode_field_sep Object unmarshalFromTextMessage concode_elem_sep void setMarshaller concode_elem_sep Object unmarshalFromMessage concode_elem_sep Messa... |
String function ( ) { return UrlUtils . buildFullRequestUrl ( scheme , serverName , serverPort , requestURI , queryString ) ; } | indicates the url that the user agent used for this request . concode_field_sep Map<String,List<String>> headers concode_elem_sep String method concode_elem_sep String scheme concode_elem_sep String contextPath concode_elem_sep String serverName concode_elem_sep String HEADER_IF_MODIFIED_SINCE concode_elem_sep String r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.