View JHashMap.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @author Guillaume Masse | |
#include "JHashMap.h" | |
#include <string> | |
using namespace std; | |
void JHashMap::insert( std::string key, std::string value ) | |
{ |
View conf.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ | |
./hardware-configuration.nix | |
]; | |
boot.loader.grub = { | |
enable = true; |
View woot.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._ | |
import Keys._ | |
import KeyRanks.DTask | |
import xsbti.{Reporter, Problem, Position, Severity} | |
object CustomReporter { | |
private lazy val compilerReporter = TaskKey[xsbti.Reporter]( | |
"compilerReporter", | |
"Experimental hook to listen (or send) compilation failure messages.", | |
DTask |
View cli.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.typesafe.tools.mima.cli | |
import com.typesafe.tools.mima.lib.MiMaLib | |
import com.typesafe.tools.mima.core.Config | |
import java.nio.file._ | |
object MiMaCli { |
View migrations.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Byte | |
@deprecated("Adding a number and a String is deprecated. Convert the number to a String with `toString` first to call +", "2.13.0") | |
def +(x: String): String | |
@deprecated("shifting a value by a `Long` argument is deprecated (except when the value is a `Long`).\nCall `toInt` on the argument to maintain the current behavior and avoid the deprecation warning.", "2.12.7") | |
def <<(x: Long): Int | |
@deprecated("shifting a value by a `Long` argument is deprecated (except when the value is a `Long`).\nCall `toInt` on the argument to maintain the current behavior and avoid the deprecation warning.", "2.12.7") | |
def >>>(x: Long): Int |
View migrations.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2186 https://github.com/milessabin/macro-compat/commit/b1bbe40105a649abf35511fe8e7de4c0419192f7 | |
1444 https://github.com/scala/scala-parser-combinators/pull/148 | |
617 https://github.com/milessabin/shapeless/tree/shapeless-2.3.3-scala-2.13.0-M4 | |
- (implicit itl: IsTraversableLike[Repr], ev: AdditiveCollection[Repr]): SizedOps[itl.A, Repr, L] = | |
+ (implicit itl: IsIterableLike[Repr], ev: AdditiveCollection[Repr]): SizedOps[itl.A, Repr, L] = | |
- private implicit def conv(repr: Repr): GenTraversableLike[A0, Repr] = itl.conversion(repr) | |
+ private implicit def conv(repr: Repr): IterableOps[A0, Iterable, Repr] = itl.conversion(repr) |
View list.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
milessabin/macro-compat/macro-compat 2186 | |
scala/scala-parser-combinators/scala-parser-combinators 1444 | |
mpilquist/simulacrum/simulacrum 1268 | |
typelevel/machinist/machinist 1251 | |
scala/scala-xml/scala-xml 855 | |
typelevel/cats/cats-core 756 | |
milessabin/shapeless/shapeless 617 | |
scala/scala-java8-compat/scala-java8-compat 512 | |
lightbend/ssl-config/ssl-config-core 399 | |
akka/akka/akka-actor 355 |
View graph.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// see https://github.com/scalacenter/scaladex/blob/master/CONTRIBUTING.md | |
// import $ivy.`io.verizon.quiver::core:7.0.19` | |
import quiver._ | |
import ch.epfl.scala.index.model.{Project, Release} | |
import ch.epfl.scala.index.model.release.ScalaDependency | |
import ch.epfl.scala.index.data.{DataPaths, LocalPomRepository} | |
import ch.epfl.scala.index.data.project.ProjectConvert | |
import ch.epfl.scala.index.data.github.GithubDownload |
View output.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val tree = "a.b().c".parse[Term].get | |
pretty(tree) | |
Term.Select( | |
Term.Apply( | |
Term.Select( | |
Term.Name("a"), | |
Term.Name("b") | |
), |
View fromRange2.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scala.collection.immutable.BitSet | |
def fromRange(xs: List[(Int, Int)]): BitSet = { | |
val range = BitSet.newBuilder | |
xs.foreach { | |
case (start, end) => | |
range ++= BitSet((start to end): _*) | |
} | |
range.result | |
} |
NewerOlder