Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,168 for someString (0.26 sec)

  1. platforms/documentation/docs/src/snippets/tutorial/upper/kotlin/build.gradle.kts

    tasks.register("upper") {
        doLast {
            val someString = "mY_nAmE"
            println("Original: $someString")
            println("Upper case: ${someString.toUpperCase()}")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 182 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/tutorial/upper/groovy/build.gradle

    tasks.register('upper') {
        doLast {
            String someString = 'mY_nAmE'
            println "Original: $someString"
            println "Upper case: ${someString.toUpperCase()}"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 183 bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BNDSmokeTest.groovy

            file("src/main/java/com/example/Example.java") << """
    package com.example;
    
    import org.apache.commons.lang3.StringUtils;
    
    public class Example {
        public boolean testIsEmpty(String someString) {
            return StringUtils.isEmpty(someString);
        }
    }
    """
    
            when:
            runner("jar")
                .forwardOutput()
                .build()
    
            then: "version numbers exist in the manifest"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionValueNotationParserFactorySpec.groovy

            OptionValueNotationParserFactory factory = new OptionValueNotationParserFactory()
            when:
            def parser = factory.toComposite(String.class);
            then:
            parser.parseNotation("somestring") == "somestring"
        }
    
        def "creates notationparser for handling handles enums"(){
            given:
            OptionValueNotationParserFactory factory = new OptionValueNotationParserFactory()
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 08 09:28:44 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/project/taskfactory/TaskPropertyNamingIntegrationTest.groovy

            buildFile << """
                task test(type: TaskWithNestedObjectProperty) {
                    input = "someString"
                    bean = new NestedProperty(
                        inputDir: file('input'),
                        input: 'someString',
                        outputDir: file("\$buildDir/output"),
                        nestedBean: new AnotherNestedProperty(inputFile: file('inputFile'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 21 19:38:50 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  6. src/syscall/js/js_test.go

    func TestString(t *testing.T) {
    	want := "abc\u1234"
    	o := dummys.Get("someString")
    	if got := o.String(); got != want {
    		t.Errorf("got %#v, want %#v", got, want)
    	}
    	dummys.Set("otherString", want)
    	if got := dummys.Get("otherString").String(); got != want {
    		t.Errorf("got %#v, want %#v", got, want)
    	}
    	if !dummys.Get("someString").Equal(dummys.Get("someString")) {
    		t.Errorf("same value not equal")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

            verifyRoundtripOf({
                SerializableBeanContainingExternalizable().apply {
                    someString = "foo"
                    childBean = ExternalizableBean(42)
                    someInt = 13
                }
            }) {
                assertThat(it.someString, equalTo("foo"))
                assertThat(
                    it.childBean?.value,
                    equalTo(42)
                )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. src/strings/builder_test.go

    		}
    	})
    }
    
    func BenchmarkBuildString_WriteString(b *testing.B) {
    	someString := string(someBytes)
    	benchmarkBuilder(b, func(b *testing.B, numWrite int, grow bool) {
    		for i := 0; i < b.N; i++ {
    			var buf Builder
    			if grow {
    				buf.Grow(len(someString) * numWrite)
    			}
    			for i := 0; i < numWrite; i++ {
    				buf.WriteString(someString)
    			}
    			sinkS = buf.String()
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 19:51:15 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. platforms/software/platform-base/src/test/groovy/org/gradle/language/base/internal/registry/LanguageTypeModelRuleExtractorTest.groovy

        }
    
        static class ImplementationWithNoPublicConstructor extends BaseLanguageSourceSet implements CustomLanguageSourceSet {
            public ImplementationWithNoPublicConstructor(String someString) {}
        }
    
        class NotImplementingCustomLanguageSourceSet extends BaseLanguageSourceSet {}
    
        class NotExtendingBaseLanguageSourceSet extends AbstractBuildableComponentSpec implements CustomLanguageSourceSet {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. src/internal/coverage/defs.go

    //  <offset to pkg 0>
    //  <offset to pkg 1>
    //  ...
    //  --package lengths table------
    //  <length of pkg 0>
    //  <length of pkg 1>
    //  ...
    //  --string table------
    //  <uleb128 len> 8
    //  <data> "somestring"
    //  ...
    //  --package payloads------
    //  <meta-symbol for pkg 0>
    //  <meta-symbol for pkg 1>
    //  ...
    //
    // Each package payload is a stand-alone blob emitted by the compiler,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 12:51:16 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top