- Sort Score
- Num 10 results
- Language All
- Labels All
Results 171 - 180 of 5,398 for int (0.11 seconds)
-
集合方法 | Scala 3 — Book | Scala Documentation
Scala 3 def add ( x : Int , y : Int ) : Int = { val theSum = x +...theSum } def add ( x : Int , y : Int ) : Int = val theSum = x + y...docs.scala-lang.org/zh-cn/scala3/book/collections-methods.htmlFri Feb 06 04:30:27 GMT 2026 500.6K bytes -
Compile-time operations
Y) match case (Int, Int) => int.+[X, Y] case (String, String) =>...scala.compiletime.ops.int.S transparent inline def toIntC[N]: Int = inline...docs.scala-lang.org/scala3/reference/metaprogramming/compiletime-ops.htmlTue Jan 27 22:53:02 GMT 2026 48.8K bytes -
Mutability
init def get: Int = current update def set(x: Int): Unit = current...addContents(from: Ref[Int], to: Ref[Int]^): Unit = to.set(to.get...docs.scala-lang.org/scala3/reference/experimental/capture-checking/mutability.htmlTue Jan 27 22:53:02 GMT 2026 55.6K bytes -
TypeTest
type Int object PeanoInt extends Peano: type Nat = Int type Zero...Zero = Int type Succ = Int def safeDiv(m: Nat, n: Succ): (Nat,...docs.scala-lang.org/scala3/reference/other-new-features/type-test.htmlTue Jan 27 22:53:02 GMT 2026 41.7K bytes -
Implicit Conversions
Int] = _.x implicitly[Ordering[Int]] // Ok, exists...from // `A` to `Int` and the `Ordering` for `Int`. More details...docs.scala-lang.org/scala3/reference/changed-features/implicit-conversions.htmlTue Jan 27 22:53:02 GMT 2026 31.8K bytes -
Object Protocol — Python 3.14.4 documenta...
int PyObject_Print ( PyObject * o , FILE * fp , int flags...* Py_GetConstant ( unsigned int constant_id ) Part of the Stable...docs.python.org/3/c-api/object.htmlWed Apr 29 06:55:52 GMT 2026 16K bytes -
A Scala Tutorial for Java Programmers | Scala D...
3 class Date ( y : Int , m : Int , d : Int ) extends Ord { def...} class Date ( y : Int , m : Int , d : Int ) extends Ord : def...docs.scala-lang.org/tutorials/scala-for-java-programmers.htmlWed Apr 29 03:30:28 GMT 2026 151.6K bytes -
Export Clauses
object O: class C(val x: Int) def m(c: C): Int = c.x + 1 export O.*...take(n: Int): String = x.substring(0, n) def drop(n: Int): String...docs.scala-lang.org/scala3/reference/other-new-features/export.htmlTue Jan 27 22:53:02 GMT 2026 48.2K bytes -
Control Structures | Scala 3 — Book | Scala Doc...
3 def compare ( a : Int , b : Int ) : Int = if ( a < b ) - 1 else...1 def compare ( a : Int , b : Int ) : Int = if a < b then - 1...docs.scala-lang.org/scala3/book/control-structures.htmlThu Feb 05 16:30:25 GMT 2026 210.4K bytes -
Capsules — Python 3.14.4 documentation
int PyCapsule_CheckExact ( PyObject...PyCapsule_Import ( const char * name , int no_block ) Part of the Stable...docs.python.org/3/c-api/capsule.htmlWed Apr 29 06:55:52 GMT 2026 7K bytes