Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 282 for scriptId (0.27 sec)

  1. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    			base, _ := addTags(Tag{LangID: t.LangID})
    			if base.ScriptID != maxScript {
    				return Tag{LangID: t.LangID, ScriptID: maxScript}
    			}
    			return Tag{LangID: t.LangID}
    		} else if t.ScriptID != 0 {
    			// The parent for an base-script pair with a non-default script is
    			// "und" instead of the base language.
    			base, _ := addTags(Tag{LangID: t.LangID})
    			if base.ScriptID != t.ScriptID {
    				return Und
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/language/language.go

    	sc, err := language.ParseScript(s)
    	return Script{sc}, err
    }
    
    // String returns the script code in title case.
    // It returns "Zzzz" for an unspecified script.
    func (s Script) String() string {
    	return s.scriptID.String()
    }
    
    // IsPrivateUse reports whether this script code is reserved for private use.
    func (s Script) IsPrivateUse() bool {
    	return s.scriptID.IsPrivateUse()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/language/match.go

    		tt = m.default_.tag
    		if m.preferSameScript {
    		outer:
    			for _, w := range want {
    				script, _ := w.Script()
    				if script.scriptID == 0 {
    					// Don't do anything if there is no script, such as with
    					// private subtags.
    					continue
    				}
    				for i, h := range m.supported {
    					if script.scriptID == h.maxScript {
    						tt, index = h.tag, i
    						break outer
    					}
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/internal/language/parse.go

    				scan.start = langStart + len(langStr) + 1
    			}
    			scan.gobble(e)
    		}
    		end = scan.scan()
    	}
    	if len(scan.token) == 4 && isAlpha(scan.token[0]) {
    		t.ScriptID, e = getScriptID(script, scan.token)
    		if t.ScriptID == 0 {
    			scan.gobble(e)
    		}
    		end = scan.scan()
    	}
    	if n := len(scan.token); n >= 2 && n <= 3 {
    		t.RegionID, e = getRegionID(scan.token)
    		if t.RegionID == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/plugin/ScriptPluginClassLoadingIntegrationTest.groovy

        def "can use apply block syntax to apply multiple scripts"() {
            given:
            buildScript """
              apply {
                from "script1.gradle"
                from "script2.gradle"
              }
            """
    
            file("script1.gradle") << "task hello1 { doLast { println 'hello from script1' } }"
            file("script2.gradle") << "task hello2 { doLast { println 'hello from script2' } }"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

        }
    
        void scriptsAreReused(List<ClassDetails> before, List<ClassDetails> after) {
            assert before.size() == after.size()
            for (int i = 0; i < before.size(); i++) {
                def script1 = before[i]
                def script2 = after[i]
                assert script1.path == script2.path
                assert script1.className == script2.className
                assert script1.classpath == script2.classpath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/README

    The script begins with an actual command script to run
    followed by the content of zero or more supporting files to
    create in the script's temporary file system before it starts executing.
    
    As an example, run_hello.txt says:
    
    	# hello world
    	go run hello.go
    	stderr 'hello world'
    	! stdout .
    
    	-- hello.go --
    	package main
    	func main() { println("hello world") }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_groovy_to_kotlin_dsl.adoc

    _You don't have to migrate all at once!_ Both Groovy and Kotlin-based build scripts can `apply` other scripts of either language. You can find inspiration for any Gradle features not covered in the link:https://github.com/gradle/kotlin-dsl/tree/master/samples[Kotlin DSL samples].
    
    
    == Prepare your Groovy scripts
    
    Some simple Kotlin and Groovy language differences can make converting scripts tedious:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheScriptTaskDefinitionIntegrationTest.groovy

            result.groupedOutput.task(":two").assertOutputContains("values1=[12]")
        }
    
        def "problem when closure defined in Kotlin script captures state from the script"() {
            given:
            buildKotlinFile << """
                val message = "message"
                tasks.register("some") {
                    doFirst {
                        println(message)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/GeneratePluginAdaptersTask.java

                writer.println("            BasicScript script = precompiledScriptClass.getDeclaredConstructor().newInstance();");
                writer.println("            script.setScriptSource(scriptSource(precompiledScriptClass));");
                writer.println("            script.init(target, target.getServices());");
                writer.println("            script.run();");
                writer.println("        } catch (Exception e) {");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 22:50:50 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top