- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for DefaultIncludeDirectives (0.36 sec)
-
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/DefaultIncludeDirectives.java
return new DefaultIncludeDirectives(ImmutableList.copyOf(getIncludesOnly()), macros, macroFunctions); } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } DefaultIncludeDirectives that = (DefaultIncludeDirectives) o;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializerTest.groovy
import org.gradle.language.nativeplatform.internal.IncludeType class IncludeDirectivesSerializerTest extends SerializerSpec { def "serializes empty directives"() { def directives = DefaultIncludeDirectives.of(ImmutableList.of(), ImmutableList.of(), ImmutableList.of()) expect: serialize(directives, IncludeDirectivesSerializer.INSTANCE) == directives } def "serializes include directives"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 6.2K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/DefaultSourceIncludesTest.groovy
class DefaultSourceIncludesTest extends Specification { List<Include> includes = [ '"quoted1"', "<system1>", '"quoted2"', "macro1", "<system2>", "macro2" ].collect { TestIncludeParser.parse(it, false) } DefaultIncludeDirectives sourceIncludes = DefaultIncludeDirectives.of(ImmutableList.copyOf(includes), ImmutableList.of(), ImmutableList.of()) def "can filter includes" () { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/DefaultIncrementalCompilerBuilder.java
import org.gradle.language.nativeplatform.internal.Macro; import org.gradle.language.nativeplatform.internal.incremental.sourceparser.CSourceParser; import org.gradle.language.nativeplatform.internal.incremental.sourceparser.DefaultIncludeDirectives; import org.gradle.language.nativeplatform.internal.incremental.sourceparser.MacroWithSimpleExpression; import org.gradle.language.nativeplatform.internal.incremental.sourceparser.RegexBackedCSourceParser;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 15:31:28 UTC 2024 - 8.9K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/TestIncludeParser.groovy
import org.gradle.language.nativeplatform.internal.IncludeType class TestIncludeParser { static IncludeDirectives systemIncludes(Collection<String> names) { return DefaultIncludeDirectives.of(ImmutableList.copyOf(names.collect { new IncludeWithSimpleExpression(it, false, IncludeType.SYSTEM) }), ImmutableList.of(), ImmutableList.of()) } static Include parse(String value, boolean isImport) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializer.java
private IncludeDirectivesSerializer() { } @Override public IncludeDirectives read(Decoder decoder) throws Exception { return DefaultIncludeDirectives.of(ImmutableList.copyOf(includeListSerializer.read(decoder)), ImmutableList.copyOf(macroListSerializer.read(decoder)), ImmutableList.copyOf(macroFunctionListSerializer.read(decoder))); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 17K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParser.java
} else if (buffer.consume("import")) { parseIncludeOrImportDirectiveBody(buffer, true, includes); } } return DefaultIncludeDirectives.of(ImmutableList.copyOf(includes), ImmutableList.copyOf(macros), ImmutableList.copyOf(macroFunctions)); } /** * Parses an #include/#import directive body. Consumes all input. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 25.5K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 967.9K bytes - Viewed (0)