- Sort Score
- Num 10 results
- Language All
- Labels All
Results 241 - 250 of 5,398 for int (0.4 seconds)
-
Supporting Cyclic Garbage Collection — Py...
int PyObject_IS_GC ( PyObject * obj...if this function returns 0. int PyObject_GC_IsTracked ( PyObject...docs.python.org/3/c-api/gcsupport.htmlWed Apr 29 06:55:52 GMT 2026 9.8K bytes -
Right-Associative Extension Methods: Details
(x: Int) def *:[T](xs: List[T]): List[T] = ... xs.*:[Int](1)...(a: Int) def :+(b: Long): Long = ... // extension on Int def...docs.scala-lang.org/scala3/reference/contextual/right-associative-extension-methods.htmlTue Jan 27 22:53:02 GMT 2026 35.3K bytes -
Implementing Type classes
(x: Int) def combine (y: Int): Int = x + y def unit: Int = 0...type Int one could write the following: given Monoid[Int]: extension...docs.scala-lang.org/scala3/reference/contextual/type-classes.htmlTue Jan 27 22:53:02 GMT 2026 49.7K bytes -
No Null Values | Scala Book | Scala Documentation
it can convert to an Int , you wrap the Int inside of a Some If...this: def toInt ( s : String ) : Int = { try { Integer . parseInt...docs.scala-lang.org/overviews/scala-book/no-null-values.htmlFri Feb 06 04:30:27 GMT 2026 85.3K bytes -
Concurrency | Scala 3 — Book | Scala Documentation
slowlyDouble ( x : Int , delay : Long ) : Future [ Int ] = Future {...this: def aShortRunningTask () : Int = 42 val x = aShortRunningTask...docs.scala-lang.org/scala3/book/concurrency.htmlFri Feb 06 04:30:27 GMT 2026 93.3K bytes -
概述 | Parallel Collections | Scala Documentation
sum res01: Int = 467766 scala> var sum = 0 sum: Int = 0 scala>...sum res02: Int = 457073 scala> var sum = 0 sum: Int = 0 scala>...docs.scala-lang.org/zh-cn/overviews/parallel-collections/overview.htmlFri Feb 06 04:30:27 GMT 2026 81.8K bytes -
方法特性 | Scala 3 — Book | Scala Documentation
( a : Int , b : Int ) : Int = a + b def add ( a : Int , b : Int...addThenDouble ( a : Int , b : Int ) : Int = { // imagine that...docs.scala-lang.org/zh-cn/scala3/book/methods-most.htmlFri Feb 06 04:30:27 GMT 2026 495K bytes -
Definition and import details | Quasiquotes | S...
$body" = q"def g(x: Int)(implicit y: Int) = x + y" paramss: .....$implparams) = $rhs" = q"def g(x: Int)(y: Int) = x + y" paramss: List[...docs.scala-lang.org/overviews/quasiquotes/definition-details.htmlFri Feb 06 04:30:27 GMT 2026 60.6K bytes -
Data marshalling support — Python 3.14.4 ...
int version ) Marshal a long integer,...PyObject * value , FILE * file , int version ) Marshal a Python object,...docs.python.org/3/c-api/marshal.htmlWed Apr 29 06:55:52 GMT 2026 4.9K bytes -
类型推断 | Scala 3 — Book | Scala Documentation
val x : Int = 1 val y : Double = 1 在这些示例中,类型分别_明确地_声明为 Int 和 Double...3 scala > val a = 1 val a : Int = 1 scala > val b = List ( 1...docs.scala-lang.org/zh-cn/scala3/book/types-inferred.htmlFri Feb 06 04:30:27 GMT 2026 436.1K bytes