- Sort Score
- Num 10 results
- Language All
- Labels All
Results 281 - 290 of 5,398 for int (0.51 seconds)
-
Sequence Protocol — Python 3.14.4 documen...
Light Dark | Sequence Protocol int PySequence_Check ( PyObject *...Python expression o[i1:i2] . int PySequence_SetItem ( PyObject...docs.python.org/3/c-api/sequence.htmlTue Apr 28 13:41:04 GMT 2026 7.3K bytes -
与 Java 交互 | Scala 3 — Book | Scala Documentation
: def multiply ( x: Int , y: Int ) : Int // abstract Java 类可以实现这两个接口,并定义...ScalaMultiplyTrait { public int multiply ( int a , int b ) { return a *...docs.scala-lang.org/zh-cn/scala3/book/interacting-with-java.htmlFri Feb 06 04:30:27 GMT 2026 461.7K bytes -
Slice Objects — Python 3.14.4 documentation
int PySlice_Check ( PyObject * ob...object could not be allocated. int PySlice_GetIndices ( PyObject...docs.python.org/3/c-api/slice.htmlWed Apr 29 06:55:52 GMT 2026 5.7K bytes -
多元相等性 | Scala 3 — Book | Scala Documentation
year : Int , pages : Int ) extends Book case class...String , year : Int , lengthInMinutes : Int ) extends Book 最后,使用...docs.scala-lang.org/zh-cn/scala3/book/ca-multiversal-equality.htmlFri Feb 06 04:30:27 GMT 2026 449K bytes -
泛型 | Scala 3 — Book | Scala Documentation
Stack[Int] 的方式: Scala 2 Scala 3 val stack = new Stack [ Int ] stack...类的这个实现采用任何类型作为参数。 泛型的美妙之处在于您现在可以创建一个 Stack[Int] 、 Stack[String] 等,允许您将 Stack...docs.scala-lang.org/zh-cn/scala3/book/types-generics.htmlFri Feb 06 04:30:27 GMT 2026 439.4K bytes -
Inline | Macros in Scala 3 | Scala Documentation
val n0 : Int = default ( "Int" ) val s0 : String =...inline def logged [ T ]( level : Int , message : => String )( inline...docs.scala-lang.org/scala3/guides/macros/inline.htmlFri Feb 06 04:30:27 GMT 2026 90.6K bytes -
Futures and Promises | Scala Documentation
val firstOccurrence: Future[Int] = Future { val source = sca...val firstOccurrence: Future[Int] = Future { val source = sca...docs.scala-lang.org/overviews/core/futures.htmlFri Feb 06 04:30:27 GMT 2026 154.2K bytes -
Pure Functions | Scala 3 — Book | Scala Documen...
2 and 3 def double ( i : Int ) : Int = i * 2 If you’re comfortable...3 def sum ( xs : List [ Int ]) : Int = xs match { case Nil =>...docs.scala-lang.org/scala3/book/fp-pure-functions.htmlFri Feb 06 04:30:27 GMT 2026 76.2K bytes -
Buffer Protocol — Python 3.14.4 documenta...
int readonly , int flags ) Part of the Stable...PyBUF_SIMPLE or PyBUF_WRITABLE . int readonly An indicator of whether...docs.python.org/3/c-api/buffer.htmlWed Apr 29 06:55:52 GMT 2026 14.5K bytes -
变量和数据类型 | Scala 3 — Book | Scala Documentation
推断类型: Scala 2 and 3 val x : Int = 1 // 显式 val x = 1 // 隐式的;编译器推断类型...3 scala > val x = 1 val x : Int = 1 scala > val s = "a string"...docs.scala-lang.org/zh-cn/scala3/book/taste-vars-data-types.htmlFri Feb 06 04:30:27 GMT 2026 454.2K bytes