idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
5,300 | returns the content type without charset declaration of the mime type . concode_field_sep long serialVersionUID concode_elem_sep String encoding concode_elem_sep String contentType concode_field_sep String getEncoding | String function ( ) { return contentType ; } |
5,301 | sets the factory implementation that this factory will use to produce threads . if the specified argument , f , is null , then this factory uses itself as the implementation . concode_field_sep ThreadFactory factory concode_field_sep Thread newThread concode_elem_sep ThreadFactory getImpl | ThreadFactory function ( ThreadFactory arg0 ) { ThreadFactory loc0 ; loc0 = factory ; factory = ( arg0 == null ) ? this : arg0 ; return loc0 ; } |
5,302 | given a piece and an x , returns the y value where the piece would come to rest if it were dropped straight down at that x. implementation : use the skirt and the col heights to compute this fast -- o skirt length . concode_field_sep int PLACE_OUT_BOUNDS concode_elem_sep boolean committed concode_elem_sep int[] widths ... | int function ( Piece arg0 , int arg1 ) { int loc0 = 0 , loc1 = 0 ; int [ ] loc2 = arg0 . getSkirt ( ) ; while ( loc1 < loc2 . length ) { int loc3 = heights [ arg1 + loc1 ] ; if ( loc0 < - ( loc2 [ loc1 ] - loc3 ) ) { loc0 = - ( loc2 [ loc1 ] - loc3 ) ; } loc1 ++ ; } return loc0 ; } |
5,303 | returns the context of this mailbox as defined in voicemail.conf . concode_field_sep int newMessages concode_elem_sep String mailbox concode_elem_sep long serialVersionUID concode_elem_sep String context concode_elem_sep int oldMessages concode_elem_sep String user concode_field_sep void setNewMessages concode_elem_sep... | String function ( ) { return context ; } |
5,304 | returns the number of rows matching the dynamic query . concode_field_sep LayoutBranchLocalService _layoutBranchLocalService concode_field_sep com.liferay.portal.kernel.model.LayoutBranch addLayoutBranch concode_elem_sep com.liferay.portal.kernel.model.LayoutBranch addLayoutBranch concode_elem_sep com.liferay.portal.ke... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , com . liferay . portal . kernel . dao . orm . Projection arg1 ) { return _layoutBranchLocalService . dynamicQueryCount ( arg0 , arg1 ) ; } |
5,305 | evaluate the xpath and assert the double value found with thegiven hamcrest matcher . concode_field_sep XpathExpectationsHelper xpathHelper concode_field_sep ResultMatcher node concode_elem_sep ResultMatcher string concode_elem_sep ResultMatcher string concode_elem_sep ResultMatcher doesNotExist concode_elem_sep Result... | ResultMatcher function ( final Matcher < ? super Double > arg0 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg1 ) throws Exception { MockHttpServletResponse loc0 = arg1 . getResponse ( ) ; xpathHelper . assertNumber ( loc0 . getContentAsByteArray ( ) , getDefinedEncoding ( loc0 ) , arg0 ... |
5,306 | get the starting size of the core thread pool . concode_field_sep RejectionHandler rejectionHandler concode_elem_sep RenderThreadFactory threadFactory concode_elem_sep long keepAliveTime concode_elem_sep Log log concode_elem_sep ThreadPoolExecutor renderService concode_elem_sep int corePoolSize concode_elem_sep Schedul... | int function ( ) { return corePoolSize ; } |
5,307 | create the most appropriate collection for the given collection type . delegates to #createcollection class , class , int with a null element type . concode_field_sep Set<Class<?>> approximableCollectionTypes concode_elem_sep Set<Class<?>> approximableMapTypes concode_field_sep Class<? extends Enum> asEnumType concode_... | Collection < E > function ( Class < ? > arg0 , int arg1 ) { return createCollection ( arg0 , null , arg1 ) ; } |
5,308 | deletes the specified diseasetype . concode_field_sep DiseaseTypeIoOperation ioOperations concode_field_sep boolean newDiseaseType concode_elem_sep ArrayList<DiseaseType> getDiseaseType concode_elem_sep boolean updateDiseaseType concode_elem_sep boolean codeControl | boolean function ( DiseaseType arg0 ) { try { return ioOperations . deleteDiseaseType ( arg0 ) ; } catch ( OHException loc0 ) { JOptionPane . showMessageDialog ( null , loc0 . getMessage ( ) ) ; return false ; } } |
5,309 | returns the underlying graph . concode_field_sep boolean verbose concode_elem_sep double pvalue concode_elem_sep double alpha concode_elem_sep StandardizedSemIm semIm concode_elem_sep List<Node> _observedVars concode_elem_sep Set<Node> observedVars concode_elem_sep HashSet<IndependenceFact> facts concode_elem_sep SemGr... | Graph function ( ) { return this . graph ; } |
5,310 | returns whether non restored state is allowed if the savepoint contains state that can not be mapped back to the job . concode_field_sep SavepointRestoreSettings NONE concode_elem_sep boolean DEFAULT_ALLOW_NON_RESTORED_STATE concode_elem_sep long serialVersionUID concode_elem_sep String restorePath concode_elem_sep boo... | boolean function ( ) { return allowNonRestoredState ; } |
5,311 | convert from dip to px concode_field_sep PlaceHolder placeHolder concode_field_sep float toPixelFromSP concode_elem_sep float toPixelFromSP concode_elem_sep float toDIPFromPixel | float function ( float arg0 ) { return TypedValue . applyDimension ( TypedValue . COMPLEX_UNIT_DIP , arg0 , DisplayMetricsHolder . getWindowDisplayMetrics ( ) ) ; } |
5,312 | closes socket , ignoring any checked exceptions . does nothing if socket is null . concode_field_sep Charset US_ASCII concode_elem_sep byte[] EMPTY_BYTE_ARRAY concode_elem_sep AtomicReference<byte[]> skipBuffer concode_elem_sep char[] DIGITS concode_elem_sep Charset UTF_8 concode_elem_sep String[] EMPTY_STRING_ARRAY co... | void function ( Socket arg0 ) { if ( arg0 != null ) { try { arg0 . close ( ) ; } catch ( RuntimeException loc0 ) { throw loc0 ; } catch ( Exception loc0 ) { } } } |
5,313 | the telemetry endpoint for the amazon ecs agent . concode_field_sep String endpoint concode_elem_sep String telemetryEndpoint concode_field_sep String getTelemetryEndpoint concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep DiscoverPollEndpointResult clone concode_elem_sep String getEndpoint ... | DiscoverPollEndpointResult function ( String arg0 ) { setTelemetryEndpoint ( arg0 ) ; return this ; } |
5,314 | setter method concode_field_sep String departmentName concode_elem_sep String holidayID concode_elem_sep int departmentID concode_elem_sep ArrayList displayDetails concode_elem_sep long serialVersionUID concode_elem_sep String status concode_elem_sep String holidayDate concode_elem_sep ArrayList departmentDetails conco... | void function ( ArrayList arg0 ) { this . displayDetails = arg0 ; } |
5,315 | main program to run the server . concode_field_sep String inputPath concode_elem_sep int fileRead concode_elem_sep Server server concode_elem_sep long totalSize concode_elem_sep boolean isLocal concode_elem_sep int slaves concode_elem_sep ArrayList<Split> slaveSplits concode_field_sep void printSplits concode_elem_sep ... | void function ( String arg0 [ ] ) { Job loc0 = new Job ( ) ; loc0 . submit ( ) ; loc0 . setMapperClass ( arg0 [ 0 ] ) ; loc0 . setReducer ( arg0 [ 1 ] ) ; loc0 . setInputPath ( arg0 [ 2 ] ) ; loc0 . setOutputPath ( arg0 [ 3 ] ) ; if ( ! arg0 [ 4 ] . equalsIgnoreCase ( "srini_string" ) ) { isLocal = false ; } loc0 . sta... |
5,316 | returns a 4-byte array from array b with offset offset concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] wordToBytes concode_elem_sep boolean compare concode_elem_sep int rotateRight concode_elem_sep int[] rotateRight concode_elem_sep byte[] rotateRight concode_elem_sep long uWord concode_elem_sep int ... | byte [ ] function ( byte [ ] arg0 , int arg1 ) { return getBytes ( arg0 , arg1 , 4 ) ; } |
5,317 | gets the default proxy certificate . concode_field_sep int myProxyPortNumber concode_elem_sep int myProxyLifeTime concode_elem_sep Logger log concode_elem_sep long serialVersionUID concode_elem_sep String myProxyUserName concode_elem_sep String trustedCertificatePath concode_elem_sep String myProxyPassword concode_elem... | GSSCredential function ( ) { MyProxy loc0 = new MyProxy ( this . myProxyHostname , this . myProxyPortNumber ) ; return loc0 . get ( this . myProxyUserName , this . myProxyPassword , this . myProxyLifeTime ) ; } |
5,318 | returns the current character value . concode_field_sep int current concode_elem_sep LocalizableSupport localizableSupport concode_elem_sep NormalizingReader reader concode_elem_sep String BUNDLE_CLASSNAME concode_elem_sep ErrorHandler errorHandler concode_field_sep String formatMessage concode_elem_sep void skipCommaS... | int function ( ) { return current ; } |
5,319 | checks if the given filename is a valid job conf xml file name concode_field_sep PlaceHolder placeHolder concode_field_sep String extractJobIDFromCurrentHistoryFile concode_elem_sep String extractJobIDFromConfFileName concode_elem_sep String applyParser concode_elem_sep Map<String,Long> extractCounters concode_elem_sep... | boolean function ( String arg0 ) { String loc0 = extractJobIDFromConfFileName ( arg0 ) ; return loc0 != null ; } |
5,320 | this function simply returns a random element within the list of indices . concode_field_sep int size concode_elem_sep KDNode root concode_elem_sep boolean useMedian concode_elem_sep double[][] dataPoints concode_elem_sep int dimension concode_elem_sep Random random concode_field_sep ObjectObjectPair<List<Integer>,List... | int function ( List < Integer > arg0 ) { return arg0 . get ( random . nextInt ( arg0 . size ( ) ) ) ; } |
5,321 | tests that reporting a lost file from the file system informs the client about this file . concode_field_sep long TEST_BLOCK_SIZE concode_elem_sep LineageMasterClient mLineageMasterClient concode_elem_sep LineageContext mLineageContext concode_elem_sep LineageFileSystem mAlluxioLineageFileSystem concode_elem_sep FileSy... | void function ( ) { AlluxioURI loc0 = new AlluxioURI ( "srini_string" ) ; mAlluxioLineageFileSystem . reportLostFile ( loc0 ) ; Mockito . verify ( mLineageMasterClient ) . reportLostFile ( "srini_string" ) ; Mockito . verify ( mLineageContext ) . releaseMasterClient ( mLineageMasterClient ) ; } |
5,322 | log a message with the warn level . concode_field_sep ALogger logger concode_elem_sep play.api.Logger logger concode_field_sep void trace concode_elem_sep void trace concode_elem_sep void trace concode_elem_sep void trace concode_elem_sep void debug concode_elem_sep void debug concode_elem_sep void debug concode_elem_s... | void function ( String arg0 ) { logger . warn ( arg0 ) ; } |
5,323 | setrowheight concode_field_sep NodeDimensions nodeDimensions concode_elem_sep TreeModel treeModel concode_elem_sep TreeSelectionModel treeSelectionModel concode_elem_sep boolean rootVisible concode_elem_sep int rowHeight concode_field_sep void invalidateSizes concode_elem_sep void treeNodesRemoved concode_elem_sep Enum... | void function ( int arg0 ) { rowHeight = arg0 ; invalidateSizes ( ) ; } |
5,324 | setter for description concode_field_sep Org org concode_elem_sep String description concode_elem_sep Long id concode_elem_sep CryptoKeyType cryptoKeyType concode_elem_sep byte[] key concode_field_sep void setOrg concode_elem_sep String getKeyString concode_elem_sep CryptoKeyType getCryptoKeyType concode_elem_sep byte[... | void function ( String arg0 ) { this . description = arg0 ; } |
5,325 | returns the vector 's current size . concode_field_sep int m_CapacityIncrement concode_elem_sep long serialVersionUID concode_elem_sep int m_Size concode_elem_sep int m_SpecialElement concode_elem_sep int m_Counter concode_elem_sep FastVector m_Vector concode_elem_sep Object[] m_Objects concode_elem_sep int m_CapacityM... | int function ( ) { return m_Size ; } |
5,326 | sample_is_depended_on takes one of the following four values : 0 : the dependency of other samples on this sample is unknown ; 1 : other samples may depend on this one not disposable ; 2 : no other sample depends on this one disposable ; 3 : reserved concode_field_sep int sampleDegradationPriority concode_elem_sep int ... | int function ( ) { return sampleIsDependedOn ; } |
5,327 | find the first occurrence of the given bytes b in a utf-8 encoded string concode_field_sep PlaceHolder placeHolder concode_field_sep int findNthByte concode_elem_sep int findNthByte concode_elem_sep int findByte | int function ( byte [ ] arg0 , int arg1 , int arg2 , byte [ ] arg3 ) { int loc0 = arg2 - arg3 . length ; for ( int loc1 = arg1 ; loc1 <= loc0 ; loc1 ++ ) { boolean loc2 = true ; for ( int loc3 = 0 ; loc3 < arg3 . length ; loc3 ++ ) { if ( arg0 [ loc1 + loc3 ] != arg3 [ loc3 ] ) { loc2 = false ; break ; } } if ( loc2 ) ... |
5,328 | set the result of the activity to indicate whether the operation on the content succeeded or not . concode_field_sep String TAG concode_field_sep void hideKeyboard concode_elem_sep File openDirectory concode_elem_sep String uppercaseInput concode_elem_sep boolean interruptibleCopy concode_elem_sep Uri createDirectoryAn... | void function ( Activity arg0 , int arg1 , String arg2 ) { if ( arg1 == Activity . RESULT_CANCELED ) arg0 . setResult ( Activity . RESULT_CANCELED , new Intent ( "srini_string" ) . putExtra ( "srini_string" , arg2 ) ) ; else arg0 . setResult ( Activity . RESULT_OK ) ; } |
5,329 | get the byte array . concode_field_sep int MAX_SIZE concode_elem_sep byte[] data concode_elem_sep int pos concode_elem_sep int SPLIT_MANY concode_elem_sep int[] MAX_OFFSETS concode_elem_sep int[] SIZE_OFFSETS concode_elem_sep int DIVIDE concode_field_sep int read concode_elem_sep int getOffset concode_elem_sep void wri... | byte [ ] function ( ) { return Arrays . copyOf ( data , pos ) ; } |
5,330 | parses a block command like foreach/if . concode_field_sep Pattern foreachPattern concode_elem_sep SqlFileScanner y concode_field_sep void process concode_elem_sep TokenList seekTokenSource concode_elem_sep void main concode_elem_sep void processBlock concode_elem_sep boolean isNestingCommand | TokenList function ( String arg0 ) { if ( arg0 . trim ( ) . startsWith ( "srini_string" ) ) { return seekTokenSource ( "srini_string" ) ; } throw new RuntimeException ( "srini_string" + arg0 ) ; } |
5,331 | test that the gettrolleyitem method correctly creates a trolleyitem for a different case concode_field_sep PlaceHolder placeHolder concode_field_sep void testGetTrolleyItemApple concode_elem_sep void testGetTrolleyItemInvalid concode_elem_sep void testGetTrolleyItemOrange | void function ( ) { TrolleyItem loc0 = TrolleyItemFactory . getTrolleyItem ( "srini_string" ) ; assertTrue ( loc0 instanceof Apple ) ; } |
5,332 | setter method for segmentnamelist concode_field_sep String campaignContents concode_elem_sep List<CampaignVO> circleNameList concode_elem_sep boolean editCapability concode_elem_sep int campaignId concode_elem_sep String circleName concode_elem_sep String description concode_elem_sep String campaignName concode_elem_se... | void function ( List < CampaignVO > arg0 ) { this . segmentNameList = arg0 ; } |
5,333 | this method resets the incoming events time events included . concode_field_sep boolean event1 concode_elem_sep long myVar concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep boolean return_ID concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_elem_sep boolean event2 concode_fiel... | void function ( ) { sCInterface . clearEvents ( ) ; } |
5,334 | clears the contents of this kv store concode_field_sep PersistitStoreManager storeManager concode_elem_sep Persistit persistit concode_elem_sep String name concode_field_sep StaticBuffer getKey concode_elem_sep int compare concode_elem_sep String getName concode_elem_sep StaticBuffer getBuffer concode_elem_sep boolean ... | void function ( ) { try { Exchange loc0 = persistit . getExchange ( VOLUME_NAME , name , true ) ; loc0 . removeTree ( ) ; } catch ( PersistitException loc0 ) { throw new PermanentStorageException ( loc0 ) ; } } |
5,335 | verifies that an iterator is unmodifiable . this test only works with iterators that iterate over a finite set . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertMultimapRemainsUnmodified concode_elem_sep void assertCollectionsAreEquivalent concode_elem_sep void assertMultisetIsUnmodifiable concod... | void function ( Iterator < ? > arg0 ) { while ( arg0 . hasNext ( ) ) { arg0 . next ( ) ; try { arg0 . remove ( ) ; fail ( "srini_string" ) ; } catch ( UnsupportedOperationException loc0 ) { } } } |
5,336 | get the key size of the cipher these parameters are for . concode_field_sep int keySize concode_elem_sep byte[] iv concode_elem_sep int blockSize concode_field_sep int getBlockSize concode_elem_sep byte[] getIV concode_elem_sep String toString | int function ( ) { return keySize ; } |
5,337 | define the type of the service concode_field_sep long serialVersionUID concode_elem_sep String tspName concode_elem_sep String tspElectronicAddress concode_elem_sep Date statusStartDate concode_elem_sep Logger LOG concode_elem_sep Date statusEndDate concode_elem_sep boolean tlWellSigned concode_elem_sep String type con... | void function ( String arg0 ) { this . type = trim ( arg0 ) ; } |
5,338 | returns a hash code value for the object . this implementation computes a hash code value based on the id fields in this object . concode_field_sep UserEntity userEntity concode_elem_sep BookmarkEntityPK bookmarkEntityPK concode_elem_sep String sdesc concode_elem_sep String uri concode_elem_sep Date updated concode_ele... | int function ( ) { int loc0 = 0 ; loc0 += ( this . bookmarkEntityPK != null ? this . bookmarkEntityPK . hashCode ( ) : 0 ) ; return loc0 ; } |
5,339 | removes all entries from this map . concode_field_sep Map cache concode_elem_sep Map locks concode_field_sep boolean holdsLock concode_elem_sep void writeLock concode_elem_sep void writeUnLock concode_elem_sep boolean containsKey concode_elem_sep Object get concode_elem_sep Set<Object> getKeys concode_elem_sep void put... | void function ( ) { synchronized ( locks ) { locks . clear ( ) ; cache . clear ( ) ; } } |
5,340 | the active range is - sqrt 3 - sqrt 3 , and sqrt 3 = 1.732050808 concode_field_sep PlaceHolder placeHolder concode_field_sep Vector getGradient concode_elem_sep double getGradient concode_elem_sep TanH getClone concode_elem_sep Real apply concode_elem_sep double apply concode_elem_sep double getUpperActiveRange | double function ( ) { return - 1.732050808 ; } |
5,341 | add double quotes around an identifier if required . for the h2 database , all identifiers are quoted . concode_field_sep boolean isH2ModeMySQL concode_elem_sep boolean isOracle concode_elem_sep DbSchema defaultSchema concode_elem_sep boolean isH2 concode_elem_sep boolean isPostgreSQL concode_elem_sep boolean isSQLite ... | String function ( String arg0 ) { if ( arg0 == null ) { return null ; } if ( isH2 && ! isH2ModeMySQL ) { return Parser . quoteIdentifier ( arg0 ) ; } return StringUtils . toUpperEnglish ( arg0 ) ; } |
5,342 | gets the body text of the html document . concode_field_sep PlaceHolder placeHolder concode_field_sep String getTitle concode_elem_sep String getText concode_elem_sep String getContent | String function ( Element arg0 ) { if ( arg0 == null ) { return null ; } String loc0 = "srini_string" ; NodeList loc1 = arg0 . getElementsByTagName ( "srini_string" ) ; if ( loc1 . getLength ( ) > 0 ) { loc0 = getText ( loc1 . item ( 0 ) ) ; } return loc0 ; } |
5,343 | retrieves the position of the given name , if it has been previously included in the message . concode_field_sep Entry next concode_elem_sep int pos concode_elem_sep Name name concode_elem_sep int TABLE_SIZE concode_elem_sep int MAX_POINTER concode_elem_sep Entry[] table concode_elem_sep boolean verbose concode_field_s... | int function ( Name arg0 ) { int loc0 = ( arg0 . hashCode ( ) & 0x7FFFFFFF ) % TABLE_SIZE ; int loc1 = - 1 ; for ( Entry loc2 = table [ loc0 ] ; loc2 != null ; loc2 = loc2 . next ) { if ( loc2 . arg0 . equals ( arg0 ) ) loc1 = loc2 . loc1 ; } if ( verbose ) System . err . println ( "srini_string" + arg0 + "srini_string... |
5,344 | method declaration concode_field_sep boolean BATCH concode_elem_sep Properties pProperties concode_elem_sep String EKW concode_elem_sep boolean EOF concode_elem_sep int ln concode_elem_sep Statement sStatement concode_elem_sep Connection cConn concode_field_sep void printHelp concode_elem_sep String fileToString concod... | void function ( String arg0 ) { System . out . println ( arg0 ) ; } |
5,345 | delete records filter by wherestatement concode_field_sep T model concode_elem_sep DBConfig db concode_elem_sep Example example concode_field_sep DeleteForExample deleteForExample concode_elem_sep T getModel concode_elem_sep Delete set concode_elem_sep DeleteForExample set concode_elem_sep int truncate concode_elem_sep... | int function ( String arg0 , Object ... arg1 ) { Query loc0 = model . dialect ( ) . delete ( model , arg0 , arg1 ) ; loc0 . use ( db ( ) ) ; return loc0 . execute ( ) ; } |
5,346 | gets the value of the hidelasttrans property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the hidelasttrans property . for example , to add a new ... | List < Boolean > function ( ) { if ( hideLastTrans == null ) { hideLastTrans = new ArrayList < Boolean > ( ) ; } return this . hideLastTrans ; } |
5,347 | computes the associated legendre function of the first kind pl , m x with a recursion formula , where l = m uses recursion formula : pn , n x = 2n-1 1-x2 0.5 pn-1 , n-1 x concode_field_sep PlaceHolder placeHolder concode_field_sep PolynomialFunction legendrePolynomialF concode_elem_sep double legendrePolynomial concode... | UnivariateFunction function ( final int arg0 , final UnivariateFunction arg1 ) { return new UnivariateFunction ( ) { @ Override public double value ( double arg2 ) { return ( 2 * arg0 - 1 ) * Math . sqrt ( 1 - arg2 * arg2 ) * arg1 . value ( arg2 ) ; } } ; } |
5,348 | number of active instances in the fleet that are not currently hosting a game session . concode_field_sep Integer tERMINATING concode_elem_sep Integer pENDING concode_elem_sep Integer iDLE concode_elem_sep Integer mINIMUM concode_elem_sep Integer dESIRED concode_elem_sep Integer aCTIVE concode_elem_sep Integer mAXIMUM ... | void function ( Integer arg0 ) { this . iDLE = arg0 ; } |
5,349 | returns the version . concode_field_sep String m_structureId concode_elem_sep long m_dateReleased concode_elem_sep String m_parentId concode_elem_sep int m_last concode_elem_sep long serialVersionUID concode_elem_sep String m_resourcePath concode_elem_sep int m_publishTag concode_elem_sep long m_dateExpired concode_ele... | int function ( ) { return m_version ; } |
5,350 | create an instance of rom concode_field_sep QName _Description_QNAME concode_elem_sep QName _Year_QNAME concode_elem_sep QName _Manufacturer_QNAME concode_field_sep Slot createSlot concode_elem_sep Port createPort concode_elem_sep JAXBElement<String> createYear concode_elem_sep Extension createExtension concode_elem_se... | Rom function ( ) { return new Rom ( ) ; } |
5,351 | gets the update value for this getupdatedobjectsresponse . concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep org.eclipse.birt.report.soapengine.api.Update[] update concode_elem_sep boolean __hashCodeCalc concode_field_sep org.apache.axis.desc... | org . eclipse . birt . report . soapengine . api . Update [ ] function ( ) { return update ; } |
5,352 | asserts that two bytes are equal . if they are not an assertionfailederror is thrown with the given message . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertNotEmpty concode_elem_sep void assertNotEmpty concode_elem_sep void failNotSame concode_elem_sep void assertFalse concode_elem_sep void ass... | void function ( String arg0 , byte arg1 , byte arg2 ) { assertEquals ( arg0 , Byte . valueOf ( arg1 ) , Byte . valueOf ( arg2 ) ) ; } |
5,353 | ham kiem tra xau rong hay khong concode_field_sep PlaceHolder placeHolder concode_field_sep String unAccent concode_elem_sep String convertUTF8 concode_elem_sep String gioiTinh concode_elem_sep boolean notVaildNumber concode_elem_sep String getVaildString | boolean function ( String arg0 ) { if ( arg0 == null || arg0 . length ( ) == 0 ) return true ; return false ; } |
5,354 | clear the set of authfunctionbeans concode_field_sep AuthBeanMultiplexer singleton concode_elem_sep Map<String,List<AuthFunctionBean>> beans concode_elem_sep FrameworkLogger logger concode_field_sep String getUniqueNameFor concode_elem_sep java.sql.Array authenticate concode_elem_sep void setAuthFunctionBean concode_el... | void function ( ) { AuthBeanMultiplexer . beans . clear ( ) ; } |
5,355 | resolves the value of this attribute from the specified model applying any default value . concode_field_sep PlaceHolder placeHolder concode_field_sep String getName | ModelNode function ( ExpressionResolver arg0 , ModelNode arg1 ) { return this . getDefinition ( ) . resolveModelAttribute ( arg0 , arg1 ) ; } |
5,356 | returns the index of the start of the line concode_field_sep Geometry linearGeom concode_field_sep LinearLocation clampIndex concode_elem_sep LinearLocation getEndIndex concode_elem_sep Geometry extractLine concode_elem_sep LinearLocation project concode_elem_sep Coordinate extractPoint concode_elem_sep Coordinate extr... | LinearLocation function ( ) { return new LinearLocation ( ) ; } |
5,357 | gets the switch associated with the handshake for use by the plugin writer . concode_field_sep IOFSwitch sw concode_elem_sep Logger log concode_elem_sep int timeoutS concode_elem_sep WaitAppHandshakeState state concode_elem_sep PluginResult defaultResult concode_elem_sep Timeout timeout concode_field_sep void processOF... | IOFSwitch function ( ) { return this . sw ; } |
5,358 | merge the options in the given option set into this option set concode_field_sep String DEFAULT_ARTEFACT_NAME concode_elem_sep Object defaultValue concode_elem_sep String DEFAULT_VDB_FILE_PATH concode_elem_sep Map<OptionKeys,Object> options concode_field_sep void setOption concode_elem_sep Object defaultValue concode_e... | void function ( ImportOptions arg0 ) { for ( Entry < OptionKeys , Object > loc0 : arg0 . options . entrySet ( ) ) { this . setOption ( loc0 . getKey ( ) , loc0 . getValue ( ) ) ; } } |
5,359 | returns true if a value has been assigned for the setting id . concode_field_sep int FLAG_CLEAR_PREVIOUSLY_PERSISTED_SETTINGS concode_elem_sep int DOWNLOAD_BANDWIDTH concode_elem_sep int set concode_elem_sep int DEFAULT_INITIAL_WINDOW_SIZE concode_elem_sep int UPLOAD_BANDWIDTH concode_elem_sep int CLIENT_CERTIFICATE_VE... | boolean function ( int arg0 ) { int loc0 = 1 << arg0 ; return ( set & loc0 ) != 0 ; } |
5,360 | sets the interpolator used to interpolate the delays between the children . concode_field_sep long mDuration concode_elem_sep long mMaxDelay concode_elem_sep int ORDER_NORMAL concode_elem_sep int ORDER_RANDOM concode_elem_sep Interpolator mInterpolator concode_elem_sep Animation mAnimation concode_elem_sep float mDelay... | void function ( Interpolator arg0 ) { mInterpolator = arg0 ; } |
5,361 | registers language injections in the given registrar for the specified string literal element or its ancestor that contains string concatenations or formatting . concode_field_sep InjectionResult EMPTY concode_elem_sep List<Class<? extends PyExpression>> ELEMENTS_TO_INJECT_IN concode_elem_sep boolean myStrict concode_e... | InjectionResult function ( @ NotNull PsiElement arg0 , @ NotNull MultiHostRegistrar arg1 ) { return processStringLiteral ( arg0 , arg1 , "srini_string" , "srini_string" , Formatting . PERCENT ) ; } |
5,362 | returns true if the entire startup process has completed , determined by checking if each phase is complete . concode_field_sep Map<Phase,PhaseTracking> phases concode_field_sep void endPhase concode_elem_sep void setTotal concode_elem_sep Counter getCounter concode_elem_sep void beginPhase concode_elem_sep void increm... | boolean function ( ) { for ( Phase loc0 : EnumSet . allOf ( Phase . class ) ) { if ( getStatus ( loc0 ) != Status . COMPLETE ) { return false ; } } return true ; } |
5,363 | sets the date of the calculated distance . concode_field_sep Calendar date concode_elem_sep double kilometer concode_elem_sep double KM_TO_MILES concode_field_sep void setKilometer concode_elem_sep double getMiles concode_elem_sep Calendar getDate concode_elem_sep String toString concode_elem_sep double getKilometer | void function ( Calendar arg0 ) { this . date = arg0 ; } |
5,364 | test default enable state of widget concode_field_sep PlaceHolder placeHolder concode_field_sep void updateEnableState | void function ( ) { Widget loc0 = new Widget ( ) ; assertTrue ( loc0 . isEnabled ( ) ) ; } |
5,365 | adds a json object to a json array . concode_field_sep int numMsgs concode_elem_sep String HTTPS_BATCH_CONTENT_TYPE concode_elem_sep Charset BATCH_CHARSET concode_elem_sep int SERVICEBOUND_MESSAGE_MAX_SIZE_BYTES concode_elem_sep String batchBody concode_field_sep byte[] getBody concode_elem_sep String msgToJson concode... | String function ( String arg0 , String arg1 ) { if ( arg1 . equals ( "srini_string" ) ) { return "srini_string" + arg0 + "srini_string" ; } String loc0 = arg1 . substring ( 0 , arg1 . length ( ) - 1 ) ; return loc0 + "srini_string" + arg0 + "srini_string" ; } |
5,366 | one cache cleared concode_field_sep MetricsRegistry registry concode_elem_sep MutableCounterLong cacheCleared concode_elem_sep String name concode_elem_sep MutableCounterLong cacheHit concode_elem_sep Log LOG concode_elem_sep MutableCounterLong cacheUpdated concode_field_sep void incrCacheHit concode_elem_sep long getC... | void function ( ) { cacheCleared . incr ( ) ; } |
5,367 | uses java 's reflection api to set the value of an unaccessible field concode_field_sep PlaceHolder placeHolder concode_field_sep T stealAndGetField concode_elem_sep T stealAndGetField concode_elem_sep Field stealField | void function ( Object arg0 , Class < ? > arg1 , Class < ? > arg2 , Object arg3 ) { try { Field loc0 = stealField ( arg1 , arg2 ) ; loc0 . set ( arg0 , arg3 ) ; } catch ( Exception loc0 ) { throw new RuntimeException ( "srini_string" + arg3 + "srini_string" , loc0 ) ; } } |
5,368 | a display name for the connection . concode_field_sep String profileUrl concode_elem_sep Long expireTime concode_elem_sep String providerId concode_elem_sep String displayName concode_elem_sep String imageUrl concode_elem_sep String secret concode_elem_sep String accessToken concode_elem_sep String providerUserId conco... | String function ( ) { return displayName ; } |
5,369 | sets option whether imageloader will use flushedinputstream for network downloads to handle this known problem or not . concode_field_sep Map<String,ReentrantLock> uriLocks concode_elem_sep AtomicBoolean networkDenied concode_elem_sep AtomicBoolean slowNetwork concode_elem_sep ImageLoaderConfiguration configuration con... | void function ( boolean arg0 ) { slowNetwork . set ( arg0 ) ; } |
5,370 | the nexttoken value to include in a future listtasks request . when the results of a listtasks request exceed maxresults , this value can be used to retrieve the next page of results . this value is null when there are no more results to return . concode_field_sep String nextToken concode_elem_sep com.amazonaws.interna... | String function ( ) { return this . nextToken ; } |
5,371 | sets the value of the mapping property . concode_field_sep Layout layout concode_elem_sep Boolean sendOnFinish concode_elem_sep String mapping concode_elem_sep List<Address> address concode_elem_sep BigDecimal min concode_elem_sep String styling concode_elem_sep String flavour concode_elem_sep BigDecimal max concode_el... | void function ( String arg0 ) { this . mapping = arg0 ; } |
5,372 | returns a content builder using smile format org.elasticsearch.common.xcontent.xcontenttype #smile . concode_field_sep int GUESS_HEADER_LENGTH concode_field_sep XContentBuilder contentBuilder concode_elem_sep XContentBuilder contentBuilder concode_elem_sep XContentBuilder cborBuilder concode_elem_sep XContentBuilder cb... | XContentBuilder function ( ) { return contentBuilder ( XContentType . SMILE ) ; } |
5,373 | convert sql blob to string . concode_field_sep VulpeHashMap<Character,String> UTF_CHARS concode_elem_sep Logger LOG concode_elem_sep VulpeHashMap<Character,String> ACCENT_MAP concode_elem_sep VulpeHashMap<Character,String> SPECIAL_CHARS concode_field_sep String encode concode_elem_sep List<String> splitHierarchy concod... | Blob function ( final String arg0 ) { Blob loc0 = null ; try { loc0 = new SerialBlob ( arg0 . getBytes ( ) ) ; } catch ( Exception loc1 ) { LOG . error ( loc1 . getMessage ( ) ) ; } return loc0 ; } |
5,374 | make the given type expression into an optional type expression , if possible . concode_field_sep Node root concode_elem_sep long serialVersionUID concode_elem_sep String sourceName concode_field_sep boolean isOptionalArg concode_elem_sep boolean isVarArgs concode_elem_sep int hashCode concode_elem_sep boolean equals c... | JSTypeExpression function ( JSTypeExpression arg0 ) { if ( arg0 . isOptionalArg ( ) || arg0 . isVarArgs ( ) ) { return arg0 ; } else { return new JSTypeExpression ( new Node ( Token . EQUALS , arg0 . root ) , arg0 . sourceName ) ; } } |
5,375 | general method for signalling to registered listeners that the series has been changed . concode_field_sep long serialVersionUID concode_elem_sep EventListenerList listeners concode_elem_sep String description concode_elem_sep PropertyChangeSupport propertyChangeSupport concode_elem_sep Comparable key concode_elem_sep ... | void function ( ) { if ( this . notify ) { notifyListeners ( new SeriesChangeEvent ( this ) ) ; } } |
5,376 | returns logical position , from which soft wrap recalculation should start concode_field_sep int myOldEndLogicalLine concode_elem_sep int myStartOffset concode_elem_sep VisualPosition myStartVisualPosition concode_elem_sep Logger LOG concode_elem_sep int myActualEndOffset concode_elem_sep int myMandatoryEndOffset conco... | LogicalPosition function ( ) { return myStartLogicalPosition ; } |
5,377 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep SnapshotLimits snapshotLimits concode_field_sep GetSnapshotLimitsResult withSnapshotLimits concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep GetSnapshotLimitsResult clone concode_elem_sep v... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( getSnapshotLimits ( ) != null ) loc0 . append ( "srini_string" + getSnapshotLimits ( ) ) ; loc0 . append ( "srini_string" ) ; return loc0 . toString ( ) ; } |
5,378 | should not be used for external use of the api . concode_field_sep int expires concode_elem_sep String displayName concode_elem_sep int primaryKey concode_elem_sep String ACTIVE concode_elem_sep String PRIORITY concode_elem_sep String STATUS_TEXT concode_elem_sep Comparator<SipProfileState> ACC_INFO_COMPARATOR concode_... | void function ( boolean arg0 ) { this . active = arg0 ; } |
5,379 | returns the number of rows matching the dynamic query . concode_field_sep ServiceTracker<DDLRecordVersionLocalService,DDLRecordVersionLocalService> _serviceTracker concode_field_sep com.liferay.dynamic.data.lists.model.DDLRecordVersion deleteDDLRecordVersion concode_elem_sep com.liferay.dynamic.data.lists.model.DDLReco... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return getService ( ) . dynamicQueryCount ( arg0 ) ; } |
5,380 | hook to integrate coordinate-level matching . by default this is disabled returns 1 , as with most modern models this will only skew performance , but some implementations such as tfidfsimilarity override this . concode_field_sep PlaceHolder placeHolder concode_field_sep Explanation explain concode_elem_sep SimWeight c... | float function ( int arg0 , int arg1 ) { return 1f ; } |
5,381 | set the currentvalue value . concode_field_sep String unit concode_elem_sep Long limit concode_elem_sep LocalizableString name concode_elem_sep DateTime nextResetTime concode_elem_sep Long currentValue concode_field_sep String unit concode_elem_sep CsmUsageQuotaInner withNextResetTime concode_elem_sep CsmUsageQuotaInne... | CsmUsageQuotaInner function ( Long arg0 ) { this . currentValue = arg0 ; return this ; } |
5,382 | the index of the device on the instance for the network interface attachment . returns a reference to this object so that method calls can be chained together . concode_field_sep String attachmentId concode_elem_sep Boolean deleteOnTermination concode_elem_sep Integer deviceIndex concode_elem_sep java.util.Date attachT... | InstanceNetworkInterfaceAttachment function ( Integer arg0 ) { this . deviceIndex = arg0 ; return this ; } |
5,383 | multiplies this color 's color components by the given ones . concode_field_sep float a concode_elem_sep float b concode_elem_sep Color ORANGE concode_elem_sep Color CYAN concode_elem_sep float g concode_elem_sep Color PINK concode_elem_sep Color BLACK concode_elem_sep Color GRAY concode_elem_sep Color MAGENTA concode_... | Color function ( float arg0 , float arg1 , float arg2 , float arg3 ) { this . r *= arg0 ; this . g *= arg1 ; this . b *= arg2 ; this . a *= arg3 ; return clamp ( ) ; } |
5,384 | this method will write the contents of the specified message bytes buffer to the output stream , without filtering . this method is meant to be used to write the response header . concode_field_sep MimeHeaders headers concode_elem_sep boolean committed concode_elem_sep byte[] buf concode_elem_sep OutputBuffer outputStr... | void function ( ByteChunk arg0 ) { int loc0 = arg0 . getLength ( ) ; System . arraycopy ( arg0 . getBytes ( ) , arg0 . getStart ( ) , buf , pos , loc0 ) ; pos = pos + loc0 ; } |
5,385 | set the entry element for this response . concode_field_sep SWORDEntry entry concode_elem_sep Logger log concode_elem_sep String location concode_elem_sep int httpResponse concode_field_sep SWORDErrorDocument getErrorDocument concode_elem_sep String getLocation concode_elem_sep String marshall concode_elem_sep void set... | void function ( SWORDEntry arg0 ) { this . entry = arg0 ; } |
5,386 | convert integer to hex string . concode_field_sep Uid processUid concode_elem_sep boolean _isAndroid concode_elem_sep String hexStart concode_elem_sep long[] myAddr concode_elem_sep Process processHandle concode_elem_sep int BACKLOG concode_elem_sep int MAX_PORT concode_elem_sep String defaultProcessId concode_field_se... | String function ( int arg0 ) { return Integer . toString ( arg0 , 16 ) ; } |
5,387 | prints a message at verbose priority . concode_field_sep int ERROR concode_elem_sep int VERBOSE concode_elem_sep int WARN concode_elem_sep int NONE concode_elem_sep int ASSERT concode_elem_sep int DEBUG concode_elem_sep LogNode mLogNode concode_elem_sep int INFO concode_field_sep void println concode_elem_sep void prin... | void function ( String arg0 , String arg1 , Throwable arg2 ) { println ( VERBOSE , arg0 , arg1 , arg2 ) ; } |
5,388 | the current number of groups for your aws account . concode_field_sep Integer numberOfLaunchConfigurations concode_elem_sep Integer maxNumberOfAutoScalingGroups concode_elem_sep Integer maxNumberOfLaunchConfigurations concode_elem_sep Integer numberOfAutoScalingGroups concode_field_sep Integer getNumberOfAutoScalingGro... | void function ( Integer arg0 ) { this . numberOfAutoScalingGroups = arg0 ; } |
5,389 | performs a dynamic query on the database and returns an ordered range of the matching rows . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , int arg1 , int arg2 , com . liferay . portal . kernel . util . OrderByComparator < T > arg3 ) { return _kaleoActionLocalService . arg0 ( arg0 , arg1 , arg2 , arg3 ) ; } |
5,390 | override this method to do any cleanup needed after generation concode_field_sep String SCT_GENERATOR_CONSOLE concode_elem_sep IGeneratorBridge bridge concode_elem_sep MessageConsoleStream error concode_elem_sep Injector injector concode_elem_sep MessageConsoleStream info concode_field_sep void refreshTargetProject con... | void function ( GeneratorEntry arg0 ) { } |
5,391 | the unique username for the user concode_field_sep String name concode_elem_sep String username concode_field_sep String getName | String function ( ) { return username ; } |
5,392 | allocates a new direct float buffer . concode_field_sep int CMP_GE concode_elem_sep int BARRIER_SYNC_SIZE concode_elem_sep int SYNC_VALUE concode_elem_sep int CMP_LE concode_elem_sep int CMP_NE concode_elem_sep int CMP_GT concode_elem_sep int CMP_EQ concode_elem_sep int COLLECT_SYNC_SIZE concode_elem_sep int REDUCE_SYN... | FloatBuffer function ( int arg0 ) { assert arg0 <= Integer . MAX_VALUE / 4 ; ByteBuffer loc0 = ByteBuffer . allocateDirect ( arg0 * 4 ) ; loc0 . order ( nativeOrder ) ; return loc0 . asFloatBuffer ( ) ; } |
5,393 | allocates some unpooled memory and creates a new memory segment that represents that memory . this method is similar to #allocateunpooledsegment int , object , but the memory segment will have null as the owner . concode_field_sep Factory factory concode_field_sep MemorySegment wrapPooledHeapMemory concode_elem_sep Mem... | MemorySegment function ( int arg0 ) { return allocateUnpooledSegment ( arg0 , null ) ; } |
5,394 | creates the addresses . concode_field_sep Logger logger concode_elem_sep String smtp concode_elem_sep String PROPERTY_KEY_SMTP concode_elem_sep String from concode_elem_sep String defaultTo concode_elem_sep String subjectPrefix concode_field_sep String getDefaultTo concode_elem_sep void setDefaultTo concode_elem_sep vo... | InternetAddress [ ] function ( String [ ] arg0 ) { List < InternetAddress > loc0 = new ArrayList < > ( arg0 . length ) ; for ( String loc1 : arg0 ) { InternetAddress [ ] loc2 = InternetAddress . parse ( loc1 ) ; loc0 . addAll ( Arrays . asList ( loc2 ) ) ; } return loc0 . toArray ( new InternetAddress [ loc0 . size ( )... |
5,395 | allow start/end prefix mapping events concode_field_sep boolean allowPrefixMappings concode_elem_sep boolean allowIgnorableWhitespace concode_elem_sep boolean allowProcessingInstructions concode_elem_sep boolean allowDTDs concode_elem_sep boolean allowCDATA concode_elem_sep boolean allowDocuments concode_elem_sep Conte... | SAXFilter function ( ) { this . allowPrefixMappings = true ; return this ; } |
5,396 | schedules a task which starts after the specified delay . concode_field_sep Timer timer concode_elem_sep TimerTask task concode_field_sep void cancel | void function ( TimerTask arg0 , long arg1 ) { this . task = arg0 ; timer = new Timer ( ) ; timer . schedule ( arg0 , arg1 ) ; } |
5,397 | gets the compiled value from cache this is a synchronous operation since there is no blocking or i/o concode_field_sep Vertx vertx concode_elem_sep LRUCache<String,T> cache concode_field_sep String getFileFromCache concode_elem_sep void read concode_elem_sep void putTemplateToCache concode_elem_sep String contentEncodi... | T function ( String arg0 ) { LRUCache . CacheEntry < String , T > loc0 = cache . get ( arg0 ) ; if ( loc0 == null ) return null ; return loc0 . compiled ; } |
5,398 | makes a initializer for java.time.localdate or java.time.localdatetime class concode_field_sep PlaceHolder placeHolder concode_field_sep CtField.Initializer createInitializerForThirdPartyPackages concode_elem_sep CtField.Initializer createLocaleInitializer concode_elem_sep CtField createField concode_elem_sep CtField.I... | CtField . Initializer function ( String arg0 , String arg1 ) { return CtField . Initializer . byExpr ( String . format ( "srini_string" % s , arg0 , arg1 ) ) ; } |
5,399 | helper to get the groupid associated with a timeslot concode_field_sep int rankingOnWaiting concode_elem_sep List<SelectItem> moveAvailableTimeSlots concode_elem_sep List<AttendeeWrapper> waitingList concode_elem_sep int tsMarker concode_elem_sep SignupTimeslot timeSlot concode_elem_sep boolean comment concode_elem_sep... | String function ( ) { return timeSlot . getGroupId ( ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.