Tutorial by Topics: s

typedef NS_ENUM(type, name) {...} -- type is the type of enumeration and name is the name of the enum. values are in "...". This creates a basic enum and a type to go with it; programs like Xcode will assume a variable with the enum type has one of the enum values
{{ my_date_time|my_custom_filter }} {{ my_date_time|my_custom_filter(args) }} ParameterDetailsvalueThe value passed in by Jinja, to be filteredargsExtra arguments to be passed into the filter function
EOMONTH (start_date [, month_to_add ] ) as per https://msdn.microsoft.com/en-us/library/ms187819.aspx, DateTimes are only precise to 3ms. Rounding of datetime Fractional Second Precision datetime values are rounded to increments of .000, .003, or .007 seconds, as shown in the following ta...
ParameterDescriptionStableYesIn placeYesBest case complexityO(n)Average case complexityO(n^2)Worst case complexityO(n^2)Space complexityO(1)
ParametersDetailsDegree of Parallelism (DOP)It is the number of parallel connection/processes which you want your query to open up. It is usually 2, 4, 8, 16 so on.Table NameThe name of the table on which parallel hint will be applied.
a[start:end] # items start through end-1 a[start:] # items start through the rest of the array a[:end] # items from the beginning through end-1 a[start:end:step] # start through not past end, by step a[:] # a copy of the whole array source lst[::-1] gives you a revers...
lock (obj) {} Using the lock statement you can control different threads' access to code within the code block. It is commonly used to prevent race conditions, for example multiple threads reading and removing items from a collection. As locking forces threads to wait for other threads to ...
Approach with sealed trait and case objects is preferred because Scala enumeration has a few problems: Enumerations have the same type after erasure. Compiler doesn't complain about “Match is not exhaustive", if case is missed it will fail in runtime scala.MatchError: def isWeekendWith...
Snackbar make (View view, CharSequence text, int duration) Snackbar make (View view, int resId, int duration) ParameterDescriptionviewView: The view to find a parent from.textCharSequence: The text to show. Can be formatted text.resIdint: The resource id of the string resource to use. Can ...
Visual Basic 14 is the version of Visual Basic that was shipped as part of Visual Studio 2015. This version was rewritten from scratch in about 1.3 million lines of VB. Many features were added to remove common irritations and to make common coding patterns cleaner. The version number of Visual Ba...
NSDate() // NSDate object init to the current date and time NSDate().timeIntervalSince1970 // Current date and time in number of seconds from 00:00:00 UTC on 1 January 1970. NSDate().compare(other: NSDate) // Returns a comparison of current date to another date returns a NSComparisonResult ...

Page 46 of 334