code stringlengths 20 663 | nl stringlengths 68 7.19k |
|---|---|
int function ( DataPoint arg0 , DataPoint arg1 ) { if ( arg0 . getPhoto ( ) . getFile ( ) == null || arg1 . getPhoto ( ) . getFile ( ) == null ) { return arg0 . getPhoto ( ) . getName ( ) . compareTo ( arg1 . getPhoto ( ) . getName ( ) ) ; } return arg0 . getPhoto ( ) . getFile ( ) . compareTo ( arg1 . getPhoto ( ) . g... | compare the names of the two photo points concode_field_sep SortMode _sortMode concode_field_sep int compare concode_elem_sep int compareTimes concode_elem_sep int compareSizes |
void function ( CallbackHandler arg0 ) { this . callbackHandler = arg0 ; LOG . fine ( "srini_string" + arg0 ) ; } | set the callbackhandler object . concode_field_sep CallbackHandler callbackHandler concode_elem_sep Logger LOG concode_elem_sep Crypto signatureCrypto concode_elem_sep SignatureProperties signatureProperties concode_elem_sep String callbackHandlerClass concode_elem_sep String signaturePropertiesFile concode_elem_sep St... |
void function ( List < Shipping > arg0 ) { this . shippingChoices = arg0 ; } | sets the shipping choices concode_field_sep Item item concode_elem_sep Shipping shipping concode_elem_sep Bidder bidder concode_elem_sep List<Billing> billingChoices concode_elem_sep List<Shipping> shippingChoices concode_elem_sep Billing billing concode_field_sep Bidder getBidder concode_elem_sep void placeOrder conco... |
void function ( ) { DeviationRenderer loc0 = new DeviationRenderer ( ) ; DeviationRenderer loc1 = ( DeviationRenderer ) loc0 . clone ( ) ; assertTrue ( loc0 != loc1 ) ; assertTrue ( loc0 . getClass ( ) == loc1 . getClass ( ) ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; } | confirm that cloning works . concode_field_sep PlaceHolder placeHolder concode_field_sep void testPublicCloneable concode_elem_sep void testSerialization concode_elem_sep void testHashcode concode_elem_sep void testEquals |
void function ( String arg0 ) { this . id = arg0 ; } | sets the value of the id property . concode_field_sep String displayLabel concode_elem_sep String role concode_elem_sep String xmlLang concode_elem_sep String arcrole concode_elem_sep String show concode_elem_sep String actuate concode_elem_sep String type concode_elem_sep String title concode_elem_sep String script co... |
void function ( Double arg0 ) { this . value = arg0 ; } | setter for value concode_field_sep String preferredPrefix concode_elem_sep String unit concode_elem_sep String nameSpace concode_elem_sep Double value concode_field_sep String toXMLString concode_elem_sep Double getValue concode_elem_sep boolean isWhitespaceNode concode_elem_sep void setUnit concode_elem_sep String get... |
EntryEventType function ( final int arg0 ) { for ( EntryEventType loc0 : values ( ) ) { if ( loc0 . type == arg0 ) { return loc0 ; } } return null ; } | returns the entryeventtype as an enum . concode_field_sep int MERGED concode_elem_sep int EXPIRED concode_elem_sep int EVICTED concode_elem_sep int EVICT_ALL concode_elem_sep int CLEAR_ALL concode_elem_sep int ADDED concode_elem_sep int UPDATED concode_elem_sep int type concode_elem_sep int INVALIDATION concode_elem_se... |
void function ( String arg0 ) { if ( out == null ) { return ; } try { out . write ( arg0 . getBytes ( ) ) ; out . flush ( ) ; } catch ( IOException loc0 ) { throw new BuildException ( "srini_string" + loc0 , loc0 ) ; } } | print out some text , and flush the output stream ; encoding in the platform local default encoding . concode_field_sep String systemError concode_elem_sep Hashtable testStarts concode_elem_sep NumberFormat nf concode_elem_sep Hashtable failed concode_elem_sep StringWriter inner concode_elem_sep String systemOutput con... |
void function ( int arg0 ) { this . queueSize = arg0 ; } | sets the maximum size of the queue ; the maximum number of tasks that can wait to be processed . a value of 0 means an unbounded queue . concode_field_sep int DEFAULT_QUEUE_SIZE concode_elem_sep boolean communicateStats concode_elem_sep int DEFAULT_RETRY_COUNT concode_elem_sep TopologyChangedStrategy DEFAULT_TOPOLOGY_C... |
View function ( ) { return getCachedView ( items ) ; } | gets item view concode_field_sep AbstractWheel wheel concode_elem_sep String LOG_TAG concode_elem_sep List<View> emptyItems concode_elem_sep List<View> items concode_field_sep int recycleItems concode_elem_sep View getCachedView concode_elem_sep void recycleView concode_elem_sep List<View> addView concode_elem_sep void... |
PromptCommand function ( String arg0 ) { PromptCommand loc0 = null ; int loc1 ; for ( loc1 = 0 ; loc1 < cmds . length ; loc1 ++ ) { loc0 = cmds [ loc1 ] . parse ( arg0 . trim ( ) ) ; if ( loc0 != null ) { return loc0 ; } } throw new ParseException ( "srini_string" ) ; } | analiza la orden introducida por el usuario y genera el comando correspondiente . concode_field_sep PromptCommand[] cmds concode_field_sep placeholderType placeHolder |
void function ( String arg0 , QueryProcessor arg1 ) { queryProcessors . put ( arg0 , arg1 ) ; } | registers the provided query processor with the given type . concode_field_sep Map<String,QueryProcessor> queryProcessors concode_field_sep QueryProcessor getQueryProcessor concode_elem_sep Collection executeQuery |
void function ( MailetConfig arg0 ) { config = arg0 ; init ( ) ; } | called by the mailet container to indicate to a mailet that the mailet is being placed into service . this implementation stores the mailetconfig object it receives from the mailet container for later use . when overriding this form of the method , call super.init config . concode_field_sep String TRUE concode_elem_sep... |
void function ( final String arg0 ) { task . log ( arg0 , Project . MSG_WARN ) ; } | log a message with msg_warn priority concode_field_sep Task task concode_field_sep void debug concode_elem_sep void error concode_elem_sep void info concode_elem_sep void verbose |
HostNameSslState function ( String arg0 ) { this . thumbprint = arg0 ; return this ; } | set the thumbprint value . concode_field_sep SslState sslState concode_elem_sep Boolean toUpdate concode_elem_sep String name concode_elem_sep String thumbprint concode_elem_sep String virtualIP concode_field_sep SslState sslState concode_elem_sep Boolean toUpdate concode_elem_sep HostNameSslState withVirtualIP concode... |
List < HandlerMethodArgumentResolver > function ( ) { return Collections . unmodifiableList ( this . argumentResolvers ) ; } | return a read-only list with the contained resolvers , or an empty list . concode_field_sep Log logger concode_elem_sep List<HandlerMethodArgumentResolver> argumentResolvers concode_elem_sep Map<MethodParameter,HandlerMethodArgumentResolver> argumentResolverCache concode_field_sep HandlerMethodArgumentResolverComposite... |
byte [ ] function ( long arg0 , boolean arg1 ) { byte [ ] loc0 = new byte [ Bytes . SIZEOF_LONG + 1 ] ; loc0 [ 0 ] = arg1 ? V_DELETE_BYTE : V_NORMAL_BYTE ; Bytes . putLong ( loc0 , 1 , arg0 ) ; return loc0 ; } | three in-row metadata are required for sscc : status , versions , columns status is a list of key : value pair to save which transaction currently update a row each element in this list indicate an update , so it should tell which transaction did the update and what type of update : stateful or stateless . format of ea... |
void function ( ) { start = 0 ; count = 0 ; total = 0 ; isRunning = false ; } | resets the stopwatch concode_field_sep boolean useNano concode_elem_sep int UNIT_MILLI concode_elem_sep int count concode_elem_sep boolean isRunning concode_elem_sep long start concode_elem_sep long total concode_elem_sep int UNIT_NANO concode_field_sep long stop concode_elem_sep long totalTime concode_elem_sep void st... |
String function ( ) { return this . javaVersion ; } | the java version to use or null if it should not be customized . concode_field_sep String bootVersion concode_elem_sep String javaVersion concode_elem_sep String groupId concode_elem_sep String format concode_elem_sep String description concode_elem_sep String packaging concode_elem_sep String language concode_elem_sep... |
void function ( ) { rpcClientBackoff . incr ( ) ; } | one client backoff event concode_field_sep MutableCounterLong receivedBytes concode_elem_sep MutableRate rpcProcessingTime concode_elem_sep MutableCounterLong rpcAuthenticationFailures concode_elem_sep Server server concode_elem_sep MetricsRegistry registry concode_elem_sep MutableQuantiles[] rpcQueueTimeMillisQuantile... |
void function ( ) { int loc0 = bits . length ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { bits [ loc1 ] = 0 ; } } | clears all bits sets to false . concode_field_sep int width concode_elem_sep int[] bits concode_elem_sep int height concode_elem_sep int rowSize concode_field_sep void setRegion concode_elem_sep void set concode_elem_sep int[] getEnclosingRectangle concode_elem_sep void rotate180 concode_elem_sep BitMatrix parse concod... |
int function ( ) { return getService ( ) . getShoppingCartsCount ( ) ; } | returns the number of shopping carts . concode_field_sep ShoppingCartLocalService _service concode_field_sep com.liferay.portlet.shopping.model.ShoppingCart fetchShoppingCart concode_elem_sep com.liferay.portlet.shopping.model.ShoppingCart createShoppingCart concode_elem_sep void deleteGroupCarts concode_elem_sep com.l... |
String function ( ) { return primaryBundleId ; } | returns primary bundle id to use , can be null . concode_field_sep Artifact entitlements concode_elem_sep String INVALID_FAMILIES_ERROR concode_elem_sep Artifact launchStoryboard concode_elem_sep String artifactPrefix concode_elem_sep String launchImage concode_elem_sep String bundleId concode_elem_sep Artifact provisi... |
void function ( BigInteger arg0 ) { this . start = arg0 ; } | sets the value of the start property . concode_field_sep BigInteger start concode_elem_sep BigInteger end concode_elem_sep String id concode_elem_sep String text concode_elem_sep String content concode_field_sep void setContent concode_elem_sep BigInteger getStart concode_elem_sep String getText concode_elem_sep String... |
void function ( String arg0 ) { if ( arg0 == null ) return ; try { BufferedWriter loc0 = new BufferedWriter ( new FileWriter ( arg0 ) ) ; loc0 . write ( toLines ( ) ) ; loc0 . close ( ) ; } catch ( IOException loc0 ) { System . err . println ( "srini_string" = "srini_string" ) ; } } | saves configure attributes on the specified file concode_field_sep String NONE concode_elem_sep Configurable configurable concode_field_sep String toLines concode_elem_sep void loadFile concode_elem_sep void parseLine |
SpanningWeightedEdgeMapperBuilder < V , WE > function ( G arg0 ) { arg0 = checkNotNull ( arg0 , "srini_string" ) ; return new DefaultSpanningWeightedEdgeMapperBuilder < V , WE > ( arg0 ) ; } | find the minimum spanning tree on the input graph concode_field_sep PlaceHolder placeHolder concode_field_sep DirectedMutableGraph<V,E> newDirectedMutableGraph concode_elem_sep UndirectedMutableGraph<V,E> newUndirectedMutableGraph concode_elem_sep ConnectivityBuilder<V,E> findConnectedComponent concode_elem_sep LinkedC... |
int function ( ) { int loc0 = readInt ( ) ; if ( loc0 < 0 ) { throw new IllegalStateException ( "srini_string" + loc0 ) ; } return loc0 ; } | reads the next four bytes as an unsigned integer into an integer , if the top bit is a zero . concode_field_sep byte[] data concode_elem_sep int limit concode_elem_sep int position concode_field_sep int readLittleEndianInt concode_elem_sep int readSynchSafeInt concode_elem_sep void setPosition concode_elem_sep int capa... |
void function ( RequestFilter arg0 ) { synchronized ( mCurrentRequests ) { for ( Request < ? > loc0 : mCurrentRequests ) { if ( arg0 . apply ( loc0 ) ) { loc0 . cancel ( ) ; } } } } | cancels all requests in this queue for which the given filter applies . concode_field_sep Map<String,Queue<Request<?>>> mWaitingRequests concode_elem_sep Set<Request<?>> mCurrentRequests concode_elem_sep PriorityBlockingQueue<Request<?>> mCacheQueue concode_elem_sep CacheDispatcher mCacheDispatcher concode_elem_sep Res... |
String function ( final HttpParams arg0 ) { Args . notNull ( arg0 , "srini_string" ) ; return ( String ) arg0 . getParameter ( CoreProtocolPNames . USER_AGENT ) ; } | obtains value of the coreprotocolpnames #user_agent parameter.if not set , returns null . concode_field_sep PlaceHolder placeHolder concode_field_sep ProtocolVersion getVersion concode_elem_sep CodingErrorAction getUnmappableInputAction concode_elem_sep void setUnmappableInputAction concode_elem_sep void setVersion con... |
RequestPredicate function ( ) { return ( t ) -> ! test ( t ) ; } | return a predicate that represents the logical negation of this predicate . concode_field_sep PlaceHolder placeHolder concode_field_sep Request subRequest concode_elem_sep RequestPredicate or concode_elem_sep boolean test concode_elem_sep RequestPredicate and |
int function ( ) { throw new UnsupportedOperationException ( "srini_string" ) ; } | returns the number of mesh animation channels . each channel affects a single mesh and defines vertex-based animation . this method will return the same value as getmeshchannels . size concode_field_sep double m_ticksPerSecond concode_elem_sep String m_name concode_elem_sep double m_duration concode_elem_sep List<AiNod... |
String function ( ) { return stringData . toString ( ) ; } | gets a literal string representation of this object 's data , which is in fact , the raw data contained in this object . concode_field_sep Reference reference concode_elem_sep char[] hexChar concode_elem_sep StringBuilder stringData concode_field_sep String getHexString concode_elem_sep StringBuilder stringToHex concod... |
String function ( ) { return this . sectionHeader ; } | get the header for this particular stats block concode_field_sep String statName concode_elem_sep int floor concode_elem_sep String explanation concode_elem_sep String sectionHeader concode_elem_sep String resultName concode_elem_sep List<Stat> stats concode_field_sep void add concode_elem_sep void add concode_elem_sep... |
byte [ ] function ( ) { byte [ ] loc0 = new byte [ 9 ] ; loc0 [ 0 ] = ( byte ) Type . LONG . code ; in . readFully ( loc0 , 1 , 8 ) ; return loc0 ; } | reads the raw bytes following a type.long code . concode_field_sep DataInput in concode_elem_sep ThreadLocal tbIn concode_field_sep TreeMap readMap concode_elem_sep byte[] readRawDouble concode_elem_sep ArrayList readVector concode_elem_sep int readMapHeader concode_elem_sep List readList concode_elem_sep double readDo... |
void function ( de . uhh . l2g . plugins . migration . model . LegacyOffice arg0 ) { getPersistence ( ) . cacheResult ( arg0 ) ; } | caches the legacy office in the entity cache if it is enabled . concode_field_sep LegacyOfficePersistence _persistence concode_field_sep int countAll concode_elem_sep List<LegacyOffice> findWithDynamicQuery concode_elem_sep List<LegacyOffice> findWithDynamicQuery concode_elem_sep List<LegacyOffice> findWithDynamicQuery... |
void function ( String arg0 ) { this . message = arg0 ; } | sets the message . concode_field_sep String path concode_elem_sep String message concode_field_sep String getPath concode_elem_sep void setPath concode_elem_sep String getMessage |
List < String > function ( PropertyUri arg0 ) { List < String > loc0 = arg0 . getValues ( ) ; List < String > loc1 = null ; if ( loc0 == null ) { return loc1 ; } for ( String loc2 : loc0 ) { loc1 . add ( loc2 ) ; } return loc1 ; } | convert a propertyuri to an array of greg values . concode_field_sep PlaceHolder placeHolder concode_field_sep List<BigDecimal> doublesToDecs concode_elem_sep List<BigDecimal> toDecs concode_elem_sep List<GregorianCalendar> toDates concode_elem_sep String replace concode_elem_sep String getPathById concode_elem_sep Str... |
PLRect function ( PLRect arg0 ) { leftTop . setValues ( arg0 . leftTop ) ; rightBottom . setValues ( arg0 . rightBottom ) ; return this ; } | set methods concode_field_sep PLPosition leftTop concode_elem_sep PLPosition rightBottom concode_field_sep boolean equals concode_elem_sep boolean isResetted concode_elem_sep PLRect clone concode_elem_sep PLRect reset concode_elem_sep void finalize concode_elem_sep PLRect PLRectMake concode_elem_sep PLRect PLRectMake c... |
int function ( double arg0 ) { long loc0 = Double . doubleToLongBits ( arg0 ) ; return ( int ) ( loc0 ^ ( loc0 >>> 32 ) ) ; } | computes a hash code for a double value , using the algorithm from joshua bloch 's book effective java '' concode_field_sep double NULL_ORDINATE concode_elem_sep double x concode_elem_sep double y concode_elem_sep int X concode_elem_sep double z concode_elem_sep int Y concode_elem_sep int dimensionsToTest concode_elem_... |
Builder function ( String arg0 , String arg1 ) { checkNameAndValue ( arg0 , arg1 ) ; return addLenient ( arg0 , arg1 ) ; } | add a field with the specified value . concode_field_sep List<String> namesAndValues concode_elem_sep String[] namesAndValues concode_field_sep Builder addLenient concode_elem_sep Builder addLenient concode_elem_sep Builder set concode_elem_sep List<String> values concode_elem_sep void checkNameAndValue concode_elem_se... |
void function ( Path arg0 , boolean arg1 ) { final LocatedBlocks loc0 = dfs . dfs . getNamenode ( ) . getBlockLocations ( arg0 . toUri ( ) . getPath ( ) , 0 , Long . MAX_VALUE ) ; final LocatedBlock loc1 = loc0 . get ( 0 ) ; Assert . assertEquals ( arg1 , loc1 . isCorrupt ( ) ) ; } | verify the first block of the file is corrupted for all its replica . concode_field_sep Log LOG concode_elem_sep DistributedFileSystem dfs concode_elem_sep MiniDFSCluster cluster concode_elem_sep long BLOCK_SIZE concode_elem_sep Configuration conf concode_elem_sep Random rand concode_elem_sep int buffersize concode_ele... |
String function ( ) { return self ; } | resource url . concode_field_sep String DEFAULT_API_REV concode_elem_sep String apirev concode_elem_sep RestClient restclient concode_elem_sep String id concode_elem_sep String self concode_field_sep String getUrl concode_elem_sep void setApiRev concode_elem_sep String getApiRev concode_elem_sep String getId concode_el... |
Collection < ? > function ( Collection < ? > arg0 , Collection < ? > arg1 ) { return arg0 . size ( ) == arg1 . size ( ) || arg1 . size ( ) > arg0 . size ( ) ? arg1 : arg0 ; } | return the collection , a or b , that has the most elements . if both collections have the same number of elements , then the second collection , b is returned . concode_field_sep PlaceHolder placeHolder concode_field_sep Collection<?> smallerBetween concode_elem_sep String toOrderedListString concode_elem_sep T getRan... |
int function ( ) { return waitTl ; } | gets the current waiting point 's sign concode_field_sep Color color concode_elem_sep int cycleAsked concode_elem_sep int waitTl concode_elem_sep int prevWaitTl concode_elem_sep Node destNode concode_elem_sep int prevSign concode_elem_sep int drivelaneStartTime concode_elem_sep boolean voted concode_elem_sep TwoStageLo... |
void function ( boolean arg0 , String arg1 ) { if ( ! arg0 ) { throw new AssertionException ( arg1 ) ; } } | asserts the given condition , throwing an assertionexception if the condition does n'thold . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertUnreachable concode_elem_sep T assertNotNull |
int function ( ) { return maximumPoolSize ; } | returns the maximum number of worker threads in the thread pool . concode_field_sep Log logger concode_elem_sep int DEFAULT_POOL_SIZE concode_elem_sep ThreadPoolExecutor pool concode_elem_sep boolean die concode_elem_sep int maximumPoolSize concode_elem_sep AgiChannelFactory agiChannelFactory concode_elem_sep int DEFAU... |
KNXAddress function ( String arg0 ) { if ( arg0 . indexOf ( '.' ) != - 1 ) return new IndividualAddress ( arg0 ) ; return new GroupAddress ( arg0 ) ; } | creates a knx address from a string address representation . an address level separator of type ' . ' found in address indicates an individual address , i.e. an individualaddress is created , otherwise a groupaddress is created.allowed separators are ' . ' or ' / ' , mutually exclusive . concode_field_sep int address c... |
boolean function ( ) { return reference2 ; } | gets the value of the reference2 property . concode_field_sep boolean reference3 concode_elem_sep boolean reference4 concode_elem_sep boolean reference5 concode_elem_sep boolean reference6 concode_elem_sep boolean reference1 concode_elem_sep boolean reference2 concode_field_sep boolean isReference6 concode_elem_sep boo... |
boolean function ( int arg0 ) { return ( arg0 >= LOGLEVEL ) ; } | determine if log level will be logged 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 void d concode_elem_sep void d concode_elem_sep void d concode_elem_sep void setLogLevel concode_e... |
CameraManager function ( ) { return cameraManager ; } | gets the cameramanager singleton instance . concode_field_sep int MAX_FRAME_HEIGHT concode_elem_sep AutoFocusCallback autoFocusCallback concode_elem_sep String TAG concode_elem_sep CameraManager cameraManager concode_elem_sep CameraConfigurationManager configManager concode_elem_sep PreviewCallback previewCallback conc... |
File function ( ) { return new File ( "srini_string" ) ; } | return tern base dir . concode_field_sep String NODE_VERSION concode_field_sep void unZipIfNecessary concode_elem_sep File getNodejsTernBaseDir concode_elem_sep File getNodejsBasedir |
void function ( Driver arg0 ) { if ( arg0 == null ) { throw new NullPointerException ( ) ; } synchronized ( theDrivers ) { theDrivers . add ( arg0 ) ; } } | registers a given jdbc driver with the drivermanager . a newly loaded jdbc driver class should register itself with the drivermanager by calling this method . concode_field_sep PrintStream thePrintStream concode_elem_sep PrintWriter thePrintWriter concode_elem_sep int loginTimeout concode_elem_sep SQLPermission logPerm... |
DescribeImagesResult function ( java . util . Collection < Image > arg0 ) { if ( arg0 == null ) { this . images = null ; } else { java . util . List < Image > loc0 = new java . util . ArrayList < Image > ( arg0 . size ( ) ) ; loc0 . addAll ( arg0 ) ; this . images = loc0 ; } return this ; } | the list of the described amis . returns a reference to this object so that method calls can be chained together . concode_field_sep java.util.List<Image> images concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep void setImages concode_elem_sep java.util.Lis... |
OpaqueDataType function ( ) { return opaqueData ; } | gets the value of the opaquedata property . concode_field_sep BankAccountType bankAccount concode_elem_sep EncryptedTrackDataType encryptedTrackData concode_elem_sep OpaqueDataType opaqueData concode_elem_sep CreditCardType creditCard concode_elem_sep CreditCardTrackType trackData concode_elem_sep PayPalType payPal con... |
boolean function ( RequestDelegationService arg0 , HttpServletRequest arg1 ) { try { return arg0 . canDelegate ( arg1 ) ; } catch ( Exception loc0 ) { log . log ( Level . SEVERE , String . format ( "srini_string" , loc0 . getCause ( ) ) , loc0 . getCause ( ) ) ; return false ; } } | checks whether the given service can serve given request . concode_field_sep List<RequestDelegationService> delegationServices concode_elem_sep Logger log concode_field_sep boolean tryDelegateRequest concode_elem_sep void delegate |
void function ( ByteBuffer arg0 ) { deadBytes = arg0 ; } | sets the ` dead ' bytes . these bytes are left if the content of the box has been parsed but not all bytes have been used up . concode_field_sep ContainerBox parent concode_elem_sep ByteBuffer deadBytes concode_elem_sep byte[] userType concode_elem_sep Logger LOG concode_elem_sep String type concode_elem_sep ByteBuffer... |
String function ( ) { return ServiceName . JMX_IMPL_NAME ; } | returns the jmx implementation name the name of this product . concode_field_sep ObjectName DELEGATE_NAME concode_elem_sep long oldStamp concode_elem_sep String mbeanServerId concode_elem_sep NotificationBroadcasterSupport broadcaster concode_elem_sep long sequenceNumber concode_elem_sep MBeanNotificationInfo[] notifsI... |
String function ( ) { return createdTime ; } | gets and sets the createdtime for a apiinfodto concode_field_sep String name concode_elem_sep String description concode_elem_sep String createdTime concode_elem_sep String context concode_elem_sep String provider concode_elem_sep String lastUpdatedTime concode_elem_sep String id concode_elem_sep String status concode_... |
boolean function ( ) { return ignoreSecurePortsForTesting ; } | returns true if configuration is set to skip checking for proper port configuration in a secured cluster . this is only intended for use in dev testing . concode_field_sep long readaheadLength concode_elem_sep long xceiverStopTimeout concode_elem_sep String minimumNameNodeVersion concode_elem_sep TrustedChannelResolver... |
double function ( double [ ] arg0 , double [ ] arg1 ) { assert arg0 . length == arg1 . length ; double loc0 = 0 ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { loc0 += arg0 [ loc1 ] * arg1 [ loc1 ] ; } return loc0 / DoubleStream . of ( arg1 ) . sum ( ) ; } | calculates a weighted mean average numbers and weights need to have the same count concode_field_sep PlaceHolder placeHolder concode_field_sep double mode concode_elem_sep double midrange concode_elem_sep double median concode_elem_sep double generalizedMean concode_elem_sep double arithmeticMean concode_elem_sep doubl... |
String function ( ) { return fPluginId ; } | returns the unique identifier of the plug-in or null . concode_field_sep String fProviderName concode_elem_sep ArrayList<ExtensionPoint> fExtensionPoints concode_elem_sep ArrayList<URL> fExportedLibs concode_elem_sep String fPluginPath concode_elem_sep ArrayList<URL> fNotExportedLibs concode_elem_sep Logger LOG concode... |
CmsDirectEditMode function ( boolean arg0 ) { return arg0 ? TRUE : FALSE ; } | returns #true in case the given value is true , #false otherwise . concode_field_sep CmsDirectEditMode MANUAL concode_elem_sep CmsDirectEditMode AUTO concode_elem_sep CmsDirectEditMode[] MODES concode_elem_sep String VALUE_AUTO concode_elem_sep String VALUE_MANUAL concode_elem_sep CmsDirectEditMode FALSE concode_elem_s... |
void function ( java . lang . String arg0 , java . lang . String arg1 , java . lang . String arg2 , javax . xml . stream . XMLStreamWriter arg3 ) { if ( arg0 . equals ( "srini_string" ) ) { arg3 . writeAttribute ( arg1 , arg2 ) ; } else { registerPrefix ( arg3 , arg0 ) ; arg3 . writeAttribute ( arg0 , arg1 , arg2 ) ; }... | util method to write an attribute without the ns prefix concode_field_sep javax.xml.namespace.QName MY_QNAME concode_elem_sep com.amazon.ec2.DescribeSnapshotAttributeType localDescribeSnapshotAttribute concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep void serialize conc... |
void function ( int arg0 ) { levelSystemOut = arg0 ; updateLevel ( ) ; } | set the trace level to use for system.out concode_field_sep String fileName concode_elem_sep boolean writingErrorLogged concode_elem_sep SimpleDateFormat dateFormat concode_elem_sep TraceWriter writer concode_elem_sep int DEBUG concode_elem_sep HashMap<String,Trace> traces concode_elem_sep int checkSize concode_elem_se... |
LineNumber function ( InstructionHandle arg0 ) { return lineNumberMap . get ( arg0 ) ; } | find the line number information for instruction whose handle is given . concode_field_sep MethodGen methodGen concode_elem_sep boolean LINE_NUMBER_BUG concode_elem_sep IdentityHashMap<InstructionHandle,LineNumber> lineNumberMap concode_elem_sep boolean hasLineNumbers concode_elem_sep boolean DEBUG concode_field_sep vo... |
JSONBuilder function ( String arg0 , boolean arg1 ) { appendCommaAndKey ( arg0 ) ; params . append ( arg1 ) ; return this ; } | adds a boolean property . concode_field_sep StringBuilder params concode_field_sep JSONBuilder item concode_elem_sep JSONBuilder beginArray concode_elem_sep JSONBuilder beginMap concode_elem_sep JSONBuilder beginMap concode_elem_sep JSONBuilder endMap concode_elem_sep String escapeString concode_elem_sep JSONBuilder cr... |
String function ( ) { return this . key ; } | returns the unique identifier of the sequence . concode_field_sep long createdAt concode_elem_sep List<MapillaryAbstractImage> images concode_elem_sep String key concode_field_sep void add concode_elem_sep void add concode_elem_sep MapillaryAbstractImage next concode_elem_sep long getCreatedAt concode_elem_sep Mapillar... |
void function ( int arg0 , short arg1 ) { masks [ arg0 ] = arg1 ; } | puts a property mask , given the property index . concode_field_sep short BOX_RELATIVE_MASK concode_elem_sep short NON_CSS_ORIGIN concode_elem_sep short BLOCK_HEIGHT_RELATIVE_MASK concode_elem_sep short USER_ORIGIN concode_elem_sep short INLINE_AUTHOR_ORIGIN concode_elem_sep short OVERRIDE_ORIGIN concode_elem_sep short... |
Boolean function ( ) { return searchEnabled ; } | whether the contents of the field are searchable . concode_field_sep String sourceFields concode_elem_sep Boolean returnEnabled concode_elem_sep Long defaultValue concode_elem_sep Boolean facetEnabled concode_elem_sep Boolean searchEnabled concode_field_sep void setDefaultValue concode_elem_sep IntArrayOptions withSear... |
String function ( ) { return description ; } | returns a description of this open type . concode_field_sep String[] ALLOWED_CLASSNAMES concode_elem_sep String typeName concode_elem_sep String description concode_elem_sep List<String> ALLOWED_CLASSNAMES_LIST concode_elem_sep String className concode_elem_sep long serialVersionUID concode_field_sep boolean isValue co... |
BasicAmountType function ( ) { return bucketInsuranceAmt ; } | getter for bucketinsuranceamt concode_field_sep String preferredPrefix concode_elem_sep String sellerId concode_elem_sep BasicAmountType bucketSubtotalAmt concode_elem_sep BasicAmountType bucketShippingAmt concode_elem_sep String bucketId concode_elem_sep String externalSellerId concode_elem_sep BasicAmountType bucketI... |
double function ( ) { return this . lacunarity ; } | lacunarity is what makes the frequency grow . each octave the frequency is multiplied by the lacunarity . concode_field_sep int octaves concode_elem_sep double lacunarity concode_elem_sep double DEFAULT_LACUNARITY concode_elem_sep double[] spectralWeights concode_elem_sep double persistence concode_elem_sep double DEFA... |
int [ ] function ( String arg0 ) { if ( arg0 . compareTo ( "srini_string" ) == 0 ) return null ; List < String > loc0 = getFeatureNameFromFile ( arg0 ) ; int [ ] loc1 = new int [ loc0 . size ( ) ] ; for ( int loc2 = 0 ; loc2 < loc0 . size ( ) ; loc2 ++ ) loc1 [ loc2 ] = Integer . parseInt ( loc0 . get ( loc2 ) ) ; retu... | get feature id s from a description file concode_field_sep Hashtable<String,Integer> featureMap concode_elem_sep String[] fnames concode_field_sep String getFeatureName concode_elem_sep List<RankList> read concode_elem_sep List<RankList> read concode_elem_sep List<String> getFeatureNameFromFile concode_elem_sep int get... |
void function ( int arg0 ) { assert arg0 >= 0 ; assert arg0 <= nextPos ; final int loc0 = nextPos - arg0 ; assert loc0 <= count : "srini_string" + loc0 + "srini_string" + count ; assert loc0 <= buffer . length : "srini_string" + loc0 + "srini_string" + buffer . length ; count = loc0 ; } | call this to notify us that no chars before this absolute position are needed anymore . concode_field_sep char[] buffer concode_elem_sep Reader reader concode_elem_sep int nextPos concode_elem_sep int nextWrite concode_elem_sep int count concode_elem_sep boolean end concode_field_sep boolean inBounds concode_elem_sep i... |
void function ( String arg0 ) { if ( ! dialects . containsKey ( arg0 ) ) { throw new IllegalArgumentException ( String . format ( "srini_string" % s , arg0 ) ) ; } dialects . remove ( arg0 ) ; } | unregister dialect uri . concode_field_sep List<ResourceTypeIdentifier> resourceTypeIdentifiers concode_elem_sep ResourceManager manager concode_elem_sep Map<String,Dialect> dialects concode_elem_sep WebServiceContext context concode_field_sep void setResourceTypeIdentifiers concode_elem_sep ResourceManager getManager ... |
int function ( ) { return minLength ; } | get minimum length . concode_field_sep FormattingInfo DEFAULT concode_elem_sep int minLength concode_elem_sep boolean leftAlign concode_elem_sep char[] SPACES concode_elem_sep int maxLength concode_field_sep int getMaxLength concode_elem_sep void format concode_elem_sep FormattingInfo getDefault concode_elem_sep boolea... |
void function ( java . lang . String arg0 ) { this . id = arg0 ; } | sets the value of the id property . concode_field_sep java.lang.String id concode_elem_sep byte[] value concode_elem_sep java.lang.String contentType concode_elem_sep Long hjid concode_field_sep byte[] getValue concode_elem_sep Long getHjid concode_elem_sep Binary withValue concode_elem_sep void setHjid concode_elem_se... |
Number [ ] function ( double [ ] arg0 ) { ParamChecks . nullNotPermitted ( arg0 , "srini_string" ) ; Number [ ] loc0 = new Number [ arg0 . length ] ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { loc0 [ loc1 ] = new Double ( arg0 [ loc1 ] ) ; } return loc0 ; } | constructs an array of number objects from an array of double primitives . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean equal concode_elem_sep Number[][] createNumberArray2D concode_elem_sep double calculateRowTotal concode_elem_sep double calculateRowTotal concode_elem_sep double[][] clone conco... |
String function ( ) { return this . name ; } | returns the name of the logger . concode_field_sep String name concode_elem_sep LogLevel configuredLevel concode_elem_sep LogLevel effectiveLevel concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep LogLevel getEffectiveLevel concode_elem_sep LogLevel getConfiguredLevel concode_elem_sep Strin... |
boolean function ( ) { return hasSelected ; } | indicates that at least this or one of the child instances of abstracttext is selected . concode_field_sep boolean highlight concode_elem_sep boolean hasHighlight concode_elem_sep Rectangle2D.Float bounds concode_elem_sep boolean selected concode_elem_sep boolean hasSelected concode_field_sep boolean isHighlighted conc... |
java . io . OutputStream function ( long arg0 ) { throw jdbcUtil . notSupported ; } | retrieves a stream to be used to write ascii characters to the clob value that this clob object represents , starting at position pos . concode_field_sep String data concode_field_sep java.io.Writer setCharacterStream concode_elem_sep int setString concode_elem_sep int setString concode_elem_sep void truncate concode_e... |
Provider function ( ) { return provider ; } | returns the provider for this keymanagerfactory instance . concode_field_sep Engine ENGINE concode_elem_sep String DEFAULT_PROPERTY concode_elem_sep String PROPERTY_NAME concode_elem_sep Provider provider concode_elem_sep KeyManagerFactorySpi spiImpl concode_elem_sep String SERVICE concode_elem_sep String algorithm con... |
void function ( String arg0 ) { this . networkProtocol = arg0 ; } | sets the network protocol attribute of the data source . concode_field_sep String description concode_elem_sep String dataSourceName concode_elem_sep String password concode_elem_sep String serverName concode_elem_sep int loginTimeout concode_elem_sep String user concode_elem_sep String networkProtocol concode_elem_sep... |
void function ( ProgrammaticStatus arg0 ) { this . status = arg0 ; } | sets the value of the status property . concode_field_sep Long adxBuyerNetworkId concode_elem_sep BuyerPlatform buyerPlatform concode_elem_sep Long buyerId concode_elem_sep BillingTermsType billingTermsType concode_elem_sep ProgrammaticStatus status concode_field_sep Long getAdxBuyerNetworkId concode_elem_sep void setB... |
void function ( Double arg0 ) { this . maxAltitude = arg0 ; } | sets the max altitude . concode_field_sep Double minAltitude concode_elem_sep String east concode_elem_sep Double maxAltitude concode_elem_sep String south concode_elem_sep String north concode_elem_sep String west concode_elem_sep String altitudeMode concode_field_sep void setWest concode_elem_sep String getWest conco... |
void function ( String arg0 ) { if ( this . descriptionSections == null ) { this . descriptionSections = new LinkedList < String > ( ) ; } this . descriptionSections . add ( arg0 ) ; } | adds the specified description section to this tooltip . concode_field_sep List<String> descriptionSections concode_elem_sep Image footerImage concode_elem_sep Image mainImage concode_elem_sep Popup tipWindow concode_elem_sep List<String> footerSections concode_elem_sep boolean tipShowing concode_elem_sep String title ... |
Certificate [ ] function ( ) { if ( certs == null ) return null ; Certificate [ ] loc0 = new Certificate [ certs . size ( ) ] ; certs . toArray ( loc0 ) ; return loc0 ; } | this method returns the list of digital certificates that can be used to verify the signatures of code loaded under this codesource . concode_field_sep URL location concode_elem_sep long serialVersionUID concode_elem_sep HashSet certs concode_field_sep URL getLocation concode_elem_sep int hashCode concode_elem_sep void... |
void function ( HttpServletResponse arg0 ) { try { arg0 . setStatus ( HttpServletResponse . SC_FORBIDDEN ) ; arg0 . sendError ( HttpServletResponse . SC_FORBIDDEN ) ; arg0 . flushBuffer ( ) ; } catch ( IOException loc0 ) { LOGGER . debug ( "srini_string" , loc0 ) ; } } | sets status and error codes to forbidden and returns response . concode_field_sep ContextPolicyManager contextPolicyManager concode_elem_sep Logger LOGGER concode_field_sep void init concode_elem_sep void doFilter concode_elem_sep void destroy |
IProject function ( EObject arg0 ) { return ResourcesPlugin . getWorkspace ( ) . getRoot ( ) . getFile ( new Path ( arg0 . eResource ( ) . getURI ( ) . toPlatformString ( true ) ) ) . getProject ( ) ; } | 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 boolean projectOpened concode_elem_sep FeatureConfiguration createDefaultFeatureConfiguration concode_elem_sep boolean p... |
void function ( ) { total = 0 ; start ( ) ; } | zeros accumulated running time and restarts this object . concode_field_sep boolean running concode_elem_sep long total concode_elem_sep long startTime concode_elem_sep long lastStart concode_field_sep long currentElapsedTime concode_elem_sep void stop concode_elem_sep String currentElapsedTimeToMessage concode_elem_se... |
int function ( StringBuffer arg0 , char arg1 , int arg2 , int arg3 ) { } | append a character to the specified buffer inserting line breaks if necessary to conform to the linelen . concode_field_sep char[] encodeTable concode_elem_sep char PAD concode_field_sep String encode concode_elem_sep String encode concode_elem_sep String encode concode_elem_sep int getVal concode_elem_sep String decod... |
void function ( java . lang . String arg0 ) { this . code = arg0 ; } | sets the code value for this codedescription . concode_field_sep java.lang.String code concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String description concode_elem_sep boolean __hashCodeCalc concode_field_sep org.apache.axis.des... |
Session function ( ) { sysSession . currentSchema = sysSession . database . schemaManager . defaultSchemaHsqlName ; sysSession . isProcessingScript = false ; sysSession . isProcessingLog = false ; sysSession . setUser ( sysSession . database . getUserManager ( ) . getSysUser ( ) ) ; return sysSession ; } | retrieves the special sys session . 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 newSession concode_elem_s... |
float function ( float arg0 , float arg1 ) { return arg0 > arg1 ? arg0 : arg1 ; } | restitution mixing law . feel free to customize this . todo djm : add customization concode_field_sep int maxPolygonVertices concode_elem_sep float aabbMultiplier concode_elem_sep boolean POOLING concode_elem_sep float contactBaumgarte concode_elem_sep float velocityThreshold concode_elem_sep float EPSILON concode_elem... |
Builder function ( Mode arg0 ) { this . mode = arg0 != null ? arg0 . name ( ) : Data . < String > nullOf ( String . class ) ; return this ; } | sets the mode of the field . when not specified mode #nullable is used . concode_field_sep String mode concode_elem_sep String name concode_elem_sep String description concode_elem_sep long serialVersionUID concode_elem_sep Type type concode_elem_sep List<Field> fields concode_elem_sep Function<TableFieldSchema,Field> ... |
float function ( ) { return amount ; } | returns the amount . concode_field_sep A inverse concode_elem_sep float amount concode_elem_sep Long id concode_elem_sep A reverse concode_field_sep A getReverse concode_elem_sep void setId concode_elem_sep Long getId concode_elem_sep void setAmount concode_elem_sep void setReverse |
Movie function ( Movie arg0 ) { Movie loc0 = new Movie ( ) ; for ( Track loc1 : arg0 . getTracks ( ) ) { loc0 . addTrack ( new ChangeTimeScaleTrack ( loc1 , timeScale , ismvBuilder . getFragmentIntersectionFinder ( ) . sampleNumbers ( loc1 , arg0 ) ) ) ; } return loc0 ; } | returns a new movie in that all tracks have the timescale 10000000 . cts & dts are modified in a way that even with more than one framerate the fragments exactly begin at the same time . concode_field_sep Logger LOG concode_elem_sep ManifestWriter manifestWriter concode_elem_sep boolean debugOutput concode_elem_sep Fil... |
boolean function ( final X509CRL arg0 ) { return isExpired ( arg0 , ZonedDateTime . now ( ZoneOffset . UTC ) ) ; } | determines whether the given crl is expired by examining the nextupdate field . concode_field_sep String X509_CERTIFICATE_TYPE concode_field_sep X509Certificate readCertificate concode_elem_sep String toString concode_elem_sep CertificateFactory getCertificateFactory |
List < FormDefinition > function ( @ PathVariable ( "srini_string" ) String arg0 ) { return formDefinitionService . findAllByConfigName ( arg0 ) ; } | finds all form definitions by configuration name . concode_field_sep FormDefinitionService formDefinitionService concode_field_sep FormDefinition getFormDefById |
boolean function ( AuditLogEntry arg0 ) { if ( filter == null ) { throw new IllegalStateException ( "srini_string" ) ; } if ( filter . accept ( arg0 ) ) { entries . addFirst ( arg0 ) ; return true ; } return false ; } | add a new auditlogentry at the beginning of the list . this is different behaviour to a regular list but it prevents the need to sort entries in descending order . concode_field_sep AuditLogFilter filter concode_elem_sep long serialVersionUID concode_elem_sep LinkedList<AuditLogEntry> entries concode_field_sep List<Aud... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.