- Sort Score
- Num 10 results
- Language All
- Labels All
Results 151 - 160 of 5,220 for int (0.13 seconds)
-
types — Dynamic type creation and names for bui...
GenericAlias >>> list [ int ] == GenericAlias ( list , ( int ,)) True >>>...dict [ str , int ] == GenericAlias ( dict , ( str , int )) True Added...docs.python.org/3/library/types.htmlFri Feb 06 03:23:28 GMT 2026 73.9K bytes -
Scala 3 Macros | Macros in Scala 3 | Scala Docu...
def sumNow ( inline nums : Int* ) : Int = $ { sumCode ( 'nums )...Expr [ Seq [ Int ]])( using Quotes ) : Expr [ Int ] = import ...docs.scala-lang.org/scala3/guides/macros/macros.htmlFri Feb 06 04:30:27 GMT 2026 77.3K bytes -
多态方法 | Scala Documentation
上例中第一次调用方法时,我们显式地提供了类型参数 [Int] 。 因此第一个参数必须是 Int 类型,并且返回类型为 List[Int] 。 上例中第二次...listOfDuplicates [ A ]( x : A , length : Int ) : List [ A ] = { if ( length...docs.scala-lang.org/zh-cn/tour/polymorphic-methods.htmlFri Feb 06 04:30:27 GMT 2026 205.7K bytes -
Given Instances
given intOrd: Ord[Int]: def compare(x: Int, y: Int) = if x < y then...Ord[T]: def compare(x: T, y: T): Int extension (x: T) def < (y: T)...docs.scala-lang.org/scala3/reference/contextual/givens.htmlTue Jan 27 22:53:02 GMT 2026 36.9K bytes -
Glossary | Scala Documentation
if function f has type Int => Int => Int , then f and f(1) are...lists. For instance def f(x: Int)(y: Int) is a curried function with...docs.scala-lang.org/glossary/index.htmlThu Feb 05 16:30:25 GMT 2026 78.2K bytes -
File Objects — Python 3.14.3 documentation
PyFile_FromFd ( int fd , const char * name , const char * mode , int buffering...errors , const char * newline , int closefd ) Return value: New reference....docs.python.org/3/c-api/file.htmlFri Feb 06 03:23:27 GMT 2026 36.3K bytes -
Frame Objects — Python 3.14.3 documentation
int PyFrame_Check ( PyObject * obj...NULL . Added in version 3.11. int PyFrame_GetLasti ( PyFrameObject...docs.python.org/3/c-api/frame.htmlSun Feb 22 06:33:52 GMT 2026 7.8K bytes -
注解 | Scala Documentation
x : Int ) : Int = { @tailrec def factorialHelper ( x : Int , accumulator...factorial(x: Int): Int = { @tailrec def factorialHelper(x: Int): Int...docs.scala-lang.org/zh-cn/tour/annotations.htmlFri Feb 06 04:30:27 GMT 2026 209.8K bytes -
Iterators | Collections | Scala Documentation
res10 : Int = 1 scala > bit . next () val res11 : Int = 1 scala...( it : Iterator [ Int ]) : Iterator [ Int ] scala > def collapse...docs.scala-lang.org/overviews/collections-2.13/iterators.htmlFri Feb 06 04:30:27 GMT 2026 105.7K bytes -
Concrete Mutable Collection Classes | Collectio...
mpty[Int] buf: scala.collection.mutable.ArrayBuffer[Int] = ArrayBuffer()...mpty[Int] buf: scala.collection.mutable.ListBuffer[Int] = ListBuffer()...docs.scala-lang.org/overviews/collections/concrete-mutable-collection-classes.htmlFri Feb 06 04:30:27 GMT 2026 55.5K bytes