Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for ftoatests (0.12 sec)

  1. src/strconv/ftoa_test.go

    import (
    	"math"
    	"math/rand"
    	. "strconv"
    	"testing"
    )
    
    type ftoaTest struct {
    	f    float64
    	fmt  byte
    	prec int
    	s    string
    }
    
    func fdiv(a, b float64) float64 { return a / b }
    
    const (
    	below1e23 = 99999999999999974834176
    	above1e23 = 100000000000000008388608
    )
    
    var ftoatests = []ftoaTest{
    	{1, 'e', 5, "1.00000e+00"},
    	{1, 'f', 5, "1.00000"},
    	{1, 'g', 5, "1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 24 23:50:20 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  2. pkg/kubelet/util/sliceutils/sliceutils_test.go

    				},
    			},
    		},
    	}
    }
    
    func TestPodsByCreationTimeLen(t *testing.T) {
    	fooTests := []struct {
    		pods PodsByCreationTime
    		el   int
    	}{
    		{[]*v1.Pod{}, 0},
    		{buildPodsByCreationTime(), 3},
    		{[]*v1.Pod{nil, {}}, 2},
    		{nil, 0},
    	}
    
    	for _, fooTest := range fooTests {
    		r := fooTest.pods.Len()
    		if r != fooTest.el {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 08:27:42 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/fixtures/IdeaModuleFixture.groovy

                    it.type == 'inheritedJdk'
                }
            }
    
            void assertHasSource(String forTests) {
                assert dependencies.findAll { it.type == 'sourceFolder' }.any { ImlSource it -> it.forTests == forTests }
            }
    
            void assertHasModule(List<String> scopes, String name) {
                scopes.each {assertHasModule(it, name)}
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. src/strconv/atob_test.go

    // license that can be found in the LICENSE file.
    
    package strconv_test
    
    import (
    	"bytes"
    	. "strconv"
    	"testing"
    )
    
    type atobTest struct {
    	in  string
    	out bool
    	err error
    }
    
    var atobtests = []atobTest{
    	{"", false, ErrSyntax},
    	{"asdf", false, ErrSyntax},
    	{"0", false, nil},
    	{"f", false, nil},
    	{"F", false, nil},
    	{"FALSE", false, nil},
    	{"false", false, nil},
    	{"False", false, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 18:08:43 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/idea/IdeaIntegrationTest/worksWithNonStandardLayout/expectedFiles/top-level.iml.xml

        <content url="file://$MODULE_DIR$/">
          <excludeFolder url="file://$MODULE_DIR$/.gradle"/>
          <excludeFolder url="file://$MODULE_DIR$/build"/>
        </content>
        <orderEntry type="sourceFolder" forTests="false"/>
      </component>
      <component name="ModuleRootManager"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 482 bytes
    - Viewed (0)
  6. platforms/ide/ide/src/test/resources/org/gradle/plugins/ide/idea/model/moduleWithoutContent.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <module version="4">
        <component name="NewModuleRootManager" inherit-compiler-output="false">
            <orderEntry type="sourceFolder" forTests="false" />
        </component>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 223 bytes
    - Viewed (0)
  7. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/idea/IdeaIntegrationTest/canCreateAndDeleteMetaData/expectedFiles/root.iml.xml

        <content url="file://$MODULE_DIR$/">
          <excludeFolder url="file://$MODULE_DIR$/.gradle"/>
          <excludeFolder url="file://$MODULE_DIR$/build"/>
        </content>
        <orderEntry type="sourceFolder" forTests="false"/>
      </component>
      <component name="ModuleRootManager"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 482 bytes
    - Viewed (0)
  8. platforms/ide/ide/src/main/resources/org/gradle/plugins/ide/idea/model/defaultModule.xml

            <exclude-output/>
            <orderEntry type="inheritedJdk"/>
            <content url="file://$MODULE_DIR$">
            </content>
            <orderEntry type="sourceFolder" forTests="false"/>
        </component>
        <component name="ModuleRootManager"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 435 bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/idea/IdeaIntegrationTest/worksWithAnEmptyProject/expectedFiles/root.iml.xml

        <content url="file://$MODULE_DIR$/">
          <excludeFolder url="file://$MODULE_DIR$/.gradle"/>
          <excludeFolder url="file://$MODULE_DIR$/build"/>
        </content>
        <orderEntry type="sourceFolder" forTests="false"/>
      </component>
      <component name="ModuleRootManager"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 482 bytes
    - Viewed (0)
  10. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/idea/IdeaIntegrationTest/worksWithNonStandardLayout/expectedFiles/root/root.iml.xml

        <content url="file://$MODULE_DIR$/">
          <excludeFolder url="file://$MODULE_DIR$/.gradle"/>
          <excludeFolder url="file://$MODULE_DIR$/build"/>
        </content>
        <orderEntry type="sourceFolder" forTests="false"/>
      </component>
      <component name="ModuleRootManager"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 482 bytes
    - Viewed (0)
Back to top