摘要:
# svn diff --summarizeA armbian-custom-dc/test/4g-power.shA armbian-custom-dc/test/4g-reset.shM armbian-custom-dc/test/test-menu.shA armbian-custom-dc 阅读全文
摘要:
接收类型参数的类和特质是“泛型”的,但是它们生成的类型是"参数化"。 ”泛型“的意思是我们用一个泛化的类或特质来定义许许多多具体的类型。 如果说S是类型T的子类型,那么Queue[S]应不应该被当作Queue[T]的子类型? 如果是,可以说Queue特质在类型参数T上是协变的(convariant) 阅读全文
摘要:
接下来我们来分析一下uboot的编写过程: 从 lib/compilation.sh 89开始阅读: 89 compile_uboot() 90 { 91 # not optimal, but extra cleaning before overlayfs_wrapper should keep s 阅读全文
摘要:
1 Scope of Document This document describes am335x cpufreq technology insider. 2 Requiremen 2.1 Function Requirement How to get current cpufreq, and t 阅读全文
摘要:
阅读全文
摘要:
object Twice { def apply(x: Int): Int = x * 2 def unapply(z: Int): Option[Int] = if (z % 2 == 0) Some(z / 2) else None } object TwiceTest extends Application { val x = Twice(21) x match { ca... 阅读全文
摘要:
collect will apply a partial function to all elements of a Traversable and return a different collection 阅读全文