repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
atomicbits/scramlgen
modules/scraml-raml-parser/src/test/scala/io/atomicbits/scraml/ramlparser/TypesParseTest.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/parsedtypes/ParsedEnum.scala
<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/lookup/transformers/ParsedDateTransformer.scala
<reponame>atomicbits/scramlgen /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2....
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/util/TryUtils.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/parsedtypes/ParsedTypeReference.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/parser/SourceReader.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/codegen/ActionGenerator.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/test/scala/io/atomicbits/scraml/ramlparser/ExpandRelativeToAbsoluteIdsTest.scala
<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
atomicbits/scramlgen
modules/scraml-gen-simulation/src/test/scala/io/atomicbits/scraml/client/manual/BigCaseClass.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/platform/htmldoc/IndexDocGenerator.scala
<reponame>atomicbits/scramlgen /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2....
atomicbits/scramlgen
modules/scraml-raml-parser/src/test/scala/io/atomicbits/scraml/ramlparser/CanonicalTypeCollectorTest.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/canonicaltypes/ObjectType.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/platform/scalaplay/EnumGenerator.scala
<filename>modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/platform/scalaplay/EnumGenerator.scala /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/lookup/CanonicalNameGenerator.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/parsedtypes/ParsedUnionType.scala
<reponame>atomicbits/scramlgen /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2....
atomicbits/scramlgen
modules/scraml-dsl-scala/src/main/scala/io/atomicbits/scraml/dsl/scalaplay/RequestBuilder.scala
<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/platform/scalaplay/TraitGenerator.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/parser/Sourced.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/test/scala/io/atomicbits/scraml/ramlparser/NativeIdResourceBodyLookupTest.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/test/scala/io/atomicbits/scraml/ramlparser/StatusCodeTest.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/Id.scala
<filename>modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/Id.scala /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/platform/htmldoc/simplifiedmodel/SimpleAction.scala
<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/platform/typescript/InterfaceGenerator.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/canonicaltypes/CanonicalType.scala
<filename>modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/canonicaltypes/CanonicalType.scala /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Li...
atomicbits/scramlgen
modules/scraml-raml-parser/src/test/scala/io/atomicbits/scraml/ramlparser/JsonSchemaParseTest.scala
<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/platform/scalaplay/ScalaPlay.scala
<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/parsedtypes/InlineTypeDeclaration.scala
<filename>modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/parsedtypes/InlineTypeDeclaration.scala /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with t...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/platform/htmldoc/simplifiedmodel/ClientDocModel.scala
<reponame>atomicbits/scramlgen /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2....
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/parsedtypes/ParsedString.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/platform/scalaplay/ResourceClassGenerator.scala
<reponame>atomicbits/scramlgen<filename>modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/platform/scalaplay/ResourceClassGenerator.scala /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fil...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/parser/SourceFile.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/ScramlGenerator.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/codegen/DslSourceRewriter.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/TypeModel.scala
<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
atomicbits/scramlgen
modules/scraml-generator/src/test/scala/io/atomicbits/scraml/generator/MultipleAcceptHeadersTest.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/JsonSchemaIdExtractor.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/parser/JsUtils.scala
<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
atomicbits/scramlgen
modules/scraml-raml-parser/src/test/scala/io/atomicbits/scraml/ramlparser/DateTypesTest.scala
<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/platform/javajackson/ResourceClassGenerator.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-dsl-scala/src/main/scala/io/atomicbits/scraml/dsl/scalaplay/client/FactoryLoader.scala
<filename>modules/scraml-dsl-scala/src/main/scala/io/atomicbits/scraml/dsl/scalaplay/client/FactoryLoader.scala<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/codegen/ActionCode.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/canonicaltypes/DateType.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/test/scala/io/atomicbits/scraml/ramlparser/QueryParameterParseTest.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
project/BuildSettings.scala
<reponame>atomicbits/scramlgen /* * * (C) Copyright 2018 Atomic BITS (https://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/platform/javajackson/CommonJavaJacksonPlatform.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-gen-simulation/src/test/scala/io/atomicbits/scraml/client/manual/ManualScramlGeneratorTest.scala
<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/lookup/TypeUtils.scala
<reponame>atomicbits/scramlgen /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2....
atomicbits/scramlgen
modules/scraml-gen-simulation/src/test/java/io/atomicbits/scraml/client/java/ObjectMapperTest.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/lookup/transformers/ParsedTypeReferenceTransformer.scala
<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/platform/javajackson/PojoGeneratorSupport.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/canonicaltypes/ArrayType.scala
<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/Responses.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/parser/RamlParseException.scala
<filename>modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/parser/RamlParseException.scala /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/parsedtypes/Fragments.scala
<filename>modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/parsedtypes/Fragments.scala /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
atomicbits/scramlgen
modules/scraml-dsl-scala/src/main/scala/io/atomicbits/scraml/dsl/scalaplay/json/TypedJson.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/parsedtypes/ParsedMultipleInheritance.scala
<filename>modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/parsedtypes/ParsedMultipleInheritance.scala<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except ...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/parsedtypes/ParsedFile.scala
<filename>modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/parsedtypes/ParsedFile.scala /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License....
atomicbits/scramlgen
modules/scraml-raml-parser/src/test/scala/io/atomicbits/scraml/ramlparser/InlineQueryparameterTest.scala
<reponame>atomicbits/scramlgen /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2....
atomicbits/scramlgen
modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/typemodel/ClassName.scala
<filename>modules/scraml-generator/src/main/scala/io/atomicbits/scraml/generator/typemodel/ClassName.scala /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
atomicbits/scramlgen
modules/scraml-dsl-scala/src/main/scala/io/atomicbits/scraml/dsl/scalaplay/RestException.scala
<reponame>atomicbits/scramlgen<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/lic...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/model/canonicaltypes/TypeReference.scala
<reponame>atomicbits/scramlgen<gh_stars>10-100 /* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/lic...
atomicbits/scramlgen
build.sbt
<filename>build.sbt import BuildSettings._ import Dependencies._ lazy val scramlDslScala = Project( id = "scraml-dsl-scala", base = file("modules/scraml-dsl-scala") ).settings ( projSettings(dependencies = scramlDslDepsScala ++ testDeps) ++ Seq( // Copy all source files into the artifact. (unma...
atomicbits/scramlgen
modules/scraml-raml-parser/src/main/scala/io/atomicbits/scraml/ramlparser/lookup/CanonicalTypeCollector.scala
/* * * (C) Copyright 2018 Atomic BITS (http://atomicbits.io). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
dmvk/flink
flink-libraries/flink-table/src/test/scala/org/apache/flink/api/scala/batch/table/ExpressionsITCase.scala
<gh_stars>0 /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "Lic...
dmvk/flink
flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/expressions/call.scala
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
dmvk/flink
flink-libraries/flink-table/src/test/scala/org/apache/flink/api/scala/batch/sql/SetOperatorsITCase.scala
<reponame>dmvk/flink /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (th...
dmvk/flink
flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/TableEnvironment.scala
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
vigoo/zio-flow
zio-flow/shared/src/test/scala/zio/flow/utils/MocksForGCExample.scala
<reponame>vigoo/zio-flow package zio.flow.utils import java.net.URI import zio._ import zio.flow.GoodcoverUseCase.Policy import zio.flow.internal.ZFlowExecutor.InMemory import zio.flow.{ActivityError, Operation, OperationExecutor} object MocksForGCExample { def mockOpExec2(map: Map[URI, Any]): OperationExecutor[C...
vigoo/zio-flow
zio-flow/shared/src/main/scala/zio/flow/internal/PersistentExecutor.scala
/* * Copyright 2021-2022 <NAME> and the ZIO Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
vigoo/zio-flow
zio-flow/shared/src/main/scala/zio/flow/internal/DurablePromise.scala
/* * Copyright 2021-2022 <NAME> and the ZIO Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
whisklabs/chimney
project/plugins.sbt
import scala.util.Properties._ val scalaJSVersion = envOrElse("SCALAJS_VERSION", "1.1.1") addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1") addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion) addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.3.9") addSbtPlugin("org.portable-scala" % "sbt-sca...
whisklabs/chimney
chimney/src/main/scala/io/scalaland/chimney/dsl/TransformerFInto.scala
package io.scalaland.chimney.dsl import io.scalaland.chimney.TransformerFSupport import io.scalaland.chimney.internal.TransformerCfg import io.scalaland.chimney.internal.macros.{ChimneyBlackboxMacros, TransformerFIntoWhiteboxMacros} import scala.language.experimental.macros final class TransformerFInto[F[+_], From, ...
othree-oss/butler
butler-client/src/main/scala/io/othree/butler/client/actors/CacheClientActor.scala
<reponame>othree-oss/butler package io.othree.butler.client.actors import akka.actor.Actor import akka.cluster.pubsub.DistributedPubSub import akka.cluster.pubsub.DistributedPubSubMediator.{Send, Subscribe, SubscribeAck} import akka.pattern.ask import akka.util.Timeout import com.typesafe.scalalogging.LazyLogging impo...
othree-oss/butler
butler-service/src/test/scala/io/othree/butler/ButlerServiceTest.scala
package io.othree.butler.actors import akka.actor.{ActorRef, ActorSystem} import akka.cluster.pubsub.DistributedPubSub import akka.cluster.pubsub.DistributedPubSubMediator.{Send, Subscribe, SubscribeAck} import akka.testkit.{ImplicitSender, TestKit} import io.othree.akkaok.BaseAkkaTest import io.othree.butler.configur...
othree-oss/butler
butler-client/src/test/scala/io/othree/butler/client/ButlerClientTest.scala
package io.othree.butler.client import akka.actor.{Actor, ActorSystem, PoisonPill, Props} import akka.cluster.pubsub.DistributedPubSub import akka.cluster.pubsub.DistributedPubSubMediator.{Publish, Put} import akka.testkit.{ImplicitSender, TestKit, TestProbe} import io.othree.akkaok.BaseAkkaTest import io.othree.butle...
othree-oss/butler
butler-service/src/main/scala/io/othree/butler/actors/CacheActor.scala
<reponame>othree-oss/butler package io.othree.butler.actors import akka.actor.Actor import akka.cluster.pubsub.DistributedPubSub import akka.cluster.pubsub.DistributedPubSubMediator._ import com.typesafe.scalalogging.LazyLogging import io.othree.butler.configuration.CacheServiceConfiguration import io.othree.butler.mo...
othree-oss/butler
butler-core/src/main/scala/io/othree/butler/models/Gimme.scala
<reponame>othree-oss/butler<filename>butler-core/src/main/scala/io/othree/butler/models/Gimme.scala package io.othree.butler.models case object Gimme
othree-oss/butler
butler-client/src/test/scala/io/othree/butler/client/configuration/TSCacheClientConfigurationTest.scala
<filename>butler-client/src/test/scala/io/othree/butler/client/configuration/TSCacheClientConfigurationTest.scala<gh_stars>1-10 package io.othree.butler.client.configuration import com.typesafe.config.ConfigFactory import io.othree.aok.BaseTest import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner im...
othree-oss/butler
butler-client/src/main/scala/io/othree/butler/client/configuration/TSCacheClientConfiguration.scala
package io.othree.butler.client.configuration import com.typesafe.config.Config import io.othree.dna.TSConfigurationProvider import scala.concurrent.duration.{Duration, FiniteDuration} class TSCacheClientConfiguration(config: Config) extends TSConfigurationProvider(config) with CacheClientConfiguration { override...
othree-oss/butler
butler-core/src/main/scala/io/othree/butler/Cache.scala
<filename>butler-core/src/main/scala/io/othree/butler/Cache.scala package io.othree.butler trait Cache
othree-oss/butler
butler-core/src/main/scala/io/othree/butler/models/RefreshCache.scala
<filename>butler-core/src/main/scala/io/othree/butler/models/RefreshCache.scala<gh_stars>1-10 package io.othree.butler.models case object RefreshCache
othree-oss/butler
butler-core/src/main/scala/io/othree/butler/models/EmptyCache.scala
<filename>butler-core/src/main/scala/io/othree/butler/models/EmptyCache.scala package io.othree.butler.models case object EmptyCache
othree-oss/butler
butler-client/src/main/scala/io/othree/butler/client/ButlerClient.scala
package io.othree.butler.client import akka.actor.{ActorSystem, PoisonPill, Props} import io.othree.butler.client.actors.CacheClientActor import io.othree.butler.{Cache, CacheContainer} import io.othree.butler.client.configuration.CacheClientConfiguration import scala.concurrent.ExecutionContext import scala.reflect....
othree-oss/butler
butler-service/src/main/scala/io/othree/butler/configuration/CacheServiceConfiguration.scala
<reponame>othree-oss/butler package io.othree.butler.configuration import scala.concurrent.duration.FiniteDuration trait CacheServiceConfiguration { def refreshTime(topic: String): FiniteDuration def recoveryWaitTime: FiniteDuration }
othree-oss/butler
butler-core/src/main/scala/io/othree/butler/CacheProvider.scala
package io.othree.butler import scala.concurrent.Future trait CacheProvider[A] { def refreshCache(): Future[A] }
othree-oss/butler
butler-service/src/test/scala/io/othree/butler/configuration/TSCacheServiceConfigurationTest.scala
<reponame>othree-oss/butler package io.othree.butler.configuration import com.typesafe.config.ConfigFactory import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner import io.othree.aok.BaseTest import scala.concurrent.duration._ @RunWith(classOf[JUnitRunner]) class TSCacheServiceConfigurationTest exten...
othree-oss/butler
butler-core/src/main/scala/io/othree/butler/CacheContainer.scala
package io.othree.butler class CacheContainer[A <: Cache] { private var cache: Option[A] = None def getCache(): Option[A] = { cache } private[butler] def setCache(updatedCache: A) = { cache.synchronized { cache = Some(updatedCache) } } }
othree-oss/butler
butler-core/src/test/scala/io/othree/butler/CacheContainerTest.scala
<gh_stars>1-10 package io.othree.butler import io.othree.aok.BaseTest import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) class CacheContainerTest extends BaseTest { case class CacheTest() extends Cache "CacheContainer" when { "getting the cache" must { ...
othree-oss/butler
butler-service/src/main/scala/io/othree/butler/ButlerService.scala
<reponame>othree-oss/butler package io.othree.butler import akka.actor.{ActorRef, ActorSystem, PoisonPill, Props} import io.othree.butler.configuration.CacheServiceConfiguration import io.othree.butler.models.RefreshCache import io.othree.butler.actors.CacheActor import scala.concurrent.ExecutionContext import scala....
othree-oss/butler
butler-service/src/main/scala/io/othree/butler/configuration/TSCacheServiceConfiguration.scala
<filename>butler-service/src/main/scala/io/othree/butler/configuration/TSCacheServiceConfiguration.scala package io.othree.butler.configuration import com.typesafe.config.Config import io.othree.dna.TSConfigurationProvider import scala.concurrent.duration.{Duration, FiniteDuration} class TSCacheServiceConfiguration(...
othree-oss/butler
butler-client/src/main/scala/io/othree/butler/client/configuration/CacheClientConfiguration.scala
package io.othree.butler.client.configuration import scala.concurrent.duration.FiniteDuration trait CacheClientConfiguration { def recoveryWaitTime: FiniteDuration }
meier-christoph/scala-steward
project/Dependencies.scala
<gh_stars>0 import sbt._ import sbt.Keys._ import sbt.librarymanagement.syntax.ExclusionRule object Dependencies { val attoCore = "org.tpolecat" %% "atto-core" % "0.9.0" val bcprovJdk15to18 = "org.bouncycastle" % "bcprov-jdk15to18" % "1.68" val betterFiles = "com.github.pathikrit" %% "better-files" % "3.9.1" v...
tommay/spudoku-android
scala/external/src/main/scala/net/tommay/sudoku/CreaterForJava.scala
package net.tommay.sudoku import scala.util.Random // Provide a "create" function intended to be called from Java that // does all the heavy lifting like Random creation and Layout lookup // in Scala. // It's not enough to create puzzles with the right Hruristics. We // also need to ensure the puzzles can't be solv...
tommay/spudoku-android
scala/external/src/main/scala/net/tommay/sudoku/Layout.scala
package net.tommay.sudoku /* The functions in this list take a position from 0 to 81 and return a Set of all positions that should have their colors removed together when creating a puzzle. */ object Layout { val layoutList : List[(String, Int => Set[Int])] = List( "classic (half turn)" -> classic, ...
tommay/spudoku-android
scala/external/src/main/scala/net/tommay/sudoku/Placement.scala
package net.tommay.sudoku case class Placement( cellNumber: Int, digit: Int)
tommay/spudoku-android
scala/external/src/main/scala/net/tommay/sudoku/ExclusionSet.scala
<reponame>tommay/spudoku-android package net.tommay.sudoku // An ExclusionSet is a named List of all the cell numbers in a row, // column, or square. They're used as part of the heuristic methods // in Solver. // XXX Everything ends up being Vectors. Compare speed to List. case class ExclusionSet( name: String, ...
tommay/spudoku-android
scala/external/src/main/scala/net/tommay/sudoku/Unknown.scala
<reponame>tommay/spudoku-android package net.tommay.sudoku case class Unknown( cellNumber: Int, row: Int, col: Int, square: Int, possible: Int) { def place(cellNumber: Int, digit: Int) : Unknown = { // Before bothering to test isExcludedBy, check whether the digit // has already been removed. Thi...
tommay/spudoku-android
scala/external/src/main/scala/net/tommay/sudoku/Creater.scala
package net.tommay.sudoku import scala.util.Random object Creater { @throws(classOf[InterruptedException]) def create( rnd: Random, layout: Iterable[Iterable[Int]], solveFunc: Puzzle => Stream[Solution]) : Puzzle = { createWithSolution(rnd, layout, solveFunc)._1 } @throws(classOf[Inte...
tommay/spudoku-android
scala/external/src/main/scala/net/tommay/sudoku/Solve.scala
package net.tommay.sudoku import scala.util.Random object Solve { // Initializes Puzzle from the given Filename and prints out solutions // if any. def main(args: Array[String]) { val filename = args(0) val setup = getSetup(filename) val puzzle = Puzzle.fromString(setup) val rnd = new Random(2)...
tommay/spudoku-android
scala/external/src/main/scala/net/tommay/sudoku/Create.scala
package net.tommay.sudoku import scala.util.Random object Create { val doThis = doOne(_) // val solveFunc = Solver.solutions SolverOptions.noGuessing val solveFunc = Solver.solutions(SolverOptions.all)(_) def main(args: Array[String]) { args match { case Array(layoutName) => Layout.getLayo...