- Sort Score
- Num 10 results
- Language All
- Labels All
Results 381 - 390 of 5,398 for int (0.86 seconds)
-
Pickle buffer objects — Python 3.14.4 doc...
int PyPickleBuffer_Check ( PyObject...exception and return NULL . int PyPickleBuffer_Release ( PyObject...docs.python.org/3/c-api/picklebuffer.htmlWed Apr 29 06:55:52 GMT 2026 4.3K bytes -
Eta 扩展 | Scala 3 — Book | Scala Documentation
Scala 2 and 3 def times10 ( i : Int ) = i * 10 // a method List (...and 3 def isEvenMethod ( i : Int ) = i % 2 == 0 // a method val...docs.scala-lang.org/zh-cn/scala3/book/fun-eta-expansion.htmlFri Feb 06 04:30:27 GMT 2026 441.2K bytes -
Scala for Python Developers | Scala 3 — Book | ...
return a + b def add(a: Int, b: Int): Int = a + b 多行方法: def walkThenRun():...< b else b def min(a: Int, b: Int): Int = if a < b then a else...docs.scala-lang.org/zh-cn/scala3/book/scala-for-python-devs.htmlFri Feb 06 04:30:27 GMT 2026 486.6K bytes -
Dependent Function Types | Scala 3 — Book | Sca...
Age extends Key { type Value = Int } The following calls to method...( Name ) val res2 : Option [ Int ] = db . get ( Age ) Calling...docs.scala-lang.org/scala3/book/types-dependent-function.htmlFri Feb 06 04:30:27 GMT 2026 83.6K bytes -
从头定义新容器 | Collections | Scala Documentation
3) res17: List[Int] = List(1, 2, 3) scala> Traversable(1,...Traversable(1, 2, 3) res18: Traversable[Int] = List(1, 2, 3) scala> mutable.Traversable(1,...docs.scala-lang.org/zh-cn/overviews/collections/creating-collections-from-scratch.htmlFri Feb 06 04:30:27 GMT 2026 126.3K bytes -
並行トライ | Parallel Collections | Scala Documentation
type Node = (Int, Int); type Parent = (Int, Int); // Node 型の演算...ードを広げていく。 ここでは、二次元の地図上のノードを Int のタプルとして定義する。 map はブーリアン型の二次元...docs.scala-lang.org/ja/overviews/parallel-collections/ctries.htmlFri Feb 06 04:30:27 GMT 2026 63.8K bytes -
functools — Higher-order functions and operatio...
(Some types such as str and int may be cached separately even...callable that behaves like the int() function where the base argument...docs.python.org/3/library/functools.htmlWed Apr 29 06:55:52 GMT 2026 17.7K bytes -
Automatic Parameter Unrolling
i: Int ): String = s + i In the example...final def foo( s: String, i: Int, @unroll b: Boolean = true, l:...docs.scala-lang.org/scala3/reference/experimental/unrolled-defs.htmlTue Jan 27 22:53:02 GMT 2026 40K bytes -
Scala Cheatsheet | Scala Documentation
Good def f(x: Int) = { x * x } Bad def f(x: Int) { x * x } Define...2) Infix sugar. def sum(args: Int*) = args.reduceLeft(_+_) Varargs....docs.scala-lang.org/cheatsheets/index.htmlWed Apr 29 03:30:29 GMT 2026 47.2K bytes -
Scala FAQ | Scala Documentation
method such as: def square(x: Int): Int = x * x differ from a function...value such as: val square: Int => Int = x => x * x For Scala...docs.scala-lang.org/tutorials/FAQ/index.htmlWed Apr 29 03:30:28 GMT 2026 45.4K bytes