Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 263 for testTimes (0.24 sec)

  1. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

            assertThat(unsignedSub.intValue()).isEqualTo(expected);
          }
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // multiply
      public void testTimes() {
        for (int a : TEST_INTS) {
          for (int b : TEST_INTS) {
            UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
            UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

            assertThat(unsignedSub.intValue()).isEqualTo(expected);
          }
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // multiply
      public void testTimes() {
        for (int a : TEST_INTS) {
          for (int b : TEST_INTS) {
            UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
            UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

            UnsignedLong unsignedSub = aUnsigned.minus(bUnsigned);
            assertThat(unsignedSub.longValue()).isEqualTo(expected);
          }
        }
      }
    
      public void testTimes() {
        for (long a : TEST_LONGS) {
          for (long b : TEST_LONGS) {
            UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
            UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
            long expected =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/file/TestFiles.java

    import static org.gradle.internal.snapshot.CaseSensitivity.CASE_SENSITIVE;
    import static org.gradle.util.TestUtil.objectFactory;
    import static org.gradle.util.TestUtil.providerFactory;
    
    public class TestFiles {
        private static final FileSystem FILE_SYSTEM = NativeServicesTestFixture.getInstance().get(FileSystem.class);
        private static final DefaultFileLookup FILE_LOOKUP = new DefaultFileLookup();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/SyncCopyActionDecoratorTest.groovy

    import org.gradle.api.internal.file.TestFiles
    import org.gradle.test.fixtures.file.WorkspaceTest
    import org.gradle.util.TestUtil
    
    class SyncCopyActionDecoratorTest extends WorkspaceTest {
    
        FileCopier copier
    
        def setup() {
            copier = new FileCopier(
                    TestFiles.deleter(),
                    TestFiles.directoryFileTreeFactory(),
                    TestFiles.fileCollectionFactory(testDirectory),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 20 13:25:37 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  6. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/local/LocalFileStandInExternalResourceTest.groovy

            def resource = new LocalFileStandInExternalResource(file, TestFiles.fileSystem())
            resource.withContentIfPresent({} as ExternalResource.ContentAndMetadataAction) == null
        }
    
        def "can fail on missing file when using ContentAndMetadataAction"() {
            def file = tmpDir.file("missing")
            def resource = new LocalFileStandInExternalResource(file, TestFiles.fileSystem())
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 14K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultProjectDependencyTest.groovy

                strictlyEqual(new DefaultProjectDependency(project, "conf1", false, TestFiles.taskDependencyFactory())))
    
            when:
            def base = new DefaultProjectDependency(project, "conf1", true, TestFiles.taskDependencyFactory())
            def differentConf = new DefaultProjectDependency(project, "conf2", true, TestFiles.taskDependencyFactory())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/DefaultFileCollectionSnapshotterTest.groovy

        def snapshotter = TestFiles.fileCollectionSnapshotter()
    
        def "snapshots a tree with file as root as RegularFileSnapshot"() {
            given:
            def tempDir = tmpDir.createDir('tmpDir')
            def file = tempDir.file('testFile')
            file.text = "content"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 16:25:23 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/CopyActionExecuterTest.groovy

                createDir("b1").createFile("b1")
            }
    
            def resolver = TestFiles.resolver(testDirectory)
            def fileCollectionFactory = TestFiles.fileCollectionFactory(testDirectory)
            def copySpec = new DestinationRootCopySpec(resolver, new DefaultCopySpec(fileCollectionFactory, TestUtil.objectFactory(), TestUtil.instantiatorFactory().decorateLenient(), TestFiles.patternSetFactory))
            copySpec.with {
                into "out"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 12:39:32 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. subprojects/core/src/testFixtures/groovy/org/gradle/api/file/FileVisitorUtil.groovy

    import static org.junit.Assert.assertTrue
    
    class FileVisitorUtil {
        static void assertCanStopVisiting(MinimalFileTree tree) {
            assertCanStopVisiting(new FileTreeAdapter(tree, TestFiles.taskDependencyFactory(), TestFiles.patternSetFactory))
        }
    
        static void assertCanStopVisiting(FileTree tree) {
            boolean found = false
            FileVisitor visitor = [
                    visitFile: {FileVisitDetails details ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 14:26:33 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top