- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 101 for IsPresent (0.05 seconds)
-
container-tests/build.gradle.kts
tasks.withType<Test> { useJUnitPlatform() val isCi = providers.environmentVariable("CI") val containerTests = providers.gradleProperty("containerTests") onlyIf("By default not in CI") { !isCi.isPresent || (containerTests.isPresent && containerTests.get().toBoolean()) } jvmArgs( "-Dokhttp.platform=$platform", ) if (platform == "loom") { jvmArgs( "-Djdk.tracePinnedThreads=short", )
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 09:17:33 GMT 2026 - 1.3K bytes - Click Count (1) -
android/guava/src/com/google/common/collect/FluentIterable.java
return from(Iterables.limit(getDelegate(), maxSize)); } /** * Determines whether this fluent iterable is empty. * * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}. */ public final boolean isEmpty() { return !getDelegate().iterator().hasNext(); } /** * Returns an {@code ImmutableList} containing all of the elements from this fluent iterable in
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
return from(Iterables.limit(getDelegate(), maxSize)); } /** * Determines whether this fluent iterable is empty. * * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}. */ public final boolean isEmpty() { return !getDelegate().iterator().hasNext(); } /** * Returns an {@code ImmutableList} containing all of the elements from this fluent iterable in
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java
} protected <T> Optional<T> returnFirstPresentOrEmpty(Function<O, Optional<T>> getter) { for (O option : options) { Optional<T> o = getter.apply(option); if (o.isPresent()) { return o; } } return Optional.empty(); } protected Optional<List<String>> collectListIfPresentOrEmpty(Function<O, Optional<List<String>>> getter) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 26 17:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
void testKnownMapping() { final int dosErr = 0x00010001; final int expectedNt = 0xc0000002; Optional<Integer> actual = findNtStatus(dosErr); assertTrue(actual.isPresent(), String.format("Mapping for %08x should exist", dosErr)); assertEquals(expectedNt, actual.get(), String.format("NTSTATUS for %08x should be %08x", dosErr, expectedNt)); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt
private val timestampSource: String get() = parameters.run { when { buildTimestampFromBuildReceipt.isPresent -> "from build receipt" buildTimestampFromGradleProperty.isPresent -> "from buildTimestamp property" runningInstallTask.get() -> "from current time because installing"Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jun 05 17:24:26 GMT 2025 - 3.7K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:46:35 GMT 2026 - 5.8K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
} @Internal protected fun getContributorsFromPullRequests(): Set<GitHubUser> { if (!milestone.isPresent) { error("Milestone not set: please rerun the task with `--milestone <milestone>`") } val prs: MutableList<GitHubPullRequest> = mutableListOf() for (page in 1..10) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jun 24 07:54:08 GMT 2025 - 5.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixtureExtension.java
serviceToProjectUseMap.put(key, this.project.getPath()); Optional<String> otherProject = this.findOtherProjectUsingService(key); if (otherProject.isPresent()) { throw new GradleException( String.format( Locale.ROOT, "Projects %s and %s both claim the %s service defined in the docker-compose.yml of "
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 4.4K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateFixedIssuesInReleaseNotes.kt
@get:Internal abstract val milestone: Property<String> @get:Internal abstract val githubToken: Property<String> @TaskAction fun update() { if (!milestone.isPresent) { error("Milestone not set: please rerun the task with `--milestone <milestone>`") } val version = milestone.get() val parts = version.split(".")Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:49:33 GMT 2026 - 5.1K bytes - Click Count (0)