- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 772 for safety (0.05 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/TrustedInputFutureTest.java
@Override AbstractFuture<@Nullable Integer> newDelegate() { AbstractFuture<@Nullable Integer> future = new TrustedFuture<@Nullable Integer>() {}; assertTrue(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) -
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) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java
} } } } return plugins.values(); } private PluginInfo extractPluginInfo(Artifact artifact) { // sanity: jar, no classifier and file exists if (artifact != null && "jar".equals(artifact.getExtension()) && "".equals(artifact.getClassifier()) && artifact.getPath() != null) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CombinedFuture.java
CombinedFuture.this.task = null; if (error instanceof ExecutionException) { /* * Cast to ExecutionException to satisfy our nullness checker, which (unsoundly but * *usually* safely) assumes that getCause() returns non-null on an ExecutionException. */ CombinedFuture.this.setException(((ExecutionException) error).getCause()); } else if (error instanceof CancellationException) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.8K bytes - Click Count (0) -
cmd/last-minute.go
l.Totals[idx] = AccElem{} l.LastSec++ } } // LastMinuteHistogram keeps track of last minute sizes added. type LastMinuteHistogram [sizeLastElemMarker]lastMinuteLatency // Merge safely merges two LastMinuteHistogram structures into one func (l LastMinuteHistogram) Merge(o LastMinuteHistogram) (merged LastMinuteHistogram) { for i := range l { merged[i] = l[i].merge(o[i]) } return merged }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jul 05 17:40:45 GMT 2023 - 4.8K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/SanityCheck.kt
import model.Stage class SanityCheck( model: CIBuildModel, stage: Stage, ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = { id(buildTypeId(model)) name = "Sanity Check" description = "Static code analysis, checkstyle, release notes verification, etc." features { publishBuildStatusToGithub(model) } applyDefaults(
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Aug 25 20:21:47 GMT 2025 - 1.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/PackageSanityTests.java
import java.lang.reflect.Method; import java.nio.channels.FileChannel.MapMode; import java.nio.charset.CharsetEncoder; import org.jspecify.annotations.NullUnmarked; /** * Basic sanity tests for the entire package. * * @author Ben Yu */ @NullUnmarked public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; import org.junit.Test; /** * Automatically runs sanity checks against top level classes in the same package of the test that * extends {@code AbstractPackageSanityTests}. Currently sanity checks include {@link * NullPointerTester}, {@link EqualsTester} and {@link SerializableTester}. For example: * * <pre>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
.github/workflows/contributor-pr.yml
outputs: matrix: ${{ steps.setup-matrix.outputs.matrix }} sys-prop-args: ${{ steps.determine-sys-prop-args.outputs.sys-prop-args }} sanity-check: name: "Sanity Check on Linux" permissions: contents: read runs-on: ubuntu-latest needs: build steps: - name: git clone uses: actions/checkout@v6 - name: setup javaCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 22:06:44 GMT 2026 - 5K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/PackageSanityTests.java
package com.google.common.hash; import com.google.common.hash.BloomFilterStrategies.LockFreeBitArray; import com.google.common.testing.AbstractPackageSanityTests; import org.jspecify.annotations.NullUnmarked; /** * Basic sanity tests for the entire package. * * @author Ben Yu */ @NullUnmarked public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.2K bytes - Click Count (0)