- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 293 for sanity (0.1 sec)
-
src/internal/runtime/atomic/atomic_andor_test.go
// implementations for all architectures. package atomic_test import ( "internal/runtime/atomic" "testing" ) func TestAnd32(t *testing.T) { // Basic sanity check. x := uint32(0xffffffff) for i := uint32(0); i < 32; i++ { old := x v := atomic.And32(&x, ^(1 << i)) if r := uint32(0xffffffff) << (i + 1); x != r || v != old {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 27 20:49:32 UTC 2024 - 5.2K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_test.go
shouldPanic(t, "Xchg64", func() { atomic.Xchg64(up64, 1) }) shouldPanic(t, "Cas64", func() { atomic.Cas64(up64, 1, 2) }) } func TestAnd8(t *testing.T) { // Basic sanity check. x := uint8(0xff) for i := uint8(0); i < 8; i++ { atomic.And8(&x, ^(1 << i)) if r := uint8(0xff) << (i + 1); x != r { t.Fatalf("clearing bit %#x: want %#x, got %#x", uint8(1<<i), r, x) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.5K bytes - Viewed (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@v4 - name: setup java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 02 09:13:16 UTC 2024 - 3.9K bytes - Viewed (0) -
.github/PULL_REQUEST_TEMPLATE.md
- [ ] Provide unit tests (under `<subproject>/src/test`) to verify logic. - [ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes. - [ ] Ensure that tests pass sanity check: `./gradlew sanityCheck`. - [ ] Ensure that tests pass locally: `./gradlew <changed-subproject>:quickTest`. ### Reviewing cheatsheet Before merging the PR, comments starting with - ❌ ❓**must** be fixed
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 13 22:36:19 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
import java.util.logging.Level; import java.util.logging.Logger; import junit.framework.TestCase; 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>
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java
ArtifactRepository rr2 = repositorySystem.createDefaultRemoteRepository(); a2.setDependencyFilter(new ExcludesArtifactFilter(Arrays.asList("foo"))); // sanity checks assertNotSame(a1, a2); assertNotSame(lr1, lr2); assertNotSame(rr1, rr2); DefaultMavenMetadataCache.CacheKey k1 =
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 3K bytes - Viewed (0) -
CONTRIBUTING.md
`git push --force origin test-branch` ### Fixing sanity check failures after public API changes If your PR includes any changes to the Gradle Public API, it will cause the binary compatibility check to fail. The binary compatibility check runs as a part of the broader sanity check. The latter runs on every PR and is a prerequisite for merging.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 01:39:23 UTC 2024 - 15.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
import java.util.logging.Level; import java.util.logging.Logger; import junit.framework.TestCase; 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>
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/UserTypesCodecTest.kt
) assertThat( second, sameInstance(java.util.logging.Level.WARNING) ) } } @Test fun `Peano sanity check`() { assertThat( Peano.fromInt(0), equalTo(Peano.Z) ) assertThat( Peano.fromInt(1024).toInt(), equalTo(1024) )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKeyTest.kt
isolatedProjects = Option.Value.value(false) }, equalTo(cacheKeyStringFromStartParameter { }) ) } @Test fun `sanity check`() { assertThat( cacheKeyStringFromStartParameter {}, equalTo(cacheKeyStringFromStartParameter {}) ) } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 6.1K bytes - Viewed (0)