Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 183 for 123456M (0.25 sec)

  1. src/strconv/strconv_test.go

    		// Before pre-allocation in appendQuotedWith, we saw 39.
    		{10, `AppendQuoteToASCII(nil, oneMB)`, func() { AppendQuoteToASCII(nil, string(oneMB)) }},
    		{0, `ParseFloat("123.45", 64)`, func() { ParseFloat("123.45", 64) }},
    		{0, `ParseFloat("123.456789123456789", 64)`, func() { ParseFloat("123.456789123456789", 64) }},
    		{0, `ParseFloat("1.000000000000000111022302462515654042363166809082031251", 64)`, func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 20:29:22 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StopwatchTest.java

        assertEquals("1.001 \u03bcs", stopwatch.toString());
        ticker.advance(8998);
        assertEquals("9.999 \u03bcs", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(1234567);
        assertEquals("1.235 ms", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(5000000000L);
        assertEquals("5.000 s", stopwatch.toString());
        stopwatch.reset();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/BTreeIndexedCacheTest.java

            createCache();
            // Ends up with: 1 2 3 -> 4 <- 5 6
            checkAdds(1, 2, 5, 6, 4, 3);
            cache.verify();
            cache.remove("key_5");
            verifyAndCloseCache();
        }
    
        @Test
        public void removalMergesRemainingEntriesIntoLeftSibling() {
            createCache();
            // Ends up with: 1 2 -> 3 <- 4 5
            checkAdds(1, 2, 4, 5, 3);
            cache.verify();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy

            }
    
            then:
            thrown(EOFException)
        }
    
        def "can skip raw bytes"() {
            expect:
            def bytes = encode { Encoder encoder ->
                encoder.writeBytes([1, 2, 3, 4, 5, 6] as byte[])
                encoder.writeBytes(new byte[4096])
                encoder.writeBytes([7, 8] as byte[])
            }
            decode(bytes) { Decoder decoder ->
                def buffer = new byte[2]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/ResultSpecification.groovy

            results.operatingSystem = "some os"
            results.host = "me"
            results.jvm = "java 6"
            results.versionUnderTest = "1.7-rc-1"
            results.vcsBranch = "master"
            results.vcsCommits = ['123456']
            results.channel = channel
            results.startTime = new Date().time
            options.each { key, value -> results."$key" = value }
            return results
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. build-logic/performance-testing/src/test/kotlin/gradlebuild/performance/tasks/DetermineBaselinesTest.kt

        private
        val buildEnvironmentExtension = project.extensions.create("buildEnvironment", BuildEnvironmentExtension::class.java)
    
    
        private
        val defaultPerformanceBaselines = "7.5-commit-123456"
    
        @Before
        fun setUp() {
            project.file("version.txt").writeText("1.0")
    
            // mock project.execAndGetStdout
            mockkStatic("gradlebuild.basics.kotlindsl.Kotlin_dsl_upstream_candidatesKt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 09:29:24 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. src/math/big/floatconv_test.go

    		{"-0X0.00008P+16", -0.5},
    		{"0x0.0000000000001p-1022", math.SmallestNonzeroFloat64},
    		{"0x1.fffffffffffffp1023", math.MaxFloat64},
    
    		// underscores
    		{"0_0", 0},
    		{"1_000.", 1000},
    		{"1_2_3.4_5_6", 123.456},
    		{"1.0e0_0", 1},
    		{"1p+1_0", 1024},
    		{"0b_1000", 0x8},
    		{"0b_1011_1101", 0xbd},
    		{"0x_f0_0d_1eP+0_8", 0xf00d1e00},
    	} {
    		var x Float
    		x.SetPrec(53)
    		_, ok := x.SetString(test.s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 24.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy

            snapshotter.snapshot(["456"] as Object[], snapshot2) != snapshot2
            snapshotter.snapshot([] as Object[], snapshot2) != snapshot2
            snapshotter.snapshot(["123", "456"] as Object[], snapshot2) != snapshot2
        }
    
        def "creates snapshot for list from candidate"() {
            expect:
            def snapshot1 = snapshotter.snapshot([])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        }
      }
    
      public void testDecodeInt() {
        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
        assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210);
        assertThat(UnsignedInts.decode("0x13579135")).isEqualTo(0x13579135);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        }
      }
    
      public void testDecodeLong() {
        assertThat(UnsignedLongs.decode("0xffffffffffffffff")).isEqualTo(0xffffffffffffffffL);
        assertThat(UnsignedLongs.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedLongs.decode("#1234567890abcdef")).isEqualTo(0x1234567890abcdefL);
        assertThat(UnsignedLongs.decode("987654321012345678")).isEqualTo(987654321012345678L);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top