Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 157 for afoobar (0.21 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelPathSuggestionProviderTest.groovy

        }
    
        def "suggests model paths with Levenshtein distance lower than 4"() {
            when:
            availablePaths = ["task.afoobar", "tasks.boofar", "tasks.foobar", "tasks.f", "fooba"]
    
            then:
            suggestionsFor("tasks.fooba") == ["tasks.foobar", "task.afoobar", "tasks.boofar"]
        }
    
        def "suggests model paths with Levenshtein distance lower than half it's length for strings shorter than 6 characters"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. pkg/util/strcase/camelcase_test.go

    )
    
    func TestCamelCase(t *testing.T) {
    	cases := map[string]string{
    		"":              "",
    		"foo":           "Foo",
    		"foobar":        "Foobar",
    		"fooBar":        "FooBar",
    		"foo_bar":       "FooBar",
    		"foo-bar":       "FooBar",
    		"foo_Bar":       "FooBar",
    		"foo9bar":       "Foo9Bar",
    		"HTTP-API-Spec": "HTTPAPISpec",
    		"http-api-spec": "HttpApiSpec",
    		"_foo":          "XFoo",
    		"-foo":          "XFoo",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/CaseFormatTest.java

      }
    
      public void testConverterToBackward() {
        assertEquals("FOO_BAR", UPPER_UNDERSCORE.converterTo(UPPER_CAMEL).reverse().convert("FooBar"));
        assertEquals("FOO_BAR", UPPER_UNDERSCORE.converterTo(LOWER_CAMEL).reverse().convert("fooBar"));
        assertEquals("FooBar", UPPER_CAMEL.converterTo(UPPER_UNDERSCORE).reverse().convert("FOO_BAR"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/CaseFormatTest.java

      }
    
      public void testConverterToBackward() {
        assertEquals("FOO_BAR", UPPER_UNDERSCORE.converterTo(UPPER_CAMEL).reverse().convert("FooBar"));
        assertEquals("FOO_BAR", UPPER_UNDERSCORE.converterTo(LOWER_CAMEL).reverse().convert("fooBar"));
        assertEquals("FooBar", UPPER_CAMEL.converterTo(UPPER_UNDERSCORE).reverse().convert("FOO_BAR"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/reflectdata/alg_test.go

    	type T2 struct {
    		a string
    		b int
    	}
    	const size = 1024
    	var (
    		str1 = "foobar"
    		str2 = "foobarz"
    
    		a [size]T2
    		c [size]T2
    	)
    
    	for i := 0; i < size; i++ {
    		a[i].a = str1
    		c[i].a = str1
    	}
    	c[len(c)-1].a = str2
    
    	b.ResetTimer()
    	for j := 0; j < b.N; j++ {
    		_ = a == c
    	}
    }
    
    const size = 16
    
    type T1 struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3StaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                [fromString(), "execute(command, ['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromGroovyString(), "execute(command, ['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromStringArray(), "execute(command, ['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromStringList(), "execute(command, ['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/RuntimeExec3InstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                [fromString(), "Runtime.getRuntime().exec(command, new String[] {'FOOBAR=foobar'}, file('$pwd'))", pwd, "foobar"],
                [fromGroovyString(), "Runtime.getRuntime().exec(command, new String[] {'FOOBAR=foobar'}, file('$pwd'))", pwd, "foobar"],
                [fromStringArray(), "Runtime.getRuntime().exec(command, new String[] {'FOOBAR=foobar'}, file('$pwd'))", pwd, "foobar"],
                // Null argument handling
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. pkg/config/model_test.go

    			},
    		},
    		// mock type
    		{
    			input: &config.MockConfig{Key: "foobar"},
    			mp: map[string]any{
    				"key": "foobar",
    			},
    		},
    		// XDS type, to test golang/proto
    		{
    			input: &cluster.Cluster{Name: "foobar"},
    			mp: map[string]any{
    				"name": "foobar",
    			},
    		},
    		// Random struct
    		{
    			input: &TestStruct{Name: "foobar"},
    			mp: map[string]any{
    				"name": "foobar",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInJavaIntegrationTest.groovy

            fromStringArray() | "ProcessGroovyMethods.execute(command, new String[] {\"FOOBAR=foobar\"}, project.file(\"$pwd\"))" | pwd               | "foobar"
            fromStringList()  | "ProcessGroovyMethods.execute(command, new String[] {\"FOOBAR=foobar\"}, project.file(\"$pwd\"))" | pwd               | "foobar"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3InstanceInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                [fromString(), "command.execute(['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromGroovyString(), "command.execute(['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromStringArray(), "command.execute(['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromStringList(), "command.execute(['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top