├── corpus ├── re2j │ └── latest ├── re2s │ └── latest ├── scala │ ├── latest │ ├── 21d12e9 │ │ ├── library │ │ │ └── scala │ │ │ │ ├── runtime │ │ │ │ ├── package.scala │ │ │ │ ├── TraitSetter.java │ │ │ │ ├── java8 │ │ │ │ │ ├── JFunction0$mcV$sp.java │ │ │ │ │ ├── JFunction0$mcB$sp.java │ │ │ │ │ ├── JFunction0$mcJ$sp.java │ │ │ │ │ ├── JFunction0$mcC$sp.java │ │ │ │ │ ├── JFunction0$mcD$sp.java │ │ │ │ │ ├── JFunction0$mcF$sp.java │ │ │ │ │ ├── JFunction0$mcI$sp.java │ │ │ │ │ ├── JFunction0$mcS$sp.java │ │ │ │ │ ├── JFunction0$mcZ$sp.java │ │ │ │ │ ├── JFunction1$mcVI$sp.java │ │ │ │ │ ├── JFunction1$mcVD$sp.java │ │ │ │ │ ├── JFunction1$mcVF$sp.java │ │ │ │ │ ├── JFunction1$mcVJ$sp.java │ │ │ │ │ ├── JFunction1$mcFI$sp.java │ │ │ │ │ ├── JFunction1$mcII$sp.java │ │ │ │ │ ├── JFunction1$mcJI$sp.java │ │ │ │ │ ├── JFunction1$mcJJ$sp.java │ │ │ │ │ ├── JFunction1$mcDF$sp.java │ │ │ │ │ ├── JFunction1$mcDI$sp.java │ │ │ │ │ ├── JFunction1$mcDJ$sp.java │ │ │ │ │ ├── JFunction1$mcFD$sp.java │ │ │ │ │ ├── JFunction1$mcFF$sp.java │ │ │ │ │ ├── JFunction1$mcFJ$sp.java │ │ │ │ │ ├── JFunction1$mcID$sp.java │ │ │ │ │ ├── JFunction1$mcIF$sp.java │ │ │ │ │ ├── JFunction1$mcIJ$sp.java │ │ │ │ │ ├── JFunction1$mcJD$sp.java │ │ │ │ │ ├── JFunction1$mcJF$sp.java │ │ │ │ │ ├── JFunction1$mcZI$sp.java │ │ │ │ │ ├── JFunction1$mcZJ$sp.java │ │ │ │ │ ├── JFunction1$mcDD$sp.java │ │ │ │ │ ├── JFunction1$mcZD$sp.java │ │ │ │ │ ├── JFunction1$mcZF$sp.java │ │ │ │ │ ├── JFunction2$mcVII$sp.java │ │ │ │ │ ├── JFunction2$mcVIJ$sp.java │ │ │ │ │ ├── JFunction2$mcVJI$sp.java │ │ │ │ │ ├── JFunction2$mcJII$sp.java │ │ │ │ │ ├── JFunction2$mcVDI$sp.java │ │ │ │ │ ├── JFunction2$mcVDJ$sp.java │ │ │ │ │ ├── JFunction2$mcVID$sp.java │ │ │ │ │ ├── JFunction2$mcVJD$sp.java │ │ │ │ │ ├── JFunction2$mcVJJ$sp.java │ │ │ │ │ ├── JFunction2$mcDII$sp.java │ │ │ │ │ ├── JFunction2$mcFII$sp.java │ │ │ │ │ ├── JFunction2$mcFIJ$sp.java │ │ │ │ │ ├── JFunction2$mcFJI$sp.java │ │ │ │ │ ├── JFunction2$mcIII$sp.java │ │ │ │ │ ├── JFunction2$mcIIJ$sp.java │ │ │ │ │ ├── JFunction2$mcIJI$sp.java │ │ │ │ │ ├── JFunction2$mcJIJ$sp.java │ │ │ │ │ ├── JFunction2$mcJJI$sp.java │ │ │ │ │ ├── JFunction2$mcJJJ$sp.java │ │ │ │ │ ├── JFunction2$mcVDD$sp.java │ │ │ │ │ ├── JFunction2$mcDDI$sp.java │ │ │ │ │ ├── JFunction2$mcDID$sp.java │ │ │ │ │ ├── JFunction2$mcDIJ$sp.java │ │ │ │ │ ├── JFunction2$mcDJI$sp.java │ │ │ │ │ ├── JFunction2$mcDJJ$sp.java │ │ │ │ │ ├── JFunction2$mcFDI$sp.java │ │ │ │ │ ├── JFunction2$mcFDJ$sp.java │ │ │ │ │ ├── JFunction2$mcFID$sp.java │ │ │ │ │ ├── JFunction2$mcFJD$sp.java │ │ │ │ │ ├── JFunction2$mcFJJ$sp.java │ │ │ │ │ ├── JFunction2$mcIDI$sp.java │ │ │ │ │ ├── JFunction2$mcIDJ$sp.java │ │ │ │ │ ├── JFunction2$mcIID$sp.java │ │ │ │ │ ├── JFunction2$mcIJD$sp.java │ │ │ │ │ ├── JFunction2$mcIJJ$sp.java │ │ │ │ │ ├── JFunction2$mcJDI$sp.java │ │ │ │ │ ├── JFunction2$mcJDJ$sp.java │ │ │ │ │ ├── JFunction2$mcJID$sp.java │ │ │ │ │ ├── JFunction2$mcJJD$sp.java │ │ │ │ │ ├── JFunction2$mcZII$sp.java │ │ │ │ │ ├── JFunction2$mcZIJ$sp.java │ │ │ │ │ ├── JFunction2$mcZJI$sp.java │ │ │ │ │ ├── JFunction2$mcZJJ$sp.java │ │ │ │ │ ├── JFunction2$mcDDJ$sp.java │ │ │ │ │ ├── JFunction2$mcDJD$sp.java │ │ │ │ │ ├── JFunction2$mcFDD$sp.java │ │ │ │ │ ├── JFunction2$mcIDD$sp.java │ │ │ │ │ ├── JFunction2$mcJDD$sp.java │ │ │ │ │ ├── JFunction2$mcZDI$sp.java │ │ │ │ │ ├── JFunction2$mcZDJ$sp.java │ │ │ │ │ ├── JFunction2$mcZID$sp.java │ │ │ │ │ ├── JFunction2$mcZJD$sp.java │ │ │ │ │ ├── JFunction2$mcDDD$sp.java │ │ │ │ │ └── JFunction2$mcZDD$sp.java │ │ │ │ ├── RichBoolean.scala │ │ │ │ ├── AbstractFunction3.scala │ │ │ │ ├── AbstractFunction4.scala │ │ │ │ ├── AbstractFunction0.scala │ │ │ │ ├── AbstractFunction5.scala │ │ │ │ └── AbstractFunction6.scala │ │ │ │ ├── collection │ │ │ │ ├── immutable │ │ │ │ │ └── StreamView.scala │ │ │ │ ├── concurrent │ │ │ │ │ ├── Gen.java │ │ │ │ │ └── BasicNode.java │ │ │ │ ├── generic │ │ │ │ │ ├── Sizing.scala │ │ │ │ │ └── GenericSeqCompanion.scala │ │ │ │ ├── mutable │ │ │ │ │ └── HashEntry.scala │ │ │ │ ├── Parallel.scala │ │ │ │ └── SeqExtractors.scala │ │ │ │ ├── reflect │ │ │ │ ├── ScalaSignature.java │ │ │ │ └── ScalaLongSignature.java │ │ │ │ ├── volatile.scala │ │ │ │ ├── transient.scala │ │ │ │ ├── SerialVersionUID.scala │ │ │ │ ├── Cloneable.scala │ │ │ │ ├── Mutable.scala │ │ │ │ ├── Immutable.scala │ │ │ │ ├── Serializable.scala │ │ │ │ ├── annotation │ │ │ │ └── meta │ │ │ │ │ ├── field.scala │ │ │ │ │ ├── getter.scala │ │ │ │ │ ├── param.scala │ │ │ │ │ ├── setter.scala │ │ │ │ │ ├── beanGetter.scala │ │ │ │ │ └── beanSetter.scala │ │ │ │ └── NotNull.scala │ │ ├── deps.txt │ │ ├── compiler │ │ │ └── scala │ │ │ │ ├── tools │ │ │ │ ├── nsc │ │ │ │ │ ├── symtab │ │ │ │ │ │ ├── package.scala │ │ │ │ │ │ ├── classfile │ │ │ │ │ │ │ └── package.scala │ │ │ │ │ │ └── SymbolTable.scala │ │ │ │ │ ├── ast │ │ │ │ │ │ └── parser │ │ │ │ │ │ │ ├── Patch.scala │ │ │ │ │ │ │ ├── Change.scala │ │ │ │ │ │ │ ├── BracePatch.scala │ │ │ │ │ │ │ └── BracePair.scala │ │ │ │ │ ├── NewLinePrintWriter.scala │ │ │ │ │ ├── Settings.scala │ │ │ │ │ ├── util │ │ │ │ │ │ ├── Exceptional.scala │ │ │ │ │ │ └── SimpleTracer.scala │ │ │ │ │ ├── ConsoleWriter.scala │ │ │ │ │ └── EvalLoop.scala │ │ │ │ └── reflect │ │ │ │ │ ├── ReflectSetup.scala │ │ │ │ │ └── ReflectMain.scala │ │ │ │ └── reflect │ │ │ │ ├── macros │ │ │ │ ├── runtime │ │ │ │ │ ├── package.scala │ │ │ │ │ └── AbortMacroException.scala │ │ │ │ ├── contexts │ │ │ │ │ ├── Traces.scala │ │ │ │ │ ├── Infrastructure.scala │ │ │ │ │ └── Parsers.scala │ │ │ │ └── util │ │ │ │ │ └── Traces.scala │ │ │ │ └── reify │ │ │ │ ├── codegen │ │ │ │ ├── GenNames.scala │ │ │ │ └── GenPositions.scala │ │ │ │ └── utils │ │ │ │ ├── StdAttachments.scala │ │ │ │ └── Utils.scala │ │ └── reflect │ │ │ └── scala │ │ │ └── reflect │ │ │ ├── internal │ │ │ ├── FatalError.scala │ │ │ ├── annotations │ │ │ │ ├── package.scala │ │ │ │ └── uncheckedBounds.scala │ │ │ ├── util │ │ │ │ ├── ThreeValues.scala │ │ │ │ └── Set.scala │ │ │ ├── Required.scala │ │ │ ├── transform │ │ │ │ └── PostErasure.scala │ │ │ └── settings │ │ │ │ └── AbsSettings.scala │ │ │ ├── api │ │ │ ├── TreeCreator.scala │ │ │ └── TypeCreator.scala │ │ │ └── runtime │ │ │ └── ReflectSetup.scala │ └── df29ebb │ │ ├── library │ │ └── scala │ │ │ ├── runtime │ │ │ ├── package.scala │ │ │ ├── TraitSetter.java │ │ │ ├── java8 │ │ │ │ ├── JFunction0$mcV$sp.java │ │ │ │ ├── JFunction0$mcB$sp.java │ │ │ │ ├── JFunction0$mcJ$sp.java │ │ │ │ ├── JFunction0$mcC$sp.java │ │ │ │ ├── JFunction0$mcD$sp.java │ │ │ │ ├── JFunction0$mcF$sp.java │ │ │ │ ├── JFunction0$mcI$sp.java │ │ │ │ ├── JFunction0$mcS$sp.java │ │ │ │ ├── JFunction0$mcZ$sp.java │ │ │ │ ├── JFunction1$mcVI$sp.java │ │ │ │ ├── JFunction1$mcVD$sp.java │ │ │ │ ├── JFunction1$mcVF$sp.java │ │ │ │ ├── JFunction1$mcVJ$sp.java │ │ │ │ ├── JFunction1$mcFI$sp.java │ │ │ │ ├── JFunction1$mcII$sp.java │ │ │ │ ├── JFunction1$mcJI$sp.java │ │ │ │ ├── JFunction1$mcJJ$sp.java │ │ │ │ ├── JFunction1$mcDF$sp.java │ │ │ │ ├── JFunction1$mcDI$sp.java │ │ │ │ ├── JFunction1$mcDJ$sp.java │ │ │ │ ├── JFunction1$mcFD$sp.java │ │ │ │ ├── JFunction1$mcFF$sp.java │ │ │ │ ├── JFunction1$mcFJ$sp.java │ │ │ │ ├── JFunction1$mcID$sp.java │ │ │ │ ├── JFunction1$mcIF$sp.java │ │ │ │ ├── JFunction1$mcIJ$sp.java │ │ │ │ ├── JFunction1$mcJD$sp.java │ │ │ │ ├── JFunction1$mcJF$sp.java │ │ │ │ ├── JFunction1$mcZI$sp.java │ │ │ │ ├── JFunction1$mcZJ$sp.java │ │ │ │ ├── JFunction1$mcDD$sp.java │ │ │ │ ├── JFunction1$mcZD$sp.java │ │ │ │ ├── JFunction1$mcZF$sp.java │ │ │ │ ├── JFunction2$mcVII$sp.java │ │ │ │ ├── JFunction2$mcVIJ$sp.java │ │ │ │ ├── JFunction2$mcVJI$sp.java │ │ │ │ ├── JFunction2$mcJII$sp.java │ │ │ │ ├── JFunction2$mcVDI$sp.java │ │ │ │ ├── JFunction2$mcVDJ$sp.java │ │ │ │ ├── JFunction2$mcVID$sp.java │ │ │ │ ├── JFunction2$mcVJD$sp.java │ │ │ │ ├── JFunction2$mcVJJ$sp.java │ │ │ │ ├── JFunction2$mcDII$sp.java │ │ │ │ ├── JFunction2$mcFII$sp.java │ │ │ │ ├── JFunction2$mcFIJ$sp.java │ │ │ │ ├── JFunction2$mcFJI$sp.java │ │ │ │ ├── JFunction2$mcIII$sp.java │ │ │ │ ├── JFunction2$mcIIJ$sp.java │ │ │ │ ├── JFunction2$mcIJI$sp.java │ │ │ │ ├── JFunction2$mcJIJ$sp.java │ │ │ │ ├── JFunction2$mcJJI$sp.java │ │ │ │ ├── JFunction2$mcJJJ$sp.java │ │ │ │ ├── JFunction2$mcVDD$sp.java │ │ │ │ ├── JFunction2$mcDDI$sp.java │ │ │ │ ├── JFunction2$mcDID$sp.java │ │ │ │ ├── JFunction2$mcDIJ$sp.java │ │ │ │ ├── JFunction2$mcDJI$sp.java │ │ │ │ ├── JFunction2$mcDJJ$sp.java │ │ │ │ ├── JFunction2$mcFDI$sp.java │ │ │ │ ├── JFunction2$mcFDJ$sp.java │ │ │ │ ├── JFunction2$mcFID$sp.java │ │ │ │ ├── JFunction2$mcFJD$sp.java │ │ │ │ ├── JFunction2$mcFJJ$sp.java │ │ │ │ ├── JFunction2$mcIDI$sp.java │ │ │ │ ├── JFunction2$mcIDJ$sp.java │ │ │ │ ├── JFunction2$mcIID$sp.java │ │ │ │ ├── JFunction2$mcIJD$sp.java │ │ │ │ ├── JFunction2$mcIJJ$sp.java │ │ │ │ ├── JFunction2$mcJDI$sp.java │ │ │ │ ├── JFunction2$mcJDJ$sp.java │ │ │ │ ├── JFunction2$mcJID$sp.java │ │ │ │ ├── JFunction2$mcJJD$sp.java │ │ │ │ ├── JFunction2$mcZII$sp.java │ │ │ │ ├── JFunction2$mcZIJ$sp.java │ │ │ │ ├── JFunction2$mcZJI$sp.java │ │ │ │ ├── JFunction2$mcZJJ$sp.java │ │ │ │ ├── JFunction2$mcDDJ$sp.java │ │ │ │ ├── JFunction2$mcDJD$sp.java │ │ │ │ ├── JFunction2$mcFDD$sp.java │ │ │ │ ├── JFunction2$mcIDD$sp.java │ │ │ │ ├── JFunction2$mcJDD$sp.java │ │ │ │ ├── JFunction2$mcZDI$sp.java │ │ │ │ ├── JFunction2$mcZDJ$sp.java │ │ │ │ ├── JFunction2$mcZID$sp.java │ │ │ │ ├── JFunction2$mcZJD$sp.java │ │ │ │ ├── JFunction2$mcDDD$sp.java │ │ │ │ └── JFunction2$mcZDD$sp.java │ │ │ ├── RichBoolean.scala │ │ │ ├── AbstractFunction3.scala │ │ │ ├── AbstractFunction4.scala │ │ │ ├── AbstractFunction0.scala │ │ │ ├── AbstractFunction5.scala │ │ │ └── AbstractFunction6.scala │ │ │ ├── collection │ │ │ ├── immutable │ │ │ │ └── StreamView.scala │ │ │ ├── SeqFactory.scala │ │ │ ├── concurrent │ │ │ │ ├── Gen.java │ │ │ │ └── BasicNode.java │ │ │ ├── generic │ │ │ │ ├── Sizing.scala │ │ │ │ └── GenericSeqCompanion.scala │ │ │ ├── mutable │ │ │ │ └── HashEntry.scala │ │ │ ├── Parallel.scala │ │ │ └── SeqExtractors.scala │ │ │ ├── reflect │ │ │ ├── ScalaSignature.java │ │ │ └── ScalaLongSignature.java │ │ │ ├── volatile.scala │ │ │ ├── transient.scala │ │ │ ├── SerialVersionUID.scala │ │ │ ├── Cloneable.scala │ │ │ ├── Mutable.scala │ │ │ ├── Immutable.scala │ │ │ ├── Serializable.scala │ │ │ ├── annotation │ │ │ └── meta │ │ │ │ ├── field.scala │ │ │ │ ├── getter.scala │ │ │ │ ├── param.scala │ │ │ │ ├── setter.scala │ │ │ │ ├── beanGetter.scala │ │ │ │ └── beanSetter.scala │ │ │ └── NotNull.scala │ │ ├── deps.txt │ │ ├── compiler │ │ └── scala │ │ │ ├── tools │ │ │ ├── nsc │ │ │ │ ├── symtab │ │ │ │ │ ├── package.scala │ │ │ │ │ ├── classfile │ │ │ │ │ │ └── package.scala │ │ │ │ │ └── SymbolTable.scala │ │ │ │ ├── ast │ │ │ │ │ └── parser │ │ │ │ │ │ ├── Patch.scala │ │ │ │ │ │ ├── Change.scala │ │ │ │ │ │ ├── BracePatch.scala │ │ │ │ │ │ └── BracePair.scala │ │ │ │ ├── NewLinePrintWriter.scala │ │ │ │ ├── Settings.scala │ │ │ │ ├── util │ │ │ │ │ ├── Exceptional.scala │ │ │ │ │ └── SimpleTracer.scala │ │ │ │ ├── ConsoleWriter.scala │ │ │ │ └── EvalLoop.scala │ │ │ └── reflect │ │ │ │ ├── ReflectSetup.scala │ │ │ │ └── ReflectMain.scala │ │ │ └── reflect │ │ │ ├── macros │ │ │ ├── runtime │ │ │ │ ├── package.scala │ │ │ │ └── AbortMacroException.scala │ │ │ ├── contexts │ │ │ │ ├── Traces.scala │ │ │ │ ├── Infrastructure.scala │ │ │ │ └── Parsers.scala │ │ │ └── util │ │ │ │ └── Traces.scala │ │ │ └── reify │ │ │ ├── codegen │ │ │ ├── GenNames.scala │ │ │ └── GenPositions.scala │ │ │ └── utils │ │ │ ├── StdAttachments.scala │ │ │ └── Utils.scala │ │ └── reflect │ │ └── scala │ │ └── reflect │ │ ├── internal │ │ ├── FatalError.scala │ │ ├── annotations │ │ │ ├── package.scala │ │ │ └── uncheckedBounds.scala │ │ ├── util │ │ │ ├── ThreeValues.scala │ │ │ └── Set.scala │ │ ├── Required.scala │ │ ├── transform │ │ │ └── PostErasure.scala │ │ └── settings │ │ │ └── AbsSettings.scala │ │ ├── api │ │ ├── TreeCreator.scala │ │ └── TypeCreator.scala │ │ └── runtime │ │ └── ReflectSetup.scala ├── scalap │ ├── latest │ └── a8c43dc │ │ ├── scalax │ │ ├── util │ │ │ └── StringUtil.scala │ │ └── rules │ │ │ └── scalasig │ │ │ └── SourceFileAttributeParser.scala │ │ └── Properties.scala ├── vector │ └── latest ├── better-files │ └── latest ├── scalactic-position │ └── latest │ │ └── deps.txt └── map-seq-inference │ └── latest │ └── test.scala ├── project ├── build.properties ├── plugins.sbt └── build.sbt ├── src └── main │ └── resources │ └── META-INF │ └── services │ └── org.openjdk.jmh.profile.Profiler ├── .gitignore ├── compilation └── src │ └── test │ └── scala │ └── scala │ └── tools │ └── benchmark │ └── BenchmarkTest.scala ├── infrastructure └── src │ └── main │ └── resources │ ├── reference.conf │ └── logback.xml └── .github └── workflows └── ci.yml /corpus/re2j/latest: -------------------------------------------------------------------------------- 1 | a311ea0/ -------------------------------------------------------------------------------- /corpus/re2s/latest: -------------------------------------------------------------------------------- 1 | a311ea0/ -------------------------------------------------------------------------------- /corpus/scala/latest: -------------------------------------------------------------------------------- 1 | df29ebb -------------------------------------------------------------------------------- /corpus/scalap/latest: -------------------------------------------------------------------------------- 1 | a8c43dc -------------------------------------------------------------------------------- /corpus/vector/latest: -------------------------------------------------------------------------------- 1 | fb04376 -------------------------------------------------------------------------------- /corpus/better-files/latest: -------------------------------------------------------------------------------- 1 | a45f905 -------------------------------------------------------------------------------- /project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version=1.11.6 2 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/package.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | 3 | package object runtime { } 4 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/package.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | 3 | package object runtime { } 4 | -------------------------------------------------------------------------------- /src/main/resources/META-INF/services/org.openjdk.jmh.profile.Profiler: -------------------------------------------------------------------------------- 1 | scala.tools.nsc.benchmark.FlightRecordingProfiler -------------------------------------------------------------------------------- /corpus/scalactic-position/latest/deps.txt: -------------------------------------------------------------------------------- 1 | http://repo1.maven.org/maven2/org/scalactic/scalactic_2.12/3.0.7/scalactic_2.12-3.0.7.jar 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | *.jfr 3 | *.csv 4 | /.idea/ 5 | /scripts/savedIrqAffinity 6 | /infrastructure/src/main/resources/application.conf 7 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/deps.txt: -------------------------------------------------------------------------------- 1 | https://repo1.maven.org/maven2/org/scala-lang/modules/scala-asm/5.1.0-scala-2/scala-asm-5.1.0-scala-2.jar 2 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/deps.txt: -------------------------------------------------------------------------------- 1 | https://repo1.maven.org/maven2/org/scala-lang/modules/scala-asm/5.1.0-scala-2/scala-asm-5.1.0-scala-2.jar 2 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/nsc/symtab/package.scala: -------------------------------------------------------------------------------- 1 | package scala.tools.nsc 2 | 3 | package object symtab { 4 | 5 | val Flags = scala.reflect.internal.Flags 6 | 7 | } 8 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/nsc/symtab/package.scala: -------------------------------------------------------------------------------- 1 | package scala.tools.nsc 2 | 3 | package object symtab { 4 | 5 | val Flags = scala.reflect.internal.Flags 6 | 7 | } 8 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/reflect/macros/runtime/package.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.macros 2 | 3 | package object runtime { 4 | type Context = scala.reflect.macros.contexts.Context 5 | } -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/reflect/macros/runtime/package.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.macros 2 | 3 | package object runtime { 4 | type Context = scala.reflect.macros.contexts.Context 5 | } -------------------------------------------------------------------------------- /project/plugins.sbt: -------------------------------------------------------------------------------- 1 | // Comment to get more information during initialization 2 | logLevel := Level.Warn 3 | 4 | // sbt-jmh plugin - pulls in JMH dependencies too 5 | addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.7") 6 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/collection/immutable/StreamView.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | package collection 3 | package immutable 4 | 5 | trait StreamView[+A, +Coll] extends StreamViewLike[A, Coll, StreamView[A, Coll]] { } 6 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/TraitSetter.java: -------------------------------------------------------------------------------- 1 | package scala.runtime; 2 | 3 | /** A marker annotation to tag a setter of a mutable variable in a trait 4 | */ 5 | @Deprecated 6 | public @interface TraitSetter { 7 | } -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/collection/immutable/StreamView.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | package collection 3 | package immutable 4 | 5 | trait StreamView[+A, +Coll] extends StreamViewLike[A, Coll, StreamView[A, Coll]] { } 6 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/TraitSetter.java: -------------------------------------------------------------------------------- 1 | package scala.runtime; 2 | 3 | /** A marker annotation to tag a setter of a mutable variable in a trait 4 | */ 5 | @Deprecated 6 | public @interface TraitSetter { 7 | } -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/nsc/symtab/classfile/package.scala: -------------------------------------------------------------------------------- 1 | package scala.tools.nsc.symtab 2 | 3 | package object classfile { 4 | 5 | val ClassfileConstants = scala.reflect.internal.ClassfileConstants 6 | 7 | } 8 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/nsc/symtab/classfile/package.scala: -------------------------------------------------------------------------------- 1 | package scala.tools.nsc.symtab 2 | 3 | package object classfile { 4 | 5 | val ClassfileConstants = scala.reflect.internal.ClassfileConstants 6 | 7 | } 8 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/reflect/macros/contexts/Traces.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.macros 2 | package contexts 3 | 4 | trait Traces extends util.Traces { 5 | self: Context => 6 | 7 | def globalSettings = universe.settings 8 | } 9 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/reflect/macros/contexts/Traces.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.macros 2 | package contexts 3 | 4 | trait Traces extends util.Traces { 5 | self: Context => 6 | 7 | def globalSettings = universe.settings 8 | } 9 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/collection/SeqFactory.scala: -------------------------------------------------------------------------------- 1 | package scala.collection 2 | 3 | object SeqFactory { 4 | // dummy to avoid FatalError when the 2.13.x pattern matcher looks up this symbol. 5 | final class UnapplySeqWrapper 6 | } 7 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/nsc/ast/parser/Patch.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | package scala.tools.nsc.ast.parser 6 | 7 | class Patch(off: Int, change: Change) 8 | 9 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/nsc/ast/parser/Patch.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | package scala.tools.nsc.ast.parser 6 | 7 | class Patch(off: Int, change: Change) 8 | 9 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/reflect/scala/reflect/internal/FatalError.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | package scala 6 | package reflect.internal 7 | case class FatalError(msg: String) extends Exception(msg) 8 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/reflect/scala/reflect/internal/FatalError.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | package scala 6 | package reflect.internal 7 | case class FatalError(msg: String) extends Exception(msg) 8 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/reflect/scala/reflect/internal/annotations/package.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.internal 2 | 3 | package object annotations { 4 | @deprecated("use scala.annotation.compileTimeOnly instead", "2.11.0") 5 | type compileTimeOnly = scala.annotation.compileTimeOnly 6 | } 7 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/reflect/scala/reflect/internal/annotations/package.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.internal 2 | 3 | package object annotations { 4 | @deprecated("use scala.annotation.compileTimeOnly instead", "2.11.0") 5 | type compileTimeOnly = scala.annotation.compileTimeOnly 6 | } 7 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/nsc/symtab/SymbolTable.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | 6 | package scala.tools.nsc 7 | package symtab 8 | 9 | abstract class SymbolTable extends scala.reflect.internal.SymbolTable 10 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/nsc/symtab/SymbolTable.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | 6 | package scala.tools.nsc 7 | package symtab 8 | 9 | abstract class SymbolTable extends scala.reflect.internal.SymbolTable 10 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/reflect/macros/runtime/AbortMacroException.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.macros 2 | package runtime 3 | 4 | import scala.reflect.internal.util.Position 5 | import scala.util.control.ControlThrowable 6 | 7 | class AbortMacroException(val pos: Position, val msg: String) extends Throwable(msg) with ControlThrowable -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/reflect/macros/runtime/AbortMacroException.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.macros 2 | package runtime 3 | 4 | import scala.reflect.internal.util.Position 5 | import scala.util.control.ControlThrowable 6 | 7 | class AbortMacroException(val pos: Position, val msg: String) extends Throwable(msg) with ControlThrowable -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/nsc/ast/parser/Change.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | package scala.tools.nsc.ast.parser 6 | 7 | abstract class Change 8 | case class Insertion(text: String) extends Change 9 | case class Deletion(nchars: Int) extends Change 10 | 11 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/nsc/ast/parser/Change.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | package scala.tools.nsc.ast.parser 6 | 7 | abstract class Change 8 | case class Insertion(text: String) extends Change 9 | case class Deletion(nchars: Int) extends Change 10 | 11 | -------------------------------------------------------------------------------- /project/build.sbt: -------------------------------------------------------------------------------- 1 | val jmhV = System.getProperty("jmh.version", "1.37") // duplicated in build.sbt 2 | 3 | libraryDependencies ++= List( 4 | "org.openjdk.jmh" % "jmh-core" % jmhV, 5 | "org.openjdk.jmh" % "jmh-generator-bytecode" % jmhV, 6 | "org.openjdk.jmh" % "jmh-generator-reflection" % jmhV 7 | ) 8 | 9 | resolvers in Global += Resolver.mavenLocal 10 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/reflect/reify/codegen/GenNames.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.reify 2 | package codegen 3 | 4 | trait GenNames { 5 | self: Reifier => 6 | 7 | import global._ 8 | 9 | def reifyName(name: Name) = { 10 | val factory = if (name.isTypeName) nme.TypeName else nme.TermName 11 | mirrorCall(factory, Literal(Constant(name.toString))) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/reflect/ReflectSetup.scala: -------------------------------------------------------------------------------- 1 | package scala.tools 2 | package reflect 3 | 4 | import scala.tools.nsc.Global 5 | 6 | /** A helper trait to initialize things that need to be set before JavaMirrors and other 7 | * reflect specific traits are initialized */ 8 | private[reflect] trait ReflectSetup { this: Global => 9 | phase = new Run().typerPhase 10 | } -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/reflect/reify/codegen/GenNames.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.reify 2 | package codegen 3 | 4 | trait GenNames { 5 | self: Reifier => 6 | 7 | import global._ 8 | 9 | def reifyName(name: Name) = { 10 | val factory = if (name.isTypeName) nme.TypeName else nme.TermName 11 | mirrorCall(factory, Literal(Constant(name.toString))) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/reflect/ReflectSetup.scala: -------------------------------------------------------------------------------- 1 | package scala.tools 2 | package reflect 3 | 4 | import scala.tools.nsc.Global 5 | 6 | /** A helper trait to initialize things that need to be set before JavaMirrors and other 7 | * reflect specific traits are initialized */ 8 | private[reflect] trait ReflectSetup { this: Global => 9 | phase = new Run().typerPhase 10 | } -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/reflect/ScalaSignature.java: -------------------------------------------------------------------------------- 1 | package scala.reflect; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.RUNTIME) 9 | @Target(ElementType.TYPE) 10 | public @interface ScalaSignature { 11 | String bytes(); 12 | } 13 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/reflect/ScalaSignature.java: -------------------------------------------------------------------------------- 1 | package scala.reflect; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.RUNTIME) 9 | @Target(ElementType.TYPE) 10 | public @interface ScalaSignature { 11 | String bytes(); 12 | } 13 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/reflect/ScalaLongSignature.java: -------------------------------------------------------------------------------- 1 | package scala.reflect; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.RUNTIME) 9 | @Target(ElementType.TYPE) 10 | public @interface ScalaLongSignature { 11 | String[] bytes(); 12 | } 13 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/reflect/ScalaLongSignature.java: -------------------------------------------------------------------------------- 1 | package scala.reflect; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.RUNTIME) 9 | @Target(ElementType.TYPE) 10 | public @interface ScalaLongSignature { 11 | String[] bytes(); 12 | } 13 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction0$mcV$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcV$sp extends scala.Function0, java.io.Serializable { 10 | void apply$mcV$sp(); 11 | 12 | default Object apply() { apply$mcV$sp(); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction0$mcV$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcV$sp extends scala.Function0, java.io.Serializable { 10 | void apply$mcV$sp(); 11 | 12 | default Object apply() { apply$mcV$sp(); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /compilation/src/test/scala/scala/tools/benchmark/BenchmarkTest.scala: -------------------------------------------------------------------------------- 1 | package scala.tools.benchmark 2 | 3 | import scala.tools.nsc.ScalacBenchmark 4 | import org.junit.Test 5 | 6 | class BenchmarkTest { 7 | @Test def compilesOK() = { 8 | val bench = new ScalacBenchmark 9 | bench.source = "../corpus/re2s" 10 | bench.corpusVersion = "latest" 11 | bench.initTemp() 12 | bench.compileImpl() 13 | bench.clearTemp() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction0$mcB$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcB$sp extends scala.Function0, java.io.Serializable { 10 | byte apply$mcB$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToByte(apply$mcB$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction0$mcJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcJ$sp extends scala.Function0, java.io.Serializable { 10 | long apply$mcJ$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJ$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction0$mcB$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcB$sp extends scala.Function0, java.io.Serializable { 10 | byte apply$mcB$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToByte(apply$mcB$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction0$mcJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcJ$sp extends scala.Function0, java.io.Serializable { 10 | long apply$mcJ$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJ$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction0$mcC$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcC$sp extends scala.Function0, java.io.Serializable { 10 | char apply$mcC$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToCharacter(apply$mcC$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction0$mcD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcD$sp extends scala.Function0, java.io.Serializable { 10 | double apply$mcD$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcD$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction0$mcF$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcF$sp extends scala.Function0, java.io.Serializable { 10 | float apply$mcF$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcF$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction0$mcI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcI$sp extends scala.Function0, java.io.Serializable { 10 | int apply$mcI$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcI$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction0$mcS$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcS$sp extends scala.Function0, java.io.Serializable { 10 | short apply$mcS$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToShort(apply$mcS$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction0$mcZ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcZ$sp extends scala.Function0, java.io.Serializable { 10 | boolean apply$mcZ$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZ$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction0$mcC$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcC$sp extends scala.Function0, java.io.Serializable { 10 | char apply$mcC$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToCharacter(apply$mcC$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction0$mcD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcD$sp extends scala.Function0, java.io.Serializable { 10 | double apply$mcD$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcD$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction0$mcF$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcF$sp extends scala.Function0, java.io.Serializable { 10 | float apply$mcF$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcF$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction0$mcI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcI$sp extends scala.Function0, java.io.Serializable { 10 | int apply$mcI$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcI$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction0$mcS$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcS$sp extends scala.Function0, java.io.Serializable { 10 | short apply$mcS$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToShort(apply$mcS$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction0$mcZ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction0$mcZ$sp extends scala.Function0, java.io.Serializable { 10 | boolean apply$mcZ$sp(); 11 | 12 | default Object apply() { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZ$sp()); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/reflect/scala/reflect/api/TreeCreator.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | package reflect 3 | package api 4 | 5 | /** A mirror-aware factory for trees. 6 | * 7 | * This class is used internally by Scala Reflection, and is not recommended for use in client code. 8 | * 9 | * @group ReflectionAPI 10 | */ 11 | abstract class TreeCreator extends Serializable { 12 | def apply[U <: Universe with Singleton](m: scala.reflect.api.Mirror[U]): U # Tree 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/reflect/scala/reflect/api/TypeCreator.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | package reflect 3 | package api 4 | 5 | /** A mirror-aware factory for types. 6 | * 7 | * This class is used internally by Scala Reflection, and is not recommended for use in client code. 8 | * 9 | * @group ReflectionAPI 10 | */ 11 | abstract class TypeCreator extends Serializable { 12 | def apply[U <: Universe with Singleton](m: scala.reflect.api.Mirror[U]): U # Type 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/reflect/scala/reflect/api/TreeCreator.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | package reflect 3 | package api 4 | 5 | /** A mirror-aware factory for trees. 6 | * 7 | * This class is used internally by Scala Reflection, and is not recommended for use in client code. 8 | * 9 | * @group ReflectionAPI 10 | */ 11 | abstract class TreeCreator extends Serializable { 12 | def apply[U <: Universe with Singleton](m: scala.reflect.api.Mirror[U]): U # Tree 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/reflect/scala/reflect/api/TypeCreator.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | package reflect 3 | package api 4 | 5 | /** A mirror-aware factory for types. 6 | * 7 | * This class is used internally by Scala Reflection, and is not recommended for use in client code. 8 | * 9 | * @group ReflectionAPI 10 | */ 11 | abstract class TypeCreator extends Serializable { 12 | def apply[U <: Universe with Singleton](m: scala.reflect.api.Mirror[U]): U # Type 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/nsc/NewLinePrintWriter.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | 6 | package scala.tools.nsc 7 | import java.io.{Writer, PrintWriter} 8 | 9 | class NewLinePrintWriter(out: Writer, autoFlush: Boolean) 10 | extends PrintWriter(out, autoFlush) { 11 | def this(out: Writer) = this(out, false) 12 | override def println() { print("\n"); flush() } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/nsc/NewLinePrintWriter.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | 6 | package scala.tools.nsc 7 | import java.io.{Writer, PrintWriter} 8 | 9 | class NewLinePrintWriter(out: Writer, autoFlush: Boolean) 10 | extends PrintWriter(out, autoFlush) { 11 | def this(out: Writer) = this(out, false) 12 | override def println() { print("\n"); flush() } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/reflect/scala/reflect/internal/util/ThreeValues.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | package reflect.internal.util 3 | 4 | /** A simple three value type for booleans with an unknown value */ 5 | object ThreeValues { 6 | 7 | type ThreeValue = Byte 8 | 9 | final val YES = 1 10 | final val NO = -1 11 | final val UNKNOWN = 0 12 | 13 | def fromBoolean(b: Boolean): ThreeValue = if (b) YES else NO 14 | def toBoolean(x: ThreeValue): Boolean = x == YES 15 | } 16 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/reflect/scala/reflect/internal/util/ThreeValues.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | package reflect.internal.util 3 | 4 | /** A simple three value type for booleans with an unknown value */ 5 | object ThreeValues { 6 | 7 | type ThreeValue = Byte 8 | 9 | final val YES = 1 10 | final val NO = -1 11 | final val UNKNOWN = 0 12 | 13 | def fromBoolean(b: Boolean): ThreeValue = if (b) YES else NO 14 | def toBoolean(x: ThreeValue): Boolean = x == YES 15 | } 16 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcVI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcVI$sp extends scala.Function1, java.io.Serializable { 10 | void apply$mcVI$sp(int v1); 11 | 12 | default Object apply(Object t) { apply$mcVI$sp(scala.runtime.BoxesRunTime.unboxToInt(t)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcVI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcVI$sp extends scala.Function1, java.io.Serializable { 10 | void apply$mcVI$sp(int v1); 11 | 12 | default Object apply(Object t) { apply$mcVI$sp(scala.runtime.BoxesRunTime.unboxToInt(t)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcVD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcVD$sp extends scala.Function1, java.io.Serializable { 10 | void apply$mcVD$sp(double v1); 11 | 12 | default Object apply(Object t) { apply$mcVD$sp(scala.runtime.BoxesRunTime.unboxToDouble(t)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcVF$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcVF$sp extends scala.Function1, java.io.Serializable { 10 | void apply$mcVF$sp(float v1); 11 | 12 | default Object apply(Object t) { apply$mcVF$sp(scala.runtime.BoxesRunTime.unboxToFloat(t)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcVJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcVJ$sp extends scala.Function1, java.io.Serializable { 10 | void apply$mcVJ$sp(long v1); 11 | 12 | default Object apply(Object t) { apply$mcVJ$sp(scala.runtime.BoxesRunTime.unboxToLong(t)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcVD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcVD$sp extends scala.Function1, java.io.Serializable { 10 | void apply$mcVD$sp(double v1); 11 | 12 | default Object apply(Object t) { apply$mcVD$sp(scala.runtime.BoxesRunTime.unboxToDouble(t)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcVF$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcVF$sp extends scala.Function1, java.io.Serializable { 10 | void apply$mcVF$sp(float v1); 11 | 12 | default Object apply(Object t) { apply$mcVF$sp(scala.runtime.BoxesRunTime.unboxToFloat(t)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcVJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcVJ$sp extends scala.Function1, java.io.Serializable { 10 | void apply$mcVJ$sp(long v1); 11 | 12 | default Object apply(Object t) { apply$mcVJ$sp(scala.runtime.BoxesRunTime.unboxToLong(t)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcFI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcFI$sp extends scala.Function1, java.io.Serializable { 10 | float apply$mcFI$sp(int v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFI$sp(scala.runtime.BoxesRunTime.unboxToInt(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcII$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcII$sp extends scala.Function1, java.io.Serializable { 10 | int apply$mcII$sp(int v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcII$sp(scala.runtime.BoxesRunTime.unboxToInt(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcJI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcJI$sp extends scala.Function1, java.io.Serializable { 10 | long apply$mcJI$sp(int v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJI$sp(scala.runtime.BoxesRunTime.unboxToInt(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcJJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcJJ$sp extends scala.Function1, java.io.Serializable { 10 | long apply$mcJJ$sp(long v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJJ$sp(scala.runtime.BoxesRunTime.unboxToLong(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcFI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcFI$sp extends scala.Function1, java.io.Serializable { 10 | float apply$mcFI$sp(int v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFI$sp(scala.runtime.BoxesRunTime.unboxToInt(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcII$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcII$sp extends scala.Function1, java.io.Serializable { 10 | int apply$mcII$sp(int v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcII$sp(scala.runtime.BoxesRunTime.unboxToInt(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcJI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcJI$sp extends scala.Function1, java.io.Serializable { 10 | long apply$mcJI$sp(int v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJI$sp(scala.runtime.BoxesRunTime.unboxToInt(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcJJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcJJ$sp extends scala.Function1, java.io.Serializable { 10 | long apply$mcJJ$sp(long v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJJ$sp(scala.runtime.BoxesRunTime.unboxToLong(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /infrastructure/src/main/resources/reference.conf: -------------------------------------------------------------------------------- 1 | influx { 2 | url = "https://scala-ci.typesafe.com/influx/" 3 | user = "scala" 4 | # If unset, a fallback will use a matching entry from `~/.netrc` 5 | # 6 | password = ${?INFLUX_PASSWORD} 7 | } 8 | 9 | benchmark.dir = ${user.home}/.compilerBenchmark/ 10 | 11 | git.localdir = ${user.home}/code/scala 12 | 13 | deps.localdir = ${benchmark.dir}/deps 14 | 15 | sourceAssembly.localdir = ${benchmark.dir}/sourceAssembly 16 | 17 | benchmark.outdir = /tmp 18 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcDF$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcDF$sp extends scala.Function1, java.io.Serializable { 10 | double apply$mcDF$sp(float v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDF$sp(scala.runtime.BoxesRunTime.unboxToFloat(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcDI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcDI$sp extends scala.Function1, java.io.Serializable { 10 | double apply$mcDI$sp(int v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDI$sp(scala.runtime.BoxesRunTime.unboxToInt(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcDJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcDJ$sp extends scala.Function1, java.io.Serializable { 10 | double apply$mcDJ$sp(long v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDJ$sp(scala.runtime.BoxesRunTime.unboxToLong(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcFD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcFD$sp extends scala.Function1, java.io.Serializable { 10 | float apply$mcFD$sp(double v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFD$sp(scala.runtime.BoxesRunTime.unboxToDouble(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcFF$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcFF$sp extends scala.Function1, java.io.Serializable { 10 | float apply$mcFF$sp(float v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFF$sp(scala.runtime.BoxesRunTime.unboxToFloat(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcFJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcFJ$sp extends scala.Function1, java.io.Serializable { 10 | float apply$mcFJ$sp(long v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFJ$sp(scala.runtime.BoxesRunTime.unboxToLong(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcID$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcID$sp extends scala.Function1, java.io.Serializable { 10 | int apply$mcID$sp(double v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcID$sp(scala.runtime.BoxesRunTime.unboxToDouble(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcIF$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcIF$sp extends scala.Function1, java.io.Serializable { 10 | int apply$mcIF$sp(float v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIF$sp(scala.runtime.BoxesRunTime.unboxToFloat(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcIJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcIJ$sp extends scala.Function1, java.io.Serializable { 10 | int apply$mcIJ$sp(long v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIJ$sp(scala.runtime.BoxesRunTime.unboxToLong(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcJD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcJD$sp extends scala.Function1, java.io.Serializable { 10 | long apply$mcJD$sp(double v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJD$sp(scala.runtime.BoxesRunTime.unboxToDouble(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcJF$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcJF$sp extends scala.Function1, java.io.Serializable { 10 | long apply$mcJF$sp(float v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJF$sp(scala.runtime.BoxesRunTime.unboxToFloat(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcZI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcZI$sp extends scala.Function1, java.io.Serializable { 10 | boolean apply$mcZI$sp(int v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZI$sp(scala.runtime.BoxesRunTime.unboxToInt(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcZJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcZJ$sp extends scala.Function1, java.io.Serializable { 10 | boolean apply$mcZJ$sp(long v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZJ$sp(scala.runtime.BoxesRunTime.unboxToLong(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcDF$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcDF$sp extends scala.Function1, java.io.Serializable { 10 | double apply$mcDF$sp(float v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDF$sp(scala.runtime.BoxesRunTime.unboxToFloat(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcDI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcDI$sp extends scala.Function1, java.io.Serializable { 10 | double apply$mcDI$sp(int v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDI$sp(scala.runtime.BoxesRunTime.unboxToInt(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcDJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcDJ$sp extends scala.Function1, java.io.Serializable { 10 | double apply$mcDJ$sp(long v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDJ$sp(scala.runtime.BoxesRunTime.unboxToLong(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcFD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcFD$sp extends scala.Function1, java.io.Serializable { 10 | float apply$mcFD$sp(double v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFD$sp(scala.runtime.BoxesRunTime.unboxToDouble(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcFF$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcFF$sp extends scala.Function1, java.io.Serializable { 10 | float apply$mcFF$sp(float v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFF$sp(scala.runtime.BoxesRunTime.unboxToFloat(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcFJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcFJ$sp extends scala.Function1, java.io.Serializable { 10 | float apply$mcFJ$sp(long v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFJ$sp(scala.runtime.BoxesRunTime.unboxToLong(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcID$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcID$sp extends scala.Function1, java.io.Serializable { 10 | int apply$mcID$sp(double v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcID$sp(scala.runtime.BoxesRunTime.unboxToDouble(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcIF$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcIF$sp extends scala.Function1, java.io.Serializable { 10 | int apply$mcIF$sp(float v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIF$sp(scala.runtime.BoxesRunTime.unboxToFloat(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcIJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcIJ$sp extends scala.Function1, java.io.Serializable { 10 | int apply$mcIJ$sp(long v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIJ$sp(scala.runtime.BoxesRunTime.unboxToLong(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcJD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcJD$sp extends scala.Function1, java.io.Serializable { 10 | long apply$mcJD$sp(double v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJD$sp(scala.runtime.BoxesRunTime.unboxToDouble(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcJF$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcJF$sp extends scala.Function1, java.io.Serializable { 10 | long apply$mcJF$sp(float v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJF$sp(scala.runtime.BoxesRunTime.unboxToFloat(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcZI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcZI$sp extends scala.Function1, java.io.Serializable { 10 | boolean apply$mcZI$sp(int v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZI$sp(scala.runtime.BoxesRunTime.unboxToInt(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcZJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcZJ$sp extends scala.Function1, java.io.Serializable { 10 | boolean apply$mcZJ$sp(long v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZJ$sp(scala.runtime.BoxesRunTime.unboxToLong(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcDD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcDD$sp extends scala.Function1, java.io.Serializable { 10 | double apply$mcDD$sp(double v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDD$sp(scala.runtime.BoxesRunTime.unboxToDouble(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcZD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcZD$sp extends scala.Function1, java.io.Serializable { 10 | boolean apply$mcZD$sp(double v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZD$sp(scala.runtime.BoxesRunTime.unboxToDouble(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction1$mcZF$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcZF$sp extends scala.Function1, java.io.Serializable { 10 | boolean apply$mcZF$sp(float v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZF$sp(scala.runtime.BoxesRunTime.unboxToFloat(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcDD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcDD$sp extends scala.Function1, java.io.Serializable { 10 | double apply$mcDD$sp(double v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDD$sp(scala.runtime.BoxesRunTime.unboxToDouble(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcZD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcZD$sp extends scala.Function1, java.io.Serializable { 10 | boolean apply$mcZD$sp(double v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZD$sp(scala.runtime.BoxesRunTime.unboxToDouble(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction1$mcZF$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction1$mcZF$sp extends scala.Function1, java.io.Serializable { 10 | boolean apply$mcZF$sp(float v1); 11 | 12 | default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZF$sp(scala.runtime.BoxesRunTime.unboxToFloat(t))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/reflect/macros/util/Traces.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.macros 2 | package util 3 | 4 | trait Traces { 5 | def globalSettings: scala.tools.nsc.Settings 6 | 7 | val macroDebugLite = globalSettings.YmacrodebugLite.value 8 | val macroDebugVerbose = globalSettings.YmacrodebugVerbose.value 9 | @inline final def macroLogLite(msg: => Any) { if (macroDebugLite || macroDebugVerbose) println(msg) } 10 | @inline final def macroLogVerbose(msg: => Any) { if (macroDebugVerbose) println(msg) } 11 | } 12 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/reflect/macros/util/Traces.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.macros 2 | package util 3 | 4 | trait Traces { 5 | def globalSettings: scala.tools.nsc.Settings 6 | 7 | val macroDebugLite = globalSettings.YmacrodebugLite.value 8 | val macroDebugVerbose = globalSettings.YmacrodebugVerbose.value 9 | @inline final def macroLogLite(msg: => Any) { if (macroDebugLite || macroDebugVerbose) println(msg) } 10 | @inline final def macroLogVerbose(msg: => Any) { if (macroDebugVerbose) println(msg) } 11 | } 12 | -------------------------------------------------------------------------------- /infrastructure/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /corpus/scalap/a8c43dc/scalax/util/StringUtil.scala: -------------------------------------------------------------------------------- 1 | package scala.tools.scalap 2 | package scalax 3 | package util 4 | 5 | import java.beans.Introspector 6 | 7 | /** 8 | * @author ilyas 9 | */ 10 | 11 | object StringUtil { 12 | 13 | def trimStart(s: String, prefix: String) = if (s != null && s.startsWith(prefix)) s.substring(prefix.length) else s 14 | 15 | def decapitalize(s: String) = Introspector.decapitalize(s) 16 | 17 | def cutSubstring(dom: String)(s: String) = if (dom != null && s != null) dom.replace(s, "") else dom 18 | 19 | } 20 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/reflect/reify/utils/StdAttachments.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.reify 2 | package utils 3 | 4 | trait StdAttachments { 5 | self: Utils => 6 | 7 | import global._ 8 | 9 | case class ReifyBindingAttachment(binding: Tree) 10 | 11 | def reifyBinding(tree: Tree): Tree = 12 | tree.attachments.get[ReifyBindingAttachment] match { 13 | case Some(ReifyBindingAttachment(binding)) => binding 14 | case other => Ident(NoSymbol) 15 | } 16 | 17 | case class ReifyAliasAttachment(sym: Symbol, alias: TermName) 18 | } -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/reflect/reify/utils/StdAttachments.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.reify 2 | package utils 3 | 4 | trait StdAttachments { 5 | self: Utils => 6 | 7 | import global._ 8 | 9 | case class ReifyBindingAttachment(binding: Tree) 10 | 11 | def reifyBinding(tree: Tree): Tree = 12 | tree.attachments.get[ReifyBindingAttachment] match { 13 | case Some(ReifyBindingAttachment(binding)) => binding 14 | case other => Ident(NoSymbol) 15 | } 16 | 17 | case class ReifyAliasAttachment(sym: Symbol, alias: TermName) 18 | } -------------------------------------------------------------------------------- /corpus/scalap/a8c43dc/Properties.scala: -------------------------------------------------------------------------------- 1 | /* ___ ____ ___ __ ___ ___ 2 | ** / _// __// _ | / / / _ | / _ \ Scala classfile decoder 3 | ** __\ \/ /__/ __ |/ /__/ __ |/ ___/ (c) 2003-2013, LAMP/EPFL 4 | ** /____/\___/_/ |_/____/_/ |_/_/ http://scala-lang.org/ 5 | ** 6 | */ 7 | 8 | 9 | package scala.tools.scalap 10 | 11 | /** Loads decoder.properties from the jar. */ 12 | object Properties extends scala.util.PropertiesTrait 13 | { 14 | protected def propCategory = "decoder" 15 | protected def pickJarBasedOn = classOf[Classfile] 16 | } 17 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcVII$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVII$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVII$sp(int v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVII$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToInt(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcVIJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVIJ$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVIJ$sp(int v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVIJ$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToLong(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcVJI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVJI$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVJI$sp(long v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVJI$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToInt(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcVII$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVII$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVII$sp(int v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVII$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToInt(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcVIJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVIJ$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVIJ$sp(int v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVIJ$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToLong(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcVJI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVJI$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVJI$sp(long v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVJI$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToInt(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcJII$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJII$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJII$sp(int v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJII$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcVDI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVDI$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVDI$sp(double v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVDI$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToInt(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcVDJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVDJ$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVDJ$sp(double v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVDJ$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToLong(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcVID$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVID$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVID$sp(int v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVID$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcVJD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVJD$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVJD$sp(long v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVJD$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcVJJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVJJ$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVJJ$sp(long v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVJJ$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToLong(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcJII$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJII$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJII$sp(int v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJII$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcVDI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVDI$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVDI$sp(double v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVDI$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToInt(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcVDJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVDJ$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVDJ$sp(double v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVDJ$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToLong(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcVID$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVID$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVID$sp(int v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVID$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcVJD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVJD$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVJD$sp(long v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVJD$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcVJJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVJJ$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVJJ$sp(long v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVJJ$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToLong(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcDII$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDII$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDII$sp(int v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDII$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcFII$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFII$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFII$sp(int v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFII$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcFIJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFIJ$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFIJ$sp(int v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFIJ$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcFJI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFJI$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFJI$sp(long v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFJI$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcIII$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIII$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIII$sp(int v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIII$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcIIJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIIJ$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIIJ$sp(int v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIIJ$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcIJI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIJI$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIJI$sp(long v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIJI$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcJIJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJIJ$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJIJ$sp(int v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJIJ$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcJJI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJJI$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJJI$sp(long v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJJI$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcJJJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJJJ$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJJJ$sp(long v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJJJ$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcVDD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVDD$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVDD$sp(double v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVDD$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcDII$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDII$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDII$sp(int v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDII$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcFII$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFII$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFII$sp(int v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFII$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcFIJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFIJ$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFIJ$sp(int v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFIJ$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcFJI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFJI$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFJI$sp(long v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFJI$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcIII$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIII$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIII$sp(int v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIII$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcIIJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIIJ$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIIJ$sp(int v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIIJ$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcIJI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIJI$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIJI$sp(long v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIJI$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcJIJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJIJ$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJIJ$sp(int v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJIJ$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcJJI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJJI$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJJI$sp(long v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJJI$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcJJJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJJJ$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJJJ$sp(long v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJJJ$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcVDD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcVDD$sp extends scala.Function2, java.io.Serializable { 10 | void apply$mcVDD$sp(double v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { apply$mcVDD$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2)); return scala.runtime.BoxedUnit.UNIT; } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/reflect/macros/contexts/Infrastructure.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.macros 2 | package contexts 3 | 4 | trait Infrastructure { 5 | self: Context => 6 | 7 | def settings: List[String] = { 8 | val us = universe.settings 9 | import us._ 10 | userSetSettings collectFirst { case x: MultiStringSetting if x.name == XmacroSettings.name => x.value } getOrElse Nil 11 | } 12 | 13 | def compilerSettings: List[String] = universe.settings.recreateArgs 14 | 15 | def classPath: List[java.net.URL] = global.classPath.asURLs.toList 16 | } 17 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcDDI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDDI$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDDI$sp(double v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDDI$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcDID$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDID$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDID$sp(int v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDID$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcDIJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDIJ$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDIJ$sp(int v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDIJ$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcDJI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDJI$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDJI$sp(long v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDJI$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcDJJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDJJ$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDJJ$sp(long v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDJJ$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcFDI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFDI$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFDI$sp(double v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFDI$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcFDJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFDJ$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFDJ$sp(double v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFDJ$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcFID$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFID$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFID$sp(int v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFID$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcFJD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFJD$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFJD$sp(long v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFJD$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcFJJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFJJ$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFJJ$sp(long v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFJJ$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcIDI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIDI$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIDI$sp(double v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIDI$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcIDJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIDJ$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIDJ$sp(double v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIDJ$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcIID$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIID$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIID$sp(int v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIID$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcIJD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIJD$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIJD$sp(long v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIJD$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcIJJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIJJ$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIJJ$sp(long v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIJJ$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcJDI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJDI$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJDI$sp(double v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJDI$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcJDJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJDJ$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJDJ$sp(double v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJDJ$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcJID$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJID$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJID$sp(int v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJID$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcJJD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJJD$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJJD$sp(long v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJJD$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcZII$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZII$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZII$sp(int v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZII$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcZIJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZIJ$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZIJ$sp(int v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZIJ$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcZJI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZJI$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZJI$sp(long v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZJI$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcZJJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZJJ$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZJJ$sp(long v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZJJ$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/reflect/scala/reflect/internal/Required.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | package reflect 3 | package internal 4 | 5 | import settings.MutableSettings 6 | 7 | trait Required { self: SymbolTable => 8 | def picklerPhase: Phase 9 | 10 | def erasurePhase: Phase 11 | 12 | def settings: MutableSettings 13 | 14 | @deprecated("Interactive is implemented with a custom Global; this flag is ignored", "2.11.0") def forInteractive = false 15 | @deprecated("Scaladoc is implemented with a custom Global; this flag is ignored", "2.11.0") def forScaladoc = false 16 | } 17 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/reflect/macros/contexts/Infrastructure.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.macros 2 | package contexts 3 | 4 | trait Infrastructure { 5 | self: Context => 6 | 7 | def settings: List[String] = { 8 | val us = universe.settings 9 | import us._ 10 | userSetSettings collectFirst { case x: MultiStringSetting if x.name == XmacroSettings.name => x.value } getOrElse Nil 11 | } 12 | 13 | def compilerSettings: List[String] = universe.settings.recreateArgs 14 | 15 | def classPath: List[java.net.URL] = global.classPath.asURLs.toList 16 | } 17 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcDDI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDDI$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDDI$sp(double v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDDI$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcDID$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDID$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDID$sp(int v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDID$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcDIJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDIJ$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDIJ$sp(int v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDIJ$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcDJI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDJI$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDJI$sp(long v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDJI$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcDJJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDJJ$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDJJ$sp(long v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDJJ$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcFDI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFDI$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFDI$sp(double v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFDI$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcFDJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFDJ$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFDJ$sp(double v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFDJ$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcFID$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFID$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFID$sp(int v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFID$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcFJD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFJD$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFJD$sp(long v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFJD$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcFJJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFJJ$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFJJ$sp(long v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFJJ$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcIDI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIDI$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIDI$sp(double v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIDI$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcIDJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIDJ$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIDJ$sp(double v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIDJ$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcIID$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIID$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIID$sp(int v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIID$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcIJD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIJD$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIJD$sp(long v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIJD$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcIJJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIJJ$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIJJ$sp(long v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIJJ$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcJDI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJDI$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJDI$sp(double v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJDI$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcJDJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJDJ$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJDJ$sp(double v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJDJ$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcJID$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJID$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJID$sp(int v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJID$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcJJD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJJD$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJJD$sp(long v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJJD$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcZII$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZII$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZII$sp(int v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZII$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcZIJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZIJ$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZIJ$sp(int v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZIJ$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcZJI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZJI$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZJI$sp(long v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZJI$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcZJJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZJJ$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZJJ$sp(long v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZJJ$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/reflect/scala/reflect/internal/Required.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | package reflect 3 | package internal 4 | 5 | import settings.MutableSettings 6 | 7 | trait Required { self: SymbolTable => 8 | def picklerPhase: Phase 9 | 10 | def erasurePhase: Phase 11 | 12 | def settings: MutableSettings 13 | 14 | @deprecated("Interactive is implemented with a custom Global; this flag is ignored", "2.11.0") def forInteractive = false 15 | @deprecated("Scaladoc is implemented with a custom Global; this flag is ignored", "2.11.0") def forScaladoc = false 16 | } 17 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/nsc/Settings.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | 6 | package scala.tools.nsc 7 | 8 | import settings.MutableSettings 9 | 10 | /** A compatibility stub. 11 | */ 12 | class Settings(errorFn: String => Unit) extends MutableSettings(errorFn) { 13 | def this() = this(Console.println) 14 | 15 | override def withErrorFn(errorFn: String => Unit): Settings = { 16 | val settings = new Settings(errorFn) 17 | copyInto(settings) 18 | settings 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcDDJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDDJ$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDDJ$sp(double v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDDJ$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcDJD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDJD$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDJD$sp(long v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDJD$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcFDD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFDD$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFDD$sp(double v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFDD$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcIDD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIDD$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIDD$sp(double v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIDD$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcJDD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJDD$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJDD$sp(double v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJDD$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcZDI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZDI$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZDI$sp(double v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZDI$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcZDJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZDJ$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZDJ$sp(double v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZDJ$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcZID$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZID$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZID$sp(int v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZID$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcZJD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZJD$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZJD$sp(long v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZJD$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/nsc/Settings.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | 6 | package scala.tools.nsc 7 | 8 | import settings.MutableSettings 9 | 10 | /** A compatibility stub. 11 | */ 12 | class Settings(errorFn: String => Unit) extends MutableSettings(errorFn) { 13 | def this() = this(Console.println) 14 | 15 | override def withErrorFn(errorFn: String => Unit): Settings = { 16 | val settings = new Settings(errorFn) 17 | copyInto(settings) 18 | settings 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcDDJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDDJ$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDDJ$sp(double v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDDJ$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcDJD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDJD$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDJD$sp(long v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDJD$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcFDD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcFDD$sp extends scala.Function2, java.io.Serializable { 10 | float apply$mcFDD$sp(double v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToFloat(apply$mcFDD$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcIDD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcIDD$sp extends scala.Function2, java.io.Serializable { 10 | int apply$mcIDD$sp(double v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToInteger(apply$mcIDD$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcJDD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcJDD$sp extends scala.Function2, java.io.Serializable { 10 | long apply$mcJDD$sp(double v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToLong(apply$mcJDD$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcZDI$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZDI$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZDI$sp(double v1, int v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZDI$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToInt(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcZDJ$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZDJ$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZDJ$sp(double v1, long v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZDJ$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToLong(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcZID$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZID$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZID$sp(int v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZID$sp(scala.runtime.BoxesRunTime.unboxToInt(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcZJD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZJD$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZJD$sp(long v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZJD$sp(scala.runtime.BoxesRunTime.unboxToLong(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcDDD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDDD$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDDD$sp(double v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDDD$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/java8/JFunction2$mcZDD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZDD$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZDD$sp(double v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZDD$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcDDD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcDDD$sp extends scala.Function2, java.io.Serializable { 10 | double apply$mcDDD$sp(double v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToDouble(apply$mcDDD$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/java8/JFunction2$mcZDD$sp.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Copyright (C) 2012-2015 Typesafe Inc. 4 | */ 5 | 6 | package scala.runtime.java8; 7 | 8 | @FunctionalInterface 9 | public interface JFunction2$mcZDD$sp extends scala.Function2, java.io.Serializable { 10 | boolean apply$mcZDD$sp(double v1, double v2); 11 | 12 | default Object apply(Object v1, Object v2) { return scala.runtime.BoxesRunTime.boxToBoolean(apply$mcZDD$sp(scala.runtime.BoxesRunTime.unboxToDouble(v1), scala.runtime.BoxesRunTime.unboxToDouble(v2))); } 13 | } 14 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: test 2 | on: 3 | push: 4 | branches: 5 | - main 6 | pull_request: 7 | jobs: 8 | test: 9 | strategy: 10 | fail-fast: false 11 | matrix: 12 | java: [8, 21, 25] 13 | runs-on: ubuntu-latest 14 | steps: 15 | - uses: actions/checkout@v5 16 | with: 17 | fetch-depth: 0 18 | - name: Setup JDK 19 | uses: actions/setup-java@v5 20 | with: 21 | distribution: temurin 22 | java-version: ${{matrix.java}} 23 | cache: sbt 24 | - uses: sbt/setup-sbt@v1 25 | - name: Test 26 | run: sbt testAll 27 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/reflect/scala/reflect/runtime/ReflectSetup.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | package reflect 3 | package runtime 4 | 5 | import internal.{SomePhase, NoPhase, Phase} 6 | 7 | /** A helper trait to initialize things that need to be set before JavaMirrors and other 8 | * reflect specific traits are initialized */ 9 | private[runtime] trait ReflectSetup extends internal.SymbolTable { 10 | override val phaseWithId: Array[Phase] = Array(NoPhase, SomePhase) 11 | override val currentRunId = 1 // fake a run id so that it is different from NoRunId 12 | phase = SomePhase // set to a phase different from NoPhase 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/reflect/scala/reflect/runtime/ReflectSetup.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | package reflect 3 | package runtime 4 | 5 | import internal.{SomePhase, NoPhase, Phase} 6 | 7 | /** A helper trait to initialize things that need to be set before JavaMirrors and other 8 | * reflect specific traits are initialized */ 9 | private[runtime] trait ReflectSetup extends internal.SymbolTable { 10 | override val phaseWithId: Array[Phase] = Array(NoPhase, SomePhase) 11 | override val currentRunId = 1 // fake a run id so that it is different from NoRunId 12 | phase = SomePhase // set to a phase different from NoPhase 13 | } 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/nsc/ast/parser/BracePatch.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | package scala.tools.nsc 6 | package ast.parser 7 | 8 | /** A patch that postulates that a brace needs to be inserted or deleted at a given position. 9 | * @param off The offset where the brace needs to be inserted or deleted 10 | * @param inserted If true, brace needs to be inserted, otherwise brace needs to be deleted. 11 | */ 12 | case class BracePatch(off: Int, inserted: Boolean) 13 | extends Patch(off, if (inserted) Insertion("{") else Deletion(1)) -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/nsc/util/Exceptional.scala: -------------------------------------------------------------------------------- 1 | package scala.tools.nsc 2 | package util 3 | 4 | import java.util.concurrent.ExecutionException 5 | import java.lang.reflect.{ InvocationTargetException, UndeclaredThrowableException } 6 | 7 | object Exceptional { 8 | def unwrap(x: Throwable): Throwable = x match { 9 | case _: InvocationTargetException | 10 | _: ExceptionInInitializerError | 11 | _: UndeclaredThrowableException | 12 | _: ExecutionException 13 | if x.getCause != null => 14 | unwrap(x.getCause) 15 | 16 | case _ => x 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/reflect/scala/reflect/internal/transform/PostErasure.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect 2 | package internal 3 | package transform 4 | 5 | trait PostErasure { 6 | val global: SymbolTable 7 | import global._ 8 | 9 | object elimErasedValueType extends TypeMap { 10 | def apply(tp: Type) = tp match { 11 | case ConstantType(Constant(tp: Type)) => ConstantType(Constant(apply(tp))) 12 | case ErasedValueType(_, underlying) => underlying 13 | case _ => mapOver(tp) 14 | } 15 | } 16 | 17 | def transformInfo(sym: Symbol, tp: Type) = elimErasedValueType(tp) 18 | } 19 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/nsc/ast/parser/BracePatch.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | package scala.tools.nsc 6 | package ast.parser 7 | 8 | /** A patch that postulates that a brace needs to be inserted or deleted at a given position. 9 | * @param off The offset where the brace needs to be inserted or deleted 10 | * @param inserted If true, brace needs to be inserted, otherwise brace needs to be deleted. 11 | */ 12 | case class BracePatch(off: Int, inserted: Boolean) 13 | extends Patch(off, if (inserted) Insertion("{") else Deletion(1)) -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/nsc/util/Exceptional.scala: -------------------------------------------------------------------------------- 1 | package scala.tools.nsc 2 | package util 3 | 4 | import java.util.concurrent.ExecutionException 5 | import java.lang.reflect.{ InvocationTargetException, UndeclaredThrowableException } 6 | 7 | object Exceptional { 8 | def unwrap(x: Throwable): Throwable = x match { 9 | case _: InvocationTargetException | 10 | _: ExceptionInInitializerError | 11 | _: UndeclaredThrowableException | 12 | _: ExecutionException 13 | if x.getCause != null => 14 | unwrap(x.getCause) 15 | 16 | case _ => x 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/reflect/scala/reflect/internal/transform/PostErasure.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect 2 | package internal 3 | package transform 4 | 5 | trait PostErasure { 6 | val global: SymbolTable 7 | import global._ 8 | 9 | object elimErasedValueType extends TypeMap { 10 | def apply(tp: Type) = tp match { 11 | case ConstantType(Constant(tp: Type)) => ConstantType(Constant(apply(tp))) 12 | case ErasedValueType(_, underlying) => underlying 13 | case _ => mapOver(tp) 14 | } 15 | } 16 | 17 | def transformInfo(sym: Symbol, tp: Type) = elimErasedValueType(tp) 18 | } 19 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/reflect/scala/reflect/internal/util/Set.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | package scala 6 | package reflect.internal.util 7 | 8 | /** A common class for lightweight sets. 9 | */ 10 | abstract class Set[T <: AnyRef] { 11 | 12 | def findEntry(x: T): T 13 | 14 | def addEntry(x: T): Unit 15 | 16 | def iterator: Iterator[T] 17 | 18 | def foreach[U](f: T => U): Unit = iterator foreach f 19 | 20 | def apply(x: T): Boolean = contains(x) 21 | 22 | def contains(x: T): Boolean = 23 | findEntry(x) ne null 24 | 25 | def toList = iterator.toList 26 | } 27 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/reflect/scala/reflect/internal/util/Set.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | package scala 6 | package reflect.internal.util 7 | 8 | /** A common class for lightweight sets. 9 | */ 10 | abstract class Set[T <: AnyRef] { 11 | 12 | def findEntry(x: T): T 13 | 14 | def addEntry(x: T): Unit 15 | 16 | def iterator: Iterator[T] 17 | 18 | def foreach[U](f: T => U): Unit = iterator foreach f 19 | 20 | def apply(x: T): Boolean = contains(x) 21 | 22 | def contains(x: T): Boolean = 23 | findEntry(x) ne null 24 | 25 | def toList = iterator.toList 26 | } 27 | -------------------------------------------------------------------------------- /corpus/map-seq-inference/latest/test.scala: -------------------------------------------------------------------------------- 1 | class Test { 2 | trait C; trait C1 extends C; trait C1A extends C1; trait C1B extends C1; trait C2 extends C; trait C2A extends C2; trait C2B extends C2; trait C12A extends C1A with C2A; class C12B extends C1B with C2B 3 | class D 4 | val x: Map[AnyRef, Seq[Class[_ <: C]]] = { 5 | Map( 6 | "" -> Seq(classOf[C1], classOf[C1A]), 7 | "" -> Seq(classOf[C1], classOf[C1A], classOf[C12B]), 8 | "" -> Seq(classOf[C1], classOf[C1A]), 9 | "" -> Seq(classOf[C1], classOf[C2A]), 10 | "" -> Seq(classOf[C2], classOf[C1]), 11 | "" -> Seq(classOf[C12A]), 12 | "" -> Seq(classOf[C2], classOf[C1], classOf[C12B]) 13 | ) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/collection/concurrent/Gen.java: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala.collection.concurrent; 10 | 11 | final class Gen {} 12 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/collection/concurrent/Gen.java: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala.collection.concurrent; 10 | 11 | final class Gen {} 12 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/nsc/ConsoleWriter.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2006-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | 6 | package scala.tools.nsc 7 | 8 | import java.io.Writer 9 | 10 | /** A Writer that writes onto the Scala Console. 11 | * 12 | * @author Lex Spoon 13 | * @version 1.0 14 | */ 15 | class ConsoleWriter extends Writer { 16 | def close() = flush() 17 | 18 | def flush() = Console.flush() 19 | 20 | def write(cbuf: Array[Char], off: Int, len: Int) { 21 | if (len > 0) 22 | write(new String(cbuf.slice(off, off+len))) 23 | } 24 | 25 | override def write(str: String) { Console.print(str) } 26 | } 27 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/nsc/EvalLoop.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | 6 | package scala.tools.nsc 7 | 8 | import scala.annotation.tailrec 9 | import scala.io.StdIn 10 | import java.io.EOFException 11 | 12 | trait EvalLoop { 13 | def prompt: String 14 | 15 | def loop(action: (String) => Unit) { 16 | @tailrec def inner() { 17 | Console.print(prompt) 18 | val line = try StdIn.readLine() catch { case _: EOFException => null } 19 | if (line != null && line != "") { 20 | action(line) 21 | inner() 22 | } 23 | } 24 | inner() 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/reflect/scala/reflect/internal/annotations/uncheckedBounds.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect 2 | package internal 3 | package annotations 4 | 5 | /** 6 | * An annotation that designates the annotated type should not be checked for violations of 7 | * type parameter bounds in the `refchecks` phase of the compiler. This can be used by synthesized 8 | * code the uses an inferred type of an expression as the type of an artifact val/def (for example, 9 | * a temporary value introduced by an ANF transform). See [[https://issues.scala-lang.org/browse/SI-7694]]. 10 | * 11 | * @since 2.10.3 12 | */ 13 | final class uncheckedBounds extends scala.annotation.StaticAnnotation 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/nsc/ConsoleWriter.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2006-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | 6 | package scala.tools.nsc 7 | 8 | import java.io.Writer 9 | 10 | /** A Writer that writes onto the Scala Console. 11 | * 12 | * @author Lex Spoon 13 | * @version 1.0 14 | */ 15 | class ConsoleWriter extends Writer { 16 | def close() = flush() 17 | 18 | def flush() = Console.flush() 19 | 20 | def write(cbuf: Array[Char], off: Int, len: Int) { 21 | if (len > 0) 22 | write(new String(cbuf.slice(off, off+len))) 23 | } 24 | 25 | override def write(str: String) { Console.print(str) } 26 | } 27 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/nsc/EvalLoop.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | 6 | package scala.tools.nsc 7 | 8 | import scala.annotation.tailrec 9 | import scala.io.StdIn 10 | import java.io.EOFException 11 | 12 | trait EvalLoop { 13 | def prompt: String 14 | 15 | def loop(action: (String) => Unit) { 16 | @tailrec def inner() { 17 | Console.print(prompt) 18 | val line = try StdIn.readLine() catch { case _: EOFException => null } 19 | if (line != null && line != "") { 20 | action(line) 21 | inner() 22 | } 23 | } 24 | inner() 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/reflect/scala/reflect/internal/annotations/uncheckedBounds.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect 2 | package internal 3 | package annotations 4 | 5 | /** 6 | * An annotation that designates the annotated type should not be checked for violations of 7 | * type parameter bounds in the `refchecks` phase of the compiler. This can be used by synthesized 8 | * code the uses an inferred type of an expression as the type of an artifact val/def (for example, 9 | * a temporary value introduced by an ANF transform). See [[https://issues.scala-lang.org/browse/SI-7694]]. 10 | * 11 | * @since 2.10.3 12 | */ 13 | final class uncheckedBounds extends scala.annotation.StaticAnnotation 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/reflect/ReflectMain.scala: -------------------------------------------------------------------------------- 1 | package scala.tools 2 | package reflect 3 | 4 | import scala.reflect.internal.util.ScalaClassLoader 5 | import scala.tools.nsc.Driver 6 | import scala.tools.nsc.Global 7 | import scala.tools.nsc.Settings 8 | import scala.tools.util.PathResolver 9 | 10 | object ReflectMain extends Driver { 11 | 12 | private def classloaderFromSettings(settings: Settings) = { 13 | val classPathURLs = new PathResolver(settings).resultAsURLs 14 | ScalaClassLoader.fromURLs(classPathURLs, getClass.getClassLoader) 15 | } 16 | 17 | override def newCompiler(): Global = new ReflectGlobal(settings, reporter, classloaderFromSettings(settings)) 18 | } 19 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/reflect/ReflectMain.scala: -------------------------------------------------------------------------------- 1 | package scala.tools 2 | package reflect 3 | 4 | import scala.reflect.internal.util.ScalaClassLoader 5 | import scala.tools.nsc.Driver 6 | import scala.tools.nsc.Global 7 | import scala.tools.nsc.Settings 8 | import scala.tools.util.PathResolver 9 | 10 | object ReflectMain extends Driver { 11 | 12 | private def classloaderFromSettings(settings: Settings) = { 13 | val classPathURLs = new PathResolver(settings).resultAsURLs 14 | ScalaClassLoader.fromURLs(classPathURLs, getClass.getClassLoader) 15 | } 16 | 17 | override def newCompiler(): Global = new ReflectGlobal(settings, reporter, classloaderFromSettings(settings)) 18 | } 19 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/nsc/util/SimpleTracer.scala: -------------------------------------------------------------------------------- 1 | package scala.tools.nsc 2 | package util 3 | 4 | // todo: We should unify this with Tracer. I'd do it but Tracer is 5 | // too complicated for me to understand quickly. 6 | import java.io.PrintStream 7 | 8 | /** A simple tracer 9 | * @param out: The print stream where trace info should be sent 10 | * @param enabled: A condition that must be true for trace info to be produced. 11 | */ 12 | class SimpleTracer(out: PrintStream, enabled: Boolean = true) { 13 | def apply[T](msg: => String)(value: T): T = { 14 | if (enabled) out.println(msg+value) 15 | value 16 | } 17 | def when(enabled: Boolean): SimpleTracer = new SimpleTracer(out, enabled) 18 | } 19 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/volatile.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | 11 | import scala.annotation.meta._ 12 | 13 | @field 14 | class volatile extends scala.annotation.StaticAnnotation 15 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/nsc/util/SimpleTracer.scala: -------------------------------------------------------------------------------- 1 | package scala.tools.nsc 2 | package util 3 | 4 | // todo: We should unify this with Tracer. I'd do it but Tracer is 5 | // too complicated for me to understand quickly. 6 | import java.io.PrintStream 7 | 8 | /** A simple tracer 9 | * @param out: The print stream where trace info should be sent 10 | * @param enabled: A condition that must be true for trace info to be produced. 11 | */ 12 | class SimpleTracer(out: PrintStream, enabled: Boolean = true) { 13 | def apply[T](msg: => String)(value: T): T = { 14 | if (enabled) out.println(msg+value) 15 | value 16 | } 17 | def when(enabled: Boolean): SimpleTracer = new SimpleTracer(out, enabled) 18 | } 19 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/volatile.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | 11 | import scala.annotation.meta._ 12 | 13 | @field 14 | class volatile extends scala.annotation.StaticAnnotation 15 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/transient.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | 11 | import scala.annotation.meta._ 12 | 13 | @field 14 | class transient extends scala.annotation.StaticAnnotation 15 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/transient.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | 11 | import scala.annotation.meta._ 12 | 13 | @field 14 | class transient extends scala.annotation.StaticAnnotation 15 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/reflect/scala/reflect/internal/settings/AbsSettings.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Paul Phillips 4 | */ 5 | 6 | package scala 7 | package reflect.internal 8 | package settings 9 | 10 | /** A Settings abstraction boiled out of the original highly mutable Settings 11 | * class with the intention of creating an ImmutableSettings which can be used 12 | * interchangeably. Except of course without the mutants. 13 | */ 14 | 15 | trait AbsSettings { 16 | type Setting <: AbsSettingValue // Fix to the concrete Setting type 17 | 18 | trait AbsSettingValue { 19 | type T <: Any 20 | def value: T 21 | def isDefault: Boolean 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/reflect/scala/reflect/internal/settings/AbsSettings.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Paul Phillips 4 | */ 5 | 6 | package scala 7 | package reflect.internal 8 | package settings 9 | 10 | /** A Settings abstraction boiled out of the original highly mutable Settings 11 | * class with the intention of creating an ImmutableSettings which can be used 12 | * interchangeably. Except of course without the mutants. 13 | */ 14 | 15 | trait AbsSettings { 16 | type Setting <: AbsSettingValue // Fix to the concrete Setting type 17 | 18 | trait AbsSettingValue { 19 | type T <: Any 20 | def value: T 21 | def isDefault: Boolean 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/reflect/reify/utils/Utils.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.reify 2 | package utils 3 | 4 | import scala.tools.nsc.Global 5 | 6 | trait Utils extends NodePrinters 7 | with Extractors 8 | with SymbolTables 9 | with StdAttachments { 10 | 11 | val global: Global 12 | val typer: global.analyzer.Typer 13 | 14 | lazy val reifier: Reifier { val global: Utils.this.global.type } = getReifier 15 | def getReifier: Reifier { val global: Utils.this.global.type } = ??? 16 | def hasReifier = false 17 | 18 | val reifyDebug = global.settings.Yreifydebug.value 19 | val reifyCopypaste = global.settings.Yreifycopypaste.value 20 | val reifyTrace = scala.tools.nsc.util.trace when reifyDebug 21 | } -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/SerialVersionUID.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | */ 8 | 9 | package scala 10 | 11 | /** 12 | * Annotation for specifying the `static SerialVersionUID` field 13 | * of a serializable class. 14 | */ 15 | class SerialVersionUID(value: Long) extends scala.annotation.ClassfileAnnotation 16 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/reflect/reify/utils/Utils.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.reify 2 | package utils 3 | 4 | import scala.tools.nsc.Global 5 | 6 | trait Utils extends NodePrinters 7 | with Extractors 8 | with SymbolTables 9 | with StdAttachments { 10 | 11 | val global: Global 12 | val typer: global.analyzer.Typer 13 | 14 | lazy val reifier: Reifier { val global: Utils.this.global.type } = getReifier 15 | def getReifier: Reifier { val global: Utils.this.global.type } = ??? 16 | def hasReifier = false 17 | 18 | val reifyDebug = global.settings.Yreifydebug.value 19 | val reifyCopypaste = global.settings.Yreifycopypaste.value 20 | val reifyTrace = scala.tools.nsc.util.trace when reifyDebug 21 | } -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/SerialVersionUID.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | */ 8 | 9 | package scala 10 | 11 | /** 12 | * Annotation for specifying the `static SerialVersionUID` field 13 | * of a serializable class. 14 | */ 15 | class SerialVersionUID(value: Long) extends scala.annotation.ClassfileAnnotation 16 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/reflect/reify/codegen/GenPositions.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.reify 2 | package codegen 3 | 4 | trait GenPositions { 5 | self: Reifier => 6 | 7 | import global._ 8 | 9 | // we do not reify positions because this inflates resulting trees, but doesn't buy as anything 10 | // where would one use positions? right, in error messages 11 | // but I can hardly imagine when one would need a position that points to the reified code 12 | // usually reified trees are used to compose macro expansions or to be fed to the runtime compiler 13 | // however both macros and toolboxes have their own means to report errors in synthetic trees 14 | def reifyPosition(pos: Position): Tree = 15 | reifyMirrorObject(NoPosition) 16 | } 17 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/Cloneable.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | 11 | /** 12 | * Classes extending this trait are cloneable across platforms (Java, .NET). 13 | */ 14 | trait Cloneable extends java.lang.Cloneable 15 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/collection/concurrent/BasicNode.java: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala.collection.concurrent; 10 | 11 | public abstract class BasicNode { 12 | 13 | public abstract String string(int lev); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/reflect/reify/codegen/GenPositions.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.reify 2 | package codegen 3 | 4 | trait GenPositions { 5 | self: Reifier => 6 | 7 | import global._ 8 | 9 | // we do not reify positions because this inflates resulting trees, but doesn't buy as anything 10 | // where would one use positions? right, in error messages 11 | // but I can hardly imagine when one would need a position that points to the reified code 12 | // usually reified trees are used to compose macro expansions or to be fed to the runtime compiler 13 | // however both macros and toolboxes have their own means to report errors in synthetic trees 14 | def reifyPosition(pos: Position): Tree = 15 | reifyMirrorObject(NoPosition) 16 | } 17 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/Cloneable.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | 11 | /** 12 | * Classes extending this trait are cloneable across platforms (Java, .NET). 13 | */ 14 | trait Cloneable extends java.lang.Cloneable 15 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/collection/concurrent/BasicNode.java: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala.collection.concurrent; 10 | 11 | public abstract class BasicNode { 12 | 13 | public abstract String string(int lev); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/Mutable.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | 10 | 11 | package scala 12 | 13 | /** 14 | * A marker trait for mutable data structures such as mutable collections 15 | * 16 | * @since 2.8 17 | */ 18 | trait Mutable 19 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/Mutable.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | 10 | 11 | package scala 12 | 13 | /** 14 | * A marker trait for mutable data structures such as mutable collections 15 | * 16 | * @since 2.8 17 | */ 18 | trait Mutable 19 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/collection/generic/Sizing.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2010-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | package collection 11 | package generic 12 | 13 | /** A trait for objects which have a size. 14 | */ 15 | trait Sizing { 16 | def size: Int 17 | } 18 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/collection/generic/Sizing.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2010-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | package collection 11 | package generic 12 | 13 | /** A trait for objects which have a size. 14 | */ 15 | trait Sizing { 16 | def size: Int 17 | } 18 | -------------------------------------------------------------------------------- /corpus/scalap/a8c43dc/scalax/rules/scalasig/SourceFileAttributeParser.scala: -------------------------------------------------------------------------------- 1 | package scala.tools.scalap 2 | package scalax 3 | package rules 4 | package scalasig 5 | 6 | /** 7 | * @author ilyas 8 | */ 9 | 10 | object SourceFileAttributeParser extends ByteCodeReader { 11 | val sourceFile = u2 ^^ SourceFileInfo 12 | 13 | def parse(byteCode: ByteCode) = expect(sourceFile)(byteCode) 14 | } 15 | 16 | /** 17 | * 18 | * SourceFile_attribute { 19 | u2 attribute_name_index; 20 | u4 attribute_length; 21 | u2 sourcefile_index; 22 | } 23 | * 24 | * Contains only file index in ConstantPool, first two fields are already treated 25 | * by {@link scalax.rules.scalasig.ClassFile.attribute#attribute} 26 | */ 27 | case class SourceFileInfo(sourceFileIndex: Int) 28 | 29 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/Immutable.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | 10 | 11 | package scala 12 | 13 | /** A marker trait for all immutable data structures such as immutable 14 | * collections. 15 | * 16 | * @since 2.8 17 | */ 18 | trait Immutable 19 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/Serializable.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | 11 | /** 12 | * Classes extending this trait are serializable across platforms (Java, .NET). 13 | */ 14 | trait Serializable extends Any with java.io.Serializable 15 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/Immutable.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | 10 | 11 | package scala 12 | 13 | /** A marker trait for all immutable data structures such as immutable 14 | * collections. 15 | * 16 | * @since 2.8 17 | */ 18 | trait Immutable 19 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/Serializable.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | 11 | /** 12 | * Classes extending this trait are serializable across platforms (Java, .NET). 13 | */ 14 | trait Serializable extends Any with java.io.Serializable 15 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/annotation/meta/field.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | package scala.annotation.meta 9 | 10 | /** 11 | * Consult the documentation in package [[scala.annotation.meta]]. 12 | */ 13 | final class field extends scala.annotation.StaticAnnotation 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/annotation/meta/getter.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | package scala.annotation.meta 9 | 10 | /** 11 | * Consult the documentation in package [[scala.annotation.meta]]. 12 | */ 13 | final class getter extends scala.annotation.StaticAnnotation 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/annotation/meta/param.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | package scala.annotation.meta 9 | 10 | /** 11 | * Consult the documentation in package [[scala.annotation.meta]]. 12 | */ 13 | final class param extends scala.annotation.StaticAnnotation 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/annotation/meta/setter.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | package scala.annotation.meta 9 | 10 | /** 11 | * Consult the documentation in package [[scala.annotation.meta]]. 12 | */ 13 | final class setter extends scala.annotation.StaticAnnotation 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/annotation/meta/field.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | package scala.annotation.meta 9 | 10 | /** 11 | * Consult the documentation in package [[scala.annotation.meta]]. 12 | */ 13 | final class field extends scala.annotation.StaticAnnotation 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/annotation/meta/getter.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | package scala.annotation.meta 9 | 10 | /** 11 | * Consult the documentation in package [[scala.annotation.meta]]. 12 | */ 13 | final class getter extends scala.annotation.StaticAnnotation 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/annotation/meta/param.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | package scala.annotation.meta 9 | 10 | /** 11 | * Consult the documentation in package [[scala.annotation.meta]]. 12 | */ 13 | final class param extends scala.annotation.StaticAnnotation 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/annotation/meta/setter.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | package scala.annotation.meta 9 | 10 | /** 11 | * Consult the documentation in package [[scala.annotation.meta]]. 12 | */ 13 | final class setter extends scala.annotation.StaticAnnotation 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/tools/nsc/ast/parser/BracePair.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | package scala.tools.nsc 6 | package ast.parser 7 | 8 | /** A descriptor for a matching pair of braces. 9 | * @param loff The offset of the opening brace (-1 means missing) 10 | * @param lindent The indentation depth of the line of the opening brace (-1 means missing) 11 | * @param roff The offset of the closing brace (-1 means missing) 12 | * @param rindent The indentation depth of the line of the closing brace (-1 means missing) 13 | * @param nested The brace pairs nested in this one 14 | */ 15 | case class BracePair(loff: Int, lindent: Int, roff: Int, rindent: Int, nested: List[BracePair]) 16 | 17 | 18 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/tools/nsc/ast/parser/BracePair.scala: -------------------------------------------------------------------------------- 1 | /* NSC -- new Scala compiler 2 | * Copyright 2005-2013 LAMP/EPFL 3 | * @author Martin Odersky 4 | */ 5 | package scala.tools.nsc 6 | package ast.parser 7 | 8 | /** A descriptor for a matching pair of braces. 9 | * @param loff The offset of the opening brace (-1 means missing) 10 | * @param lindent The indentation depth of the line of the opening brace (-1 means missing) 11 | * @param roff The offset of the closing brace (-1 means missing) 12 | * @param rindent The indentation depth of the line of the closing brace (-1 means missing) 13 | * @param nested The brace pairs nested in this one 14 | */ 15 | case class BracePair(loff: Int, lindent: Int, roff: Int, rindent: Int, nested: List[BracePair]) 16 | 17 | 18 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/annotation/meta/beanGetter.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | package scala.annotation.meta 9 | 10 | /** 11 | * Consult the documentation in package [[scala.annotation.meta]]. 12 | */ 13 | final class beanGetter extends scala.annotation.StaticAnnotation 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/annotation/meta/beanSetter.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | package scala.annotation.meta 9 | 10 | /** 11 | * Consult the documentation in package [[scala.annotation.meta]]. 12 | */ 13 | final class beanSetter extends scala.annotation.StaticAnnotation 14 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/RichBoolean.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | package runtime 11 | 12 | 13 | final class RichBoolean(val self: Boolean) extends AnyVal with OrderedProxy[Boolean] { 14 | protected def ord = scala.math.Ordering.Boolean 15 | } 16 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/annotation/meta/beanGetter.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | package scala.annotation.meta 9 | 10 | /** 11 | * Consult the documentation in package [[scala.annotation.meta]]. 12 | */ 13 | final class beanGetter extends scala.annotation.StaticAnnotation 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/annotation/meta/beanSetter.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | package scala.annotation.meta 9 | 10 | /** 11 | * Consult the documentation in package [[scala.annotation.meta]]. 12 | */ 13 | final class beanSetter extends scala.annotation.StaticAnnotation 14 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/RichBoolean.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | package runtime 11 | 12 | 13 | final class RichBoolean(val self: Boolean) extends AnyVal with OrderedProxy[Boolean] { 14 | protected def ord = scala.math.Ordering.Boolean 15 | } 16 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/NotNull.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | 11 | /** 12 | * A marker trait for things that are not allowed to be null 13 | * @since 2.5 14 | */ 15 | 16 | @deprecated("this trait will be removed", "2.11.0") 17 | trait NotNull extends Any {} 18 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/collection/mutable/HashEntry.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://www.scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | package scala 9 | package collection 10 | package mutable 11 | 12 | /** Class used internally. 13 | * @since 2.8 14 | */ 15 | trait HashEntry [A, E] { 16 | val key: A 17 | var next: E = _ 18 | } 19 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/AbstractFunction3.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | // GENERATED CODE: DO NOT EDIT. See scala.Function0 for timestamp. 9 | 10 | package scala.runtime 11 | 12 | abstract class AbstractFunction3[-T1, -T2, -T3, +R] extends Function3[T1, T2, T3, R] { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/NotNull.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | 11 | /** 12 | * A marker trait for things that are not allowed to be null 13 | * @since 2.5 14 | */ 15 | 16 | @deprecated("this trait will be removed", "2.11.0") 17 | trait NotNull extends Any {} 18 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/collection/mutable/HashEntry.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://www.scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | package scala 9 | package collection 10 | package mutable 11 | 12 | /** Class used internally. 13 | * @since 2.8 14 | */ 15 | trait HashEntry [A, E] { 16 | val key: A 17 | var next: E = _ 18 | } 19 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/AbstractFunction3.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | // GENERATED CODE: DO NOT EDIT. See scala.Function0 for timestamp. 9 | 10 | package scala.runtime 11 | 12 | abstract class AbstractFunction3[-T1, -T2, -T3, +R] extends Function3[T1, T2, T3, R] { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/collection/Parallel.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | package collection 11 | 12 | /** A marker trait for collections which have their operations parallelised. 13 | * 14 | * @since 2.9 15 | * @author Aleksandar Prokopec 16 | */ 17 | trait Parallel 18 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/collection/generic/GenericSeqCompanion.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2006-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | package collection 11 | package generic 12 | 13 | import scala.language.higherKinds 14 | 15 | trait GenericSeqCompanion[CC[X] <: Traversable[X]] 16 | extends GenericCompanion[CC] 17 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/AbstractFunction4.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | // GENERATED CODE: DO NOT EDIT. See scala.Function0 for timestamp. 9 | 10 | package scala.runtime 11 | 12 | abstract class AbstractFunction4[-T1, -T2, -T3, -T4, +R] extends Function4[T1, T2, T3, T4, R] { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/collection/Parallel.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | package collection 11 | 12 | /** A marker trait for collections which have their operations parallelised. 13 | * 14 | * @since 2.9 15 | * @author Aleksandar Prokopec 16 | */ 17 | trait Parallel 18 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/collection/generic/GenericSeqCompanion.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2006-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | 9 | package scala 10 | package collection 11 | package generic 12 | 13 | import scala.language.higherKinds 14 | 15 | trait GenericSeqCompanion[CC[X] <: Traversable[X]] 16 | extends GenericCompanion[CC] 17 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/AbstractFunction4.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | // GENERATED CODE: DO NOT EDIT. See scala.Function0 for timestamp. 9 | 10 | package scala.runtime 11 | 12 | abstract class AbstractFunction4[-T1, -T2, -T3, -T4, +R] extends Function4[T1, T2, T3, T4, R] { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/compiler/scala/reflect/macros/contexts/Parsers.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.macros 2 | package contexts 3 | 4 | import scala.tools.nsc.reporters.StoreReporter 5 | 6 | trait Parsers { 7 | self: Context => 8 | import global._ 9 | 10 | def parse(code: String) = { 11 | val sreporter = new StoreReporter() 12 | val oldReporter = global.reporter 13 | try { 14 | global.reporter = sreporter 15 | val parser = newUnitParser(new CompilationUnit(newSourceFile(code, ""))) 16 | val tree = gen.mkTreeOrBlock(parser.parseStatsOrPackages()) 17 | sreporter.infos.foreach { 18 | case sreporter.Info(pos, msg, sreporter.ERROR) => throw ParseException(pos, msg) 19 | case _ => 20 | } 21 | tree 22 | } finally global.reporter = oldReporter 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/AbstractFunction0.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | // GENERATED CODE: DO NOT EDIT. See scala.Function0 for timestamp. 9 | 10 | package scala.runtime 11 | 12 | abstract class AbstractFunction0[@specialized(Specializable.Primitives) +R] extends Function0[R] { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/compiler/scala/reflect/macros/contexts/Parsers.scala: -------------------------------------------------------------------------------- 1 | package scala.reflect.macros 2 | package contexts 3 | 4 | import scala.tools.nsc.reporters.StoreReporter 5 | 6 | trait Parsers { 7 | self: Context => 8 | import global._ 9 | 10 | def parse(code: String) = { 11 | val sreporter = new StoreReporter() 12 | val oldReporter = global.reporter 13 | try { 14 | global.reporter = sreporter 15 | val parser = newUnitParser(new CompilationUnit(newSourceFile(code, ""))) 16 | val tree = gen.mkTreeOrBlock(parser.parseStatsOrPackages()) 17 | sreporter.infos.foreach { 18 | case sreporter.Info(pos, msg, sreporter.ERROR) => throw ParseException(pos, msg) 19 | case _ => 20 | } 21 | tree 22 | } finally global.reporter = oldReporter 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/AbstractFunction0.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | // GENERATED CODE: DO NOT EDIT. See scala.Function0 for timestamp. 9 | 10 | package scala.runtime 11 | 12 | abstract class AbstractFunction0[@specialized(Specializable.Primitives) +R] extends Function0[R] { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/collection/SeqExtractors.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | package collection 3 | 4 | /** An extractor used to head/tail deconstruct sequences. */ 5 | object +: { 6 | def unapply[T,Coll <: SeqLike[T, Coll]]( 7 | t: Coll with SeqLike[T, Coll]): Option[(T, Coll)] = 8 | if(t.isEmpty) None 9 | else Some(t.head -> t.tail) 10 | } 11 | 12 | /** An extractor used to init/last deconstruct sequences. */ 13 | object :+ { 14 | /** Splits a sequence into init :+ tail. 15 | * @return Some((init, tail)) if sequence is non-empty. None otherwise. 16 | */ 17 | def unapply[T,Coll <: SeqLike[T, Coll]]( 18 | t: Coll with SeqLike[T, Coll]): Option[(Coll, T)] = 19 | if(t.isEmpty) None 20 | else Some(t.init -> t.last) 21 | } 22 | 23 | // Dummy to fool ant 24 | private abstract class SeqExtractors -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/AbstractFunction5.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | // GENERATED CODE: DO NOT EDIT. See scala.Function0 for timestamp. 9 | 10 | package scala.runtime 11 | 12 | abstract class AbstractFunction5[-T1, -T2, -T3, -T4, -T5, +R] extends Function5[T1, T2, T3, T4, T5, R] { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/collection/SeqExtractors.scala: -------------------------------------------------------------------------------- 1 | package scala 2 | package collection 3 | 4 | /** An extractor used to head/tail deconstruct sequences. */ 5 | object +: { 6 | def unapply[T,Coll <: SeqLike[T, Coll]]( 7 | t: Coll with SeqLike[T, Coll]): Option[(T, Coll)] = 8 | if(t.isEmpty) None 9 | else Some(t.head -> t.tail) 10 | } 11 | 12 | /** An extractor used to init/last deconstruct sequences. */ 13 | object :+ { 14 | /** Splits a sequence into init :+ tail. 15 | * @return Some((init, tail)) if sequence is non-empty. None otherwise. 16 | */ 17 | def unapply[T,Coll <: SeqLike[T, Coll]]( 18 | t: Coll with SeqLike[T, Coll]): Option[(Coll, T)] = 19 | if(t.isEmpty) None 20 | else Some(t.init -> t.last) 21 | } 22 | 23 | // Dummy to fool ant 24 | private abstract class SeqExtractors -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/AbstractFunction5.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | // GENERATED CODE: DO NOT EDIT. See scala.Function0 for timestamp. 9 | 10 | package scala.runtime 11 | 12 | abstract class AbstractFunction5[-T1, -T2, -T3, -T4, -T5, +R] extends Function5[T1, T2, T3, T4, T5, R] { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /corpus/scala/21d12e9/library/scala/runtime/AbstractFunction6.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | // GENERATED CODE: DO NOT EDIT. See scala.Function0 for timestamp. 9 | 10 | package scala.runtime 11 | 12 | abstract class AbstractFunction6[-T1, -T2, -T3, -T4, -T5, -T6, +R] extends Function6[T1, T2, T3, T4, T5, T6, R] { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /corpus/scala/df29ebb/library/scala/runtime/AbstractFunction6.scala: -------------------------------------------------------------------------------- 1 | /* __ *\ 2 | ** ________ ___ / / ___ Scala API ** 3 | ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** 4 | ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** 5 | ** /____/\___/_/ |_/____/_/ | | ** 6 | ** |/ ** 7 | \* */ 8 | // GENERATED CODE: DO NOT EDIT. See scala.Function0 for timestamp. 9 | 10 | package scala.runtime 11 | 12 | abstract class AbstractFunction6[-T1, -T2, -T3, -T4, -T5, -T6, +R] extends Function6[T1, T2, T3, T4, T5, T6, R] { 13 | 14 | } 15 | --------------------------------------------------------------------------------