idx
int64
0
25k
question
stringlengths
68
5.61k
target
stringlengths
21
500
3,900
take a class name and return the equivalent file name ex . org.owasp.webgoat becomes org/owasp/webgoat . java concode_field_sep WebgoatProperties properties concode_elem_sep List<String> files concode_elem_sep List<AbstractLesson> lessons concode_elem_sep String PROPERTIES_FILENAME concode_field_sep void loadLessons co...
String function ( String arg0 ) { StringBuffer loc0 = new StringBuffer ( ) ; loc0 . append ( arg0 . replace ( "srini_string" , "srini_string" ) ) ; loc0 . append ( "srini_string" ) ; return loc0 . toString ( ) ; }
3,901
obtiene el valor de la propiedad return . concode_field_sep Result _return concode_field_sep void setReturn
Result function ( ) { return _return ; }
3,902
verbose log message . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d concode_elem_sep void s...
void function ( String arg0 , String arg1 , Throwable arg2 ) { if ( LOG . VERBOSE >= LOGLEVEL ) Log . v ( arg0 , arg1 , arg2 ) ; }
3,903
return the previous int generated by the distribution . this call is unique to integergenerator subclasses , and assumes integergenerator subclasses always return ints for nextint e.g. not arbitrary strings . concode_field_sep int lastInt concode_field_sep double mean concode_elem_sep void setLastInt concode_elem_sep i...
int function ( ) { return lastInt ; }
3,904
asks the camera hardware to begin drawing preview frames to the screen . concode_field_sep String TAG concode_elem_sep int MAX_FRAME_WIDTH concode_elem_sep int requestedFramingRectHeight concode_elem_sep AutoFocusManager autoFocusManager concode_elem_sep int MAX_FRAME_HEIGHT concode_elem_sep CameraConfigurationManager ...
void function ( ) { Camera loc0 = camera ; if ( loc0 != null && ! previewing ) { loc0 . startPreview ( ) ; previewing = true ; autoFocusManager = new AutoFocusManager ( context , camera ) ; } }
3,905
recycle . concode_field_sep Vector entries concode_elem_sep Enumeration enumeration concode_field_sep Object next concode_elem_sep boolean hasMoreElements concode_elem_sep boolean hasMore concode_elem_sep void close concode_elem_sep Object nextElement
void function ( ) { enumeration = entries . elements ( ) ; }
3,906
takes and rotates the it 90 degrees concode_field_sep int WHITE_SPACE concode_field_sep BitMatrix encode concode_elem_sep BitMatrix encode concode_elem_sep BitMatrix bitMatrixFromEncoder concode_elem_sep BitMatrix bitMatrixFrombitArray
byte [ ] [ ] function ( byte [ ] [ ] arg0 ) { byte [ ] [ ] loc0 = new byte [ arg0 [ 0 ] . length ] [ arg0 . length ] ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { int loc2 = arg0 . length - loc1 - 1 ; for ( int loc3 = 0 ; loc3 < arg0 [ 0 ] . length ; loc3 ++ ) { loc0 [ loc3 ] [ loc2 ] = arg0 [ loc1 ] [ loc3...
3,907
returns the arity of the mode concode_field_sep CachedStatement query concode_elem_sep String name concode_field_sep void setName concode_elem_sep String getName concode_elem_sep String toString concode_elem_sep void setQuery concode_elem_sep CachedStatement getQuery
int function ( ) { return query . getArity ( ) ; }
3,908
returns the number of rows that match the dynamic query . concode_field_sep LegacyContactLocalService _legacyContactLocalService concode_field_sep de.uhh.l2g.plugins.migration.model.LegacyContact createLegacyContact concode_elem_sep int getLegacyContactsCount concode_elem_sep void setWrappedService concode_elem_sep de....
long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _legacyContactLocalService . dynamicQueryCount ( arg0 ) ; }
3,909
method to determine if we should use a preset address or search for an address concode_field_sep String standardAddress concode_elem_sep List points concode_elem_sep boolean showMarkers concode_elem_sep String geoCoderAddress concode_elem_sep boolean locateAddress concode_elem_sep String address concode_elem_sep boolea...
boolean function ( ) { if ( locateAddress ) { locateAddress = false ; return true ; } return false ; }
3,910
get the first triplepattern that must be fulfilled . concode_field_sep CompositeKey tp1 concode_elem_sep CompositeKey tp2 concode_field_sep CompositeKey getSecondtTP concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString
CompositeKey function ( ) { return tp1 ; }
3,911
for caches that do not override #sizeof , this returns the maximum number of entries in the cache . for all other caches , this returns the maximum sum of the sizes of the entries in this cache . concode_field_sep int evictionCount concode_elem_sep int putCount concode_elem_sep int hitCount concode_elem_sep int size co...
int function ( ) { return maxSize ; }
3,912
test of setlistarecursos method , of class centroexposicoes . concode_field_sep PlaceHolder placeHolder concode_field_sep void testSetRegistoUtilizadoresConf concode_elem_sep void testSetRegistoUtilizadoresNConf concode_elem_sep void testGetListaStands concode_elem_sep void testGetRegistoUtilizadoresConf concode_elem_s...
void function ( ) { System . out . println ( "srini_string" ) ; ListaRecursos loc0 = new ListaRecursos ( ) ; CentroExposicoes loc1 = new CentroExposicoes ( ) ; loc1 . setListarecursos ( loc0 ) ; }
3,913
clients should invoke this method when they encounter a connectivity failure on a connection returned by this route selector . concode_field_sep int nextSocketAddressIndex concode_elem_sep List<Route> postponedRoutes concode_elem_sep int TLS_MODE_MODERN concode_elem_sep Address address concode_elem_sep Iterator<Proxy> ...
void function ( Connection arg0 , IOException arg1 ) { Route loc0 = arg0 . getRoute ( ) ; if ( loc0 . getProxy ( ) . type ( ) != Proxy . Type . DIRECT && proxySelector != null ) { proxySelector . connectFailed ( uri , loc0 . getProxy ( ) . address ( ) , arg1 ) ; } routeDatabase . failed ( loc0 , arg1 ) ; }
3,914
gets the value of the href property . concode_field_sep String role concode_elem_sep String arcrole concode_elem_sep String show concode_elem_sep String actuate concode_elem_sep MLUserDefinedCSType mlUserDefinedCS concode_elem_sep List<String> nilReason concode_elem_sep String href concode_elem_sep String type concode_...
String function ( ) { return href ; }
3,915
get application context . concode_field_sep Class<?> defaultReceiver concode_elem_sep Class<?> receiver concode_elem_sep String PREF_KEY concode_elem_sep Context context concode_elem_sep Options options concode_elem_sep NotificationCompat.Builder builder concode_field_sep void cancel concode_elem_sep boolean wasInThePa...
Context function ( ) { return context ; }
3,916
get custom deserializer concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String userTeamAssociationActionType concode_field_sep org.apache.axis.description.TypeDesc getTypeDesc concode_elem_s...
org . apache . axis . encoding . Deserializer function ( java . lang . String arg0 , java . lang . Class arg1 , javax . xml . namespace . QName arg2 ) { return new org . apache . axis . encoding . ser . BeanDeserializer ( arg1 , arg2 , typeDesc ) ; }
3,917
the type of parameter . concode_field_sep String parameterType concode_elem_sep ParameterConstraints parameterConstraints concode_elem_sep Boolean noEcho concode_elem_sep String defaultValue concode_elem_sep String parameterKey concode_elem_sep String description concode_field_sep void setDefaultValue concode_elem_sep ...
void function ( String arg0 ) { this . parameterType = arg0 ; }
3,918
look in map for a class that is a subclass of methodclass concode_field_sep PlaceHolder placeHolder concode_field_sep boolean equalsEffectiveClass concode_elem_sep boolean dependencyExists concode_elem_sep List<ITestNGMethod> findMethodListSuperClass concode_elem_sep boolean internalDependencyExists concode_elem_sep vo...
Class function ( Map < Class , List < ITestNGMethod >> arg0 , Class < ? extends ITestNGMethod > arg1 ) { for ( Class loc0 : arg0 . keySet ( ) ) { if ( arg1 . isAssignableFrom ( loc0 ) ) { return loc0 ; } } return null ; }
3,919
returns uri of the authorization service with the query parameter containing the request token key concode_field_sep String secret concode_elem_sep String key concode_elem_sep String token concode_field_sep String getKey concode_elem_sep Token getRequestToken concode_elem_sep Token getRequestToken concode_elem_sep Stri...
URI function ( String arg0 , String arg1 ) { return UriBuilder . fromUri ( arg0 ) . queryParam ( "srini_string" , arg1 ) . build ( ) ; }
3,920
remove a listener for the propertychange event . concode_field_sep WhitespaceCollapseValueConverter valueConverter concode_elem_sep PropertyChangeSupport propertyChangeSupport concode_elem_sep WhitespaceCollapse value concode_field_sep String getJavaInitializationString concode_elem_sep Object getValue concode_elem_sep...
void function ( final PropertyChangeListener arg0 ) { propertyChangeSupport . removePropertyChangeListener ( arg0 ) ; }
3,921
tests trying to close inconsistent stream . concode_field_sep PlaceHolder placeHolder concode_field_sep void testSomeBehavior concode_elem_sep boolean member concode_elem_sep void testForException2
void function ( ) { ExplicitStream loc0 = Plex . ExplicitStream ( ) ; loc0 . add ( new int [ ] [ ] { { 2 , 3 } , { 1 , 2 } , { 3 , 1 } } , new double [ ] { 0.0 , 0.0 , 1.0 } ) ; loc0 . add ( new int [ ] [ ] { { 1 } , { 3 } , { 2 } } , new double [ ] { 0.0 , 0.0 , 0.0 } ) ; loc0 . remove ( new int [ ] { 1 } ) ; Explicit...
3,922
returns the string representation of the state of the object concode_field_sep Integer subsubCategoryParentId concode_elem_sep Integer subsubCategoryStatus concode_elem_sep String subsubCategoryName concode_elem_sep long serialVersionUID concode_elem_sep Integer subsubCategoryId concode_field_sep void setSubsubCategory...
String function ( ) { return ( "srini_string" + subsubCategoryId + "srini_string" + subsubCategoryName + "srini_string" + subsubCategoryParentId + "srini_string" + subsubCategoryStatus ) ; }
3,923
sets the value of the mapping property . concode_field_sep String mapping concode_elem_sep List<Address> address concode_elem_sep BigDecimal shorttime concode_elem_sep String flavour concode_elem_sep String downlabel concode_elem_sep BigDecimal max concode_elem_sep String change concode_elem_sep String format concode_e...
void function ( String arg0 ) { this . mapping = arg0 ; }
3,924
overloads glcreateshaderprogramvext . concode_field_sep int GL_ACTIVE_PROGRAM_EXT concode_elem_sep int GL_PROGRAM_SEPARABLE_EXT concode_elem_sep int GL_PROGRAM_PIPELINE_BINDING_EXT concode_elem_sep int GL_FRAGMENT_SHADER_BIT_EXT concode_elem_sep int GL_VERTEX_SHADER_BIT_EXT concode_elem_sep int GL_ALL_SHADER_BITS_EXT c...
int function ( int arg0 , ByteBuffer [ ] arg1 ) { BufferChecks . checkArray ( arg1 , 1 ) ; int loc0 = nglCreateShaderProgramvEXT3 ( arg0 , arg1 . length , arg1 ) ; return loc0 ; }
3,925
retrieves the simple name of the table . concode_field_sep short tableIndexOther concode_elem_sep int HALF_MAX_INT concode_elem_sep int bestRowNotPseudo concode_elem_sep int bestRowTransaction concode_elem_sep int hnd_column_remarks concode_elem_sep int hnd_table_remarks concode_elem_sep int bestRowTemporary concode_el...
String function ( ) { return table . getName ( ) . name ; }
3,926
determines if specified object key matches specified value ; called when performing operations using object keys . this implementation delegates to key == #getnumberkey object getnumberkey value expression . concode_field_sep IndexerFunction DEFAULT concode_field_sep int getIntKey concode_elem_sep long getNumberKey con...
boolean function ( Long arg0 , V arg1 ) { return arg0 == getNumberKey ( arg1 ) ; }
3,927
sets the size threshold beyond which files are written directly to disk . concode_field_sep int sizeThreshold concode_elem_sep int DEFAULT_SIZE_THRESHOLD concode_elem_sep File repository concode_field_sep File getRepository concode_elem_sep void setRepository concode_elem_sep int getSizeThreshold concode_elem_sep FileI...
void function ( int arg0 ) { this . sizeThreshold = arg0 ; }
3,928
delete all of the column definitions contained inside of this column spec used for when an invalid column spec has been created and this instance needs to be cleared concode_field_sep ArrayList<AbstractColumnDefinition> columnDefinitions concode_field_sep Iterator<AbstractColumnDefinition> iterator concode_elem_sep voi...
void function ( ) { this . columnDefinitions . clear ( ) ; }
3,929
read an input stream into a string concode_field_sep PlaceHolder placeHolder concode_field_sep String removeQueryParams concode_elem_sep Map<Result,String> post concode_elem_sep Map<Result,String> post concode_elem_sep Map<Result,String> post concode_elem_sep Map<Result,String> get concode_elem_sep Map<Result,String> g...
String function ( InputStream arg0 ) { StringBuffer loc0 = new StringBuffer ( ) ; byte [ ] loc1 = new byte [ 4096 ] ; for ( int loc2 ; ( loc2 = arg0 . read ( loc1 ) ) != - 1 ; ) { loc0 . append ( new String ( loc1 , 0 , loc2 ) ) ; } return loc0 . toString ( ) ; }
3,930
sets the is link from of this legacy lecture series facility . concode_field_sep LegacyLectureSeriesFacility _legacyLectureSeriesFacility concode_field_sep void setLectureseriesFacilityId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBr...
void function ( long arg0 ) { _legacyLectureSeriesFacility . setIsLinkFrom ( arg0 ) ; }
3,931
decrements freshness indicator for particular mobile node concode_field_sep NodeRegister nodeRegister concode_elem_sep Map<Integer,MobileNode> pool concode_field_sep MobileNode addMobileNode concode_elem_sep MobileNodeManager addMobileNode concode_elem_sep void resetState concode_elem_sep boolean existsMobileNode conco...
void function ( int arg0 ) { Integer loc0 = Integer . valueOf ( arg0 ) ; if ( ! pool . containsKey ( loc0 ) ) return ; MobileNode loc1 = this . pool . get ( loc0 ) ; loc1 . decReportFreshness ( 1 ) ; }
3,932
the default implementation does not consume anything . concode_field_sep Header contentEncoding concode_elem_sep boolean chunked concode_elem_sep int OUTPUT_BUFFER_SIZE concode_elem_sep Header contentType concode_field_sep Header getContentEncoding concode_elem_sep boolean isChunked concode_elem_sep void setContentEnco...
void function ( ) { }
3,933
used to communicate a progress update between a plugin tool and the main whitebox user interface . concode_field_sep String[] args concode_elem_sep boolean cancelOp concode_elem_sep WhiteboxPluginHost myHost concode_elem_sep String previousProgressLabel concode_elem_sep int previousProgress concode_elem_sep boolean amI...
void function ( String arg0 , int arg1 ) { if ( myHost != null && ( ( arg1 != previousProgress ) || ( ! arg0 . equals ( previousProgressLabel ) ) ) ) { myHost . updateProgress ( arg0 , arg1 ) ; } previousProgress = arg1 ; previousProgressLabel = arg0 ; }
3,934
checks if the specified value is in the system property . concode_field_sep MainClassCondition mainClassCondition concode_elem_sep PropertyCondition systemPropertyCondition concode_elem_sep ConditionProvider DEFAULT_CONDITION_PROVIDER concode_elem_sep ClassResourceCondition classResourceCondition concode_field_sep Stri...
boolean function ( String arg0 ) { return this . systemPropertyCondition . check ( arg0 ) ; }
3,935
set a name/attribute map , consisting of method names e.g. `` mymethod '' and transactionattribute instances or strings to be converted to transactionattribute instances . concode_field_sep Log logger concode_elem_sep Map<String,TransactionAttribute> nameMap concode_field_sep void addTransactionalMethod concode_elem_se...
void function ( Map < String , TransactionAttribute > arg0 ) { for ( Map . Entry < String , TransactionAttribute > loc0 : arg0 . entrySet ( ) ) { addTransactionalMethod ( loc0 . getKey ( ) , loc0 . getValue ( ) ) ; } }
3,936
the re-encrypted data . if you are using the cli , the value is base64 encoded . otherwise , it is not encoded . bytebuffer s are stateful . calling their get methodschanges their position . we recommend using java.nio.bytebuffer #asreadonlybuffer to create a read-only viewof the buffer with an independent position , a...
java . nio . ByteBuffer function ( ) { return this . ciphertextBlob ; }
3,937
inject the mocked std-out printstream into the system class before each test concode_field_sep PrintStream stdOutOrig concode_elem_sep PrintStream stdOutMock concode_field_sep PrintStream getStdOutMock concode_elem_sep void tearDown
void function ( ) { System . setOut ( this . stdOutMock ) ; }
3,938
gets the value of the return property . concode_field_sep String _return concode_field_sep void setReturn
String function ( ) { return _return ; }
3,939
gets the value of the mapping property . concode_field_sep Layout layout concode_elem_sep String mapping concode_elem_sep List<Address> address concode_elem_sep String styling concode_elem_sep String flavour concode_elem_sep Label label concode_elem_sep String align concode_field_sep Layout getLayout concode_elem_sep L...
String function ( ) { return mapping ; }
3,940
mouse moved concode_field_sep PlaceHolder placeHolder concode_field_sep void mouseReleased concode_elem_sep void mouseDragged concode_elem_sep void mouseExited concode_elem_sep void mouseEntered concode_elem_sep void mouseClicked concode_elem_sep void mousePressed
void function ( MouseEvent arg0 ) { }
3,941
the provisioned throughput to reserved for writing resources to your table concode_field_sep AmazonDynamoDB amazonDDBClient concode_elem_sep String secretKey concode_elem_sep Long readCapacity concode_elem_sep String amazonDdbEndpoint concode_elem_sep DdbOperations operation concode_elem_sep String keyAttributeType con...
void function ( Long arg0 ) { this . writeCapacity = arg0 ; }
3,942
returns the value of this index element . concode_field_sep int id concode_elem_sep long value concode_field_sep Integer getKey concode_elem_sep int getId concode_elem_sep void store
long function ( ) { return value ; }
3,943
set if native hadoop libraries , if present , can be used for this job . concode_field_sep boolean nativeCodeLoaded concode_elem_sep Log LOG concode_field_sep boolean buildSupportsSnappy concode_elem_sep boolean getLoadNativeLibraries concode_elem_sep String getLibraryName concode_elem_sep boolean buildSupportsOpenssl ...
void function ( Configuration arg0 , boolean arg1 ) { arg0 . setBoolean ( CommonConfigurationKeys . IO_NATIVE_LIB_AVAILABLE_KEY , arg1 ) ; }
3,944
return the set of matched classnames in lexographical order . concode_field_sep Package parent concode_elem_sep File file concode_elem_sep SortedSet<String> m_classNameMatches concode_elem_sep String m_classList concode_field_sep void processPathPart concode_elem_sep void process concode_elem_sep String getClasspathCla...
SortedSet < String > function ( ) { return m_classNameMatches ; }
3,945
called by the framework when the focus cell has changed . subclasses may extend . the default implementation for this method calls focuscellchanged viewercell . subclasses should override this method rather than #focuscellchanged viewercell . concode_field_sep ColumnViewer viewer concode_elem_sep SWTFocusCellManager mg...
void function ( ViewerCell arg0 , ViewerCell arg1 ) { focusCellChanged ( arg0 ) ; }
3,946
returns a range of all the entries . 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 to com.liferay.portal.kernel.dao.orm.queryutil #all_pos...
java . util . List < com . liferay . chat . model . Entry > function ( int arg0 , int arg1 ) { return _entryLocalService . getEntries ( arg0 , arg1 ) ; }
3,947
returns 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 void setDate concode_elem_sep String toString concode_elem_sep double getKilometer
Calendar function ( ) { return date ; }
3,948
turn a single bytes into two hex character representation . concode_field_sep PlaceHolder placeHolder concode_field_sep int encodeNibbleToHexAsciiCharByte
void function ( final int arg0 , final byte [ ] arg1 ) { arg1 [ 0 ] = ( byte ) encodeNibbleToHexAsciiCharByte ( ( arg0 >> 4 ) & 0x0F ) ; arg1 [ 1 ] = ( byte ) encodeNibbleToHexAsciiCharByte ( arg0 & 0x0F ) ; }
3,949
returns the round trip time for this ping in nanoseconds , waiting for the response to arrive if necessary . returns -1 if the response was canceled . concode_field_sep long sent concode_elem_sep CountDownLatch latch concode_elem_sep long received concode_field_sep void cancel concode_elem_sep void receive concode_elem...
long function ( ) { latch . await ( ) ; return received - sent ; }
3,950
helper function to create tiles out of the given texture starting from the top left corner going to the right andending at the bottom right corner . only complete tiles will be returned so if the texture 's width or height are not a multiple of the tile width and height not all of the texture will be used . concode_fie...
TextureRegion [ ] [ ] function ( Texture arg0 , int arg1 , int arg2 ) { TextureRegion loc0 = new TextureRegion ( arg0 ) ; return loc0 . split ( arg1 , arg2 ) ; }
3,951
checks if the homematic valuetype is from type string . concode_field_sep Integer subType concode_elem_sep Number minValue concode_elem_sep Number maxValue concode_elem_sep Integer valueType concode_elem_sep String name concode_elem_sep boolean writeable concode_elem_sep Object value concode_elem_sep String[] valueList...
boolean function ( ) { return valueType == 20 ; }
3,952
add exception handlers concode_field_sep TemplateEngine mTemplateEngine concode_elem_sep DataSource mDataSource concode_field_sep void post concode_elem_sep void post concode_elem_sep void getAndPost concode_elem_sep void get concode_elem_sep void get concode_elem_sep void serveStatic
void function ( ) { Spark . exception ( NotFoundException . class , ( e , request , response ) -> { response . status ( 404 ) ; response . body ( "srini_string" ) ; } ) ; }
3,953
sets the receiving test client to coordinate the test with . concode_field_sep Logger log concode_elem_sep AtomicLong uniqueDestsId concode_field_sep List<TestClientDetails> getReceivers concode_elem_sep void setConversationFactory concode_elem_sep LocalReceiverImpl createReceiverFromCircuitEnd concode_elem_sep Circuit...
void function ( TestClientDetails arg0 ) { throw new RuntimeException ( "srini_string" ) ; }
3,954
returns task configuration long property value for passed name , else passed default value if no properties defined or no value for passed key . concode_field_sep Curator curator concode_elem_sep ConfigurationService configurationService concode_elem_sep ItemService itemService concode_elem_sep Logger log concode_elem_...
long function ( String arg0 , long arg1 ) { if ( StringUtils . isNotBlank ( taskId ) ) { return configurationService . getLongProperty ( taskId + "srini_string" + arg0 , arg1 ) ; } else { return configurationService . getLongProperty ( arg0 , arg1 ) ; } }
3,955
calls #add object with all the arguments . concode_field_sep int defaultReplication concode_elem_sep Object[] owner concode_elem_sep Object item concode_elem_sep Hash DEFAULT_HASH concode_elem_sep Map<T,Point[]> items concode_elem_sep int[] hash concode_elem_sep Table table concode_field_sep void add concode_elem_sep v...
void function ( Collection < ? extends T > arg0 ) { for ( T loc0 : arg0 ) addInternal ( loc0 , defaultReplication ) ; refreshTable ( ) ; }
3,956
marshal method for the pidholder class , encodes the pid object value to the output stream . concode_field_sep Pid value concode_field_sep void _unmarshal
void function ( com . ericsson . otp . erlang . OtpOutputStream arg0 ) { PidHelper . marshal ( arg0 , value ) ; }
3,957
closes the given object with the closer if the object is not null concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder
void function ( Object arg0 , Object arg1 , Closer arg2 , CloseErrors arg3 ) { if ( arg1 != null ) { try { arg2 . close ( arg1 ) ; } catch ( Exception loc0 ) { arg3 . closeError ( arg0 , arg1 , loc0 ) ; } catch ( Throwable loc0 ) { loc0 . printStackTrace ( ) ; } } }
3,958
gets the component id of the commandbutton , in the map ui , corresponding to this time zone . concode_field_sep Polygon mapPolygon concode_elem_sep DateFormat dateFormat concode_elem_sep String id concode_elem_sep String mapCommandButtonId concode_field_sep String getUseDaylightTime concode_elem_sep String getLocation...
String function ( ) { return mapCommandButtonId ; }
3,959
the metric unit concode_field_sep Integer proxyPort concode_elem_sep String unit concode_elem_sep String secretKey concode_elem_sep String accessKey concode_elem_sep String namespace concode_elem_sep AmazonCloudWatch amazonCwClient concode_elem_sep String name concode_elem_sep String amazonCwEndpoint concode_elem_sep D...
void function ( String arg0 ) { this . unit = arg0 ; }
3,960
utility method to extract item ids that are shared between user a and user b. concode_field_sep Map<Integer,Rating> ratingsByItemId concode_elem_sep String name concode_elem_sep List<Content> userContent concode_elem_sep long serialVersionUID concode_elem_sep int id concode_field_sep Collection<Rating> getAllRatings co...
Integer [ ] function ( User arg0 , User arg1 ) { List < Integer > loc0 = new ArrayList < Integer > ( ) ; for ( Rating loc1 : arg0 . getAllRatings ( ) ) { if ( arg1 . getItemRating ( loc1 . getItemId ( ) ) != null ) { loc0 . add ( loc1 . getItemId ( ) ) ; } } return loc0 . toArray ( new Integer [ loc0 . size ( ) ] ) ; }
3,961
returns the mx of this company . concode_field_sep Company _company concode_field_sep java.lang.String getWebId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean hasCompanyMx concode_elem_sep java.l...
java . lang . String function ( ) { return _company . getMx ( ) ; }
3,962
gets the set of push ids associated with the current session . concode_field_sep Logger log concode_elem_sep PortableRenderer MissingICEpushPortableRenderer concode_elem_sep String MissingICEpushMessage concode_field_sep void addCurrentView concode_elem_sep PushContext getPushContext concode_elem_sep PortableRenderer g...
Set < String > function ( ) { if ( EnvUtils . isICEpushPresent ( ) ) { FacesContext loc0 = FacesContext . getCurrentInstance ( ) ; missingFacesContext ( loc0 ) ; return SessionViewManager . get ( loc0 ) . getCurrentSessionViewSet ( ) ; } else { log . warning ( MissingICEpushMessage ) ; return null ; } }
3,963
set the request code for the startactivityforresult call . the requestcode should be outside of the range of those reserved for the facebook sdk com.facebook.facebooksdk #isfacebookrequestcode int . concode_field_sep Fragment fragment concode_elem_sep Activity activity concode_elem_sep String TAG concode_elem_sep int r...
void function ( int arg0 ) { if ( FacebookSdk . isFacebookRequestCode ( arg0 ) ) { throw new IllegalArgumentException ( "srini_string" + arg0 + "srini_string" ) ; } this . requestCode = arg0 ; }
3,964
get the reaction torque on body2 in nm . concode_field_sep JointEdge jointEdgeB concode_elem_sep JointEdge jointEdgeA concode_elem_sep World world concode_elem_sep org.jbox2d.dynamics.joints.Joint joint concode_elem_sep Object userData concode_elem_sep Vector2 reactionForce concode_elem_sep Vec2 tmp concode_elem_sep Ve...
float function ( float arg0 ) { return joint . getReactionTorque ( arg0 ) ; }
3,965
list of titles mr. , ms. , dr. , etc. . concode_field_sep LinkedFormElement zip concode_elem_sep FormElement firstName concode_elem_sep FormElement lastName concode_elem_sep SubmitButton submit concode_elem_sep LinkedFormElement city concode_elem_sep ArrayList componentList concode_elem_sep LinkedFormElement state conc...
ArrayList function ( ) { return getListAsSelectItems ( titles ) ; }
3,966
gets the value of the nameorothers 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 nameorothers property . for example , to add a new it...
List < Object > function ( ) { if ( nameOrOthers == null ) { nameOrOthers = new ArrayList < Object > ( ) ; } return this . nameOrOthers ; }
3,967
gets the value of the buildtype property . concode_field_sep Agent agent concode_elem_sep Boolean compatible concode_elem_sep BuildType buildType concode_elem_sep Requirements unmetRequirements concode_field_sep void setAgent concode_elem_sep Requirements getUnmetRequirements concode_elem_sep void setUnmetRequirements ...
BuildType function ( ) { return buildType ; }
3,968
returns a defensive copy of enddate if not null . concode_field_sep List<String> DEFAULT_TOPICS concode_elem_sep String DEFAULT_CITY concode_elem_sep String city concode_elem_sep Date endDate concode_elem_sep List<String> topics concode_elem_sep String description concode_elem_sep String organizerUserId concode_elem_se...
Date function ( ) { return endDate == null ? null : new Date ( endDate . getTime ( ) ) ; }
3,969
gets the extension description . concode_field_sep long serialVersionUID concode_elem_sep ExtensionDescription extensionDescription concode_field_sep void setExtensionDescription concode_elem_sep ExtensionDescription buildExtensionDescription concode_elem_sep String getVersion concode_elem_sep String getName concode_el...
ExtensionDescription function ( ) { return extensionDescription ; }
3,970
find a class using the same class loader for the objectfactory by default or boot class loader when security manager is in place concode_field_sep boolean DEBUG concode_elem_sep String JAXP_INTERNAL concode_elem_sep String STAX_INTERNAL concode_field_sep ClassLoader findClassLoader concode_elem_sep Object newInstance c...
Class < ? > function ( String arg0 , boolean arg1 ) { return findProviderClass ( arg0 , findClassLoader ( ) , arg1 ) ; }
3,971
gets the integer value of either jvm property or environment variable , if property is not set . concode_field_sep String CACHE_NAME concode_elem_sep String VALUE_SIZE concode_elem_sep String TEST_DUR_SEC concode_elem_sep ThreadLocal<Map<String,String>> props concode_elem_sep String THREADS_CNT concode_field_sep void d...
Integer function ( String arg0 ) { return saveProperty ( arg0 , getIntProperty0 ( arg0 ) ) ; }
3,972
adds the kaleo action to the database . also notifies the appropriate model listeners . concode_field_sep KaleoActionLocalService _kaleoActionLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoAction> getKaleoActions conc...
com . liferay . portal . workflow . kaleo . model . KaleoAction function ( com . liferay . portal . workflow . kaleo . model . KaleoAction arg0 ) { return _kaleoActionLocalService . addKaleoAction ( arg0 ) ; }
3,973
removes all sessions registered with this sessionmanager . concode_field_sep int sessionIdCount concode_elem_sep IntKeyHashMap sessionMap concode_elem_sep Session sysSession concode_field_sep void removeSession concode_elem_sep boolean isUserActive concode_elem_sep void removeSchemaReference concode_elem_sep Session ne...
void function ( ) { sessionMap . clear ( ) ; }
3,974
returns the node for the next index on this database row , given the node for any index . concode_field_sep Node nPrimaryNode concode_elem_sep Object[] oData concode_elem_sep int tableId concode_elem_sep int iPos concode_field_sep int getRealSize concode_elem_sep int getStorageSize concode_elem_sep void keepInMemory co...
Node function ( Node arg0 ) { if ( arg0 == null ) { arg0 = nPrimaryNode ; } else { arg0 = arg0 . nNext ; } return arg0 ; }
3,975
template method for customizing the expression evaluation context . the default implementation is empty . concode_field_sep ParserContext beanExpressionParserContext concode_elem_sep Map<String,Expression> expressionCache concode_elem_sep String expressionSuffix concode_elem_sep Map<BeanExpressionContext,StandardEvalua...
void function ( StandardEvaluationContext arg0 ) { }
3,976
parse a string to a integer value . concode_field_sep String roundingMode concode_elem_sep String unit concode_elem_sep Logger logger concode_elem_sep String locationId concode_elem_sep String property concode_elem_sep String scale concode_elem_sep String forecast concode_elem_sep String type concode_field_sep boolean ...
Integer function ( String arg0 , String arg1 ) { try { return Integer . parseInt ( arg0 ) ; } catch ( Exception loc0 ) { throw new BindingConfigParseException ( "srini_string" + arg0 + "srini_string" + arg1 ) ; } }
3,977
returns the page size . concode_field_sep int total concode_elem_sep int lower concode_elem_sep int upper concode_elem_sep int page concode_field_sep String getPrevLower concode_elem_sep String getNextLower concode_elem_sep String getNextUpper concode_elem_sep String getLastLower concode_elem_sep String getLastUpper co...
String function ( ) { return String . valueOf ( page ) ; }
3,978
writes the specified quantity of zero 'd blocks . concode_field_sep int DEFAULT_BLOCKS_PER_RECORD concode_elem_sep int DEFAULT_COMPRESSION concode_elem_sep byte[] ZERO_BLOCK concode_elem_sep OutputStream writeStream concode_elem_sep boolean debug concode_elem_sep int NO_COMPRESSION concode_elem_sep File targetFile conc...
void function ( int arg0 ) { for ( int loc0 = 0 ; loc0 < arg0 ; loc0 ++ ) { write ( ZERO_BLOCK , ZERO_BLOCK . length ) ; } }
3,979
create an instance of syncmapping.mapobjecttype concode_field_sep PlaceHolder placeHolder concode_field_sep SyncResponse createSyncResponse concode_elem_sep SyncMapping.MapObjectType.MapAttributeType createSyncMappingMapObjectTypeMapAttributeType concode_elem_sep SyncObject createSyncObject concode_elem_sep SyncLink cr...
SyncMapping . MapObjectType function ( ) { return new SyncMapping . MapObjectType ( ) ; }
3,980
whether to base64-encode byte properties when reading andwriting json . when set to true , a custom com.google.gson.typeadapter will beregistered via gsonbuilder #registertypehierarchyadapter class , object which serializes a byte property to and from a base64-encoded stringinstead of a json array . note : use of this ...
void function ( boolean arg0 ) { this . base64EncodeByteArrays = arg0 ; }
3,981
set the message that is logged when a job is about to execute . concode_field_sep String jobToBeFiredMessage concode_elem_sep String jobSuccessMessage concode_elem_sep String jobFailedMessage concode_elem_sep String name concode_elem_sep Logger log concode_elem_sep String jobWasVetoedMessage concode_field_sep String ge...
void function ( String arg0 ) { this . jobToBeFiredMessage = arg0 ; }
3,982
addcommand concode_field_sep Map<File,Integer> _fileWatcherId concode_elem_sep Map<CommandElement,Set<File>> _commandToFilesMap concode_elem_sep Map<File,Set<CommandElement>> _fileToCommandMap concode_elem_sep FileWatcherRegistrant INSTANCE concode_elem_sep Map<Integer,File> _watcherIdFile concode_field_sep void addWat...
void function ( File arg0 , CommandElement arg1 ) { Set < File > loc0 = this . _commandToFilesMap . get ( arg1 ) ; if ( loc0 == null ) { loc0 = new HashSet < File > ( ) ; this . _commandToFilesMap . put ( arg1 , loc0 ) ; } loc0 . add ( arg0 ) ; }
3,983
gets the value of the end property . concode_field_sep String sequence concode_elem_sep PositionType end concode_elem_sep PositionType position concode_elem_sep PositionType begin concode_field_sep void setSequence concode_elem_sep PositionType getBegin concode_elem_sep PositionType getPosition concode_elem_sep void se...
PositionType function ( ) { return end ; }
3,984
documentlistener callback . called when text is removed . concode_field_sep String fileName concode_elem_sep int lineIdx concode_elem_sep Set<LineHighlight> listeners concode_elem_sep Position pos concode_elem_sep Document doc concode_field_sep String fileName concode_elem_sep void updatePosition concode_elem_sep int l...
void function ( DocumentEvent arg0 ) { editEvent ( arg0 ) ; }
3,985
allows plugins to handle a link being clicked . return true here to cancel the navigation . concode_field_sep CordovaPreferences preferences concode_elem_sep CordovaInterface cordova concode_elem_sep CordovaWebView webView concode_elem_sep String serviceName concode_field_sep boolean onReceivedClientCertRequest concode...
boolean function ( String arg0 ) { return false ; }
3,986
find the path from start to goal using dijkstra 's algorithm concode_field_sep int numVertices concode_elem_sep HashMap<GeographicPoint,MapNode1> vertices concode_elem_sep int numEdges concode_field_sep List<GeographicPoint> constructPath concode_elem_sep int getNumEdges concode_elem_sep Set<GeographicPoint> getVertice...
List < GeographicPoint > function ( GeographicPoint arg0 , GeographicPoint arg1 ) { Consumer < GeographicPoint > loc0 = ( x ) -> { } ; return dijkstra ( arg0 , arg1 , loc0 ) ; }
3,987
converts a given string to the corresponding entity type . concode_field_sep gnuStringIntMapper mapper concode_elem_sep char[] data concode_elem_sep String name concode_elem_sep int type concode_elem_sep String sdata concode_field_sep String getName concode_elem_sep boolean isGeneral concode_elem_sep boolean isParamete...
int function ( String arg0 ) { int loc0 = mapper . get ( arg0 ) ; return ( loc0 == 0 ) ? DTDConstants . CDATA : loc0 ; }
3,988
a list of accountquota objects . within this list , each quota has a name , a count of usage toward the quota maximum , and a maximum value for the quota . note : this method appends the values to the existing list if any . use #setaccountquotas java.util.collection or #withaccountquotas java.util.collection if you wan...
DescribeAccountAttributesResult function ( AccountQuota ... arg0 ) { if ( getAccountQuotas ( ) == null ) setAccountQuotas ( new java . util . ArrayList < AccountQuota > ( arg0 . length ) ) ; for ( AccountQuota loc0 : arg0 ) { getAccountQuotas ( ) . add ( loc0 ) ; } return this ; }
3,989
dealswithregistry interface implementation . concode_field_sep ErrorManager errorManager concode_elem_sep int SLEEP_TIME concode_elem_sep IncomingExtraUserRegistry registry concode_elem_sep Thread agentThread concode_elem_sep AtomicBoolean running concode_elem_sep SourceAdministrator sourceAdministrator concode_elem_se...
void function ( IncomingExtraUserRegistry arg0 ) { this . registry = arg0 ; }
3,990
returns the class names of modules involved in creating this element . the first element index 0 is the class name of module that defined the element , and the last element is the class name of root module . concode_field_sep ElementSource originalElementSource concode_elem_sep ModuleSource moduleSource concode_elem_se...
List < String > function ( ) { return moduleSource . getModuleClassNames ( ) ; }
3,991
testing putifabsent 's behaviour in repl_sync cache . concode_field_sep ConcurrentMap<String,String> cache concode_elem_sep String SHARED_KEY concode_elem_sep AtomicInteger lockReleasedCounter concode_elem_sep AtomicInteger succesfullPutsCounter concode_elem_sep String ourValue concode_elem_sep AtomicInteger lockOwners...
void function ( ) { System . out . println ( "srini_string" ) ; Configuration loc0 = new Configuration ( ) . fluent ( ) . mode ( Configuration . CacheMode . REPL_SYNC ) . build ( ) ; testConcurrentLockingOnMultipleManagers ( loc0 ) ; }
3,992
checks if the given object is not null . concode_field_sep String PRINCIPAL_SCHEMA_USER concode_elem_sep String PRINICIPAL_SCHEMA_FEDERATED concode_elem_sep String PRINCIPAL_SCHEMA_SERVICE concode_elem_sep String actionName concode_field_sep Statement statementOf concode_elem_sep Policy createPolicyFromJsonString conco...
boolean function ( Object arg0 ) { return null != arg0 ; }
3,993
time in milliseconds that we will wait in order to perform a retry after an ioexception . only relevant if maxioretries > 0 . concode_field_sep ConfigProvider conf concode_field_sep int backLog concode_elem_sep int saslRTTimeout concode_elem_sep boolean preferDirectBufs concode_elem_sep int clientThreads concode_elem_s...
int function ( ) { return conf . getInt ( "srini_string" , 5000 ) ; }
3,994
return suit concode_field_sep int rank concode_elem_sep String suit concode_field_sep void setRank concode_elem_sep int getRank concode_elem_sep String toString concode_elem_sep void setSuit
String function ( ) { return suit ; }
3,995
test of find method , of class personfacadeservice . concode_field_sep Person p1 concode_elem_sep IPersonFacadeService instance concode_field_sep void preparePersistenceTest concode_elem_sep Archive<?> createDeployment concode_elem_sep void tearDown
void function ( ) { System . out . println ( "srini_string" ) ; Long loc0 = 1L ; Person loc1 = p1 ; Person loc2 = instance . find ( loc0 ) ; assertEquals ( loc1 , loc2 ) ; }
3,996
convert an s2latlng to the equivalent unit-length vector s2point . concode_field_sep S2LatLng CENTER concode_elem_sep double EARTH_RADIUS_METERS concode_elem_sep double latRadians concode_elem_sep double lngRadians concode_field_sep S2LatLng sub concode_elem_sep S2LatLng mul concode_elem_sep S2LatLng normalized concode...
S2Point function ( ) { double loc0 = lat ( ) . radians ( ) ; double loc1 = lng ( ) . radians ( ) ; double loc2 = Math . cos ( loc0 ) ; return new S2Point ( Math . cos ( loc1 ) * loc2 , Math . sin ( loc1 ) * loc2 , Math . sin ( loc0 ) ) ; }
3,997
modifies the current matrix by post-multiplying it with a scale matrix of given dimensions concode_field_sep float[] mMat concode_field_sep void rotate concode_elem_sep boolean inverse concode_elem_sep void loadPerspective concode_elem_sep void set concode_elem_sep void loadOrtho concode_elem_sep void loadScale concode...
void function ( float arg0 , float arg1 , float arg2 ) { Matrix4f loc0 = new Matrix4f ( ) ; loc0 . loadScale ( arg0 , arg1 , arg2 ) ; multiply ( loc0 ) ; }
3,998
gets the value of the area property . concode_field_sep String area concode_elem_sep String zipcode concode_elem_sep String country concode_elem_sep String city concode_elem_sep String street concode_elem_sep String state concode_elem_sep String landmark concode_field_sep void setCountry concode_elem_sep void setStreet...
String function ( ) { return area ; }
3,999
configure one or more prefixes to filter destinations targeting application annotated methods . for example destinations prefixed with '' / app '' may be processed by annotated methods while other destinations may target the message broker e.g. '' / topic '' , '' / queue '' . when messages are processed , the matching ...
MessageBrokerRegistry function ( String ... arg0 ) { this . applicationDestinationPrefixes = arg0 ; return this ; }