Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 199 for testTimes (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/kubelet/metrics/collectors/resource_metrics_test.go

    				Node: statsapi.NodeStats{
    					CPU: &statsapi.CPUStats{
    						Time:                 testTime,
    						UsageCoreNanoSeconds: uint64Ptr(10000000000),
    					},
    					Memory: &statsapi.MemoryStats{
    						Time:            testTime,
    						WorkingSetBytes: uint64Ptr(1000),
    					},
    					Swap: &statsapi.SwapStats{
    						Time:           testTime,
    						SwapUsageBytes: uint64Ptr(500),
    					},
    				},
    			},
    			summaryErr: nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  6. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryFileTreeTest.groovy

            def treeWithNoIncludesOrExcludes = new DirectoryFileTree(temporaryFolder.getTestDirectory(), new PatternSet(), TestFiles.fileSystem(), false)
            def includesOnly = new PatternSet()
            includesOnly.include("a/b", "c")
            def treeWithIncludes = new DirectoryFileTree(temporaryFolder.getTestDirectory(), includesOnly, TestFiles.fileSystem(), false)
            def excludesOnly = new PatternSet()
            excludesOnly.exclude("a/b", "c")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  7. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/internal/tasks/DefaultSourceSetContainerTest.groovy

    import org.gradle.api.internal.file.TestFiles
    import org.gradle.api.tasks.SourceSet
    import org.gradle.util.TestUtil
    import spock.lang.Specification
    
    class DefaultSourceSetContainerTest extends Specification {
    
        def "can create a source set"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DaemonForkOptionsTest.groovy

     */
    
    package org.gradle.workers.internal
    
    import org.gradle.api.internal.file.TestFiles
    import org.gradle.internal.classloader.ClassLoaderSpec
    import org.gradle.process.JavaForkOptions
    import spock.lang.Specification
    
    import static org.gradle.api.internal.file.TestFiles.execFactory
    import static org.gradle.api.internal.file.TestFiles.systemSpecificAbsolutePath
    
    class DaemonForkOptionsTest extends Specification {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/SnapshotterFixture.groovy

                        : temporaryFolder.file(it)
                }
                def snapshot = snapshotter.snapshot(TestFiles.fixed(files)).snapshot
                builder.put(propertyName, snapshot)
            }
            return builder.build()
        }
    
        FileSystemLocationSnapshot snapshot(File file) {
            snapshotter.snapshot(TestFiles.fixed(file)).snapshot as FileSystemLocationSnapshot
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultFileOperationsTest.groovy

                resourceHandlerFactory,
                fileCollectionFactory,
                TestUtil.objectFactory(),
                TestFiles.fileSystem(),
                TestFiles.patternSetFactory,
                TestFiles.deleter(),
                TestFiles.documentationRegistry(),
                TestFiles.taskDependencyFactory(),
                TestUtil.providerFactory(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top