Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for 4G (0.04 sec)

  1. src/math/big/floatexample_test.go

    	fmt.Println("   x     y  cmp")
    	fmt.Println("---------------")
    	for _, x64 := range operands {
    		x := big.NewFloat(x64)
    		for _, y64 := range operands {
    			y := big.NewFloat(y64)
    			fmt.Printf("%4g  %4g  %3d\n", x, y, x.Cmp(y))
    		}
    		fmt.Println()
    	}
    
    	// Output:
    	//    x     y  cmp
    	// ---------------
    	// -Inf  -Inf    0
    	// -Inf  -1.2   -1
    	// -Inf    -0   -1
    	// -Inf     0   -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/DefaultMemoryManagerTest.groovy

            newMemoryManager(osMemoryInfo)
        }
    
        def "does not attempt to release memory when claiming 0 memory and free physical memory is available"() {
            given:
            osMemoryInfo.freeMemory = MemoryAmount.of('4g').bytes
            def memoryManager = newMemoryManager()
    
            and:
            def holder = Mock(MemoryHolder)
            memoryManager.addMemoryHolder(holder)
    
            when:
            memoryManager.requestFreeMemory(0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 23:56:19 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  3. src/fmt/fmt_test.go

    	{"%#.4e", 1.0, "1.0000e+00"},
    	{"%#.4x", 1.0, "0x1.0000p+00"},
    	{"%#.4g", 1.0, "1.000"},
    	{"%#.4g", 100000.0, "1.000e+05"},
    	{"%#.4g", 1.234, "1.234"},
    	{"%#.4g", 0.1234, "0.1234"},
    	{"%#.4g", 1.23, "1.230"},
    	{"%#.4g", 0.123, "0.1230"},
    	{"%#.4g", 1.2, "1.200"},
    	{"%#.4g", 0.12, "0.1200"},
    	{"%#.4g", 10.2, "10.20"},
    	{"%#.4g", 0.0, "0.000"},
    	{"%#.4g", 0.012, "0.01200"},
    	{"%#.0f", 123.0, "123."},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Platform.java

         */
        return ref == null ? Optional.absent() : Optional.fromNullable(enumClass.cast(ref.get()));
      }
    
      static String formatCompact4Digits(double value) {
        return String.format(Locale.ROOT, "%.4g", value);
      }
    
      static boolean stringIsNullOrEmpty(@CheckForNull String string) {
        return string == null || string.isEmpty();
      }
    
      /**
       * Returns the string if it is not null, or an empty string otherwise.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Platform.java

         */
        return ref == null ? Optional.absent() : Optional.fromNullable(enumClass.cast(ref.get()));
      }
    
      static String formatCompact4Digits(double value) {
        return String.format(Locale.ROOT, "%.4g", value);
      }
    
      static boolean stringIsNullOrEmpty(@CheckForNull String string) {
        return string == null || string.isEmpty();
      }
    
      /**
       * Returns the string if it is not null, or an empty string otherwise.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/JavaTestProjectGenerator.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/StopwatchTest.java

        assertEquals(0, stopwatch.elapsed(MILLISECONDS));
        ticker.advance(1);
        assertEquals(1, stopwatch.elapsed(MILLISECONDS));
      }
    
      @J2ktIncompatible // TODO(b/259213718): Switch J2kt to String.format("%.4g") once that's supported
      public void testToString() {
        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 ns", stopwatch.toString());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/crypto/tls/testdata/Server-TLSv12-RSA-AES-GCM

    000002b0  cd 62 43 15 28 da ac 5f  bb 29 07 30 ff f6 84 af  |.bC.(.._.).0....|
    000002c0  c4 cf c2 ed 90 99 5f 58  cb 3b 74 08 04 00 80 49  |......_X.;t....I|
    000002d0  51 c7 81 cd e1 9f 67 83  76 7e 51 19 83 2a 34 47  |Q.....g.v~Q..*4G|
    000002e0  5a e8 6d 13 dd e5 44 eb  1a 20 42 ac d3 65 e8 2e  |Z.m...D.. B..e..|
    000002f0  8d c5 79 56 e6 5e 26 00  9b 2a 80 16 d8 2e af 42  |..yV.^&..*.....B|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:13:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ScalarTypesInManagedModelIntegrationTest.groovy

                                assert element.longProperty == 2L
                                assert element.doubleProperty == 3.3d
                                assert element.bigIntegerProperty == 4G
                                assert element.bigDecimalProperty == 5.5G
                                assert element.stringProperty == 'test'
                                assert element.file.toString() == 'sample.txt'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  10. pkg/api/pod/warnings_test.go

    	ctx := context.TODO()
    	resources := api.ResourceList{
    		api.ResourceCPU:              resource.MustParse("100m"),
    		api.ResourceMemory:           resource.MustParse("4M"),
    		api.ResourceEphemeralStorage: resource.MustParse("4G"),
    	}
    	env := []api.EnvVar{
    		{Name: "a"},
    		{Name: "b"},
    	}
    	pod := &api.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Annotations: map[string]string{`foo`: `bar`},
    		},
    		Spec: api.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 42.1K bytes
    - Viewed (0)
Back to top