idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
8,200 | sets the context name of this module . concode_field_sep Module _module concode_field_sep boolean isBundle concode_elem_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boo... | void function ( java . lang . String arg0 ) { _module . setContextName ( arg0 ) ; } |
8,201 | returns the spring bean id for this bean . concode_field_sep VcmsCategoryLocalService _service concode_field_sep com.vportal.portlet.vcms.model.VcmsCategory addVcmsCategory concode_elem_sep com.vportal.portlet.vcms.model.VcmsCategory getVcmsCategory concode_elem_sep com.vportal.portlet.vcms.model.VcmsCategory createVcm... | java . lang . String function ( ) { return getService ( ) . getBeanIdentifier ( ) ; } |
8,202 | removes all listeners from this object . this is equivalent to calling getlisteners followed by calling clear on the returned list of listeners . concode_field_sep ArrayList<AnimatorListener> mListeners concode_field_sep void cancel concode_elem_sep Animator setDuration concode_elem_sep ArrayList<AnimatorListener> getL... | void function ( ) { if ( mListeners != null ) { mListeners . clear ( ) ; mListeners = null ; } } |
8,203 | sets the value of the odkazpuvodnidokument property . concode_field_sep String oduvodneni concode_elem_sep TOdkaz odkazPuvodniDokument concode_elem_sep List<TVytah> vytah concode_field_sep void setOduvodneni concode_elem_sep TOdkaz getOdkazPuvodniDokument concode_elem_sep List<TVytah> getVytah concode_elem_sep String g... | void function ( TOdkaz arg0 ) { this . odkazPuvodniDokument = arg0 ; } |
8,204 | gets the applink url . concode_field_sep String applinkUrl concode_elem_sep String previewImageUrl concode_field_sep Builder readFrom concode_elem_sep Builder readFrom concode_elem_sep AppInviteContent build concode_elem_sep Builder setPreviewImageUrl concode_elem_sep String getPreviewImageUrl concode_elem_sep Builder ... | String function ( ) { return applinkUrl ; } |
8,205 | sets the name of this resource action . concode_field_sep ResourceAction _resourceAction concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String get... | void function ( java . lang . String arg0 ) { _resourceAction . setName ( arg0 ) ; } |
8,206 | gets the number of times years that this event should repeat . concode_field_sep int interval concode_elem_sep int count concode_elem_sep ResourceLoader rb concode_elem_sep Log M_log concode_elem_sep Time until concode_field_sep int getInterval concode_elem_sep void set concode_elem_sep void excludeInstances concode_el... | int function ( ) { return count ; } |
8,207 | the previous state of the spot fleet request . returns a reference to this object so that method calls can be chained together . constraints : allowed values : submitted , active , cancelled , failed , cancelled_running , cancelled_terminating , modifying concode_field_sep String spotFleetRequestId concode_elem_sep Str... | CancelSpotFleetRequestsSuccessItem function ( BatchState arg0 ) { this . previousSpotFleetRequestState = arg0 . toString ( ) ; return this ; } |
8,208 | get the fileresource by uuid . note that as all wrapped session have to be searched , this concode_field_sep Map<String,Map<String,FileResource>> wrappedMap concode_elem_sep ResourceAdapter<FileResource> resourceAdapter concode_elem_sep Map<String,FileResource> uuidMap concode_field_sep void add concode_elem_sep Map<St... | FileResource function ( String arg0 ) { return uuidMap . get ( arg0 ) ; } |
8,209 | getter for property ` sequence ' . concode_field_sep int sequence concode_elem_sep BigDecimal x concode_elem_sep BigDecimal y concode_elem_sep String description concode_elem_sep long id concode_field_sep void setSequence concode_elem_sep BigDecimal getX concode_elem_sep void setY concode_elem_sep void setX concode_ele... | int function ( ) { return sequence ; } |
8,210 | tests this object for equality with an arbitrary object . concode_field_sep long serialVersionUID concode_elem_sep double lower concode_elem_sep double upper concode_field_sep Range expandToInclude concode_elem_sep boolean intersects concode_elem_sep boolean intersects concode_elem_sep Range shift concode_elem_sep Rang... | boolean function ( Object arg0 ) { if ( ! ( arg0 instanceof Range ) ) { return false ; } Range loc0 = ( Range ) arg0 ; if ( ! ( this . lower == loc0 . lower ) ) { return false ; } if ( ! ( this . upper == loc0 . upper ) ) { return false ; } return true ; } |
8,211 | unregisters all subscriber methods on a registered object . concode_field_sep Logger logger concode_elem_sep String identifier concode_elem_sep SubscriberRegistry subscribers concode_elem_sep Executor executor concode_elem_sep LoggingHandler INSTANCE concode_elem_sep SubscriberExceptionHandler exceptionHandler concode_... | void function ( Object arg0 ) { subscribers . unregister ( arg0 ) ; } |
8,212 | normalize the start page `` pp . '' , `` p. '' are removed concode_field_sep String ANTHRO_PLUS concode_elem_sep String JSTOR concode_field_sep String normalize concode_elem_sep String normalizeAnthroPlusIssue concode_elem_sep String removePrefix concode_elem_sep String normalizeAnthroPlusTitle concode_elem_sep String ... | String function ( String arg0 ) { return removeJstorPagePrefix ( arg0 ) ; } |
8,213 | opens the specified database object 's database files and starts up the logging process . if the specified database object is a new database , its database files are first created . concode_field_sep Log lLog concode_elem_sep LockFile lf concode_field_sep void checkpoint concode_elem_sep void releaseLock concode_elem_s... | void function ( Database arg0 ) { String loc0 ; loc0 = arg0 . getPath ( ) ; if ( arg0 . isFilesInJar ( ) ) { checkFilesInJar ( loc0 ) ; } else { acquireLock ( loc0 ) ; } lLog = new Log ( arg0 , loc0 ) ; lLog . open ( ) ; } |
8,214 | returns an object from the pool for the specified code . if the object was retained as a @linkplain reference weak reference , the reference #get referent is returned . concode_field_sep LinkedHashMap pool concode_elem_sep int maxStrongReferences concode_field_sep void writeLock concode_elem_sep void writeUnLock concod... | Object function ( final Object arg0 ) { Object loc0 = pool . get ( arg0 ) ; if ( loc0 instanceof Reference ) { loc0 = ( ( Reference ) loc0 ) . get ( ) ; } return loc0 ; } |
8,215 | put the long value to byte array concode_field_sep Logger _log concode_elem_sep ByteArrayOutputStream _bao concode_field_sep void writeI concode_elem_sep void mC3Header concode_elem_sep void mC3Header concode_elem_sep void mC4Header concode_elem_sep void mC4Header concode_elem_sep boolean CompareBits concode_elem_sep v... | void function ( long arg0 ) { _bao . write ( ( int ) ( arg0 & 0xff ) ) ; _bao . write ( ( int ) ( arg0 >> 8 & 0xff ) ) ; _bao . write ( ( int ) ( arg0 >> 16 & 0xff ) ) ; _bao . write ( ( int ) ( arg0 >> 24 & 0xff ) ) ; } |
8,216 | this adds the specified component to the setup panel . it is added below the last ` default ' item . you can only add 1 component here , so if you need to add multiple things , you 'll have to handle adding that to yourself to the one component . concode_field_sep AlternateUIInteractionVersionWrapper alternateUIInterac... | void function ( JComponent component ) { getGradleUI ( ) . setCustomPanelToSetupTab ( component ) ; } |
8,217 | creates a new terminalsize object representing a size with the same number of columns , but with a row size offset by a supplied value . calling this method with delta 0 will return this , calling it with a positive delta will return a terminal size delta number of rows longer and for negative numbers shorter . concode... | TerminalSize function ( int arg0 ) { if ( arg0 == 0 ) { return this ; } return withRows ( rows + arg0 ) ; } |
8,218 | a state must be reachable . concode_field_sep SGraphFactory factory concode_elem_sep BasicDiagnostic diagnostics concode_elem_sep SGraphJavaValidator validator concode_elem_sep StextFactory sTextFactory concode_elem_sep State state concode_elem_sep Region region concode_elem_sep Statechart statechart concode_field_sep ... | void function ( ) { prepareStateTest ( ) ; assertFalse ( validator . validate ( state , diagnostics , new HashMap < Object , Object > ( ) ) ) ; assertError ( diagnostics , ISSUE_NODE_NOT_REACHABLE ) ; } |
8,219 | returns the aggregation that is associated with the specified name . concode_field_sep Map<String,Aggregation> aggregationsAsMap concode_elem_sep String AGGREGATIONS_FIELD concode_elem_sep List<? extends Aggregation> aggregations concode_field_sep Iterator<Aggregation> iterator concode_elem_sep Map<String,Aggregation> ... | A function ( String arg0 ) { return ( A ) asMap ( ) . get ( arg0 ) ; } |
8,220 | returns the coverage identifier related to the specified coverageid , or null if the syntax is incorrect concode_field_sep String GRANULE_SEPARATOR concode_elem_sep EOCoverageResourceCodec codec concode_elem_sep GeoServer geoserver concode_elem_sep Logger LOGGER concode_field_sep CoverageInfo handleCoverageInfo concode... | String function ( String arg0 ) { if ( ! arg0 . contains ( GRANULE_SEPARATOR ) ) { return null ; } String [ ] loc0 = arg0 . split ( GRANULE_SEPARATOR ) ; if ( loc0 . length != 2 ) { return null ; } else { return loc0 [ 1 ] ; } } |
8,221 | sets the value of the mappingname property . concode_field_sep String mappingName concode_elem_sep String attributeCrmDisplayName concode_elem_sep String attributeCrmName concode_elem_sep String attributeExchangeDisplayName concode_elem_sep long serialVersionUID concode_elem_sep Integer allowedSyncDirection concode_ele... | void function ( String arg0 ) { this . mappingName = arg0 ; } |
8,222 | sets the value of the invoice property . concode_field_sep int totalOccurrences concode_elem_sep String lastName concode_elem_sep BigDecimal amount concode_elem_sep String accountNumber concode_elem_sep XMLGregorianCalendar createTimeStampUTC concode_elem_sep String firstName concode_elem_sep String name concode_elem_s... | void function ( String arg0 ) { this . invoice = arg0 ; } |
8,223 | the name of this dialect as it appears in related class names . concode_field_sep ThirdParty thirdParty concode_elem_sep boolean commercial concode_elem_sep SQLDialect[] FAMILIES concode_elem_sep String name concode_elem_sep SQLDialect predecessor concode_elem_sep SQLDialect family concode_field_sep ThirdParty thirdPar... | String function ( ) { return name ; } |
8,224 | gets the pause time in milliseconds . concode_field_sep int DEFAULT_REPLICA_INDEX concode_elem_sep long callTimeout concode_elem_sep Operation op concode_elem_sep int replicaIndex concode_elem_sep long DEFAULT_CALL_TIMEOUT concode_elem_sep int DEFAULT_TRY_COUNT concode_elem_sep int partitionId concode_elem_sep NodeEngi... | long function ( ) { return tryPauseMillis ; } |
8,225 | convenience methods for subclasses which use corelabel . gets the word after applying any wordfunction present in the seqclassifierflags . concode_field_sep Clique cliqueCpCp2C concode_elem_sep Clique cliqueCp3C concode_elem_sep Clique cliqueCpCp2Cp3Cp4C concode_elem_sep Clique cliqueCnC concode_elem_sep Clique cliqueC... | String function ( CoreLabel arg0 ) { String loc0 = arg0 . getString ( CoreAnnotations . TextAnnotation . class ) ; if ( flags . wordFunction != null ) { loc0 = flags . wordFunction . apply ( loc0 ) ; } return loc0 ; } |
8,226 | loads the sharedpreferences in the background . sharedpreferences #edit blocks until the preferences are loaded from disk . this results in a strictmode violation as this may be called from the ui thread . this loads the preferences in the background to hopefully avoid the violation if the next edit call happens once t... | void function ( final Context arg0 ) { new AsyncTask < Void , Void , Void > ( ) { @ Override protected Void doInBackground ( Void ... arg1 ) { arg0 . getSharedPreferences ( PREFERENCES_NAME , 0 ) . edit ( ) ; return null ; } } . executeOnExecutor ( AsyncTask . THREAD_POOL_EXECUTOR ) ; } |
8,227 | the name of topic we want to use concode_field_sep boolean noRandomizeServers concode_elem_sep String replySubject concode_elem_sep String maxMessages concode_elem_sep int flushTimeout concode_elem_sep int reconnectTimeWait concode_elem_sep SSLContextParameters sslContextParameters concode_elem_sep boolean flushConnect... | String function ( ) { return topic ; } |
8,228 | returns whether the given shape is a vector concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isRowVectorShape concode_elem_sep boolean isMatrix concode_elem_sep int[] squeeze concode_elem_sep int[] squeeze concode_elem_sep boolean shapeEquals concode_elem_sep boolean squeezeEquals concode_elem_sep IN... | boolean function ( int [ ] arg0 ) { if ( arg0 . length > 2 || arg0 . length < 1 ) return false ; else { int loc0 = ArrayUtil . prod ( arg0 ) ; return arg0 [ 0 ] == loc0 || arg0 [ 1 ] == loc0 ; } } |
8,229 | updates the browser tracker in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep BrowserTrackerLocalService _browserTrackerLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep ... | com . liferay . portal . model . BrowserTracker function ( com . liferay . portal . model . BrowserTracker arg0 ) { return _browserTrackerLocalService . updateBrowserTracker ( arg0 ) ; } |
8,230 | test method for org.jboss.security.config.securityconfiguration #setdeepcopysubjectmode boolean . concode_field_sep PlaceHolder placeHolder concode_field_sep void testGetCipherAlgorithm concode_elem_sep void testSetIterationCount concode_elem_sep void testGetKeyStoreURL concode_elem_sep void testGetSalt concode_elem_se... | void function ( ) { SecurityConfiguration . setDeepCopySubjectMode ( false ) ; } |
8,231 | whether or not state from the ret instruction , of the subroutine that was jumped to has been merged . concode_field_sep boolean retMerged concode_elem_sep Type[] stack concode_elem_sep int top concode_elem_sep boolean jsrMerged concode_elem_sep Type[] locals concode_field_sep int localsLength concode_elem_sep boolean ... | boolean function ( ) { return retMerged ; } |
8,232 | the number of lock requests that have timed out . concode_field_sep int st_objectsteals concode_elem_sep int st_hash_len concode_elem_sep int st_cur_maxid concode_elem_sep int st_maxobjects concode_elem_sep int st_maxlsteals concode_elem_sep int st_partitions concode_elem_sep int st_part_max_nowait concode_elem_sep int... | int function ( ) { return st_nlocktimeouts ; } |
8,233 | adds the given status providers to the given data binding context . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isValid concode_elem_sep boolean isDisposed concode_elem_sep void dispose concode_elem_sep void dispose concode_elem_sep void dispose concode_elem_sep void dispose concode_elem_sep voi... | void function ( Collection < ValidationStatusProvider > arg0 , DataBindingContext arg1 ) { for ( ValidationStatusProvider loc0 : new ArrayList < > ( arg0 ) ) { arg1 . addValidationStatusProvider ( loc0 ) ; } } |
8,234 | auxiliary method for loading users one by one . concode_field_sep List<Rating> allRatings concode_elem_sep String name concode_elem_sep Map<Integer,List<Rating>> ratingsByUserId concode_elem_sep Set<String> allTermsSet concode_elem_sep long serialVersionUID concode_elem_sep Map<Integer,Item> allItems concode_elem_sep M... | boolean function ( User arg0 ) { return add ( arg0 , false ) ; } |
8,235 | return the first argument that is not null . this is used to specify default parameters concode_field_sep PlaceHolder placeHolder concode_field_sep String getOptional concode_elem_sep String getOptional concode_elem_sep boolean toBoolean concode_elem_sep String[] getOptionalValues concode_elem_sep String getConsumedCon... | T function ( T ... arg0 ) { for ( T loc0 : arg0 ) { if ( loc0 != null ) { return loc0 ; } } return null ; } |
8,236 | print a short to standard output and then terminate the line . concode_field_sep String CHARSET_NAME concode_elem_sep Locale LOCALE concode_elem_sep PrintWriter out concode_field_sep void print concode_elem_sep void print concode_elem_sep void print concode_elem_sep void print concode_elem_sep void print concode_elem_s... | void function ( short arg0 ) { out . println ( arg0 ) ; } |
8,237 | information about the person who committed the specified commit , also known as the committer . for more information about the difference between an author and a committer in git , see viewing the commit history in pro git by scott chacon and ben straub . concode_field_sep String treeId concode_elem_sep UserInfo commit... | UserInfo function ( ) { return this . committer ; } |
8,238 | updates the log level , if this preference can be edited in this build . concode_field_sep int DEBUG_LOG_LEVEL concode_field_sep void initLogLevel concode_elem_sep int getLogLevel | boolean function ( int arg0 ) { if ( BuildConfig . DEBUG ) { return false ; } LogUtils . setLogLevel ( arg0 ) ; return true ; } |
8,239 | gets the value of the id property . concode_field_sep String ref concode_elem_sep String original concode_elem_sep List<Integer> evidence concode_elem_sep String description concode_elem_sep LocationType location concode_elem_sep String id concode_elem_sep String type concode_elem_sep List<String> variation concode_ele... | String function ( ) { return id ; } |
8,240 | creates a dateformat that assumes the incoming date is in utc time . concode_field_sep int SECONDS_OF_TWO_WEEKS concode_elem_sep int MINUTES_OF_ONE_HOUR concode_elem_sep int SECONDS_OF_NINETY_DAYS concode_elem_sep int MINUTES_OF_ONE_DAY concode_elem_sep DateFormat sFormatterInSec concode_elem_sep int SECONDS_OF_ONE_HOU... | DateFormat function ( String arg0 ) { DateFormat loc0 = new SimpleDateFormat ( arg0 ) ; loc0 . setTimeZone ( TimeZone . getTimeZone ( "srini_string" ) ) ; return loc0 ; } |
8,241 | latch to test whether a timeout is fired after overlapping with a timeout retry . the test should wait a minimum of 4 seconds . concode_field_sep Logger LOGGER concode_elem_sep CountDownLatch started concode_elem_sep int counter concode_elem_sep CountDownLatch alive concode_field_sep CountDownLatch startLatch concode_e... | CountDownLatch function ( ) { return alive ; } |
8,242 | gets a float specified by the key in the dictionary entries . if the value is a reference , the float value that the reference points to is returned . concode_field_sep Hashtable<Object,Object> entries concode_elem_sep Library library concode_elem_sep boolean inited concode_elem_sep boolean isDeleted concode_elem_sep R... | float function ( String arg0 ) { return library . getFloat ( entries , arg0 ) ; } |
8,243 | comparisson method for shorts . concode_field_sep short value concode_field_sep placeholderType placeHolder | boolean function ( Object arg0 ) { if ( arg0 instanceof Short ) return ( value == ( ( Short ) arg0 ) . shortValue ( ) ) ; else return false ; } |
8,244 | schedules request to be executed . concode_field_sep boolean followProtocolRedirects concode_elem_sep HostnameVerifier hostnameVerifier concode_elem_sep ConnectionPool connectionPool concode_elem_sep List<String> DEFAULT_TRANSPORTS concode_elem_sep RouteDatabase routeDatabase concode_elem_sep ProxySelector proxySelecto... | void function ( Request arg0 , Response . Receiver arg1 ) { dispatcher . enqueue ( copyWithDefaults ( ) , arg0 , arg1 ) ; } |
8,245 | return the type of message that has been received given the message string concode_field_sep MaxCulMsgType msgType concode_elem_sep boolean flgReadyToSend concode_elem_sep int PKT_POS_SRC_ADDR_LEN concode_elem_sep int PKT_CHARS_PER_BYTE concode_elem_sep byte len concode_elem_sep byte[] payload concode_elem_sep byte[] d... | MaxCulMsgType function ( String arg0 ) { if ( pktLenOk ( arg0 ) == false ) return MaxCulMsgType . UNKNOWN ; return MaxCulMsgType . fromByte ( ( byte ) ( Integer . parseInt ( arg0 . substring ( PKT_POS_MSG_TYPE , PKT_POS_MSG_TYPE + PKT_POS_MSG_TYPE_LEN ) , 16 ) & 0xff ) ) ; } |
8,246 | dom : implements treewalker #previoussibling . concode_field_sep NodeFilter filter concode_elem_sep boolean expandEntityReferences concode_elem_sep Node root concode_elem_sep Node currentNode concode_elem_sep int whatToShow concode_field_sep int getWhatToShow concode_elem_sep Node parentNode concode_elem_sep Node paren... | Node function ( ) { Node loc0 = previousSibling ( currentNode , root ) ; if ( loc0 != null ) { currentNode = loc0 ; } return loc0 ; } |
8,247 | red . the health agent is reporting a very high number of request failures or other issues for an instance or environment . concode_field_sep Integer pending concode_elem_sep Integer severe concode_elem_sep Integer warning concode_elem_sep Integer noData concode_elem_sep Integer ok concode_elem_sep Integer degraded con... | Integer function ( ) { return this . severe ; } |
8,248 | check if the current state is given state . code executed after may not have the same state , to execute and ensure state is allowed use #guard instead . concode_field_sep String current concode_elem_sep Logger log concode_elem_sep String initial concode_elem_sep String failure concode_elem_sep String[] allowed concode... | boolean function ( final String arg0 ) { Lock loc0 = readLock ( ) ; try { return current . equals ( arg0 ) ; } finally { loc0 . unlock ( ) ; } } |
8,249 | set the speed limit , or maximum velocity value allowed by this simulator . concode_field_sep float speedLimit concode_elem_sep ArrayList springs concode_elem_sep int sflen concode_elem_sep Force[] sforces concode_elem_sep Integrator integrator concode_elem_sep ArrayList items concode_elem_sep Force[] iforces concode_e... | void function ( float arg0 ) { speedLimit = arg0 ; } |
8,250 | the method should write this object to the cdr input stream , but following the jdk 1.5 api it does not . concode_field_sep NameDynAnyPair value concode_field_sep void _read concode_elem_sep org.omg.CORBA.TypeCode _type | void function ( OutputStream arg0 ) { NameDynAnyPairHelper . write ( arg0 , value ) ; } |
8,251 | creates and returns an xml seat element , which stores seat state . concode_field_sep SeatType seatType concode_elem_sep SeatState state concode_field_sep SeatState getState concode_elem_sep void load concode_elem_sep SeatType getType concode_elem_sep void setState concode_elem_sep Integer getId concode_elem_sep void s... | Element function ( Document arg0 ) { Element loc0 = arg0 . createElement ( "srini_string" ) ; loc0 . setAttribute ( "srini_string" , ( state == SeatState . Occupied ? state . toString ( ) : SeatState . Empty . toString ( ) ) ) ; return loc0 ; } |
8,252 | read in implicit feedback data from a file . each line must consist of at least two fields , the first being a user identifier , the second being an item identifier . additional fields and empty lines are ignored . see constants.split _ chars for details of the permissible field separators . concode_field_sep PlaceHold... | IPosOnlyFeedback function ( String arg0 , IEntityMapping arg1 , IEntityMapping arg2 , boolean arg3 ) { BufferedReader loc0 ; if ( arg0 . equals ( "srini_string" ) ) { loc0 = new BufferedReader ( new InputStreamReader ( System . in ) ) ; } else { loc0 = new BufferedReader ( new FileReader ( arg0 ) ) ; } return read ( lo... |
8,253 | get the css wrapped in the specified media query . note : all existing rule objects are reused , so modifying them also modifies the original css ! concode_field_sep MediaQueryTools s_aInstance concode_field_sep boolean canWrapInMediaQuery concode_elem_sep boolean canWrapInMediaQuery concode_elem_sep List<CSSMediaQuery... | CascadingStyleSheet function ( @ Nonnull final CascadingStyleSheet arg0 , @ Nonnull final CSSMediaQuery arg1 , final boolean arg2 ) { return getWrappedInMediaQuery ( arg0 , ContainerHelper . newList ( arg1 ) , arg2 ) ; } |
8,254 | throws a robotexception . this method should be called when the robot 's peer is uninitialized . concode_field_sep IBasicRobotPeer peer concode_elem_sep java.io.PrintStream out concode_field_sep void finalize concode_elem_sep void setPeer concode_elem_sep void setOut | void function ( ) { StackTraceElement [ ] loc0 = Thread . currentThread ( ) . getStackTrace ( ) ; String loc1 = loc0 [ 2 ] . getMethodName ( ) ; throw new RobotException ( "srini_string" + loc1 + "srini_string" ) ; } |
8,255 | remove existing datasourceinformationrepositorylistener concode_field_sep Log log concode_elem_sep Map<String,DataSourceInformation> dataSourceInformationMap concode_elem_sep DataSourceInformationRepositoryListener listener concode_elem_sep SecretResolver secretResolver concode_field_sep DataSourceInformation removeDat... | void function ( ) { this . listener = null ; } |
8,256 | sets the user name . concode_field_sep String password concode_elem_sep String userName concode_field_sep void setPassword concode_elem_sep String getPassword concode_elem_sep String getUserName | void function ( String arg0 ) { this . userName = arg0 ; } |
8,257 | dependency items are used in cached values to remember the state of the environment as it was when the value was computed and to compare that to the state of the world when querying cachedvalue #getvalue . the state is remembered as a collection of long values representing some time stamps . when changes occur , these ... | Object [ ] function ( ) { return myDependencyItems ; } |
8,258 | the name of the certificate . concode_field_sep java.util.Date certificateUploadDate concode_elem_sep String distributionDomainName concode_elem_sep String domainName concode_elem_sep String certificateName concode_field_sep String getCertificateName concode_elem_sep void setCertificateName concode_elem_sep void setDom... | DomainName function ( String arg0 ) { setCertificateName ( arg0 ) ; return this ; } |
8,259 | repositions the iterator so the key of the next blockelement returned greater than or equal to the specified targetkey . concode_field_sep DBIterator iter concode_field_sep Map.Entry<byte[],byte[]> next concode_elem_sep Map.Entry<byte[],byte[]> peekPrev concode_elem_sep Map.Entry<byte[],byte[]> peekNext concode_elem_se... | void function ( byte [ ] arg0 ) { try { iter . seek ( arg0 ) ; } catch ( DBException loc0 ) { throw loc0 ; } catch ( RuntimeException loc0 ) { throw new DBException ( loc0 . getMessage ( ) , loc0 ) ; } } |
8,260 | return value for system property name or defaultvalue if the property does not exist or a security manager denies access to it concode_field_sep Logger logger concode_field_sep int intProperty concode_elem_sep boolean booleanProperty concode_elem_sep boolean booleanProperty concode_elem_sep double sysPropertyDouble con... | String function ( String arg0 , String arg1 ) { try { return System . getProperty ( arg0 , arg1 ) ; } catch ( SecurityException loc0 ) { logger . log ( Level . FINE , "srini_string" , loc0 ) ; } return arg1 ; } |
8,261 | notification manager for the application . concode_field_sep Context context concode_field_sep Notification cancel concode_elem_sep void cancelAll concode_elem_sep List<Integer> getIdsByType concode_elem_sep List<Notification> getAll concode_elem_sep List<Notification> getByType concode_elem_sep List<JSONObject> getOpt... | NotificationManager function ( ) { return ( NotificationManager ) context . getSystemService ( Context . NOTIFICATION_SERVICE ) ; } |
8,262 | returns the version . concode_field_sep Boolean _boolean concode_elem_sep Integer _null concode_elem_sep Byte _byte concode_elem_sep String joinedProp concode_elem_sep java.io.Serializable nullBlob concode_elem_sep byte[] _bytes concode_elem_sep Double _double concode_elem_sep Short _short concode_elem_sep int _int con... | int function ( ) { return version ; } |
8,263 | example of the simplest possible test case : set up a default cluster with one drillbit , a corresponding client , run a query and print the results . concode_field_sep PlaceHolder placeHolder concode_field_sep void setupFile concode_elem_sep void secondTest concode_elem_sep void thirdTest concode_elem_sep void fifthTe... | void function ( ) { try ( ClusterFixture loc0 = ClusterFixture . standardCluster ( ) ; ClientFixture loc1 = loc0 . clientFixture ( ) ) { loc1 . queryBuilder ( ) . sql ( "srini_string" ) . printCsv ( ) ; } } |
8,264 | converts units km , nm , miles , etc to arc radians for a spherical planet . this does not check for arc distances > 1/2 planet circumference , which are better represented as 2pi - calculated arc . concode_field_sep double DATELINE_D concode_elem_sep float SOUTH_POLE_F concode_elem_sep float LON_RANGE_F concode_elem_s... | float function ( float arg0 , float arg1 ) { return MoreMath . TWO_PI * ( arg0 / arg1 ) ; } |
8,265 | indicates whether the network interface is deleted when the instance is terminated . concode_field_sep String attachmentId concode_elem_sep Boolean deleteOnTermination concode_elem_sep Integer deviceIndex concode_elem_sep java.util.Date attachTime concode_elem_sep String status concode_field_sep Integer getDeviceIndex ... | Boolean function ( ) { return this . deleteOnTermination ; } |
8,266 | joins a collection of objects together as a string using a separator concode_field_sep PlaceHolder placeHolder concode_field_sep String nullIfEmpty concode_elem_sep String stripPrefix concode_elem_sep List<String> splitAsList concode_elem_sep String joinNotNull concode_elem_sep String splitCamelCase concode_elem_sep St... | String function ( final String arg0 , Object ... arg1 ) { StringBuffer loc0 = new StringBuffer ( ) ; boolean loc1 = true ; for ( Object loc2 : arg1 ) { if ( loc1 ) { loc1 = false ; } else { loc0 . append ( arg0 ) ; } loc0 . append ( loc2 ) ; } return loc0 . toString ( ) ; } |
8,267 | sets meta information about the content object . concode_field_sep MetaInfo metaInfo concode_elem_sep Content content concode_field_sep MetaInfo getMetaInfo concode_elem_sep void setContent concode_elem_sep Content getContent | void function ( MetaInfo arg0 ) { this . metaInfo = arg0 ; } |
8,268 | normalizes this vector concode_field_sep Vector2 tmp concode_elem_sep float x concode_elem_sep float y concode_field_sep Vector2 add concode_elem_sep Vector2 add concode_elem_sep Vector2 sub concode_elem_sep Vector2 sub concode_elem_sep float dst2 concode_elem_sep float lengthSquared concode_elem_sep Vector2 set concod... | Vector2 function ( ) { float loc0 = loc0 ( ) ; if ( loc0 != 0 ) { x /= loc0 ; y /= loc0 ; } return this ; } |
8,269 | implemented annotation callback method . this method is called when a pages annotations been initialized but before the page has been painted . this method blocks the concode_field_sep Color ANNOTATION concode_elem_sep Color ANNOTATION_VISITED concode_elem_sep WeakHashMap<String,AnnotationState> annotationHistory conco... | void function ( Page arg0 ) { ArrayList < Annotation > loc0 = arg0 . getAnnotations ( ) ; if ( loc0 == null || loc0 . size ( ) == 0 ) { return ; } Annotation loc1 ; for ( int loc2 = 0 , loc3 = loc0 . size ( ) ; loc2 < loc3 ; loc2 ++ ) { processNullAnnotationDecoration ( loc0 . get ( loc2 ) ) ; } } |
8,270 | gets the value of the min property . concode_field_sep BigInteger min concode_elem_sep BigInteger max concode_field_sep void setMax concode_elem_sep void setMin concode_elem_sep BigInteger getMax | BigInteger function ( ) { return min ; } |
8,271 | as #leveldependendingifreadonly entity with logginglevel #debug as the default , but logginglevel #trace for read-only concode_field_sep String SSH_IO concode_elem_sep String REST concode_field_sep void log concode_elem_sep void log concode_elem_sep LoggingLevel levelDependingIfReadOnly | LoggingLevel function ( Entity arg0 ) { return levelDependingIfReadOnly ( arg0 , LoggingLevel . DEBUG , LoggingLevel . TRACE , LoggingLevel . DEBUG ) ; } |
8,272 | sets checksumcheckresult . concode_field_sep String checksumCheckResult concode_elem_sep boolean infoFound concode_elem_sep boolean deleted concode_elem_sep boolean toBeProcessed concode_elem_sep Date processEndDate concode_elem_sep DSpaceBitstreamInfo dspaceBitstream concode_elem_sep boolean bitstreamFound concode_ele... | void function ( String arg0 ) { this . checksumCheckResult = arg0 ; } |
8,273 | get the i-th itemset in this sequence . concode_field_sep double exactUtility concode_elem_sep int id concode_elem_sep List<List<Integer>> itemsets concode_elem_sep List<List<Double>> profits concode_field_sep List<List<Double>> getUtilities concode_elem_sep void print concode_elem_sep int size concode_elem_sep String ... | List < Integer > function ( int arg0 ) { return itemsets . get ( arg0 ) ; } |
8,274 | create an instance of jaxbelement concode_field_sep QName _CheckPrimesResponse_QNAME concode_elem_sep QName _CheckPrimes_QNAME concode_elem_sep QName _CheckPrimesResponseReturn_QNAME concode_elem_sep QName _CheckPrimesArg0_QNAME concode_field_sep CheckPrimes createCheckPrimes concode_elem_sep JAXBElement<CheckPrimes> c... | JAXBElement < CheckPrimesResponse > function ( CheckPrimesResponse arg0 ) { return new JAXBElement < CheckPrimesResponse > ( _CheckPrimesResponse_QNAME , CheckPrimesResponse . class , null , arg0 ) ; } |
8,275 | convert these random bytes to a verifier string . the length of the byte array can be #setlength int configured . the default implementation mods the bytes to fit into the ascii letters 1-9 , a-z , a-z . concode_field_sep char[] DEFAULT_CODEC concode_elem_sep Random random concode_elem_sep int length concode_field_sep ... | String function ( byte [ ] arg0 ) { char [ ] loc0 = new char [ arg0 . length ] ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { loc0 [ loc1 ] = DEFAULT_CODEC [ ( ( arg0 [ loc1 ] & 0xFF ) % DEFAULT_CODEC . length ) ] ; } return new String ( loc0 ) ; } |
8,276 | packs scanline for bitdepth 1-2-4 from array into the scanline if scale == true , it scales the value just a bit shift . you probably should use imageline #packtonewimageline concode_field_sep double BIG_VALUE_NEG concode_elem_sep double[] maxdif concode_elem_sep int channels concode_elem_sep double promlum concode_ele... | int [ ] function ( final ImageInfo arg0 , final int [ ] arg1 , int [ ] arg2 , final boolean arg3 ) { final int loc0 = arg0 . samplesPerRowPacked ; if ( arg2 == null || arg2 . length < loc0 ) arg2 = new int [ loc0 ] ; if ( arg0 . packed ) ImageLine . packInplaceInt ( arg0 , arg1 , arg2 , arg3 ) ; else System . arraycopy... |
8,277 | get java version and vendor information concode_field_sep TBinaryProtocol.Factory protocolFactory_ concode_field_sep String throwableToString concode_elem_sep void deserializeThrift concode_elem_sep byte[] getJvmMetrics concode_elem_sep String throwableToStackTrace | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; loc0 . append ( System . getProperty ( "srini_string" ) ) ; loc0 . append ( "srini_string" ) ; loc0 . append ( System . getProperty ( "srini_string" ) ) ; loc0 . append ( "srini_string" ) ; return loc0 . toString ( ) ;... |
8,278 | setter for identitytokeninfo concode_field_sep String preferredPrefix concode_elem_sep RememberMeIDInfoType rememberMeIDInfo concode_elem_sep MobileIDInfoType mobileIDInfo concode_elem_sep IdentityTokenInfoType identityTokenInfo concode_elem_sep String nameSpace concode_field_sep RememberMeIDInfoType getRememberMeIDInf... | void function ( IdentityTokenInfoType arg0 ) { this . identityTokenInfo = arg0 ; } |
8,279 | sets the value of the customerid property . concode_field_sep String customerAddress concode_elem_sep long customerId concode_elem_sep String contactPerson concode_elem_sep List<SalesOpportunity> saleOpportunities concode_elem_sep String customerName concode_field_sep void setContactPerson concode_elem_sep List<SalesOp... | void function ( long arg0 ) { this . customerId = arg0 ; } |
8,280 | add a value to the set of values that you are keeping a histogram of . concode_field_sep int min concode_elem_sep int max concode_elem_sep double avgSelectivity concode_elem_sep int ntups concode_elem_sep int bins[] concode_field_sep double avgSelectivity concode_elem_sep double estimateSelectivity concode_elem_sep Str... | void function ( int arg0 ) { int loc0 = ntups ; int loc1 = ( int ) ( ( max - min ) / bins . length ) ; if ( loc1 == 0 ) loc1 ++ ; int loc2 = ( arg0 - min ) / loc1 ; if ( loc2 >= bins . length ) loc2 = bins . length - 1 ; int loc3 = bins [ loc2 ] ; bins [ loc2 ] ++ ; this . avgSelectivity += 2 * loc3 + 1 ; ntups = loc0 ... |
8,281 | retrieves the designated parameter 's number of decimal digits . concode_field_sep int[] types concode_elem_sep int[] modes concode_elem_sep int parameterCount concode_elem_sep int[] nullability concode_elem_sep boolean[] isIdentity concode_elem_sep String[] classNames concode_elem_sep DITypeInfo ti concode_field_sep i... | int function ( int arg0 ) { checkRange ( arg0 ) ; setupTypeInfo ( -- arg0 ) ; Integer loc0 = ti . getPrecision ( ) ; return loc0 == null ? 0 : loc0 . intValue ( ) ; } |
8,282 | helper function to alloc the object and int array for the given capacity . set limit , reset size to 0 . no elements will be stored in the newly allocated arrays . concode_field_sep int limit concode_elem_sep int[] PRIMES concode_elem_sep Object[] objectTable concode_elem_sep int cap concode_elem_sep int[] intTable con... | void function ( int arg0 ) { if ( arg0 >= PRIMES . length ) throw new InternalError ( "srini_string" ) ; cap = arg0 ; int loc0 = PRIMES [ arg0 ] ; objectTable = new Object [ loc0 ] ; intTable = new int [ loc0 ] ; limit = loc0 / 4 * 3 ; size = 0 ; } |
8,283 | 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 ) { } |
8,284 | returns a hashcode for the specified value . concode_field_sep PlaceHolder placeHolder concode_field_sep int fastCeil | int function ( double arg0 ) { assert ! Double . isNaN ( arg0 ) : "srini_string" ; long loc0 = Double . doubleToLongBits ( arg0 ) ; return ( int ) ( loc0 ^ ( loc0 >>> 32 ) ) ; } |
8,285 | as of servlet 3.1 the id of a session can be changed . concode_field_sep long lastAccessedTime concode_elem_sep boolean invalid concode_elem_sep int nextId concode_elem_sep int maxInactiveInterval concode_elem_sep Map<String,Object> attributes concode_elem_sep boolean isNew concode_elem_sep ServletContext servletContex... | String function ( ) { this . id = Integer . toString ( nextId ++ ) ; return this . id ; } |
8,286 | get org.glassfish.jersey.severity . concode_field_sep Severity severity concode_elem_sep Object source concode_elem_sep String message concode_field_sep Object getSource concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String getMessage concode_elem_sep String toString | Severity function ( ) { return severity ; } |
8,287 | set the timestamp of the event concode_field_sep HashMap<String,Object> eventInfo concode_elem_sep String eventType concode_elem_sep long timestamp concode_field_sep void setEventType concode_elem_sep String getEventType concode_elem_sep Map<String,Object> getEventInfo concode_elem_sep void addEventInfo concode_elem_se... | void function ( long arg0 ) { this . timestamp = arg0 ; } |
8,288 | returns the scalar 's value as a string . concode_field_sep PlaceHolder placeHolder concode_field_sep TemplateModel get concode_elem_sep boolean isEmpty | String function ( ) { return "srini_string" ; } |
8,289 | tests two fields , using just the field name , used by indexof . concode_field_sep String value_ concode_elem_sep String inheritedFrom_ concode_elem_sep boolean isTransient_ concode_elem_sep Modifiers modifiers_ concode_elem_sep String type_ concode_elem_sep boolean isVolatile_ concode_elem_sep String name_ concode_ele... | boolean function ( Object arg0 ) { if ( name_ . compareTo ( ( ( FieldAPI ) arg0 ) . name_ ) == 0 ) return true ; return false ; } |
8,290 | returns a scaled instance of the vector . all elements in the scaled instance are multiplied by s concode_field_sep double[] buf concode_elem_sep int len concode_elem_sep long serialVersionUID concode_field_sep SimpleVector normalizedL2 concode_elem_sep SimpleVector negated concode_elem_sep void divideBy concode_elem_s... | SimpleVector function ( final double arg0 ) { final SimpleVector loc0 = new SimpleVector ( this . len ) ; for ( int loc1 = 0 ; loc1 < this . len ; ++ loc1 ) loc0 . buf [ loc1 ] = this . buf [ loc1 ] * arg0 ; return loc0 ; } |
8,291 | adds the given callback to the task . when the api call completes , via the get method , the api sends the data to the callback . note : you can add multiple callbacks . concode_field_sep BriefMessengerAPI mBriefMessengerAPI concode_elem_sep List<BriefMessengerCallback<List<Message>>> mCallbacks concode_elem_sep BriefM... | GetMessagesTask function ( BriefMessengerCallback < List < Message >> arg0 ) { if ( arg0 != null ) { mCallbacks . add ( arg0 ) ; } return this ; } |
8,292 | returns a list of the tilesets this map contains . concode_field_sep int width concode_elem_sep List<TileSetDefinition> tilesets concode_elem_sep List<LayerDefinition> layers concode_elem_sep int height concode_field_sep void addLayer concode_elem_sep void build concode_elem_sep LayerDefinition getLayer concode_elem_se... | List < TileSetDefinition > function ( ) { return tilesets ; } |
8,293 | prints the line passed as a non-string object . concode_field_sep OutputStream output concode_elem_sep String LINE_SEPARATOR concode_elem_sep boolean disabled concode_field_sep void print concode_elem_sep void print concode_elem_sep void formatLine concode_elem_sep void setDisabled concode_elem_sep void disable concode... | void function ( Object arg0 ) { if ( ! isDisabled ( ) ) { printLine ( String . valueOf ( arg0 ) ) ; } } |
8,294 | calculates an imaginary distance to the parking spot based on its position floor , number in the parking . concode_field_sep int number concode_elem_sep int floor concode_elem_sep boolean occupied concode_elem_sep T vehicle concode_field_sep boolean isOccupied concode_elem_sep T unparkVehicle concode_elem_sep void park... | float function ( ) { float loc0 ; loc0 = floor * 0.05f + ( number + 1 ) * 0.005f ; return loc0 ; } |
8,295 | get the skew vector such that dot skew_vec , other == cross vec , other concode_field_sep float x concode_elem_sep float y concode_elem_sep long serialVersionUID concode_field_sep Vec2 mulLocal concode_elem_sep Vec2 sub concode_elem_sep Vec2 addLocal concode_elem_sep Vec2 addLocal concode_elem_sep void absToOut concode... | void function ( Vec2 arg0 ) { arg0 . x = - y ; arg0 . y = x ; } |
8,296 | unit test of mappreference #mappreference . concode_field_sep PlaceHolder placeHolder concode_field_sep void setUpBeforeClass concode_elem_sep void testAddGui | void function ( ) { assertNotNull ( new MapPreference . Factory ( ) . createPreferenceSetting ( ) ) ; } |
8,297 | look up an external endpoint concode_field_sep String RECORD_TYPE concode_elem_sep List<Endpoint> external concode_elem_sep Map<String,String> attributes concode_elem_sep String description concode_elem_sep String type concode_elem_sep List<Endpoint> internal concode_field_sep Endpoint getInternalEndpoint concode_elem_... | Endpoint function ( String arg0 ) { return findByAPI ( external , arg0 ) ; } |
8,298 | from the documentlistener interface . override if you like , but see documentchanged . concode_field_sep PlaceHolder placeHolder concode_field_sep void documentChanged concode_elem_sep void removeUpdate concode_elem_sep void insertUpdate | void function ( DocumentEvent arg0 ) { documentChanged ( ) ; } |
8,299 | parse user concode_field_sep ObjectMapper mapper concode_field_sep SCIMGroups parseGroup concode_elem_sep ServiceProviderConfiguration parseServiceProviderConfiguration concode_elem_sep void configure concode_elem_sep SCIMResource parseResource | SCIMUser function ( InputStream arg0 ) { try { return mapper . readValue ( arg0 , SCIMUser . class ) ; } catch ( JsonParseException loc0 ) { throw new SCIMParsingException ( loc0 ) ; } catch ( JsonMappingException loc0 ) { throw new SCIMParsingException ( loc0 ) ; } catch ( IOException loc0 ) { throw new SCIMParsingExc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.