idx int64 0 25k | question stringlengths 72 5.69k | target stringlengths 21 481 |
|---|---|---|
21,900 | returns the target user id concode_field_sep twitter4j.internal.http.HttpResponse res concode_elem_sep z_T4JInternalFactory factory concode_elem_sep Relationship target concode_field_sep boolean isSourceBlockingTarget concode_elem_sep boolean isTargetFollowingSource concode_elem_sep RateLimitStatus getRateLimitStatus c... | long function ( ) { return getTarget ( ) . getTargetUserId ( ) ; } |
21,901 | extracts the body from the xmpp message concode_field_sep HeaderFilterStrategy headerFilterStrategy concode_elem_sep Logger LOG concode_field_sep Object getMessageBody concode_elem_sep Map<String,Object> extractHeadersFromXmpp concode_elem_sep void populateXmppMessage concode_elem_sep void populateXmppPacket concode_el... | Object function ( Exchange arg0 , Packet arg1 ) { return ( arg1 instanceof Message ) ? getMessageBody ( ( Message ) arg1 ) : arg1 ; } |
21,902 | gets the point at the end of the list . concode_field_sep int maxCommandLength concode_elem_sep int truncateDecimalLength concode_elem_sep double smallArcThreshold concode_elem_sep boolean inAbsoluteMode concode_elem_sep Point3d currentPoint concode_elem_sep int commandNumber concode_elem_sep List<PointSegment> points ... | Point3d function ( ) { return currentPoint ; } |
21,903 | returns true if the reconnection mechanism is enabled . concode_field_sep XMPPConnection connection concode_elem_sep boolean done concode_field_sep void notifyReconnectionFailed concode_elem_sep void reconnectionFailed concode_elem_sep void reconnect concode_elem_sep void reconnectionSuccessful concode_elem_sep void re... | boolean function ( ) { return ! done && ! connection . isConnected ( ) && connection . getConfiguration ( ) . isReconnectionAllowed ( ) && connection . packetReader != null ; } |
21,904 | invalid scenario : mode and url must be provided concode_field_sep String mode concode_elem_sep HubValidator hubValidator concode_elem_sep String topic concode_elem_sep String callbackUrl concode_elem_sep String secret concode_elem_sep String url concode_elem_sep String leaseSeconds concode_field_sep void validateSubsc... | void function ( ) { mode = null ; url = null ; List < String > loc0 = hubValidator . validatePing ( mode , url ) ; assertNotNull ( loc0 ) ; assertEquals ( 2 , loc0 . size ( ) ) ; assertEquals ( "srini_string" , loc0 . get ( 0 ) ) ; assertEquals ( "srini_string" , loc0 . get ( 1 ) ) ; } |
21,905 | gets the value of the lastupdateuser property . concode_field_sep Date lastUpdateDate concode_elem_sep Double latitude concode_elem_sep String lastUpdateUser concode_elem_sep String createUser concode_elem_sep Integer resourceObjectId concode_elem_sep Integer objectId concode_elem_sep Date createDate concode_elem_sep D... | String function ( ) { return lastUpdateUser ; } |
21,906 | prints the call history to the console . concode_field_sep List<String> methodList concode_elem_sep Class<? extends Object> classType concode_field_sep void add concode_elem_sep boolean contains concode_elem_sep boolean contains concode_elem_sep void testMethodName concode_elem_sep void clear concode_elem_sep boolean v... | void function ( ) { for ( String loc0 : methodList ) System . out . println ( loc0 ) ; } |
21,907 | this method sets the jmsbase to perform transactions over . 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 boolean isExactlyOnce concode_elem_sep JMSBase getBase concode_elem_sep boolea... | void function ( JMSBase arg0 ) { this . base = arg0 ; } |
21,908 | the content type of the file concode_field_sep String externalContentID concode_elem_sep String uploadContentType concode_elem_sep Integer uploadContentLength concode_elem_sep String fileName concode_field_sep String toIndentedString concode_elem_sep ExternalContentData fileName concode_elem_sep ExternalContentData upl... | String function ( ) { return uploadContentType ; } |
21,909 | gets the value of the content property . concode_field_sep MetaInfoType metaInfo concode_elem_sep BigInteger nodeCount concode_elem_sep String parentSelector concode_elem_sep XMLToBeEncryptedNewContentType content concode_field_sep void setMetaInfo concode_elem_sep MetaInfoType getMetaInfo concode_elem_sep void setCont... | XMLToBeEncryptedNewContentType function ( ) { return content ; } |
21,910 | always return true , indicating that the host name is an acceptable match with the server 's authentication scheme . concode_field_sep X509Certificate[] _AcceptedIssuers concode_elem_sep com.sun.net.ssl.TrustManager[] __trustManagers concode_elem_sep HostnameVerifier _hostnameVerifier concode_elem_sep com.sun.net.ssl.H... | boolean function ( String arg0 , String arg1 ) { return ( true ) ; } |
21,911 | gets the value of the edition property . concode_field_sep ResponsibleParty publisher concode_elem_sep String edition concode_elem_sep String scale concode_elem_sep List<GeographicCoverage> geographicCoverage concode_field_sep Map withScale concode_elem_sep Map withGeographicCoverage concode_elem_sep Map withGeographic... | String function ( ) { return edition ; } |
21,912 | stores a global value so it can be accessed by other fixtures/pages . concode_field_sep String filesDir concode_elem_sep Environment environment concode_field_sep boolean waitMilliseconds concode_elem_sep Object afterCompletion concode_elem_sep boolean waitSeconds concode_elem_sep void beforeInvoke concode_elem_sep Obj... | void function ( String arg0 , String arg1 ) { getEnvironment ( ) . setSymbol ( arg0 , arg1 ) ; } |
21,913 | streaming : client writes several packets with dn1 very slow . client finishes write successfully . concode_field_sep byte[] toRead concode_elem_sep short REPLICATION concode_elem_sep long BLOCKSIZE concode_elem_sep int PACKET_SIZE concode_elem_sep Configuration conf concode_elem_sep int MIN_N_PACKET concode_elem_sep i... | void function ( ) { final String loc0 = FiTestUtil . getMethodName ( ) ; FiTestUtil . LOG . info ( "srini_string" + loc0 + "srini_string" ) ; final DataTransferTest loc1 = ( DataTransferTest ) DataTransferTestUtil . initTest ( ) ; initSlowDatanodeTest ( loc1 , new SleepAction ( loc0 , 1 , MAX_SLEEP ) ) ; writeSeveralPa... |
21,914 | wrap an inputstream based i/o resource in a reader based resource . concode_field_sep T io concode_elem_sep String name concode_field_sep IOResource<InputStream> newInputStream concode_elem_sep String resource concode_elem_sep T io concode_elem_sep IOResource<OutputStream> newOutputStream concode_elem_sep String toStri... | IOResource < Reader > function ( IOResource < ? extends InputStream > arg0 , Charset arg1 ) { return new IOResource < > ( new InputStreamReader ( arg0 . io ( ) , arg1 ) , arg0 . resource ( ) ) ; } |
21,915 | by default does nothing return false . if you handled the event , return true , otherwise return false . if you returned true none of the following overlays or the underlying mapview has the chance to handlethis event . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean onLongPress concode_elem_sep boo... | boolean function ( final MotionEvent arg0 , final MapView arg1 ) { return false ; } |
21,916 | write script markup and script code in one method call . concode_field_sep UIComponent component concode_elem_sep ResponseWriter writer concode_field_sep void writeScriptEnd concode_elem_sep void startScript concode_elem_sep void endScript concode_elem_sep void write concode_elem_sep void write concode_elem_sep void wr... | void function ( FacesContext arg0 , final UIComponent arg1 , String arg2 ) { ResponseWriter loc0 = arg0 . getResponseWriter ( ) ; writeScriptStart ( loc0 , arg1 ) ; loc0 . write ( arg2 ) ; writeScriptEnd ( loc0 ) ; } |
21,917 | this method generates a bufferedreader for a given input stream concode_field_sep String LOG_ARCHIVE_PATH concode_field_sep BufferedWriter getNewFileWriter concode_elem_sep void close concode_elem_sep void close | BufferedReader function ( InputStream arg0 ) { BufferedReader loc0 = new BufferedReader ( new InputStreamReader ( arg0 ) ) ; return loc0 ; } |
21,918 | evaluate the unthresholded output for an example concode_field_sep double p concode_elem_sep double[] a concode_elem_sep double TOLERANCE concode_elem_sep DataSet examples concode_elem_sep double ZERO concode_elem_sep Kernel kernel concode_elem_sep double v concode_elem_sep double vl concode_elem_sep double EPS concode... | double function ( int arg0 ) { double loc0 = 0 ; for ( int loc1 = 0 ; loc1 < a . length ; loc1 ++ ) { if ( a [ loc1 ] != 0 ) { loc0 += a [ loc1 ] * kernel . value ( arg0 , loc1 ) ; } } return loc0 ; } |
21,919 | switches the reserved flag off if the specified message is a reusableparameterizedmessage , otherwise does nothing . this flag is used internally to verify that a reusable message is no longer in use and can be reused . concode_field_sep ThreadLocal<ReusableObjectMessage> threadLocalObjectMessage concode_elem_sep long ... | void function ( final Message arg0 ) { if ( arg0 instanceof ReusableParameterizedMessage ) { ( ( ReusableParameterizedMessage ) arg0 ) . reserved = false ; } } |
21,920 | opens the given resource , processes its variables , and returns the result as a string . concode_field_sep Map<String,String> replacements concode_elem_sep String varPattern concode_field_sep void clear concode_elem_sep void define concode_elem_sep void define concode_elem_sep void processOver | String function ( URL arg0 ) { try { String loc0 = IOUtils . toString ( arg0 ) ; return process ( loc0 ) ; } catch ( IOException loc0 ) { throw new RuntimeException ( loc0 ) ; } } |
21,921 | converts the given selection into a type using the following rules : if the selection is enclosed by a type than that type is returned . if the selection is inside a compilation unit or class file than the primary type is returned . otherwise null is returned . concode_field_sep PlaceHolder placeHolder concode_field_se... | IType function ( JavaTextSelection arg0 ) { final IJavaScriptElement loc0 = arg0 . resolveEnclosingElement ( ) ; if ( loc0 != null ) return convertToEnclosingOrPrimaryType ( loc0 ) ; return null ; } |
21,922 | creates a marker for moscone center . concode_field_sep int MAX_DISK_CACHE_BYTES concode_elem_sep String TILE_PATH concode_elem_sep String[] mapTileAssets concode_elem_sep String TAG concode_field_sep DiskLruCache openDiskCache concode_elem_sep boolean hasTile concode_elem_sep boolean hasInfoSessionList concode_elem_se... | MarkerOptions function ( LatLng arg0 ) { final String loc0 = "srini_string" ; final BitmapDescriptor loc1 = BitmapDescriptorFactory . fromResource ( R . drawable . map_marker_moscone ) ; return new MarkerOptions ( ) . arg0 ( arg0 ) . loc0 ( loc0 ) . loc1 ( loc1 ) . visible ( false ) ; } |
21,923 | stage two password hashing used in mysql 4.1 password handling concode_field_sep char PVERSION41_CHAR concode_elem_sep int SHA1_HASH_SIZE concode_field_sep String longToHex concode_elem_sep String makeScrambledPassword concode_elem_sep byte[] passwordHashStage1 concode_elem_sep byte[] scramble411 concode_elem_sep int c... | byte [ ] function ( byte [ ] arg0 , byte [ ] arg1 ) { MessageDigest loc0 = MessageDigest . getInstance ( "srini_string" ) ; loc0 . update ( arg1 , 0 , 4 ) ; loc0 . update ( arg0 , 0 , SHA1_HASH_SIZE ) ; return loc0 . digest ( ) ; } |
21,924 | stores alt dream component info in shared prefs concode_field_sep int ART_META concode_elem_sep int ART_ONLY concode_elem_sep int VISUALIZER concode_elem_sep int ART_CONTROLS concode_elem_sep AppPreferences prefs concode_field_sep boolean wantNightMode concode_elem_sep void saveDreamLayout concode_elem_sep ComponentNam... | void function ( ComponentName arg0 ) { prefs . putString ( "srini_string" , arg0 . flattenToString ( ) ) ; } |
21,925 | retrieves the token key concode_field_sep long serialVersionUID concode_elem_sep String providerId concode_elem_sep Permission permission concode_elem_sep String secret concode_elem_sep Map<String,Object> _attributes concode_elem_sep String key concode_field_sep void setProviderId concode_elem_sep void setAttribute con... | String function ( ) { return key ; } |
21,926 | checks whether the morphology settings are all the default settings concode_field_sep boolean singular concode_elem_sep boolean quote concode_elem_sep boolean rank concode_elem_sep int person concode_elem_sep boolean genitive concode_elem_sep boolean passive concode_elem_sep boolean negated concode_elem_sep String tens... | boolean function ( ) { if ( passive || genitive || negated || rank ) return false ; if ( person != LinguisticTerms . THIRD ) return false ; if ( ! tense . equals ( LinguisticTerms . PRESENT ) ) return false ; if ( particle != null ) return false ; return true ; } |
21,927 | sets the value of the resourceref property . concode_field_sep ResourceType resourceRef concode_elem_sep String label concode_field_sep String getLabel concode_elem_sep ResourceType getResourceRef concode_elem_sep void setLabel | void function ( ResourceType arg0 ) { this . resourceRef = arg0 ; } |
21,928 | test of geturl method , of class spview . concode_field_sep PlaceHolder placeHolder concode_field_sep void testGetBaseViewID concode_elem_sep void testLoadFromXml concode_elem_sep void testGetType concode_elem_sep void setUpClass concode_elem_sep void testGetWebAbsluteUrl concode_elem_sep void tearDownClass concode_ele... | void function ( ) { System . out . println ( "srini_string" ) ; SPView loc0 = null ; String loc1 = "srini_string" ; String loc2 = loc0 . getUrl ( ) ; assertEquals ( loc1 , loc2 ) ; fail ( "srini_string" ) ; } |
21,929 | produce a jsonobject from a row of comma delimited text , using a parallel jsonarray of strings to provides the names of the elements . concode_field_sep PlaceHolder placeHolder concode_field_sep String getValue concode_elem_sep JSONArray toJSONArray concode_elem_sep JSONArray toJSONArray concode_elem_sep JSONArray toJ... | JSONObject function ( JSONArray arg0 , JSONTokener arg1 ) { JSONArray loc0 = rowToJSONArray ( arg1 ) ; return loc0 != null ? loc0 . toJSONObject ( arg0 ) : null ; } |
21,930 | split on _ and trim results concode_field_sep Pattern ABS_URL_RE concode_elem_sep Joiner PATH_ARG_JOINER concode_elem_sep Splitter _SPLITTER concode_elem_sep Joiner _JOINER concode_elem_sep Joiner CSV_JOINER concode_elem_sep Splitter SSV_SPLITTER concode_elem_sep Joiner JOINER concode_elem_sep Joiner PATH_JOINER concod... | Iterable < String > function ( CharSequence arg0 ) { return _SPLITTER . split ( arg0 ) ; } |
21,931 | true if the adaptation is supported , false otherwise . concode_field_sep String reason concode_elem_sep FilterSupportStatus NOT_SUPPORTED_WRONG_TYPE concode_elem_sep FilterSupportStatus SUPPORTED concode_elem_sep boolean isSupported concode_field_sep String getReason concode_elem_sep FilterSupportStatus newCompositeNo... | boolean function ( ) { return isSupported ; } |
21,932 | create and return a new fastqbuilder . the fastqbuilder will not be null . concode_field_sep String sequence concode_elem_sep FastqVariant variant concode_elem_sep String description concode_elem_sep String quality concode_field_sep String getQuality concode_elem_sep FastqVariant getVariant concode_elem_sep String getD... | FastqBuilder function ( ) { return new FastqBuilder ( ) ; } |
21,933 | sets the buffering mode of the listener to record and return only the most recent the last , the latest trackerupdate . concode_field_sep Vector trackerUpdates concode_elem_sep Vector accelerationUpdates concode_elem_sep int LAST_UPDATE concode_elem_sep int velocityBufferMode concode_elem_sep Vector velocityUpdates con... | void function ( ) { trackerBufferMode = LAST_UPDATE ; if ( ! trackerUpdates . isEmpty ( ) ) { Object loc0 = trackerUpdates . lastElement ( ) ; trackerUpdates . removeAllElements ( ) ; trackerUpdates . addElement ( loc0 ) ; } } |
21,934 | return an iterator of the attribute names of this node . if there are no attributes , an empty iterator is returned . concode_field_sep String name concode_elem_sep HashMap<String,String> attributes concode_elem_sep TreeNode parent concode_elem_sep String body concode_elem_sep ArrayList<TreeNode> children concode_field... | Iterator < String > function ( ) { if ( attributes == null ) { List < String > loc0 = Collections . emptyList ( ) ; return loc0 . iterator ( ) ; } else return attributes . keySet ( ) . iterator ( ) ; } |
21,935 | removes all of the mappings from this map . the map will be empty after this call returns . this method is not atomic : the map may not be empty after returning if there were concurrent writes . concode_field_sep Map<K,Long> asMap concode_elem_sep ConcurrentHashMap<K,AtomicLong> map concode_field_sep long getAndIncreme... | void function ( ) { map . clear ( ) ; } |
21,936 | gets array with each logo information saved . concode_field_sep String TAG concode_elem_sep String PREFS_LOGO concode_elem_sep ArrayList<LogoCacheItem> logoCache concode_elem_sep HashMap<String,LogoCacheItem> logoQuickCache concode_elem_sep String preferenceName concode_elem_sep String filepath concode_elem_sep SharedP... | JSONArray function ( ) { JSONArray loc0 = new JSONArray ( ) ; if ( logoCache != null ) { for ( int loc1 = 0 ; loc1 < logoCache . size ( ) ; loc1 ++ ) { loc0 . put ( loc1 , logoCache . get ( loc1 ) . toObject ( ) ) ; } } return loc0 ; } |
21,937 | make sure that a non-hdfs uri throws a helpful error . concode_field_sep MiniDFSCluster cluster concode_elem_sep Path TEST_PATH concode_elem_sep Configuration conf concode_field_sep void setUpCluster concode_elem_sep void shutDownCluster concode_elem_sep void testHdfsAdminSetQuota | void function ( ) { new HdfsAdmin ( new URI ( "srini_string" ) , conf ) ; } |
21,938 | reset the chaining vector back to the iv and reset the underlying cipher . concode_field_sep BlockCipher cipher concode_elem_sep byte[] tmp concode_elem_sep boolean forEncryption concode_elem_sep byte[] FRE concode_elem_sep int count concode_elem_sep boolean inlineIv concode_elem_sep byte[] FR concode_elem_sep byte[] I... | void function ( ) { count = 0 ; for ( int loc0 = 0 ; loc0 != FR . length ; loc0 ++ ) { if ( inlineIv ) FR [ loc0 ] = 0 ; else FR [ loc0 ] = IV [ loc0 ] ; } cipher . reset ( ) ; } |
21,939 | the method is used to set the access count concode_field_sep AtomicInteger accessCount concode_elem_sep AtomicLong memorySize concode_elem_sep Map<SegmentTaskIndexStore.TaskBucketHolder,AbstractIndex> taskIdToTableSegmentMap concode_elem_sep Long refreshedTimeStamp concode_elem_sep UpdateVO invalidTaskKey concode_field... | void function ( ) { accessCount . incrementAndGet ( ) ; } |
21,940 | deallocate all hostlist for the vm . concode_field_sep List<PAMVm> vmsMigratingIn concode_elem_sep RamProvisioner ramProvisioner concode_elem_sep PAMVmScheduler vmScheduler concode_elem_sep List<? extends PAMVm> vmList concode_elem_sep int id concode_elem_sep long storage concode_elem_sep BwProvisioner bwProvisioner co... | void function ( ) { getRamProvisioner ( ) . deallocateRamForAllVms ( ) ; getBwProvisioner ( ) . deallocateBwForAllVms ( ) ; getVmScheduler ( ) . deallocatePesForAllVms ( ) ; } |
21,941 | logs in the user to the gae simulation environment without admin rights . concode_field_sep ServletUnitClient sc concode_elem_sep LocalServiceTestHelper helper concode_elem_sep GaeSimulation instance concode_field_sep void logoutUser concode_elem_sep void loginAsAdmin concode_elem_sep void loginAsStudent concode_elem_s... | void function ( String arg0 ) { helper . setEnvIsLoggedIn ( true ) ; helper . setEnvEmail ( arg0 ) ; helper . setEnvAuthDomain ( "srini_string" ) ; helper . setEnvIsAdmin ( false ) ; } |
21,942 | inidcate whether or not there is a match . concode_field_sep boolean match concode_field_sep Matchable getClosestMatch concode_elem_sep boolean isMatch | void function ( boolean arg0 ) { this . match = arg0 ; } |
21,943 | vector methods concode_field_sep float x concode_elem_sep float y concode_elem_sep float z concode_field_sep PLVector3 add concode_elem_sep PLVector3 add concode_elem_sep PLVector3 multf concode_elem_sep PLVector3 multf concode_elem_sep PLVector3 sub concode_elem_sep PLVector3 sub concode_elem_sep PLVector3 minus conco... | boolean function ( PLVector3 arg0 ) { return ( x == arg0 . x && y == arg0 . y && z == arg0 . z ) ; } |
21,944 | parses a time in test.xml format . concode_field_sep Collection<String> TOPLEVEL_ELEMENT_NAMES concode_field_sep TestCase parseTestSuite concode_elem_sep void parseContainedElements concode_elem_sep void skipCompleteElement concode_elem_sep TestXmlOutputParserException createBadElementException concode_elem_sep TestCas... | long function ( String arg0 ) { if ( arg0 . contains ( "srini_string" ) ) { return Math . round ( Float . parseFloat ( arg0 ) * 1000 ) ; } else { return Long . parseLong ( arg0 ) ; } } |
21,945 | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep String password concode_elem_sep String phone concode_elem_sep String lastName concode_elem_sep Integer userStatus concode_elem_sep String username concode_elem_sep Long id concode_elem_sep String firstName ... | String function ( Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } |
21,946 | waits if necessary for at most the given time for the command handling to complete , and then retrieves its result , if available . concode_field_sep R result concode_elem_sep CountDownLatch latch concode_elem_sep Throwable failure concode_field_sep boolean cancel concode_elem_sep boolean isCancelled concode_elem_sep R... | R function ( long arg0 , TimeUnit arg1 ) { if ( ! isDone ( ) && ! latch . await ( arg0 , arg1 ) ) { throw new TimeoutException ( "srini_string" ) ; } return getFutureResult ( ) ; } |
21,947 | given an index in the range 0 ... size -1 , returns the value from the indexth key-value mapping that this sparseintarray stores . concode_field_sep int[] mKeys concode_elem_sep int mSize concode_elem_sep int[] mValues concode_field_sep int keyAt concode_elem_sep int getClosestSmaller concode_elem_sep int size concode_... | int function ( int arg0 ) { return mValues [ arg0 ] ; } |
21,948 | sets the value of the enabled property . concode_field_sep List<Filter> filter concode_elem_sep String name concode_elem_sep Boolean enabled concode_field_sep void setName concode_elem_sep List<Filter> getFilter concode_elem_sep String getName concode_elem_sep Boolean isEnabled | void function ( Boolean arg0 ) { this . enabled = arg0 ; } |
21,949 | gets the value of the suggestedadunitaction property . concode_field_sep SuggestedAdUnitAction suggestedAdUnitAction concode_elem_sep Statement filterStatement concode_field_sep void setSuggestedAdUnitAction concode_elem_sep Statement getFilterStatement concode_elem_sep void setFilterStatement | SuggestedAdUnitAction function ( ) { return suggestedAdUnitAction ; } |
21,950 | setter for orderstatus concode_field_sep int eventId concode_elem_sep int orderId concode_elem_sep String orderStatus concode_elem_sep Date orderDate concode_elem_sep int memberId concode_field_sep void setEventId concode_elem_sep String getOrderStatus concode_elem_sep void setOrderDate concode_elem_sep int getOrderId ... | void function ( String arg0 ) { this . orderStatus = arg0 ; } |
21,951 | is an empty eml document invalid ? concode_field_sep PlaceHolder placeHolder concode_field_sep TextType tt concode_elem_sep void testValidate02 concode_elem_sep void testValidate03 concode_elem_sep I18NNonEmptyStringType i18n | void function ( ) { EmlValidator loc0 = new EmlValidator ( ) ; Eml loc1 = new Eml ( ) ; loc0 . validate ( loc1 ) ; } |
21,952 | returns the indicated part of the given java.util.date object . concode_field_sep Calendar today concode_elem_sep String zerodatetime concode_elem_sep Calendar tempCalGMT concode_elem_sep SimpleDateFormat sdfd concode_elem_sep SimpleDateFormat sdfts concode_elem_sep Date currentDate concode_elem_sep String sdfdPattern ... | int function ( java . util . Date arg0 , int arg1 ) { synchronized ( tempCalDefault ) { tempCalDefault . setTime ( arg0 ) ; return tempCalDefault . get ( arg1 ) ; } } |
21,953 | helper for success callbacks that just returns the status.ok 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 g... | void function ( byte [ ] arg0 ) { sendPluginResult ( new PluginResult ( PluginResult . Status . OK , arg0 ) ) ; } |
21,954 | gets the the reply message . concode_field_sep String culture concode_elem_sep String message concode_field_sep void loadFromXml concode_elem_sep void writeToXml concode_elem_sep String getStringFromOofReply concode_elem_sep void writeEmptyReplyToXml concode_elem_sep String toString concode_elem_sep void setCulture con... | String function ( ) { return this . message ; } |
21,955 | see the factory configuration examples at factorymodulebuilder . concode_field_sep BindingCollector bindings concode_field_sep Module build concode_elem_sep Module build concode_elem_sep Module build | FactoryModuleBuilder function ( TypeLiteral < T > arg0 , Annotation arg1 , Class < ? extends T > arg2 ) { return implement ( arg0 , arg1 , TypeLiteral . get ( arg2 ) ) ; } |
21,956 | creates a new read-write journal using the given location . concode_field_sep URI mBase concode_field_sep JournalWriter getWriter concode_elem_sep void format | MutableJournal function ( URI arg0 ) { return new UfsMutableJournal ( arg0 ) ; } |
21,957 | should the biological assembly info remark 350 be parsed from the pdb file ? concode_field_sep int atomCaThreshold concode_elem_sep boolean headerOnly concode_elem_sep boolean updateRemediatedFiles concode_elem_sep boolean parseSecStruc concode_elem_sep boolean alignSeqRes concode_elem_sep boolean loadChemCompInfo conc... | boolean function ( ) { return parseBioAssembly ; } |
21,958 | tests equality by comparing class and method name concode_field_sep String mClassName concode_elem_sep String mTestName concode_field_sep int hashCode concode_elem_sep String getClassName concode_elem_sep String getTestName | boolean function ( Object arg0 ) { if ( ! ( arg0 instanceof TestIdentifier ) ) { return false ; } TestIdentifier loc0 = ( TestIdentifier ) arg0 ; return getClassName ( ) . equals ( loc0 . getClassName ( ) ) && getTestName ( ) . equals ( loc0 . getTestName ( ) ) ; } |
21,959 | set the timeout setting . see #gettimeout for a discussion of meaning . concode_field_sep Map<String,LockMode> aliasSpecificLockModes concode_elem_sep Boolean followOnLocking concode_elem_sep int NO_WAIT concode_elem_sep LockOptions NONE concode_elem_sep boolean scope concode_elem_sep int SKIP_LOCKED concode_elem_sep L... | LockOptions function ( int arg0 ) { this . timeout = arg0 ; return this ; } |
21,960 | delegates to comparisonstrategy #areequal object , object concode_field_sep Failures failures concode_elem_sep Lists INSTANCE concode_elem_sep ComparisonStrategy comparisonStrategy concode_field_sep void assertIs concode_elem_sep void assertIsSortedAccordingToComparator concode_elem_sep Lists instance concode_elem_sep ... | boolean function ( Object arg0 , Object arg1 ) { return comparisonStrategy . areEqual ( arg0 , arg1 ) ; } |
21,961 | return true if the time range at the given stop was updated . concode_field_sep Map<Stop,TimeRange> ranges concode_elem_sep int min concode_elem_sep int avg concode_elem_sep int max concode_elem_sep int n concode_field_sep TimeRange wait concode_elem_sep Iterator<Stop> iterator concode_elem_sep void set concode_elem_se... | boolean function ( Stop arg0 , TimeRange arg1 ) { TimeRange loc0 = ranges . get ( arg0 ) ; if ( loc0 == null ) { ranges . put ( arg0 , arg1 ) ; return true ; } return loc0 . mergeIn ( arg1 ) ; } |
21,962 | this implementation delegates to a savepointmanager for the underlying transaction , if possible . concode_field_sep boolean rollbackOnly concode_elem_sep Object savepoint concode_elem_sep boolean completed concode_field_sep boolean isLocalRollbackOnly concode_elem_sep Object createSavepoint concode_elem_sep Object get... | void function ( Object arg0 ) { getSavepointManager ( ) . releaseSavepoint ( arg0 ) ; } |
21,963 | determines if only one of both values between the other business choice field and inner gpm field value is null . concode_field_sep FieldValidator fieldValidator concode_elem_sep W widget concode_elem_sep boolean hasBlurHandler concode_elem_sep boolean hasChangeHandler concode_elem_sep String name concode_elem_sep Stri... | boolean function ( final BusinessChoiceField arg0 ) { if ( arg0 == null ) { if ( ( ( BusinessChoiceField ) this ) . getCategoryValue ( ) != null ) { return true ; } } else { if ( ( ( BusinessChoiceField ) this ) . getCategoryValue ( ) == null ) { return true ; } } return false ; } |
21,964 | throw an exception if the string contains whitespace . whitespace is not allowed in tagnames and attributes . concode_field_sep Character SLASH concode_elem_sep Character QUOT concode_elem_sep Character APOS concode_elem_sep Character EQ concode_elem_sep Character QUEST concode_elem_sep Character BANG concode_elem_sep ... | void function ( String arg0 ) { int loc0 , loc1 = arg0 . loc1 ( ) ; if ( loc1 == 0 ) { throw new JSONException ( "srini_string" ) ; } for ( loc0 = 0 ; loc0 < loc1 ; loc0 += 1 ) { if ( Character . isWhitespace ( arg0 . charAt ( loc0 ) ) ) { throw new JSONException ( "srini_string" + arg0 + "srini_string" ) ; } } } |
21,965 | get the version url concode_field_sep double serverVersion concode_elem_sep String versionUrl concode_elem_sep String updateUrl concode_elem_sep double currentversion concode_elem_sep int updatefileSize concode_field_sep boolean downloadRemoteVersionFile concode_elem_sep boolean newVersionAvailable concode_elem_sep dou... | String function ( ) { return this . versionUrl ; } |
21,966 | gets elementid . concode_field_sep Integer elementid concode_elem_sep Integer label_location concode_elem_sep Integer iconid_off concode_elem_sep Integer iconid_maintenance concode_elem_sep Integer elementsubtype concode_elem_sep Integer viewtype concode_elem_sep String label concode_elem_sep Integer use_iconmap concod... | Integer function ( ) { return elementid ; } |
21,967 | convenient form of #run action , action that creates and closes a harness for the run . concode_field_sep PlaceHolder placeHolder concode_field_sep ExecStarter fork concode_elem_sep ExecResult<T> yieldSingle concode_elem_sep ExecResult<T> yieldSingle concode_elem_sep ExecResult<T> yield concode_elem_sep ExecResult<T> y... | void function ( Action < ? super RegistrySpec > arg0 , Action < ? super Execution > arg1 ) { try ( ExecHarness loc0 = loc0 ( ) ) { loc0 . run ( arg0 , arg1 ) ; } } |
21,968 | convert a jdom document to a dom document concode_field_sep PlaceHolder placeHolder concode_field_sep String serialise concode_elem_sep void serialise concode_elem_sep void serialise concode_elem_sep String serialise concode_elem_sep void serialise concode_elem_sep void serialise concode_elem_sep Document parse concode... | org . w3c . dom . Document function ( org . jdom2 . Document arg0 ) { if ( arg0 == null ) return null ; try { DOMOutputter loc0 = new DOMOutputter ( ) ; return loc0 . output ( arg0 ) ; } catch ( JDOMException loc0 ) { throw new RuntimeException ( "srini_string" + loc0 . getMessage ( ) , loc0 ) ; } } |
21,969 | get the iproject containing the given eobject concode_field_sep SGenFactory factory concode_field_sep void setDefaultValue concode_elem_sep FeatureParameterValue createParameterValue concode_elem_sep FeatureConfiguration createDefaultFeatureConfiguration concode_elem_sep boolean projectExists concode_elem_sep FeatureCo... | IProject function ( EObject arg0 ) { return ResourcesPlugin . getWorkspace ( ) . getRoot ( ) . getFile ( new Path ( arg0 . eResource ( ) . getURI ( ) . toPlatformString ( true ) ) ) . getProject ( ) ; } |
21,970 | track trusted multifactor authentication attribute . concode_field_sep Logger LOGGER concode_field_sep String generateKey concode_elem_sep boolean isMultifactorAuthenticationTrustedInScope concode_elem_sep void setMultifactorAuthenticationTrustedInScope concode_elem_sep String generateGeography | void function ( final Authentication arg0 , final String arg1 ) { final Authentication loc0 = DefaultAuthenticationBuilder . newInstance ( arg0 ) . addAttribute ( arg1 , Boolean . TRUE ) . build ( ) ; LOGGER . debug ( "srini_string" , arg1 ) ; arg0 . update ( loc0 ) ; } |
21,971 | find the third quantile p = 3/4 of an array of type float . concode_field_sep PlaceHolder placeHolder concode_field_sep int q1 concode_elem_sep float q1 concode_elem_sep double q1 concode_elem_sep T q1 concode_elem_sep int select concode_elem_sep float select concode_elem_sep double select concode_elem_sep T select con... | float function ( float [ ] arg0 ) { int loc0 = 3 * arg0 . length / 4 ; return select ( arg0 , loc0 ) ; } |
21,972 | formats utterance for announcing dayview or weekview selection events . concode_field_sep String mLastDateFragment concode_elem_sep char COMMA concode_elem_sep String CALENDAR_EVENT_COLOR concode_elem_sep SparseArray<String> mColorToDisplayNameMap concode_elem_sep String CALENDAR_EVENT_END_MILLIS concode_elem_sep Strin... | void function ( AccessibilityEvent arg0 , Context arg1 , Utterance arg2 ) { StringBuilder loc0 = arg2 . getText ( ) ; appendSelectedRange ( arg1 , arg0 , loc0 ) ; appendSelectedEventIndexAnouncement ( arg1 , arg0 , loc0 ) ; appendSelectedEventDetails ( arg1 , arg0 , loc0 ) ; } |
21,973 | wraps the result of openoutputstream in a writer . subclasses can change this behavior as long as the contract of fileobject is obeyed . concode_field_sep Kind kind concode_elem_sep URI uri concode_field_sep String getName concode_elem_sep long getLastModified concode_elem_sep NestingKind getNestingKind concode_elem_se... | Writer function ( ) { return new OutputStreamWriter ( openOutputStream ( ) ) ; } |
21,974 | add the attribute ` ajaxrequest ' to the model if the current request is an ajax request . this attribute can be used on pages to modify the response for ajax . concode_field_sep PlaceHolder placeHolder concode_field_sep void viewSizeAttribute concode_elem_sep void sxRegistered | void function ( HttpServletRequest arg0 , Model arg1 ) { arg1 . addAttribute ( "srini_string" , AjaxUtils . isAjaxRequest ( arg0 ) ) ; } |
21,975 | add this collection to the front of the queue . concode_field_sep int maxCapacity concode_elem_sep AtomicInteger writeBehindQueueItemCounter concode_elem_sep WriteBehindQueue<E> queue concode_field_sep void filter concode_elem_sep void addLast concode_elem_sep boolean contains concode_elem_sep int size concode_elem_sep... | void function ( Collection < E > arg0 ) { if ( arg0 == null || arg0 . isEmpty ( ) ) { return ; } addCapacity ( arg0 . size ( ) ) ; queue . addFirst ( arg0 ) ; } |
21,976 | creates a new file in the system 's temporary directory . the name of the file will be the result of : concat uuid.randomuuid . tostring , '' . txt '' ; concode_field_sep PlaceHolder placeHolder concode_field_sep File newFile concode_elem_sep File temporaryFolder concode_elem_sep File newFolder concode_elem_sep String ... | File function ( ) { String loc0 = concat ( UUID . randomUUID ( ) . toString ( ) , "srini_string" ) ; return newFile ( concat ( temporaryFolderPath ( ) , loc0 ) ) ; } |
21,977 | returns the a map of stack traces by execution id . concode_field_sep Map<ExecutionAttemptID,List<StackTraceElement[]>> stackTracesByTask concode_elem_sep int sampleId concode_elem_sep long startTime concode_elem_sep long endTime concode_field_sep int getSampleId concode_elem_sep long getEndTime concode_elem_sep String... | Map < ExecutionAttemptID , List < StackTraceElement [ ] >> function ( ) { return stackTracesByTask ; } |
21,978 | prints the capacity of the glass that is not filled with liquid . concode_field_sep String typeOfLiquid concode_elem_sep int maxCapacityLiquid concode_elem_sep int capacityLiquid concode_field_sep void addLiquid concode_elem_sep String getTypeOfLiquid concode_elem_sep int getMaxCapacity concode_elem_sep void emptyGlass... | int function ( ) { return maxCapacityLiquid - capacityLiquid ; } |
21,979 | sets this vector from the given vector concode_field_sep long serialVersionUID concode_elem_sep Vector2 tmp concode_elem_sep float x concode_elem_sep float y concode_elem_sep Vector2 Zero concode_elem_sep Vector2 X concode_elem_sep Vector2 Y concode_field_sep Vector2 add concode_elem_sep Vector2 add concode_elem_sep Ve... | Vector2 function ( Vector2 arg0 ) { x = arg0 . x ; y = arg0 . y ; return this ; } |
21,980 | user name to authenticate with concode_field_sep boolean followRedirectFilter concode_elem_sep Integer maxTotalConnections concode_elem_sep Integer port concode_elem_sep boolean tlsVerify concode_elem_sep boolean secure concode_elem_sep String password concode_elem_sep String certPath concode_elem_sep Integer maxPerRou... | void function ( String arg0 ) { this . username = arg0 ; } |
21,981 | stream-repositories do not support attributes . concode_field_sep ContentLocation parent concode_elem_sep String name concode_elem_sep WrappedInputStream inputStream concode_elem_sep WrappedOutputStream outputStream concode_field_sep ContentLocation getParent concode_elem_sep String getName concode_elem_sep Object getA... | boolean function ( final String arg0 , final String arg1 , final Object arg2 ) { return false ; } |
21,982 | sets the value of the msisdn property . concode_field_sep String userMemoText concode_elem_sep Boolean extendContract concode_elem_sep long serialVersionUID concode_elem_sep String msisdn concode_field_sep void setExtendContract concode_elem_sep void setUserMemoText concode_elem_sep Boolean isExtendContract concode_ele... | void function ( String arg0 ) { this . msisdn = arg0 ; } |
21,983 | concatenate the preset translation . concode_field_sep SquareMatrix scale concode_elem_sep SquareMatrix m_aTranslate concode_elem_sep Vertex center concode_elem_sep SquareMatrix rotateZ concode_elem_sep SquareMatrix rotateY concode_elem_sep SquareMatrix rotateX concode_elem_sep SquareMatrix rotate concode_elem_sep Squa... | void function ( ) { translate ( m_aTranslate ) ; } |
21,984 | return type metadata object concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Boolean includeReportProperties concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.Boolean useGzipCompression concode_elem_sep java.lang.B... | org . apache . axis . description . TypeDesc function ( ) { return typeDesc ; } |
21,985 | write script markup and script code in one method call . concode_field_sep UIComponent component concode_elem_sep ResponseWriter writer concode_field_sep void writeScriptEnd concode_elem_sep void startScript concode_elem_sep void endScript concode_elem_sep void write concode_elem_sep void write concode_elem_sep void wr... | void function ( FacesContext arg0 , final UIComponent arg1 , String arg2 , String arg3 ) { ResponseWriter loc0 = arg0 . getResponseWriter ( ) ; writeScriptStart ( loc0 , arg1 , arg3 ) ; loc0 . write ( arg2 ) ; writeScriptEnd ( loc0 ) ; } |
21,986 | defines equality concode_field_sep String type concode_elem_sep String url concode_field_sep String getURL concode_elem_sep String getType concode_elem_sep int hashCode concode_elem_sep String toString concode_elem_sep void setURL | boolean function ( Object arg0 ) { if ( ! ( arg0 instanceof HessianRemote ) ) return false ; HessianRemote loc0 = ( HessianRemote ) arg0 ; return url . equals ( loc0 . url ) ; } |
21,987 | executes all wrapped commands on a given routingallocation concode_field_sep List<AllocationCommand> commands concode_elem_sep Map<String,AllocationCommand.Factory> factories concode_field_sep void registerFactory concode_elem_sep AllocationCommands add concode_elem_sep void writeTo concode_elem_sep AllocationCommands ... | RoutingExplanations function ( RoutingAllocation arg0 , boolean arg1 ) { RoutingExplanations loc0 = new RoutingExplanations ( ) ; for ( AllocationCommand loc1 : commands ) { loc0 . add ( loc1 . execute ( arg0 , arg1 ) ) ; } return loc0 ; } |
21,988 | gets the query value for this wsrunquery . concode_field_sep java.lang.String query concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.String[] parameters concode_elem_sep org.talend.mdm.webserv... | java . lang . String function ( ) { return query ; } |
21,989 | checks whether the given attribute value is a dynamic expression . currently only checks for ognl . concode_field_sep char BANG_SYMBOL concode_field_sep String trimActionPath | boolean function ( @ NotNull @ NonNls final String arg0 ) { return StringUtil . startsWith ( arg0 , OgnlLanguage . EXPRESSION_PREFIX ) || StringUtil . containsChar ( arg0 , '{' ) ; } |
21,990 | sets the mvcc version of this resource block . concode_field_sep ResourceBlock _resourceBlock concode_field_sep void setName concode_elem_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes co... | void function ( long arg0 ) { _resourceBlock . setMvccVersion ( arg0 ) ; } |
21,991 | an initial entry should have an outgoing transition 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 state... | void function ( ) { prepareStateTest ( ) ; Entry loc0 = factory . createEntry ( ) ; region . getVertices ( ) . add ( loc0 ) ; assertEquals ( EntryKind . INITIAL , loc0 . getKind ( ) ) ; validator . validate ( loc0 , diagnostics , new HashMap < Object , Object > ( ) ) ; assertWarning ( diagnostics , ISSUE_INITIAL_ENTRY_... |
21,992 | returns true if the response is ok . concode_field_sep int GZIP_MAGIC_NUMBER_BYTE_1 concode_elem_sep Map<String,Serializable> requestAttributes concode_elem_sep long timeToLiveSeconds concode_elem_sep java.util.Set<String> IGNORED_INTERFACES concode_elem_sep long ONE_YEAR_IN_SECONDS concode_elem_sep Date created concod... | boolean function ( ) { return statusCode == HttpServletResponse . SC_OK ; } |
21,993 | the location of an artifact . concode_field_sep String name concode_elem_sep ArtifactLocation location concode_elem_sep String revision concode_field_sep void setName concode_elem_sep ArtifactLocation getLocation concode_elem_sep String getName concode_elem_sep Artifact withLocation concode_elem_sep Artifact withRevisi... | void function ( ArtifactLocation arg0 ) { this . location = arg0 ; } |
21,994 | the url for the created sqs queue . concode_field_sep String queueUrl concode_field_sep CreateQueueResult withQueueUrl concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void setQueueUrl concode_elem_sep String toString | String function ( ) { return queueUrl ; } |
21,995 | compatibility check for the ov-chip protocol layer . see the compatibility check explanations and also ds.ov2.util.apdu _ serializable #is_compatible_with apdu_serializable . is_compatible_with . the default implementation returns false , which is the right value for all host data types . card data types must override ... | boolean function ( Object arg0 ) { return false ; } |
21,996 | write the extension to the deroutputstream . concode_field_sep String AA_COMPROMISE concode_elem_sep String KEY_COMPROMISE concode_elem_sep String SUPERSEDED concode_elem_sep boolean[] bitString concode_elem_sep String CA_COMPROMISE concode_elem_sep String UNUSED concode_elem_sep String AFFILIATION_CHANGED concode_elem... | void function ( DerOutputStream arg0 ) { arg0 . putTruncatedUnalignedBitString ( new BitArray ( this . bitString ) ) ; } |
21,997 | sets the address concode_field_sep String address concode_elem_sep int count concode_field_sep String getAddress concode_elem_sep int getCount concode_elem_sep void setCount | void function ( String arg0 ) { this . address = arg0 ; } |
21,998 | interpolation function . for the given value of x , the interpolate calculates the y value on the line defined by the two points xmin , ymin and xmax , ymax . concode_field_sep Name RANGE_NAME concode_elem_sep Name FUNCTIONTYPE_NAME concode_elem_sep Logger logger concode_elem_sep float[] domain concode_elem_sep float[]... | float function ( float arg0 , float arg1 , float arg2 , float arg3 , float arg4 ) { return ( ( arg0 - arg1 ) * ( arg4 - arg3 ) / ( arg2 - arg1 ) ) + arg3 ; } |
21,999 | removes the given listener . concode_field_sep BroadcastDispatch<T> broadcast concode_elem_sep ProxyDispatchAdapter<T> source concode_elem_sep Class<T> type concode_field_sep void add concode_elem_sep void add concode_elem_sep void add concode_elem_sep void removeAll concode_elem_sep void removeAll concode_elem_sep voi... | void function ( Object arg0 ) { broadcast . remove ( arg0 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.