- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 1,904 for Check (0.02 seconds)
-
android/guava/src/com/google/common/base/VerifyException.java
import com.google.common.annotations.GwtCompatible; import org.jspecify.annotations.Nullable; /** * Exception thrown upon the failure of a <a * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">verification check</a>, * including those performed by the convenience methods of the {@link Verify} class. * * @since 17.0 */ @GwtCompatible public class VerifyException extends RuntimeException {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
duration: Long, unit: TimeUnit, ): Int { check(duration >= 0L) { "$name < 0" } val millis = unit.toMillis(duration) require(millis <= Integer.MAX_VALUE) { "$name too large" } require(millis != 0L || duration <= 0L) { "$name too small" } return millis.toInt() } internal fun checkDuration( name: String, duration: Duration, ): Int { check(!duration.isNegative()) { "$name < 0" }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.3K bytes - Click Count (1) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/ports/DefaultPortDetector.java
import java.net.DatagramSocket; import java.net.ServerSocket; public class DefaultPortDetector implements PortDetector { /** * Checks to see if a specific port is available. * * @param port the port to check for availability * @return true if the port is available, false otherwise */ public boolean isAvailable(int port) { try { ServerSocket ss = new ServerSocket(port); try {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UntrustedInputFutureTest.java
@Override AbstractFuture<@Nullable Integer> newDelegate() { AbstractFuture<@Nullable Integer> future = new AbstractFuture<@Nullable Integer>() {}; assertFalse(future instanceof TrustedFuture); // sanity check return future; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 1.3K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java
if (!inExample) { inExample = true; currentSnippets.clear(); } else { // Closing an example block: check for reversed order only flagIfReversed(file, errors, currentSnippets); inExample = false; currentSnippets.clear(); } continue;
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Aug 29 10:12:17 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
try { hp2 = hp.withDefaultPort(defaultPort); assertFalse(badDefaultPort); } catch (IllegalArgumentException e) { assertTrue(badDefaultPort); } // Check the pre-withDefaultPort() instance. if (expectHasExplicitPort) { assertTrue(hp.hasPort()); assertEquals(expectPort, hp.getPort()); } else { assertFalse(hp.hasPort()); try {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 9.7K bytes - Click Count (0) -
src/main/java/jcifs/netbios/UniAddress.java
* hostnames on LANs and WANs that support a mixture of NetBIOS/WINS and * DNS resolvable hosts. */ public class UniAddress implements Address { /** * Check whether a hostname is actually an ip address * * @param hostname the hostname to check * @return whether this is an IP address */ public static boolean isDotQuadIP(final String hostname) { if (Character.isDigit(hostname.charAt(0))) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.3K bytes - Click Count (0) -
build-tools-internal/build.gradle
implementationClass = 'org.elasticsearch.gradle.internal.test.InternalClusterTestPlugin' } internalDistributionArchiveCheck { id = 'elasticsearch.internal-distribution-archive-check' implementationClass = 'org.elasticsearch.gradle.internal.InternalDistributionArchiveCheckPlugin' } internalDistributionArchiveSetup { id = 'elasticsearch.internal-distribution-archive-setup'
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 18:10:22 GMT 2021 - 11.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/StandaloneTestPlugin.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jun 23 09:36:58 GMT 2021 - 1.4K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.detekt.gradle.kts
buildUponDefaultConfig = true // customize some of the rules, until we can fix the offending cases config.convention(project.isolated.rootProject.projectDirectory.file("gradle/detekt.yml")) // also check the project build file source.from(project.buildFile) } pluginManager.withPlugin("gradlebuild.code-quality") { tasks { named("codeQuality") { dependsOn(detekt) } }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jun 20 10:11:35 GMT 2024 - 1.1K bytes - Click Count (0)