Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 496 for scriptId (0.15 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-api/src/main/java/org/gradle/api/Script.java

    /**
     * <p>This interface is implemented by all Gradle Groovy DSL scripts to add in some Gradle-specific methods. As your compiled
     * script class will implement this interface, you can use the methods and properties declared by this interface
     * directly in your script.</p>
     *
     * <p>Generally, a {@code Script} object will have a delegate object attached to it. For example, a build script will
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinScript.kt

    
    /**
     * Base contract for all Gradle Kotlin DSL scripts.
     *
     * This is the Kotlin flavored equivalent of [org.gradle.api.Script].
     *
     * It is not implemented directly by the IDE script templates to overcome ambiguous conflicts and Kotlin language
     * limitations.
     *
     * @since 6.0
     */
    interface KotlinScript {
    
        /**
         * Logger for scripts. You can use this in your script to write log messages.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/InitScriptApi.kt

        fun uri(path: Any): URI =
            fileOperations.uri(path)
    
        /**
         * Resolves a file path relative to this script's target base directory.
         *
         * If this script targets [org.gradle.api.Project],
         * then `path` is resolved relative to the project directory.
         *
         * If this script targets [org.gradle.api.initialization.Settings],
         * then `path` is resolved relative to the build root directory.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
Back to top