Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ftoatests (0.17 sec)

  1. src/strconv/atof_test.go

    func initAtof() {
    	atofOnce.Do(initAtofOnce)
    }
    
    func initAtofOnce() {
    	// The atof routines return NumErrors wrapping
    	// the error and the string. Convert the table above.
    	for i := range atoftests {
    		test := &atoftests[i]
    		if test.err != nil {
    			test.err = &NumError{"ParseFloat", test.in, test.err}
    		}
    	}
    	for i := range atof32tests {
    		test := &atof32tests[i]
    		if test.err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 16:24:57 UTC 2022
    - 23.6K bytes
    - Viewed (0)
  2. src/go/constant/value_test.go

    	`0B0 = 0`,
    	`0B1011 = 0xb`,
    	`0B00101101 = 0x2d`,
    
    	`0b_0 = 0`,
    	`0b10_11 = 0xb`,
    	`0b_0010_1101 = 0x2d`,
    }
    
    // The RHS operand may be a floating-point quotient n/d of two integer values n and d.
    var floatTests = []string{
    	// decimal floats
    	`1_2_3. = 123.`,
    	`0_123. = 123.`,
    
    	`0_0e0 = 0.`,
    	`1_2_3e0 = 123.`,
    	`0_123e0 = 123.`,
    
    	`0e-0_0 = 0.`,
    	`1_2_3E+0 = 123.`,
    	`0123E1_2_3 = 123e123`,
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  3. pkg/controlplane/reconcilers/lease_test.go

    	s, dFunc, err := factory.Create(*sc.ForResource(schema.GroupResource{Resource: "pods"}), newFunc, newListFunc, "")
    	if err != nil {
    		t.Fatalf("Error creating storage: %v", err)
    	}
    	t.Cleanup(dFunc)
    
    	stopTests := []struct {
    		testName         string
    		serviceName      string
    		ip               string
    		endpointPorts    []corev1.EndpointPort
    		endpointKeys     []string
    		initialState     []runtime.Object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 28.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        // "a.b.Foo" -> a.b.Foo.class
        TreeMap<String, Class<?>> classMap = Maps.newTreeMap();
        for (Class<?> cls : classes) {
          classMap.put(cls.getName(), cls);
        }
        // Foo.class -> [FooTest.class, FooTests.class, FooTestSuite.class, ...]
        Multimap<Class<?>, Class<?>> testClasses = HashMultimap.create();
        LinkedHashSet<Class<?>> candidateClasses = Sets.newLinkedHashSet();
        for (Class<?> cls : classes) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        // "a.b.Foo" -> a.b.Foo.class
        TreeMap<String, Class<?>> classMap = Maps.newTreeMap();
        for (Class<?> cls : classes) {
          classMap.put(cls.getName(), cls);
        }
        // Foo.class -> [FooTest.class, FooTests.class, FooTestSuite.class, ...]
        Multimap<Class<?>, Class<?>> testClasses = HashMultimap.create();
        LinkedHashSet<Class<?>> candidateClasses = Sets.newLinkedHashSet();
        for (Class<?> cls : classes) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaModuleIntegrationTest.groovy

        <orderEntry type="inheritedJdk"/>
        <content url="file://$MODULE_DIR$/">
          <excludeFolder url="file://$MODULE_DIR$/folderThatWasExcludedEarlier"/>
        </content>
        <orderEntry type="sourceFolder" forTests="false"/>
      </component>
      <component name="ModuleRootManager"/>
    </module>'''
    
            //when
            runTask(['idea'], '''
    apply plugin: "java"
    apply plugin: "idea"
    
    idea {
        module {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  7. src/math/big/floatconv_test.go

    		{0, 'p', 0, "0"},
    		{math.Copysign(0, -1), 'p', 0, "-0"},
    		{1024.0, 'p', 0, "0x.8p+11"},
    		{-1024.0, 'p', 0, "-0x.8p+11"},
    
    		// all test cases below from strconv/ftoa_test.go
    		{1, 'e', 5, "1.00000e+00"},
    		{1, 'f', 5, "1.00000"},
    		{1, 'g', 5, "1"},
    		{1, 'g', -1, "1"},
    		{20, 'g', -1, "20"},
    		{1234567.8, 'g', -1, "1.2345678e+06"},
    		{200000, 'g', -1, "200000"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 24.3K bytes
    - Viewed (0)
Back to top