- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 453 for spec (0.02 seconds)
-
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/fixtures/AbstractRestResourcesFuncTest.groovy
file("rest-api-spec/src/main/resources/rest-api-spec/api/" + api) << "" } tests.each { test -> file("rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/" + test) << "" } } void addRestTestsToProject(List<String> tests, String sourceSet = "test") { // uses the test source set by default, but in practice it would be a custom source set set by another plugin
Created: 2026-04-08 16:19 - Last Modified: 2021-06-22 07:24 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilderSpec.java
@Override void parseLong(CacheBuilderSpec spec, long value) { checkArgument( spec.maximumSize == null, "maximum size was already set to %s", spec.maximumSize); checkArgument( spec.maximumWeight == null, "maximum weight was already set to %s", spec.maximumWeight); spec.maximumSize = value; } } /** Parse maximumWeight */Created: 2026-04-03 12:43 - Last Modified: 2026-04-01 17:27 - 18.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
@Override void parseLong(CacheBuilderSpec spec, long value) { checkArgument( spec.maximumSize == null, "maximum size was already set to %s", spec.maximumSize); checkArgument( spec.maximumWeight == null, "maximum weight was already set to %s", spec.maximumWeight); spec.maximumSize = value; } } /** Parse maximumWeight */Created: 2026-04-03 12:43 - Last Modified: 2026-04-01 17:27 - 18.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostSpecifierTest.java
assertBad(spec); } } public void testEquality() { new EqualsTester() .addEqualityGroup(spec("1.2.3.4"), spec("1.2.3.4")) .addEqualityGroup(spec("2001:db8::1"), spec("2001:db8::1"), spec("[2001:db8::1]")) .addEqualityGroup(spec("2001:db8::2")) .addEqualityGroup(spec("google.com"), spec("google.com")) .addEqualityGroup(spec("www.google.com")) .testEquals(); }
Created: 2026-04-03 12:43 - Last Modified: 2026-03-07 02:20 - 3.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java
kotlinSourceSet.register("kotlin_dsl", spec -> { spec.getDisplayName().set("DSL"); spec.getSourceRoots().from(extension.getKotlinDslSource()); spec.getSourceRoots().from(runtimeExtensions.flatMap(GradleKotlinDslRuntimeGeneratedSources::getGeneratedSources)); spec.getClasspath().from(extension.getClasspath());
Created: 2026-04-01 11:36 - Last Modified: 2025-05-28 11:34 - 7.4K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/RestResourcesPluginFuncTest.groovy
file("/build/restResources/yamlSpecs/rest-api-spec/api/" + apiCore1).exists() file("/build/restResources/yamlSpecs/rest-api-spec/api/" + apiCore2).exists() file("/build/restResources/yamlSpecs/rest-api-spec/api/" + apiXpack).exists() file("/build/restResources/yamlTests/rest-api-spec/test/" + coreTest).exists() file("/build/restResources/yamlTests/rest-api-spec/test/" + xpackTest).exists() }
Created: 2026-04-08 16:19 - Last Modified: 2021-07-20 21:05 - 7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateRestSpecPlugin.java
filter.include(DOUBLE_STAR + "/rest-api-spec/api/" + DOUBLE_STAR + "/*.json"); filter.exclude(DOUBLE_STAR + "/_common.json"); })); // This must always be specified precisely, so that // projects other than `rest-api-spec` can use this task. task.setJsonSchema(new File(project.getRootDir(), "rest-api-spec/src/main/resources/schema.json"));
Created: 2026-04-08 16:19 - Last Modified: 2021-06-01 09:19 - 2.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
CacheBuilderSpec spec = parse(""); assertThat(spec.initialCapacity).isNull(); assertThat(spec.maximumSize).isNull(); assertThat(spec.maximumWeight).isNull(); assertThat(spec.concurrencyLevel).isNull(); assertThat(spec.keyStrength).isNull(); assertThat(spec.valueStrength).isNull(); assertThat(spec.writeExpirationTimeUnit).isNull(); assertThat(spec.accessExpirationTimeUnit).isNull();
Created: 2026-04-03 12:43 - Last Modified: 2025-09-30 22:03 - 20.8K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy
file("/build/${specIntermediateDir}/rest-api-spec/api/" + api).exists() file("/build/${testIntermediateDir}/original/rest-api-spec/test/" + test).exists() file("/build/${testIntermediateDir}/transformed/rest-api-spec/test/" + test).exists() file("/build/${testIntermediateDir}/original/rest-api-spec/test/" + test).exists() file("/build/${testIntermediateDir}/transformed/rest-api-spec/test/" + test).exists()
Created: 2026-04-08 16:19 - Last Modified: 2021-09-30 16:30 - 16.4K bytes - Click Count (0) -
ci/official/containers/ml_build/builder.devtoolset/rpm-patch.sh
# limitations under the License. # ============================================================================== # # Given an RPM spec file $1, apply its patches. SPEC="$1" grep '%patch' "${SPEC}" |while read cmd ; do N=$(echo "${cmd}" |sed 's,%patch\([0-9]\+\).*,\1,') file=$(grep "Patch$N:" "${SPEC}" |sed 's,.*: ,,') parg=$(echo "${cmd}" |sed 's,.*\(-p[0-9]\).*,\1,') if [[ ! "${file}" =~ doxygen && "${cmd}" != \#* ]]; thenCreated: 2026-04-07 12:39 - Last Modified: 2024-09-24 20:45 - 1.1K bytes - Click Count (0)