idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
6,800 | implemented per api documentation of java.util.map.entry #hashcode concode_field_sep Object value concode_elem_sep Object key concode_field_sep Object getKey concode_elem_sep Object getValue concode_elem_sep Object setValue concode_elem_sep boolean equals concode_elem_sep void setKey | int function ( ) { return ( ( getKey ( ) == null ? 0 : getKey ( ) . hashCode ( ) ) ^ ( getValue ( ) == null ? 0 : getValue ( ) . hashCode ( ) ) ) ; } |
6,801 | return all the employees stored in the database . concode_field_sep EntityManager entityManager concode_field_sep List<Employee> filter concode_elem_sep String generateCode concode_elem_sep Employee getById concode_elem_sep Employee getByEmail concode_elem_sep void create concode_elem_sep void update concode_elem_sep v... | List < Employee > function ( ) { return entityManager . createQuery ( "srini_string" ) . getResultList ( ) ; } |
6,802 | sets the actor this action is attached to . this also sets the #settarget actor target actor if it is null . thismethod is called automatically when an action is added to an actor . this method is also called with null when an action is removed from an actor . when set to null , if the action has a #setpool pool pool t... | void function ( Actor arg0 ) { this . actor = arg0 ; if ( target == null ) setTarget ( arg0 ) ; if ( arg0 == null ) { if ( pool != null ) { pool . free ( this ) ; pool = null ; } } } |
6,803 | create an instance of an httpclient with default settings . concode_field_sep int WAIT_TIMEOUT concode_elem_sep int REGISTRATION_TIMEOUT concode_field_sep String getContentsFromHttpResponse concode_elem_sep void makeAuthenticationPreemptive concode_elem_sep String getContentsFromInputStream concode_elem_sep HashMap<Str... | HttpClient function ( String arg0 , String arg1 ) { return getHttpAuthorizationClient ( arg0 , arg1 , null , "srini_string" , null ) ; } |
6,804 | helper method to get the date and time from timestamp . converts the timestamp in milliseconds to date and time and then formats the date object with format and returns the string of date and time separately respectively concode_field_sep Context myContext concode_elem_sep boolean isServerReachable concode_field_sep lo... | String [ ] function ( long arg0 ) { Date loc0 = new Date ( arg0 ) ; Format loc1 = new SimpleDateFormat ( "srini_string" , Locale . US ) ; String loc2 = loc1 . format ( loc0 ) ; String [ ] loc3 = loc2 . split ( "srini_string" ) ; return loc3 ; } |
6,805 | write the 8-bit char to standard output . concode_field_sep int buffer concode_elem_sep int n concode_elem_sep BufferedOutputStream out concode_field_sep void writeByte concode_elem_sep void flush concode_elem_sep void clearBuffer concode_elem_sep void main concode_elem_sep void close concode_elem_sep void writeBit | void function ( char arg0 ) { if ( arg0 < 0 || arg0 >= 256 ) throw new IllegalArgumentException ( "srini_string" + arg0 ) ; writeByte ( arg0 ) ; } |
6,806 | send a message with cmd , token , status followed by the data . the length data field will be filled in as appropriate concode_field_sep ByteBuffer mData concode_elem_sep MsgHeader mHeader concode_field_sep Msg obtain concode_elem_sep void read concode_elem_sep void setData concode_elem_sep void release concode_elem_se... | void function ( RilChannel arg0 , int arg1 , long arg2 , MessageMicro arg3 ) { send ( arg0 , arg1 , arg2 , 0 , arg3 ) ; } |
6,807 | activates the console and returns a new input stream on that console . concode_field_sep MessageConsole console concode_field_sep void init concode_elem_sep void end | OutputStream function ( ) { if ( console == null ) throw new IllegalStateException ( "srini_string" ) ; console . activate ( ) ; return console . newMessageStream ( ) ; } |
6,808 | returns the byte value that is equal to value , if possible . concode_field_sep byte MAX_POWER_OF_TWO concode_field_sep byte saturatedCast concode_elem_sep int compare concode_elem_sep int compare concode_elem_sep byte min concode_elem_sep byte max concode_elem_sep Comparator<byte[]> lexicographicalComparator concode_e... | byte function ( long arg0 ) { byte loc0 = ( byte ) arg0 ; if ( loc0 != arg0 ) { throw new IllegalArgumentException ( "srini_string" + arg0 ) ; } return loc0 ; } |
6,809 | get all database info concode_field_sep String DATASOURCE_RESOURCE concode_elem_sep String DATABASE_USER_RESOURCE concode_elem_sep JDBCResourceDAO resourceDAO concode_elem_sep String DATABASE_RESOURCE concode_elem_sep String DATABASE_PERMISSION_TEMPLATE_RESOURCE concode_field_sep boolean addDatabaseUserPermissionTempla... | Resource [ ] function ( final String arg0 , final String arg1 ) { return resourceDAO . getResources ( arg0 , DATABASE_RESOURCE , arg1 ) ; } |
6,810 | gets the actual result . concode_field_sep T result concode_elem_sep double score concode_elem_sep List<ResultDetails<T>> resultDetails concode_elem_sep List<T> results concode_field_sep List<T> getResults concode_elem_sep void setResultDetails concode_elem_sep void addResult concode_elem_sep List<ResultDetails<T>> get... | T function ( ) { return result ; } |
6,811 | gets the password . concode_field_sep String password concode_elem_sep String userName concode_field_sep void setPassword concode_elem_sep void setUserName concode_elem_sep String getUserName | String function ( ) { return password ; } |
6,812 | set the unmarshaller to be used by this message converter . 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 concod... | void function ( Unmarshaller arg0 ) { this . unmarshaller = arg0 ; } |
6,813 | determines whether the authentication exchange has completed successfully . concode_field_sep String secretKeyId concode_elem_sep SecretKeyHolder secretKeyHolder concode_elem_sep Logger logger concode_elem_sep SaslServer saslServer concode_elem_sep String QOP_AUTH_CONF concode_elem_sep String QOP_AUTH concode_elem_sep ... | boolean function ( ) { return saslServer != null && saslServer . isComplete ( ) ; } |
6,814 | setter concode_field_sep List<NavPoint> navPointList concode_field_sep List<NavPoint> getNavPointList | void function ( List < NavPoint > arg0 ) { this . navPointList = arg0 ; } |
6,815 | extract and return a substring that starts at the specified position , and extends to the end of the string being parsed . if this is not possible , a zero-length string is returned . concode_field_sep int index concode_elem_sep int length concode_elem_sep String string concode_elem_sep char chars[] concode_field_sep i... | String function ( int arg0 ) { if ( ( arg0 < 0 ) || ( arg0 >= length ) ) return ( "srini_string" ) ; else return ( string . substring ( arg0 ) ) ; } |
6,816 | decodes an encoded string . concode_field_sep String CVS_REVISION concode_field_sep String encode concode_elem_sep String removeChar concode_elem_sep String parse concode_elem_sep String fill | String function ( String arg0 ) { try { return new URLCodec ( ) . decode ( arg0 , "srini_string" ) ; } catch ( UnsupportedEncodingException loc0 ) { throw new Error ( "srini_string" , loc0 ) ; } catch ( DecoderException loc0 ) { throw new Error ( "srini_string" , loc0 ) ; } } |
6,817 | checks to see if there are anymore literals left to pull out concode_field_sep int size concode_elem_sep ArrayList<Short> literalKeys concode_elem_sep Iterator<Short> iterator concode_elem_sep Collection<Short> c concode_elem_sep Map<Short,Short> literals concode_field_sep TextFile printPass2Table concode_elem_sep void... | boolean function ( ) { if ( iterator . hasNext ( ) ) { return true ; } else { return false ; } } |
6,818 | should only be called after #geticon . returns the density of the icon , if found by geticon . if no icon was found , then the return value has no meaning . concode_field_sep Density mCurrentDensity concode_elem_sep StringBuilder mCurrentPath concode_elem_sep LayoutDirection mDirection concode_elem_sep int mPlatformVer... | Density function ( ) { return mCurrentDensity ; } |
6,819 | stops scrolling concode_field_sep Handler animationHandler concode_elem_sep int MIN_DELTA_FOR_SCROLLING concode_elem_sep ScrollingListener listener concode_elem_sep SimpleOnGestureListener gestureListener concode_elem_sep float lastTouchedY concode_elem_sep boolean isScrollingPerformed concode_elem_sep int SCROLLING_DU... | void function ( ) { scroller . forceFinished ( true ) ; } |
6,820 | flushes the dirty buffers modified by the specified transaction . concode_field_sep Buffer[] bufferpool concode_elem_sep int numAvailable concode_field_sep Buffer pinNew concode_elem_sep Buffer findExistingBuffer concode_elem_sep Buffer pin concode_elem_sep void unpin concode_elem_sep int available concode_elem_sep Buf... | void function ( int arg0 ) { for ( Buffer loc0 : bufferpool ) if ( loc0 . isModifiedBy ( arg0 ) ) loc0 . flush ( ) ; } |
6,821 | gets the component id of the commandbutton , in the map ui , corresponding to this time zone . concode_field_sep Polygon mapPolygon concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_field_sep boolean isRelevantComponentId concode_elem_sep String getId concode_elem_sep Polygon getMapPolygon | String function ( ) { return mapCommandButtonId ; } |
6,822 | mount media at given mount point . concode_field_sep String VOLD_EVT_MOUNTED concode_elem_sep String VOLD_CMD_DISABLE_UMS concode_elem_sep String VOLD_EVT_EJECTING concode_elem_sep String VOLD_CMD_EJECT_MEDIA concode_elem_sep String VOLD_EVT_UMS_CONNECTED concode_elem_sep String VOLD_EVT_UMS_ENABLED concode_elem_sep St... | void function ( String arg0 ) { writeCommand2 ( VOLD_CMD_MOUNT_VOLUME , arg0 ) ; } |
6,823 | get a fresh request token from the service provider . concode_field_sep String DELETE concode_elem_sep Map<String,Object> httpParameters concode_elem_sep String PUT concode_elem_sep String POST concode_elem_sep String ACCEPT_ENCODING concode_elem_sep String PARAMETER_STYLE concode_elem_sep HttpClient http concode_elem_... | void function ( OAuthAccessor arg0 , String arg1 ) { getRequestToken ( arg0 , arg1 , null ) ; } |
6,824 | retrieve the couchbase bucket . concode_field_sep Bucket bucket concode_elem_sep String password concode_elem_sep Cluster cluster concode_elem_sep String bucketName concode_elem_sep Set<String> nodes concode_elem_sep String designDocument concode_elem_sep long timeout concode_elem_sep Logger LOGGER concode_elem_sep Lis... | Bucket function ( ) { if ( this . bucket != null ) { return this . bucket ; } throw new RuntimeException ( "srini_string" + this . bucketName + "srini_string" ) ; } |
6,825 | this method was generated by mybatis generator . this method returns the value of the database column deploy_agent_api . raw_log concode_field_sep Long deployTaskId concode_elem_sep Date beginDate concode_elem_sep Date endDate concode_elem_sep Date lastModifiedDate concode_elem_sep String ipAddress concode_elem_sep Str... | String function ( ) { return rawLog ; } |
6,826 | set the error no concode_field_sep int LDAP_OBJECT_CLASS_MODS_PROHIBITED concode_elem_sep int LDAP_INAPPROPRIATE_AUTHENTICATION concode_elem_sep int LDAP_OBJECT_CLASS_VIOLATION concode_elem_sep int LDAP_CONSTRAINT_VIOLATION concode_elem_sep int LDAP_INSUFFICIENT_ACCESS_RIGHTS concode_elem_sep int LDAP_UNDEFINED_ATTRIBU... | void function ( int arg0 ) { this . errNo = arg0 ; } |
6,827 | adds the directed edge e to this edge-weighted digraph . concode_field_sep String NEWLINE concode_elem_sep int E concode_elem_sep int V concode_elem_sep Bag<DirectedEdge>[] adj concode_elem_sep int[] indegree concode_field_sep int E concode_elem_sep int V concode_elem_sep Iterable<DirectedEdge> adj concode_elem_sep int... | void function ( DirectedEdge arg0 ) { int loc0 = arg0 . from ( ) ; int loc1 = arg0 . to ( ) ; validateVertex ( loc0 ) ; validateVertex ( loc1 ) ; adj [ loc0 ] . add ( arg0 ) ; indegree [ loc1 ] ++ ; E ++ ; } |
6,828 | get whether a keyvalue is used to refer to a a certificate used to sign an issued token . the default is false . concode_field_sep List<String> acceptedC14nAlgorithms concode_elem_sep String signatureAlgorithm concode_elem_sep long maximumKeySize concode_elem_sep long keySize concode_elem_sep List<String> acceptedSigna... | boolean function ( ) { return useKeyValue ; } |
6,829 | disable as-you-type validation concode_field_sep IFile file concode_elem_sep boolean disconnected concode_elem_sep IDocument document concode_elem_sep EditorValidationContext context concode_elem_sep int count concode_elem_sep boolean disabled concode_elem_sep Set<IDocument> reporters concode_elem_sep Map<IValidator,IP... | void function ( boolean arg0 ) { AsYouTypeValidatorManager . arg0 = arg0 ; } |
6,830 | initialize #reset_applet_state_protocol . initialize the protocol instance for protocol reset_applet_state . concode_field_sep Protocol status_protocol concode_elem_sep RSA_data data concode_elem_sep APDU_short mem_transient_deselect concode_elem_sep Protocol_step get_step concode_elem_sep Protocol mem_size_protocol co... | void function ( ) { if ( reset_applet_state_protocol != null ) return ; init_reset_step ( ) ; Protocol_step [ ] loc0 = new Protocol_step [ ] { reset_step } ; reset_applet_state_protocol = new Protocol ( loc0 ) ; return ; } |
6,831 | sets the value of the schema property . concode_field_sep Schema schema concode_elem_sep GeneralMetadata general concode_elem_sep String rel concode_elem_sep String description concode_elem_sep DetailedLinks links concode_elem_sep String href concode_elem_sep Version version concode_field_sep Version getVersion concode... | void function ( Schema arg0 ) { this . schema = arg0 ; } |
6,832 | get number minimum : 32.1 maximum : 543.2 concode_field_sep byte[] _byte concode_elem_sep String password concode_elem_sep BigDecimal number concode_elem_sep Float _float concode_elem_sep Integer integer concode_elem_sep Double _double concode_elem_sep String string concode_elem_sep Date dateTime concode_elem_sep byte[... | BigDecimal function ( ) { return number ; } |
6,833 | suggested implementation of parameterizedjob #getbuildnowtext . concode_field_sep PlaceHolder placeHolder concode_field_sep void doCancelQueue concode_elem_sep Map<TriggerDescriptor,Trigger<?>> getTriggers concode_elem_sep int getQuietPeriod concode_elem_sep QueueTaskFuture<RunT> scheduleBuild2 concode_elem_sep QueueTa... | String function ( ) { return isParameterized ( ) ? hudson . model . Messages . AbstractProject_build_with_parameters ( ) : hudson . model . Messages . AbstractProject_BuildNow ( ) ; } |
6,834 | create a new builder instance with an status #up status . concode_field_sep Map<String,Object> details concode_elem_sep Status status concode_field_sep Builder withDetail concode_elem_sep Builder withException concode_elem_sep Health build concode_elem_sep int hashCode concode_elem_sep Builder outOfService concode_elem... | Builder function ( ) { return status ( Status . UP ) ; } |
6,835 | converts given readablearray to an array of float . writes result to the array passed in @param into . this method will write to the output array up to the number of items from the input array . if the input array is longer than output the remaining part of the input will not be converted . concode_field_sep PlaceHolde... | int function ( ReadableArray arg0 , float [ ] arg1 ) { int loc0 = arg0 . size ( ) > arg1 . loc0 ? arg1 . loc0 : arg0 . size ( ) ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { arg1 [ loc1 ] = ( float ) arg0 . getDouble ( loc1 ) ; } return arg0 . size ( ) ; } |
6,836 | creates a classloader that can be used to load resources from theworkspace . concode_field_sep boolean resolveSimpleProjectReferences concode_field_sep File getFileSystemFile concode_elem_sep void addJavaClasspathEntries concode_elem_sep void addClasspathEntries concode_elem_sep URL[] convertClassPath concode_elem_sep ... | ClassLoader function ( IProject arg0 ) { final List < URL > loc0 = Lists . newArrayList ( ) ; addClasspathEntries ( arg0 , loc0 ) ; return URLClassLoader . newInstance ( loc0 . toArray ( new URL [ loc0 . size ( ) ] ) , WorkspaceClassLoaderFactory . class . getClassLoader ( ) ) ; } |
6,837 | get the extension name . concode_field_sep BooleanProperty criticalProperty concode_elem_sep StringProperty nameProperty concode_elem_sep X509ExtensionData extensionData concode_elem_sep StringProperty valueProperty concode_field_sep boolean getCritical concode_elem_sep void setName concode_elem_sep String getValue con... | String function ( ) { return this . nameProperty . get ( ) ; } |
6,838 | read the profileid from the cdr intput stream . concode_field_sep PlaceHolder placeHolder concode_field_sep int extract concode_elem_sep void insert concode_elem_sep String id concode_elem_sep TypeCode type concode_elem_sep void write | int function ( InputStream arg0 ) { return arg0 . read_ulong ( ) ; } |
6,839 | devuelve la id concode_field_sep String name concode_elem_sep int id concode_elem_sep MyDate achievementDate concode_elem_sep String content concode_field_sep void setName concode_elem_sep void setContent concode_elem_sep String getName concode_elem_sep String getContent concode_elem_sep void setId | int function ( ) { return id ; } |
6,840 | fetch all links on the page . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isAnchor concode_elem_sep boolean isHTTP concode_elem_sep String contentTypeForURL concode_elem_sep String protocolFromURL concode_elem_sep String domainFromURL concode_elem_sep List<String> anchorsOnly concode_elem_sep in... | List < String > function ( String arg0 ) { String loc0 = USStringUtilities . readStringFromURLUsingEncoding ( arg0 , "srini_string" ) ; String loc1 = "srini_string" ; return matchesInString ( loc0 , loc1 ) ; } |
6,841 | gets the value of the message property . concode_field_sep Integer returnCode concode_elem_sep JAXBElement<String> floatingIP concode_elem_sep JAXBElement<String> longMessage concode_elem_sep JAXBElement<String> message concode_field_sep void setLongMessage concode_elem_sep JAXBElement<String> getLongMessage concode_el... | JAXBElement < String > function ( ) { return message ; } |
6,842 | if this property is set , the current request will be checked for this a parameter with this name and the value used as the target url if present . concode_field_sep boolean useReferer concode_elem_sep boolean alwaysUseDefaultTargetUrl concode_elem_sep Log logger concode_elem_sep RedirectStrategy redirectStrategy conco... | void function ( String arg0 ) { if ( arg0 != null ) { Assert . hasText ( arg0 , "srini_string" ) ; } this . targetUrlParameter = arg0 ; } |
6,843 | attempts to establish a connection with the data source that this datasource object represents . concode_field_sep int loginTimeout concode_elem_sep PrintWriter logWriter concode_elem_sep String user concode_elem_sep String database concode_elem_sep String password concode_field_sep void setPassword concode_elem_sep St... | Connection function ( String arg0 , String arg1 ) { Properties loc0 = new Properties ( ) ; if ( arg0 != null ) { loc0 . put ( "srini_string" , arg0 ) ; } if ( arg1 != null ) { loc0 . put ( "srini_string" , arg1 ) ; } return jdbcDriver . getConnection ( database , loc0 ) ; } |
6,844 | save the recent list to the backing store concode_field_sep List<String> recentList concode_elem_sep String FIRST_USED concode_elem_sep int maxEntries concode_elem_sep String LIST_KEY concode_elem_sep String LAST_USED concode_elem_sep Preferences prefsBase concode_elem_sep String USE_COUNT concode_field_sep Preferences... | void function ( ) { String loc0 = StringUtils . join ( recentList , "srini_string" ) ; prefsBase . put ( LIST_KEY , loc0 ) ; flush ( prefsBase ) ; } |
6,845 | returns the status of this j i r a issue . concode_field_sep JIRAIssue _jiraIssue concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setIssueNumber concode_elem_sep boolean isEscapedModel concode_elem_... | java . lang . String function ( ) { return _jiraIssue . getStatus ( ) ; } |
6,846 | changes the priority of this thread . concode_field_sep char name[] concode_elem_sep int MAX_PRIORITY concode_elem_sep int NORM_PRIORITY concode_elem_sep int is_stillborn concode_elem_sep int threadInitNumber concode_elem_sep int priority concode_elem_sep Object vm_thread concode_elem_sep int is_terminated concode_elem... | void function ( int arg0 ) { if ( arg0 > MAX_PRIORITY || arg0 < MIN_PRIORITY ) { throw new IllegalArgumentException ( ) ; } checkAccess ( ) ; setPriority0 ( priority , arg0 ) ; priority = arg0 ; } |
6,847 | determine the type to convert to , resolving it from a specified class name if necessary . will also reload a specified class from its name when called with the target type already resolved . concode_field_sep String specifiedTypeName concode_elem_sep Object targetType concode_elem_sep boolean dynamic concode_elem_sep ... | Class < ? > function ( ClassLoader arg0 ) { if ( this . targetType == null ) { return null ; } Class < ? > loc0 = ClassUtils . forName ( getTargetTypeName ( ) , arg0 ) ; this . targetType = loc0 ; return loc0 ; } |
6,848 | compares two charrange objects , returning true if they represent exactly the same range of characters defined in the same way . concode_field_sep boolean negated concode_elem_sep char current concode_elem_sep String iToString concode_elem_sep char start concode_elem_sep CharRange range concode_elem_sep char end concod... | boolean function ( final Object arg0 ) { if ( arg0 == this ) { return true ; } if ( arg0 instanceof CharRange == false ) { return false ; } final CharRange loc0 = ( CharRange ) arg0 ; return start == loc0 . start && end == loc0 . end && negated == loc0 . negated ; } |
6,849 | getter concode_field_sep int[] vertexIndices concode_elem_sep ITriangle[] triangles concode_field_sep void removeTriangle concode_elem_sep boolean isTriangleUsingEdge concode_elem_sep ITriangle getNeighbor concode_elem_sep boolean equals concode_elem_sep boolean addTriangle concode_elem_sep int getA concode_elem_sep IT... | int function ( ) { return vertexIndices [ 1 ] ; } |
6,850 | gets the value of the seltype property . concode_field_sep short timeStamp concode_elem_sep String cmpCode concode_elem_sep boolean shared concode_elem_sep String code concode_elem_sep SelectorType selType concode_elem_sep XMLGregorianCalendar modifyDate concode_elem_sep boolean allowEdit concode_elem_sep String hint c... | SelectorType function ( ) { return selType ; } |
6,851 | set the name associated with the event concode_field_sep Map<String,Object> _map concode_elem_sep HelixManager _manager concode_elem_sep Type _type concode_elem_sep String _eventName concode_elem_sep String _pathChanged concode_field_sep void add concode_elem_sep HelixManager getManager concode_elem_sep String getPathC... | void function ( String arg0 ) { _eventName = arg0 ; } |
6,852 | deletes the user competence with the primary key from the database . also notifies the appropriate model listeners . concode_field_sep UserCompetenceLocalService _service concode_field_sep com.liferay.lms.model.UserCompetence updateUserCompetence concode_elem_sep com.liferay.lms.model.UserCompetence updateUserCompetenc... | com . liferay . lms . model . UserCompetence function ( long arg0 ) { return getService ( ) . deleteUserCompetence ( arg0 ) ; } |
6,853 | gets the component id of the selectbooleancheckbox , under the map ui , corresponding to this time zone . concode_field_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_elem_sep String checkboxId concode_field_sep String getUseDaylightTime concode_elem_sep String g... | String function ( ) { return checkboxId ; } |
6,854 | checks if the user is allowed to view the topic . if there currently logged user does not have access to the forum , the template context will be set to show an error message to the user , by calling new moderationhelper . denied i18n.getmessage `` postshow.denied '' concode_field_sep Object MUTEXT concode_field_sep Li... | boolean function ( int arg0 ) { Forum loc0 = ForumRepository . getForum ( arg0 ) ; if ( loc0 == null || ! ForumRepository . isCategoryAccessible ( loc0 . getCategoryId ( ) ) ) { new ModerationHelper ( ) . denied ( I18n . getMessage ( "srini_string" ) ) ; return false ; } return true ; } |
6,855 | serializes the message and writes it to output . concode_field_sep int cachedSize concode_field_sep int computeSerializedSize concode_elem_sep MessageNano mergeFrom concode_elem_sep T mergeFrom concode_elem_sep T mergeFrom concode_elem_sep boolean messageNanoEquals concode_elem_sep int getSerializedSize concode_elem_se... | void function ( CodedOutputByteBufferNano arg0 ) { } |
6,856 | add the shard and set the min created time concode_field_sep Logger logger concode_elem_sep List<Shard> shards concode_elem_sep long maxCreatedTime concode_elem_sep long delta concode_elem_sep Shard rootShard concode_elem_sep Shard compactionTarget concode_field_sep boolean canBeDeleted concode_elem_sep Shard getMinSha... | void function ( final Shard arg0 ) { shards . add ( arg0 ) ; maxCreatedTime = Math . max ( maxCreatedTime , arg0 . getCreatedTime ( ) ) ; compactionTarget = null ; } |
6,857 | renders the error icon concode_field_sep String onBlur concode_elem_sep String riceImageBase concode_elem_sep Field field concode_elem_sep boolean showError concode_elem_sep String accessibleTitle concode_elem_sep int arbitrarilyHighTabIndex concode_elem_sep String dynamicNameLabel concode_field_sep void setField conco... | void function ( PageContext arg0 ) { try { arg0 . getOut ( ) . write ( getErrorIconImageTag ( ) ) ; } catch ( IOException loc0 ) { throw new JspException ( "srini_string" , loc0 ) ; } } |
6,858 | throws a java.lang.nullpointerexception when invoked this is a system exception and should result in the destruction of the instance and invalidation of the remote reference . concode_field_sep EntityContext ejbContext concode_elem_sep String firstName concode_elem_sep String lastName concode_elem_sep int number concod... | void function ( ) { throw new NullPointerException ( "srini_string" ) ; } |
6,859 | called in the ui thread by a setdata callback . refreshes the table if necessary . returns true iff a refresh is needed . concode_field_sep IntHashMap knownIndices concode_elem_sep int[] pendingClears concode_elem_sep boolean updateScheduled concode_elem_sep Runnable uiRunnable concode_elem_sep int MIN_FLUSHLENGTH conc... | void function ( int arg0 ) { int loc0 = Math . min ( table . getTopIndex ( ) - 1 , arg0 ) ; int loc1 = Math . max ( table . getVisibleItemCount ( ) , arg0 - loc0 ) ; Range loc2 = lastRange ; if ( loc0 != loc2 . loc0 || loc1 != loc2 . loc1 ) { updateTable ( ) ; } } |
6,860 | returns a comparator that compares contained numbers based on their numeric values and compares other parts based on each character 's unicode value while ignore upper/lower case differences . do not use if your app might ever run on any locale that uses more than 7-bit ascii characters . concode_field_sep Comparator<S... | Comparator < String > function ( ) { return IGNORE_CASE_NATURAL_COMPARATOR_ASCII ; } |
6,861 | the default implementation does nothing . concode_field_sep PlaceHolder placeHolder concode_field_sep void exitRule_ concode_elem_sep void exitOneormore concode_elem_sep void enterLhs concode_elem_sep void enterElement concode_elem_sep void exitRulelist concode_elem_sep void exitAlternatives concode_elem_sep void exitO... | void function ( @ NotNull bnfParser . TextContext arg0 ) { } |
6,862 | insert the server id into any uses any #insert_string . concode_field_sep PlaceHolder placeHolder concode_field_sep String extract concode_elem_sep String read concode_elem_sep String id concode_elem_sep TypeCode type concode_elem_sep void write | void function ( Any arg0 , String arg1 ) { arg0 . insert_string ( arg1 ) ; } |
6,863 | rearrange the elements of the subarray a lo . . hi in random order . concode_field_sep Random random concode_elem_sep long seed concode_field_sep double cauchy concode_elem_sep long getSeed concode_elem_sep int poisson concode_elem_sep void main concode_elem_sep int discrete concode_elem_sep double uniform concode_elem... | void function ( double [ ] arg0 , int arg1 , int arg2 ) { if ( arg1 < 0 || arg1 > arg2 || arg2 >= arg0 . length ) { throw new IndexOutOfBoundsException ( "srini_string" ) ; } for ( int loc0 = arg1 ; loc0 <= arg2 ; loc0 ++ ) { int loc1 = loc0 + uniform ( arg2 - loc0 + 1 ) ; double loc2 = arg0 [ loc0 ] ; arg0 [ loc0 ] = ... |
6,864 | asynchronous wrapper . concode_field_sep UserStore.Client mClient concode_elem_sep String mAuthenticationToken concode_field_sep void authenticate concode_elem_sep void checkVersion concode_elem_sep void getUser concode_elem_sep void isBusinessUserAsync concode_elem_sep UserStore.Client getClient concode_elem_sep void ... | void function ( final OnClientCallback < Void > arg0 ) { AsyncReflector . execute ( mClient , arg0 , "srini_string" , mAuthenticationToken ) ; } |
6,865 | returns the current occuppied size of the stack . concode_field_sep String[] stack concode_elem_sep int N concode_field_sep String pop concode_elem_sep boolean isEmpty concode_elem_sep void push | int function ( ) { return N ; } |
6,866 | sets the name value for this contentbundle . concode_field_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String name concode_elem_sep java.lang.String description concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Long id conc... | void function ( java . lang . String arg0 ) { this . name = arg0 ; } |
6,867 | the actual data to put into local file data - without header-id or length specifier . concode_field_sep byte[] NO_BYTES concode_elem_sep ZipShort ID concode_elem_sep JarMarker DEFAULT concode_elem_sep ZipShort NULL concode_field_sep ZipShort getLocalFileDataLength concode_elem_sep void parseFromLocalFileData concode_el... | byte [ ] function ( ) { return NO_BYTES ; } |
6,868 | returns the given value restricted to the range 0.0 , 1.0 . concode_field_sep Map<Phase,PhaseTracking> phases concode_field_sep long getSize concode_elem_sep Iterable<Phase> getPhases concode_elem_sep StepTracking getStepTracking concode_elem_sep Iterable<Step> getSteps concode_elem_sep long getTotal concode_elem_sep l... | float function ( float arg0 ) { return Math . max ( 0.0f , Math . min ( 1.0f , arg0 ) ) ; } |
6,869 | getsymbols will return the symbol at the index specified . it will do this if and only if the index is not less than 0 and greater than the symbol count . concode_field_sep SymbolList pRuleSymbols concode_elem_sep Symbol pRuleNonterminal concode_elem_sep int pTableIndex concode_field_sep int getTableIndex concode_elem_... | Symbol function ( int arg0 ) { if ( ( arg0 >= 0 ) & ( arg0 < pRuleSymbols . count ( ) ) ) { return pRuleSymbols . getMember ( arg0 ) ; } return null ; } |
6,870 | this method performs the addition of a class . concode_field_sep Logger LOGGER concode_elem_sep Set<Class<?>> classes concode_field_sep ClassScanner removeClasses concode_elem_sep void removeClasses concode_elem_sep void removePackage concode_elem_sep ClassScanner addClasses concode_elem_sep ClassScanner addClasses con... | void function ( final Class < ? > arg0 ) { LOGGER . debug ( "srini_string" , arg0 ) ; classes . add ( arg0 ) ; } |
6,871 | updates the time and load counters and resets the time . call #start to begin a new count . the values are onlyvalid after at least two calls to this method . concode_field_sep long startTime concode_elem_sep long lastTick concode_elem_sep FloatCounter load concode_elem_sep String name concode_elem_sep boolean valid co... | void function ( ) { final long loc0 = TimeUtils . nanoTime ( ) ; if ( lastTick > 0L ) tick ( ( loc0 - lastTick ) * nano2seconds ) ; lastTick = loc0 ; } |
6,872 | specifies if disk logging should be enabled or not . defaults to true . it is useful for junit testing , or to profile code without seeing the transaction manager 's activity as a hot spot but this should never be disabled on production or data integrity can not be guaranteed . concode_field_sep String outputDir concod... | void function ( boolean arg0 ) { this . enableLogging = arg0 ; set ( "srini_string" , arg0 ) ; } |
6,873 | adds data to the current hash concode_field_sep byte[] opad concode_elem_sep byte OPAD concode_elem_sep int blockLength concode_elem_sep MessageDigest digest concode_elem_sep byte[] ipad concode_elem_sep byte IPAD concode_field_sep void init concode_elem_sep int digestLength concode_elem_sep byte[] sign concode_elem_se... | void function ( byte [ ] arg0 , int arg1 , int arg2 ) { digest . update ( arg0 , arg1 , arg2 ) ; } |
6,874 | helper for error callbacks that just returns the status.error by default concode_field_sep String callbackId concode_elem_sep CordovaWebView webView concode_elem_sep int changingThreads concode_elem_sep String LOG_TAG concode_elem_sep boolean finished concode_field_sep boolean isChangingThreads concode_elem_sep String ... | void function ( int arg0 ) { sendPluginResult ( new PluginResult ( PluginResult . Status . ERROR , arg0 ) ) ; } |
6,875 | checks for whether the platform is #server . concode_field_sep String API_ID concode_field_sep Type getType concode_elem_sep PluginContainer getContainer concode_elem_sep PluginContainer getImplementation concode_elem_sep Map<String,Object> asMap concode_elem_sep MinecraftVersion getMinecraftVersion concode_elem_sep Ty... | boolean function ( ) { return this == SERVER ; } |
6,876 | the id of the resource . concode_field_sep String resourceId concode_elem_sep UnsuccessfulItemError error concode_field_sep UnsuccessfulItemError getError concode_elem_sep UnsuccessfulItem withResourceId concode_elem_sep UnsuccessfulItem withError concode_elem_sep void setError concode_elem_sep int hashCode concode_ele... | String function ( ) { return this . resourceId ; } |
6,877 | takes a list of strings , quotes them in single quotes , and appends them to a stringbuilder separated by a comma and space . this can be parsed back out by #parselist . concode_field_sep ImmutableList<String> include concode_elem_sep boolean glob concode_elem_sep ImmutableList<String> exclude concode_field_sep boolean... | void function ( StringBuilder arg0 , List < String > arg1 ) { } |
6,878 | warning log message . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d concode_elem_sep void s... | void function ( String arg0 , String arg1 ) { if ( LOG . WARN >= LOGLEVEL ) Log . w ( arg0 , arg1 ) ; } |
6,879 | changes the status code of the response and ends the exchange . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | void function ( HttpServerExchange arg0 , int arg1 ) { endExchange ( arg0 , arg1 , null ) ; } |
6,880 | adds a rigid area of size strutsize to panel concode_field_sep PlaceHolder placeHolder concode_field_sep void centerFrame concode_elem_sep T getChoiceOptional concode_elem_sep ImageIcon getIconFromFile concode_elem_sep T getChoice concode_elem_sep List<T> getChoicesOptional concode_elem_sep ImageIcon getResizedIcon con... | void function ( JPanel arg0 , int arg1 ) { arg0 . add ( Box . createRigidArea ( new Dimension ( arg1 , arg1 ) ) ) ; } |
6,881 | compares this linkaddress instance against the specified addressin obj . two addresses are equal if their inetaddress and prefixlength are equal concode_field_sep int prefixLength concode_elem_sep InetAddress address concode_elem_sep Creator<LinkAddress> CREATOR concode_field_sep int hashCode concode_elem_sep int getNe... | boolean function ( Object arg0 ) { if ( ! ( arg0 instanceof LinkAddress ) ) { return false ; } LinkAddress loc0 = ( LinkAddress ) arg0 ; return this . address . equals ( loc0 . address ) && this . prefixLength == loc0 . prefixLength ; } |
6,882 | returns true if the anchor is a left-side anchor , and false otherwise . concode_field_sep TextAnchor HALF_ASCENT_LEFT concode_elem_sep TextAnchor BOTTOM_LEFT concode_elem_sep TextAnchor BASELINE_RIGHT concode_elem_sep TextAnchor BASELINE_CENTER concode_elem_sep TextAnchor TOP_LEFT concode_elem_sep TextAnchor TOP_RIGHT... | boolean function ( ) { return this == BASELINE_LEFT || this == BOTTOM_LEFT || this == CENTER_LEFT || this == HALF_ASCENT_LEFT || this == TOP_LEFT ; } |
6,883 | gets the value of the hosttimezone property . concode_field_sep JAXBElement<String> hostName concode_elem_sep JAXBElement<String> javaVersion concode_elem_sep Integer hostID concode_elem_sep JAXBElement<String> portStatus concode_elem_sep JAXBElement<String> brokerVersion concode_elem_sep JAXBElement<String> brokerInst... | JAXBElement < String > function ( ) { return hostTimeZone ; } |
6,884 | convenience method to avoid common casts . concode_field_sep LazyDynaMap policyProperties concode_field_sep BigInteger getBigInteger concode_elem_sep Object getObject concode_elem_sep byte getByte concode_elem_sep void set concode_elem_sep Date getTime concode_elem_sep double getDouble concode_elem_sep BigDecimal getBi... | Date function ( String arg0 ) { return ( Date ) get ( arg0 ) ; } |
6,885 | getter for the field user . concode_field_sep String reportEmail concode_elem_sep String theDate concode_elem_sep Date reportRequestDate concode_elem_sep String reportFormat concode_elem_sep String user concode_field_sep void setReportFormat concode_elem_sep String getReportEmail concode_elem_sep void setReportEmail co... | String function ( ) { return user ; } |
6,886 | return address reference for specified array object concode_field_sep PlaceHolder placeHolder concode_field_sep Object getPrototype concode_elem_sep Object resolveAddress concode_elem_sep int tie concode_elem_sep int tied concode_elem_sep int instance concode_elem_sep void untie concode_elem_sep int getAddressPrototype... | int function ( Object arg0 [ ] ) { throw new RuntimeException ( "srini_string" ) ; } |
6,887 | clears action errors list . will clear the list that contains action errors . concode_field_sep Collection<String> actionErrors concode_elem_sep Collection<String> actionMessages concode_elem_sep Map<String,List<String>> fieldErrors concode_field_sep Collection<String> getActionErrors concode_elem_sep void setFieldErro... | void function ( ) { internalGetActionErrors ( ) . clear ( ) ; } |
6,888 | adding a new member to the group . concode_field_sep Set<String> vertexIDs concode_field_sep void removeVertexID concode_elem_sep Object clone concode_elem_sep int getNumberOfVertices concode_elem_sep List<MapperDAGVertex> getVertices concode_elem_sep String toString | void function ( final String arg0 ) { for ( final String loc0 : this . vertexIDs ) { if ( loc0 . equals ( arg0 ) ) { return ; } } this . vertexIDs . add ( arg0 ) ; } |
6,889 | this method resets the incoming events time events included . concode_field_sep boolean event1 concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep void reactMain_region_A concode_elem_sep void init concode_elem_sep SCInterface getSCInte... | void function ( ) { sCInterface . clearEvents ( ) ; } |
6,890 | before transaction completion function concode_field_sep PlaceHolder placeHolder concode_field_sep T doInHibernate concode_elem_sep void doInHibernate concode_elem_sep T doInHibernateSessionBuilder concode_elem_sep void doInHibernateSessionBuilder concode_elem_sep T doInJPA concode_elem_sep void doInJPA concode_elem_se... | void function ( ) { } |
6,891 | verify if every event has a non-null , non-empty description concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | void function ( ) { for ( final Event loc0 : Event . values ( ) ) { final String loc1 = loc0 . loc1 ( ) ; assertNotNull ( loc1 ) ; assertFalse ( loc1 . trim ( ) . isEmpty ( ) ) ; } } |
6,892 | return a list of all currently running services . concode_field_sep PlaceHolder placeHolder concode_field_sep void addService concode_elem_sep IBinder checkService concode_elem_sep void initServiceCache concode_elem_sep IBinder getService | String [ ] function ( ) { return null ; } |
6,893 | gets the value of the msg property . concode_field_sep String msg concode_field_sep void setMsg | String function ( ) { return msg ; } |
6,894 | get the user object from the http session . concode_field_sep Log log concode_elem_sep JosService josService concode_field_sep Domain getDomain concode_elem_sep JosService getJosService concode_elem_sep void setJosService concode_elem_sep Log getLog concode_elem_sep UserSession getUserSession concode_elem_sep UserSessi... | User function ( final HttpSession arg0 ) { return this . getUserSession ( arg0 ) . getUser ( ) ; } |
6,895 | githubprofile can reject yaml with missing script in release command . concode_field_sep PlaceHolder placeHolder concode_field_sep void rejectGetAssetWithNotExistFile concode_elem_sep void rejectGetAssetWithWrongRepo concode_elem_sep void rejectGetAssetWithNoFriends concode_elem_sep void acceptsYamlWithOnlyMerge concod... | void function ( ) { } |
6,896 | stop timer . concode_field_sep GLTexture textureToRenderTo concode_elem_sep CellRendererPane crp concode_elem_sep PImage tempImage concode_elem_sep Rectangle tmpBoundsRect concode_elem_sep List<ActionListener> paintedListeners concode_elem_sep BufferedImage img concode_elem_sep Timer t concode_elem_sep Graphics2D g con... | void function ( ) { if ( t != null ) { t . stop ( ) ; } } |
6,897 | gets the value of the lststyle property . concode_field_sep CTTextListStyle lstStyle concode_elem_sep CTTextBodyProperties bodyPr concode_elem_sep CTOfficeArtExtensionList extLst concode_elem_sep CTShapeProperties spPr concode_elem_sep CTShapeStyle style concode_field_sep CTShapeProperties getSpPr concode_elem_sep void... | CTTextListStyle function ( ) { return lstStyle ; } |
6,898 | the default implementation of this icontributionitem method returns the value recorded in an internal state variable , which is true by default . setvisible should be used to change this setting . concode_field_sep IContributionManager parent concode_elem_sep boolean visible concode_elem_sep String id concode_field_sep... | boolean function ( ) { return visible ; } |
6,899 | handles the given coreexception . concode_field_sep ExceptionHandler fgInstance concode_field_sep void displayMessageDialog concode_elem_sep void log concode_elem_sep void perform concode_elem_sep void perform | void function ( CoreException arg0 , Shell arg1 , String arg2 , String arg3 ) { fgInstance . perform ( arg0 , arg1 , arg2 , arg3 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.